lean4-htt/tests/lean/run/exact_perf.lean
Leonardo de Moura b2c1ea6fdb fix(library/type_context): failure cache
The new regression test exposes the problem being fixed.
2016-12-13 07:50:03 -08:00

13 lines
432 B
Text

open nat
def f (a : nat) : nat := a
def g (a : nat) : nat := a
constant p : nat → Prop
example (a b : nat) (h1 : false) (h2 : p (g (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f a))))))))))))))))))))))))))))))) :
p (g (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f (f b)))))))))))))))))))))))))))))))
:=
begin
try {exact h2},
contradiction
end