2014-10-02 23:20:52 +00:00
|
|
|
constant A : Type.{1}
|
2014-06-15 17:40:18 +00:00
|
|
|
definition bool : Type.{1} := Type.{0}
|
2014-10-02 23:20:52 +00:00
|
|
|
constant Exists (P : A → bool) : bool
|
2014-06-15 17:40:18 +00:00
|
|
|
notation `exists` binders `,` b:(scoped b, Exists b) := b
|
|
|
|
notation `∃` binders `,` b:(scoped b, Exists b) := b
|
2014-10-02 23:20:52 +00:00
|
|
|
constant p : A → bool
|
|
|
|
constant q : A → A → bool
|
2014-06-15 17:40:18 +00:00
|
|
|
check exists x : A, p x
|
|
|
|
check ∃ x y : A, q x y
|
|
|
|
notation `{` binder `|` b:scoped `}` := b
|
|
|
|
check {x : A | x}
|