fix(library/init/data/nat/basic): issue reported by @kha
This commit is contained in:
parent
d41c403442
commit
422d43cf47
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@ inductive less_than (a : ℕ) : ℕ → Prop
|
|||
instance : has_le ℕ :=
|
||||
⟨nat.less_than⟩
|
||||
|
||||
@[reducible] protected def le (n m : ℕ) := n ≤ m
|
||||
@[reducible] protected def lt (n m : ℕ) := succ n ≤ m
|
||||
@[reducible] protected def le (n m : ℕ) := nat.less_than n m
|
||||
@[reducible] protected def lt (n m : ℕ) := nat.less_than (succ n) m
|
||||
|
||||
instance : has_lt ℕ :=
|
||||
⟨nat.lt⟩
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue