![]() |
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 12648 | . . . . . 6 ⊢ ℤ ∈ V | |
2 | 1 | mptex 7260 | . . . . 5 ⊢ (𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟))) ∈ V |
3 | irinitoringc.c | . . . . . . . . 9 ⊢ 𝐶 = (RingCat‘𝑈) | |
4 | eqid 2740 | . . . . . . . . 9 ⊢ (Base‘𝐶) = (Base‘𝐶) | |
5 | irinitoringc.u | . . . . . . . . 9 ⊢ (𝜑 → 𝑈 ∈ 𝑉) | |
6 | eqid 2740 | . . . . . . . . 9 ⊢ (Hom ‘𝐶) = (Hom ‘𝐶) | |
7 | 3, 4, 5, 6 | ringchomfval 20673 | . . . . . . . 8 ⊢ (𝜑 → (Hom ‘𝐶) = ( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶)))) |
8 | 7 | adantr 480 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → (Hom ‘𝐶) = ( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶)))) |
9 | 8 | oveqd 7465 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → (ℤring(Hom ‘𝐶)𝑟) = (ℤring( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶)))𝑟)) |
10 | irinitoringc.z | . . . . . . . . . 10 ⊢ (𝜑 → ℤring ∈ 𝑈) | |
11 | id 22 | . . . . . . . . . . 11 ⊢ (ℤring ∈ 𝑈 → ℤring ∈ 𝑈) | |
12 | zringring 21483 | . . . . . . . . . . . 12 ⊢ ℤring ∈ Ring | |
13 | 12 | a1i 11 | . . . . . . . . . . 11 ⊢ (ℤring ∈ 𝑈 → ℤring ∈ Ring) |
14 | 11, 13 | elind 4223 | . . . . . . . . . 10 ⊢ (ℤring ∈ 𝑈 → ℤring ∈ (𝑈 ∩ Ring)) |
15 | 10, 14 | syl 17 | . . . . . . . . 9 ⊢ (𝜑 → ℤring ∈ (𝑈 ∩ Ring)) |
16 | 3, 4, 5 | ringcbas 20672 | . . . . . . . . 9 ⊢ (𝜑 → (Base‘𝐶) = (𝑈 ∩ Ring)) |
17 | 15, 16 | eleqtrrd 2847 | . . . . . . . 8 ⊢ (𝜑 → ℤring ∈ (Base‘𝐶)) |
18 | 17 | adantr 480 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → ℤring ∈ (Base‘𝐶)) |
19 | simpr 484 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → 𝑟 ∈ (Base‘𝐶)) | |
20 | 18, 19 | ovresd 7617 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → (ℤring( RingHom ↾ ((Base‘𝐶) × (Base‘𝐶)))𝑟) = (ℤring RingHom 𝑟)) |
21 | 16 | eleq2d 2830 | . . . . . . . . 9 ⊢ (𝜑 → (𝑟 ∈ (Base‘𝐶) ↔ 𝑟 ∈ (𝑈 ∩ Ring))) |
22 | elin 3992 | . . . . . . . . . 10 ⊢ (𝑟 ∈ (𝑈 ∩ Ring) ↔ (𝑟 ∈ 𝑈 ∧ 𝑟 ∈ Ring)) | |
23 | 22 | simprbi 496 | . . . . . . . . 9 ⊢ (𝑟 ∈ (𝑈 ∩ Ring) → 𝑟 ∈ Ring) |
24 | 21, 23 | biimtrdi 253 | . . . . . . . 8 ⊢ (𝜑 → (𝑟 ∈ (Base‘𝐶) → 𝑟 ∈ Ring)) |
25 | 24 | imp 406 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → 𝑟 ∈ Ring) |
26 | eqid 2740 | . . . . . . . 8 ⊢ (.g‘𝑟) = (.g‘𝑟) | |
27 | eqid 2740 | . . . . . . . 8 ⊢ (𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟))) = (𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟))) | |
28 | eqid 2740 | . . . . . . . 8 ⊢ (1r‘𝑟) = (1r‘𝑟) | |
29 | 26, 27, 28 | mulgrhm2 21512 | . . . . . . 7 ⊢ (𝑟 ∈ Ring → (ℤring RingHom 𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))}) |
30 | 25, 29 | syl 17 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → (ℤring RingHom 𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))}) |
31 | 9, 20, 30 | 3eqtrd 2784 | . . . . 5 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → (ℤring(Hom ‘𝐶)𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))}) |
32 | sneq 4658 | . . . . . . 7 ⊢ (𝑓 = (𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟))) → {𝑓} = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))}) | |
33 | 32 | eqeq2d 2751 | . . . . . 6 ⊢ (𝑓 = (𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟))) → ((ℤring(Hom ‘𝐶)𝑟) = {𝑓} ↔ (ℤring(Hom ‘𝐶)𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))})) |
34 | 33 | spcegv 3610 | . . . . 5 ⊢ ((𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟))) ∈ V → ((ℤring(Hom ‘𝐶)𝑟) = {(𝑧 ∈ ℤ ↦ (𝑧(.g‘𝑟)(1r‘𝑟)))} → ∃𝑓(ℤring(Hom ‘𝐶)𝑟) = {𝑓})) |
35 | 2, 31, 34 | mpsyl 68 | . . . 4 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → ∃𝑓(ℤring(Hom ‘𝐶)𝑟) = {𝑓}) |
36 | eusn 4755 | . . . 4 ⊢ (∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟) ↔ ∃𝑓(ℤring(Hom ‘𝐶)𝑟) = {𝑓}) | |
37 | 35, 36 | sylibr 234 | . . 3 ⊢ ((𝜑 ∧ 𝑟 ∈ (Base‘𝐶)) → ∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟)) |
38 | 37 | ralrimiva 3152 | . 2 ⊢ (𝜑 → ∀𝑟 ∈ (Base‘𝐶)∃!𝑓 𝑓 ∈ (ℤring(Hom ‘𝐶)𝑟)) |
39 | 3 | ringccat 20685 | . . . 4 ⊢ (𝑈 ∈ 𝑉 → 𝐶 ∈ Cat) |
40 | 5, 39 | syl 17 | . . 3 ⊢ (𝜑 → 𝐶 ∈ Cat) |
41 | 12 | a1i 11 | . . . . 5 ⊢ (𝜑 → ℤring ∈ Ring) |
42 | 10, 41 | elind 4223 | . . . 4 ⊢ (𝜑 → ℤring ∈ (𝑈 ∩ Ring)) |
43 | 42, 16 | eleqtrrd 2847 | . . 3 ⊢ (𝜑 → ℤring ∈ (Base‘𝐶)) |
44 | 4, 6, 40, 43 | isinito 18063 | . 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 1537 ∃wex 1777 ∈ wcel 2108 ∃!weu 2571 ∀wral 3067 Vcvv 3488 ∩ cin 3975 {csn 4648 ↦ cmpt 5249 × cxp 5698 ↾ cres 5702 ‘cfv 6573 (class class class)co 7448 ℤcz 12639 Basecbs 17258 Hom chom 17322 Catccat 17722 InitOcinito 18048 .gcmg 19107 1rcur 20208 Ringcrg 20260 RingHom crh 20495 RingCatcringc 20667 ℤringczring 21480 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1793 ax-4 1807 ax-5 1909 ax-6 1967 ax-7 2007 ax-8 2110 ax-9 2118 ax-10 2141 ax-11 2158 ax-12 2178 ax-ext 2711 ax-rep 5303 ax-sep 5317 ax-nul 5324 ax-pow 5383 ax-pr 5447 ax-un 7770 ax-cnex 11240 ax-resscn 11241 ax-1cn 11242 ax-icn 11243 ax-addcl 11244 ax-addrcl 11245 ax-mulcl 11246 ax-mulrcl 11247 ax-mulcom 11248 ax-addass 11249 ax-mulass 11250 ax-distr 11251 ax-i2m1 11252 ax-1ne0 11253 ax-1rid 11254 ax-rnegex 11255 ax-rrecex 11256 ax-cnre 11257 ax-pre-lttri 11258 ax-pre-lttrn 11259 ax-pre-ltadd 11260 ax-pre-mulgt0 11261 ax-addf 11263 ax-mulf 11264 |
This theorem depends on definitions: df-bi 207 df-an 396 df-or 847 df-3or 1088 df-3an 1089 df-tru 1540 df-fal 1550 df-ex 1778 df-nf 1782 df-sb 2065 df-mo 2543 df-eu 2572 df-clab 2718 df-cleq 2732 df-clel 2819 df-nfc 2895 df-ne 2947 df-nel 3053 df-ral 3068 df-rex 3077 df-rmo 3388 df-reu 3389 df-rab 3444 df-v 3490 df-sbc 3805 df-csb 3922 df-dif 3979 df-un 3981 df-in 3983 df-ss 3993 df-pss 3996 df-nul 4353 df-if 4549 df-pw 4624 df-sn 4649 df-pr 4651 df-tp 4653 df-op 4655 df-uni 4932 df-iun 5017 df-br 5167 df-opab 5229 df-mpt 5250 df-tr 5284 df-id 5593 df-eprel 5599 df-po 5607 df-so 5608 df-fr 5652 df-we 5654 df-xp 5706 df-rel 5707 df-cnv 5708 df-co 5709 df-dm 5710 df-rn 5711 df-res 5712 df-ima 5713 df-pred 6332 df-ord 6398 df-on 6399 df-lim 6400 df-suc 6401 df-iota 6525 df-fun 6575 df-fn 6576 df-f 6577 df-f1 6578 df-fo 6579 df-f1o 6580 df-fv 6581 df-riota 7404 df-ov 7451 df-oprab 7452 df-mpo 7453 df-om 7904 df-1st 8030 df-2nd 8031 df-frecs 8322 df-wrecs 8353 df-recs 8427 df-rdg 8466 df-1o 8522 df-er 8763 df-map 8886 df-pm 8887 df-ixp 8956 df-en 9004 df-dom 9005 df-sdom 9006 df-fin 9007 df-pnf 11326 df-mnf 11327 df-xr 11328 df-ltxr 11329 df-le 11330 df-sub 11522 df-neg 11523 df-nn 12294 df-2 12356 df-3 12357 df-4 12358 df-5 12359 df-6 12360 df-7 12361 df-8 12362 df-9 12363 df-n0 12554 df-z 12640 df-dec 12759 df-uz 12904 df-fz 13568 df-seq 14053 df-struct 17194 df-sets 17211 df-slot 17229 df-ndx 17241 df-base 17259 df-ress 17288 df-plusg 17324 df-mulr 17325 df-starv 17326 df-tset 17330 df-ple 17331 df-ds 17333 df-unif 17334 df-hom 17335 df-cco 17336 df-0g 17501 df-cat 17726 df-cid 17727 df-homf 17728 df-ssc 17871 df-resc 17872 df-subc 17873 df-inito 18051 df-estrc 18191 df-mgm 18678 df-sgrp 18757 df-mnd 18773 df-mhm 18818 df-grp 18976 df-minusg 18977 df-mulg 19108 df-subg 19163 df-ghm 19253 df-cmn 19824 df-abl 19825 df-mgp 20162 df-rng 20180 df-ur 20209 df-ring 20262 df-cring 20263 df-rhm 20498 df-subrng 20572 df-subrg 20597 df-ringc 20668 df-cnfld 21388 df-zring 21481 |
This theorem is referenced by: nzerooringczr 21514 |
Copyright terms: Public domain | W3C validator |