let G be _Graph; ( G is 1 -regular & G is connected implies ( G is 2 -vertex & G is 1 -edge & G is complete ) )
assume A1:
( G is 1 -regular & G is connected )
; ( G is 2 -vertex & G is 1 -edge & G is complete )
set v = the Vertex of G;
consider e being object such that
A2:
( the Vertex of G .edgesInOut() = {e} & not e Joins the Vertex of G, the Vertex of G,G )
by A1, GLIB_000:def 51;
A3:
e in the Vertex of G .edgesInOut()
by A2, TARSKI:def 1;
then A4:
e in the_Edges_of G
;
ex w being Vertex of G st
( w <> the Vertex of G & e Joins the Vertex of G,w,G )
then consider w being Vertex of G such that
A8:
( w <> the Vertex of G & e Joins the Vertex of G,w,G )
;
now for x being object holds
( ( x in the_Vertices_of G & x <> the Vertex of G implies not x <> w ) & ( ( x = the Vertex of G or x = w ) implies x in the_Vertices_of G ) )let x be
object ;
( ( x in the_Vertices_of G & x <> the Vertex of G implies not x <> w ) & ( ( x = the Vertex of G or x = w ) implies x in the_Vertices_of G ) )hereby ( ( x = the Vertex of G or x = w ) implies x in the_Vertices_of G )
assume
x in the_Vertices_of G
;
( x <> the Vertex of G implies not x <> w )then reconsider u =
x as
Vertex of
G ;
assume A9:
(
x <> the
Vertex of
G &
x <> w )
;
contradictionconsider W being
Walk of
G such that A10:
W is_Walk_from the
Vertex of
G,
u
by A1, GLIB_002:def 1;
set P = the
Path of
W;
the
Path of
W is_Walk_from the
Vertex of
G,
u
by A10, GLIB_001:160;
then A11:
( the
Path of
W .first() = the
Vertex of
G & the
Path of
W .last() = u )
by GLIB_001:def 23;
then A12:
the
Path of
W is
trivial
by A9, GLIB_001:127;
then consider e1 being
object such that
e1 Joins the
Path of
W .first() , the
Path of
W .last() ,
G
and A13:
the
Path of
W = G .walkOf (
( the Path of W .first()),
e1,
( the Path of W .last()))
by A1, Th29;
A14:
the
Path of
W = G .walkOf ( the
Vertex of
G,
e1,
u)
by A11, A13;
G .walkOf the
Vertex of
G is
trivial
;
then A15:
e1 Joins the
Vertex of
G,
u,
G
by A12, A14, GLIB_001:def 5;
then
e1 in the
Vertex of
G .edgesInOut()
by GLIB_000:62;
then
e1 = e
by A2, TARSKI:def 1;
hence
contradiction
by A8, A9, A15, GLIB_000:15;
verum
end; assume
(
x = the
Vertex of
G or
x = w )
;
x in the_Vertices_of Ghence
x in the_Vertices_of G
;
verum end;
then A16:
the_Vertices_of G = { the Vertex of G,w}
by TARSKI:def 2;
then
G .order() = 2
by A8, CARD_2:57;
hence
G is 2 -vertex
by GLIB_013:def 3; ( G is 1 -edge & G is complete )
then
the_Edges_of G = {e}
by TARSKI:def 1;
then
G .size() = 1
by CARD_1:30;
hence
G is 1 -edge
by GLIB_013:def 4; G is complete
hence
G is complete
by CHORD:def 6; verum