let c be Cardinal; :: thesis: for G being c -regular _Graph holds 2 *` (G .size()) = c *` (G .order())
let G be c -regular _Graph; :: thesis: 2 *` (G .size()) = c *` (G .order())
per cases ( c is empty or not c is empty ) ;
suppose c is empty ; :: thesis: 2 *` (G .size()) = c *` (G .order())
end;
suppose A2: not c is empty ; :: thesis: 2 *` (G .size()) = c *` (G .order())
A3: for A being set st A in H8(G) holds
card A = c
proof
let A be set ; :: thesis: ( A in H8(G) implies card A = c )
assume A in H8(G) ; :: thesis: card A = c
then consider v being Vertex of G such that
A4: ( A = H6(G,v) \/ H7(G,v) & not v is isolated ) ;
thus card A = c by A4, Lm11; :: thesis: verum
end;
thus 2 *` (G .size()) = (G .size()) *` (card {0,1}) by CARD_2:57
.= card [:(card (the_Edges_of G)),(card {0,1}):] by CARD_2:def 2
.= card [:(the_Edges_of G),{0,1}:] by CARD_2:7
.= card (dom H5(G)) by Lm9
.= card (rng H5(G)) by Lm8, CARD_1:70
.= card (union H8(G)) by Lm16
.= c *` (card H8(G)) by A3, Lm14, Th56
.= c *` (G .order()) by A2, Lm15 ; :: thesis: verum
end;
end;