lean4-htt/tests/lean/run/set.lean
2016-07-31 17:45:43 -07:00

8 lines
172 B
Text

import logic
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)