let G1 be _Graph; for v being set
for G2 being removeLoops of G1
for G3 being removeVertex of G1,v
for G4 being removeVertex of G2,v holds G4 is removeLoops of G3
let v be set ; for G2 being removeLoops of G1
for G3 being removeVertex of G1,v
for G4 being removeVertex of G2,v holds G4 is removeLoops of G3
let G2 be removeLoops of G1; for G3 being removeVertex of G1,v
for G4 being removeVertex of G2,v holds G4 is removeLoops of G3
let G3 be removeVertex of G1,v; for G4 being removeVertex of G2,v holds G4 is removeLoops of G3
let G4 be removeVertex of G2,v; G4 is removeLoops of G3
A1:
( the_Vertices_of G2 = the_Vertices_of G1 & the_Edges_of G2 = (the_Edges_of G1) \ (G1 .loops()) )
by GLIB_000:53;
per cases
( ( not G1 is _trivial & v in the_Vertices_of G1 ) or G1 is _trivial or not v in the_Vertices_of G1 )
;
suppose A2:
( not
G1 is
_trivial &
v in the_Vertices_of G1 )
;
G4 is removeLoops of G3then reconsider v1 =
v as
Vertex of
G1 ;
reconsider v2 =
v1 as
Vertex of
G2 by GLIB_000:53;
A3:
(
the_Vertices_of G3 = (the_Vertices_of G1) \ {v1} &
the_Edges_of G3 = G1 .edgesBetween ((the_Vertices_of G1) \ {v1}) )
by A2, GLIB_000:47;
A4:
(
the_Vertices_of G4 = (the_Vertices_of G2) \ {v2} &
the_Edges_of G4 = G2 .edgesBetween ((the_Vertices_of G2) \ {v2}) )
by A2, GLIB_000:47;
then A5:
the_Vertices_of G4 = the_Vertices_of G3
by A3, GLIB_000:53;
A6:
(the_Edges_of G1) \ (v1 .edgesInOut()) =
(G1 .edgesBetween (the_Vertices_of G1)) \ (v1 .edgesInOut())
by GLIB_000:34
.=
the_Edges_of G3
by A3, GLIB_000:107
;
A7:
the_Edges_of G4 =
(G2 .edgesBetween (the_Vertices_of G2)) \ (v2 .edgesInOut())
by A4, GLIB_000:107
.=
(the_Edges_of G2) \ (v2 .edgesInOut())
by GLIB_000:34
.=
((the_Edges_of G1) \ (G1 .loops())) \ (v2 .edgesInOut())
by GLIB_000:53
.=
((the_Edges_of G1) \ (G1 .loops())) \ ((v1 .edgesInOut()) /\ (the_Edges_of G2))
by GLIB_000:79
.=
(the_Edges_of G1) \ ((G1 .loops()) \/ ((v1 .edgesInOut()) /\ (the_Edges_of G2)))
by XBOOLE_1:41
.=
((the_Edges_of G1) \ ((v1 .edgesInOut()) /\ (the_Edges_of G2))) \ (G1 .loops())
by XBOOLE_1:41
.=
(((the_Edges_of G1) \ (v1 .edgesInOut())) \/ ((the_Edges_of G1) \ (the_Edges_of G2))) \ (G1 .loops())
by XBOOLE_1:54
.=
((the_Edges_of G3) \/ (G1 .loops())) \ (G1 .loops())
by A1, A6, Th1
.=
(the_Edges_of G3) \ (G1 .loops())
by XBOOLE_1:40
;
then A11:
the_Edges_of G4 = (the_Edges_of G3) \ (G3 .loops())
by A7, TARSKI:2;
G4 is
Subgraph of
G1
by GLIB_000:43;
then A12:
G4 is
Subgraph of
G3
by A5, A11, XBOOLE_1:36, GLIB_000:44;
(the_Edges_of G3) \ (G3 .loops()) c= the_Edges_of G3
by XBOOLE_1:36;
then A13:
(the_Edges_of G3) \ (G3 .loops()) c= G3 .edgesBetween (the_Vertices_of G3)
by GLIB_000:34;
the_Vertices_of G3 c= the_Vertices_of G3
;
hence
G4 is
removeLoops of
G3
by A5, A11, A12, A13, GLIB_000:def 37;
verum end; end;