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

Theorem 2ndfval 14296
Description: Value of the first projection functor. (Contributed by Mario Carneiro, 11-Jan-2017.)
Hypotheses
Ref Expression
1stfval.t  |-  T  =  ( C  X.c  D )
1stfval.b  |-  B  =  ( Base `  T
)
1stfval.h  |-  H  =  (  Hom  `  T
)
1stfval.c  |-  ( ph  ->  C  e.  Cat )
1stfval.d  |-  ( ph  ->  D  e.  Cat )
2ndfval.p  |-  Q  =  ( C  2ndF  D )
Assertion
Ref Expression
2ndfval  |-  ( ph  ->  Q  =  <. ( 2nd  |`  B ) ,  ( x  e.  B ,  y  e.  B  |->  ( 2nd  |`  (
x H y ) ) ) >. )
Distinct variable groups:    x, y, B    x, C, y    x, D, y    x, H, y    ph, x, y
Allowed substitution hints:    Q( x, y)    T( x, y)

Proof of Theorem 2ndfval
Dummy variables  b 
c  d are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 2ndfval.p . 2  |-  Q  =  ( C  2ndF  D )
2 1stfval.c . . 3  |-  ( ph  ->  C  e.  Cat )
3 1stfval.d . . 3  |-  ( ph  ->  D  e.  Cat )
4 fvex 5745 . . . . . . 7  |-  ( Base `  c )  e.  _V
5 fvex 5745 . . . . . . 7  |-  ( Base `  d )  e.  _V
64, 5xpex 4993 . . . . . 6  |-  ( (
Base `  c )  X.  ( Base `  d
) )  e.  _V
76a1i 11 . . . . 5  |-  ( ( c  =  C  /\  d  =  D )  ->  ( ( Base `  c
)  X.  ( Base `  d ) )  e. 
_V )
8 simpl 445 . . . . . . . 8  |-  ( ( c  =  C  /\  d  =  D )  ->  c  =  C )
98fveq2d 5735 . . . . . . 7  |-  ( ( c  =  C  /\  d  =  D )  ->  ( Base `  c
)  =  ( Base `  C ) )
10 simpr 449 . . . . . . . 8  |-  ( ( c  =  C  /\  d  =  D )  ->  d  =  D )
1110fveq2d 5735 . . . . . . 7  |-  ( ( c  =  C  /\  d  =  D )  ->  ( Base `  d
)  =  ( Base `  D ) )
129, 11xpeq12d 4906 . . . . . 6  |-  ( ( c  =  C  /\  d  =  D )  ->  ( ( Base `  c
)  X.  ( Base `  d ) )  =  ( ( Base `  C
)  X.  ( Base `  D ) ) )
13 1stfval.t . . . . . . . 8  |-  T  =  ( C  X.c  D )
14 eqid 2438 . . . . . . . 8  |-  ( Base `  C )  =  (
Base `  C )
15 eqid 2438 . . . . . . . 8  |-  ( Base `  D )  =  (
Base `  D )
1613, 14, 15xpcbas 14280 . . . . . . 7  |-  ( (
Base `  C )  X.  ( Base `  D
) )  =  (
Base `  T )
17 1stfval.b . . . . . . 7  |-  B  =  ( Base `  T
)
1816, 17eqtr4i 2461 . . . . . 6  |-  ( (
Base `  C )  X.  ( Base `  D
) )  =  B
1912, 18syl6eq 2486 . . . . 5  |-  ( ( c  =  C  /\  d  =  D )  ->  ( ( Base `  c
)  X.  ( Base `  d ) )  =  B )
20 simpr 449 . . . . . . 7  |-  ( ( ( c  =  C  /\  d  =  D )  /\  b  =  B )  ->  b  =  B )
2120reseq2d 5149 . . . . . 6  |-  ( ( ( c  =  C  /\  d  =  D )  /\  b  =  B )  ->  ( 2nd  |`  b )  =  ( 2nd  |`  B ) )
22 simpll 732 . . . . . . . . . . . . 13  |-  ( ( ( c  =  C  /\  d  =  D )  /\  b  =  B )  ->  c  =  C )
23 simplr 733 . . . . . . . . . . . . 13  |-  ( ( ( c  =  C  /\  d  =  D )  /\  b  =  B )  ->  d  =  D )
2422, 23oveq12d 6102 . . . . . . . . . . . 12  |-  ( ( ( c  =  C  /\  d  =  D )  /\  b  =  B )  ->  (
c  X.c  d )  =  ( C  X.c  D ) )
2524, 13syl6eqr 2488 . . . . . . . . . . 11  |-  ( ( ( c  =  C  /\  d  =  D )  /\  b  =  B )  ->  (
c  X.c  d )  =  T )
2625fveq2d 5735 . . . . . . . . . 10  |-  ( ( ( c  =  C  /\  d  =  D )  /\  b  =  B )  ->  (  Hom  `  ( c  X.c  d ) )  =  (  Hom  `  T )
)
27 1stfval.h . . . . . . . . . 10  |-  H  =  (  Hom  `  T
)
2826, 27syl6eqr 2488 . . . . . . . . 9  |-  ( ( ( c  =  C  /\  d  =  D )  /\  b  =  B )  ->  (  Hom  `  ( c  X.c  d ) )  =  H )
2928oveqd 6101 . . . . . . . 8  |-  ( ( ( c  =  C  /\  d  =  D )  /\  b  =  B )  ->  (
x (  Hom  `  (
c  X.c  d ) ) y )  =  ( x H y ) )
3029reseq2d 5149 . . . . . . 7  |-  ( ( ( c  =  C  /\  d  =  D )  /\  b  =  B )  ->  ( 2nd  |`  ( x (  Hom  `  ( c  X.c  d ) ) y ) )  =  ( 2nd  |`  ( x H y ) ) )
3120, 20, 30mpt2eq123dv 6139 . . . . . 6  |-  ( ( ( c  =  C  /\  d  =  D )  /\  b  =  B )  ->  (
x  e.  b ,  y  e.  b  |->  ( 2nd  |`  ( x
(  Hom  `  ( c  X.c  d ) ) y ) ) )  =  ( x  e.  B ,  y  e.  B  |->  ( 2nd  |`  (
x H y ) ) ) )
3221, 31opeq12d 3994 . . . . 5  |-  ( ( ( c  =  C  /\  d  =  D )  /\  b  =  B )  ->  <. ( 2nd  |`  b ) ,  ( x  e.  b ,  y  e.  b 
|->  ( 2nd  |`  (
x (  Hom  `  (
c  X.c  d ) ) y ) ) ) >.  =  <. ( 2nd  |`  B ) ,  ( x  e.  B ,  y  e.  B  |->  ( 2nd  |`  (
x H y ) ) ) >. )
337, 19, 32csbied2 3296 . . . 4  |-  ( ( c  =  C  /\  d  =  D )  ->  [_ ( ( Base `  c )  X.  ( Base `  d ) )  /  b ]_ <. ( 2nd  |`  b ) ,  ( x  e.  b ,  y  e.  b  |->  ( 2nd  |`  (
x (  Hom  `  (
c  X.c  d ) ) y ) ) ) >.  =  <. ( 2nd  |`  B ) ,  ( x  e.  B ,  y  e.  B  |->  ( 2nd  |`  (
x H y ) ) ) >. )
34 df-2ndf 14276 . . . 4  |-  2ndF  =  (
c  e.  Cat , 
d  e.  Cat  |->  [_ ( ( Base `  c
)  X.  ( Base `  d ) )  / 
b ]_ <. ( 2nd  |`  b
) ,  ( x  e.  b ,  y  e.  b  |->  ( 2nd  |`  ( x (  Hom  `  ( c  X.c  d ) ) y ) ) ) >. )
35 opex 4430 . . . 4  |-  <. ( 2nd  |`  B ) ,  ( x  e.  B ,  y  e.  B  |->  ( 2nd  |`  (
x H y ) ) ) >.  e.  _V
3633, 34, 35ovmpt2a 6207 . . 3  |-  ( ( C  e.  Cat  /\  D  e.  Cat )  ->  ( C  2ndF  D )  =  <. ( 2nd  |`  B ) ,  ( x  e.  B ,  y  e.  B  |->  ( 2nd  |`  (
x H y ) ) ) >. )
372, 3, 36syl2anc 644 . 2  |-  ( ph  ->  ( C  2ndF  D )  =  <. ( 2nd  |`  B ) ,  ( x  e.  B ,  y  e.  B  |->  ( 2nd  |`  (
x H y ) ) ) >. )
381, 37syl5eq 2482 1  |-  ( ph  ->  Q  =  <. ( 2nd  |`  B ) ,  ( x  e.  B ,  y  e.  B  |->  ( 2nd  |`  (
x H y ) ) ) >. )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 360    = wceq 1653    e. wcel 1726   _Vcvv 2958   [_csb 3253   <.cop 3819    X. cxp 4879    |` cres 4883   ` cfv 5457  (class class class)co 6084    e. cmpt2 6086   2ndc2nd 6351   Basecbs 13474    Hom chom 13545   Catccat 13894    X.c cxpc 14270    2ndF c2ndf 14272
This theorem is referenced by:  2ndf1  14297  2ndf2  14298  2ndfcl  14300
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-13 1728  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-rep 4323  ax-sep 4333  ax-nul 4341  ax-pow 4380  ax-pr 4406  ax-un 4704  ax-cnex 9051  ax-resscn 9052  ax-1cn 9053  ax-icn 9054  ax-addcl 9055  ax-addrcl 9056  ax-mulcl 9057  ax-mulrcl 9058  ax-mulcom 9059  ax-addass 9060  ax-mulass 9061  ax-distr 9062  ax-i2m1 9063  ax-1ne0 9064  ax-1rid 9065  ax-rnegex 9066  ax-rrecex 9067  ax-cnre 9068  ax-pre-lttri 9069  ax-pre-lttrn 9070  ax-pre-ltadd 9071  ax-pre-mulgt0 9072
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 938  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-nel 2604  df-ral 2712  df-rex 2713  df-reu 2714  df-rab 2716  df-v 2960  df-sbc 3164  df-csb 3254  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-pss 3338  df-nul 3631  df-if 3742  df-pw 3803  df-sn 3822  df-pr 3823  df-tp 3824  df-op 3825  df-uni 4018  df-int 4053  df-iun 4097  df-br 4216  df-opab 4270  df-mpt 4271  df-tr 4306  df-eprel 4497  df-id 4501  df-po 4506  df-so 4507  df-fr 4544  df-we 4546  df-ord 4587  df-on 4588  df-lim 4589  df-suc 4590  df-om 4849  df-xp 4887  df-rel 4888  df-cnv 4889  df-co 4890  df-dm 4891  df-rn 4892  df-res 4893  df-ima 4894  df-iota 5421  df-fun 5459  df-fn 5460  df-f 5461  df-f1 5462  df-fo 5463  df-f1o 5464  df-fv 5465  df-ov 6087  df-oprab 6088  df-mpt2 6089  df-1st 6352  df-2nd 6353  df-riota 6552  df-recs 6636  df-rdg 6671  df-1o 6727  df-oadd 6731  df-er 6908  df-en 7113  df-dom 7114  df-sdom 7115  df-fin 7116  df-pnf 9127  df-mnf 9128  df-xr 9129  df-ltxr 9130  df-le 9131  df-sub 9298  df-neg 9299  df-nn 10006  df-2 10063  df-3 10064  df-4 10065  df-5 10066  df-6 10067  df-7 10068  df-8 10069  df-9 10070  df-10 10071  df-n0 10227  df-z 10288  df-dec 10388  df-uz 10494  df-fz 11049  df-struct 13476  df-ndx 13477  df-slot 13478  df-base 13479  df-hom 13558  df-cco 13559  df-xpc 14274  df-2ndf 14276
  Copyright terms: Public domain W3C validator