Theorem: append_nil' (LAMR/Examples/using_lean_as_a_proof_assistant/induction.lean)

State before:
α : Type
as bs cs : List α
a b c : α
⊢ as ++ [] = as
Tactic:
induction as with
| nil => rw [nil_append]
| cons a as ih => rw [cons_append, ih]
State after:
no goals

State before:
case nil
α : Type
as bs cs : List α
a b c : α
⊢ [] ++ [] = []
Tactic:
rw [nil_append]
State after:
no goals

State before:
case cons
α : Type
as✝ bs cs : List α
a✝ b c a : α
as : List α
ih : as ++ [] = as
⊢ a :: as ++ [] = a :: as
Tactic:
rw [cons_append, ih]
State after:
no goals