let x, y, X be set ; ( x <> y implies ( Funcs {x,y},X,[:X,X:] are_equipotent & card (Funcs {x,y},X) = card [:X,X:] ) )
deffunc H1( Function) -> set = [($1 . x),($1 . y)];
consider f being Function such that
A1:
( dom f = Funcs {x,y},X & ( for g being Function st g in Funcs {x,y},X holds
f . g = H1(g) ) )
from FUNCT_5:sch 1();
assume A2:
x <> y
; ( Funcs {x,y},X,[:X,X:] are_equipotent & card (Funcs {x,y},X) = card [:X,X:] )
thus
Funcs {x,y},X,[:X,X:] are_equipotent
card (Funcs {x,y},X) = card [:X,X:]proof
defpred S1[
set ]
means $1
= x;
take
f
;
WELLORD2:def 4 ( f is one-to-one & proj1 f = Funcs {x,y},X & proj2 f = [:X,X:] )
thus
f is
one-to-one
( proj1 f = Funcs {x,y},X & proj2 f = [:X,X:] )proof
let x1 be
set ;
FUNCT_1:def 8 for b1 being set holds
( not x1 in proj1 f or not b1 in proj1 f or not f . x1 = f . b1 or x1 = b1 )let x2 be
set ;
( not x1 in proj1 f or not x2 in proj1 f or not f . x1 = f . x2 or x1 = x2 )
assume that A3:
x1 in dom f
and A4:
x2 in dom f
and A5:
f . x1 = f . x2
;
x1 = x2
consider g2 being
Function such that A6:
x2 = g2
and A7:
dom g2 = {x,y}
and
rng g2 c= X
by A1, A4, FUNCT_2:def 2;
consider g1 being
Function such that A8:
x1 = g1
and A9:
dom g1 = {x,y}
and
rng g1 c= X
by A1, A3, FUNCT_2:def 2;
A10:
[(g1 . x),(g1 . y)] =
f . x1
by A1, A3, A8
.=
[(g2 . x),(g2 . y)]
by A1, A4, A5, A6
;
hence
x1 = x2
by A8, A9, A6, A7, FUNCT_1:9;
verum
end;
thus
dom f = Funcs {x,y},
X
by A1;
proj2 f = [:X,X:]
thus
rng f c= [:X,X:]
XBOOLE_0:def 10 [:X,X:] c= proj2 fproof
let z be
set ;
TARSKI:def 3 ( not z in rng f or z in [:X,X:] )
assume
z in rng f
;
z in [:X,X:]
then consider t being
set such that A11:
t in dom f
and A12:
z = f . t
by FUNCT_1:def 5;
consider g being
Function such that A13:
t = g
and A14:
dom g = {x,y}
and A15:
rng g c= X
by A1, A11, FUNCT_2:def 2;
x in {x,y}
by TARSKI:def 2;
then A16:
g . x in rng g
by A14, FUNCT_1:def 5;
y in {x,y}
by TARSKI:def 2;
then A17:
g . y in rng g
by A14, FUNCT_1:def 5;
z = [(g . x),(g . y)]
by A1, A11, A12, A13;
hence
z in [:X,X:]
by A15, A16, A17, ZFMISC_1:106;
verum
end;
let z be
set ;
TARSKI:def 3 ( not z in [:X,X:] or z in proj2 f )
deffunc H2(
set )
-> set =
z `1 ;
deffunc H3(
set )
-> set =
z `2 ;
consider g being
Function such that A18:
(
dom g = {x,y} & ( for
t being
set st
t in {x,y} holds
( (
S1[
t] implies
g . t = H2(
t) ) & ( not
S1[
t] implies
g . t = H3(
t) ) ) ) )
from PARTFUN1:sch 1();
x in {x,y}
by TARSKI:def 2;
then A19:
g . x = z `1
by A18;
y in {x,y}
by TARSKI:def 2;
then A20:
g . y = z `2
by A2, A18;
assume A21:
z in [:X,X:]
;
z in proj2 f
then A22:
z = [(z `1 ),(z `2 )]
by MCART_1:23;
A23:
(
z `1 in X &
z `2 in X )
by A21, MCART_1:10;
rng g c= X
then A24:
g in Funcs {x,y},
X
by A18, FUNCT_2:def 2;
then
f . g = [(g . x),(g . y)]
by A1;
hence
z in proj2 f
by A1, A22, A24, A19, A20, FUNCT_1:def 5;
verum
end;
hence
card (Funcs {x,y},X) = card [:X,X:]
by CARD_1:21; verum