get game building again!

This commit is contained in:
Kevin Buzzard
2023-10-14 19:09:15 +01:00
parent 2cd3b9a47b
commit b260a53f82
2 changed files with 4 additions and 1 deletions

View File

@@ -15,6 +15,9 @@ which is a warm-up to see if you remember `zero_ne_succ`
and `succ_inj`, and how to use the `apply` tactic.
"
LemmaDoc MyNat.ne_succ_self as "ne_succ_self" in "" "
`ne_succ_self n` is the proof that `n ≠ succ n`."
/-- $n\neq\operatorname{succ}(n)$. -/
Statement ne_succ_self (n : ) : n succ n := by
Hint "Start with `induction`."

View File

@@ -13,7 +13,7 @@ LemmaDoc MyNat.le_succ_self as "le_succ_self" in "≤" "
NewLemma MyNat.le_succ_self
/-- If $x$ is a number, then $x \le \operatorname{succ}(x)$. -/
Statement (x : ) : x succ x := by
Statement le_succ_self (x : ) : x succ x := by
use 1
rw [succ_eq_add_one]
rfl