lean2/tests/lean/run/set.lean
Leonardo de Moura 105c29b51e refactor(library/standard): use new coding style, rename bool.b0 and bool.b1 to bool.ff and bool.tt
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-28 19:59:38 -07:00

7 lines
No EOL
132 B
Text

import standard bool
using bool
definition set {{T : Type}} := T → bool
infix `∈`:50 := λx A, A x = tt
check 1 ∈ (λ x, tt)