Lm12:
for p being non empty FinSequence
for x being object
for n being Element of dom (p ^ <*x*>) holds
( not n <= (len (p ^ <*x*>)) - 1 or n = (len (p ^ <*x*>)) - 1 or n <= (len p) - 1 )
Lm13:
for p being non empty FinSequence
for x being object
for n being Element of dom (<*x*> ^ p) holds
( not n <= (len (<*x*> ^ p)) - 1 or n = 1 or ( n - 1 in dom p & n - 1 <= (len p) - 1 ) )
Lm2:
for G1 being _Graph
for v being set
for G2 being removeVertex of G1,v st not v in the_Vertices_of G1 holds
G1 == G2
Lm3:
for G1, G2 being _Graph
for v being set st G1 == G2 & not v in the_Vertices_of G1 holds
G2 is removeVertex of G1,v
Lm4:
for G1, G2 being _Graph
for e being set
for G3 being removeEdge of G1,e
for G4 being removeEdge of G2,e st G1 == G2 holds
G3 == G4
Lm5:
for G1, G3, G4 being _Graph
for e being set
for G2 being removeEdge of G1,e st G1 == G3 & G2 == G4 holds
G4 is removeEdge of G3,e
Lm6:
for G being _finite connected _Graph ex H being Subgraph of G st
( H is spanning & H is Tree-like & H is connected & H is acyclic )
Lm7:
for G2 being _Graph
for v1, v2 being Vertex of G2 st not v2 in G2 .reachableFrom v1 holds
not (G2 .reachableFrom v1) \/ (G2 .reachableFrom v2) in G2 .componentSet()
Lm8:
for G1 being _finite _Graph
for e being set
for G2 being removeEdge of G1,e holds G1 .numComponents() c= G2 .numComponents()
Lm9:
for G3 being _Graph
for v being object
for V being set
for v1 being Vertex of G3
for G1 being addAdjVertexAll of G3,v,V \/ {v1} st V c= the_Vertices_of G3 & not v in the_Vertices_of G3 & not v1 in V holds
ex G2 being addAdjVertexAll of G3,v,V ex e being object st
( not e in the_Edges_of G2 & ( G1 is addEdge of G2,v,e,v1 or G1 is addEdge of G2,v1,e,v ) )
by GLIB_007:61;
registration
let G be
edgeless _Graph;
coherence
for b1 being Walk of G holds b1 is V5()
coherence
for b1 being Subgraph of G holds b1 is edgeless
let X be
set ;
coherence
G .edgesInto X is empty
;
coherence
G .edgesOutOf X is empty
;
coherence
G .edgesInOut X is empty
;
coherence
G .edgesBetween X is empty
;
coherence
G .set (WeightSelector,X) is edgeless
by GLIB_003:7, Th52;
coherence
G .set (ELabelSelector,X) is edgeless
by GLIB_003:7, Th52;
coherence
G .set (VLabelSelector,X) is edgeless
by GLIB_003:7, Th52;
coherence
for b1 being addVertices of G,X holds b1 is edgeless
coherence
for b1 being reverseEdgeDirections of G,X holds b1 is edgeless
let Y be
set ;
coherence
G .edgesBetween (X,Y) is empty
;
coherence
G .edgesDBetween (X,Y) is empty
;
end;
registration
let G be
_Graph;
coherence
for b1 being addAdjVertexToAll of G, the_Vertices_of G holds not b1 is edgeless
coherence
for b1 being addAdjVertexFromAll of G, the_Vertices_of G holds not b1 is edgeless
coherence
for b1 being addAdjVertexAll of G, the_Vertices_of G holds not b1 is edgeless
let v be
Vertex of
G;
coherence
for b1 being addAdjVertex of G,v, the_Edges_of G, the_Vertices_of G holds not b1 is edgeless
coherence
for b1 being addAdjVertex of G, the_Vertices_of G, the_Edges_of G,v holds not b1 is edgeless
let w be
Vertex of
G;
coherence
for b1 being addEdge of G,v, the_Edges_of G,w holds not b1 is edgeless
end;
Lm10:
for F being ManySortedSet of NAT
for n being object holds
( n is Nat iff n in dom F )
scheme
FinConnectedGraphs{
P1[
_finite _Graph] } :
provided
A1:
for
G being
_trivial edgeless _Graph holds
P1[
G]
and A2:
for
G2 being
_finite connected _Graph for
v being
Vertex of
G2 for
e,
w being
object st not
e in the_Edges_of G2 & not
w in the_Vertices_of G2 &
P1[
G2] holds
( ( for
G1 being
addAdjVertex of
G2,
v,
e,
w holds
P1[
G1] ) & ( for
G1 being
addAdjVertex of
G2,
w,
e,
v holds
P1[
G1] ) )
and A3:
for
G2 being
_finite connected _Graph for
v1,
v2 being
Vertex of
G2 for
e being
object for
G1 being
addEdge of
G2,
v1,
e,
v2 st not
e in the_Edges_of G2 &
P1[
G2] holds
P1[
G1]
theorem Th76:
for
G2 being
_Graph for
v being
object for
V1 being
set for
V2 being
finite set for
G1 being
addAdjVertexAll of
G2,
v,
V1 \/ V2 st
V1 \/ V2 c= the_Vertices_of G2 & not
v in the_Vertices_of G2 &
V1 misses V2 holds
ex
p being non
empty Graph-yielding FinSequence st
(
p . 1
= G2 &
p . (len p) = G1 &
len p = (card V2) + 2 &
p . 2 is
addAdjVertexAll of
G2,
v,
V1 & ( for
n being
Element of
dom p st 2
<= n &
n <= (len p) - 1 holds
ex
w being
Vertex of
G2 ex
e being
object st
(
e in (the_Edges_of G1) \ (the_Edges_of (p . n)) & (
p . (n + 1) is
addEdge of
p . n,
v,
e,
w or
p . (n + 1) is
addEdge of
p . n,
w,
e,
v ) ) ) )
theorem
for
G2 being
_Graph for
v being
object for
V being non
empty finite set for
G1 being
addAdjVertexAll of
G2,
v,
V st
V c= the_Vertices_of G2 & not
v in the_Vertices_of G2 holds
ex
p being non
empty Graph-yielding FinSequence st
(
p . 1
= G2 &
p . (len p) = G1 &
len p = (card V) + 1 & ex
w being
Vertex of
G2 ex
e being
object st
(
e in (the_Edges_of G1) \ (the_Edges_of G2) & (
p . 2 is
addAdjVertex of
G2,
v,
e,
w or
p . 2 is
addAdjVertex of
G2,
w,
e,
v ) ) & ( for
n being
Element of
dom p st 2
<= n &
n <= (len p) - 1 holds
ex
w being
Vertex of
G2 ex
e being
object st
(
e in (the_Edges_of G1) \ (the_Edges_of (p . n)) & (
p . (n + 1) is
addEdge of
p . n,
v,
e,
w or
p . (n + 1) is
addEdge of
p . n,
w,
e,
v ) ) ) )