lean.inductionWithNoAlts
Tactic-based proofs using induction in Lean need to use a pattern-matching-like notation to describe
individual cases of the proof. However, the induction' tactic in Mathlib and the specialized
induction tactic for natural numbers used in the Natural Number Game follows a different pattern.
Examples
Adding Explicit Cases to an Induction Proof
The broken example has the structure of a correct proof in the Natural Numbers Game, and this
proof will work if you import Mathlib and replace induction with induction'. Induction tactics
in basic Lean expect the with keyword to be followed by a series of cases, and the names for
the inductive case are provided in the succ case rather than being provided up-front.