let G1 be non trivial connected _Graph; :: thesis: for v being Vertex of G1
for G2 being removeVertex of G1,v st v is endvertex holds
G2 is connected

let v be Vertex of G1; :: thesis: for G2 being removeVertex of G1,v st v is endvertex holds
G2 is connected

let G2 be removeVertex of G1,v; :: thesis: ( v is endvertex implies G2 is connected )
set VG = the_Vertices_of G1;
set VG2 = the_Vertices_of G2;
assume A1: v is endvertex ; :: thesis: G2 is connected
then consider ev being set such that
A2: v .edgesInOut() = {ev} and
not ev Joins v,v,G1 by GLIB_000:def 53;
now
let v19, v29 be Vertex of G2; :: thesis: ex W being Walk of G2 st W is_Walk_from v19,v29
reconsider v1 = v19, v2 = v29 as Vertex of G1 by GLIB_000:45;
consider W being Walk of G1 such that
A3: W is_Walk_from v1,v2 by Def1;
consider T being Trail of W;
A4: T is_Walk_from v1,v2 by A3, GLIB_001:161;
then A5: T . (len T) = v2 by GLIB_001:18;
v19 in the_Vertices_of G2 ;
then v19 in (the_Vertices_of G1) \ {v} by GLIB_000:50;
then A6: not v1 in {v} by XBOOLE_0:def 5;
v29 in the_Vertices_of G2 ;
then v29 in (the_Vertices_of G1) \ {v} by GLIB_000:50;
then not v2 in {v} by XBOOLE_0:def 5;
then A7: v2 <> v by TARSKI:def 1;
A8: T . 1 = v1 by A4, GLIB_001:18;
now
let e be set ; :: thesis: ( e in T .edges() implies e in the_Edges_of G2 )
assume A9: e in T .edges() ; :: thesis: e in the_Edges_of G2
then consider n being even Element of NAT such that
A10: 1 <= n and
A11: n <= len T and
A12: T . n = e by GLIB_001:100;
n in dom T by A10, A11, FINSEQ_3:27;
then consider n1 being odd Element of NAT such that
A13: n1 = n - 1 and
A14: n - 1 in dom T and
A15: n + 1 in dom T and
A16: T . n Joins T . n1,T . (n + 1),G1 by GLIB_001:10;
A17: n + 1 <= len T by A15, FINSEQ_3:27;
A18: n1 <= len T by A13, A14, FINSEQ_3:27;
now end;
then e in (the_Edges_of G1) \ (v .edgesInOut() ) by A9, XBOOLE_0:def 5;
then e in (the_Edges_of G1) \ (G1 .edgesInOut {v}) by GLIB_000:def 42;
then e in G1 .edgesBetween ((the_Vertices_of G1) \ {v}) by GLIB_000:38;
hence e in the_Edges_of G2 by GLIB_000:50; :: thesis: verum
end;
then A29: T .edges() c= the_Edges_of G2 by TARSKI:def 3;
A30: v1 <> v by A6, TARSKI:def 1;
now end;
then T .vertices() c= the_Vertices_of G2 by TARSKI:def 3;
then reconsider W9 = T as Walk of G2 by A29, GLIB_001:171;
W9 is_Walk_from v19,v29 by A4, GLIB_001:20;
hence ex W being Walk of G2 st W is_Walk_from v19,v29 ; :: thesis: verum
end;
hence G2 is connected by Def1; :: thesis: verum