2014-09-26 21:54:39 +00:00
|
|
|
set_option pp.notation false
|
|
|
|
definition Prop := Type.{0}
|
2014-10-02 23:20:52 +00:00
|
|
|
constant eq {A : Type} : A → A → Prop
|
2014-09-26 21:54:39 +00:00
|
|
|
infixl `=`:50 := eq
|
|
|
|
|
2014-10-02 23:20:52 +00:00
|
|
|
constant N : Type.{1}
|
|
|
|
constant z : N
|
|
|
|
constant o : N
|
|
|
|
constant b : N
|
2014-09-26 21:54:39 +00:00
|
|
|
|
|
|
|
notation 0 := z
|
|
|
|
notation 1 := o
|
|
|
|
|
|
|
|
check 1
|
|
|
|
check 0
|
|
|
|
|
2014-10-02 23:20:52 +00:00
|
|
|
constant G : Type.{1}
|
|
|
|
constant gz : G
|
|
|
|
constant a : G
|
2014-09-26 21:54:39 +00:00
|
|
|
|
|
|
|
notation 0 := gz
|
|
|
|
|
|
|
|
check 0 = a
|
|
|
|
check b = 0
|