theorem Th1:
for
X,
Y being
set st
Y c= X holds
X \ (X \ Y) = Y
Lm1:
for R being Relation
for X being set holds (R | X) ~ = X |` (R ~)
Lm2:
for G1, G2 being _Graph
for W1 being Walk of G1
for W2 being Walk of G2 holds
( len W1 = len W2 iff W1 .length() = W2 .length() )
Lm3:
for G1, G2 being _Graph
for W1 being Walk of G1
for W2 being Walk of G2 st W1 .vertexSeq() = W2 .vertexSeq() holds
len W1 = len W2
theorem Th41:
for
G2 being
_Graph for
V being
set for
G1 being
addVertices of
G2,
V for
x,
y being
set for
e being
object holds
( (
e Joins x,
y,
G1 implies
e Joins x,
y,
G2 ) & (
e Joins x,
y,
G2 implies
e Joins x,
y,
G1 ) & (
e DJoins x,
y,
G1 implies
e DJoins x,
y,
G2 ) & (
e DJoins x,
y,
G2 implies
e DJoins x,
y,
G1 ) & (
e SJoins x,
y,
G1 implies
e SJoins x,
y,
G2 ) & (
e SJoins x,
y,
G2 implies
e SJoins x,
y,
G1 ) & (
e DSJoins x,
y,
G1 implies
e DSJoins x,
y,
G2 ) & (
e DSJoins x,
y,
G2 implies
e DSJoins x,
y,
G1 ) )
definition
let G be
_Graph;
existence
ex b1 being Equivalence_Relation of (the_Edges_of G) st
for e1, e2 being object holds
( [e1,e2] in b1 iff ex v1, v2 being object st
( e1 Joins v1,v2,G & e2 Joins v1,v2,G ) )
uniqueness
for b1, b2 being Equivalence_Relation of (the_Edges_of G) st ( for e1, e2 being object holds
( [e1,e2] in b1 iff ex v1, v2 being object st
( e1 Joins v1,v2,G & e2 Joins v1,v2,G ) ) ) & ( for e1, e2 being object holds
( [e1,e2] in b2 iff ex v1, v2 being object st
( e1 Joins v1,v2,G & e2 Joins v1,v2,G ) ) ) holds
b1 = b2
existence
ex b1 being Equivalence_Relation of (the_Edges_of G) st
for e1, e2 being object holds
( [e1,e2] in b1 iff ex v1, v2 being object st
( e1 DJoins v1,v2,G & e2 DJoins v1,v2,G ) )
uniqueness
for b1, b2 being Equivalence_Relation of (the_Edges_of G) st ( for e1, e2 being object holds
( [e1,e2] in b1 iff ex v1, v2 being object st
( e1 DJoins v1,v2,G & e2 DJoins v1,v2,G ) ) ) & ( for e1, e2 being object holds
( [e1,e2] in b2 iff ex v1, v2 being object st
( e1 DJoins v1,v2,G & e2 DJoins v1,v2,G ) ) ) holds
b1 = b2
end;
definition
let G be
_Graph;
existence
ex b1 being Subset of (the_Edges_of G) st
for v, w, e0 being object st e0 Joins v,w,G holds
ex e being object st
( e Joins v,w,G & e in b1 & ( for e9 being object st e9 Joins v,w,G & e9 in b1 holds
e9 = e ) )
existence
ex b1 being Subset of (the_Edges_of G) st
for v, w, e0 being object st e0 DJoins v,w,G holds
ex e being object st
( e DJoins v,w,G & e in b1 & ( for e9 being object st e9 DJoins v,w,G & e9 in b1 holds
e9 = e ) )
end;
Lm4:
for G1 being _Graph
for G2 being removeParallelEdges of G1
for W1 being Walk of G1 ex W2 being Walk of G2 st W2 is_Walk_from W1 .first() ,W1 .last()
Lm5:
for G1 being _Graph
for G2 being removeDParallelEdges of G1
for W1 being Walk of G1 ex W2 being Walk of G2 st W2 is_Walk_from W1 .first() ,W1 .last()