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

Theorem upxp 17647
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 5957 . . . 4  |-  ( A  e.  D  ->  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
)  e.  _V )
2 eueq 3098 . . . 4  |-  ( ( x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
)  e.  _V  <->  E! h  h  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x ) >. )
)
31, 2sylib 189 . . 3  |-  ( A  e.  D  ->  E! h  h  =  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) )
433ad2ant1 978 . 2  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  E! h  h  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) )
5 ffn 5583 . . . . . . . 8  |-  ( h : A --> ( B  X.  C )  ->  h  Fn  A )
653ad2ant1 978 . . . . . . 7  |-  ( ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) )  ->  h  Fn  A )
76adantl 453 . . . . . 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 5860 . . . . . . . . . . . . 13  |-  ( ( F : A --> B  /\  x  e.  A )  ->  ( F `  x
)  e.  B )
9 ffvelrn 5860 . . . . . . . . . . . . 13  |-  ( ( G : A --> C  /\  x  e.  A )  ->  ( G `  x
)  e.  C )
10 opelxpi 4902 . . . . . . . . . . . . 13  |-  ( ( ( F `  x
)  e.  B  /\  ( G `  x )  e.  C )  ->  <. ( F `  x
) ,  ( G `
 x ) >.  e.  ( B  X.  C
) )
118, 9, 10syl2an 464 . . . . . . . . . . . 12  |-  ( ( ( F : A --> B  /\  x  e.  A
)  /\  ( G : A --> C  /\  x  e.  A ) )  ->  <. ( F `  x
) ,  ( G `
 x ) >.  e.  ( B  X.  C
) )
1211anandirs 805 . . . . . . . . . . 11  |-  ( ( ( F : A --> B  /\  G : A --> C )  /\  x  e.  A )  ->  <. ( F `  x ) ,  ( G `  x ) >.  e.  ( B  X.  C ) )
1312ralrimiva 2781 . . . . . . . . . 10  |-  ( ( F : A --> B  /\  G : A --> C )  ->  A. x  e.  A  <. ( F `  x
) ,  ( G `
 x ) >.  e.  ( B  X.  C
) )
14133adant1 975 . . . . . . . . 9  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  A. x  e.  A  <. ( F `  x
) ,  ( G `
 x ) >.  e.  ( B  X.  C
) )
15 eqid 2435 . . . . . . . . . 10  |-  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x ) >. )  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. )
1615fmpt 5882 . . . . . . . . 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 189 . . . . . . . 8  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) : A --> ( B  X.  C ) )
18 ffn 5583 . . . . . . . 8  |-  ( ( x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) : A --> ( B  X.  C )  -> 
( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
)  Fn  A )
1917, 18syl 16 . . . . . . 7  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. )  Fn  A
)
2019adantr 452 . . . . . 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 4974 . . . . . . . . . . 11  |-  ( B  X.  C )  C_  ( _V  X.  _V )
22 ffvelrn 5860 . . . . . . . . . . 11  |-  ( ( h : A --> ( B  X.  C )  /\  z  e.  A )  ->  ( h `  z
)  e.  ( B  X.  C ) )
2321, 22sseldi 3338 . . . . . . . . . 10  |-  ( ( h : A --> ( B  X.  C )  /\  z  e.  A )  ->  ( h `  z
)  e.  ( _V 
X.  _V ) )
24233ad2antl1 1119 . . . . . . . . 9  |-  ( ( ( h : A --> ( B  X.  C
)  /\  F  =  ( P  o.  h
)  /\  G  =  ( Q  o.  h
) )  /\  z  e.  A )  ->  (
h `  z )  e.  ( _V  X.  _V ) )
2524adantll 695 . . . . . . . 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 5719 . . . . . . . . . . . 12  |-  ( F  =  ( P  o.  h )  ->  ( F `  z )  =  ( ( P  o.  h ) `  z ) )
27 upxp.1 . . . . . . . . . . . . . 14  |-  P  =  ( 1st  |`  ( B  X.  C ) )
2827coeq1i 5024 . . . . . . . . . . . . 13  |-  ( P  o.  h )  =  ( ( 1st  |`  ( B  X.  C ) )  o.  h )
2928fveq1i 5721 . . . . . . . . . . . 12  |-  ( ( P  o.  h ) `
 z )  =  ( ( ( 1st  |`  ( B  X.  C
) )  o.  h
) `  z )
3026, 29syl6eq 2483 . . . . . . . . . . 11  |-  ( F  =  ( P  o.  h )  ->  ( F `  z )  =  ( ( ( 1st  |`  ( B  X.  C ) )  o.  h ) `  z
) )
31303ad2ant2 979 . . . . . . . . . 10  |-  ( ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) )  -> 
( F `  z
)  =  ( ( ( 1st  |`  ( B  X.  C ) )  o.  h ) `  z ) )
3231ad2antlr 708 . . . . . . . . 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 963 . . . . . . . . . 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 5792 . . . . . . . . . 10  |-  ( ( h : A --> ( B  X.  C )  /\  z  e.  A )  ->  ( ( ( 1st  |`  ( B  X.  C
) )  o.  h
) `  z )  =  ( ( 1st  |`  ( B  X.  C
) ) `  (
h `  z )
) )
3533, 34sylan 458 . . . . . . . . 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 1119 . . . . . . . . . . 11  |-  ( ( ( h : A --> ( B  X.  C
)  /\  F  =  ( P  o.  h
)  /\  G  =  ( Q  o.  h
) )  /\  z  e.  A )  ->  (
h `  z )  e.  ( B  X.  C
) )
3736adantll 695 . . . . . . . . . 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 5737 . . . . . . . . . 10  |-  ( ( h `  z )  e.  ( B  X.  C )  ->  (
( 1st  |`  ( B  X.  C ) ) `
 ( h `  z ) )  =  ( 1st `  (
h `  z )
) )
3937, 38syl 16 . . . . . . . . 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 2472 . . . . . . . 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 5719 . . . . . . . . . . . 12  |-  ( G  =  ( Q  o.  h )  ->  ( G `  z )  =  ( ( Q  o.  h ) `  z ) )
42 upxp.2 . . . . . . . . . . . . . 14  |-  Q  =  ( 2nd  |`  ( B  X.  C ) )
4342coeq1i 5024 . . . . . . . . . . . . 13  |-  ( Q  o.  h )  =  ( ( 2nd  |`  ( B  X.  C ) )  o.  h )
4443fveq1i 5721 . . . . . . . . . . . 12  |-  ( ( Q  o.  h ) `
 z )  =  ( ( ( 2nd  |`  ( B  X.  C
) )  o.  h
) `  z )
4541, 44syl6eq 2483 . . . . . . . . . . 11  |-  ( G  =  ( Q  o.  h )  ->  ( G `  z )  =  ( ( ( 2nd  |`  ( B  X.  C ) )  o.  h ) `  z
) )
46453ad2ant3 980 . . . . . . . . . 10  |-  ( ( h : A --> ( B  X.  C )  /\  F  =  ( P  o.  h )  /\  G  =  ( Q  o.  h ) )  -> 
( G `  z
)  =  ( ( ( 2nd  |`  ( B  X.  C ) )  o.  h ) `  z ) )
4746ad2antlr 708 . . . . . . . . 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 5792 . . . . . . . . . 10  |-  ( ( h : A --> ( B  X.  C )  /\  z  e.  A )  ->  ( ( ( 2nd  |`  ( B  X.  C
) )  o.  h
) `  z )  =  ( ( 2nd  |`  ( B  X.  C
) ) `  (
h `  z )
) )
4933, 48sylan 458 . . . . . . . . 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 5737 . . . . . . . . . 10  |-  ( ( h `  z )  e.  ( B  X.  C )  ->  (
( 2nd  |`  ( B  X.  C ) ) `
 ( h `  z ) )  =  ( 2nd `  (
h `  z )
) )
5137, 50syl 16 . . . . . . . . 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 2472 . . . . . . . 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 6375 . . . . . . . 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 1182 . . . . . . 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 5720 . . . . . . . . . 10  |-  ( x  =  z  ->  ( F `  x )  =  ( F `  z ) )
56 fveq2 5720 . . . . . . . . . 10  |-  ( x  =  z  ->  ( G `  x )  =  ( G `  z ) )
5755, 56opeq12d 3984 . . . . . . . . 9  |-  ( x  =  z  ->  <. ( F `  x ) ,  ( G `  x ) >.  =  <. ( F `  z ) ,  ( G `  z ) >. )
58 opex 4419 . . . . . . . . 9  |-  <. ( F `  z ) ,  ( G `  z ) >.  e.  _V
5957, 15, 58fvmpt 5798 . . . . . . . 8  |-  ( z  e.  A  ->  (
( x  e.  A  |-> 
<. ( F `  x
) ,  ( G `
 x ) >.
) `  z )  =  <. ( F `  z ) ,  ( G `  z )
>. )
6059adantl 453 . . . . . . 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 2470 . . . . . 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 5822 . . . . 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 424 . . . 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 5583 . . . . . . . . 9  |-  ( F : A --> B  ->  F  Fn  A )
65643ad2ant2 979 . . . . . . . 8  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  F  Fn  A
)
66 fo1st 6358 . . . . . . . . . . . 12  |-  1st : _V -onto-> _V
67 fofn 5647 . . . . . . . . . . . 12  |-  ( 1st
: _V -onto-> _V  ->  1st 
Fn  _V )
6866, 67ax-mp 8 . . . . . . . . . . 11  |-  1st  Fn  _V
69 ssv 3360 . . . . . . . . . . 11  |-  ( B  X.  C )  C_  _V
70 fnssres 5550 . . . . . . . . . . 11  |-  ( ( 1st  Fn  _V  /\  ( B  X.  C
)  C_  _V )  ->  ( 1st  |`  ( B  X.  C ) )  Fn  ( B  X.  C ) )
7168, 69, 70mp2an 654 . . . . . . . . . 10  |-  ( 1st  |`  ( B  X.  C
) )  Fn  ( B  X.  C )
7271a1i 11 . . . . . . . . 9  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( 1st  |`  ( B  X.  C ) )  Fn  ( B  X.  C ) )
73 frn 5589 . . . . . . . . . 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 16 . . . . . . . . 9  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ran  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x ) >. )  C_  ( B  X.  C
) )
75 fnco 5545 . . . . . . . . 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 1184 . . . . . . . 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 5792 . . . . . . . . . 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 458 . . . . . . . . 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 453 . . . . . . . . . 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 5724 . . . . . . . . 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 5860 . . . . . . . . . . . . . 14  |-  ( ( F : A --> B  /\  z  e.  A )  ->  ( F `  z
)  e.  B )
82 ffvelrn 5860 . . . . . . . . . . . . . 14  |-  ( ( G : A --> C  /\  z  e.  A )  ->  ( G `  z
)  e.  C )
83 opelxpi 4902 . . . . . . . . . . . . . 14  |-  ( ( ( F `  z
)  e.  B  /\  ( G `  z )  e.  C )  ->  <. ( F `  z
) ,  ( G `
 z ) >.  e.  ( B  X.  C
) )
8481, 82, 83syl2an 464 . . . . . . . . . . . . 13  |-  ( ( ( F : A --> B  /\  z  e.  A
)  /\  ( G : A --> C  /\  z  e.  A ) )  ->  <. ( F `  z
) ,  ( G `
 z ) >.  e.  ( B  X.  C
) )
8584anandirs 805 . . . . . . . . . . . 12  |-  ( ( ( F : A --> B  /\  G : A --> C )  /\  z  e.  A )  ->  <. ( F `  z ) ,  ( G `  z ) >.  e.  ( B  X.  C ) )
86853adantl1 1113 . . . . . . . . . . 11  |-  ( ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  /\  z  e.  A
)  ->  <. ( F `
 z ) ,  ( G `  z
) >.  e.  ( B  X.  C ) )
87 fvres 5737 . . . . . . . . . . 11  |-  ( <.
( F `  z
) ,  ( G `
 z ) >.  e.  ( B  X.  C
)  ->  ( ( 1st  |`  ( B  X.  C ) ) `  <. ( F `  z
) ,  ( G `
 z ) >.
)  =  ( 1st `  <. ( F `  z ) ,  ( G `  z )
>. ) )
8886, 87syl 16 . . . . . . . . . 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 5734 . . . . . . . . . . 11  |-  ( F `
 z )  e. 
_V
90 fvex 5734 . . . . . . . . . . 11  |-  ( G `
 z )  e. 
_V
9189, 90op1st 6347 . . . . . . . . . 10  |-  ( 1st `  <. ( F `  z ) ,  ( G `  z )
>. )  =  ( F `  z )
9288, 91syl6eq 2483 . . . . . . . . 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 2472 . . . . . . . 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 5822 . . . . . . 7  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  F  =  ( ( 1st  |`  ( B  X.  C ) )  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) ) )
9527coeq1i 5024 . . . . . . 7  |-  ( P  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) )  =  ( ( 1st  |`  ( B  X.  C ) )  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) )
9694, 95syl6eqr 2485 . . . . . 6  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  F  =  ( P  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x ) >. )
) )
97 ffn 5583 . . . . . . . . 9  |-  ( G : A --> C  ->  G  Fn  A )
98973ad2ant3 980 . . . . . . . 8  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  G  Fn  A
)
99 fo2nd 6359 . . . . . . . . . . . 12  |-  2nd : _V -onto-> _V
100 fofn 5647 . . . . . . . . . . . 12  |-  ( 2nd
: _V -onto-> _V  ->  2nd 
Fn  _V )
10199, 100ax-mp 8 . . . . . . . . . . 11  |-  2nd  Fn  _V
102 fnssres 5550 . . . . . . . . . . 11  |-  ( ( 2nd  Fn  _V  /\  ( B  X.  C
)  C_  _V )  ->  ( 2nd  |`  ( B  X.  C ) )  Fn  ( B  X.  C ) )
103101, 69, 102mp2an 654 . . . . . . . . . 10  |-  ( 2nd  |`  ( B  X.  C
) )  Fn  ( B  X.  C )
104103a1i 11 . . . . . . . . 9  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  ( 2nd  |`  ( B  X.  C ) )  Fn  ( B  X.  C ) )
105 fnco 5545 . . . . . . . . 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 1184 . . . . . . . 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 5792 . . . . . . . . . 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 458 . . . . . . . . 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 5724 . . . . . . . . 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 5737 . . . . . . . . . . 11  |-  ( <.
( F `  z
) ,  ( G `
 z ) >.  e.  ( B  X.  C
)  ->  ( ( 2nd  |`  ( B  X.  C ) ) `  <. ( F `  z
) ,  ( G `
 z ) >.
)  =  ( 2nd `  <. ( F `  z ) ,  ( G `  z )
>. ) )
11186, 110syl 16 . . . . . . . . . 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 6348 . . . . . . . . . 10  |-  ( 2nd `  <. ( F `  z ) ,  ( G `  z )
>. )  =  ( G `  z )
113111, 112syl6eq 2483 . . . . . . . . 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 2472 . . . . . . . 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 5822 . . . . . . 7  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  G  =  ( ( 2nd  |`  ( B  X.  C ) )  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) ) )
11642coeq1i 5024 . . . . . . 7  |-  ( Q  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) )  =  ( ( 2nd  |`  ( B  X.  C ) )  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. ) )
117115, 116syl6eqr 2485 . . . . . 6  |-  ( ( A  e.  D  /\  F : A --> B  /\  G : A --> C )  ->  G  =  ( Q  o.  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x ) >. )
) )
11817, 96, 1173jca 1134 . . . . 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 5568 . . . . . 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 5023 . . . . . . 7  |-  ( h  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. )  ->  ( P  o.  h )  =  ( P  o.  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) ) )
121120eqeq2d 2446 . . . . . 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 5023 . . . . . . 7  |-  ( h  =  ( x  e.  A  |->  <. ( F `  x ) ,  ( G `  x )
>. )  ->  ( Q  o.  h )  =  ( Q  o.  (
x  e.  A  |->  <.
( F `  x
) ,  ( G `
 x ) >.
) ) )
123122eqeq2d 2446 . . . . . 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 1254 . . . . 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 214 . . . 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 184 . . 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 2288 . 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 224 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 359    /\ w3a 936    = wceq 1652    e. wcel 1725   E!weu 2280   A.wral 2697   _Vcvv 2948    C_ wss 3312   <.cop 3809    e. cmpt 4258    X. cxp 4868   ran crn 4871    |` cres 4872    o. ccom 4874    Fn wfn 5441   -->wf 5442   -onto->wfo 5444   ` cfv 5446   1stc1st 6339   2ndc2nd 6340
This theorem is referenced by:  uptx  17649  txcn  17650
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-rep 4312  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-ral 2702  df-rex 2703  df-reu 2704  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-nul 3621  df-if 3732  df-sn 3812  df-pr 3813  df-op 3815  df-uni 4008  df-iun 4087  df-br 4205  df-opab 4259  df-mpt 4260  df-id 4490  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454  df-1st 6341  df-2nd 6342
  Copyright terms: Public domain W3C validator