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

Theorem islring 20772
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 6877 . . . 4 (𝑟 = 𝑅 → (Base‘𝑟) = (Base‘𝑅))
2 islring.b . . . 4 𝐵 = (Base‘𝑅)
31, 2eqtr4di 2814 . . 3 (𝑟 = 𝑅 → (Base‘𝑟) = 𝐵)
4 fveq2 6877 . . . . . . . 8 (𝑟 = 𝑅 → (+g‘𝑟) = (+g‘𝑅))
5 islring.a . . . . . . . 8 + = (+g‘𝑅)
64, 5eqtr4di 2814 . . . . . . 7 (𝑟 = 𝑅 → (+g‘𝑟) = + )
76oveqd 7429 . . . . . 6 (𝑟 = 𝑅 → (𝑥(+g‘𝑟)𝑦) = (𝑥 + 𝑦))
8 fveq2 6877 . . . . . . 7 (𝑟 = 𝑅 → (1r‘𝑟) = (1r‘𝑅))
9 islring.1 . . . . . . 7 1 = (1r‘𝑅)
108, 9eqtr4di 2814 . . . . . 6 (𝑟 = 𝑅 → (1r‘𝑟) = 1 )
117, 10eqeq12d 2777 . . . . 5 (𝑟 = 𝑅 → ((𝑥(+g‘𝑟)𝑦) = (1r‘𝑟) ↔ (𝑥 + 𝑦) = 1 ))
12 fveq2 6877 . . . . . . . 8 (𝑟 = 𝑅 → (Unit‘𝑟) = (Unit‘𝑅))
13 islring.u . . . . . . . 8 𝑈 = (Unit‘𝑅)
1412, 13eqtr4di 2814 . . . . . . 7 (𝑟 = 𝑅 → (Unit‘𝑟) = 𝑈)
1514eleq2d 2847 . . . . . 6 (𝑟 = 𝑅 → (𝑥 ∈ (Unit‘𝑟) ↔ 𝑥 ∈ 𝑈))
1614eleq2d 2847 . . . . . 6 (𝑟 = 𝑅 → (𝑦 ∈ (Unit‘𝑟) ↔ 𝑦 ∈ 𝑈))
1715, 16orbi12d 932 . . . . 5 (𝑟 = 𝑅 → ((𝑥 ∈ (Unit‘𝑟) ∨ 𝑦 ∈ (Unit‘𝑟)) ↔ (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈)))
1811, 17imbi12d 347 . . . 4 (𝑟 = 𝑅 → (((𝑥(+g‘𝑟)𝑦) = (1r‘𝑟) → (𝑥 ∈ (Unit‘𝑟) ∨ 𝑦 ∈ (Unit‘𝑟))) ↔ ((𝑥 + 𝑦) = 1 → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈))))
193, 18raleqbidv 3335 . . 3 (𝑟 = 𝑅 → (∀𝑦 ∈ (Base‘𝑟)((𝑥(+g‘𝑟)𝑦) = (1r‘𝑟) → (𝑥 ∈ (Unit‘𝑟) ∨ 𝑦 ∈ (Unit‘𝑟))) ↔ ∀𝑦 ∈ 𝐵 ((𝑥 + 𝑦) = 1 → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈))))
203, 19raleqbidv 3335 . 2 (𝑟 = 𝑅 → (∀𝑥 ∈ (Base‘𝑟)∀𝑦 ∈ (Base‘𝑟)((𝑥(+g‘𝑟)𝑦) = (1r‘𝑟) → (𝑥 ∈ (Unit‘𝑟) ∨ 𝑦 ∈ (Unit‘𝑟))) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 + 𝑦) = 1 → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈))))
21 df-lring 20771 . 2 LRing = {𝑟 ∈ NzRing ∣ ∀𝑥 ∈ (Base‘𝑟)∀𝑦 ∈ (Base‘𝑟)((𝑥(+g‘𝑟)𝑦) = (1r‘𝑟) → (𝑥 ∈ (Unit‘𝑟) ∨ 𝑦 ∈ (Unit‘𝑟)))}
2220, 21elrab2 3649 1 (𝑅 ∈ LRing ↔ (𝑅 ∈ NzRing ∧ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 + 𝑦) = 1 → (𝑥 ∈ 𝑈 ∨ 𝑦 ∈ 𝑈))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2145  ∀wral 3077  ‘cfv 6531  (class class class)co 7412  Basecbs 17367  +gcplusg 17408  1rcur 20387  Unitcui 20565  NzRingcnzr 20742  LRingclring 20770
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-iota 6487  df-fv 6539  df-ov 7415  df-lring 20771
This theorem is used by:  lringuplu  20776  drnglring  34006  dflring2  34007
  Copyright terms: Public domain W3C validator