chore(library/init/data/nat/lemmas): add comment
This commit is contained in:
parent
d4879b74cd
commit
d9528ffad8
1 changed files with 2 additions and 0 deletions
|
|
@ -597,6 +597,8 @@ protected theorem sub_self : ∀ (n : ℕ), n - n = 0
|
|||
| 0 := by rw nat.sub_zero
|
||||
| (succ n) := by rw [succ_sub_succ, sub_self n]
|
||||
|
||||
/- TODO(Leo): remove the following ematch annotations as soon as we have
|
||||
arithmetic theory in the smt_stactic -/
|
||||
@[ematch]
|
||||
protected theorem add_sub_add_right : ∀ (n k m : ℕ), (n + k) - (m + k) = n - m
|
||||
| n 0 m := by rw [add_zero, add_zero]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue