| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > irinitoringc | Structured version Visualization version GIF version | ||
| 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.) |
| Ref | Expression |
|---|---|
| irinitoringc.u | ⊢ (𝜑 → 𝑈 ∈ 𝑉) |
| irinitoringc.z | ⊢ (𝜑 → ℤring ∈ 𝑈) |
| irinitoringc.c | ⊢ 𝐶 = (RingCat‘𝑈) |
| Ref | Expression |
|---|---|
| irinitoringc | ⊢ (𝜑 → ℤring ∈ (InitO‘𝐶)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | zex 12533 | . . . . . 6 ⊢ ℤ ∈ V | |
| 2 | 1 | mptex 7178 | . . . . 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 ‘𝐶) | |
| 7 | 3, 4, 5, 6 | ringchomfval 20628 | . . . . . . . 8 ⊢ (𝜑 → (Hom ‘𝐶) = ( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶)))) |
| 8 | 7 | adantr 480 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → (Hom ‘𝐶) = ( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶)))) |
| 9 | 8 | oveqd 7384 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → (ℤring(Hom ‘𝐶)𝑟) = (ℤring( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶)))𝑟)) |
| 10 | irinitoringc.z | . . . . . . . . . 10 ⊢ (𝜑 → ℤring ∈ 𝑈) | |
| 11 | id 22 | . . . . . . . . . . 11 ⊢ (ℤring ∈ 𝑈 → ℤring ∈ 𝑈) | |
| 12 | zringring 21429 | . . . . . . . . . . . 12 ⊢ ℤring ∈ Ring | |
| 13 | 12 | a1i 11 | . . . . . . . . . . 11 ⊢ (ℤring ∈ 𝑈 → ℤring ∈ Ring) |
| 14 | 11, 13 | elind 4140 | . . . . . . . . . 10 ⊢ (ℤring ∈ 𝑈 → ℤring ∈ (𝑈 ∩ Ring)) |
| 15 | 10, 14 | syl 17 | . . . . . . . . 9 ⊢ (𝜑 → ℤring ∈ (𝑈 ∩ Ring)) |
| 16 | 3, 4, 5 | ringcbas 20627 | . . . . . . . . 9 ⊢ (𝜑 → (Base‘𝐶) = (𝑈 ∩ Ring)) |
| 17 | 15, 16 | eleqtrrd 2839 | . . . . . . . 8 ⊢ (𝜑 → ℤring ∈ (Base‘𝐶)) |
| 18 | 17 | adantr 480 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → ℤring ∈ (Base‘𝐶)) |
| 19 | simpr 484 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → 𝑟 ∈ (Base‘𝐶)) | |
| 20 | 18, 19 | ovresd 7534 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → (ℤring( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶)))𝑟) = (ℤring RingHom 𝑟)) |
| 21 | 16 | eleq2d 2822 | . . . . . . . . 9 ⊢ (𝜑 → (𝑟 ∈ (Base‘𝐶) ↔ 𝑟 ∈ (𝑈 ∩ Ring))) |
| 22 | elin 3905 | . . . . . . . . . 10 ⊢ (𝑟 ∈ (𝑈 ∩ Ring) ↔ (𝑟 ∈ 𝑈 ∧ 𝑟 ∈ Ring)) | |
| 23 | 22 | simprbi 497 | . . . . . . . . 9 ⊢ (𝑟 ∈ (𝑈 ∩ Ring) → 𝑟 ∈ Ring) |
| 24 | 21, 23 | biimtrdi 253 | . . . . . . . 8 ⊢ (𝜑 → (𝑟 ∈ (Base‘𝐶) → 𝑟 ∈ Ring)) |
| 25 | 24 | imp 406 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → 𝑟 ∈ Ring) |
| 26 | eqid 2736 | . . . . . . . 8 ⊢ (.g‘𝑟) = (.g‘𝑟) | |
| 27 | eqid 2736 | . . . . . . . 8 ⊢ (𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟))) = (𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟))) | |
| 28 | eqid 2736 | . . . . . . . 8 ⊢ (1r‘𝑟) = (1r‘𝑟) | |
| 29 | 26, 27, 28 | mulgrhm2 21458 | . . . . . . 7 ⊢ (𝑟 ∈ Ring → (ℤring RingHom 𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))}) |
| 30 | 25, 29 | syl 17 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → (ℤring RingHom 𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))}) |
| 31 | 9, 20, 30 | 3eqtrd 2775 | . . . . 5 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → (ℤring(Hom ‘𝐶)𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))}) |
| 32 | sneq 4577 | . . . . . . 7 ⊢ (𝑓 = (𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟))) → {𝑓} = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))}) | |
| 33 | 32 | eqeq2d 2747 | . . . . . 6 ⊢ (𝑓 = (𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟))) → ((ℤring(Hom ‘𝐶)𝑟) = {𝑓} ↔ (ℤring(Hom ‘𝐶)𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))})) |
| 34 | 33 | spcegv 3539 | . . . . 5 ⊢ ((𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟))) ∈ V → ((ℤring(Hom ‘𝐶)𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))} → ∃𝑓(ℤring(Hom ‘𝐶)𝑟) = {𝑓})) |
| 35 | 2, 31, 34 | mpsyl 68 | . . . 4 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → ∃𝑓(ℤring(Hom ‘𝐶)𝑟) = {𝑓}) |
| 36 | eusn 4674 | . . . 4 ⊢ (∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟) ↔ ∃𝑓(ℤring(Hom ‘𝐶)𝑟) = {𝑓}) | |
| 37 | 35, 36 | sylibr 234 | . . 3 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → ∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟)) |
| 38 | 37 | ralrimiva 3129 | . 2 ⊢ (𝜑 → ∀𝑟 ∈ (Base‘𝐶)∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟)) |
| 39 | 3 | ringccat 20640 | . . . 4 ⊢ (𝑈 ∈ 𝑉 → 𝐶 ∈ Cat) |
| 40 | 5, 39 | syl 17 | . . 3 ⊢ (𝜑 → 𝐶 ∈ Cat) |
| 41 | 12 | a1i 11 | . . . . 5 ⊢ (𝜑 → ℤring ∈ Ring) |
| 42 | 10, 41 | elind 4140 | . . . 4 ⊢ (𝜑 → ℤring ∈ (𝑈 ∩ Ring)) |
| 43 | 42, 16 | eleqtrrd 2839 | . . 3 ⊢ (𝜑 → ℤring ∈ (Base‘𝐶)) |
| 44 | 4, 6, 40, 43 | isinito 17963 | . 2 ⊢ (𝜑 → (ℤring ∈ (InitO‘𝐶) ↔ ∀𝑟 ∈ (Base‘𝐶)∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟))) |
| 45 | 38, 44 | mpbird 257 | 1 ⊢ (𝜑 → ℤring ∈ (InitO‘𝐶)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 = wceq 1542 ∃wex 1781 ∈ wcel 2114 ∃!weu 2568 ∀wral 3051 Vcvv 3429 ∩ cin 3888 {csn 4567 ↦ cmpt 5166 × cxp 5629 ↾ cres 5633 ‘cfv 6498 (class class class)co 7367 ℤcz 12524 Basecbs 17179 Hom chom 17231 Catccat 17630 InitOcinito 17948 .gcmg 19043 1rcur 20162 Ringcrg 20214 RingHom crh 20449 RingCatcringc 20622 ℤringczring 21426 |
| 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 1912 ax-6 1969 ax-7 2010 ax-8 2116 ax-9 2124 ax-10 2147 ax-11 2163 ax-12 2185 ax-ext 2708 ax-rep 5212 ax-sep 5231 ax-nul 5241 ax-pow 5307 ax-pr 5375 ax-un 7689 ax-cnex 11094 ax-resscn 11095 ax-1cn 11096 ax-icn 11097 ax-addcl 11098 ax-addrcl 11099 ax-mulcl 11100 ax-mulrcl 11101 ax-mulcom 11102 ax-addass 11103 ax-mulass 11104 ax-distr 11105 ax-i2m1 11106 ax-1ne0 11107 ax-1rid 11108 ax-rnegex 11109 ax-rrecex 11110 ax-cnre 11111 ax-pre-lttri 11112 ax-pre-lttrn 11113 ax-pre-ltadd 11114 ax-pre-mulgt0 11115 ax-addf 11117 ax-mulf 11118 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-3or 1088 df-3an 1089 df-tru 1545 df-fal 1555 df-ex 1782 df-nf 1786 df-sb 2069 df-mo 2539 df-eu 2569 df-clab 2715 df-cleq 2728 df-clel 2811 df-nfc 2885 df-ne 2933 df-nel 3037 df-ral 3052 df-rex 3062 df-rmo 3342 df-reu 3343 df-rab 3390 df-v 3431 df-sbc 3729 df-csb 3838 df-dif 3892 df-un 3894 df-in 3896 df-ss 3906 df-pss 3909 df-nul 4274 df-if 4467 df-pw 4543 df-sn 4568 df-pr 4570 df-tp 4572 df-op 4574 df-uni 4851 df-iun 4935 df-br 5086 df-opab 5148 df-mpt 5167 df-tr 5193 df-id 5526 df-eprel 5531 df-po 5539 df-so 5540 df-fr 5584 df-we 5586 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 6265 df-ord 6326 df-on 6327 df-lim 6328 df-suc 6329 df-iota 6454 df-fun 6500 df-fn 6501 df-f 6502 df-f1 6503 df-fo 6504 df-f1o 6505 df-fv 6506 df-riota 7324 df-ov 7370 df-oprab 7371 df-mpo 7372 df-om 7818 df-1st 7942 df-2nd 7943 df-frecs 8231 df-wrecs 8262 df-recs 8311 df-rdg 8349 df-1o 8405 df-er 8643 df-map 8775 df-pm 8776 df-ixp 8846 df-en 8894 df-dom 8895 df-sdom 8896 df-fin 8897 df-pnf 11181 df-mnf 11182 df-xr 11183 df-ltxr 11184 df-le 11185 df-sub 11379 df-neg 11380 df-nn 12175 df-2 12244 df-3 12245 df-4 12246 df-5 12247 df-6 12248 df-7 12249 df-8 12250 df-9 12251 df-n0 12438 df-z 12525 df-dec 12645 df-uz 12789 df-fz 13462 df-seq 13964 df-struct 17117 df-sets 17134 df-slot 17152 df-ndx 17164 df-base 17180 df-ress 17201 df-plusg 17233 df-mulr 17234 df-starv 17235 df-tset 17239 df-ple 17240 df-ds 17242 df-unif 17243 df-hom 17244 df-cco 17245 df-0g 17404 df-cat 17634 df-cid 17635 df-homf 17636 df-ssc 17777 df-resc 17778 df-subc 17779 df-inito 17951 df-estrc 18089 df-mgm 18608 df-sgrp 18687 df-mnd 18703 df-mhm 18751 df-grp 18912 df-minusg 18913 df-mulg 19044 df-subg 19099 df-ghm 19188 df-cmn 19757 df-abl 19758 df-mgp 20122 df-rng 20134 df-ur 20163 df-ring 20216 df-cring 20217 df-rhm 20452 df-subrng 20523 df-subrg 20547 df-ringc 20623 df-cnfld 21353 df-zring 21427 |
| This theorem is referenced by: nzerooringczr 21460 |
| Copyright terms: Public domain | W3C validator |