Fix typo in contrapose! h explainer in Algo L7

The explainer mistakenly swapped an n for an m, possibly causing
confusion with the explainer mentioning a different hypothesis than the one
resulting from the tactic, and one from which alone one cannot derive
the new goal.
This commit is contained in:
Hans Christian Schmitz
2025-01-17 08:02:52 +01:00
parent 301951e2ea
commit 47e9945ff9

View File

@@ -60,7 +60,7 @@ TheoremDoc MyNat.succ_ne_succ as "succ_ne_succ" in "Peano"
/-- If $a \neq b$ then $\operatorname{succ}(a) \neq\operatorname{succ}(b)$. -/
Statement succ_ne_succ (m n : ) (h : m n) : succ m succ n := by
Hint "Start with `contrapose! h`, to change the goal into its
contrapositive, namely a hypothesis of `succ m = succ m` and a goal of `m = n`."
contrapositive, namely a hypothesis of `succ m = succ n` and a goal of `m = n`."
contrapose! h
Hint "Can you take it from here? (note: if you try `contrapose! h` again, it will
take you back to where you started!)"