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

Theorem srgmulgass 19682
Description: An associative property between group multiple and ring multiplication for semirings. (Contributed by AV, 23-Aug-2019.)
Hypotheses
Ref Expression
srgmulgass.b 𝐵 = (Base‘𝑅)
srgmulgass.m · = (.g𝑅)
srgmulgass.t × = (.r𝑅)
Assertion
Ref Expression
srgmulgass ((𝑅 ∈ SRing ∧ (𝑁 ∈ ℕ0𝑋𝐵𝑌𝐵)) → ((𝑁 · 𝑋) × 𝑌) = (𝑁 · (𝑋 × 𝑌)))

Proof of Theorem srgmulgass
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq1 7262 . . . . . . . 8 (𝑥 = 0 → (𝑥 · 𝑋) = (0 · 𝑋))
21oveq1d 7270 . . . . . . 7 (𝑥 = 0 → ((𝑥 · 𝑋) × 𝑌) = ((0 · 𝑋) × 𝑌))
3 oveq1 7262 . . . . . . 7 (𝑥 = 0 → (𝑥 · (𝑋 × 𝑌)) = (0 · (𝑋 × 𝑌)))
42, 3eqeq12d 2754 . . . . . 6 (𝑥 = 0 → (((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌)) ↔ ((0 · 𝑋) × 𝑌) = (0 · (𝑋 × 𝑌))))
54imbi2d 340 . . . . 5 (𝑥 = 0 → ((((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌))) ↔ (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((0 · 𝑋) × 𝑌) = (0 · (𝑋 × 𝑌)))))
6 oveq1 7262 . . . . . . . 8 (𝑥 = 𝑦 → (𝑥 · 𝑋) = (𝑦 · 𝑋))
76oveq1d 7270 . . . . . . 7 (𝑥 = 𝑦 → ((𝑥 · 𝑋) × 𝑌) = ((𝑦 · 𝑋) × 𝑌))
8 oveq1 7262 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 · (𝑋 × 𝑌)) = (𝑦 · (𝑋 × 𝑌)))
97, 8eqeq12d 2754 . . . . . 6 (𝑥 = 𝑦 → (((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌)) ↔ ((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌))))
109imbi2d 340 . . . . 5 (𝑥 = 𝑦 → ((((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌))) ↔ (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌)))))
11 oveq1 7262 . . . . . . . 8 (𝑥 = (𝑦 + 1) → (𝑥 · 𝑋) = ((𝑦 + 1) · 𝑋))
1211oveq1d 7270 . . . . . . 7 (𝑥 = (𝑦 + 1) → ((𝑥 · 𝑋) × 𝑌) = (((𝑦 + 1) · 𝑋) × 𝑌))
13 oveq1 7262 . . . . . . 7 (𝑥 = (𝑦 + 1) → (𝑥 · (𝑋 × 𝑌)) = ((𝑦 + 1) · (𝑋 × 𝑌)))
1412, 13eqeq12d 2754 . . . . . 6 (𝑥 = (𝑦 + 1) → (((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌)) ↔ (((𝑦 + 1) · 𝑋) × 𝑌) = ((𝑦 + 1) · (𝑋 × 𝑌))))
1514imbi2d 340 . . . . 5 (𝑥 = (𝑦 + 1) → ((((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌))) ↔ (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → (((𝑦 + 1) · 𝑋) × 𝑌) = ((𝑦 + 1) · (𝑋 × 𝑌)))))
16 oveq1 7262 . . . . . . . 8 (𝑥 = 𝑁 → (𝑥 · 𝑋) = (𝑁 · 𝑋))
1716oveq1d 7270 . . . . . . 7 (𝑥 = 𝑁 → ((𝑥 · 𝑋) × 𝑌) = ((𝑁 · 𝑋) × 𝑌))
18 oveq1 7262 . . . . . . 7 (𝑥 = 𝑁 → (𝑥 · (𝑋 × 𝑌)) = (𝑁 · (𝑋 × 𝑌)))
1917, 18eqeq12d 2754 . . . . . 6 (𝑥 = 𝑁 → (((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌)) ↔ ((𝑁 · 𝑋) × 𝑌) = (𝑁 · (𝑋 × 𝑌))))
2019imbi2d 340 . . . . 5 (𝑥 = 𝑁 → ((((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌))) ↔ (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑁 · 𝑋) × 𝑌) = (𝑁 · (𝑋 × 𝑌)))))
21 simpr 484 . . . . . . 7 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → 𝑅 ∈ SRing)
22 simpr 484 . . . . . . . 8 ((𝑋𝐵𝑌𝐵) → 𝑌𝐵)
2322adantr 480 . . . . . . 7 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → 𝑌𝐵)
24 srgmulgass.b . . . . . . . 8 𝐵 = (Base‘𝑅)
25 srgmulgass.t . . . . . . . 8 × = (.r𝑅)
26 eqid 2738 . . . . . . . 8 (0g𝑅) = (0g𝑅)
2724, 25, 26srglz 19678 . . . . . . 7 ((𝑅 ∈ SRing ∧ 𝑌𝐵) → ((0g𝑅) × 𝑌) = (0g𝑅))
2821, 23, 27syl2anc 583 . . . . . 6 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((0g𝑅) × 𝑌) = (0g𝑅))
29 simpl 482 . . . . . . . . 9 ((𝑋𝐵𝑌𝐵) → 𝑋𝐵)
3029adantr 480 . . . . . . . 8 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → 𝑋𝐵)
31 srgmulgass.m . . . . . . . . 9 · = (.g𝑅)
3224, 26, 31mulg0 18622 . . . . . . . 8 (𝑋𝐵 → (0 · 𝑋) = (0g𝑅))
3330, 32syl 17 . . . . . . 7 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → (0 · 𝑋) = (0g𝑅))
3433oveq1d 7270 . . . . . 6 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((0 · 𝑋) × 𝑌) = ((0g𝑅) × 𝑌))
3524, 25srgcl 19663 . . . . . . . 8 ((𝑅 ∈ SRing ∧ 𝑋𝐵𝑌𝐵) → (𝑋 × 𝑌) ∈ 𝐵)
3621, 30, 23, 35syl3anc 1369 . . . . . . 7 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → (𝑋 × 𝑌) ∈ 𝐵)
3724, 26, 31mulg0 18622 . . . . . . 7 ((𝑋 × 𝑌) ∈ 𝐵 → (0 · (𝑋 × 𝑌)) = (0g𝑅))
3836, 37syl 17 . . . . . 6 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → (0 · (𝑋 × 𝑌)) = (0g𝑅))
3928, 34, 383eqtr4d 2788 . . . . 5 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((0 · 𝑋) × 𝑌) = (0 · (𝑋 × 𝑌)))
40 srgmnd 19660 . . . . . . . . . . . . . 14 (𝑅 ∈ SRing → 𝑅 ∈ Mnd)
4140adantl 481 . . . . . . . . . . . . 13 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → 𝑅 ∈ Mnd)
4241adantl 481 . . . . . . . . . . . 12 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → 𝑅 ∈ Mnd)
43 simpl 482 . . . . . . . . . . . 12 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → 𝑦 ∈ ℕ0)
4430adantl 481 . . . . . . . . . . . 12 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → 𝑋𝐵)
45 eqid 2738 . . . . . . . . . . . . 13 (+g𝑅) = (+g𝑅)
4624, 31, 45mulgnn0p1 18630 . . . . . . . . . . . 12 ((𝑅 ∈ Mnd ∧ 𝑦 ∈ ℕ0𝑋𝐵) → ((𝑦 + 1) · 𝑋) = ((𝑦 · 𝑋)(+g𝑅)𝑋))
4742, 43, 44, 46syl3anc 1369 . . . . . . . . . . 11 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → ((𝑦 + 1) · 𝑋) = ((𝑦 · 𝑋)(+g𝑅)𝑋))
4847oveq1d 7270 . . . . . . . . . 10 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → (((𝑦 + 1) · 𝑋) × 𝑌) = (((𝑦 · 𝑋)(+g𝑅)𝑋) × 𝑌))
4921adantl 481 . . . . . . . . . . 11 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → 𝑅 ∈ SRing)
5024, 31mulgnn0cl 18635 . . . . . . . . . . . 12 ((𝑅 ∈ Mnd ∧ 𝑦 ∈ ℕ0𝑋𝐵) → (𝑦 · 𝑋) ∈ 𝐵)
5142, 43, 44, 50syl3anc 1369 . . . . . . . . . . 11 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → (𝑦 · 𝑋) ∈ 𝐵)
5223adantl 481 . . . . . . . . . . 11 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → 𝑌𝐵)
5324, 45, 25srgdir 19668 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ ((𝑦 · 𝑋) ∈ 𝐵𝑋𝐵𝑌𝐵)) → (((𝑦 · 𝑋)(+g𝑅)𝑋) × 𝑌) = (((𝑦 · 𝑋) × 𝑌)(+g𝑅)(𝑋 × 𝑌)))
5449, 51, 44, 52, 53syl13anc 1370 . . . . . . . . . 10 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → (((𝑦 · 𝑋)(+g𝑅)𝑋) × 𝑌) = (((𝑦 · 𝑋) × 𝑌)(+g𝑅)(𝑋 × 𝑌)))
5548, 54eqtrd 2778 . . . . . . . . 9 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → (((𝑦 + 1) · 𝑋) × 𝑌) = (((𝑦 · 𝑋) × 𝑌)(+g𝑅)(𝑋 × 𝑌)))
5655adantr 480 . . . . . . . 8 (((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) ∧ ((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌))) → (((𝑦 + 1) · 𝑋) × 𝑌) = (((𝑦 · 𝑋) × 𝑌)(+g𝑅)(𝑋 × 𝑌)))
57 oveq1 7262 . . . . . . . . 9 (((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌)) → (((𝑦 · 𝑋) × 𝑌)(+g𝑅)(𝑋 × 𝑌)) = ((𝑦 · (𝑋 × 𝑌))(+g𝑅)(𝑋 × 𝑌)))
58353expb 1118 . . . . . . . . . . . . 13 ((𝑅 ∈ SRing ∧ (𝑋𝐵𝑌𝐵)) → (𝑋 × 𝑌) ∈ 𝐵)
5958ancoms 458 . . . . . . . . . . . 12 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → (𝑋 × 𝑌) ∈ 𝐵)
6059adantl 481 . . . . . . . . . . 11 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → (𝑋 × 𝑌) ∈ 𝐵)
6124, 31, 45mulgnn0p1 18630 . . . . . . . . . . 11 ((𝑅 ∈ Mnd ∧ 𝑦 ∈ ℕ0 ∧ (𝑋 × 𝑌) ∈ 𝐵) → ((𝑦 + 1) · (𝑋 × 𝑌)) = ((𝑦 · (𝑋 × 𝑌))(+g𝑅)(𝑋 × 𝑌)))
6242, 43, 60, 61syl3anc 1369 . . . . . . . . . 10 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → ((𝑦 + 1) · (𝑋 × 𝑌)) = ((𝑦 · (𝑋 × 𝑌))(+g𝑅)(𝑋 × 𝑌)))
6362eqcomd 2744 . . . . . . . . 9 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → ((𝑦 · (𝑋 × 𝑌))(+g𝑅)(𝑋 × 𝑌)) = ((𝑦 + 1) · (𝑋 × 𝑌)))
6457, 63sylan9eqr 2801 . . . . . . . 8 (((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) ∧ ((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌))) → (((𝑦 · 𝑋) × 𝑌)(+g𝑅)(𝑋 × 𝑌)) = ((𝑦 + 1) · (𝑋 × 𝑌)))
6556, 64eqtrd 2778 . . . . . . 7 (((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) ∧ ((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌))) → (((𝑦 + 1) · 𝑋) × 𝑌) = ((𝑦 + 1) · (𝑋 × 𝑌)))
6665exp31 419 . . . . . 6 (𝑦 ∈ ℕ0 → (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → (((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌)) → (((𝑦 + 1) · 𝑋) × 𝑌) = ((𝑦 + 1) · (𝑋 × 𝑌)))))
6766a2d 29 . . . . 5 (𝑦 ∈ ℕ0 → ((((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌))) → (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → (((𝑦 + 1) · 𝑋) × 𝑌) = ((𝑦 + 1) · (𝑋 × 𝑌)))))
685, 10, 15, 20, 39, 67nn0ind 12345 . . . 4 (𝑁 ∈ ℕ0 → (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑁 · 𝑋) × 𝑌) = (𝑁 · (𝑋 × 𝑌))))
6968expd 415 . . 3 (𝑁 ∈ ℕ0 → ((𝑋𝐵𝑌𝐵) → (𝑅 ∈ SRing → ((𝑁 · 𝑋) × 𝑌) = (𝑁 · (𝑋 × 𝑌)))))
70693impib 1114 . 2 ((𝑁 ∈ ℕ0𝑋𝐵𝑌𝐵) → (𝑅 ∈ SRing → ((𝑁 · 𝑋) × 𝑌) = (𝑁 · (𝑋 × 𝑌))))
7170impcom 407 1 ((𝑅 ∈ SRing ∧ (𝑁 ∈ ℕ0𝑋𝐵𝑌𝐵)) → ((𝑁 · 𝑋) × 𝑌) = (𝑁 · (𝑋 × 𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  cfv 6418  (class class class)co 7255  0cc0 10802  1c1 10803   + caddc 10805  0cn0 12163  Basecbs 16840  +gcplusg 16888  .rcmulr 16889  0gc0g 17067  Mndcmnd 18300  .gcmg 18615  SRingcsrg 19656
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-2 11966  df-n0 12164  df-z 12250  df-uz 12512  df-fz 13169  df-seq 13650  df-sets 16793  df-slot 16811  df-ndx 16823  df-base 16841  df-plusg 16901  df-0g 17069  df-mgm 18241  df-sgrp 18290  df-mnd 18301  df-mulg 18616  df-cmn 19303  df-mgp 19636  df-srg 19657
This theorem is referenced by:  srgpcomppsc  19685  srgbinomlem4  19694
  Copyright terms: Public domain W3C validator