import Mathlib
-- Theorem: For any natural number n, n + 0 = n.
theorem demo (n : ℕ) : n + 0 = n := by
/-
-- proof state:
n : ℕ
⊢ n + 0 = n
-/
induction n with
/-
-- proof state:
case zero
⊢ 0 + 0 = 0
-/
| zero => rfl
/-
-- proof state:
ih : n + 0 = n
case succ
⊢ n + 1 + 0 = n + 1
-/
| succ n ih => simp_all