![]() |
Mathbox for Alexander van der Vekens |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > Mathboxes > 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 12504 | . . . . . 6 ⊢ ℤ ∈ V | |
2 | 1 | mptex 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 ‘𝐶) | |
7 | 3, 4, 5, 6 | ringchomfval 46242 | . . . . . . . 8 ⊢ (𝜑 → (Hom ‘𝐶) = ( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶)))) |
8 | 7 | adantr 481 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → (Hom ‘𝐶) = ( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶)))) |
9 | 8 | oveqd 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 | |
13 | 12 | a1i 11 | . . . . . . . . . . 11 ⊢ (ℤring ∈ 𝑈 → ℤring ∈ Ring) |
14 | 11, 13 | elind 4152 | . . . . . . . . . 10 ⊢ (ℤring ∈ 𝑈 → ℤring ∈ (𝑈 ∩ Ring)) |
15 | 10, 14 | syl 17 | . . . . . . . . 9 ⊢ (𝜑 → ℤring ∈ (𝑈 ∩ Ring)) |
16 | 3, 4, 5 | ringcbas 46241 | . . . . . . . . 9 ⊢ (𝜑 → (Base‘𝐶) = (𝑈 ∩ Ring)) |
17 | 15, 16 | eleqtrrd 2841 | . . . . . . . 8 ⊢ (𝜑 → ℤring ∈ (Base‘𝐶)) |
18 | 17 | adantr 481 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → ℤring ∈ (Base‘𝐶)) |
19 | simpr 485 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → 𝑟 ∈ (Base‘𝐶)) | |
20 | 18, 19 | ovresd 7517 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → (ℤring( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶)))𝑟) = (ℤring RingHom 𝑟)) |
21 | 16 | eleq2d 2823 | . . . . . . . . 9 ⊢ (𝜑 → (𝑟 ∈ (Base‘𝐶) ↔ 𝑟 ∈ (𝑈 ∩ Ring))) |
22 | elin 3924 | . . . . . . . . . 10 ⊢ (𝑟 ∈ (𝑈 ∩ Ring) ↔ (𝑟 ∈ 𝑈 ∧ 𝑟 ∈ Ring)) | |
23 | 22 | simprbi 497 | . . . . . . . . 9 ⊢ (𝑟 ∈ (𝑈 ∩ Ring) → 𝑟 ∈ Ring) |
24 | 21, 23 | syl6bi 252 | . . . . . . . 8 ⊢ (𝜑 → (𝑟 ∈ (Base‘𝐶) → 𝑟 ∈ Ring)) |
25 | 24 | imp 407 | . . . . . . 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 20884 | . . . . . . 7 ⊢ (𝑟 ∈ Ring → (ℤring RingHom 𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))}) |
30 | 25, 29 | syl 17 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → (ℤring RingHom 𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))}) |
31 | 9, 20, 30 | 3eqtrd 2780 | . . . . 5 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → (ℤring(Hom ‘𝐶)𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))}) |
32 | sneq 4594 | . . . . . . 7 ⊢ (𝑓 = (𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟))) → {𝑓} = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))}) | |
33 | 32 | eqeq2d 2747 | . . . . . 6 ⊢ (𝑓 = (𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟))) → ((ℤring(Hom ‘𝐶)𝑟) = {𝑓} ↔ (ℤring(Hom ‘𝐶)𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))})) |
34 | 33 | spcegv 3554 | . . . . 5 ⊢ ((𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟))) ∈ V → ((ℤring(Hom ‘𝐶)𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))} → ∃𝑓(ℤring(Hom ‘𝐶)𝑟) = {𝑓})) |
35 | 2, 31, 34 | mpsyl 68 | . . . 4 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → ∃𝑓(ℤring(Hom ‘𝐶)𝑟) = {𝑓}) |
36 | eusn 4689 | . . . 4 ⊢ (∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟) ↔ ∃𝑓(ℤring(Hom ‘𝐶)𝑟) = {𝑓}) | |
37 | 35, 36 | sylibr 233 | . . 3 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → ∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟)) |
38 | 37 | ralrimiva 3141 | . 2 ⊢ (𝜑 → ∀𝑟 ∈ (Base‘𝐶)∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟)) |
39 | 3 | ringccat 46254 | . . . 4 ⊢ (𝑈 ∈ 𝑉 → 𝐶 ∈ Cat) |
40 | 5, 39 | syl 17 | . . 3 ⊢ (𝜑 → 𝐶 ∈ Cat) |
41 | 12 | a1i 11 | . . . . 5 ⊢ (𝜑 → ℤring ∈ Ring) |
42 | 10, 41 | elind 4152 | . . . 4 ⊢ (𝜑 → ℤring ∈ (𝑈 ∩ Ring)) |
43 | 42, 16 | eleqtrrd 2841 | . . 3 ⊢ (𝜑 → ℤring ∈ (Base‘𝐶)) |
44 | 4, 6, 40, 43 | isinito 17874 | . 2 ⊢ (𝜑 → (ℤring ∈ (InitO‘𝐶) ↔ ∀𝑟 ∈ (Base‘𝐶)∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟))) |
45 | 38, 44 | mpbird 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 |