chore(library/init/data/nat/lemmas): add comment

This commit is contained in:
Leonardo de Moura 2017-01-21 03:11:59 -08:00
parent d4879b74cd
commit d9528ffad8

View file

@ -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]