hint for add_succ

This commit is contained in:
Kevin Buzzard
2023-12-22 14:56:28 +00:00
parent 9e90d25642
commit cfe1ae17d5

View File

@@ -40,7 +40,8 @@ see which proofs you can rewrite.
/-- For all natural numbers $a$, we have $\operatorname{succ}(a) = a+1$. -/
Statement succ_eq_add_one n : succ n = n + 1 := by
Hint (hidden := true) "First unravel the `1`."
Hint "Start by unravelling the `1`."
Hint (hidden := true) "`rw [one_eq_succ_zero]` will do this."
rw [one_eq_succ_zero]
Hint (hidden := true) "Now you can `rw [add_succ]`"
rw [add_succ]