let G be _finite _Graph; for H being Subgraph of G st G .size() = H .size() holds
ex p being non empty Graph-yielding _finite FinSequence st
( p . 1 == H & p . (len p) = G & len p = ((G .order()) - (H .order())) + 1 & ( for n being Element of dom p st n <= (len p) - 1 holds
ex v being Vertex of G st
( p . (n + 1) is addVertex of p . n,v & not v in the_Vertices_of (p . n) ) ) )
let H be Subgraph of G; ( G .size() = H .size() implies ex p being non empty Graph-yielding _finite FinSequence st
( p . 1 == H & p . (len p) = G & len p = ((G .order()) - (H .order())) + 1 & ( for n being Element of dom p st n <= (len p) - 1 holds
ex v being Vertex of G st
( p . (n + 1) is addVertex of p . n,v & not v in the_Vertices_of (p . n) ) ) ) )
assume A1:
G .size() = H .size()
; ex p being non empty Graph-yielding _finite FinSequence st
( p . 1 == H & p . (len p) = G & len p = ((G .order()) - (H .order())) + 1 & ( for n being Element of dom p st n <= (len p) - 1 holds
ex v being Vertex of G st
( p . (n + 1) is addVertex of p . n,v & not v in the_Vertices_of (p . n) ) ) )
set V = (the_Vertices_of G) \ (the_Vertices_of H);
G is addVertices of H,(the_Vertices_of G) \ (the_Vertices_of H)
by A1, Th34;
then consider p being non empty Graph-yielding FinSequence such that
A2:
( p . 1 == H & p . (len p) = G & len p = (card (((the_Vertices_of G) \ (the_Vertices_of H)) \ (the_Vertices_of H))) + 1 )
and
A3:
for n being Element of dom p st n <= (len p) - 1 holds
ex v being Vertex of G st
( p . (n + 1) is addVertex of p . n,v & not v in the_Vertices_of (p . n) )
by Th59;
defpred S1[ Nat] means for n being Element of dom p st $1 = n holds
p . n is _finite ;
A4:
S1[1]
by A2, GLIB_000:89;
A5:
for k being non zero Nat st S1[k] holds
S1[k + 1]
A11:
for k being non zero Nat holds S1[k]
from NAT_1:sch 10(A4, A5);
for x being Element of dom p holds p . x is _finite
then reconsider p = p as non empty Graph-yielding _finite FinSequence by GLIB_000:def 66;
take
p
; ( p . 1 == H & p . (len p) = G & len p = ((G .order()) - (H .order())) + 1 & ( for n being Element of dom p st n <= (len p) - 1 holds
ex v being Vertex of G st
( p . (n + 1) is addVertex of p . n,v & not v in the_Vertices_of (p . n) ) ) )
thus
( p . 1 == H & p . (len p) = G )
by A2; ( len p = ((G .order()) - (H .order())) + 1 & ( for n being Element of dom p st n <= (len p) - 1 holds
ex v being Vertex of G st
( p . (n + 1) is addVertex of p . n,v & not v in the_Vertices_of (p . n) ) ) )
((the_Vertices_of G) \ (the_Vertices_of H)) \ (the_Vertices_of H) =
(the_Vertices_of G) \ ((the_Vertices_of H) \/ (the_Vertices_of H))
by XBOOLE_1:41
.=
(the_Vertices_of G) \ (the_Vertices_of H)
;
hence len p =
((card (the_Vertices_of G)) - (card (the_Vertices_of H))) + 1
by A2, CARD_2:44
.=
((G .order()) - (card (the_Vertices_of H))) + 1
by GLIB_000:def 24
.=
((G .order()) - (H .order())) + 1
by GLIB_000:def 24
;
for n being Element of dom p st n <= (len p) - 1 holds
ex v being Vertex of G st
( p . (n + 1) is addVertex of p . n,v & not v in the_Vertices_of (p . n) )
thus
for n being Element of dom p st n <= (len p) - 1 holds
ex v being Vertex of G st
( p . (n + 1) is addVertex of p . n,v & not v in the_Vertices_of (p . n) )
by A3; verum