let G1, G2 be Graph; :: thesis: ( the Source of G1 tolerates the Source of G2 & the Target of G1 tolerates the Target of G2 implies G1 \/ G2 = G2 \/ G1 )
assume A1:
( the Source of G1 tolerates the Source of G2 & the Target of G1 tolerates the Target of G2 )
; :: thesis: G1 \/ G2 = G2 \/ G1
then A2: the carrier of (G1 \/ G2) =
the carrier of G2 \/ the carrier of G1
by Def2
.=
the carrier of (G2 \/ G1)
by A1, Def2
;
A3: the carrier' of (G1 \/ G2) =
the carrier' of G2 \/ the carrier' of G1
by A1, Def2
.=
the carrier' of (G2 \/ G1)
by A1, Def2
;
A6: dom the Source of (G1 \/ G2) =
the carrier' of (G2 \/ G1)
by A3, FUNCT_2:def 1
.=
dom the Source of (G2 \/ G1)
by FUNCT_2:def 1
;
for v being set st v in dom the Source of (G1 \/ G2) holds
the Source of (G1 \/ G2) . v = the Source of (G2 \/ G1) . v
then A11:
the Source of (G1 \/ G2) = the Source of (G2 \/ G1)
by A6, FUNCT_1:9;
A12: dom the Target of (G1 \/ G2) =
the carrier' of (G2 \/ G1)
by A3, FUNCT_2:def 1
.=
dom the Target of (G2 \/ G1)
by FUNCT_2:def 1
;
for v being set st v in dom the Target of (G1 \/ G2) holds
the Target of (G1 \/ G2) . v = the Target of (G2 \/ G1) . v
hence
G1 \/ G2 = G2 \/ G1
by A2, A3, A11, A12, FUNCT_1:9; :: thesis: verum