let c be non empty Cardinal; for G being c -regular _Graph holds card H8(G) = G .order()
let G be c -regular _Graph; card H8(G) = G .order()
set V = the_Vertices_of G;
deffunc H9( object ) -> set = H6(G, In ($1,(the_Vertices_of G))) \/ H7(G, In ($1,(the_Vertices_of G)));
consider g being Function such that
A1:
( dom g = the_Vertices_of G & ( for x being object st x in the_Vertices_of G holds
g . x = H9(x) ) )
from FUNCT_1:sch 3();
then A6:
rng g = H8(G)
by TARSKI:2;
now for x1, x2 being object st x1 in dom g & x2 in dom g & g . x1 = g . x2 holds
not x1 <> x2let x1,
x2 be
object ;
( x1 in dom g & x2 in dom g & g . x1 = g . x2 implies not x1 <> x2 )assume A7:
(
x1 in dom g &
x2 in dom g &
g . x1 = g . x2 )
;
not x1 <> x2assume A8:
x1 <> x2
;
contradictionreconsider x1 =
x1,
x2 =
x2 as
Vertex of
G by A1, A7;
A9:
g . x1 =
H6(
G,
In (
x1,
(the_Vertices_of G)))
\/ H7(
G,
In (
x1,
(the_Vertices_of G)))
by A1
.=
H6(
G,
x1)
\/ H7(
G,
x1)
;
A10:
g . x2 =
H6(
G,
In (
x2,
(the_Vertices_of G)))
\/ H7(
G,
In (
x2,
(the_Vertices_of G)))
by A1
.=
H6(
G,
x2)
\/ H7(
G,
x2)
;
(
H6(
G,
x1)
misses H6(
G,
x2) &
H7(
G,
x1)
misses H7(
G,
x2) )
by A8, Lm12, Lm13;
then A11:
(
H6(
G,
x1)
= H7(
G,
x2) &
H7(
G,
x1)
= H6(
G,
x2) )
by A7, A9, A10, XBOOLE_1:72;
(
H6(
G,
x1)
misses H7(
G,
x2) &
H7(
G,
x1)
misses H6(
G,
x2) )
by Lm10;
then A12:
(
H6(
G,
x1)
= {} &
H7(
G,
x1)
= {} )
by A11, XBOOLE_1:66;
x1 .degree() <> 0
by Def4;
end;
hence
card H8(G) = G .order()
by A1, A6, FUNCT_1:def 4, CARD_1:70; verum