Theorem: Digraph.Walk.cons_isPath_iff (GraphProjects/DigraphConnectivity.lean)

State before:
V : Type u
V' : Type v
V'' : Type w
G : Digraph V
G' : Digraph V'
G'' : Digraph V''
u v w : V
h : G.Adj u v
p : Walk G v w
⊢ IsPath (cons h p) ↔ IsPath p ∧ ¬u ∈ support p
Tactic:
constructor <;> simp (config := { contextual := true }) [isPath_def]
State after:
no goals