simp [cons_toList]
case cons
V : Type u
E : Type v
inst✝¹ : DecidableEq V
inst✝ : DecidableEq E
G✝ : Graph V E
u✝¹ v✝¹ w✝¹ : V
e✝ : EdgeBetween G✝ v✝¹ w✝¹
G : Graph V E
v w u v✝ w✝ u✝ : V
e : EdgeBetween G v✝ w✝
p' : EdgePath G w✝ u✝
ih : ∀ (p₂ : EdgePath G u✝ u), toList (p' ++ p₂) = toList p' ++ toList p₂
p₂ : EdgePath G u✝ u
⊢ toList (cons e p' ++ p₂) = toList (cons e p') ++ toList p₂
case cons
V : Type u
E : Type v
inst✝¹ : DecidableEq V
inst✝ : DecidableEq E
G✝ : Graph V E
u✝¹ v✝¹ w✝¹ : V
e✝ : EdgeBetween G✝ v✝¹ w✝¹
G : Graph V E
v w u v✝ w✝ u✝ : V
e : EdgeBetween G v✝ w✝
p' : EdgePath G w✝ u✝
ih : ∀ (p₂ : EdgePath G u✝ u), toList (p' ++ p₂) = toList p' ++ toList p₂
p₂ : EdgePath G u✝ u
⊢ toList (p' ++ p₂) = toList p' ++ toList p₂