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

Theorem fucidcl 14117
Description: The identity natural transformation. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
fucidcl.q  |-  Q  =  ( C FuncCat  D )
fucidcl.n  |-  N  =  ( C Nat  D )
fucidcl.x  |-  .1.  =  ( Id `  D )
fucidcl.f  |-  ( ph  ->  F  e.  ( C 
Func  D ) )
Assertion
Ref Expression
fucidcl  |-  ( ph  ->  (  .1.  o.  ( 1st `  F ) )  e.  ( F N F ) )

Proof of Theorem fucidcl
Dummy variables  x  f  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fucidcl.f . . . . . . . 8  |-  ( ph  ->  F  e.  ( C 
Func  D ) )
2 funcrcl 14015 . . . . . . . 8  |-  ( F  e.  ( C  Func  D )  ->  ( C  e.  Cat  /\  D  e. 
Cat ) )
31, 2syl 16 . . . . . . 7  |-  ( ph  ->  ( C  e.  Cat  /\  D  e.  Cat )
)
43simprd 450 . . . . . 6  |-  ( ph  ->  D  e.  Cat )
5 eqid 2404 . . . . . . 7  |-  ( Base `  D )  =  (
Base `  D )
6 fucidcl.x . . . . . . 7  |-  .1.  =  ( Id `  D )
75, 6cidfn 13859 . . . . . 6  |-  ( D  e.  Cat  ->  .1.  Fn  ( Base `  D
) )
84, 7syl 16 . . . . 5  |-  ( ph  ->  .1.  Fn  ( Base `  D ) )
9 dffn2 5551 . . . . 5  |-  (  .1. 
Fn  ( Base `  D
)  <->  .1.  : ( Base `  D ) --> _V )
108, 9sylib 189 . . . 4  |-  ( ph  ->  .1.  : ( Base `  D ) --> _V )
11 eqid 2404 . . . . 5  |-  ( Base `  C )  =  (
Base `  C )
12 relfunc 14014 . . . . . 6  |-  Rel  ( C  Func  D )
13 1st2ndbr 6355 . . . . . 6  |-  ( ( Rel  ( C  Func  D )  /\  F  e.  ( C  Func  D
) )  ->  ( 1st `  F ) ( C  Func  D )
( 2nd `  F
) )
1412, 1, 13sylancr 645 . . . . 5  |-  ( ph  ->  ( 1st `  F
) ( C  Func  D ) ( 2nd `  F
) )
1511, 5, 14funcf1 14018 . . . 4  |-  ( ph  ->  ( 1st `  F
) : ( Base `  C ) --> ( Base `  D ) )
16 fcompt 5863 . . . 4  |-  ( (  .1.  : ( Base `  D ) --> _V  /\  ( 1st `  F ) : ( Base `  C
) --> ( Base `  D
) )  ->  (  .1.  o.  ( 1st `  F
) )  =  ( x  e.  ( Base `  C )  |->  (  .1.  `  ( ( 1st `  F
) `  x )
) ) )
1710, 15, 16syl2anc 643 . . 3  |-  ( ph  ->  (  .1.  o.  ( 1st `  F ) )  =  ( x  e.  ( Base `  C
)  |->  (  .1.  `  ( ( 1st `  F
) `  x )
) ) )
18 eqid 2404 . . . . . 6  |-  (  Hom  `  D )  =  (  Hom  `  D )
194adantr 452 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  D  e.  Cat )
2015ffvelrnda 5829 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  ( ( 1st `  F ) `  x )  e.  (
Base `  D )
)
215, 18, 6, 19, 20catidcl 13862 . . . . 5  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  (  .1.  `  ( ( 1st `  F
) `  x )
)  e.  ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  x )
) )
2221ralrimiva 2749 . . . 4  |-  ( ph  ->  A. x  e.  (
Base `  C )
(  .1.  `  (
( 1st `  F
) `  x )
)  e.  ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  x )
) )
23 fvex 5701 . . . . 5  |-  ( Base `  C )  e.  _V
24 mptelixpg 7058 . . . . 5  |-  ( (
Base `  C )  e.  _V  ->  ( (
x  e.  ( Base `  C )  |->  (  .1.  `  ( ( 1st `  F
) `  x )
) )  e.  X_ x  e.  ( Base `  C ) ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  x )
)  <->  A. x  e.  (
Base `  C )
(  .1.  `  (
( 1st `  F
) `  x )
)  e.  ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  x )
) ) )
2523, 24ax-mp 8 . . . 4  |-  ( ( x  e.  ( Base `  C )  |->  (  .1.  `  ( ( 1st `  F
) `  x )
) )  e.  X_ x  e.  ( Base `  C ) ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  x )
)  <->  A. x  e.  (
Base `  C )
(  .1.  `  (
( 1st `  F
) `  x )
)  e.  ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  x )
) )
2622, 25sylibr 204 . . 3  |-  ( ph  ->  ( x  e.  (
Base `  C )  |->  (  .1.  `  (
( 1st `  F
) `  x )
) )  e.  X_ x  e.  ( Base `  C ) ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  x )
) )
2717, 26eqeltrd 2478 . 2  |-  ( ph  ->  (  .1.  o.  ( 1st `  F ) )  e.  X_ x  e.  (
Base `  C )
( ( ( 1st `  F ) `  x
) (  Hom  `  D
) ( ( 1st `  F ) `  x
) ) )
284adantr 452 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  D  e.  Cat )
29 simpr1 963 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  x  e.  ( Base `  C )
)
3029, 20syldan 457 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  ( ( 1st `  F ) `  x )  e.  (
Base `  D )
)
31 eqid 2404 . . . . . 6  |-  (comp `  D )  =  (comp `  D )
3215adantr 452 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  ( 1st `  F ) : (
Base `  C ) --> ( Base `  D )
)
33 simpr2 964 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  y  e.  ( Base `  C )
)
3432, 33ffvelrnd 5830 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  ( ( 1st `  F ) `  y )  e.  (
Base `  D )
)
35 eqid 2404 . . . . . . . 8  |-  (  Hom  `  C )  =  (  Hom  `  C )
3614adantr 452 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  ( 1st `  F ) ( C 
Func  D ) ( 2nd `  F ) )
3711, 35, 18, 36, 29, 33funcf2 14020 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  ( x
( 2nd `  F
) y ) : ( x (  Hom  `  C ) y ) --> ( ( ( 1st `  F ) `  x
) (  Hom  `  D
) ( ( 1st `  F ) `  y
) ) )
38 simpr3 965 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  f  e.  ( x (  Hom  `  C ) y ) )
3937, 38ffvelrnd 5830 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  ( (
x ( 2nd `  F
) y ) `  f )  e.  ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  y )
) )
405, 18, 6, 28, 30, 31, 34, 39catlid 13863 . . . . 5  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  ( (  .1.  `  ( ( 1st `  F ) `  y
) ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  F ) `  y
) ) ( ( x ( 2nd `  F
) y ) `  f ) )  =  ( ( x ( 2nd `  F ) y ) `  f
) )
415, 18, 6, 28, 30, 31, 34, 39catrid 13864 . . . . 5  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  ( (
( x ( 2nd `  F ) y ) `
 f ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  x
) >. (comp `  D
) ( ( 1st `  F ) `  y
) ) (  .1.  `  ( ( 1st `  F
) `  x )
) )  =  ( ( x ( 2nd `  F ) y ) `
 f ) )
4240, 41eqtr4d 2439 . . . 4  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  ( (  .1.  `  ( ( 1st `  F ) `  y
) ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  F ) `  y
) ) ( ( x ( 2nd `  F
) y ) `  f ) )  =  ( ( ( x ( 2nd `  F
) y ) `  f ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  x
) >. (comp `  D
) ( ( 1st `  F ) `  y
) ) (  .1.  `  ( ( 1st `  F
) `  x )
) ) )
43 fvco3 5759 . . . . . 6  |-  ( ( ( 1st `  F
) : ( Base `  C ) --> ( Base `  D )  /\  y  e.  ( Base `  C
) )  ->  (
(  .1.  o.  ( 1st `  F ) ) `
 y )  =  (  .1.  `  (
( 1st `  F
) `  y )
) )
4432, 33, 43syl2anc 643 . . . . 5  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  ( (  .1.  o.  ( 1st `  F
) ) `  y
)  =  (  .1.  `  ( ( 1st `  F
) `  y )
) )
4544oveq1d 6055 . . . 4  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  ( (
(  .1.  o.  ( 1st `  F ) ) `
 y ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  F ) `  y
) ) ( ( x ( 2nd `  F
) y ) `  f ) )  =  ( (  .1.  `  ( ( 1st `  F
) `  y )
) ( <. (
( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  F ) `  y
) ) ( ( x ( 2nd `  F
) y ) `  f ) ) )
46 fvco3 5759 . . . . . 6  |-  ( ( ( 1st `  F
) : ( Base `  C ) --> ( Base `  D )  /\  x  e.  ( Base `  C
) )  ->  (
(  .1.  o.  ( 1st `  F ) ) `
 x )  =  (  .1.  `  (
( 1st `  F
) `  x )
) )
4732, 29, 46syl2anc 643 . . . . 5  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  ( (  .1.  o.  ( 1st `  F
) ) `  x
)  =  (  .1.  `  ( ( 1st `  F
) `  x )
) )
4847oveq2d 6056 . . . 4  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  ( (
( x ( 2nd `  F ) y ) `
 f ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  x
) >. (comp `  D
) ( ( 1st `  F ) `  y
) ) ( (  .1.  o.  ( 1st `  F ) ) `  x ) )  =  ( ( ( x ( 2nd `  F
) y ) `  f ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  x
) >. (comp `  D
) ( ( 1st `  F ) `  y
) ) (  .1.  `  ( ( 1st `  F
) `  x )
) ) )
4942, 45, 483eqtr4d 2446 . . 3  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x (  Hom  `  C
) y ) ) )  ->  ( (
(  .1.  o.  ( 1st `  F ) ) `
 y ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  F ) `  y
) ) ( ( x ( 2nd `  F
) y ) `  f ) )  =  ( ( ( x ( 2nd `  F
) y ) `  f ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  x
) >. (comp `  D
) ( ( 1st `  F ) `  y
) ) ( (  .1.  o.  ( 1st `  F ) ) `  x ) ) )
5049ralrimivvva 2759 . 2  |-  ( ph  ->  A. x  e.  (
Base `  C ) A. y  e.  ( Base `  C ) A. f  e.  ( x
(  Hom  `  C ) y ) ( ( (  .1.  o.  ( 1st `  F ) ) `
 y ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  F ) `  y
) ) ( ( x ( 2nd `  F
) y ) `  f ) )  =  ( ( ( x ( 2nd `  F
) y ) `  f ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  x
) >. (comp `  D
) ( ( 1st `  F ) `  y
) ) ( (  .1.  o.  ( 1st `  F ) ) `  x ) ) )
51 fucidcl.n . . 3  |-  N  =  ( C Nat  D )
5251, 11, 35, 18, 31, 1, 1isnat2 14100 . 2  |-  ( ph  ->  ( (  .1.  o.  ( 1st `  F ) )  e.  ( F N F )  <->  ( (  .1.  o.  ( 1st `  F
) )  e.  X_ x  e.  ( Base `  C ) ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  x )
)  /\  A. x  e.  ( Base `  C
) A. y  e.  ( Base `  C
) A. f  e.  ( x (  Hom  `  C ) y ) ( ( (  .1. 
o.  ( 1st `  F
) ) `  y
) ( <. (
( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  F ) `  y
) ) ( ( x ( 2nd `  F
) y ) `  f ) )  =  ( ( ( x ( 2nd `  F
) y ) `  f ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  x
) >. (comp `  D
) ( ( 1st `  F ) `  y
) ) ( (  .1.  o.  ( 1st `  F ) ) `  x ) ) ) ) )
5327, 50, 52mpbir2and 889 1  |-  ( ph  ->  (  .1.  o.  ( 1st `  F ) )  e.  ( F N F ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    /\ w3a 936    = wceq 1649    e. wcel 1721   A.wral 2666   _Vcvv 2916   <.cop 3777   class class class wbr 4172    e. cmpt 4226    o. ccom 4841   Rel wrel 4842    Fn wfn 5408   -->wf 5409   ` cfv 5413  (class class class)co 6040   1stc1st 6306   2ndc2nd 6307   X_cixp 7022   Basecbs 13424    Hom chom 13495  compcco 13496   Catccat 13844   Idccid 13845    Func cfunc 14006   Nat cnat 14093   FuncCat cfuc 14094
This theorem is referenced by:  fuclid  14118  fucrid  14119  fuccatid  14121
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 1662  ax-8 1683  ax-13 1723  ax-14 1725  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2385  ax-rep 4280  ax-sep 4290  ax-nul 4298  ax-pow 4337  ax-pr 4363  ax-un 4660
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2258  df-mo 2259  df-clab 2391  df-cleq 2397  df-clel 2400  df-nfc 2529  df-ne 2569  df-ral 2671  df-rex 2672  df-reu 2673  df-rmo 2674  df-rab 2675  df-v 2918  df-sbc 3122  df-csb 3212  df-dif 3283  df-un 3285  df-in 3287  df-ss 3294  df-nul 3589  df-if 3700  df-pw 3761  df-sn 3780  df-pr 3781  df-op 3783  df-uni 3976  df-iun 4055  df-br 4173  df-opab 4227  df-mpt 4228  df-id 4458  df-xp 4843  df-rel 4844  df-cnv 4845  df-co 4846  df-dm 4847  df-rn 4848  df-res 4849  df-ima 4850  df-iota 5377  df-fun 5415  df-fn 5416  df-f 5417  df-f1 5418  df-fo 5419  df-f1o 5420  df-fv 5421  df-ov 6043  df-oprab 6044  df-mpt2 6045  df-1st 6308  df-2nd 6309  df-riota 6508  df-map 6979  df-ixp 7023  df-cat 13848  df-cid 13849  df-func 14010  df-nat 14095
  Copyright terms: Public domain W3C validator