lean2/tests/lean/exists7.lean
Leonardo de Moura 4ba097a141 feat(frontends/lean): use lowercase commands, replace 'endscope' and 'endnamespace' with 'end'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 13:06:36 -08:00

12 lines
323 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))
print environment 1.