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

Theorem diag2 14269
Description: Value of the diagonal functor at a morphism. (Contributed by Mario Carneiro, 7-Jan-2017.)
Hypotheses
Ref Expression
diag2.l  |-  L  =  ( CΔfunc D )
diag2.a  |-  A  =  ( Base `  C
)
diag2.b  |-  B  =  ( Base `  D
)
diag2.h  |-  H  =  (  Hom  `  C
)
diag2.c  |-  ( ph  ->  C  e.  Cat )
diag2.d  |-  ( ph  ->  D  e.  Cat )
diag2.x  |-  ( ph  ->  X  e.  A )
diag2.y  |-  ( ph  ->  Y  e.  A )
diag2.f  |-  ( ph  ->  F  e.  ( X H Y ) )
Assertion
Ref Expression
diag2  |-  ( ph  ->  ( ( X ( 2nd `  L ) Y ) `  F
)  =  ( B  X.  { F }
) )

Proof of Theorem diag2
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 diag2.l . . . . . 6  |-  L  =  ( CΔfunc D )
2 diag2.c . . . . . 6  |-  ( ph  ->  C  e.  Cat )
3 diag2.d . . . . . 6  |-  ( ph  ->  D  e.  Cat )
41, 2, 3diagval 14264 . . . . 5  |-  ( ph  ->  L  =  ( <. C ,  D >. curryF  ( C  1stF  D ) ) )
54fveq2d 5672 . . . 4  |-  ( ph  ->  ( 2nd `  L
)  =  ( 2nd `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) )
65oveqd 6037 . . 3  |-  ( ph  ->  ( X ( 2nd `  L ) Y )  =  ( X ( 2nd `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) Y ) )
76fveq1d 5670 . 2  |-  ( ph  ->  ( ( X ( 2nd `  L ) Y ) `  F
)  =  ( ( X ( 2nd `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) Y ) `  F
) )
8 eqid 2387 . . 3  |-  ( <. C ,  D >. curryF  ( C  1stF  D ) )  =  ( <. C ,  D >. curryF  ( C  1stF  D ) )
9 diag2.a . . 3  |-  A  =  ( Base `  C
)
10 eqid 2387 . . . 4  |-  ( C  X.c  D )  =  ( C  X.c  D )
11 eqid 2387 . . . 4  |-  ( C  1stF  D )  =  ( C  1stF  D )
1210, 2, 3, 111stfcl 14221 . . 3  |-  ( ph  ->  ( C  1stF  D )  e.  ( ( C  X.c  D
)  Func  C )
)
13 diag2.b . . 3  |-  B  =  ( Base `  D
)
14 diag2.h . . 3  |-  H  =  (  Hom  `  C
)
15 eqid 2387 . . 3  |-  ( Id
`  D )  =  ( Id `  D
)
16 diag2.x . . 3  |-  ( ph  ->  X  e.  A )
17 diag2.y . . 3  |-  ( ph  ->  Y  e.  A )
18 diag2.f . . 3  |-  ( ph  ->  F  e.  ( X H Y ) )
19 eqid 2387 . . 3  |-  ( ( X ( 2nd `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) Y ) `  F
)  =  ( ( X ( 2nd `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) Y ) `  F
)
208, 9, 2, 3, 12, 13, 14, 15, 16, 17, 18, 19curf2 14253 . 2  |-  ( ph  ->  ( ( X ( 2nd `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) Y ) `  F
)  =  ( x  e.  B  |->  ( F ( <. X ,  x >. ( 2nd `  ( C  1stF  D ) ) <. Y ,  x >. ) ( ( Id `  D ) `  x
) ) ) )
2110, 9, 13xpcbas 14202 . . . . . . 7  |-  ( A  X.  B )  =  ( Base `  ( C  X.c  D ) )
22 eqid 2387 . . . . . . 7  |-  (  Hom  `  ( C  X.c  D ) )  =  (  Hom  `  ( C  X.c  D ) )
232adantr 452 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  C  e.  Cat )
243adantr 452 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  D  e.  Cat )
25 opelxpi 4850 . . . . . . . 8  |-  ( ( X  e.  A  /\  x  e.  B )  -> 
<. X ,  x >.  e.  ( A  X.  B
) )
2616, 25sylan 458 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  <. X ,  x >.  e.  ( A  X.  B ) )
27 opelxpi 4850 . . . . . . . 8  |-  ( ( Y  e.  A  /\  x  e.  B )  -> 
<. Y ,  x >.  e.  ( A  X.  B
) )
2817, 27sylan 458 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  <. Y ,  x >.  e.  ( A  X.  B ) )
2910, 21, 22, 23, 24, 11, 26, 281stf2 14217 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  ( <. X ,  x >. ( 2nd `  ( C  1stF  D ) ) <. Y ,  x >. )  =  ( 1st  |`  ( <. X ,  x >. (  Hom  `  ( C  X.c  D ) ) <. Y ,  x >. ) ) )
3029oveqd 6037 . . . . 5  |-  ( (
ph  /\  x  e.  B )  ->  ( F ( <. X ,  x >. ( 2nd `  ( C  1stF  D ) ) <. Y ,  x >. ) ( ( Id `  D ) `  x
) )  =  ( F ( 1st  |`  ( <. X ,  x >. (  Hom  `  ( C  X.c  D ) ) <. Y ,  x >. ) ) ( ( Id
`  D ) `  x ) ) )
31 df-ov 6023 . . . . . 6  |-  ( F ( 1st  |`  ( <. X ,  x >. (  Hom  `  ( C  X.c  D ) ) <. Y ,  x >. ) ) ( ( Id
`  D ) `  x ) )  =  ( ( 1st  |`  ( <. X ,  x >. (  Hom  `  ( C  X.c  D ) ) <. Y ,  x >. ) ) `  <. F , 
( ( Id `  D ) `  x
) >. )
3218adantr 452 . . . . . . . . 9  |-  ( (
ph  /\  x  e.  B )  ->  F  e.  ( X H Y ) )
33 eqid 2387 . . . . . . . . . 10  |-  (  Hom  `  D )  =  (  Hom  `  D )
34 simpr 448 . . . . . . . . . 10  |-  ( (
ph  /\  x  e.  B )  ->  x  e.  B )
3513, 33, 15, 24, 34catidcl 13834 . . . . . . . . 9  |-  ( (
ph  /\  x  e.  B )  ->  (
( Id `  D
) `  x )  e.  ( x (  Hom  `  D ) x ) )
36 opelxpi 4850 . . . . . . . . 9  |-  ( ( F  e.  ( X H Y )  /\  ( ( Id `  D ) `  x
)  e.  ( x (  Hom  `  D
) x ) )  ->  <. F ,  ( ( Id `  D
) `  x ) >.  e.  ( ( X H Y )  X.  ( x (  Hom  `  D ) x ) ) )
3732, 35, 36syl2anc 643 . . . . . . . 8  |-  ( (
ph  /\  x  e.  B )  ->  <. F , 
( ( Id `  D ) `  x
) >.  e.  ( ( X H Y )  X.  ( x (  Hom  `  D )
x ) ) )
3816adantr 452 . . . . . . . . 9  |-  ( (
ph  /\  x  e.  B )  ->  X  e.  A )
3917adantr 452 . . . . . . . . 9  |-  ( (
ph  /\  x  e.  B )  ->  Y  e.  A )
4010, 9, 13, 14, 33, 38, 34, 39, 34, 22xpchom2 14210 . . . . . . . 8  |-  ( (
ph  /\  x  e.  B )  ->  ( <. X ,  x >. (  Hom  `  ( C  X.c  D ) ) <. Y ,  x >. )  =  ( ( X H Y )  X.  ( x (  Hom  `  D ) x ) ) )
4137, 40eleqtrrd 2464 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  <. F , 
( ( Id `  D ) `  x
) >.  e.  ( <. X ,  x >. (  Hom  `  ( C  X.c  D ) ) <. Y ,  x >. ) )
42 fvres 5685 . . . . . . 7  |-  ( <. F ,  ( ( Id `  D ) `  x ) >.  e.  (
<. X ,  x >. (  Hom  `  ( C  X.c  D ) ) <. Y ,  x >. )  ->  ( ( 1st  |`  ( <. X ,  x >. (  Hom  `  ( C  X.c  D ) ) <. Y ,  x >. ) ) `  <. F , 
( ( Id `  D ) `  x
) >. )  =  ( 1st `  <. F , 
( ( Id `  D ) `  x
) >. ) )
4341, 42syl 16 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  (
( 1st  |`  ( <. X ,  x >. (  Hom  `  ( C  X.c  D ) ) <. Y ,  x >. ) ) `  <. F , 
( ( Id `  D ) `  x
) >. )  =  ( 1st `  <. F , 
( ( Id `  D ) `  x
) >. ) )
4431, 43syl5eq 2431 . . . . 5  |-  ( (
ph  /\  x  e.  B )  ->  ( F ( 1st  |`  ( <. X ,  x >. (  Hom  `  ( C  X.c  D ) ) <. Y ,  x >. ) ) ( ( Id
`  D ) `  x ) )  =  ( 1st `  <. F ,  ( ( Id
`  D ) `  x ) >. )
)
45 op1stg 6298 . . . . . 6  |-  ( ( F  e.  ( X H Y )  /\  ( ( Id `  D ) `  x
)  e.  ( x (  Hom  `  D
) x ) )  ->  ( 1st `  <. F ,  ( ( Id
`  D ) `  x ) >. )  =  F )
4632, 35, 45syl2anc 643 . . . . 5  |-  ( (
ph  /\  x  e.  B )  ->  ( 1st `  <. F ,  ( ( Id `  D
) `  x ) >. )  =  F )
4730, 44, 463eqtrd 2423 . . . 4  |-  ( (
ph  /\  x  e.  B )  ->  ( F ( <. X ,  x >. ( 2nd `  ( C  1stF  D ) ) <. Y ,  x >. ) ( ( Id `  D ) `  x
) )  =  F )
4847mpteq2dva 4236 . . 3  |-  ( ph  ->  ( x  e.  B  |->  ( F ( <. X ,  x >. ( 2nd `  ( C  1stF  D ) ) <. Y ,  x >. ) ( ( Id `  D ) `  x
) ) )  =  ( x  e.  B  |->  F ) )
49 fconstmpt 4861 . . 3  |-  ( B  X.  { F }
)  =  ( x  e.  B  |->  F )
5048, 49syl6eqr 2437 . 2  |-  ( ph  ->  ( x  e.  B  |->  ( F ( <. X ,  x >. ( 2nd `  ( C  1stF  D ) ) <. Y ,  x >. ) ( ( Id `  D ) `  x
) ) )  =  ( B  X.  { F } ) )
517, 20, 503eqtrd 2423 1  |-  ( ph  ->  ( ( X ( 2nd `  L ) Y ) `  F
)  =  ( B  X.  { F }
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    = wceq 1649    e. wcel 1717   {csn 3757   <.cop 3760    e. cmpt 4207    X. cxp 4816    |` cres 4820   ` cfv 5394  (class class class)co 6020   1stc1st 6286   2ndc2nd 6287   Basecbs 13396    Hom chom 13467   Catccat 13816   Idccid 13817    X.c cxpc 14192    1stF c1stf 14193   curryF ccurf 14234  Δfunccdiag 14236
This theorem is referenced by:  diag2cl  14270
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2368  ax-rep 4261  ax-sep 4271  ax-nul 4279  ax-pow 4318  ax-pr 4344  ax-un 4641  ax-cnex 8979  ax-resscn 8980  ax-1cn 8981  ax-icn 8982  ax-addcl 8983  ax-addrcl 8984  ax-mulcl 8985  ax-mulrcl 8986  ax-mulcom 8987  ax-addass 8988  ax-mulass 8989  ax-distr 8990  ax-i2m1 8991  ax-1ne0 8992  ax-1rid 8993  ax-rnegex 8994  ax-rrecex 8995  ax-cnre 8996  ax-pre-lttri 8997  ax-pre-lttrn 8998  ax-pre-ltadd 8999  ax-pre-mulgt0 9000
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2242  df-mo 2243  df-clab 2374  df-cleq 2380  df-clel 2383  df-nfc 2512  df-ne 2552  df-nel 2553  df-ral 2654  df-rex 2655  df-reu 2656  df-rmo 2657  df-rab 2658  df-v 2901  df-sbc 3105  df-csb 3195  df-dif 3266  df-un 3268  df-in 3270  df-ss 3277  df-pss 3279  df-nul 3572  df-if 3683  df-pw 3744  df-sn 3763  df-pr 3764  df-tp 3765  df-op 3766  df-uni 3958  df-int 3993  df-iun 4037  df-br 4154  df-opab 4208  df-mpt 4209  df-tr 4244  df-eprel 4435  df-id 4439  df-po 4444  df-so 4445  df-fr 4482  df-we 4484  df-ord 4525  df-on 4526  df-lim 4527  df-suc 4528  df-om 4786  df-xp 4824  df-rel 4825  df-cnv 4826  df-co 4827  df-dm 4828  df-rn 4829  df-res 4830  df-ima 4831  df-iota 5358  df-fun 5396  df-fn 5397  df-f 5398  df-f1 5399  df-fo 5400  df-f1o 5401  df-fv 5402  df-ov 6023  df-oprab 6024  df-mpt2 6025  df-1st 6288  df-2nd 6289  df-riota 6485  df-recs 6569  df-rdg 6604  df-1o 6660  df-oadd 6664  df-er 6841  df-map 6956  df-ixp 7000  df-en 7046  df-dom 7047  df-sdom 7048  df-fin 7049  df-pnf 9055  df-mnf 9056  df-xr 9057  df-ltxr 9058  df-le 9059  df-sub 9225  df-neg 9226  df-nn 9933  df-2 9990  df-3 9991  df-4 9992  df-5 9993  df-6 9994  df-7 9995  df-8 9996  df-9 9997  df-10 9998  df-n0 10154  df-z 10215  df-dec 10315  df-uz 10421  df-fz 10976  df-struct 13398  df-ndx 13399  df-slot 13400  df-base 13401  df-hom 13480  df-cco 13481  df-cat 13820  df-cid 13821  df-func 13982  df-xpc 14196  df-1stf 14197  df-curf 14238  df-diag 14240
  Copyright terms: Public domain W3C validator