lean4-htt/tests/lean/num3.lean
2017-03-09 18:41:19 -08:00

15 lines
213 B
Text

--
set_option pp.notation false
set_option pp.implicit true
constant N : Type.{1}
constant z : N
constant o : N
constant a : N
notation 0 := z
notation 1 := o
#check a = 0
#check 2 = (1:num)
#check (2:num) = 1