fix(init/nat): add spaces around inequalities

This commit is contained in:
Floris van Doorn 2015-12-08 11:54:15 -05:00 committed by Leonardo de Moura
parent 377755e5ab
commit 14a2c8e444

View file

@ -17,15 +17,15 @@ namespace nat
| refl : le a a
| step : Π {b}, le a b → le a (succ b)
infix `≤` := le
infix ` ` := le
attribute le.refl [refl]
definition lt [reducible] (n m : ) := succ n ≤ m
definition ge [reducible] (n m : ) := m ≤ n
definition gt [reducible] (n m : ) := succ m ≤ n
infix `<` := lt
infix `≥` := ge
infix `>` := gt
infix ` < ` := lt
infix ` ` := ge
infix ` > ` := gt
definition pred [unfold 1] (a : nat) : nat :=
nat.cases_on a zero (λ a₁, a₁)