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

Theorem monpropd 15225
Description: If two categories have the same set of objects, morphisms, and compositions, then they have the same monomorphisms. (Contributed by Mario Carneiro, 3-Jan-2017.)
Hypotheses
Ref Expression
monpropd.3  |-  ( ph  ->  ( Hom f  `  C )  =  ( Hom f  `  D ) )
monpropd.4  |-  ( ph  ->  (compf `  C )  =  (compf `  D ) )
monpropd.c  |-  ( ph  ->  C  e.  Cat )
monpropd.d  |-  ( ph  ->  D  e.  Cat )
Assertion
Ref Expression
monpropd  |-  ( ph  ->  (Mono `  C )  =  (Mono `  D )
)

Proof of Theorem monpropd
Dummy variables  a 
b  c  f  g are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2454 . . . . . . . . . . . 12  |-  ( Base `  C )  =  (
Base `  C )
2 eqid 2454 . . . . . . . . . . . 12  |-  ( Hom  `  C )  =  ( Hom  `  C )
3 eqid 2454 . . . . . . . . . . . 12  |-  ( Hom  `  D )  =  ( Hom  `  D )
4 monpropd.3 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( Hom f  `  C )  =  ( Hom f  `  D ) )
54ad2antrr 723 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  a  e.  ( Base `  C
) )  /\  b  e.  ( Base `  C
) )  ->  ( Hom f  `  C )  =  ( Hom f  `  D ) )
65ad2antrr 723 . . . . . . . . . . . 12  |-  ( ( ( ( ( ph  /\  a  e.  ( Base `  C ) )  /\  b  e.  ( Base `  C ) )  /\  f  e.  ( a
( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C ) )  -> 
( Hom f  `  C )  =  ( Hom f  `  D ) )
7 simpr 459 . . . . . . . . . . . 12  |-  ( ( ( ( ( ph  /\  a  e.  ( Base `  C ) )  /\  b  e.  ( Base `  C ) )  /\  f  e.  ( a
( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C ) )  -> 
c  e.  ( Base `  C ) )
8 simp-4r 766 . . . . . . . . . . . 12  |-  ( ( ( ( ( ph  /\  a  e.  ( Base `  C ) )  /\  b  e.  ( Base `  C ) )  /\  f  e.  ( a
( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C ) )  -> 
a  e.  ( Base `  C ) )
91, 2, 3, 6, 7, 8homfeqval 15185 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  a  e.  ( Base `  C ) )  /\  b  e.  ( Base `  C ) )  /\  f  e.  ( a
( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C ) )  -> 
( c ( Hom  `  C ) a )  =  ( c ( Hom  `  D )
a ) )
10 eqid 2454 . . . . . . . . . . . 12  |-  (comp `  C )  =  (comp `  C )
11 eqid 2454 . . . . . . . . . . . 12  |-  (comp `  D )  =  (comp `  D )
124ad5antr 731 . . . . . . . . . . . 12  |-  ( ( ( ( ( (
ph  /\  a  e.  ( Base `  C )
)  /\  b  e.  ( Base `  C )
)  /\  f  e.  ( a ( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C
) )  /\  g  e.  ( c ( Hom  `  C ) a ) )  ->  ( Hom f  `  C
)  =  ( Hom f  `  D ) )
13 monpropd.4 . . . . . . . . . . . . 13  |-  ( ph  ->  (compf `  C )  =  (compf `  D ) )
1413ad5antr 731 . . . . . . . . . . . 12  |-  ( ( ( ( ( (
ph  /\  a  e.  ( Base `  C )
)  /\  b  e.  ( Base `  C )
)  /\  f  e.  ( a ( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C
) )  /\  g  e.  ( c ( Hom  `  C ) a ) )  ->  (compf `  C )  =  (compf `  D ) )
15 simplr 753 . . . . . . . . . . . 12  |-  ( ( ( ( ( (
ph  /\  a  e.  ( Base `  C )
)  /\  b  e.  ( Base `  C )
)  /\  f  e.  ( a ( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C
) )  /\  g  e.  ( c ( Hom  `  C ) a ) )  ->  c  e.  ( Base `  C )
)
16 simp-5r 768 . . . . . . . . . . . 12  |-  ( ( ( ( ( (
ph  /\  a  e.  ( Base `  C )
)  /\  b  e.  ( Base `  C )
)  /\  f  e.  ( a ( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C
) )  /\  g  e.  ( c ( Hom  `  C ) a ) )  ->  a  e.  ( Base `  C )
)
17 simp-4r 766 . . . . . . . . . . . 12  |-  ( ( ( ( ( (
ph  /\  a  e.  ( Base `  C )
)  /\  b  e.  ( Base `  C )
)  /\  f  e.  ( a ( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C
) )  /\  g  e.  ( c ( Hom  `  C ) a ) )  ->  b  e.  ( Base `  C )
)
18 simpr 459 . . . . . . . . . . . 12  |-  ( ( ( ( ( (
ph  /\  a  e.  ( Base `  C )
)  /\  b  e.  ( Base `  C )
)  /\  f  e.  ( a ( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C
) )  /\  g  e.  ( c ( Hom  `  C ) a ) )  ->  g  e.  ( c ( Hom  `  C ) a ) )
19 simpllr 758 . . . . . . . . . . . 12  |-  ( ( ( ( ( (
ph  /\  a  e.  ( Base `  C )
)  /\  b  e.  ( Base `  C )
)  /\  f  e.  ( a ( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C
) )  /\  g  e.  ( c ( Hom  `  C ) a ) )  ->  f  e.  ( a ( Hom  `  C ) b ) )
201, 2, 10, 11, 12, 14, 15, 16, 17, 18, 19comfeqval 15196 . . . . . . . . . . 11  |-  ( ( ( ( ( (
ph  /\  a  e.  ( Base `  C )
)  /\  b  e.  ( Base `  C )
)  /\  f  e.  ( a ( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C
) )  /\  g  e.  ( c ( Hom  `  C ) a ) )  ->  ( f
( <. c ,  a
>. (comp `  C )
b ) g )  =  ( f (
<. c ,  a >.
(comp `  D )
b ) g ) )
219, 20mpteq12dva 4516 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  a  e.  ( Base `  C ) )  /\  b  e.  ( Base `  C ) )  /\  f  e.  ( a
( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C ) )  -> 
( g  e.  ( c ( Hom  `  C
) a )  |->  ( f ( <. c ,  a >. (comp `  C ) b ) g ) )  =  ( g  e.  ( c ( Hom  `  D
) a )  |->  ( f ( <. c ,  a >. (comp `  D ) b ) g ) ) )
2221cnveqd 5167 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  a  e.  ( Base `  C ) )  /\  b  e.  ( Base `  C ) )  /\  f  e.  ( a
( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C ) )  ->  `' ( g  e.  ( c ( Hom  `  C ) a ) 
|->  ( f ( <.
c ,  a >.
(comp `  C )
b ) g ) )  =  `' ( g  e.  ( c ( Hom  `  D
) a )  |->  ( f ( <. c ,  a >. (comp `  D ) b ) g ) ) )
2322funeqd 5591 . . . . . . . 8  |-  ( ( ( ( ( ph  /\  a  e.  ( Base `  C ) )  /\  b  e.  ( Base `  C ) )  /\  f  e.  ( a
( Hom  `  C ) b ) )  /\  c  e.  ( Base `  C ) )  -> 
( Fun  `' (
g  e.  ( c ( Hom  `  C
) a )  |->  ( f ( <. c ,  a >. (comp `  C ) b ) g ) )  <->  Fun  `' ( g  e.  ( c ( Hom  `  D
) a )  |->  ( f ( <. c ,  a >. (comp `  D ) b ) g ) ) ) )
2423ralbidva 2890 . . . . . . 7  |-  ( ( ( ( ph  /\  a  e.  ( Base `  C ) )  /\  b  e.  ( Base `  C ) )  /\  f  e.  ( a
( Hom  `  C ) b ) )  -> 
( A. c  e.  ( Base `  C
) Fun  `' (
g  e.  ( c ( Hom  `  C
) a )  |->  ( f ( <. c ,  a >. (comp `  C ) b ) g ) )  <->  A. c  e.  ( Base `  C
) Fun  `' (
g  e.  ( c ( Hom  `  D
) a )  |->  ( f ( <. c ,  a >. (comp `  D ) b ) g ) ) ) )
2524rabbidva 3097 . . . . . 6  |-  ( ( ( ph  /\  a  e.  ( Base `  C
) )  /\  b  e.  ( Base `  C
) )  ->  { f  e.  ( a ( Hom  `  C )
b )  |  A. c  e.  ( Base `  C ) Fun  `' ( g  e.  ( c ( Hom  `  C
) a )  |->  ( f ( <. c ,  a >. (comp `  C ) b ) g ) ) }  =  { f  e.  ( a ( Hom  `  C ) b )  |  A. c  e.  ( Base `  C
) Fun  `' (
g  e.  ( c ( Hom  `  D
) a )  |->  ( f ( <. c ,  a >. (comp `  D ) b ) g ) ) } )
26 simplr 753 . . . . . . . 8  |-  ( ( ( ph  /\  a  e.  ( Base `  C
) )  /\  b  e.  ( Base `  C
) )  ->  a  e.  ( Base `  C
) )
27 simpr 459 . . . . . . . 8  |-  ( ( ( ph  /\  a  e.  ( Base `  C
) )  /\  b  e.  ( Base `  C
) )  ->  b  e.  ( Base `  C
) )
281, 2, 3, 5, 26, 27homfeqval 15185 . . . . . . 7  |-  ( ( ( ph  /\  a  e.  ( Base `  C
) )  /\  b  e.  ( Base `  C
) )  ->  (
a ( Hom  `  C
) b )  =  ( a ( Hom  `  D ) b ) )
294homfeqbas 15184 . . . . . . . . 9  |-  ( ph  ->  ( Base `  C
)  =  ( Base `  D ) )
3029ad2antrr 723 . . . . . . . 8  |-  ( ( ( ph  /\  a  e.  ( Base `  C
) )  /\  b  e.  ( Base `  C
) )  ->  ( Base `  C )  =  ( Base `  D
) )
3130raleqdv 3057 . . . . . . 7  |-  ( ( ( ph  /\  a  e.  ( Base `  C
) )  /\  b  e.  ( Base `  C
) )  ->  ( A. c  e.  ( Base `  C ) Fun  `' ( g  e.  ( c ( Hom  `  D ) a ) 
|->  ( f ( <.
c ,  a >.
(comp `  D )
b ) g ) )  <->  A. c  e.  (
Base `  D ) Fun  `' ( g  e.  ( c ( Hom  `  D ) a ) 
|->  ( f ( <.
c ,  a >.
(comp `  D )
b ) g ) ) ) )
3228, 31rabeqbidv 3101 . . . . . 6  |-  ( ( ( ph  /\  a  e.  ( Base `  C
) )  /\  b  e.  ( Base `  C
) )  ->  { f  e.  ( a ( Hom  `  C )
b )  |  A. c  e.  ( Base `  C ) Fun  `' ( g  e.  ( c ( Hom  `  D
) a )  |->  ( f ( <. c ,  a >. (comp `  D ) b ) g ) ) }  =  { f  e.  ( a ( Hom  `  D ) b )  |  A. c  e.  ( Base `  D
) Fun  `' (
g  e.  ( c ( Hom  `  D
) a )  |->  ( f ( <. c ,  a >. (comp `  D ) b ) g ) ) } )
3325, 32eqtrd 2495 . . . . 5  |-  ( ( ( ph  /\  a  e.  ( Base `  C
) )  /\  b  e.  ( Base `  C
) )  ->  { f  e.  ( a ( Hom  `  C )
b )  |  A. c  e.  ( Base `  C ) Fun  `' ( g  e.  ( c ( Hom  `  C
) a )  |->  ( f ( <. c ,  a >. (comp `  C ) b ) g ) ) }  =  { f  e.  ( a ( Hom  `  D ) b )  |  A. c  e.  ( Base `  D
) Fun  `' (
g  e.  ( c ( Hom  `  D
) a )  |->  ( f ( <. c ,  a >. (comp `  D ) b ) g ) ) } )
34333impa 1189 . . . 4  |-  ( (
ph  /\  a  e.  ( Base `  C )  /\  b  e.  ( Base `  C ) )  ->  { f  e.  ( a ( Hom  `  C ) b )  |  A. c  e.  ( Base `  C
) Fun  `' (
g  e.  ( c ( Hom  `  C
) a )  |->  ( f ( <. c ,  a >. (comp `  C ) b ) g ) ) }  =  { f  e.  ( a ( Hom  `  D ) b )  |  A. c  e.  ( Base `  D
) Fun  `' (
g  e.  ( c ( Hom  `  D
) a )  |->  ( f ( <. c ,  a >. (comp `  D ) b ) g ) ) } )
3534mpt2eq3dva 6334 . . 3  |-  ( ph  ->  ( a  e.  (
Base `  C ) ,  b  e.  ( Base `  C )  |->  { f  e.  ( a ( Hom  `  C
) b )  | 
A. c  e.  (
Base `  C ) Fun  `' ( g  e.  ( c ( Hom  `  C ) a ) 
|->  ( f ( <.
c ,  a >.
(comp `  C )
b ) g ) ) } )  =  ( a  e.  (
Base `  C ) ,  b  e.  ( Base `  C )  |->  { f  e.  ( a ( Hom  `  D
) b )  | 
A. c  e.  (
Base `  D ) Fun  `' ( g  e.  ( c ( Hom  `  D ) a ) 
|->  ( f ( <.
c ,  a >.
(comp `  D )
b ) g ) ) } ) )
36 mpt2eq12 6330 . . . 4  |-  ( ( ( Base `  C
)  =  ( Base `  D )  /\  ( Base `  C )  =  ( Base `  D
) )  ->  (
a  e.  ( Base `  C ) ,  b  e.  ( Base `  C
)  |->  { f  e.  ( a ( Hom  `  D ) b )  |  A. c  e.  ( Base `  D
) Fun  `' (
g  e.  ( c ( Hom  `  D
) a )  |->  ( f ( <. c ,  a >. (comp `  D ) b ) g ) ) } )  =  ( a  e.  ( Base `  D
) ,  b  e.  ( Base `  D
)  |->  { f  e.  ( a ( Hom  `  D ) b )  |  A. c  e.  ( Base `  D
) Fun  `' (
g  e.  ( c ( Hom  `  D
) a )  |->  ( f ( <. c ,  a >. (comp `  D ) b ) g ) ) } ) )
3729, 29, 36syl2anc 659 . . 3  |-  ( ph  ->  ( a  e.  (
Base `  C ) ,  b  e.  ( Base `  C )  |->  { f  e.  ( a ( Hom  `  D
) b )  | 
A. c  e.  (
Base `  D ) Fun  `' ( g  e.  ( c ( Hom  `  D ) a ) 
|->  ( f ( <.
c ,  a >.
(comp `  D )
b ) g ) ) } )  =  ( a  e.  (
Base `  D ) ,  b  e.  ( Base `  D )  |->  { f  e.  ( a ( Hom  `  D
) b )  | 
A. c  e.  (
Base `  D ) Fun  `' ( g  e.  ( c ( Hom  `  D ) a ) 
|->  ( f ( <.
c ,  a >.
(comp `  D )
b ) g ) ) } ) )
3835, 37eqtrd 2495 . 2  |-  ( ph  ->  ( a  e.  (
Base `  C ) ,  b  e.  ( Base `  C )  |->  { f  e.  ( a ( Hom  `  C
) b )  | 
A. c  e.  (
Base `  C ) Fun  `' ( g  e.  ( c ( Hom  `  C ) a ) 
|->  ( f ( <.
c ,  a >.
(comp `  C )
b ) g ) ) } )  =  ( a  e.  (
Base `  D ) ,  b  e.  ( Base `  D )  |->  { f  e.  ( a ( Hom  `  D
) b )  | 
A. c  e.  (
Base `  D ) Fun  `' ( g  e.  ( c ( Hom  `  D ) a ) 
|->  ( f ( <.
c ,  a >.
(comp `  D )
b ) g ) ) } ) )
39 eqid 2454 . . 3  |-  (Mono `  C )  =  (Mono `  C )
40 monpropd.c . . 3  |-  ( ph  ->  C  e.  Cat )
411, 2, 10, 39, 40monfval 15220 . 2  |-  ( ph  ->  (Mono `  C )  =  ( a  e.  ( Base `  C
) ,  b  e.  ( Base `  C
)  |->  { f  e.  ( a ( Hom  `  C ) b )  |  A. c  e.  ( Base `  C
) Fun  `' (
g  e.  ( c ( Hom  `  C
) a )  |->  ( f ( <. c ,  a >. (comp `  C ) b ) g ) ) } ) )
42 eqid 2454 . . 3  |-  ( Base `  D )  =  (
Base `  D )
43 eqid 2454 . . 3  |-  (Mono `  D )  =  (Mono `  D )
44 monpropd.d . . 3  |-  ( ph  ->  D  e.  Cat )
4542, 3, 11, 43, 44monfval 15220 . 2  |-  ( ph  ->  (Mono `  D )  =  ( a  e.  ( Base `  D
) ,  b  e.  ( Base `  D
)  |->  { f  e.  ( a ( Hom  `  D ) b )  |  A. c  e.  ( Base `  D
) Fun  `' (
g  e.  ( c ( Hom  `  D
) a )  |->  ( f ( <. c ,  a >. (comp `  D ) b ) g ) ) } ) )
4638, 41, 453eqtr4d 2505 1  |-  ( ph  ->  (Mono `  C )  =  (Mono `  D )
)
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 367    = wceq 1398    e. wcel 1823   A.wral 2804   {crab 2808   <.cop 4022    |-> cmpt 4497   `'ccnv 4987   Fun wfun 5564   ` cfv 5570  (class class class)co 6270    |-> cmpt2 6272   Basecbs 14716   Hom chom 14795  compcco 14796   Catccat 15153   Hom f chomf 15155  compfccomf 15156  Monocmon 15216
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1623  ax-4 1636  ax-5 1709  ax-6 1752  ax-7 1795  ax-8 1825  ax-9 1827  ax-10 1842  ax-11 1847  ax-12 1859  ax-13 2004  ax-ext 2432  ax-rep 4550  ax-sep 4560  ax-nul 4568  ax-pow 4615  ax-pr 4676  ax-un 6565
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3an 973  df-tru 1401  df-ex 1618  df-nf 1622  df-sb 1745  df-eu 2288  df-mo 2289  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2651  df-ral 2809  df-rex 2810  df-reu 2811  df-rab 2813  df-v 3108  df-sbc 3325  df-csb 3421  df-dif 3464  df-un 3466  df-in 3468  df-ss 3475  df-nul 3784  df-if 3930  df-pw 4001  df-sn 4017  df-pr 4019  df-op 4023  df-uni 4236  df-iun 4317  df-br 4440  df-opab 4498  df-mpt 4499  df-id 4784  df-xp 4994  df-rel 4995  df-cnv 4996  df-co 4997  df-dm 4998  df-rn 4999  df-res 5000  df-ima 5001  df-iota 5534  df-fun 5572  df-fn 5573  df-f 5574  df-f1 5575  df-fo 5576  df-f1o 5577  df-fv 5578  df-ov 6273  df-oprab 6274  df-mpt2 6275  df-1st 6773  df-2nd 6774  df-homf 15159  df-comf 15160  df-mon 15218
This theorem is referenced by:  oppcepi  15227
  Copyright terms: Public domain W3C validator