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

Theorem srgcom4lem 20249
Description: Lemma for srgcom4 20250. This (formerly) part of the proof for ringcom 20316 is applicable for semirings (without using the commutativity of the addition given per definition of a semiring). (Contributed by Gérard Lang, 4-Dec-2014.) (Revised by AV, 1-Feb-2025.) (Proof modification is discouraged.)
Hypotheses
Ref Expression
srgcom4.b 𝐵 = (Base‘𝑅)
srgcom4.p + = (+g𝑅)
Assertion
Ref Expression
srgcom4lem ((𝑅 ∈ SRing ∧ 𝑋𝐵𝑌𝐵) → ((𝑋 + 𝑋) + (𝑌 + 𝑌)) = ((𝑋 + 𝑌) + (𝑋 + 𝑌)))

Proof of Theorem srgcom4lem
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 srgcom4.b . . . . 5 𝐵 = (Base‘𝑅)
2 srgcom4.p . . . . 5 + = (+g𝑅)
3 eqid 2761 . . . . 5 (.r𝑅) = (.r𝑅)
41, 2, 3srgdir 20234 . . . 4 ((𝑅 ∈ SRing ∧ (𝑥𝐵𝑦𝐵𝑧𝐵)) → ((𝑥 + 𝑦)(.r𝑅)𝑧) = ((𝑥(.r𝑅)𝑧) + (𝑦(.r𝑅)𝑧)))
54ralrimivvva 3207 . . 3 (𝑅 ∈ SRing → ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 + 𝑦)(.r𝑅)𝑧) = ((𝑥(.r𝑅)𝑧) + (𝑦(.r𝑅)𝑧)))
653ad2ant1 1145 . 2 ((𝑅 ∈ SRing ∧ 𝑋𝐵𝑌𝐵) → ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 + 𝑦)(.r𝑅)𝑧) = ((𝑥(.r𝑅)𝑧) + (𝑦(.r𝑅)𝑧)))
7 eqid 2761 . . . 4 (1r𝑅) = (1r𝑅)
81, 7srgidcl 20235 . . 3 (𝑅 ∈ SRing → (1r𝑅) ∈ 𝐵)
983ad2ant1 1145 . 2 ((𝑅 ∈ SRing ∧ 𝑋𝐵𝑌𝐵) → (1r𝑅) ∈ 𝐵)
101, 3, 7srglidm 20238 . . . 4 ((𝑅 ∈ SRing ∧ 𝑥𝐵) → ((1r𝑅)(.r𝑅)𝑥) = 𝑥)
1110ralrimiva 3153 . . 3 (𝑅 ∈ SRing → ∀𝑥𝐵 ((1r𝑅)(.r𝑅)𝑥) = 𝑥)
12113ad2ant1 1145 . 2 ((𝑅 ∈ SRing ∧ 𝑋𝐵𝑌𝐵) → ∀𝑥𝐵 ((1r𝑅)(.r𝑅)𝑥) = 𝑥)
13 simp2 1149 . 2 ((𝑅 ∈ SRing ∧ 𝑋𝐵𝑌𝐵) → 𝑋𝐵)
141, 2srgacl 20241 . . . . 5 ((𝑅 ∈ SRing ∧ 𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) ∈ 𝐵)
15143expb 1132 . . . 4 ((𝑅 ∈ SRing ∧ (𝑥𝐵𝑦𝐵)) → (𝑥 + 𝑦) ∈ 𝐵)
1615ralrimivva 3204 . . 3 (𝑅 ∈ SRing → ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) ∈ 𝐵)
17163ad2ant1 1145 . 2 ((𝑅 ∈ SRing ∧ 𝑋𝐵𝑌𝐵) → ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) ∈ 𝐵)
181, 2, 3srgdi 20233 . . . 4 ((𝑅 ∈ SRing ∧ (𝑥𝐵𝑦𝐵𝑧𝐵)) → (𝑥(.r𝑅)(𝑦 + 𝑧)) = ((𝑥(.r𝑅)𝑦) + (𝑥(.r𝑅)𝑧)))
1918ralrimivvva 3207 . . 3 (𝑅 ∈ SRing → ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥(.r𝑅)(𝑦 + 𝑧)) = ((𝑥(.r𝑅)𝑦) + (𝑥(.r𝑅)𝑧)))
20193ad2ant1 1145 . 2 ((𝑅 ∈ SRing ∧ 𝑋𝐵𝑌𝐵) → ∀𝑥𝐵𝑦𝐵𝑧𝐵 (𝑥(.r𝑅)(𝑦 + 𝑧)) = ((𝑥(.r𝑅)𝑦) + (𝑥(.r𝑅)𝑧)))
21 simp3 1150 . 2 ((𝑅 ∈ SRing ∧ 𝑋𝐵𝑌𝐵) → 𝑌𝐵)
226, 9, 12, 13, 17, 20, 21rglcom4d 20247 1 ((𝑅 ∈ SRing ∧ 𝑋𝐵𝑌𝐵) → ((𝑋 + 𝑋) + (𝑌 + 𝑌)) = ((𝑋 + 𝑌) + (𝑋 + 𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  w3a 1097   = wceq 1559  wcel 2141  wral 3075  cfv 6515  (class class class)co 7390  Basecbs 17235  +gcplusg 17276  .rcmulr 17277  1rcur 20217  SRingcsrg 20222
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733  ax-sep 5243  ax-nul 5253  ax-pow 5319  ax-pr 5387  ax-un 7712  ax-cnex 11122  ax-resscn 11123  ax-1cn 11124  ax-icn 11125  ax-addcl 11126  ax-addrcl 11127  ax-mulcl 11128  ax-mulrcl 11129  ax-mulcom 11130  ax-addass 11131  ax-mulass 11132  ax-distr 11133  ax-i2m1 11134  ax-1ne0 11135  ax-1rid 11136  ax-rnegex 11137  ax-rrecex 11138  ax-cnre 11139  ax-pre-lttri 11140  ax-pre-lttrn 11141  ax-pre-ltadd 11142  ax-pre-mulgt0 11143
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1098  df-3an 1099  df-tru 1562  df-fal 1572  df-ex 1799  df-nf 1803  df-sb 2090  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3061  df-ral 3076  df-rex 3086  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3455  df-sbc 3743  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-pss 3922  df-nul 4284  df-if 4478  df-pw 4554  df-sn 4580  df-pr 4582  df-op 4586  df-uni 4863  df-iun 4948  df-br 5098  df-opab 5160  df-mpt 5179  df-tr 5205  df-id 5538  df-eprel 5543  df-po 5551  df-so 5552  df-fr 5596  df-we 5598  df-xp 5649  df-rel 5650  df-cnv 5651  df-co 5652  df-dm 5653  df-rn 5654  df-res 5655  df-ima 5656  df-pred 6282  df-ord 6343  df-on 6344  df-lim 6345  df-suc 6346  df-iota 6471  df-fun 6517  df-fn 6518  df-f 6519  df-f1 6520  df-fo 6521  df-f1o 6522  df-fv 6523  df-riota 7347  df-ov 7393  df-oprab 7394  df-mpo 7395  df-om 7841  df-2nd 7965  df-frecs 8255  df-wrecs 8286  df-recs 8335  df-rdg 8374  df-er 8671  df-en 8921  df-dom 8922  df-sdom 8923  df-pnf 11211  df-mnf 11212  df-xr 11213  df-ltxr 11214  df-le 11215  df-sub 11409  df-neg 11410  df-nn 12204  df-2 12273  df-sets 17190  df-slot 17208  df-ndx 17220  df-base 17236  df-plusg 17289  df-0g 17460  df-mgm 18664  df-sgrp 18743  df-mnd 18759  df-cmn 19812  df-mgp 20177  df-ur 20218  df-srg 20223
This theorem is referenced by:  srgcom4  20250
  Copyright terms: Public domain W3C validator