let X be non empty set ; for G being SimpleGraph of X
for v being set ex ww being finite set st
( ww = { w where w is Element of X : ( w in the carrier of G & {v,w} in the SEdges of G ) } & degree (G,v) = card ww )
let G be SimpleGraph of X; for v being set ex ww being finite set st
( ww = { w where w is Element of X : ( w in the carrier of G & {v,w} in the SEdges of G ) } & degree (G,v) = card ww )
let v be set ; ex ww being finite set st
( ww = { w where w is Element of X : ( w in the carrier of G & {v,w} in the SEdges of G ) } & degree (G,v) = card ww )
set ww = { w where w is Element of X : ( w in the carrier of G & {v,w} in the SEdges of G ) } ;
consider Y being finite set such that
A1:
for z being set holds
( z in Y iff ( z in the SEdges of G & v in z ) )
and
A2:
degree (G,v) = card Y
by Def8;
A3:
for z being set holds
( z in { w where w is Element of X : ( w in the carrier of G & {v,w} in the SEdges of G ) } iff ( z in the carrier of G & {v,z} in the SEdges of G ) )
A5:
{ w where w is Element of X : ( w in the carrier of G & {v,w} in the SEdges of G ) } c= the carrier of G
by A3;
the carrier of G is finite
by Th21;
then reconsider ww = { w where w is Element of X : ( w in the carrier of G & {v,w} in the SEdges of G ) } as finite set by A5;
take
ww
; ( ww = { w where w is Element of X : ( w in the carrier of G & {v,w} in the SEdges of G ) } & degree (G,v) = card ww )
ww,Y are_equipotent
proof
set wwY =
{ [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } ;
take
{ [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) }
;
TARSKI:def 6 ( ( for b1 being object holds
( not b1 in ww or ex b2 being object st
( b2 in Y & [b1,b2] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } ) ) ) & ( for b1 being object holds
( not b1 in Y or ex b2 being object st
( b2 in ww & [b2,b1] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } ) ) ) & ( for b1, b2, b3, b4 being object holds
( not [b1,b2] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } or not [b3,b4] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } or ( ( not b1 = b3 or b2 = b4 ) & ( not b2 = b4 or b1 = b3 ) ) ) ) )
A6:
for
x,
y,
z,
u being
object st
[x,y] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } &
[z,u] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } holds
(
x = z iff
y = u )
proof
let x,
y,
z,
u be
object ;
( [x,y] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } & [z,u] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } implies ( x = z iff y = u ) )
assume that A7:
[x,y] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) }
and A8:
[z,u] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) }
;
( x = z iff y = u )
consider w1 being
Element of
X such that A9:
[x,y] = [w1,{v,w1}]
and
w1 in ww
and A10:
{v,w1} in Y
by A7;
consider w2 being
Element of
X such that A11:
[z,u] = [w2,{v,w2}]
and
w2 in ww
and
{v,w2} in Y
by A8;
hereby ( y = u implies x = z )
end;
hereby verum
{v,w1} in the
SEdges of
G
by A1, A10;
then A13:
v <> w1
by Th10;
assume A14:
y = u
;
x = z{v,w1} =
[w1,{v,w1}] `2
.=
[x,y] `2
by A9
.=
u
by A14
.=
[w2,{v,w2}] `2
by A11
.=
{v,w2}
;
then
w1 = w2
by A13, ZFMISC_1:6;
hence x =
[z,u] `1
by A9, A11
.=
z
;
verum
end;
end;
A15:
for
w being
set holds
(
[w,{v,w}] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } iff (
w in ww &
{v,w} in Y ) )
proof
let w be
set ;
( [w,{v,w}] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } iff ( w in ww & {v,w} in Y ) )
hereby ( w in ww & {v,w} in Y implies [w,{v,w}] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } )
assume
[w,{v,w}] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) }
;
( w in ww & {v,w} in Y )then consider w9 being
Element of
X such that A16:
[w,{v,w}] = [w9,{v,w9}]
and A17:
(
w9 in ww &
{v,w9} in Y )
;
w =
[w9,{v,w9}] `1
by A16
.=
w9
;
hence
(
w in ww &
{v,w} in Y )
by A17;
verum
end;
thus
(
w in ww &
{v,w} in Y implies
[w,{v,w}] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } )
verumproof
assume that A18:
w in ww
and A19:
{v,w} in Y
;
[w,{v,w}] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) }
A20:
w in the
carrier of
G
by A3, A18;
the
carrier of
G is
finite Subset of
X
by Th21;
then reconsider w =
w as
Element of
X by A20;
ex
z being
Element of
X st
(
[w,{v,w}] = [z,{v,z}] &
z in ww &
{v,z} in Y )
by A18, A19;
hence
[w,{v,w}] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) }
;
verum
end;
end;
A21:
for
y being
object st
y in Y holds
ex
x being
object st
(
x in ww &
[x,y] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } )
proof
let y be
object ;
( y in Y implies ex x being object st
( x in ww & [x,y] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } ) )
assume A22:
y in Y
;
ex x being object st
( x in ww & [x,y] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } )
then A23:
y in the
SEdges of
G
by A1;
reconsider yy =
y as
set by TARSKI:1;
A24:
v in yy
by A1, A22;
ex
w being
set st
(
w in the
carrier of
G &
y = {v,w} )
then consider w being
set such that A30:
w in the
carrier of
G
and A31:
y = {v,w}
;
take
w
;
( w in ww & [w,y] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } )
thus
w in ww
by A3, A23, A30, A31;
[w,y] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) }
hence
[w,y] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) }
by A15, A22, A31;
verum
end;
for
x being
object st
x in ww holds
ex
y being
object st
(
y in Y &
[x,y] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } )
proof
let x be
object ;
( x in ww implies ex y being object st
( y in Y & [x,y] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } ) )
assume A32:
x in ww
;
ex y being object st
( y in Y & [x,y] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } )
take
{v,x}
;
( {v,x} in Y & [x,{v,x}] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } )
A33:
v in {v,x}
by TARSKI:def 2;
{v,x} in the
SEdges of
G
by A3, A32;
hence
{v,x} in Y
by A1, A33;
[x,{v,x}] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) }
hence
[x,{v,x}] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) }
by A15, A32;
verum
end;
hence
( ( for
b1 being
object holds
( not
b1 in ww or ex
b2 being
object st
(
b2 in Y &
[b1,b2] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } ) ) ) & ( for
b1 being
object holds
( not
b1 in Y or ex
b2 being
object st
(
b2 in ww &
[b2,b1] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } ) ) ) & ( for
b1,
b2,
b3,
b4 being
object holds
( not
[b1,b2] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } or not
[b3,b4] in { [w,{v,w}] where w is Element of X : ( w in ww & {v,w} in Y ) } or ( ( not
b1 = b3 or
b2 = b4 ) & ( not
b2 = b4 or
b1 = b3 ) ) ) ) )
by A21, A6;
verum
end;
hence
( ww = { w where w is Element of X : ( w in the carrier of G & {v,w} in the SEdges of G ) } & degree (G,v) = card ww )
by A2, CARD_1:5; verum