lean2/tests/lean/exists7.lean
Leonardo de Moura cbd1f98365 fix(library/elaborator): bug at method process_metavar_inst, add new test that exposed the bug
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-01 03:02:41 -08:00

12 lines
322 B
Text

SetOption pp::colors false
Variable N : Type
Variables a b c : N
Variables P : N -> N -> N -> Bool
SetOpaque forall false.
SetOpaque exists false.
SetOpaque not false.
Theorem T1 (f : N -> N) (H : P (f a) b (f (f c))) : exists x y z, P x y z := ExistsIntro _ (ExistsIntro _ (ExistsIntro _ H))
Show Environment 1.