7 lines
159 B
Text
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)
|