lean2/tests/lean/run/elim.lean
2014-12-15 19:07:38 -08:00

7 lines
215 B
Text

import logic
constant p : num → num → num → Prop
axiom H1 : ∃ x y z, p x y z
axiom H2 : ∀ {x y z : num}, p x y z → p x x x
theorem tst : ∃ x, p x x x
:= obtain a b c H, from H1, exists.intro a (H2 H)