feat(library/init/nat): add missing decidable_ge and decidable_lt
This commit is contained in:
parent
82eada7d56
commit
a24d4e47cd
1 changed files with 4 additions and 0 deletions
|
@ -250,10 +250,14 @@ namespace nat
|
||||||
eq.rec_on aux (le_of_lt h)))
|
eq.rec_on aux (le_of_lt h)))
|
||||||
|
|
||||||
definition gt [reducible] a b := lt b a
|
definition gt [reducible] a b := lt b a
|
||||||
|
definition decidable_gt [instance] : decidable_rel gt :=
|
||||||
|
_
|
||||||
|
|
||||||
notation a > b := gt a b
|
notation a > b := gt a b
|
||||||
|
|
||||||
definition ge [reducible] a b := le b a
|
definition ge [reducible] a b := le b a
|
||||||
|
definition decidable_ge [instance] : decidable_rel ge :=
|
||||||
|
_
|
||||||
|
|
||||||
notation a ≥ b := ge a b
|
notation a ≥ b := ge a b
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue