let G be _Graph; :: thesis: for a, b being Vertex of G st a <> b & not a,b are_adjacent holds
for S being Subset of (the_Vertices_of G) holds
( S is VertexSeparator of a,b iff ( not a in S & not b in S & ( for W being Walk of G st W is_Walk_from a,b holds
ex x being Vertex of G st
( x in S & x in W .vertices() ) ) ) )
let a, b be Vertex of G; :: thesis: ( a <> b & not a,b are_adjacent implies for S being Subset of (the_Vertices_of G) holds
( S is VertexSeparator of a,b iff ( not a in S & not b in S & ( for W being Walk of G st W is_Walk_from a,b holds
ex x being Vertex of G st
( x in S & x in W .vertices() ) ) ) ) )
assume A1:
( a <> b & not a,b are_adjacent )
; :: thesis: for S being Subset of (the_Vertices_of G) holds
( S is VertexSeparator of a,b iff ( not a in S & not b in S & ( for W being Walk of G st W is_Walk_from a,b holds
ex x being Vertex of G st
( x in S & x in W .vertices() ) ) ) )
let S be Subset of (the_Vertices_of G); :: thesis: ( S is VertexSeparator of a,b iff ( not a in S & not b in S & ( for W being Walk of G st W is_Walk_from a,b holds
ex x being Vertex of G st
( x in S & x in W .vertices() ) ) ) )
hereby :: thesis: ( not a in S & not b in S & ( for W being Walk of G st W is_Walk_from a,b holds
ex x being Vertex of G st
( x in S & x in W .vertices() ) ) implies S is VertexSeparator of a,b )
assume A2:
S is
VertexSeparator of
a,
b
;
:: thesis: ( not a in S & not b in S & ( for W being Walk of G st W is_Walk_from a,b holds
ex x being Vertex of G st
( x in S & x in W .vertices() ) ) )hence
( not
a in S & not
b in S )
by A1, Def8;
:: thesis: for W being Walk of G st W is_Walk_from a,b holds
ex x being Vertex of G st
( x in S & x in W .vertices() )then A3:
not
(the_Vertices_of G) \ S is
empty
by XBOOLE_0:def 5;
let W be
Walk of
G;
:: thesis: ( W is_Walk_from a,b implies ex x being Vertex of G st
( x in S & x in W .vertices() ) )assume A4:
W is_Walk_from a,
b
;
:: thesis: ex x being Vertex of G st
( x in S & x in W .vertices() )now assume A5:
for
x being
Vertex of
G holds
( not
x in S or not
x in W .vertices() )
;
:: thesis: for G2 being removeVertices of G,S holds contradictionlet G2 be
removeVertices of
G,
S;
:: thesis: contradictionA6:
the_Vertices_of G2 = (the_Vertices_of G) \ S
by A3, GLIB_000:def 39;
then A7:
the_Edges_of G2 = G .edgesBetween (the_Vertices_of G2)
by GLIB_000:def 39;
then A9:
W .vertices() c= the_Vertices_of G2
by TARSKI:def 3;
A10:
W .edges() c= G .edgesBetween (W .vertices() )
by GLIB_001:110;
G .edgesBetween (W .vertices() ) c= G .edgesBetween (the_Vertices_of G2)
by A9, GLIB_000:39;
then
W .edges() c= the_Edges_of G2
by A7, A10, XBOOLE_1:1;
then reconsider W2 =
W as
Walk of
G2 by A9, GLIB_001:171;
(
W .first() = a &
W .last() = b )
by A4, GLIB_001:def 23;
then
(
W2 .first() = a &
W2 .last() = b )
;
then
W2 is_Walk_from a,
b
by GLIB_001:def 23;
hence
contradiction
by A1, A2, Def8;
:: thesis: verum end; hence
ex
x being
Vertex of
G st
(
x in S &
x in W .vertices() )
;
:: thesis: verum
end;
assume A11:
( not a in S & not b in S & ( for W being Walk of G st W is_Walk_from a,b holds
ex x being Vertex of G st
( x in S & x in W .vertices() ) ) )
; :: thesis: S is VertexSeparator of a,b
hence
S is VertexSeparator of a,b
by A1, A11, Def8; :: thesis: verum