Theorem: MyNat.add_assoc (IIScExperiments/Solutions/NatAddMulExperiments.lean)

State before:
a b c : MyNat
⊢ a + b + c = a + (b + c)
Tactic:
induction' c using MyNat.induction with d hd
State after:
case zero
a b : MyNat
⊢ a + b + 0 = a + (b + 0)

case succ
a b d : MyNat
hd : a + b + d = a + (b + d)
⊢ a + b + succ d = a + (b + succ d)

State before:
case zero
a b : MyNat
⊢ a + b + 0 = a + (b + 0)
Tactic:
rw [add_zero, add_zero]
State after:
no goals

State before:
case succ
a b d : MyNat
hd : a + b + d = a + (b + d)
⊢ a + b + succ d = a + (b + succ d)
Tactic:
rw [add_succ, add_succ, add_succ, hd]
State after:
no goals