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

Theorem srgpcompp 18996
Description: If two elements of a semiring commute, they also commute if the elements are raised to a higher power. (Contributed by AV, 23-Aug-2019.)
Hypotheses
Ref Expression
srgpcomp.s 𝑆 = (Base‘𝑅)
srgpcomp.m × = (.r𝑅)
srgpcomp.g 𝐺 = (mulGrp‘𝑅)
srgpcomp.e = (.g𝐺)
srgpcomp.r (𝜑𝑅 ∈ SRing)
srgpcomp.a (𝜑𝐴𝑆)
srgpcomp.b (𝜑𝐵𝑆)
srgpcomp.k (𝜑𝐾 ∈ ℕ0)
srgpcomp.c (𝜑 → (𝐴 × 𝐵) = (𝐵 × 𝐴))
srgpcompp.n (𝜑𝑁 ∈ ℕ0)
Assertion
Ref Expression
srgpcompp (𝜑 → (((𝑁 𝐴) × (𝐾 𝐵)) × 𝐴) = (((𝑁 + 1) 𝐴) × (𝐾 𝐵)))

Proof of Theorem srgpcompp
StepHypRef Expression
1 srgpcomp.r . . 3 (𝜑𝑅 ∈ SRing)
2 srgpcomp.g . . . . . 6 𝐺 = (mulGrp‘𝑅)
32srgmgp 18973 . . . . 5 (𝑅 ∈ SRing → 𝐺 ∈ Mnd)
41, 3syl 17 . . . 4 (𝜑𝐺 ∈ Mnd)
5 srgpcompp.n . . . 4 (𝜑𝑁 ∈ ℕ0)
6 srgpcomp.a . . . 4 (𝜑𝐴𝑆)
7 srgpcomp.s . . . . . 6 𝑆 = (Base‘𝑅)
82, 7mgpbas 18958 . . . . 5 𝑆 = (Base‘𝐺)
9 srgpcomp.e . . . . 5 = (.g𝐺)
108, 9mulgnn0cl 18019 . . . 4 ((𝐺 ∈ Mnd ∧ 𝑁 ∈ ℕ0𝐴𝑆) → (𝑁 𝐴) ∈ 𝑆)
114, 5, 6, 10syl3anc 1351 . . 3 (𝜑 → (𝑁 𝐴) ∈ 𝑆)
12 srgpcomp.k . . . 4 (𝜑𝐾 ∈ ℕ0)
13 srgpcomp.b . . . 4 (𝜑𝐵𝑆)
148, 9mulgnn0cl 18019 . . . 4 ((𝐺 ∈ Mnd ∧ 𝐾 ∈ ℕ0𝐵𝑆) → (𝐾 𝐵) ∈ 𝑆)
154, 12, 13, 14syl3anc 1351 . . 3 (𝜑 → (𝐾 𝐵) ∈ 𝑆)
16 srgpcomp.m . . . 4 × = (.r𝑅)
177, 16srgass 18976 . . 3 ((𝑅 ∈ SRing ∧ ((𝑁 𝐴) ∈ 𝑆 ∧ (𝐾 𝐵) ∈ 𝑆𝐴𝑆)) → (((𝑁 𝐴) × (𝐾 𝐵)) × 𝐴) = ((𝑁 𝐴) × ((𝐾 𝐵) × 𝐴)))
181, 11, 15, 6, 17syl13anc 1352 . 2 (𝜑 → (((𝑁 𝐴) × (𝐾 𝐵)) × 𝐴) = ((𝑁 𝐴) × ((𝐾 𝐵) × 𝐴)))
19 srgpcomp.c . . . . 5 (𝜑 → (𝐴 × 𝐵) = (𝐵 × 𝐴))
207, 16, 2, 9, 1, 6, 13, 12, 19srgpcomp 18995 . . . 4 (𝜑 → ((𝐾 𝐵) × 𝐴) = (𝐴 × (𝐾 𝐵)))
2120oveq2d 6986 . . 3 (𝜑 → ((𝑁 𝐴) × ((𝐾 𝐵) × 𝐴)) = ((𝑁 𝐴) × (𝐴 × (𝐾 𝐵))))
227, 16srgass 18976 . . . 4 ((𝑅 ∈ SRing ∧ ((𝑁 𝐴) ∈ 𝑆𝐴𝑆 ∧ (𝐾 𝐵) ∈ 𝑆)) → (((𝑁 𝐴) × 𝐴) × (𝐾 𝐵)) = ((𝑁 𝐴) × (𝐴 × (𝐾 𝐵))))
231, 11, 6, 15, 22syl13anc 1352 . . 3 (𝜑 → (((𝑁 𝐴) × 𝐴) × (𝐾 𝐵)) = ((𝑁 𝐴) × (𝐴 × (𝐾 𝐵))))
2421, 23eqtr4d 2811 . 2 (𝜑 → ((𝑁 𝐴) × ((𝐾 𝐵) × 𝐴)) = (((𝑁 𝐴) × 𝐴) × (𝐾 𝐵)))
252, 16mgpplusg 18956 . . . . . 6 × = (+g𝐺)
268, 9, 25mulgnn0p1 18014 . . . . 5 ((𝐺 ∈ Mnd ∧ 𝑁 ∈ ℕ0𝐴𝑆) → ((𝑁 + 1) 𝐴) = ((𝑁 𝐴) × 𝐴))
274, 5, 6, 26syl3anc 1351 . . . 4 (𝜑 → ((𝑁 + 1) 𝐴) = ((𝑁 𝐴) × 𝐴))
2827eqcomd 2778 . . 3 (𝜑 → ((𝑁 𝐴) × 𝐴) = ((𝑁 + 1) 𝐴))
2928oveq1d 6985 . 2 (𝜑 → (((𝑁 𝐴) × 𝐴) × (𝐾 𝐵)) = (((𝑁 + 1) 𝐴) × (𝐾 𝐵)))
3018, 24, 293eqtrd 2812 1 (𝜑 → (((𝑁 𝐴) × (𝐾 𝐵)) × 𝐴) = (((𝑁 + 1) 𝐴) × (𝐾 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1507  wcel 2048  cfv 6182  (class class class)co 6970  1c1 10328   + caddc 10330  0cn0 11700  Basecbs 16329  .rcmulr 16412  Mndcmnd 17752  .gcmg 18001  mulGrpcmgp 18952  SRingcsrg 18968
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1758  ax-4 1772  ax-5 1869  ax-6 1928  ax-7 1964  ax-8 2050  ax-9 2057  ax-10 2077  ax-11 2091  ax-12 2104  ax-13 2299  ax-ext 2745  ax-sep 5054  ax-nul 5061  ax-pow 5113  ax-pr 5180  ax-un 7273  ax-cnex 10383  ax-resscn 10384  ax-1cn 10385  ax-icn 10386  ax-addcl 10387  ax-addrcl 10388  ax-mulcl 10389  ax-mulrcl 10390  ax-mulcom 10391  ax-addass 10392  ax-mulass 10393  ax-distr 10394  ax-i2m1 10395  ax-1ne0 10396  ax-1rid 10397  ax-rnegex 10398  ax-rrecex 10399  ax-cnre 10400  ax-pre-lttri 10401  ax-pre-lttrn 10402  ax-pre-ltadd 10403  ax-pre-mulgt0 10404
This theorem depends on definitions:  df-bi 199  df-an 388  df-or 834  df-3or 1069  df-3an 1070  df-tru 1510  df-ex 1743  df-nf 1747  df-sb 2014  df-mo 2544  df-eu 2580  df-clab 2754  df-cleq 2765  df-clel 2840  df-nfc 2912  df-ne 2962  df-nel 3068  df-ral 3087  df-rex 3088  df-reu 3089  df-rmo 3090  df-rab 3091  df-v 3411  df-sbc 3678  df-csb 3783  df-dif 3828  df-un 3830  df-in 3832  df-ss 3839  df-pss 3841  df-nul 4174  df-if 4345  df-pw 4418  df-sn 4436  df-pr 4438  df-tp 4440  df-op 4442  df-uni 4707  df-iun 4788  df-br 4924  df-opab 4986  df-mpt 5003  df-tr 5025  df-id 5305  df-eprel 5310  df-po 5319  df-so 5320  df-fr 5359  df-we 5361  df-xp 5406  df-rel 5407  df-cnv 5408  df-co 5409  df-dm 5410  df-rn 5411  df-res 5412  df-ima 5413  df-pred 5980  df-ord 6026  df-on 6027  df-lim 6028  df-suc 6029  df-iota 6146  df-fun 6184  df-fn 6185  df-f 6186  df-f1 6187  df-fo 6188  df-f1o 6189  df-fv 6190  df-riota 6931  df-ov 6973  df-oprab 6974  df-mpo 6975  df-om 7391  df-1st 7494  df-2nd 7495  df-wrecs 7743  df-recs 7805  df-rdg 7843  df-er 8081  df-en 8299  df-dom 8300  df-sdom 8301  df-pnf 10468  df-mnf 10469  df-xr 10470  df-ltxr 10471  df-le 10472  df-sub 10664  df-neg 10665  df-nn 11432  df-2 11496  df-n0 11701  df-z 11787  df-uz 12052  df-fz 12702  df-seq 13178  df-ndx 16332  df-slot 16333  df-base 16335  df-sets 16336  df-plusg 16424  df-0g 16561  df-mgm 17700  df-sgrp 17742  df-mnd 17753  df-mulg 18002  df-mgp 18953  df-ur 18965  df-srg 18969
This theorem is referenced by:  srgpcomppsc  18997
  Copyright terms: Public domain W3C validator