let G2 be _Graph; for v being Vertex of G2
for e being object
for G1 being addEdge of G2,v,e,v st not e in the_Edges_of G2 holds
G1 .loops() = (G2 .loops()) \/ {e}
let v be Vertex of G2; for e being object
for G1 being addEdge of G2,v,e,v st not e in the_Edges_of G2 holds
G1 .loops() = (G2 .loops()) \/ {e}
let e be object ; for G1 being addEdge of G2,v,e,v st not e in the_Edges_of G2 holds
G1 .loops() = (G2 .loops()) \/ {e}
let G1 be addEdge of G2,v,e,v; ( not e in the_Edges_of G2 implies G1 .loops() = (G2 .loops()) \/ {e} )
assume A1:
not e in the_Edges_of G2
; G1 .loops() = (G2 .loops()) \/ {e}
then
e in G1 .loops()
by Th45, GLIB_006:105;
then A2:
{e} c= G1 .loops()
by ZFMISC_1:31;
G2 .loops() c= G1 .loops()
by Th49;
then A3:
(G2 .loops()) \/ {e} c= G1 .loops()
by A2, XBOOLE_1:8;
then
G1 .loops() c= (G2 .loops()) \/ {e}
by TARSKI:def 3;
hence
G1 .loops() = (G2 .loops()) \/ {e}
by A3, XBOOLE_0:def 10; verum