let X, Y be non empty set ; for D being Function st dom D = {1,2} & D . 1 = X & D . 2 = Y holds
ex I being Function of [:X,Y:],(product D) st
( I is one-to-one & I is onto & ( for x, y being set st x in X & y in Y holds
I . (x,y) = <*x,y*> ) )
let D be Function; ( dom D = {1,2} & D . 1 = X & D . 2 = Y implies ex I being Function of [:X,Y:],(product D) st
( I is one-to-one & I is onto & ( for x, y being set st x in X & y in Y holds
I . (x,y) = <*x,y*> ) ) )
assume AS:
( dom D = {1,2} & D . 1 = X & D . 2 = Y )
; ex I being Function of [:X,Y:],(product D) st
( I is one-to-one & I is onto & ( for x, y being set st x in X & y in Y holds
I . (x,y) = <*x,y*> ) )
defpred S1[ set , set , set ] means $3 = <*$1,$2*>;
P1:
for x, y being set st x in X & y in Y holds
ex z being set st
( z in product D & S1[x,y,z] )
proof
let x,
y be
set ;
( x in X & y in Y implies ex z being set st
( z in product D & S1[x,y,z] ) )
assume AS0:
(
x in X &
y in Y )
;
ex z being set st
( z in product D & S1[x,y,z] )
X0:
dom <*x,y*> =
Seg (len <*x,y*>)
by FINSEQ_1:def 3
.=
{1,2}
by FINSEQ_1:4, FINSEQ_1:61
;
then
<*x,y*> in product D
by X0, AS, CARD_3:18;
hence
ex
z being
set st
(
z in product D &
S1[
x,
y,
z] )
;
verum
end;
consider I being Function of [:X,Y:],(product D) such that
P2:
for x, y being set st x in X & y in Y holds
S1[x,y,I . (x,y)]
from BINOP_1:sch 1(P1);
then A6:
product D <> {}
by CARD_3:37;
now let z1,
z2 be
set ;
( z1 in [:X,Y:] & z2 in [:X,Y:] & I . z1 = I . z2 implies z1 = z2 )assume P3:
(
z1 in [:X,Y:] &
z2 in [:X,Y:] &
I . z1 = I . z2 )
;
z1 = z2then consider x1,
y1 being
set such that P4:
(
x1 in X &
y1 in Y &
z1 = [x1,y1] )
by ZFMISC_1:def 2;
consider x2,
y2 being
set such that P5:
(
x2 in X &
y2 in Y &
z2 = [x2,y2] )
by ZFMISC_1:def 2, P3;
<*x1,y1*> =
I . (
x1,
y1)
by P2, P4
.=
I . (
x2,
y2)
by P3, P4, P5
.=
<*x2,y2*>
by P2, P5
;
then
(
x1 = x2 &
y1 = y2 )
by FINSEQ_1:98;
hence
z1 = z2
by P4, P5;
verum end;
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;
set y =
g . 2;
X3:
len g = 2
by AS, X1, FINSEQ_1:4, FINSEQ_1:def 3;
( 1
in dom D & 2
in dom D )
by AS, TARSKI:def 2;
then P40:
(
g . 1
in X &
g . 2
in Y &
w = <*(g . 1),(g . 2)*> )
by X1, X3, AS, FINSEQ_1:61;
reconsider z =
[(g . 1),(g . 2)] as
Element of
[:X,Y:] by P40, ZFMISC_1:106;
w =
I . (
(g . 1),
(g . 2))
by P2, P40
.=
I . z
;
hence
w in rng I
by 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,Y:],(product D) st
( I is one-to-one & I is onto & ( for x, y being set st x in X & y in Y holds
I . (x,y) = <*x,y*> ) )
by P2, P3; verum