Theorem: FreeGroup.nonnil_nextVertex_cancel (Lectures/WordProblem/FreeGroup.lean)

State before:
α : Type
inst✝ : DecidableEq α
start : List (α × Bool)
nonnil : start ≠ []
letter : α × Bool
eql : List.getLast start nonnil = letter⁻¹
⊢ start :+ letter = List.dropLast start
Tactic:
simp [nextVertex,  eql, if_pos, nonnil]
State after:
no goals