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

Theorem monfval 13950
Description: Definition of a monomorphism in a category. (Contributed by Mario Carneiro, 3-Jan-2017.)
Hypotheses
Ref Expression
ismon.b  |-  B  =  ( Base `  C
)
ismon.h  |-  H  =  (  Hom  `  C
)
ismon.o  |-  .x.  =  (comp `  C )
ismon.s  |-  M  =  (Mono `  C )
ismon.c  |-  ( ph  ->  C  e.  Cat )
Assertion
Ref Expression
monfval  |-  ( ph  ->  M  =  ( x  e.  B ,  y  e.  B  |->  { f  e.  ( x H y )  |  A. z  e.  B  Fun  `' ( g  e.  ( z H x ) 
|->  ( f ( <.
z ,  x >.  .x.  y ) g ) ) } ) )
Distinct variable groups:    f, g, x, y, z, B    ph, f,
g, x, y, z    C, f, g, x, y, z    f, H, g, x, y, z    .x. , f,
g, x, y, z   
f, M
Allowed substitution hints:    M( x, y, z, g)

Proof of Theorem monfval
Dummy variables  b 
c  h are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ismon.s . 2  |-  M  =  (Mono `  C )
2 ismon.c . . 3  |-  ( ph  ->  C  e.  Cat )
3 fvex 5734 . . . . . 6  |-  ( Base `  c )  e.  _V
43a1i 11 . . . . 5  |-  ( c  =  C  ->  ( Base `  c )  e. 
_V )
5 fveq2 5720 . . . . . 6  |-  ( c  =  C  ->  ( Base `  c )  =  ( Base `  C
) )
6 ismon.b . . . . . 6  |-  B  =  ( Base `  C
)
75, 6syl6eqr 2485 . . . . 5  |-  ( c  =  C  ->  ( Base `  c )  =  B )
8 fvex 5734 . . . . . . 7  |-  (  Hom  `  c )  e.  _V
98a1i 11 . . . . . 6  |-  ( ( c  =  C  /\  b  =  B )  ->  (  Hom  `  c
)  e.  _V )
10 simpl 444 . . . . . . . 8  |-  ( ( c  =  C  /\  b  =  B )  ->  c  =  C )
1110fveq2d 5724 . . . . . . 7  |-  ( ( c  =  C  /\  b  =  B )  ->  (  Hom  `  c
)  =  (  Hom  `  C ) )
12 ismon.h . . . . . . 7  |-  H  =  (  Hom  `  C
)
1311, 12syl6eqr 2485 . . . . . 6  |-  ( ( c  =  C  /\  b  =  B )  ->  (  Hom  `  c
)  =  H )
14 simplr 732 . . . . . . 7  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  b  =  B )
15 simpr 448 . . . . . . . . 9  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  h  =  H )
1615oveqd 6090 . . . . . . . 8  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  (
x h y )  =  ( x H y ) )
1715oveqd 6090 . . . . . . . . . . . 12  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  (
z h x )  =  ( z H x ) )
18 simpll 731 . . . . . . . . . . . . . . . 16  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  c  =  C )
1918fveq2d 5724 . . . . . . . . . . . . . . 15  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  (comp `  c )  =  (comp `  C ) )
20 ismon.o . . . . . . . . . . . . . . 15  |-  .x.  =  (comp `  C )
2119, 20syl6eqr 2485 . . . . . . . . . . . . . 14  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  (comp `  c )  =  .x.  )
2221oveqd 6090 . . . . . . . . . . . . 13  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  ( <. z ,  x >. (comp `  c ) y )  =  ( <. z ,  x >.  .x.  y ) )
2322oveqd 6090 . . . . . . . . . . . 12  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  (
f ( <. z ,  x >. (comp `  c
) y ) g )  =  ( f ( <. z ,  x >.  .x.  y ) g ) )
2417, 23mpteq12dv 4279 . . . . . . . . . . 11  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  (
g  e.  ( z h x )  |->  ( f ( <. z ,  x >. (comp `  c
) y ) g ) )  =  ( g  e.  ( z H x )  |->  ( f ( <. z ,  x >.  .x.  y ) g ) ) )
2524cnveqd 5040 . . . . . . . . . 10  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  `' ( g  e.  ( z h x ) 
|->  ( f ( <.
z ,  x >. (comp `  c ) y ) g ) )  =  `' ( g  e.  ( z H x )  |->  ( f (
<. z ,  x >.  .x.  y ) g ) ) )
2625funeqd 5467 . . . . . . . . 9  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  ( Fun  `' ( g  e.  ( z h x )  |->  ( f (
<. z ,  x >. (comp `  c ) y ) g ) )  <->  Fun  `' ( g  e.  ( z H x )  |->  ( f ( <. z ,  x >.  .x.  y ) g ) ) ) )
2714, 26raleqbidv 2908 . . . . . . . 8  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  ( A. z  e.  b  Fun  `' ( g  e.  ( z h x )  |->  ( f (
<. z ,  x >. (comp `  c ) y ) g ) )  <->  A. z  e.  B  Fun  `' ( g  e.  ( z H x )  |->  ( f ( <. z ,  x >.  .x.  y ) g ) ) ) )
2816, 27rabeqbidv 2943 . . . . . . 7  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  { f  e.  ( x h y )  |  A. z  e.  b  Fun  `' ( g  e.  ( z h x ) 
|->  ( f ( <.
z ,  x >. (comp `  c ) y ) g ) ) }  =  { f  e.  ( x H y )  |  A. z  e.  B  Fun  `' ( g  e.  ( z H x )  |->  ( f ( <. z ,  x >.  .x.  y ) g ) ) } )
2914, 14, 28mpt2eq123dv 6128 . . . . . 6  |-  ( ( ( c  =  C  /\  b  =  B )  /\  h  =  H )  ->  (
x  e.  b ,  y  e.  b  |->  { f  e.  ( x h y )  | 
A. z  e.  b  Fun  `' ( g  e.  ( z h x )  |->  ( f ( <. z ,  x >. (comp `  c )
y ) g ) ) } )  =  ( x  e.  B ,  y  e.  B  |->  { f  e.  ( x H y )  |  A. z  e.  B  Fun  `' ( g  e.  ( z H x )  |->  ( f ( <. z ,  x >.  .x.  y ) g ) ) } ) )
309, 13, 29csbied2 3286 . . . . 5  |-  ( ( c  =  C  /\  b  =  B )  ->  [_ (  Hom  `  c
)  /  h ]_ ( x  e.  b ,  y  e.  b  |->  { f  e.  ( x h y )  |  A. z  e.  b  Fun  `' ( g  e.  ( z h x )  |->  ( f ( <. z ,  x >. (comp `  c
) y ) g ) ) } )  =  ( x  e.  B ,  y  e.  B  |->  { f  e.  ( x H y )  |  A. z  e.  B  Fun  `' ( g  e.  ( z H x )  |->  ( f ( <. z ,  x >.  .x.  y ) g ) ) } ) )
314, 7, 30csbied2 3286 . . . 4  |-  ( c  =  C  ->  [_ ( Base `  c )  / 
b ]_ [_ (  Hom  `  c )  /  h ]_ ( x  e.  b ,  y  e.  b 
|->  { f  e.  ( x h y )  |  A. z  e.  b  Fun  `' ( g  e.  ( z h x )  |->  ( f ( <. z ,  x >. (comp `  c
) y ) g ) ) } )  =  ( x  e.  B ,  y  e.  B  |->  { f  e.  ( x H y )  |  A. z  e.  B  Fun  `' ( g  e.  ( z H x )  |->  ( f ( <. z ,  x >.  .x.  y ) g ) ) } ) )
32 df-mon 13948 . . . 4  |- Mono  =  ( c  e.  Cat  |->  [_ ( Base `  c )  /  b ]_ [_ (  Hom  `  c )  /  h ]_ ( x  e.  b ,  y  e.  b  |->  { f  e.  ( x h y )  |  A. z  e.  b  Fun  `' ( g  e.  ( z h x )  |->  ( f ( <. z ,  x >. (comp `  c
) y ) g ) ) } ) )
33 fvex 5734 . . . . . 6  |-  ( Base `  C )  e.  _V
346, 33eqeltri 2505 . . . . 5  |-  B  e. 
_V
3534, 34mpt2ex 6417 . . . 4  |-  ( x  e.  B ,  y  e.  B  |->  { f  e.  ( x H y )  |  A. z  e.  B  Fun  `' ( g  e.  ( z H x ) 
|->  ( f ( <.
z ,  x >.  .x.  y ) g ) ) } )  e. 
_V
3631, 32, 35fvmpt 5798 . . 3  |-  ( C  e.  Cat  ->  (Mono `  C )  =  ( x  e.  B , 
y  e.  B  |->  { f  e.  ( x H y )  | 
A. z  e.  B  Fun  `' ( g  e.  ( z H x )  |->  ( f (
<. z ,  x >.  .x.  y ) g ) ) } ) )
372, 36syl 16 . 2  |-  ( ph  ->  (Mono `  C )  =  ( x  e.  B ,  y  e.  B  |->  { f  e.  ( x H y )  |  A. z  e.  B  Fun  `' ( g  e.  ( z H x )  |->  ( f ( <. z ,  x >.  .x.  y ) g ) ) } ) )
381, 37syl5eq 2479 1  |-  ( ph  ->  M  =  ( x  e.  B ,  y  e.  B  |->  { f  e.  ( x H y )  |  A. z  e.  B  Fun  `' ( g  e.  ( z H x ) 
|->  ( f ( <.
z ,  x >.  .x.  y ) g ) ) } ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    = wceq 1652    e. wcel 1725   A.wral 2697   {crab 2701   _Vcvv 2948   [_csb 3243   <.cop 3809    e. cmpt 4258   `'ccnv 4869   Fun wfun 5440   ` cfv 5446  (class class class)co 6073    e. cmpt2 6075   Basecbs 13461    Hom chom 13532  compcco 13533   Catccat 13881  Monocmon 13946
This theorem is referenced by:  ismon  13951  monpropd  13955
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 2416  ax-rep 4312  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693
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-pw 3793  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-oprab 6077  df-mpt2 6078  df-1st 6341  df-2nd 6342  df-mon 13948
  Copyright terms: Public domain W3C validator