lean4-htt/tests/lean/run/exists.lean
Leonardo de Moura 0c8a6d8977 feat: exists es:term,+ tactic
cc: @fgdorais
2022-04-25 15:35:31 -07:00

11 lines
223 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

example : ∃ x : Nat, x = x := by
exists 0
example : ∃ x : Nat, ∃ y : Nat, x > y := by
exists 1, 0
example : (x : Nat) ×' (y : Nat) ×' x > y := by
exists 1, 0
example : { x : Nat // x > 2 } := by
exists 3