lean4-htt/tests/lean/binder_predicates.lean
Scott Morrison 329e00661a
chore: upstream Std.Util.ExtendedBinders (#3320)
This is not a complete upstreaming of that file (it also supports `∀ᵉ (x
< 2) (y < 3), p x y` as shorthand for `∀ x < 2, ∀ y < 3, p x y`, but I
don't think we need this; it is used in Mathlib).

Syntaxes still need to be made built-in.

---------

Co-authored-by: Leonardo de Moura <leomoura@amazon.com>
2024-02-14 11:36:00 +00:00

8 lines
220 B
Text

#check ∃ x > 10, x = 15
#check ∃ x < 10, x = 5
#check ∃ x ≥ 10, x = 15
#check ∃ x ≤ 10, x = 5
#check ∀ x > 10, x ≠ 5
#check ∀ x < 10, x ≠ 15
#check ∀ x ≥ 10, x ≠ 5
#check ∀ x ≤ 10, x ≠ 15