This commit is contained in:
Jon Eugster
2023-08-07 13:16:14 +02:00
parent 749e24d6c0
commit 50682613c6
18 changed files with 110 additions and 93 deletions

View File

@@ -17,7 +17,8 @@ If `a` is a natural number, then `add_zero a` is the proof that `a + 0 = a`.
`add_zero` is a `simp` lemma, because if you see `a + 0`
you usually want to simplify it to `a`.
-/
@[simp] theorem add_zero (a : MyNat) : a + 0 = a := by rfl
@[simp]
theorem add_zero (a : MyNat) : a + 0 = a := by rfl
/--
If `a` and `d` are natural numbers, then `add_succ a d` is the proof that