let G be _Graph; :: thesis: for W being Walk of G
for e, x being set st e Joins W .last() ,x,G holds
(W .addEdge e) .vertices() = (W .vertices() ) \/ {x}
let W be Walk of G; :: thesis: for e, x being set st e Joins W .last() ,x,G holds
(W .addEdge e) .vertices() = (W .vertices() ) \/ {x}
let e, x be set ; :: thesis: ( e Joins W .last() ,x,G implies (W .addEdge e) .vertices() = (W .vertices() ) \/ {x} )
set W2 = G .walkOf (W .last() ),e,((W .last() ) .adj e);
set W3 = W .addEdge e;
set WV = W .vertices() ;
assume A1:
e Joins W .last() ,x,G
; :: thesis: (W .addEdge e) .vertices() = (W .vertices() ) \/ {x}
then reconsider x' = x as Vertex of G by GLIB_000:16;
A2:
(W .last() ) .adj e = x'
by A1, GLIB_000:69;
then
(G .walkOf (W .last() ),e,((W .last() ) .adj e)) .first() = W .last()
by A1, Th16;
then A3:
(W .addEdge e) .vertices() = (W .vertices() ) \/ ((G .walkOf (W .last() ),e,((W .last() ) .adj e)) .vertices() )
by Th94;
A4:
(G .walkOf (W .last() ),e,((W .last() ) .adj e)) .vertices() = {(W .last() ),x}
by A1, A2, Th92;
hence
(W .addEdge e) .vertices() = (W .vertices() ) \/ {x}
by A3, A4, TARSKI:2; :: thesis: verum