let X be non empty set ; for D being Function st dom D = {1} & D . 1 = X holds
ex I being Function of X,(product D) st
( I is one-to-one & I is onto & ( for x being set st x in X holds
I . x = <*x*> ) )
let D be Function; ( dom D = {1} & D . 1 = X implies ex I being Function of X,(product D) st
( I is one-to-one & I is onto & ( for x being set st x in X holds
I . x = <*x*> ) ) )
assume AS:
( dom D = {1} & D . 1 = X )
; ex I being Function of X,(product D) st
( I is one-to-one & I is onto & ( for x being set st x in X holds
I . x = <*x*> ) )
defpred S1[ set , set ] means $2 = <*$1*>;
P1:
for x being set st x in X holds
ex z being set st
( z in product D & S1[x,z] )
consider I being Function of X,(product D) such that
P2:
for x being set st x in X holds
S1[x,I . x]
from FUNCT_2:sch 1(P1);
then A6:
product D <> {}
by CARD_3:37;
then P3:
I is one-to-one
by A6, FUNCT_2:25;
now let w be
set ;
( w in product D implies w in rng I )assume
w in product D
;
w in rng Ithen consider g being
Function such that X1:
(
w = g &
dom g = dom D & ( for
i being
set st
i in dom D holds
g . i in D . i ) )
by CARD_3:def 5;
reconsider g =
g as
FinSequence by AS, X1, FINSEQ_1:4, FINSEQ_1:def 2;
set x =
g . 1;
X3:
len g = 1
by AS, X1, FINSEQ_1:4, FINSEQ_1:def 3;
1
in dom D
by AS, TARSKI:def 1;
then P40:
(
g . 1
in X &
w = <*(g . 1)*> )
by X1, X3, AS, FINSEQ_1:57;
then
w = I . (g . 1)
by P2;
hence
w in rng I
by P40, A6, FUNCT_2:189;
verum end;
then
product D c= rng I
by TARSKI:def 3;
then
product D = rng I
by XBOOLE_0:def 10;
then
I is onto
by FUNCT_2:def 3;
hence
ex I being Function of X,(product D) st
( I is one-to-one & I is onto & ( for x being set st x in X holds
I . x = <*x*> ) )
by P2, P3; verum