MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  upxp Unicode version

Theorem upxp 17333
Description: Universal property of the Cartesian product considered as a categorical product in the category of sets. (Contributed by Jeff Madsen, 2-Sep-2009.) (Revised by Mario Carneiro, 27-Dec-2014.)
Hypotheses
Ref Expression
upxp.1  |-  P  =  ( 1st  |`  ( B  X.  C ) )
upxp.2  |-  Q  =  ( 2nd  |`  ( B  X.  C ) )
Assertion
Ref Expression
upxp  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  E! h ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )
Distinct variable groups:    A, h    B, h    C, h    h, F   
h, G    D, h
Allowed substitution hints:    P( h)    Q( h)

Proof of Theorem upxp
Dummy variables  x  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mptexg 5761 . . . 4  |-  ( A  e.  D  ->  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
)  e.  _V )
2 eueq 2950 . . . 4  |-  ( ( x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
)  e.  _V  <->  E! h  h  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x ) >. )
)
31, 2sylib 188 . . 3  |-  ( A  e.  D  ->  E! h  h  =  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) )
433ad2ant1 976 . 2  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  E! h  h  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) )
5 ffn 5405 . . . . . . . 8  |-  ( h : A --> ( B  X.  C )  ->  h  Fn  A )
653ad2ant1 976 . . . . . . 7  |-  ( ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) )  ->  h  Fn  A )
76adantl 452 . . . . . 6  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  ->  h  Fn  A
)
8 ffvelrn 5679 . . . . . . . . . . . . 13  |-  ( ( F : A --> B  /\  x  e.  A )  ->  ( F `  x
)  e.  B )
9 ffvelrn 5679 . . . . . . . . . . . . 13  |-  ( ( G : A --> C  /\  x  e.  A )  ->  ( G `  x
)  e.  C )
10 opelxpi 4737 . . . . . . . . . . . . 13  |-  ( ( ( F `  x
)  e.  B  /\  ( G `  x )  e.  C )  ->  <. ( F `  x
) ,  ( G `
 x ) >.  e.  ( B  X.  C
) )
118, 9, 10syl2an 463 . . . . . . . . . . . 12  |-  ( ( ( F : A --> B  /\  x  e.  A
)  /\  ( G : A --> C  /\  x  e.  A ) )  ->  <. ( F `  x
) ,  ( G `
 x ) >.  e.  ( B  X.  C
) )
1211anandirs 804 . . . . . . . . . . 11  |-  ( ( ( F : A --> B  /\  G : A --> C )  /\  x  e.  A )  ->  <. ( F `  x ) ,  ( G `  x ) >.  e.  ( B  X.  C ) )
1312ralrimiva 2639 . . . . . . . . . 10  |-  ( ( F : A --> B  /\  G : A --> C )  ->  A. x  e.  A  <. ( F `  x
) ,  ( G `
 x ) >.  e.  ( B  X.  C
) )
14133adant1 973 . . . . . . . . 9  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  A. x  e.  A  <. ( F `  x
) ,  ( G `
 x ) >.  e.  ( B  X.  C
) )
15 eqid 2296 . . . . . . . . . 10  |-  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x ) >. )  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. )
1615fmpt 5697 . . . . . . . . 9  |-  ( A. x  e.  A  <. ( F `  x ) ,  ( G `  x ) >.  e.  ( B  X.  C )  <-> 
( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
) : A --> ( B  X.  C ) )
1714, 16sylib 188 . . . . . . . 8  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) : A --> ( B  X.  C ) )
18 ffn 5405 . . . . . . . 8  |-  ( ( x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) : A --> ( B  X.  C )  -> 
( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
)  Fn  A )
1917, 18syl 15 . . . . . . 7  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. )  Fn  A
)
2019adantr 451 . . . . . 6  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  ->  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. )  Fn  A
)
21 xpss 4809 . . . . . . . . . . 11  |-  ( B  X.  C )  C_  ( _V  X.  _V )
22 ffvelrn 5679 . . . . . . . . . . 11  |-  ( ( h : A --> ( B  X.  C )  /\  z  e.  A )  ->  ( h `  z
)  e.  ( B  X.  C ) )
2321, 22sseldi 3191 . . . . . . . . . 10  |-  ( ( h : A --> ( B  X.  C )  /\  z  e.  A )  ->  ( h `  z
)  e.  ( _V 
X.  _V ) )
24233ad2antl1 1117 . . . . . . . . 9  |-  ( ( ( h : A --> ( B  X.  C
)  /\  F  =  ( P  o.  h
)  /\  G  =  ( Q  o.  h
) )  /\  z  e.  A )  ->  (
h `  z )  e.  ( _V  X.  _V ) )
2524adantll 694 . . . . . . . 8  |-  ( ( ( ( A  e.  D  /\  F : A
--> B  /\  G : A
--> C )  /\  (
h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  /\  z  e.  A
)  ->  ( h `  z )  e.  ( _V  X.  _V )
)
26 fveq1 5540 . . . . . . . . . . . 12  |-  ( F  =  ( P  o.  h )  ->  ( F `  z )  =  ( ( P  o.  h ) `  z ) )
27 upxp.1 . . . . . . . . . . . . . 14  |-  P  =  ( 1st  |`  ( B  X.  C ) )
2827coeq1i 4859 . . . . . . . . . . . . 13  |-  ( P  o.  h )  =  ( ( 1st  |`  ( B  X.  C ) )  o.  h )
2928fveq1i 5542 . . . . . . . . . . . 12  |-  ( ( P  o.  h ) `
 z )  =  ( ( ( 1st  |`  ( B  X.  C
) )  o.  h
) `  z )
3026, 29syl6eq 2344 . . . . . . . . . . 11  |-  ( F  =  ( P  o.  h )  ->  ( F `  z )  =  ( ( ( 1st  |`  ( B  X.  C ) )  o.  h ) `  z
) )
31303ad2ant2 977 . . . . . . . . . 10  |-  ( ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) )  -> 
( F `  z
)  =  ( ( ( 1st  |`  ( B  X.  C ) )  o.  h ) `  z ) )
3231ad2antlr 707 . . . . . . . . 9  |-  ( ( ( ( A  e.  D  /\  F : A
--> B  /\  G : A
--> C )  /\  (
h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  /\  z  e.  A
)  ->  ( F `  z )  =  ( ( ( 1st  |`  ( B  X.  C ) )  o.  h ) `  z ) )
33 simpr1 961 . . . . . . . . . 10  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  ->  h : A --> ( B  X.  C
) )
34 fvco3 5612 . . . . . . . . . 10  |-  ( ( h : A --> ( B  X.  C )  /\  z  e.  A )  ->  ( ( ( 1st  |`  ( B  X.  C
) )  o.  h
) `  z )  =  ( ( 1st  |`  ( B  X.  C
) ) `  (
h `  z )
) )
3533, 34sylan 457 . . . . . . . . 9  |-  ( ( ( ( A  e.  D  /\  F : A
--> B  /\  G : A
--> C )  /\  (
h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  /\  z  e.  A
)  ->  ( (
( 1st  |`  ( B  X.  C ) )  o.  h ) `  z )  =  ( ( 1st  |`  ( B  X.  C ) ) `
 ( h `  z ) ) )
36223ad2antl1 1117 . . . . . . . . . . 11  |-  ( ( ( h : A --> ( B  X.  C
)  /\  F  =  ( P  o.  h
)  /\  G  =  ( Q  o.  h
) )  /\  z  e.  A )  ->  (
h `  z )  e.  ( B  X.  C
) )
3736adantll 694 . . . . . . . . . 10  |-  ( ( ( ( A  e.  D  /\  F : A
--> B  /\  G : A
--> C )  /\  (
h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  /\  z  e.  A
)  ->  ( h `  z )  e.  ( B  X.  C ) )
38 fvres 5558 . . . . . . . . . 10  |-  ( ( h `  z )  e.  ( B  X.  C )  ->  (
( 1st  |`  ( B  X.  C ) ) `
 ( h `  z ) )  =  ( 1st `  (
h `  z )
) )
3937, 38syl 15 . . . . . . . . 9  |-  ( ( ( ( A  e.  D  /\  F : A
--> B  /\  G : A
--> C )  /\  (
h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  /\  z  e.  A
)  ->  ( ( 1st  |`  ( B  X.  C ) ) `  ( h `  z
) )  =  ( 1st `  ( h `
 z ) ) )
4032, 35, 393eqtrrd 2333 . . . . . . . 8  |-  ( ( ( ( A  e.  D  /\  F : A
--> B  /\  G : A
--> C )  /\  (
h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  /\  z  e.  A
)  ->  ( 1st `  ( h `  z
) )  =  ( F `  z ) )
41 fveq1 5540 . . . . . . . . . . . 12  |-  ( G  =  ( Q  o.  h )  ->  ( G `  z )  =  ( ( Q  o.  h ) `  z ) )
42 upxp.2 . . . . . . . . . . . . . 14  |-  Q  =  ( 2nd  |`  ( B  X.  C ) )
4342coeq1i 4859 . . . . . . . . . . . . 13  |-  ( Q  o.  h )  =  ( ( 2nd  |`  ( B  X.  C ) )  o.  h )
4443fveq1i 5542 . . . . . . . . . . . 12  |-  ( ( Q  o.  h ) `
 z )  =  ( ( ( 2nd  |`  ( B  X.  C
) )  o.  h
) `  z )
4541, 44syl6eq 2344 . . . . . . . . . . 11  |-  ( G  =  ( Q  o.  h )  ->  ( G `  z )  =  ( ( ( 2nd  |`  ( B  X.  C ) )  o.  h ) `  z
) )
46453ad2ant3 978 . . . . . . . . . 10  |-  ( ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) )  -> 
( G `  z
)  =  ( ( ( 2nd  |`  ( B  X.  C ) )  o.  h ) `  z ) )
4746ad2antlr 707 . . . . . . . . 9  |-  ( ( ( ( A  e.  D  /\  F : A
--> B  /\  G : A
--> C )  /\  (
h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  /\  z  e.  A
)  ->  ( G `  z )  =  ( ( ( 2nd  |`  ( B  X.  C ) )  o.  h ) `  z ) )
48 fvco3 5612 . . . . . . . . . 10  |-  ( ( h : A --> ( B  X.  C )  /\  z  e.  A )  ->  ( ( ( 2nd  |`  ( B  X.  C
) )  o.  h
) `  z )  =  ( ( 2nd  |`  ( B  X.  C
) ) `  (
h `  z )
) )
4933, 48sylan 457 . . . . . . . . 9  |-  ( ( ( ( A  e.  D  /\  F : A
--> B  /\  G : A
--> C )  /\  (
h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  /\  z  e.  A
)  ->  ( (
( 2nd  |`  ( B  X.  C ) )  o.  h ) `  z )  =  ( ( 2nd  |`  ( B  X.  C ) ) `
 ( h `  z ) ) )
50 fvres 5558 . . . . . . . . . 10  |-  ( ( h `  z )  e.  ( B  X.  C )  ->  (
( 2nd  |`  ( B  X.  C ) ) `
 ( h `  z ) )  =  ( 2nd `  (
h `  z )
) )
5137, 50syl 15 . . . . . . . . 9  |-  ( ( ( ( A  e.  D  /\  F : A
--> B  /\  G : A
--> C )  /\  (
h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  /\  z  e.  A
)  ->  ( ( 2nd  |`  ( B  X.  C ) ) `  ( h `  z
) )  =  ( 2nd `  ( h `
 z ) ) )
5247, 49, 513eqtrrd 2333 . . . . . . . 8  |-  ( ( ( ( A  e.  D  /\  F : A
--> B  /\  G : A
--> C )  /\  (
h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  /\  z  e.  A
)  ->  ( 2nd `  ( h `  z
) )  =  ( G `  z ) )
53 eqopi 6172 . . . . . . . 8  |-  ( ( ( h `  z
)  e.  ( _V 
X.  _V )  /\  (
( 1st `  (
h `  z )
)  =  ( F `
 z )  /\  ( 2nd `  ( h `
 z ) )  =  ( G `  z ) ) )  ->  ( h `  z )  =  <. ( F `  z ) ,  ( G `  z ) >. )
5425, 40, 52, 53syl12anc 1180 . . . . . . 7  |-  ( ( ( ( A  e.  D  /\  F : A
--> B  /\  G : A
--> C )  /\  (
h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  /\  z  e.  A
)  ->  ( h `  z )  =  <. ( F `  z ) ,  ( G `  z ) >. )
55 fveq2 5541 . . . . . . . . . 10  |-  ( x  =  z  ->  ( F `  x )  =  ( F `  z ) )
56 fveq2 5541 . . . . . . . . . 10  |-  ( x  =  z  ->  ( G `  x )  =  ( G `  z ) )
5755, 56opeq12d 3820 . . . . . . . . 9  |-  ( x  =  z  ->  <. ( F `  x ) ,  ( G `  x ) >.  =  <. ( F `  z ) ,  ( G `  z ) >. )
58 opex 4253 . . . . . . . . 9  |-  <. ( F `  z ) ,  ( G `  z ) >.  e.  _V
5957, 15, 58fvmpt 5618 . . . . . . . 8  |-  ( z  e.  A  ->  (
( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
) `  z )  =  <. ( F `  z ) ,  ( G `  z )
>. )
6059adantl 452 . . . . . . 7  |-  ( ( ( ( A  e.  D  /\  F : A
--> B  /\  G : A
--> C )  /\  (
h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  /\  z  e.  A
)  ->  ( (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) `  z )  =  <. ( F `  z ) ,  ( G `  z )
>. )
6154, 60eqtr4d 2331 . . . . . 6  |-  ( ( ( ( A  e.  D  /\  F : A
--> B  /\  G : A
--> C )  /\  (
h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  /\  z  e.  A
)  ->  ( h `  z )  =  ( ( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
) `  z )
)
627, 20, 61eqfnfvd 5641 . . . . 5  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )  ->  h  =  ( x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) )
6362ex 423 . . . 4  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) )  ->  h  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x ) >. )
) )
64 ffn 5405 . . . . . . . . 9  |-  ( F : A --> B  ->  F  Fn  A )
65643ad2ant2 977 . . . . . . . 8  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  F  Fn  A
)
66 fo1st 6155 . . . . . . . . . . . 12  |-  1st : _V -onto-> _V
67 fofn 5469 . . . . . . . . . . . 12  |-  ( 1st
: _V -onto-> _V  ->  1st 
Fn  _V )
6866, 67ax-mp 8 . . . . . . . . . . 11  |-  1st  Fn  _V
69 ssv 3211 . . . . . . . . . . 11  |-  ( B  X.  C )  C_  _V
70 fnssres 5373 . . . . . . . . . . 11  |-  ( ( 1st  Fn  _V  /\  ( B  X.  C
)  C_  _V )  ->  ( 1st  |`  ( B  X.  C ) )  Fn  ( B  X.  C ) )
7168, 69, 70mp2an 653 . . . . . . . . . 10  |-  ( 1st  |`  ( B  X.  C
) )  Fn  ( B  X.  C )
7271a1i 10 . . . . . . . . 9  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( 1st  |`  ( B  X.  C ) )  Fn  ( B  X.  C ) )
73 frn 5411 . . . . . . . . . 10  |-  ( ( x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) : A --> ( B  X.  C )  ->  ran  ( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
)  C_  ( B  X.  C ) )
7417, 73syl 15 . . . . . . . . 9  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ran  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x ) >. )  C_  ( B  X.  C
) )
75 fnco 5368 . . . . . . . . 9  |-  ( ( ( 1st  |`  ( B  X.  C ) )  Fn  ( B  X.  C )  /\  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
)  Fn  A  /\  ran  ( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
)  C_  ( B  X.  C ) )  -> 
( ( 1st  |`  ( B  X.  C ) )  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) )  Fn  A
)
7672, 19, 74, 75syl3anc 1182 . . . . . . . 8  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( ( 1st  |`  ( B  X.  C
) )  o.  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) )  Fn  A
)
77 fvco3 5612 . . . . . . . . . 10  |-  ( ( ( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
) : A --> ( B  X.  C )  /\  z  e.  A )  ->  ( ( ( 1st  |`  ( B  X.  C
) )  o.  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) ) `  z
)  =  ( ( 1st  |`  ( B  X.  C ) ) `  ( ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) `  z ) ) )
7817, 77sylan 457 . . . . . . . . 9  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  z  e.  A
)  ->  ( (
( 1st  |`  ( B  X.  C ) )  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) ) `  z
)  =  ( ( 1st  |`  ( B  X.  C ) ) `  ( ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) `  z ) ) )
7959adantl 452 . . . . . . . . . 10  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  z  e.  A
)  ->  ( (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) `  z )  =  <. ( F `  z ) ,  ( G `  z )
>. )
8079fveq2d 5545 . . . . . . . . 9  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  z  e.  A
)  ->  ( ( 1st  |`  ( B  X.  C ) ) `  ( ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) `  z ) )  =  ( ( 1st  |`  ( B  X.  C ) ) `  <. ( F `  z
) ,  ( G `
 z ) >.
) )
81 ffvelrn 5679 . . . . . . . . . . . . . 14  |-  ( ( F : A --> B  /\  z  e.  A )  ->  ( F `  z
)  e.  B )
82 ffvelrn 5679 . . . . . . . . . . . . . 14  |-  ( ( G : A --> C  /\  z  e.  A )  ->  ( G `  z
)  e.  C )
83 opelxpi 4737 . . . . . . . . . . . . . 14  |-  ( ( ( F `  z
)  e.  B  /\  ( G `  z )  e.  C )  ->  <. ( F `  z
) ,  ( G `
 z ) >.  e.  ( B  X.  C
) )
8481, 82, 83syl2an 463 . . . . . . . . . . . . 13  |-  ( ( ( F : A --> B  /\  z  e.  A
)  /\  ( G : A --> C  /\  z  e.  A ) )  ->  <. ( F `  z
) ,  ( G `
 z ) >.  e.  ( B  X.  C
) )
8584anandirs 804 . . . . . . . . . . . 12  |-  ( ( ( F : A --> B  /\  G : A --> C )  /\  z  e.  A )  ->  <. ( F `  z ) ,  ( G `  z ) >.  e.  ( B  X.  C ) )
86853adantl1 1111 . . . . . . . . . . 11  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  z  e.  A
)  ->  <. ( F `
 z ) ,  ( G `  z
) >.  e.  ( B  X.  C ) )
87 fvres 5558 . . . . . . . . . . 11  |-  ( <.
( F `  z
) ,  ( G `
 z ) >.  e.  ( B  X.  C
)  ->  ( ( 1st  |`  ( B  X.  C ) ) `  <. ( F `  z
) ,  ( G `
 z ) >.
)  =  ( 1st `  <. ( F `  z ) ,  ( G `  z )
>. ) )
8886, 87syl 15 . . . . . . . . . 10  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  z  e.  A
)  ->  ( ( 1st  |`  ( B  X.  C ) ) `  <. ( F `  z
) ,  ( G `
 z ) >.
)  =  ( 1st `  <. ( F `  z ) ,  ( G `  z )
>. ) )
89 fvex 5555 . . . . . . . . . . 11  |-  ( F `
 z )  e. 
_V
90 fvex 5555 . . . . . . . . . . 11  |-  ( G `
 z )  e. 
_V
9189, 90op1st 6144 . . . . . . . . . 10  |-  ( 1st `  <. ( F `  z ) ,  ( G `  z )
>. )  =  ( F `  z )
9288, 91syl6eq 2344 . . . . . . . . 9  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  z  e.  A
)  ->  ( ( 1st  |`  ( B  X.  C ) ) `  <. ( F `  z
) ,  ( G `
 z ) >.
)  =  ( F `
 z ) )
9378, 80, 923eqtrrd 2333 . . . . . . . 8  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  z  e.  A
)  ->  ( F `  z )  =  ( ( ( 1st  |`  ( B  X.  C ) )  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) ) `  z
) )
9465, 76, 93eqfnfvd 5641 . . . . . . 7  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  F  =  ( ( 1st  |`  ( B  X.  C ) )  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) ) )
9527coeq1i 4859 . . . . . . 7  |-  ( P  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) )  =  ( ( 1st  |`  ( B  X.  C ) )  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) )
9694, 95syl6eqr 2346 . . . . . 6  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  F  =  ( P  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x ) >. )
) )
97 ffn 5405 . . . . . . . . 9  |-  ( G : A --> C  ->  G  Fn  A )
98973ad2ant3 978 . . . . . . . 8  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  G  Fn  A
)
99 fo2nd 6156 . . . . . . . . . . . 12  |-  2nd : _V -onto-> _V
100 fofn 5469 . . . . . . . . . . . 12  |-  ( 2nd
: _V -onto-> _V  ->  2nd 
Fn  _V )
10199, 100ax-mp 8 . . . . . . . . . . 11  |-  2nd  Fn  _V
102 fnssres 5373 . . . . . . . . . . 11  |-  ( ( 2nd  Fn  _V  /\  ( B  X.  C
)  C_  _V )  ->  ( 2nd  |`  ( B  X.  C ) )  Fn  ( B  X.  C ) )
103101, 69, 102mp2an 653 . . . . . . . . . 10  |-  ( 2nd  |`  ( B  X.  C
) )  Fn  ( B  X.  C )
104103a1i 10 . . . . . . . . 9  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( 2nd  |`  ( B  X.  C ) )  Fn  ( B  X.  C ) )
105 fnco 5368 . . . . . . . . 9  |-  ( ( ( 2nd  |`  ( B  X.  C ) )  Fn  ( B  X.  C )  /\  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
)  Fn  A  /\  ran  ( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
)  C_  ( B  X.  C ) )  -> 
( ( 2nd  |`  ( B  X.  C ) )  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) )  Fn  A
)
106104, 19, 74, 105syl3anc 1182 . . . . . . . 8  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( ( 2nd  |`  ( B  X.  C
) )  o.  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) )  Fn  A
)
107 fvco3 5612 . . . . . . . . . 10  |-  ( ( ( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
) : A --> ( B  X.  C )  /\  z  e.  A )  ->  ( ( ( 2nd  |`  ( B  X.  C
) )  o.  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) ) `  z
)  =  ( ( 2nd  |`  ( B  X.  C ) ) `  ( ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) `  z ) ) )
10817, 107sylan 457 . . . . . . . . 9  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  z  e.  A
)  ->  ( (
( 2nd  |`  ( B  X.  C ) )  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) ) `  z
)  =  ( ( 2nd  |`  ( B  X.  C ) ) `  ( ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) `  z ) ) )
10979fveq2d 5545 . . . . . . . . 9  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  z  e.  A
)  ->  ( ( 2nd  |`  ( B  X.  C ) ) `  ( ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) `  z ) )  =  ( ( 2nd  |`  ( B  X.  C ) ) `  <. ( F `  z
) ,  ( G `
 z ) >.
) )
110 fvres 5558 . . . . . . . . . . 11  |-  ( <.
( F `  z
) ,  ( G `
 z ) >.  e.  ( B  X.  C
)  ->  ( ( 2nd  |`  ( B  X.  C ) ) `  <. ( F `  z
) ,  ( G `
 z ) >.
)  =  ( 2nd `  <. ( F `  z ) ,  ( G `  z )
>. ) )
11186, 110syl 15 . . . . . . . . . 10  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  z  e.  A
)  ->  ( ( 2nd  |`  ( B  X.  C ) ) `  <. ( F `  z
) ,  ( G `
 z ) >.
)  =  ( 2nd `  <. ( F `  z ) ,  ( G `  z )
>. ) )
11289, 90op2nd 6145 . . . . . . . . . 10  |-  ( 2nd `  <. ( F `  z ) ,  ( G `  z )
>. )  =  ( G `  z )
113111, 112syl6eq 2344 . . . . . . . . 9  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  z  e.  A
)  ->  ( ( 2nd  |`  ( B  X.  C ) ) `  <. ( F `  z
) ,  ( G `
 z ) >.
)  =  ( G `
 z ) )
114108, 109, 1133eqtrrd 2333 . . . . . . . 8  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  z  e.  A
)  ->  ( G `  z )  =  ( ( ( 2nd  |`  ( B  X.  C ) )  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) ) `  z
) )
11598, 106, 114eqfnfvd 5641 . . . . . . 7  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  G  =  ( ( 2nd  |`  ( B  X.  C ) )  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) ) )
11642coeq1i 4859 . . . . . . 7  |-  ( Q  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) )  =  ( ( 2nd  |`  ( B  X.  C ) )  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) )
117115, 116syl6eqr 2346 . . . . . 6  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  G  =  ( Q  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x ) >. )
) )
11817, 96, 1173jca 1132 . . . . 5  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x ) >. ) : A --> ( B  X.  C )  /\  F  =  ( P  o.  ( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
) )  /\  G  =  ( Q  o.  ( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
) ) ) )
119 feq1 5391 . . . . . 6  |-  ( h  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. )  ->  ( h : A --> ( B  X.  C )  <->  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x ) >. ) : A --> ( B  X.  C ) ) )
120 coeq2 4858 . . . . . . 7  |-  ( h  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. )  ->  ( P  o.  h )  =  ( P  o.  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) ) )
121120eqeq2d 2307 . . . . . 6  |-  ( h  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. )  ->  ( F  =  ( P  o.  h )  <->  F  =  ( P  o.  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) ) ) )
122 coeq2 4858 . . . . . . 7  |-  ( h  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. )  ->  ( Q  o.  h )  =  ( Q  o.  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) ) )
123122eqeq2d 2307 . . . . . 6  |-  ( h  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. )  ->  ( G  =  ( Q  o.  h )  <->  G  =  ( Q  o.  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) ) ) )
124119, 121, 1233anbi123d 1252 . . . . 5  |-  ( h  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. )  ->  ( ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) )  <->  ( (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) : A --> ( B  X.  C )  /\  F  =  ( P  o.  ( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
) )  /\  G  =  ( Q  o.  ( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
) ) ) ) )
125118, 124syl5ibrcom 213 . . . 4  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( h  =  ( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
)  ->  ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) ) )
12663, 125impbid 183 . . 3  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) )  <->  h  =  ( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
) ) )
127126eubidv 2164 . 2  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( E! h
( h : A --> ( B  X.  C
)  /\  F  =  ( P  o.  h
)  /\  G  =  ( Q  o.  h
) )  <->  E! h  h  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x ) >. )
) )
1284, 127mpbird 223 1  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  E! h ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    /\ w3a 934    = wceq 1632    e. wcel 1696   E!weu 2156   A.wral 2556   _Vcvv 2801    C_ wss 3165   <.cop 3656    e. cmpt 4093    X. cxp 4703   ran crn 4706    |` cres 4707    o. ccom 4709    Fn wfn 5266   -->wf 5267   -onto->wfo 5269   ` cfv 5271   1stc1st 6136   2ndc2nd 6137
This theorem is referenced by:  uptx  17335  txcn  17336
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-rep 4147  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-reu 2563  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-id 4325  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-1st 6138  df-2nd 6139
  Copyright terms: Public domain W3C validator