lean2/tests/lean/run/set.lean
Leonardo de Moura e51c4ad2e9 feat(frontends/lean): rename 'using' command to 'open'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-03 16:00:38 -07:00

7 lines
124 B
Text

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