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

Theorem rhmsubc 20825
Description: According to df-subc 17894, the subcategories (Subcat‘𝐶) of a category 𝐶 are subsets of the homomorphisms of 𝐶 (see subcssc 17922 and subcss2 17925). 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 2767 . . . 4 (𝜑 → (Rng ∩ 𝑈) = (Rng ∩ 𝑈))
41, 2, 3rhmsscrnghm 20801 . . 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 2772 . . . . 5 (𝜑 → (RngCat‘𝑈) = 𝐶)
109fveq2d 6892 . . . 4 (𝜑 → (Homf ‘(RngCat‘𝑈)) = (Homf𝐶))
11 eqid 2766 . . . . 5 (Base‘𝐶) = (Base‘𝐶)
127, 11, 1rngchomfeqhom 20761 . . . 4 (𝜑 → (Homf𝐶) = (Hom ‘𝐶))
13 eqid 2766 . . . . . 6 (Hom ‘𝐶) = (Hom ‘𝐶)
147, 11, 1, 13rngchomfval 20758 . . . . 5 (𝜑 → (Hom ‘𝐶) = ( RngHom ↾ ((Base‘𝐶) × (Base‘𝐶))))
157, 11, 1rngcbas 20757 . . . . . . . 8 (𝜑 → (Base‘𝐶) = (𝑈 ∩ Rng))
16 incom 4165 . . . . . . . 8 (𝑈 ∩ Rng) = (Rng ∩ 𝑈)
1715, 16eqtrdi 2817 . . . . . . 7 (𝜑 → (Base‘𝐶) = (Rng ∩ 𝑈))
1817sqxpeqd 5698 . . . . . 6 (𝜑 → ((Base‘𝐶) × (Base‘𝐶)) = ((Rng ∩ 𝑈) × (Rng ∩ 𝑈)))
1918reseq2d 5983 . . . . 5 (𝜑 → ( RngHom ↾ ((Base‘𝐶) × (Base‘𝐶))) = ( RngHom ↾ ((Rng ∩ 𝑈) × (Rng ∩ 𝑈))))
2014, 19eqtrd 2801 . . . 4 (𝜑 → (Hom ‘𝐶) = ( RngHom ↾ ((Rng ∩ 𝑈) × (Rng ∩ 𝑈))))
2110, 12, 203eqtrd 2805 . . 3 (𝜑 → (Homf ‘(RngCat‘𝑈)) = ( RngHom ↾ ((Rng ∩ 𝑈) × (Rng ∩ 𝑈))))
224, 6, 213brtr4d 5148 . 2 (𝜑𝐻cat (Homf ‘(RngCat‘𝑈)))
231, 7, 2, 5rhmsubclem3 20823 . . . 4 ((𝜑𝑥𝑅) → ((Id‘(RngCat‘𝑈))‘𝑥) ∈ (𝑥𝐻𝑥))
241, 7, 2, 5rhmsubclem4 20824 . . . . . 6 ((((𝜑𝑥𝑅) ∧ (𝑦𝑅𝑧𝑅)) ∧ (𝑓 ∈ (𝑥𝐻𝑦) ∧ 𝑔 ∈ (𝑦𝐻𝑧))) → (𝑔(⟨𝑥, 𝑦⟩(comp‘(RngCat‘𝑈))𝑧)𝑓) ∈ (𝑥𝐻𝑧))
2524ralrimivva 3211 . . . . 5 (((𝜑𝑥𝑅) ∧ (𝑦𝑅𝑧𝑅)) → ∀𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘(RngCat‘𝑈))𝑧)𝑓) ∈ (𝑥𝐻𝑧))
2625ralrimivva 3211 . . . 4 ((𝜑𝑥𝑅) → ∀𝑦𝑅𝑧𝑅𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘(RngCat‘𝑈))𝑧)𝑓) ∈ (𝑥𝐻𝑧))
2723, 26jca 521 . . 3 ((𝜑𝑥𝑅) → (((Id‘(RngCat‘𝑈))‘𝑥) ∈ (𝑥𝐻𝑥) ∧ ∀𝑦𝑅𝑧𝑅𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘(RngCat‘𝑈))𝑧)𝑓) ∈ (𝑥𝐻𝑧)))
2827ralrimiva 3160 . 2 (𝜑 → ∀𝑥𝑅 (((Id‘(RngCat‘𝑈))‘𝑥) ∈ (𝑥𝐻𝑥) ∧ ∀𝑦𝑅𝑧𝑅𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘(RngCat‘𝑈))𝑧)𝑓) ∈ (𝑥𝐻𝑧)))
29 eqid 2766 . . 3 (Homf ‘(RngCat‘𝑈)) = (Homf ‘(RngCat‘𝑈))
30 eqid 2766 . . 3 (Id‘(RngCat‘𝑈)) = (Id‘(RngCat‘𝑈))
31 eqid 2766 . . 3 (comp‘(RngCat‘𝑈)) = (comp‘(RngCat‘𝑈))
32 eqid 2766 . . . . 5 (RngCat‘𝑈) = (RngCat‘𝑈)
3332rngccat 20770 . . . 4 (𝑈𝑉 → (RngCat‘𝑈) ∈ Cat)
341, 33syl 18 . . 3 (𝜑 → (RngCat‘𝑈) ∈ Cat)
351, 7, 2, 5rhmsubclem1 20821 . . 3 (𝜑𝐻 Fn (𝑅 × 𝑅))
3629, 30, 31, 34, 35issubc2 17918 . 2 (𝜑 → (𝐻 ∈ (Subcat‘(RngCat‘𝑈)) ↔ (𝐻cat (Homf ‘(RngCat‘𝑈)) ∧ ∀𝑥𝑅 (((Id‘(RngCat‘𝑈))‘𝑥) ∈ (𝑥𝐻𝑥) ∧ ∀𝑦𝑅𝑧𝑅𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘(RngCat‘𝑈))𝑧)𝑓) ∈ (𝑥𝐻𝑧)))))
3722, 28, 36mpbir2and 726 1 (𝜑𝐻 ∈ (Subcat‘(RngCat‘𝑈)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wa 401   = wceq 1570  wcel 2146  wral 3082  cin 3907  cop 4600   class class class wbr 5114   × cxp 5664  cres 5668  cfv 6543  (class class class)co 7423  Basecbs 17294  Hom chom 17346  compcco 17347  Catccat 17745  Idccid 17746  Homf chomf 17747  cat cssc 17889  Subcatcsubc 17891  Rngcrng 20261  Ringcrg 20346   RngHom crnghm 20549   RingHom crh 20584  RngCatcrngc 20752
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-rep 5243  ax-sep 5262  ax-nul 5274  ax-pow 5341  ax-pr 5409  ax-un 7745  ax-cnex 11174  ax-resscn 11175  ax-1cn 11176  ax-icn 11177  ax-addcl 11178  ax-addrcl 11179  ax-mulcl 11180  ax-mulrcl 11181  ax-mulcom 11182  ax-addass 11183  ax-mulass 11184  ax-distr 11185  ax-i2m1 11186  ax-1ne0 11187  ax-1rid 11188  ax-rnegex 11189  ax-rrecex 11190  ax-cnre 11191  ax-pre-lttri 11192  ax-pre-lttrn 11193  ax-pre-ltadd 11194  ax-pre-mulgt0 11195
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-nfc 2915  df-ne 2962  df-nel 3068  df-ral 3083  df-rex 3093  df-rmo 3372  df-reu 3373  df-rab 3420  df-v 3460  df-sbc 3748  df-csb 3857  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-pss 3928  df-nul 4290  df-if 4493  df-pw 4569  df-sn 4595  df-pr 4597  df-tp 4599  df-op 4601  df-uni 4878  df-iun 4963  df-br 5115  df-opab 5179  df-mpt 5198  df-tr 5224  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6309  df-ord 6370  df-on 6371  df-lim 6372  df-suc 6373  df-iota 6499  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7380  df-ov 7426  df-oprab 7427  df-mpo 7428  df-om 7872  df-1st 7995  df-2nd 7996  df-frecs 8287  df-wrecs 8318  df-recs 8367  df-rdg 8406  df-1o 8462  df-er 8703  df-map 8835  df-pm 8836  df-ixp 8905  df-en 8953  df-dom 8954  df-sdom 8955  df-fin 8956  df-pnf 11263  df-mnf 11264  df-xr 11265  df-ltxr 11266  df-le 11267  df-sub 11461  df-neg 11462  df-nn 12252  df-2 12321  df-3 12322  df-4 12323  df-5 12324  df-6 12325  df-7 12326  df-8 12327  df-9 12328  df-n0 12523  df-z 12610  df-dec 12730  df-uz 12881  df-fz 13554  df-struct 17232  df-sets 17249  df-slot 17267  df-ndx 17279  df-base 17295  df-ress 17316  df-plusg 17348  df-hom 17359  df-cco 17360  df-0g 17519  df-cat 17749  df-cid 17750  df-homf 17751  df-ssc 17892  df-resc 17893  df-subc 17894  df-estrc 18204  df-mgm 18723  df-mgmhm 18779  df-sgrp 18806  df-mnd 18822  df-mhm 18872  df-grp 19034  df-minusg 19035  df-ghm 19315  df-cmn 19883  df-abl 19884  df-mgp 20248  df-rng 20262  df-ur 20295  df-ring 20348  df-rnghm 20551  df-rhm 20587  df-rngc 20753
This theorem is used by:  rhmsubccat  20826
  Copyright terms: Public domain W3C validator