MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  rhmsubc Structured version   Visualization version   GIF version

Theorem rhmsubc 20668
Description: According to df-subc 17777, the subcategories (Subcat‘𝐶) of a category 𝐶 are subsets of the homomorphisms of 𝐶 (see subcssc 17805 and subcss2 17808). Therefore, the set of unital ring homomorphisms is a "subcategory" of the category of non-unital rings. (Contributed by AV, 2-Mar-2020.)
Hypotheses
Ref Expression
rngcrescrhm.u (𝜑𝑈𝑉)
rngcrescrhm.c 𝐶 = (RngCat‘𝑈)
rngcrescrhm.r (𝜑𝑅 = (Ring ∩ 𝑈))
rngcrescrhm.h 𝐻 = ( RingHom ↾ (𝑅 × 𝑅))
Assertion
Ref Expression
rhmsubc (𝜑𝐻 ∈ (Subcat‘(RngCat‘𝑈)))

Proof of Theorem rhmsubc
Dummy variables 𝑥 𝑦 𝑧 𝑓 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 rngcrescrhm.u . . . 4 (𝜑𝑈𝑉)
2 rngcrescrhm.r . . . 4 (𝜑𝑅 = (Ring ∩ 𝑈))
3 eqidd 2741 . . . 4 (𝜑 → (Rng ∩ 𝑈) = (Rng ∩ 𝑈))
41, 2, 3rhmsscrnghm 20644 . . 3 (𝜑 → ( RingHom ↾ (𝑅 × 𝑅)) ⊆cat ( RngHom ↾ ((Rng ∩ 𝑈) × (Rng ∩ 𝑈))))
5 rngcrescrhm.h . . . 4 𝐻 = ( RingHom ↾ (𝑅 × 𝑅))
65a1i 11 . . 3 (𝜑𝐻 = ( RingHom ↾ (𝑅 × 𝑅)))
7 rngcrescrhm.c . . . . . . 7 𝐶 = (RngCat‘𝑈)
87a1i 11 . . . . . 6 (𝜑𝐶 = (RngCat‘𝑈))
98eqcomd 2746 . . . . 5 (𝜑 → (RngCat‘𝑈) = 𝐶)
109fveq2d 6838 . . . 4 (𝜑 → (Homf ‘(RngCat‘𝑈)) = (Homf𝐶))
11 eqid 2740 . . . . 5 (Base‘𝐶) = (Base‘𝐶)
127, 11, 1rngchomfeqhom 20604 . . . 4 (𝜑 → (Homf𝐶) = (Hom ‘𝐶))
13 eqid 2740 . . . . . 6 (Hom ‘𝐶) = (Hom ‘𝐶)
147, 11, 1, 13rngchomfval 20601 . . . . 5 (𝜑 → (Hom ‘𝐶) = ( RngHom ↾ ((Base‘𝐶) × (Base‘𝐶))))
157, 11, 1rngcbas 20600 . . . . . . . 8 (𝜑 → (Base‘𝐶) = (𝑈 ∩ Rng))
16 incom 4145 . . . . . . . 8 (𝑈 ∩ Rng) = (Rng ∩ 𝑈)
1715, 16eqtrdi 2791 . . . . . . 7 (𝜑 → (Base‘𝐶) = (Rng ∩ 𝑈))
1817sqxpeqd 5657 . . . . . 6 (𝜑 → ((Base‘𝐶) × (Base‘𝐶)) = ((Rng ∩ 𝑈) × (Rng ∩ 𝑈)))
1918reseq2d 5938 . . . . 5 (𝜑 → ( RngHom ↾ ((Base‘𝐶) × (Base‘𝐶))) = ( RngHom ↾ ((Rng ∩ 𝑈) × (Rng ∩ 𝑈))))
2014, 19eqtrd 2775 . . . 4 (𝜑 → (Hom ‘𝐶) = ( RngHom ↾ ((Rng ∩ 𝑈) × (Rng ∩ 𝑈))))
2110, 12, 203eqtrd 2779 . . 3 (𝜑 → (Homf ‘(RngCat‘𝑈)) = ( RngHom ↾ ((Rng ∩ 𝑈) × (Rng ∩ 𝑈))))
224, 6, 213brtr4d 5111 . 2 (𝜑𝐻cat (Homf ‘(RngCat‘𝑈)))
231, 7, 2, 5rhmsubclem3 20666 . . . 4 ((𝜑𝑥𝑅) → ((Id‘(RngCat‘𝑈))‘𝑥) ∈ (𝑥𝐻𝑥))
241, 7, 2, 5rhmsubclem4 20667 . . . . . 6 ((((𝜑𝑥𝑅) ∧ (𝑦𝑅𝑧𝑅)) ∧ (𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑧))) → (𝑔(⟨𝑥, 𝑦⟩(comp‘(RngCat‘𝑈))𝑧)𝑓) ∈ (𝑥𝐻𝑧))
2524ralrimivva 3183 . . . . 5 (((𝜑𝑥𝑅) ∧ (𝑦𝑅𝑧𝑅)) → ∀𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘(RngCat‘𝑈))𝑧)𝑓) ∈ (𝑥𝐻𝑧))
2625ralrimivva 3183 . . . 4 ((𝜑𝑥𝑅) → ∀𝑦𝑅𝑧𝑅𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘(RngCat‘𝑈))𝑧)𝑓) ∈ (𝑥𝐻𝑧))
2723, 26jca 516 . . 3 ((𝜑𝑥𝑅) → (((Id‘(RngCat‘𝑈))‘𝑥) ∈ (𝑥𝐻𝑥) ∧ ∀𝑦𝑅𝑧𝑅𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘(RngCat‘𝑈))𝑧)𝑓) ∈ (𝑥𝐻𝑧)))
2827ralrimiva 3132 . 2 (𝜑 → ∀𝑥𝑅 (((Id‘(RngCat‘𝑈))‘𝑥) ∈ (𝑥𝐻𝑥) ∧ ∀𝑦𝑅𝑧𝑅𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘(RngCat‘𝑈))𝑧)𝑓) ∈ (𝑥𝐻𝑧)))
29 eqid 2740 . . 3 (Homf ‘(RngCat‘𝑈)) = (Homf ‘(RngCat‘𝑈))
30 eqid 2740 . . 3 (Id‘(RngCat‘𝑈)) = (Id‘(RngCat‘𝑈))
31 eqid 2740 . . 3 (comp‘(RngCat‘𝑈)) = (comp‘(RngCat‘𝑈))
32 eqid 2740 . . . . 5 (RngCat‘𝑈) = (RngCat‘𝑈)
3332rngccat 20613 . . . 4 (𝑈𝑉 → (RngCat‘𝑈) ∈ Cat)
341, 33syl 17 . . 3 (𝜑 → (RngCat‘𝑈) ∈ Cat)
351, 7, 2, 5rhmsubclem1 20664 . . 3 (𝜑𝐻 Fn (𝑅 × 𝑅))
3629, 30, 31, 34, 35issubc2 17801 . 2 (𝜑 → (𝐻 ∈ (Subcat‘(RngCat‘𝑈)) ↔ (𝐻cat (Homf ‘(RngCat‘𝑈)) ∧ ∀𝑥𝑅 (((Id‘(RngCat‘𝑈))‘𝑥) ∈ (𝑥𝐻𝑥) ∧ ∀𝑦𝑅𝑧𝑅𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘(RngCat‘𝑈))𝑧)𝑓) ∈ (𝑥𝐻𝑧)))))
3722, 28, 36mpbir2and 719 1 (𝜑𝐻 ∈ (Subcat‘(RngCat‘𝑈)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1547  wcel 2119  wral 3054  cin 3889  cop 4568   class class class wbr 5079   × cxp 5623  cres 5627  cfv 6492  (class class class)co 7363  Basecbs 17177  Hom chom 17229  compcco 17230  Catccat 17628  Idccid 17629  Homf chomf 17630  cat cssc 17772  Subcatcsubc 17774  Rngcrng 20131  Ringcrg 20212   RngHom crnghm 20412   RingHom crh 20447  RngCatcrngc 20595
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-10 2152  ax-11 2168  ax-12 2189  ax-ext 2712  ax-rep 5206  ax-sep 5225  ax-nul 5235  ax-pow 5301  ax-pr 5369  ax-un 7685  ax-cnex 11092  ax-resscn 11093  ax-1cn 11094  ax-icn 11095  ax-addcl 11096  ax-addrcl 11097  ax-mulcl 11098  ax-mulrcl 11099  ax-mulcom 11100  ax-addass 11101  ax-mulass 11102  ax-distr 11103  ax-i2m1 11104  ax-1ne0 11105  ax-1rid 11106  ax-rnegex 11107  ax-rrecex 11108  ax-cnre 11109  ax-pre-lttri 11110  ax-pre-lttrn 11111  ax-pre-ltadd 11112  ax-pre-mulgt0 11113
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3or 1093  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2543  df-eu 2573  df-clab 2719  df-cleq 2732  df-clel 2815  df-nfc 2889  df-ne 2936  df-nel 3040  df-ral 3055  df-rex 3065  df-rmo 3345  df-reu 3346  df-rab 3393  df-v 3434  df-sbc 3731  df-csb 3839  df-dif 3893  df-un 3895  df-in 3897  df-ss 3907  df-pss 3910  df-nul 4269  df-if 4462  df-pw 4538  df-sn 4563  df-pr 4565  df-tp 4567  df-op 4569  df-uni 4846  df-iun 4930  df-br 5080  df-opab 5142  df-mpt 5161  df-tr 5187  df-id 5520  df-eprel 5525  df-po 5533  df-so 5534  df-fr 5578  df-we 5580  df-xp 5631  df-rel 5632  df-cnv 5633  df-co 5634  df-dm 5635  df-rn 5636  df-res 5637  df-ima 5638  df-pred 6259  df-ord 6320  df-on 6321  df-lim 6322  df-suc 6323  df-iota 6448  df-fun 6494  df-fn 6495  df-f 6496  df-f1 6497  df-fo 6498  df-f1o 6499  df-fv 6500  df-riota 7320  df-ov 7366  df-oprab 7367  df-mpo 7368  df-om 7814  df-1st 7938  df-2nd 7939  df-frecs 8228  df-wrecs 8259  df-recs 8308  df-rdg 8346  df-1o 8402  df-er 8640  df-map 8772  df-pm 8773  df-ixp 8843  df-en 8891  df-dom 8892  df-sdom 8893  df-fin 8894  df-pnf 11179  df-mnf 11180  df-xr 11181  df-ltxr 11182  df-le 11183  df-sub 11377  df-neg 11378  df-nn 12173  df-2 12242  df-3 12243  df-4 12244  df-5 12245  df-6 12246  df-7 12247  df-8 12248  df-9 12249  df-n0 12436  df-z 12523  df-dec 12643  df-uz 12787  df-fz 13460  df-struct 17115  df-sets 17132  df-slot 17150  df-ndx 17162  df-base 17178  df-ress 17199  df-plusg 17231  df-hom 17242  df-cco 17243  df-0g 17402  df-cat 17632  df-cid 17633  df-homf 17634  df-ssc 17775  df-resc 17776  df-subc 17777  df-estrc 18087  df-mgm 18606  df-mgmhm 18658  df-sgrp 18685  df-mnd 18701  df-mhm 18749  df-grp 18910  df-minusg 18911  df-ghm 19186  df-cmn 19755  df-abl 19756  df-mgp 20120  df-rng 20132  df-ur 20161  df-ring 20214  df-rnghm 20414  df-rhm 20450  df-rngc 20596
This theorem is referenced by:  rhmsubccat  20669
  Copyright terms: Public domain W3C validator