let X, Y, Z be set ; ( Z in Funcs (X,Y) implies ( Z,X are_equipotent & card Z = card X ) )
assume
Z in Funcs (X,Y)
; ( Z,X are_equipotent & card Z = card X )
then consider f being Function such that
A1:
Z = f
and
A2:
dom f = X
and
rng f c= Y
by FUNCT_2:def 2;
thus
Z,X are_equipotent
card Z = card Xproof
consider g being
Function such that A3:
(
dom g = Z & ( for
x being
object st
x in Z holds
g . x = H1(
x) ) )
from FUNCT_1:sch 3();
take
g
;
WELLORD2:def 4 ( g is one-to-one & proj1 g = Z & proj2 g = X )
thus
g is
one-to-one
( proj1 g = Z & proj2 g = X )proof
let x,
y be
object ;
FUNCT_1:def 4 ( not x in proj1 g or not y in proj1 g or not g . x = g . y or x = y )
assume that A4:
x in dom g
and A5:
y in dom g
;
( not g . x = g . y or x = y )
A6:
(
g . x = x `1 &
g . y = y `1 )
by A3, A4, A5;
ex
x1,
x2 being
object st
[x1,x2] = y
by A1, A3, A5, RELAT_1:def 1;
then A7:
y = [(y `1),(y `2)]
;
ex
x1,
x2 being
object st
[x1,x2] = x
by A1, A3, A4, RELAT_1:def 1;
then A8:
x = [(x `1),(x `2)]
;
then
x `2 = f . (x `1)
by A1, A3, A4, FUNCT_1:1;
hence
( not
g . x = g . y or
x = y )
by A1, A3, A5, A8, A7, A6, FUNCT_1:1;
verum
end;
thus
dom g = Z
by A3;
proj2 g = X
thus
rng g c= X
XBOOLE_0:def 10 X c= proj2 gproof
let x be
object ;
TARSKI:def 3 ( not x in rng g or x in X )
assume
x in rng g
;
x in X
then consider y being
object such that A9:
y in dom g
and A10:
x = g . y
by FUNCT_1:def 3;
ex
x1,
x2 being
object st
[x1,x2] = y
by A1, A3, A9, RELAT_1:def 1;
then A11:
y = [(y `1),(y `2)]
;
x = y `1
by A3, A9, A10;
hence
x in X
by A1, A2, A3, A9, A11, FUNCT_1:1;
verum
end;
let x be
object ;
TARSKI:def 3 ( not x in X or x in proj2 g )
assume
x in X
;
x in proj2 g
then A12:
[x,(f . x)] in Z
by A1, A2, FUNCT_1:def 2;
then g . [x,(f . x)] =
[x,(f . x)] `1
by A3
.=
x
;
hence
x in proj2 g
by A3, A12, FUNCT_1:def 3;
verum
end;
hence
card Z = card X
by CARD_1:5; verum