let X, Y be set ; for f, i, j being object st i <> j holds
( f in product ((i,j) --> (X,Y)) iff ex x, y being object st
( x in X & y in Y & f = (i,j) --> (x,y) ) )
let f, i, j be object ; ( i <> j implies ( f in product ((i,j) --> (X,Y)) iff ex x, y being object st
( x in X & y in Y & f = (i,j) --> (x,y) ) ) )
assume A1:
i <> j
; ( f in product ((i,j) --> (X,Y)) iff ex x, y being object st
( x in X & y in Y & f = (i,j) --> (x,y) ) )
thus
( f in product ((i,j) --> (X,Y)) implies ex x, y being object st
( x in X & y in Y & f = (i,j) --> (x,y) ) )
( ex x, y being object st
( x in X & y in Y & f = (i,j) --> (x,y) ) implies f in product ((i,j) --> (X,Y)) )proof
assume
f in product ((i,j) --> (X,Y))
;
ex x, y being object st
( x in X & y in Y & f = (i,j) --> (x,y) )
then consider g being
Function such that A2:
(
g = f &
dom g = dom ((i,j) --> (X,Y)) )
and A3:
for
z being
object st
z in dom ((i,j) --> (X,Y)) holds
g . z in ((i,j) --> (X,Y)) . z
by CARD_3:def 5;
take
g . i
;
ex y being object st
( g . i in X & y in Y & f = (i,j) --> ((g . i),y) )
take
g . j
;
( g . i in X & g . j in Y & f = (i,j) --> ((g . i),(g . j)) )
A4:
dom ((i,j) --> (X,Y)) = {i,j}
by FUNCT_4:62;
then
i in dom ((i,j) --> (X,Y))
by TARSKI:def 2;
then
g . i in ((i,j) --> (X,Y)) . i
by A3;
hence
g . i in X
by A1, FUNCT_4:63;
( g . j in Y & f = (i,j) --> ((g . i),(g . j)) )
j in dom ((i,j) --> (X,Y))
by A4, TARSKI:def 2;
then
g . j in ((i,j) --> (X,Y)) . j
by A3;
hence
(
g . j in Y &
f = (
i,
j)
--> (
(g . i),
(g . j)) )
by A2, A4, FUNCT_4:66, FUNCT_4:63;
verum
end;
given x, y being object such that A5:
( x in X & y in Y & f = (i,j) --> (x,y) )
; f in product ((i,j) --> (X,Y))
reconsider g = f as Function by A5;
A6: dom g =
{i,j}
by A5, FUNCT_4:62
.=
dom ((i,j) --> (X,Y))
by FUNCT_4:62
;
for z being object st z in dom ((i,j) --> (X,Y)) holds
g . z in ((i,j) --> (X,Y)) . z
hence
f in product ((i,j) --> (X,Y))
by A6, CARD_3:9; verum