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

Theorem cidval 13894
Description: Each object in a category has an associated identity arrow. (Contributed by Mario Carneiro, 2-Jan-2017.)
Hypotheses
Ref Expression
cidfval.b  |-  B  =  ( Base `  C
)
cidfval.h  |-  H  =  (  Hom  `  C
)
cidfval.o  |-  .x.  =  (comp `  C )
cidfval.c  |-  ( ph  ->  C  e.  Cat )
cidfval.i  |-  .1.  =  ( Id `  C )
cidval.x  |-  ( ph  ->  X  e.  B )
Assertion
Ref Expression
cidval  |-  ( ph  ->  (  .1.  `  X
)  =  ( iota_ g  e.  ( X H X ) A. y  e.  B  ( A. f  e.  ( y H X ) ( g ( <. y ,  X >.  .x.  X ) f )  =  f  /\  A. f  e.  ( X H y ) ( f ( <. X ,  X >.  .x.  y )
g )  =  f ) ) )
Distinct variable groups:    f, g,
y, B    C, f,
g, y    .x. , f, g, y    f, H, g, y    ph, f, g, y   
f, X, g, y
Allowed substitution hints:    .1. ( y, f, g)

Proof of Theorem cidval
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 cidfval.b . . 3  |-  B  =  ( Base `  C
)
2 cidfval.h . . 3  |-  H  =  (  Hom  `  C
)
3 cidfval.o . . 3  |-  .x.  =  (comp `  C )
4 cidfval.c . . 3  |-  ( ph  ->  C  e.  Cat )
5 cidfval.i . . 3  |-  .1.  =  ( Id `  C )
61, 2, 3, 4, 5cidfval 13893 . 2  |-  ( ph  ->  .1.  =  ( x  e.  B  |->  ( iota_ g  e.  ( x H x ) A. y  e.  B  ( A. f  e.  ( y H x ) ( g ( <. y ,  x >.  .x.  x ) f )  =  f  /\  A. f  e.  ( x H y ) ( f (
<. x ,  x >.  .x.  y ) g )  =  f ) ) ) )
7 simpr 448 . . . 4  |-  ( (
ph  /\  x  =  X )  ->  x  =  X )
87, 7oveq12d 6091 . . 3  |-  ( (
ph  /\  x  =  X )  ->  (
x H x )  =  ( X H X ) )
97oveq2d 6089 . . . . . 6  |-  ( (
ph  /\  x  =  X )  ->  (
y H x )  =  ( y H X ) )
107opeq2d 3983 . . . . . . . . 9  |-  ( (
ph  /\  x  =  X )  ->  <. y ,  x >.  =  <. y ,  X >. )
1110, 7oveq12d 6091 . . . . . . . 8  |-  ( (
ph  /\  x  =  X )  ->  ( <. y ,  x >.  .x.  x )  =  (
<. y ,  X >.  .x. 
X ) )
1211oveqd 6090 . . . . . . 7  |-  ( (
ph  /\  x  =  X )  ->  (
g ( <. y ,  x >.  .x.  x ) f )  =  ( g ( <. y ,  X >.  .x.  X ) f ) )
1312eqeq1d 2443 . . . . . 6  |-  ( (
ph  /\  x  =  X )  ->  (
( g ( <.
y ,  x >.  .x.  x ) f )  =  f  <->  ( g
( <. y ,  X >.  .x.  X ) f )  =  f ) )
149, 13raleqbidv 2908 . . . . 5  |-  ( (
ph  /\  x  =  X )  ->  ( A. f  e.  (
y H x ) ( g ( <.
y ,  x >.  .x.  x ) f )  =  f  <->  A. f  e.  ( y H X ) ( g (
<. y ,  X >.  .x. 
X ) f )  =  f ) )
157oveq1d 6088 . . . . . 6  |-  ( (
ph  /\  x  =  X )  ->  (
x H y )  =  ( X H y ) )
167, 7opeq12d 3984 . . . . . . . . 9  |-  ( (
ph  /\  x  =  X )  ->  <. x ,  x >.  =  <. X ,  X >. )
1716oveq1d 6088 . . . . . . . 8  |-  ( (
ph  /\  x  =  X )  ->  ( <. x ,  x >.  .x.  y )  =  (
<. X ,  X >.  .x.  y ) )
1817oveqd 6090 . . . . . . 7  |-  ( (
ph  /\  x  =  X )  ->  (
f ( <. x ,  x >.  .x.  y ) g )  =  ( f ( <. X ,  X >.  .x.  y )
g ) )
1918eqeq1d 2443 . . . . . 6  |-  ( (
ph  /\  x  =  X )  ->  (
( f ( <.
x ,  x >.  .x.  y ) g )  =  f  <->  ( f
( <. X ,  X >.  .x.  y ) g )  =  f ) )
2015, 19raleqbidv 2908 . . . . 5  |-  ( (
ph  /\  x  =  X )  ->  ( A. f  e.  (
x H y ) ( f ( <.
x ,  x >.  .x.  y ) g )  =  f  <->  A. f  e.  ( X H y ) ( f (
<. X ,  X >.  .x.  y ) g )  =  f ) )
2114, 20anbi12d 692 . . . 4  |-  ( (
ph  /\  x  =  X )  ->  (
( A. f  e.  ( y H x ) ( g (
<. y ,  x >.  .x.  x ) f )  =  f  /\  A. f  e.  ( x H y ) ( f ( <. x ,  x >.  .x.  y ) g )  =  f )  <->  ( A. f  e.  ( y H X ) ( g (
<. y ,  X >.  .x. 
X ) f )  =  f  /\  A. f  e.  ( X H y ) ( f ( <. X ,  X >.  .x.  y )
g )  =  f ) ) )
2221ralbidv 2717 . . 3  |-  ( (
ph  /\  x  =  X )  ->  ( A. y  e.  B  ( A. f  e.  ( y H x ) ( g ( <.
y ,  x >.  .x.  x ) f )  =  f  /\  A. f  e.  ( x H y ) ( f ( <. x ,  x >.  .x.  y ) g )  =  f )  <->  A. y  e.  B  ( A. f  e.  ( y H X ) ( g ( <.
y ,  X >.  .x. 
X ) f )  =  f  /\  A. f  e.  ( X H y ) ( f ( <. X ,  X >.  .x.  y )
g )  =  f ) ) )
238, 22riotaeqbidv 6544 . 2  |-  ( (
ph  /\  x  =  X )  ->  ( iota_ g  e.  ( x H x ) A. y  e.  B  ( A. f  e.  (
y H x ) ( g ( <.
y ,  x >.  .x.  x ) f )  =  f  /\  A. f  e.  ( x H y ) ( f ( <. x ,  x >.  .x.  y ) g )  =  f ) )  =  (
iota_ g  e.  ( X H X ) A. y  e.  B  ( A. f  e.  (
y H X ) ( g ( <.
y ,  X >.  .x. 
X ) f )  =  f  /\  A. f  e.  ( X H y ) ( f ( <. X ,  X >.  .x.  y )
g )  =  f ) ) )
24 cidval.x . 2  |-  ( ph  ->  X  e.  B )
25 riotaex 6545 . . 3  |-  ( iota_ g  e.  ( X H X ) A. y  e.  B  ( A. f  e.  ( y H X ) ( g ( <. y ,  X >.  .x.  X ) f )  =  f  /\  A. f  e.  ( X H y ) ( f ( <. X ,  X >.  .x.  y )
g )  =  f ) )  e.  _V
2625a1i 11 . 2  |-  ( ph  ->  ( iota_ g  e.  ( X H X ) A. y  e.  B  ( A. f  e.  ( y H X ) ( g ( <.
y ,  X >.  .x. 
X ) f )  =  f  /\  A. f  e.  ( X H y ) ( f ( <. X ,  X >.  .x.  y )
g )  =  f ) )  e.  _V )
276, 23, 24, 26fvmptd 5802 1  |-  ( ph  ->  (  .1.  `  X
)  =  ( iota_ g  e.  ( X H X ) A. y  e.  B  ( A. f  e.  ( y H X ) ( g ( <. y ,  X >.  .x.  X ) f )  =  f  /\  A. f  e.  ( X H y ) ( f ( <. X ,  X >.  .x.  y )
g )  =  f ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    = wceq 1652    e. wcel 1725   A.wral 2697   _Vcvv 2948   <.cop 3809   ` cfv 5446  (class class class)co 6073   iota_crio 6534   Basecbs 13461    Hom chom 13532  compcco 13533   Catccat 13881   Idccid 13882
This theorem is referenced by:  catidcl  13899  catlid  13900  catrid  13901
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-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-rep 4312  ax-sep 4322  ax-nul 4330  ax-pr 4395
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-ral 2702  df-rex 2703  df-reu 2704  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-nul 3621  df-if 3732  df-sn 3812  df-pr 3813  df-op 3815  df-uni 4008  df-iun 4087  df-br 4205  df-opab 4259  df-mpt 4260  df-id 4490  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454  df-ov 6076  df-riota 6541  df-cid 13886
  Copyright terms: Public domain W3C validator