lean4-htt/tests/lean/run/set.lean

7 lines
159 B
Text

open bool nat
definition set (T : Type) := T → bool
definition mem {A : Type} (x : A) (s : set A) := s x
infix ` ∈ ` := mem
check 1 ∈ (λ x : nat, tt)