Theorem: Graph.append_cons_bar_cons (Lectures/Graph.lean)

State before:
V : Type u
E : Type v
G : Graph V E
u v w : V
e✝ : EdgeBetween G v w
u' : V
e : EdgeBetween G u u'
p₁ : EdgePath G v u
p₂ : EdgePath G u w
⊢ [[p₁ ++ cons e (cons (EdgeBetween.bar e) p₂)]] = [[p₁ ++ p₂]]
Tactic:
have := Reduction.step e p₁ p₂
State after:
V : Type u
E : Type v
G : Graph V E
u v w : V
e✝ : EdgeBetween G v w
u' : V
e : EdgeBetween G u u'
p₁ : EdgePath G v u
p₂ : EdgePath G u w
this : Reduction (p₁ ++ cons e (cons (EdgeBetween.bar e) p₂)) (p₁ ++ p₂)
⊢ [[p₁ ++ cons e (cons (EdgeBetween.bar e) p₂)]] = [[p₁ ++ p₂]]

State before:
V : Type u
E : Type v
G : Graph V E
u v w : V
e✝ : EdgeBetween G v w
u' : V
e : EdgeBetween G u u'
p₁ : EdgePath G v u
p₂ : EdgePath G u w
this : Reduction (p₁ ++ cons e (cons (EdgeBetween.bar e) p₂)) (p₁ ++ p₂)
⊢ [[p₁ ++ cons e (cons (EdgeBetween.bar e) p₂)]] = [[p₁ ++ p₂]]
Tactic:
aesop
State after:
no goals