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

Theorem zrinitorngc 42518
Description: The zero ring is an initial object in the category of nonunital rings. (Contributed by AV, 18-Apr-2020.)
Hypotheses
Ref Expression
zrinitorngc.u (𝜑𝑈𝑉)
zrinitorngc.c 𝐶 = (RngCat‘𝑈)
zrinitorngc.z (𝜑𝑍 ∈ (Ring ∖ NzRing))
zrinitorngc.e (𝜑𝑍𝑈)
Assertion
Ref Expression
zrinitorngc (𝜑𝑍 ∈ (InitO‘𝐶))

Proof of Theorem zrinitorngc
Dummy variables 𝑎 𝑟 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 zrinitorngc.c . . . . . . . . . 10 𝐶 = (RngCat‘𝑈)
2 eqid 2770 . . . . . . . . . 10 (Base‘𝐶) = (Base‘𝐶)
3 zrinitorngc.u . . . . . . . . . 10 (𝜑𝑈𝑉)
41, 2, 3rngcbas 42483 . . . . . . . . 9 (𝜑 → (Base‘𝐶) = (𝑈 ∩ Rng))
54eleq2d 2835 . . . . . . . 8 (𝜑 → (𝑟 ∈ (Base‘𝐶) ↔ 𝑟 ∈ (𝑈 ∩ Rng)))
6 elin 3945 . . . . . . . . 9 (𝑟 ∈ (𝑈 ∩ Rng) ↔ (𝑟𝑈𝑟 ∈ Rng))
76simprbi 478 . . . . . . . 8 (𝑟 ∈ (𝑈 ∩ Rng) → 𝑟 ∈ Rng)
85, 7syl6bi 243 . . . . . . 7 (𝜑 → (𝑟 ∈ (Base‘𝐶) → 𝑟 ∈ Rng))
98imp 393 . . . . . 6 ((𝜑𝑟 ∈ (Base‘𝐶)) → 𝑟 ∈ Rng)
10 zrinitorngc.z . . . . . . 7 (𝜑𝑍 ∈ (Ring ∖ NzRing))
1110adantr 466 . . . . . 6 ((𝜑𝑟 ∈ (Base‘𝐶)) → 𝑍 ∈ (Ring ∖ NzRing))
12 eqid 2770 . . . . . . 7 (Base‘𝑍) = (Base‘𝑍)
13 eqid 2770 . . . . . . 7 (0g𝑟) = (0g𝑟)
14 eqid 2770 . . . . . . 7 (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) = (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟))
1512, 13, 14zrrnghm 42435 . . . . . 6 ((𝑟 ∈ Rng ∧ 𝑍 ∈ (Ring ∖ NzRing)) → (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍 RngHomo 𝑟))
169, 11, 15syl2anc 565 . . . . 5 ((𝜑𝑟 ∈ (Base‘𝐶)) → (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍 RngHomo 𝑟))
17 simpr 471 . . . . . 6 (((𝜑𝑟 ∈ (Base‘𝐶)) ∧ (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍 RngHomo 𝑟)) → (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍 RngHomo 𝑟))
183adantr 466 . . . . . . . . . 10 ((𝜑𝑟 ∈ (Base‘𝐶)) → 𝑈𝑉)
19 eqid 2770 . . . . . . . . . 10 (Hom ‘𝐶) = (Hom ‘𝐶)
20 zrinitorngc.e . . . . . . . . . . . . 13 (𝜑𝑍𝑈)
21 eldifi 3881 . . . . . . . . . . . . . 14 (𝑍 ∈ (Ring ∖ NzRing) → 𝑍 ∈ Ring)
22 ringrng 42397 . . . . . . . . . . . . . 14 (𝑍 ∈ Ring → 𝑍 ∈ Rng)
2310, 21, 223syl 18 . . . . . . . . . . . . 13 (𝜑𝑍 ∈ Rng)
2420, 23elind 3947 . . . . . . . . . . . 12 (𝜑𝑍 ∈ (𝑈 ∩ Rng))
2524, 4eleqtrrd 2852 . . . . . . . . . . 11 (𝜑𝑍 ∈ (Base‘𝐶))
2625adantr 466 . . . . . . . . . 10 ((𝜑𝑟 ∈ (Base‘𝐶)) → 𝑍 ∈ (Base‘𝐶))
27 simpr 471 . . . . . . . . . 10 ((𝜑𝑟 ∈ (Base‘𝐶)) → 𝑟 ∈ (Base‘𝐶))
281, 2, 18, 19, 26, 27rngchom 42485 . . . . . . . . 9 ((𝜑𝑟 ∈ (Base‘𝐶)) → (𝑍(Hom ‘𝐶)𝑟) = (𝑍 RngHomo 𝑟))
2928eqcomd 2776 . . . . . . . 8 ((𝜑𝑟 ∈ (Base‘𝐶)) → (𝑍 RngHomo 𝑟) = (𝑍(Hom ‘𝐶)𝑟))
3029eleq2d 2835 . . . . . . 7 ((𝜑𝑟 ∈ (Base‘𝐶)) → ((𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍 RngHomo 𝑟) ↔ (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍(Hom ‘𝐶)𝑟)))
3130biimpa 462 . . . . . 6 (((𝜑𝑟 ∈ (Base‘𝐶)) ∧ (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍 RngHomo 𝑟)) → (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍(Hom ‘𝐶)𝑟))
3228eleq2d 2835 . . . . . . . . . . . 12 ((𝜑𝑟 ∈ (Base‘𝐶)) → ( ∈ (𝑍(Hom ‘𝐶)𝑟) ↔ ∈ (𝑍 RngHomo 𝑟)))
33 eqid 2770 . . . . . . . . . . . . 13 (Base‘𝑟) = (Base‘𝑟)
3412, 33rnghmf 42417 . . . . . . . . . . . 12 ( ∈ (𝑍 RngHomo 𝑟) → :(Base‘𝑍)⟶(Base‘𝑟))
3532, 34syl6bi 243 . . . . . . . . . . 11 ((𝜑𝑟 ∈ (Base‘𝐶)) → ( ∈ (𝑍(Hom ‘𝐶)𝑟) → :(Base‘𝑍)⟶(Base‘𝑟)))
3635imp 393 . . . . . . . . . 10 (((𝜑𝑟 ∈ (Base‘𝐶)) ∧ ∈ (𝑍(Hom ‘𝐶)𝑟)) → :(Base‘𝑍)⟶(Base‘𝑟))
37 ffn 6185 . . . . . . . . . . . 12 (:(Base‘𝑍)⟶(Base‘𝑟) → Fn (Base‘𝑍))
3837adantl 467 . . . . . . . . . . 11 ((((𝜑𝑟 ∈ (Base‘𝐶)) ∧ ∈ (𝑍(Hom ‘𝐶)𝑟)) ∧ :(Base‘𝑍)⟶(Base‘𝑟)) → Fn (Base‘𝑍))
39 fvex 6342 . . . . . . . . . . . . 13 (0g𝑟) ∈ V
4039, 14fnmpti 6162 . . . . . . . . . . . 12 (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) Fn (Base‘𝑍)
4140a1i 11 . . . . . . . . . . 11 ((((𝜑𝑟 ∈ (Base‘𝐶)) ∧ ∈ (𝑍(Hom ‘𝐶)𝑟)) ∧ :(Base‘𝑍)⟶(Base‘𝑟)) → (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) Fn (Base‘𝑍))
4232biimpa 462 . . . . . . . . . . . . . 14 (((𝜑𝑟 ∈ (Base‘𝐶)) ∧ ∈ (𝑍(Hom ‘𝐶)𝑟)) → ∈ (𝑍 RngHomo 𝑟))
43 rnghmghm 42416 . . . . . . . . . . . . . 14 ( ∈ (𝑍 RngHomo 𝑟) → ∈ (𝑍 GrpHom 𝑟))
44 eqid 2770 . . . . . . . . . . . . . . 15 (0g𝑍) = (0g𝑍)
4544, 13ghmid 17873 . . . . . . . . . . . . . 14 ( ∈ (𝑍 GrpHom 𝑟) → (‘(0g𝑍)) = (0g𝑟))
4642, 43, 453syl 18 . . . . . . . . . . . . 13 (((𝜑𝑟 ∈ (Base‘𝐶)) ∧ ∈ (𝑍(Hom ‘𝐶)𝑟)) → (‘(0g𝑍)) = (0g𝑟))
4746ad2antrr 697 . . . . . . . . . . . 12 (((((𝜑𝑟 ∈ (Base‘𝐶)) ∧ ∈ (𝑍(Hom ‘𝐶)𝑟)) ∧ :(Base‘𝑍)⟶(Base‘𝑟)) ∧ 𝑎 ∈ (Base‘𝑍)) → (‘(0g𝑍)) = (0g𝑟))
4812, 440ringbas 42389 . . . . . . . . . . . . . . . . . 18 (𝑍 ∈ (Ring ∖ NzRing) → (Base‘𝑍) = {(0g𝑍)})
4910, 48syl 17 . . . . . . . . . . . . . . . . 17 (𝜑 → (Base‘𝑍) = {(0g𝑍)})
5049eleq2d 2835 . . . . . . . . . . . . . . . 16 (𝜑 → (𝑎 ∈ (Base‘𝑍) ↔ 𝑎 ∈ {(0g𝑍)}))
51 elsni 4331 . . . . . . . . . . . . . . . . 17 (𝑎 ∈ {(0g𝑍)} → 𝑎 = (0g𝑍))
5251fveq2d 6336 . . . . . . . . . . . . . . . 16 (𝑎 ∈ {(0g𝑍)} → (𝑎) = (‘(0g𝑍)))
5350, 52syl6bi 243 . . . . . . . . . . . . . . 15 (𝜑 → (𝑎 ∈ (Base‘𝑍) → (𝑎) = (‘(0g𝑍))))
5453adantr 466 . . . . . . . . . . . . . 14 ((𝜑𝑟 ∈ (Base‘𝐶)) → (𝑎 ∈ (Base‘𝑍) → (𝑎) = (‘(0g𝑍))))
5554ad2antrr 697 . . . . . . . . . . . . 13 ((((𝜑𝑟 ∈ (Base‘𝐶)) ∧ ∈ (𝑍(Hom ‘𝐶)𝑟)) ∧ :(Base‘𝑍)⟶(Base‘𝑟)) → (𝑎 ∈ (Base‘𝑍) → (𝑎) = (‘(0g𝑍))))
5655imp 393 . . . . . . . . . . . 12 (((((𝜑𝑟 ∈ (Base‘𝐶)) ∧ ∈ (𝑍(Hom ‘𝐶)𝑟)) ∧ :(Base‘𝑍)⟶(Base‘𝑟)) ∧ 𝑎 ∈ (Base‘𝑍)) → (𝑎) = (‘(0g𝑍)))
57 eqidd 2771 . . . . . . . . . . . . . 14 (𝑎 ∈ (Base‘𝑍) → (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) = (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)))
58 eqidd 2771 . . . . . . . . . . . . . 14 ((𝑎 ∈ (Base‘𝑍) ∧ 𝑥 = 𝑎) → (0g𝑟) = (0g𝑟))
59 id 22 . . . . . . . . . . . . . 14 (𝑎 ∈ (Base‘𝑍) → 𝑎 ∈ (Base‘𝑍))
6039a1i 11 . . . . . . . . . . . . . 14 (𝑎 ∈ (Base‘𝑍) → (0g𝑟) ∈ V)
6157, 58, 59, 60fvmptd 6430 . . . . . . . . . . . . 13 (𝑎 ∈ (Base‘𝑍) → ((𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟))‘𝑎) = (0g𝑟))
6261adantl 467 . . . . . . . . . . . 12 (((((𝜑𝑟 ∈ (Base‘𝐶)) ∧ ∈ (𝑍(Hom ‘𝐶)𝑟)) ∧ :(Base‘𝑍)⟶(Base‘𝑟)) ∧ 𝑎 ∈ (Base‘𝑍)) → ((𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟))‘𝑎) = (0g𝑟))
6347, 56, 623eqtr4d 2814 . . . . . . . . . . 11 (((((𝜑𝑟 ∈ (Base‘𝐶)) ∧ ∈ (𝑍(Hom ‘𝐶)𝑟)) ∧ :(Base‘𝑍)⟶(Base‘𝑟)) ∧ 𝑎 ∈ (Base‘𝑍)) → (𝑎) = ((𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟))‘𝑎))
6438, 41, 63eqfnfvd 6457 . . . . . . . . . 10 ((((𝜑𝑟 ∈ (Base‘𝐶)) ∧ ∈ (𝑍(Hom ‘𝐶)𝑟)) ∧ :(Base‘𝑍)⟶(Base‘𝑟)) → = (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)))
6536, 64mpdan 659 . . . . . . . . 9 (((𝜑𝑟 ∈ (Base‘𝐶)) ∧ ∈ (𝑍(Hom ‘𝐶)𝑟)) → = (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)))
6665ex 397 . . . . . . . 8 ((𝜑𝑟 ∈ (Base‘𝐶)) → ( ∈ (𝑍(Hom ‘𝐶)𝑟) → = (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟))))
6766adantr 466 . . . . . . 7 (((𝜑𝑟 ∈ (Base‘𝐶)) ∧ (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍 RngHomo 𝑟)) → ( ∈ (𝑍(Hom ‘𝐶)𝑟) → = (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟))))
6867alrimiv 2006 . . . . . 6 (((𝜑𝑟 ∈ (Base‘𝐶)) ∧ (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍 RngHomo 𝑟)) → ∀( ∈ (𝑍(Hom ‘𝐶)𝑟) → = (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟))))
6917, 31, 683jca 1121 . . . . 5 (((𝜑𝑟 ∈ (Base‘𝐶)) ∧ (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍 RngHomo 𝑟)) → ((𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍 RngHomo 𝑟) ∧ (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍(Hom ‘𝐶)𝑟) ∧ ∀( ∈ (𝑍(Hom ‘𝐶)𝑟) → = (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)))))
7016, 69mpdan 659 . . . 4 ((𝜑𝑟 ∈ (Base‘𝐶)) → ((𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍 RngHomo 𝑟) ∧ (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍(Hom ‘𝐶)𝑟) ∧ ∀( ∈ (𝑍(Hom ‘𝐶)𝑟) → = (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)))))
71 eleq1 2837 . . . . 5 ( = (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) → ( ∈ (𝑍(Hom ‘𝐶)𝑟) ↔ (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍(Hom ‘𝐶)𝑟)))
7271eqeu 3527 . . . 4 (((𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍 RngHomo 𝑟) ∧ (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)) ∈ (𝑍(Hom ‘𝐶)𝑟) ∧ ∀( ∈ (𝑍(Hom ‘𝐶)𝑟) → = (𝑥 ∈ (Base‘𝑍) ↦ (0g𝑟)))) → ∃! ∈ (𝑍(Hom ‘𝐶)𝑟))
7370, 72syl 17 . . 3 ((𝜑𝑟 ∈ (Base‘𝐶)) → ∃! ∈ (𝑍(Hom ‘𝐶)𝑟))
7473ralrimiva 3114 . 2 (𝜑 → ∀𝑟 ∈ (Base‘𝐶)∃! ∈ (𝑍(Hom ‘𝐶)𝑟))
751rngccat 42496 . . . 4 (𝑈𝑉𝐶 ∈ Cat)
763, 75syl 17 . . 3 (𝜑𝐶 ∈ Cat)
772, 19, 76, 25isinito 16856 . 2 (𝜑 → (𝑍 ∈ (InitO‘𝐶) ↔ ∀𝑟 ∈ (Base‘𝐶)∃! ∈ (𝑍(Hom ‘𝐶)𝑟)))
7874, 77mpbird 247 1 (𝜑𝑍 ∈ (InitO‘𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 382  w3a 1070  wal 1628   = wceq 1630  wcel 2144  ∃!weu 2617  wral 3060  Vcvv 3349  cdif 3718  cin 3720  {csn 4314  cmpt 4861   Fn wfn 6026  wf 6027  cfv 6031  (class class class)co 6792  Basecbs 16063  Hom chom 16159  0gc0g 16307  Catccat 16531  InitOcinito 16844   GrpHom cghm 17864  Ringcrg 18754  NzRingcnzr 19471  Rngcrng 42392   RngHomo crngh 42403  RngCatcrngc 42475
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1869  ax-4 1884  ax-5 1990  ax-6 2056  ax-7 2092  ax-8 2146  ax-9 2153  ax-10 2173  ax-11 2189  ax-12 2202  ax-13 2407  ax-ext 2750  ax-rep 4902  ax-sep 4912  ax-nul 4920  ax-pow 4971  ax-pr 5034  ax-un 7095  ax-cnex 10193  ax-resscn 10194  ax-1cn 10195  ax-icn 10196  ax-addcl 10197  ax-addrcl 10198  ax-mulcl 10199  ax-mulrcl 10200  ax-mulcom 10201  ax-addass 10202  ax-mulass 10203  ax-distr 10204  ax-i2m1 10205  ax-1ne0 10206  ax-1rid 10207  ax-rnegex 10208  ax-rrecex 10209  ax-cnre 10210  ax-pre-lttri 10211  ax-pre-lttrn 10212  ax-pre-ltadd 10213  ax-pre-mulgt0 10214
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 827  df-3or 1071  df-3an 1072  df-tru 1633  df-fal 1636  df-ex 1852  df-nf 1857  df-sb 2049  df-eu 2621  df-mo 2622  df-clab 2757  df-cleq 2763  df-clel 2766  df-nfc 2901  df-ne 2943  df-nel 3046  df-ral 3065  df-rex 3066  df-reu 3067  df-rmo 3068  df-rab 3069  df-v 3351  df-sbc 3586  df-csb 3681  df-dif 3724  df-un 3726  df-in 3728  df-ss 3735  df-pss 3737  df-nul 4062  df-if 4224  df-pw 4297  df-sn 4315  df-pr 4317  df-tp 4319  df-op 4321  df-uni 4573  df-int 4610  df-iun 4654  df-br 4785  df-opab 4845  df-mpt 4862  df-tr 4885  df-id 5157  df-eprel 5162  df-po 5170  df-so 5171  df-fr 5208  df-we 5210  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-rn 5260  df-res 5261  df-ima 5262  df-pred 5823  df-ord 5869  df-on 5870  df-lim 5871  df-suc 5872  df-iota 5994  df-fun 6033  df-fn 6034  df-f 6035  df-f1 6036  df-fo 6037  df-f1o 6038  df-fv 6039  df-riota 6753  df-ov 6795  df-oprab 6796  df-mpt2 6797  df-om 7212  df-1st 7314  df-2nd 7315  df-wrecs 7558  df-recs 7620  df-rdg 7658  df-1o 7712  df-oadd 7716  df-er 7895  df-map 8010  df-pm 8011  df-ixp 8062  df-en 8109  df-dom 8110  df-sdom 8111  df-fin 8112  df-card 8964  df-cda 9191  df-pnf 10277  df-mnf 10278  df-xr 10279  df-ltxr 10280  df-le 10281  df-sub 10469  df-neg 10470  df-nn 11222  df-2 11280  df-3 11281  df-4 11282  df-5 11283  df-6 11284  df-7 11285  df-8 11286  df-9 11287  df-n0 11494  df-xnn0 11565  df-z 11579  df-dec 11695  df-uz 11888  df-fz 12533  df-hash 13321  df-struct 16065  df-ndx 16066  df-slot 16067  df-base 16069  df-sets 16070  df-ress 16071  df-plusg 16161  df-hom 16173  df-cco 16174  df-0g 16309  df-cat 16535  df-cid 16536  df-homf 16537  df-ssc 16676  df-resc 16677  df-subc 16678  df-inito 16847  df-estrc 16969  df-mgm 17449  df-sgrp 17491  df-mnd 17502  df-mhm 17542  df-grp 17632  df-minusg 17633  df-ghm 17865  df-cmn 18401  df-abl 18402  df-mgp 18697  df-ur 18709  df-ring 18756  df-nzr 19472  df-mgmhm 42297  df-rng0 42393  df-rnghomo 42405  df-rngc 42477
This theorem is referenced by:  zrzeroorngc  42520
  Copyright terms: Public domain W3C validator