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

Theorem diag11 14340
Description: Value of the constant functor at an object. (Contributed by Mario Carneiro, 7-Jan-2017.) (Revised by Mario Carneiro, 15-Jan-2017.)
Hypotheses
Ref Expression
diagval.l  |-  L  =  ( CΔfunc D )
diagval.c  |-  ( ph  ->  C  e.  Cat )
diagval.d  |-  ( ph  ->  D  e.  Cat )
diag11.a  |-  A  =  ( Base `  C
)
diag11.c  |-  ( ph  ->  X  e.  A )
diag11.k  |-  K  =  ( ( 1st `  L
) `  X )
diag11.b  |-  B  =  ( Base `  D
)
diag11.y  |-  ( ph  ->  Y  e.  B )
Assertion
Ref Expression
diag11  |-  ( ph  ->  ( ( 1st `  K
) `  Y )  =  X )

Proof of Theorem diag11
StepHypRef Expression
1 diag11.k . . . . 5  |-  K  =  ( ( 1st `  L
) `  X )
2 diagval.l . . . . . . . 8  |-  L  =  ( CΔfunc D )
3 diagval.c . . . . . . . 8  |-  ( ph  ->  C  e.  Cat )
4 diagval.d . . . . . . . 8  |-  ( ph  ->  D  e.  Cat )
52, 3, 4diagval 14337 . . . . . . 7  |-  ( ph  ->  L  =  ( <. C ,  D >. curryF  ( C  1stF  D ) ) )
65fveq2d 5732 . . . . . 6  |-  ( ph  ->  ( 1st `  L
)  =  ( 1st `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) )
76fveq1d 5730 . . . . 5  |-  ( ph  ->  ( ( 1st `  L
) `  X )  =  ( ( 1st `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) `
 X ) )
81, 7syl5eq 2480 . . . 4  |-  ( ph  ->  K  =  ( ( 1st `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) `
 X ) )
98fveq2d 5732 . . 3  |-  ( ph  ->  ( 1st `  K
)  =  ( 1st `  ( ( 1st `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) `
 X ) ) )
109fveq1d 5730 . 2  |-  ( ph  ->  ( ( 1st `  K
) `  Y )  =  ( ( 1st `  ( ( 1st `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) `
 X ) ) `
 Y ) )
11 eqid 2436 . . 3  |-  ( <. C ,  D >. curryF  ( C  1stF  D ) )  =  ( <. C ,  D >. curryF  ( C  1stF  D ) )
12 diag11.a . . 3  |-  A  =  ( Base `  C
)
13 eqid 2436 . . . 4  |-  ( C  X.c  D )  =  ( C  X.c  D )
14 eqid 2436 . . . 4  |-  ( C  1stF  D )  =  ( C  1stF  D )
1513, 3, 4, 141stfcl 14294 . . 3  |-  ( ph  ->  ( C  1stF  D )  e.  ( ( C  X.c  D
)  Func  C )
)
16 diag11.b . . 3  |-  B  =  ( Base `  D
)
17 diag11.c . . 3  |-  ( ph  ->  X  e.  A )
18 eqid 2436 . . 3  |-  ( ( 1st `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) `
 X )  =  ( ( 1st `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) `
 X )
19 diag11.y . . 3  |-  ( ph  ->  Y  e.  B )
2011, 12, 3, 4, 15, 16, 17, 18, 19curf11 14323 . 2  |-  ( ph  ->  ( ( 1st `  (
( 1st `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) `
 X ) ) `
 Y )  =  ( X ( 1st `  ( C  1stF  D )
) Y ) )
21 df-ov 6084 . . . 4  |-  ( X ( 1st `  ( C  1stF  D ) ) Y )  =  ( ( 1st `  ( C  1stF  D ) ) `  <. X ,  Y >. )
2213, 12, 16xpcbas 14275 . . . . 5  |-  ( A  X.  B )  =  ( Base `  ( C  X.c  D ) )
23 eqid 2436 . . . . 5  |-  (  Hom  `  ( C  X.c  D ) )  =  (  Hom  `  ( C  X.c  D ) )
24 opelxpi 4910 . . . . . 6  |-  ( ( X  e.  A  /\  Y  e.  B )  -> 
<. X ,  Y >.  e.  ( A  X.  B
) )
2517, 19, 24syl2anc 643 . . . . 5  |-  ( ph  -> 
<. X ,  Y >.  e.  ( A  X.  B
) )
2613, 22, 23, 3, 4, 14, 251stf1 14289 . . . 4  |-  ( ph  ->  ( ( 1st `  ( C  1stF  D ) ) `  <. X ,  Y >. )  =  ( 1st `  <. X ,  Y >. )
)
2721, 26syl5eq 2480 . . 3  |-  ( ph  ->  ( X ( 1st `  ( C  1stF  D )
) Y )  =  ( 1st `  <. X ,  Y >. )
)
28 op1stg 6359 . . . 4  |-  ( ( X  e.  A  /\  Y  e.  B )  ->  ( 1st `  <. X ,  Y >. )  =  X )
2917, 19, 28syl2anc 643 . . 3  |-  ( ph  ->  ( 1st `  <. X ,  Y >. )  =  X )
3027, 29eqtrd 2468 . 2  |-  ( ph  ->  ( X ( 1st `  ( C  1stF  D )
) Y )  =  X )
3110, 20, 303eqtrd 2472 1  |-  ( ph  ->  ( ( 1st `  K
) `  Y )  =  X )
Colors of variables: wff set class
Syntax hints:    -> wi 4    = wceq 1652    e. wcel 1725   <.cop 3817    X. cxp 4876   ` cfv 5454  (class class class)co 6081   1stc1st 6347   Basecbs 13469    Hom chom 13540   Catccat 13889    X.c cxpc 14265    1stF c1stf 14266   curryF ccurf 14307  Δfunccdiag 14309
This theorem is referenced by:  curf2ndf  14344
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 2417  ax-rep 4320  ax-sep 4330  ax-nul 4338  ax-pow 4377  ax-pr 4403  ax-un 4701  ax-cnex 9046  ax-resscn 9047  ax-1cn 9048  ax-icn 9049  ax-addcl 9050  ax-addrcl 9051  ax-mulcl 9052  ax-mulrcl 9053  ax-mulcom 9054  ax-addass 9055  ax-mulass 9056  ax-distr 9057  ax-i2m1 9058  ax-1ne0 9059  ax-1rid 9060  ax-rnegex 9061  ax-rrecex 9062  ax-cnre 9063  ax-pre-lttri 9064  ax-pre-lttrn 9065  ax-pre-ltadd 9066  ax-pre-mulgt0 9067
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-mo 2286  df-clab 2423  df-cleq 2429  df-clel 2432  df-nfc 2561  df-ne 2601  df-nel 2602  df-ral 2710  df-rex 2711  df-reu 2712  df-rmo 2713  df-rab 2714  df-v 2958  df-sbc 3162  df-csb 3252  df-dif 3323  df-un 3325  df-in 3327  df-ss 3334  df-pss 3336  df-nul 3629  df-if 3740  df-pw 3801  df-sn 3820  df-pr 3821  df-tp 3822  df-op 3823  df-uni 4016  df-int 4051  df-iun 4095  df-br 4213  df-opab 4267  df-mpt 4268  df-tr 4303  df-eprel 4494  df-id 4498  df-po 4503  df-so 4504  df-fr 4541  df-we 4543  df-ord 4584  df-on 4585  df-lim 4586  df-suc 4587  df-om 4846  df-xp 4884  df-rel 4885  df-cnv 4886  df-co 4887  df-dm 4888  df-rn 4889  df-res 4890  df-ima 4891  df-iota 5418  df-fun 5456  df-fn 5457  df-f 5458  df-f1 5459  df-fo 5460  df-f1o 5461  df-fv 5462  df-ov 6084  df-oprab 6085  df-mpt2 6086  df-1st 6349  df-2nd 6350  df-riota 6549  df-recs 6633  df-rdg 6668  df-1o 6724  df-oadd 6728  df-er 6905  df-map 7020  df-ixp 7064  df-en 7110  df-dom 7111  df-sdom 7112  df-fin 7113  df-pnf 9122  df-mnf 9123  df-xr 9124  df-ltxr 9125  df-le 9126  df-sub 9293  df-neg 9294  df-nn 10001  df-2 10058  df-3 10059  df-4 10060  df-5 10061  df-6 10062  df-7 10063  df-8 10064  df-9 10065  df-10 10066  df-n0 10222  df-z 10283  df-dec 10383  df-uz 10489  df-fz 11044  df-struct 13471  df-ndx 13472  df-slot 13473  df-base 13474  df-hom 13553  df-cco 13554  df-cat 13893  df-cid 13894  df-func 14055  df-xpc 14269  df-1stf 14270  df-curf 14311  df-diag 14313
  Copyright terms: Public domain W3C validator