theorem
reverse_cons_length
{V : Type}
{G : SimpleGraph V}
(a v₀ w : V)
(p' : G.Walk a w)
(p : G.Walk v₀ w)
(h : G.Adj v₀ a)
{k : ℕ}
(hp : p.length = k.succ)
(hp' : p = SimpleGraph.Walk.cons h p')
:
theorem
vertex_in_walk
{V : Type}
{G : SimpleGraph V}
(S : Set V)
(w t : V)
(hw : w ∉ S)
(ht : t ∈ S)
(p : G.Walk t w)
: