Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  irinitoringc Structured version   Visualization version   GIF version

Theorem irinitoringc 46299
Description: The ring of integers is an initial object in the category of unital rings (within a universe containing the ring of integers). Example 7.2 (6) of [Adamek] p. 101 , and example in [Lang] p. 58. (Contributed by AV, 3-Apr-2020.)
Hypotheses
Ref Expression
irinitoringc.u (𝜑𝑈𝑉)
irinitoringc.z (𝜑 → ℤring𝑈)
irinitoringc.c 𝐶 = (RingCat‘𝑈)
Assertion
Ref Expression
irinitoringc (𝜑 → ℤring ∈ (InitO‘𝐶))

Proof of Theorem irinitoringc
Dummy variables 𝑓 𝑟 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 zex 12504 . . . . . 6 ℤ ∈ V
21mptex 7169 . . . . 5 (𝑧 ∈ ℤ ↦ (𝑧(.g𝑟)(1r𝑟))) ∈ V
3 irinitoringc.c . . . . . . . . 9 𝐶 = (RingCat‘𝑈)
4 eqid 2736 . . . . . . . . 9 (Base‘𝐶) = (Base‘𝐶)
5 irinitoringc.u . . . . . . . . 9 (𝜑𝑈𝑉)
6 eqid 2736 . . . . . . . . 9 (Hom ‘𝐶) = (Hom ‘𝐶)
73, 4, 5, 6ringchomfval 46242 . . . . . . . 8 (𝜑 → (Hom ‘𝐶) = ( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶))))
87adantr 481 . . . . . . 7 ((𝜑𝑟 ∈ (Base‘𝐶)) → (Hom ‘𝐶) = ( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶))))
98oveqd 7370 . . . . . 6 ((𝜑𝑟 ∈ (Base‘𝐶)) → (ℤring(Hom ‘𝐶)𝑟) = (ℤring( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶)))𝑟))
10 irinitoringc.z . . . . . . . . . 10 (𝜑 → ℤring𝑈)
11 id 22 . . . . . . . . . . 11 (ℤring𝑈 → ℤring𝑈)
12 zringring 20857 . . . . . . . . . . . 12 ring ∈ Ring
1312a1i 11 . . . . . . . . . . 11 (ℤring𝑈 → ℤring ∈ Ring)
1411, 13elind 4152 . . . . . . . . . 10 (ℤring𝑈 → ℤring ∈ (𝑈 ∩ Ring))
1510, 14syl 17 . . . . . . . . 9 (𝜑 → ℤring ∈ (𝑈 ∩ Ring))
163, 4, 5ringcbas 46241 . . . . . . . . 9 (𝜑 → (Base‘𝐶) = (𝑈 ∩ Ring))
1715, 16eleqtrrd 2841 . . . . . . . 8 (𝜑 → ℤring ∈ (Base‘𝐶))
1817adantr 481 . . . . . . 7 ((𝜑𝑟 ∈ (Base‘𝐶)) → ℤring ∈ (Base‘𝐶))
19 simpr 485 . . . . . . 7 ((𝜑𝑟 ∈ (Base‘𝐶)) → 𝑟 ∈ (Base‘𝐶))
2018, 19ovresd 7517 . . . . . 6 ((𝜑𝑟 ∈ (Base‘𝐶)) → (ℤring( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶)))𝑟) = (ℤring RingHom 𝑟))
2116eleq2d 2823 . . . . . . . . 9 (𝜑 → (𝑟 ∈ (Base‘𝐶) ↔ 𝑟 ∈ (𝑈 ∩ Ring)))
22 elin 3924 . . . . . . . . . 10 (𝑟 ∈ (𝑈 ∩ Ring) ↔ (𝑟𝑈𝑟 ∈ Ring))
2322simprbi 497 . . . . . . . . 9 (𝑟 ∈ (𝑈 ∩ Ring) → 𝑟 ∈ Ring)
2421, 23syl6bi 252 . . . . . . . 8 (𝜑 → (𝑟 ∈ (Base‘𝐶) → 𝑟 ∈ Ring))
2524imp 407 . . . . . . 7 ((𝜑𝑟 ∈ (Base‘𝐶)) → 𝑟 ∈ Ring)
26 eqid 2736 . . . . . . . 8 (.g𝑟) = (.g𝑟)
27 eqid 2736 . . . . . . . 8 (𝑧 ∈ ℤ ↦ (𝑧(.g𝑟)(1r𝑟))) = (𝑧 ∈ ℤ ↦ (𝑧(.g𝑟)(1r𝑟)))
28 eqid 2736 . . . . . . . 8 (1r𝑟) = (1r𝑟)
2926, 27, 28mulgrhm2 20884 . . . . . . 7 (𝑟 ∈ Ring → (ℤring RingHom 𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g𝑟)(1r𝑟)))})
3025, 29syl 17 . . . . . 6 ((𝜑𝑟 ∈ (Base‘𝐶)) → (ℤring RingHom 𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g𝑟)(1r𝑟)))})
319, 20, 303eqtrd 2780 . . . . 5 ((𝜑𝑟 ∈ (Base‘𝐶)) → (ℤring(Hom ‘𝐶)𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g𝑟)(1r𝑟)))})
32 sneq 4594 . . . . . . 7 (𝑓 = (𝑧 ∈ ℤ ↦ (𝑧(.g𝑟)(1r𝑟))) → {𝑓} = {(𝑧 ∈ ℤ ↦ (𝑧(.g𝑟)(1r𝑟)))})
3332eqeq2d 2747 . . . . . 6 (𝑓 = (𝑧 ∈ ℤ ↦ (𝑧(.g𝑟)(1r𝑟))) → ((ℤring(Hom ‘𝐶)𝑟) = {𝑓} ↔ (ℤring(Hom ‘𝐶)𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g𝑟)(1r𝑟)))}))
3433spcegv 3554 . . . . 5 ((𝑧 ∈ ℤ ↦ (𝑧(.g𝑟)(1r𝑟))) ∈ V → ((ℤring(Hom ‘𝐶)𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g𝑟)(1r𝑟)))} → ∃𝑓(ℤring(Hom ‘𝐶)𝑟) = {𝑓}))
352, 31, 34mpsyl 68 . . . 4 ((𝜑𝑟 ∈ (Base‘𝐶)) → ∃𝑓(ℤring(Hom ‘𝐶)𝑟) = {𝑓})
36 eusn 4689 . . . 4 (∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟) ↔ ∃𝑓(ℤring(Hom ‘𝐶)𝑟) = {𝑓})
3735, 36sylibr 233 . . 3 ((𝜑𝑟 ∈ (Base‘𝐶)) → ∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟))
3837ralrimiva 3141 . 2 (𝜑 → ∀𝑟 ∈ (Base‘𝐶)∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟))
393ringccat 46254 . . . 4 (𝑈𝑉𝐶 ∈ Cat)
405, 39syl 17 . . 3 (𝜑𝐶 ∈ Cat)
4112a1i 11 . . . . 5 (𝜑 → ℤring ∈ Ring)
4210, 41elind 4152 . . . 4 (𝜑 → ℤring ∈ (𝑈 ∩ Ring))
4342, 16eleqtrrd 2841 . . 3 (𝜑 → ℤring ∈ (Base‘𝐶))
444, 6, 40, 43isinito 17874 . 2 (𝜑 → (ℤring ∈ (InitO‘𝐶) ↔ ∀𝑟 ∈ (Base‘𝐶)∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟)))
4538, 44mpbird 256 1 (𝜑 → ℤring ∈ (InitO‘𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1541  wex 1781  wcel 2106  ∃!weu 2566  wral 3062  Vcvv 3443  cin 3907  {csn 4584  cmpt 5186   × cxp 5629  cres 5633  cfv 6493  (class class class)co 7353  cz 12495  Basecbs 17075  Hom chom 17136  Catccat 17536  InitOcinito 17859  .gcmg 18863  1rcur 19904  Ringcrg 19950   RingHom crh 20128  ringczring 20854  RingCatcringc 46233
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2707  ax-rep 5240  ax-sep 5254  ax-nul 5261  ax-pow 5318  ax-pr 5382  ax-un 7668  ax-cnex 11103  ax-resscn 11104  ax-1cn 11105  ax-icn 11106  ax-addcl 11107  ax-addrcl 11108  ax-mulcl 11109  ax-mulrcl 11110  ax-mulcom 11111  ax-addass 11112  ax-mulass 11113  ax-distr 11114  ax-i2m1 11115  ax-1ne0 11116  ax-1rid 11117  ax-rnegex 11118  ax-rrecex 11119  ax-cnre 11120  ax-pre-lttri 11121  ax-pre-lttrn 11122  ax-pre-ltadd 11123  ax-pre-mulgt0 11124  ax-addf 11126  ax-mulf 11127
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-rmo 3351  df-reu 3352  df-rab 3406  df-v 3445  df-sbc 3738  df-csb 3854  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-pss 3927  df-nul 4281  df-if 4485  df-pw 4560  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4864  df-iun 4954  df-br 5104  df-opab 5166  df-mpt 5187  df-tr 5221  df-id 5529  df-eprel 5535  df-po 5543  df-so 5544  df-fr 5586  df-we 5588  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-pred 6251  df-ord 6318  df-on 6319  df-lim 6320  df-suc 6321  df-iota 6445  df-fun 6495  df-fn 6496  df-f 6497  df-f1 6498  df-fo 6499  df-f1o 6500  df-fv 6501  df-riota 7309  df-ov 7356  df-oprab 7357  df-mpo 7358  df-om 7799  df-1st 7917  df-2nd 7918  df-frecs 8208  df-wrecs 8239  df-recs 8313  df-rdg 8352  df-1o 8408  df-er 8644  df-map 8763  df-pm 8764  df-ixp 8832  df-en 8880  df-dom 8881  df-sdom 8882  df-fin 8883  df-pnf 11187  df-mnf 11188  df-xr 11189  df-ltxr 11190  df-le 11191  df-sub 11383  df-neg 11384  df-nn 12150  df-2 12212  df-3 12213  df-4 12214  df-5 12215  df-6 12216  df-7 12217  df-8 12218  df-9 12219  df-n0 12410  df-z 12496  df-dec 12615  df-uz 12760  df-fz 13417  df-seq 13899  df-struct 17011  df-sets 17028  df-slot 17046  df-ndx 17058  df-base 17076  df-ress 17105  df-plusg 17138  df-mulr 17139  df-starv 17140  df-tset 17144  df-ple 17145  df-ds 17147  df-unif 17148  df-hom 17149  df-cco 17150  df-0g 17315  df-cat 17540  df-cid 17541  df-homf 17542  df-ssc 17685  df-resc 17686  df-subc 17687  df-inito 17862  df-estrc 18002  df-mgm 18489  df-sgrp 18538  df-mnd 18549  df-mhm 18593  df-grp 18743  df-minusg 18744  df-mulg 18864  df-subg 18916  df-ghm 18997  df-cmn 19555  df-mgp 19888  df-ur 19905  df-ring 19952  df-cring 19953  df-rnghom 20131  df-subrg 20205  df-cnfld 20782  df-zring 20855  df-ringc 46235
This theorem is referenced by:  nzerooringczr  46302
  Copyright terms: Public domain W3C validator