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

Theorem diag11 14066
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 14063 . . . . . . 7  |-  ( ph  ->  L  =  ( <. C ,  D >. curryF  ( C  1stF  D ) ) )
65fveq2d 5567 . . . . . 6  |-  ( ph  ->  ( 1st `  L
)  =  ( 1st `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) )
76fveq1d 5565 . . . . 5  |-  ( ph  ->  ( ( 1st `  L
) `  X )  =  ( ( 1st `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) `
 X ) )
81, 7syl5eq 2360 . . . 4  |-  ( ph  ->  K  =  ( ( 1st `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) `
 X ) )
98fveq2d 5567 . . 3  |-  ( ph  ->  ( 1st `  K
)  =  ( 1st `  ( ( 1st `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) `
 X ) ) )
109fveq1d 5565 . 2  |-  ( ph  ->  ( ( 1st `  K
) `  Y )  =  ( ( 1st `  ( ( 1st `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) `
 X ) ) `
 Y ) )
11 eqid 2316 . . 3  |-  ( <. C ,  D >. curryF  ( C  1stF  D ) )  =  ( <. C ,  D >. curryF  ( C  1stF  D ) )
12 diag11.a . . 3  |-  A  =  ( Base `  C
)
13 eqid 2316 . . . 4  |-  ( C  X.c  D )  =  ( C  X.c  D )
14 eqid 2316 . . . 4  |-  ( C  1stF  D )  =  ( C  1stF  D )
1513, 3, 4, 141stfcl 14020 . . 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 2316 . . 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 14049 . 2  |-  ( ph  ->  ( ( 1st `  (
( 1st `  ( <. C ,  D >. curryF  ( C  1stF  D ) ) ) `
 X ) ) `
 Y )  =  ( X ( 1st `  ( C  1stF  D )
) Y ) )
21 df-ov 5903 . . . 4  |-  ( X ( 1st `  ( C  1stF  D ) ) Y )  =  ( ( 1st `  ( C  1stF  D ) ) `  <. X ,  Y >. )
2213, 12, 16xpcbas 14001 . . . . 5  |-  ( A  X.  B )  =  ( Base `  ( C  X.c  D ) )
23 eqid 2316 . . . . 5  |-  (  Hom  `  ( C  X.c  D ) )  =  (  Hom  `  ( C  X.c  D ) )
24 opelxpi 4758 . . . . . 6  |-  ( ( X  e.  A  /\  Y  e.  B )  -> 
<. X ,  Y >.  e.  ( A  X.  B
) )
2517, 19, 24syl2anc 642 . . . . 5  |-  ( ph  -> 
<. X ,  Y >.  e.  ( A  X.  B
) )
2613, 22, 23, 3, 4, 14, 251stf1 14015 . . . 4  |-  ( ph  ->  ( ( 1st `  ( C  1stF  D ) ) `  <. X ,  Y >. )  =  ( 1st `  <. X ,  Y >. )
)
2721, 26syl5eq 2360 . . 3  |-  ( ph  ->  ( X ( 1st `  ( C  1stF  D )
) Y )  =  ( 1st `  <. X ,  Y >. )
)
28 op1stg 6174 . . . 4  |-  ( ( X  e.  A  /\  Y  e.  B )  ->  ( 1st `  <. X ,  Y >. )  =  X )
2917, 19, 28syl2anc 642 . . 3  |-  ( ph  ->  ( 1st `  <. X ,  Y >. )  =  X )
3027, 29eqtrd 2348 . 2  |-  ( ph  ->  ( X ( 1st `  ( C  1stF  D )
) Y )  =  X )
3110, 20, 303eqtrd 2352 1  |-  ( ph  ->  ( ( 1st `  K
) `  Y )  =  X )
Colors of variables: wff set class
Syntax hints:    -> wi 4    = wceq 1633    e. wcel 1701   <.cop 3677    X. cxp 4724   ` cfv 5292  (class class class)co 5900   1stc1st 6162   Basecbs 13195    Hom chom 13266   Catccat 13615    X.c cxpc 13991    1stF c1stf 13992   curryF ccurf 14033  Δfunccdiag 14035
This theorem is referenced by:  curf2ndf  14070
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1537  ax-5 1548  ax-17 1607  ax-9 1645  ax-8 1666  ax-13 1703  ax-14 1705  ax-6 1720  ax-7 1725  ax-11 1732  ax-12 1897  ax-ext 2297  ax-rep 4168  ax-sep 4178  ax-nul 4186  ax-pow 4225  ax-pr 4251  ax-un 4549  ax-cnex 8838  ax-resscn 8839  ax-1cn 8840  ax-icn 8841  ax-addcl 8842  ax-addrcl 8843  ax-mulcl 8844  ax-mulrcl 8845  ax-mulcom 8846  ax-addass 8847  ax-mulass 8848  ax-distr 8849  ax-i2m1 8850  ax-1ne0 8851  ax-1rid 8852  ax-rnegex 8853  ax-rrecex 8854  ax-cnre 8855  ax-pre-lttri 8856  ax-pre-lttrn 8857  ax-pre-ltadd 8858  ax-pre-mulgt0 8859
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1533  df-nf 1536  df-sb 1640  df-eu 2180  df-mo 2181  df-clab 2303  df-cleq 2309  df-clel 2312  df-nfc 2441  df-ne 2481  df-nel 2482  df-ral 2582  df-rex 2583  df-reu 2584  df-rmo 2585  df-rab 2586  df-v 2824  df-sbc 3026  df-csb 3116  df-dif 3189  df-un 3191  df-in 3193  df-ss 3200  df-pss 3202  df-nul 3490  df-if 3600  df-pw 3661  df-sn 3680  df-pr 3681  df-tp 3682  df-op 3683  df-uni 3865  df-int 3900  df-iun 3944  df-br 4061  df-opab 4115  df-mpt 4116  df-tr 4151  df-eprel 4342  df-id 4346  df-po 4351  df-so 4352  df-fr 4389  df-we 4391  df-ord 4432  df-on 4433  df-lim 4434  df-suc 4435  df-om 4694  df-xp 4732  df-rel 4733  df-cnv 4734  df-co 4735  df-dm 4736  df-rn 4737  df-res 4738  df-ima 4739  df-iota 5256  df-fun 5294  df-fn 5295  df-f 5296  df-f1 5297  df-fo 5298  df-f1o 5299  df-fv 5300  df-ov 5903  df-oprab 5904  df-mpt2 5905  df-1st 6164  df-2nd 6165  df-riota 6346  df-recs 6430  df-rdg 6465  df-1o 6521  df-oadd 6525  df-er 6702  df-map 6817  df-ixp 6861  df-en 6907  df-dom 6908  df-sdom 6909  df-fin 6910  df-pnf 8914  df-mnf 8915  df-xr 8916  df-ltxr 8917  df-le 8918  df-sub 9084  df-neg 9085  df-nn 9792  df-2 9849  df-3 9850  df-4 9851  df-5 9852  df-6 9853  df-7 9854  df-8 9855  df-9 9856  df-10 9857  df-n0 10013  df-z 10072  df-dec 10172  df-uz 10278  df-fz 10830  df-struct 13197  df-ndx 13198  df-slot 13199  df-base 13200  df-hom 13279  df-cco 13280  df-cat 13619  df-cid 13620  df-func 13781  df-xpc 13995  df-1stf 13996  df-curf 14037  df-diag 14039
  Copyright terms: Public domain W3C validator