Theorem: MyNat.zero_add (LeanCourse/MIL/C05_Elementary_Number_Theory/S02_Induction_and_Recursion.lean)

State before:
n : MyNat
⊢ add zero n = n
Tactic:
induction' n with n ih
State after:
case zero

⊢ add zero zero = zero

case succ
n : MyNat
ih : add zero n = n
⊢ add zero (succ n) = succ n

State before:
case succ
n : MyNat
ih : add zero n = n
⊢ add zero (succ n) = succ n
Tactic:
rw [add, ih]
State after:
no goals

State before:
case zero

⊢ add zero zero = zero
Tactic:
rfl
State after:
no goals