Merge pull request #85 from hcsch/algo-l7-typo-fix

Fix typo in `contrapose! h` explainer in algorithm world level 7
This commit is contained in:
Kevin Buzzard
2025-02-01 23:01:23 +00:00
committed by GitHub

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!)"