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

Theorem srgmulgass 18738
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 6799 . . . . . . . 8 (𝑥 = 0 → (𝑥 · 𝑋) = (0 · 𝑋))
21oveq1d 6807 . . . . . . 7 (𝑥 = 0 → ((𝑥 · 𝑋) × 𝑌) = ((0 · 𝑋) × 𝑌))
3 oveq1 6799 . . . . . . 7 (𝑥 = 0 → (𝑥 · (𝑋 × 𝑌)) = (0 · (𝑋 × 𝑌)))
42, 3eqeq12d 2785 . . . . . 6 (𝑥 = 0 → (((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌)) ↔ ((0 · 𝑋) × 𝑌) = (0 · (𝑋 × 𝑌))))
54imbi2d 329 . . . . 5 (𝑥 = 0 → ((((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌))) ↔ (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((0 · 𝑋) × 𝑌) = (0 · (𝑋 × 𝑌)))))
6 oveq1 6799 . . . . . . . 8 (𝑥 = 𝑦 → (𝑥 · 𝑋) = (𝑦 · 𝑋))
76oveq1d 6807 . . . . . . 7 (𝑥 = 𝑦 → ((𝑥 · 𝑋) × 𝑌) = ((𝑦 · 𝑋) × 𝑌))
8 oveq1 6799 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 · (𝑋 × 𝑌)) = (𝑦 · (𝑋 × 𝑌)))
97, 8eqeq12d 2785 . . . . . 6 (𝑥 = 𝑦 → (((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌)) ↔ ((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌))))
109imbi2d 329 . . . . 5 (𝑥 = 𝑦 → ((((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌))) ↔ (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌)))))
11 oveq1 6799 . . . . . . . 8 (𝑥 = (𝑦 + 1) → (𝑥 · 𝑋) = ((𝑦 + 1) · 𝑋))
1211oveq1d 6807 . . . . . . 7 (𝑥 = (𝑦 + 1) → ((𝑥 · 𝑋) × 𝑌) = (((𝑦 + 1) · 𝑋) × 𝑌))
13 oveq1 6799 . . . . . . 7 (𝑥 = (𝑦 + 1) → (𝑥 · (𝑋 × 𝑌)) = ((𝑦 + 1) · (𝑋 × 𝑌)))
1412, 13eqeq12d 2785 . . . . . 6 (𝑥 = (𝑦 + 1) → (((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌)) ↔ (((𝑦 + 1) · 𝑋) × 𝑌) = ((𝑦 + 1) · (𝑋 × 𝑌))))
1514imbi2d 329 . . . . 5 (𝑥 = (𝑦 + 1) → ((((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌))) ↔ (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → (((𝑦 + 1) · 𝑋) × 𝑌) = ((𝑦 + 1) · (𝑋 × 𝑌)))))
16 oveq1 6799 . . . . . . . 8 (𝑥 = 𝑁 → (𝑥 · 𝑋) = (𝑁 · 𝑋))
1716oveq1d 6807 . . . . . . 7 (𝑥 = 𝑁 → ((𝑥 · 𝑋) × 𝑌) = ((𝑁 · 𝑋) × 𝑌))
18 oveq1 6799 . . . . . . 7 (𝑥 = 𝑁 → (𝑥 · (𝑋 × 𝑌)) = (𝑁 · (𝑋 × 𝑌)))
1917, 18eqeq12d 2785 . . . . . 6 (𝑥 = 𝑁 → (((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌)) ↔ ((𝑁 · 𝑋) × 𝑌) = (𝑁 · (𝑋 × 𝑌))))
2019imbi2d 329 . . . . 5 (𝑥 = 𝑁 → ((((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑥 · 𝑋) × 𝑌) = (𝑥 · (𝑋 × 𝑌))) ↔ (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑁 · 𝑋) × 𝑌) = (𝑁 · (𝑋 × 𝑌)))))
21 simpr 471 . . . . . . 7 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → 𝑅 ∈ SRing)
22 simpr 471 . . . . . . . 8 ((𝑋𝐵𝑌𝐵) → 𝑌𝐵)
2322adantr 466 . . . . . . 7 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → 𝑌𝐵)
24 srgmulgass.b . . . . . . . 8 𝐵 = (Base‘𝑅)
25 srgmulgass.t . . . . . . . 8 × = (.r𝑅)
26 eqid 2770 . . . . . . . 8 (0g𝑅) = (0g𝑅)
2724, 25, 26srglz 18734 . . . . . . 7 ((𝑅 ∈ SRing ∧ 𝑌𝐵) → ((0g𝑅) × 𝑌) = (0g𝑅))
2821, 23, 27syl2anc 565 . . . . . 6 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((0g𝑅) × 𝑌) = (0g𝑅))
29 simpl 468 . . . . . . . . 9 ((𝑋𝐵𝑌𝐵) → 𝑋𝐵)
3029adantr 466 . . . . . . . 8 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → 𝑋𝐵)
31 srgmulgass.m . . . . . . . . 9 · = (.g𝑅)
3224, 26, 31mulg0 17753 . . . . . . . 8 (𝑋𝐵 → (0 · 𝑋) = (0g𝑅))
3330, 32syl 17 . . . . . . 7 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → (0 · 𝑋) = (0g𝑅))
3433oveq1d 6807 . . . . . 6 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((0 · 𝑋) × 𝑌) = ((0g𝑅) × 𝑌))
3524, 25srgcl 18719 . . . . . . . 8 ((𝑅 ∈ SRing ∧ 𝑋𝐵𝑌𝐵) → (𝑋 × 𝑌) ∈ 𝐵)
3621, 30, 23, 35syl3anc 1475 . . . . . . 7 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → (𝑋 × 𝑌) ∈ 𝐵)
3724, 26, 31mulg0 17753 . . . . . . 7 ((𝑋 × 𝑌) ∈ 𝐵 → (0 · (𝑋 × 𝑌)) = (0g𝑅))
3836, 37syl 17 . . . . . 6 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → (0 · (𝑋 × 𝑌)) = (0g𝑅))
3928, 34, 383eqtr4d 2814 . . . . 5 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((0 · 𝑋) × 𝑌) = (0 · (𝑋 × 𝑌)))
40 srgmnd 18716 . . . . . . . . . . . . . 14 (𝑅 ∈ SRing → 𝑅 ∈ Mnd)
4140adantl 467 . . . . . . . . . . . . 13 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → 𝑅 ∈ Mnd)
4241adantl 467 . . . . . . . . . . . 12 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → 𝑅 ∈ Mnd)
43 simpl 468 . . . . . . . . . . . 12 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → 𝑦 ∈ ℕ0)
4430adantl 467 . . . . . . . . . . . 12 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → 𝑋𝐵)
45 eqid 2770 . . . . . . . . . . . . 13 (+g𝑅) = (+g𝑅)
4624, 31, 45mulgnn0p1 17759 . . . . . . . . . . . 12 ((𝑅 ∈ Mnd ∧ 𝑦 ∈ ℕ0𝑋𝐵) → ((𝑦 + 1) · 𝑋) = ((𝑦 · 𝑋)(+g𝑅)𝑋))
4742, 43, 44, 46syl3anc 1475 . . . . . . . . . . 11 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → ((𝑦 + 1) · 𝑋) = ((𝑦 · 𝑋)(+g𝑅)𝑋))
4847oveq1d 6807 . . . . . . . . . 10 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → (((𝑦 + 1) · 𝑋) × 𝑌) = (((𝑦 · 𝑋)(+g𝑅)𝑋) × 𝑌))
4921adantl 467 . . . . . . . . . . 11 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → 𝑅 ∈ SRing)
5024, 31mulgnn0cl 17765 . . . . . . . . . . . 12 ((𝑅 ∈ Mnd ∧ 𝑦 ∈ ℕ0𝑋𝐵) → (𝑦 · 𝑋) ∈ 𝐵)
5142, 43, 44, 50syl3anc 1475 . . . . . . . . . . 11 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → (𝑦 · 𝑋) ∈ 𝐵)
5223adantl 467 . . . . . . . . . . 11 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → 𝑌𝐵)
5324, 45, 25srgdir 18724 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ ((𝑦 · 𝑋) ∈ 𝐵𝑋𝐵𝑌𝐵)) → (((𝑦 · 𝑋)(+g𝑅)𝑋) × 𝑌) = (((𝑦 · 𝑋) × 𝑌)(+g𝑅)(𝑋 × 𝑌)))
5449, 51, 44, 52, 53syl13anc 1477 . . . . . . . . . 10 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → (((𝑦 · 𝑋)(+g𝑅)𝑋) × 𝑌) = (((𝑦 · 𝑋) × 𝑌)(+g𝑅)(𝑋 × 𝑌)))
5548, 54eqtrd 2804 . . . . . . . . 9 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → (((𝑦 + 1) · 𝑋) × 𝑌) = (((𝑦 · 𝑋) × 𝑌)(+g𝑅)(𝑋 × 𝑌)))
5655adantr 466 . . . . . . . 8 (((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) ∧ ((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌))) → (((𝑦 + 1) · 𝑋) × 𝑌) = (((𝑦 · 𝑋) × 𝑌)(+g𝑅)(𝑋 × 𝑌)))
57 oveq1 6799 . . . . . . . . 9 (((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌)) → (((𝑦 · 𝑋) × 𝑌)(+g𝑅)(𝑋 × 𝑌)) = ((𝑦 · (𝑋 × 𝑌))(+g𝑅)(𝑋 × 𝑌)))
58353expb 1112 . . . . . . . . . . . . 13 ((𝑅 ∈ SRing ∧ (𝑋𝐵𝑌𝐵)) → (𝑋 × 𝑌) ∈ 𝐵)
5958ancoms 455 . . . . . . . . . . . 12 (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → (𝑋 × 𝑌) ∈ 𝐵)
6059adantl 467 . . . . . . . . . . 11 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → (𝑋 × 𝑌) ∈ 𝐵)
6124, 31, 45mulgnn0p1 17759 . . . . . . . . . . 11 ((𝑅 ∈ Mnd ∧ 𝑦 ∈ ℕ0 ∧ (𝑋 × 𝑌) ∈ 𝐵) → ((𝑦 + 1) · (𝑋 × 𝑌)) = ((𝑦 · (𝑋 × 𝑌))(+g𝑅)(𝑋 × 𝑌)))
6242, 43, 60, 61syl3anc 1475 . . . . . . . . . 10 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → ((𝑦 + 1) · (𝑋 × 𝑌)) = ((𝑦 · (𝑋 × 𝑌))(+g𝑅)(𝑋 × 𝑌)))
6362eqcomd 2776 . . . . . . . . 9 ((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) → ((𝑦 · (𝑋 × 𝑌))(+g𝑅)(𝑋 × 𝑌)) = ((𝑦 + 1) · (𝑋 × 𝑌)))
6457, 63sylan9eqr 2826 . . . . . . . 8 (((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) ∧ ((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌))) → (((𝑦 · 𝑋) × 𝑌)(+g𝑅)(𝑋 × 𝑌)) = ((𝑦 + 1) · (𝑋 × 𝑌)))
6556, 64eqtrd 2804 . . . . . . 7 (((𝑦 ∈ ℕ0 ∧ ((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing)) ∧ ((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌))) → (((𝑦 + 1) · 𝑋) × 𝑌) = ((𝑦 + 1) · (𝑋 × 𝑌)))
6665exp31 406 . . . . . 6 (𝑦 ∈ ℕ0 → (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → (((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌)) → (((𝑦 + 1) · 𝑋) × 𝑌) = ((𝑦 + 1) · (𝑋 × 𝑌)))))
6766a2d 29 . . . . 5 (𝑦 ∈ ℕ0 → ((((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑦 · 𝑋) × 𝑌) = (𝑦 · (𝑋 × 𝑌))) → (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → (((𝑦 + 1) · 𝑋) × 𝑌) = ((𝑦 + 1) · (𝑋 × 𝑌)))))
685, 10, 15, 20, 39, 67nn0ind 11673 . . . 4 (𝑁 ∈ ℕ0 → (((𝑋𝐵𝑌𝐵) ∧ 𝑅 ∈ SRing) → ((𝑁 · 𝑋) × 𝑌) = (𝑁 · (𝑋 × 𝑌))))
6968expd 400 . . 3 (𝑁 ∈ ℕ0 → ((𝑋𝐵𝑌𝐵) → (𝑅 ∈ SRing → ((𝑁 · 𝑋) × 𝑌) = (𝑁 · (𝑋 × 𝑌)))))
70693impib 1107 . 2 ((𝑁 ∈ ℕ0𝑋𝐵𝑌𝐵) → (𝑅 ∈ SRing → ((𝑁 · 𝑋) × 𝑌) = (𝑁 · (𝑋 × 𝑌))))
7170impcom 394 1 ((𝑅 ∈ SRing ∧ (𝑁 ∈ ℕ0𝑋𝐵𝑌𝐵)) → ((𝑁 · 𝑋) × 𝑌) = (𝑁 · (𝑋 × 𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 382  w3a 1070   = wceq 1630  wcel 2144  cfv 6031  (class class class)co 6792  0cc0 10137  1c1 10138   + caddc 10140  0cn0 11493  Basecbs 16063  +gcplusg 16148  .rcmulr 16149  0gc0g 16307  Mndcmnd 17501  .gcmg 17747  SRingcsrg 18712
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-inf2 8701  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-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-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-er 7895  df-en 8109  df-dom 8110  df-sdom 8111  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-n0 11494  df-z 11579  df-uz 11888  df-fz 12533  df-seq 13008  df-ndx 16066  df-slot 16067  df-base 16069  df-sets 16070  df-plusg 16161  df-0g 16309  df-mgm 17449  df-sgrp 17491  df-mnd 17502  df-mulg 17748  df-cmn 18401  df-mgp 18697  df-srg 18713
This theorem is referenced by:  srgpcomppsc  18741  srgbinomlem4  18750
  Copyright terms: Public domain W3C validator