MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  islring Structured version   Visualization version   GIF version

Theorem islring 20616
Description: The predicate "is a local ring". (Contributed by SN, 23-Feb-2025.)
Hypotheses
Ref Expression
islring.b 𝐵 = (Base‘𝑅)
islring.a + = (+g𝑅)
islring.1 1 = (1r𝑅)
islring.u 𝑈 = (Unit‘𝑅)
Assertion
Ref Expression
islring (𝑅 ∈ LRing ↔ (𝑅 ∈ NzRing ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥 + 𝑦) = 1 → (𝑥𝑈𝑦𝑈))))
Distinct variable group:   𝑥,𝑅,𝑦
Allowed substitution hints:   𝐵(𝑥,𝑦)   + (𝑥,𝑦)   𝑈(𝑥,𝑦)   1 (𝑥,𝑦)

Proof of Theorem islring
Dummy variable 𝑟 is distinct from all other variables.
StepHypRef Expression
1 fveq2 6871 . . . 4 (𝑟 = 𝑅 → (Base‘𝑟) = (Base‘𝑅))
2 islring.b . . . 4 𝐵 = (Base‘𝑅)
31, 2eqtr4di 2818 . . 3 (𝑟 = 𝑅 → (Base‘𝑟) = 𝐵)
4 fveq2 6871 . . . . . . . 8 (𝑟 = 𝑅 → (+g𝑟) = (+g𝑅))
5 islring.a . . . . . . . 8 + = (+g𝑅)
64, 5eqtr4di 2818 . . . . . . 7 (𝑟 = 𝑅 → (+g𝑟) = + )
76oveqd 7417 . . . . . 6 (𝑟 = 𝑅 → (𝑥(+g𝑟)𝑦) = (𝑥 + 𝑦))
8 fveq2 6871 . . . . . . 7 (𝑟 = 𝑅 → (1r𝑟) = (1r𝑅))
9 islring.1 . . . . . . 7 1 = (1r𝑅)
108, 9eqtr4di 2818 . . . . . 6 (𝑟 = 𝑅 → (1r𝑟) = 1 )
117, 10eqeq12d 2781 . . . . 5 (𝑟 = 𝑅 → ((𝑥(+g𝑟)𝑦) = (1r𝑟) ↔ (𝑥 + 𝑦) = 1 ))
12 fveq2 6871 . . . . . . . 8 (𝑟 = 𝑅 → (Unit‘𝑟) = (Unit‘𝑅))
13 islring.u . . . . . . . 8 𝑈 = (Unit‘𝑅)
1412, 13eqtr4di 2818 . . . . . . 7 (𝑟 = 𝑅 → (Unit‘𝑟) = 𝑈)
1514eleq2d 2851 . . . . . 6 (𝑟 = 𝑅 → (𝑥 ∈ (Unit‘𝑟) ↔ 𝑥𝑈))
1614eleq2d 2851 . . . . . 6 (𝑟 = 𝑅 → (𝑦 ∈ (Unit‘𝑟) ↔ 𝑦𝑈))
1715, 16orbi12d 931 . . . . 5 (𝑟 = 𝑅 → ((𝑥 ∈ (Unit‘𝑟) ∨ 𝑦 ∈ (Unit‘𝑟)) ↔ (𝑥𝑈𝑦𝑈)))
1811, 17imbi12d 347 . . . 4 (𝑟 = 𝑅 → (((𝑥(+g𝑟)𝑦) = (1r𝑟) → (𝑥 ∈ (Unit‘𝑟) ∨ 𝑦 ∈ (Unit‘𝑟))) ↔ ((𝑥 + 𝑦) = 1 → (𝑥𝑈𝑦𝑈))))
193, 18raleqbidv 3339 . . 3 (𝑟 = 𝑅 → (∀𝑦 ∈ (Base‘𝑟)((𝑥(+g𝑟)𝑦) = (1r𝑟) → (𝑥 ∈ (Unit‘𝑟) ∨ 𝑦 ∈ (Unit‘𝑟))) ↔ ∀𝑦𝐵 ((𝑥 + 𝑦) = 1 → (𝑥𝑈𝑦𝑈))))
203, 19raleqbidv 3339 . 2 (𝑟 = 𝑅 → (∀𝑥 ∈ (Base‘𝑟)∀𝑦 ∈ (Base‘𝑟)((𝑥(+g𝑟)𝑦) = (1r𝑟) → (𝑥 ∈ (Unit‘𝑟) ∨ 𝑦 ∈ (Unit‘𝑟))) ↔ ∀𝑥𝐵𝑦𝐵 ((𝑥 + 𝑦) = 1 → (𝑥𝑈𝑦𝑈))))
21 df-lring 20615 . 2 LRing = {𝑟 ∈ NzRing ∣ ∀𝑥 ∈ (Base‘𝑟)∀𝑦 ∈ (Base‘𝑟)((𝑥(+g𝑟)𝑦) = (1r𝑟) → (𝑥 ∈ (Unit‘𝑟) ∨ 𝑦 ∈ (Unit‘𝑟)))}
2220, 21elrab2 3657 1 (𝑅 ∈ LRing ↔ (𝑅 ∈ NzRing ∧ ∀𝑥𝐵𝑦𝐵 ((𝑥 + 𝑦) = 1 → (𝑥𝑈𝑦𝑈))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 400  wo 860   = wceq 1563  wcel 2145  wral 3079  cfv 6525  (class class class)co 7400  Basecbs 17259  +gcplusg 17300  1rcur 20254  Unitcui 20428  NzRingcnzr 20586  LRingclring 20614
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1818  ax-4 1832  ax-5 1933  ax-6 1990  ax-7 2031  ax-8 2147  ax-9 2155  ax-ext 2737
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1566  df-fal 1576  df-ex 1803  df-sb 2094  df-clab 2744  df-cleq 2757  df-clel 2840  df-ral 3080  df-rab 3418  df-v 3459  df-dif 3910  df-un 3912  df-ss 3924  df-nul 4289  df-if 4484  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4869  df-br 5106  df-iota 6481  df-fv 6533  df-ov 7403  df-lring 20615
This theorem is referenced by:  lringuplu  20620  drnglring  33699  dflring2  33700
  Copyright terms: Public domain W3C validator