ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  srgpcomp GIF version

Theorem srgpcomp 12966
Description: If two elements of a semiring commute, they also commute if one of the elements is 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 (𝜑 → (𝐴 × 𝐵) = (𝐵 × 𝐴))
Assertion
Ref Expression
srgpcomp (𝜑 → ((𝐾 𝐵) × 𝐴) = (𝐴 × (𝐾 𝐵)))

Proof of Theorem srgpcomp
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 srgpcomp.k . 2 (𝜑𝐾 ∈ ℕ0)
2 oveq1 5872 . . . . . 6 (𝑥 = 0 → (𝑥 𝐵) = (0 𝐵))
32oveq1d 5880 . . . . 5 (𝑥 = 0 → ((𝑥 𝐵) × 𝐴) = ((0 𝐵) × 𝐴))
42oveq2d 5881 . . . . 5 (𝑥 = 0 → (𝐴 × (𝑥 𝐵)) = (𝐴 × (0 𝐵)))
53, 4eqeq12d 2190 . . . 4 (𝑥 = 0 → (((𝑥 𝐵) × 𝐴) = (𝐴 × (𝑥 𝐵)) ↔ ((0 𝐵) × 𝐴) = (𝐴 × (0 𝐵))))
65imbi2d 230 . . 3 (𝑥 = 0 → ((𝜑 → ((𝑥 𝐵) × 𝐴) = (𝐴 × (𝑥 𝐵))) ↔ (𝜑 → ((0 𝐵) × 𝐴) = (𝐴 × (0 𝐵)))))
7 oveq1 5872 . . . . . 6 (𝑥 = 𝑦 → (𝑥 𝐵) = (𝑦 𝐵))
87oveq1d 5880 . . . . 5 (𝑥 = 𝑦 → ((𝑥 𝐵) × 𝐴) = ((𝑦 𝐵) × 𝐴))
97oveq2d 5881 . . . . 5 (𝑥 = 𝑦 → (𝐴 × (𝑥 𝐵)) = (𝐴 × (𝑦 𝐵)))
108, 9eqeq12d 2190 . . . 4 (𝑥 = 𝑦 → (((𝑥 𝐵) × 𝐴) = (𝐴 × (𝑥 𝐵)) ↔ ((𝑦 𝐵) × 𝐴) = (𝐴 × (𝑦 𝐵))))
1110imbi2d 230 . . 3 (𝑥 = 𝑦 → ((𝜑 → ((𝑥 𝐵) × 𝐴) = (𝐴 × (𝑥 𝐵))) ↔ (𝜑 → ((𝑦 𝐵) × 𝐴) = (𝐴 × (𝑦 𝐵)))))
12 oveq1 5872 . . . . . 6 (𝑥 = (𝑦 + 1) → (𝑥 𝐵) = ((𝑦 + 1) 𝐵))
1312oveq1d 5880 . . . . 5 (𝑥 = (𝑦 + 1) → ((𝑥 𝐵) × 𝐴) = (((𝑦 + 1) 𝐵) × 𝐴))
1412oveq2d 5881 . . . . 5 (𝑥 = (𝑦 + 1) → (𝐴 × (𝑥 𝐵)) = (𝐴 × ((𝑦 + 1) 𝐵)))
1513, 14eqeq12d 2190 . . . 4 (𝑥 = (𝑦 + 1) → (((𝑥 𝐵) × 𝐴) = (𝐴 × (𝑥 𝐵)) ↔ (((𝑦 + 1) 𝐵) × 𝐴) = (𝐴 × ((𝑦 + 1) 𝐵))))
1615imbi2d 230 . . 3 (𝑥 = (𝑦 + 1) → ((𝜑 → ((𝑥 𝐵) × 𝐴) = (𝐴 × (𝑥 𝐵))) ↔ (𝜑 → (((𝑦 + 1) 𝐵) × 𝐴) = (𝐴 × ((𝑦 + 1) 𝐵)))))
17 oveq1 5872 . . . . . 6 (𝑥 = 𝐾 → (𝑥 𝐵) = (𝐾 𝐵))
1817oveq1d 5880 . . . . 5 (𝑥 = 𝐾 → ((𝑥 𝐵) × 𝐴) = ((𝐾 𝐵) × 𝐴))
1917oveq2d 5881 . . . . 5 (𝑥 = 𝐾 → (𝐴 × (𝑥 𝐵)) = (𝐴 × (𝐾 𝐵)))
2018, 19eqeq12d 2190 . . . 4 (𝑥 = 𝐾 → (((𝑥 𝐵) × 𝐴) = (𝐴 × (𝑥 𝐵)) ↔ ((𝐾 𝐵) × 𝐴) = (𝐴 × (𝐾 𝐵))))
2120imbi2d 230 . . 3 (𝑥 = 𝐾 → ((𝜑 → ((𝑥 𝐵) × 𝐴) = (𝐴 × (𝑥 𝐵))) ↔ (𝜑 → ((𝐾 𝐵) × 𝐴) = (𝐴 × (𝐾 𝐵)))))
22 srgpcomp.b . . . . . . . 8 (𝜑𝐵𝑆)
23 srgpcomp.r . . . . . . . . 9 (𝜑𝑅 ∈ SRing)
24 srgpcomp.g . . . . . . . . . 10 𝐺 = (mulGrp‘𝑅)
25 srgpcomp.s . . . . . . . . . 10 𝑆 = (Base‘𝑅)
2624, 25mgpbasg 12930 . . . . . . . . 9 (𝑅 ∈ SRing → 𝑆 = (Base‘𝐺))
2723, 26syl 14 . . . . . . . 8 (𝜑𝑆 = (Base‘𝐺))
2822, 27eleqtrd 2254 . . . . . . 7 (𝜑𝐵 ∈ (Base‘𝐺))
29 eqid 2175 . . . . . . . 8 (Base‘𝐺) = (Base‘𝐺)
30 eqid 2175 . . . . . . . 8 (0g𝐺) = (0g𝐺)
31 srgpcomp.e . . . . . . . 8 = (.g𝐺)
3229, 30, 31mulg0 12847 . . . . . . 7 (𝐵 ∈ (Base‘𝐺) → (0 𝐵) = (0g𝐺))
3328, 32syl 14 . . . . . 6 (𝜑 → (0 𝐵) = (0g𝐺))
34 eqid 2175 . . . . . . . 8 (1r𝑅) = (1r𝑅)
3524, 34ringidvalg 12937 . . . . . . 7 (𝑅 ∈ SRing → (1r𝑅) = (0g𝐺))
3623, 35syl 14 . . . . . 6 (𝜑 → (1r𝑅) = (0g𝐺))
3733, 36eqtr4d 2211 . . . . 5 (𝜑 → (0 𝐵) = (1r𝑅))
3837oveq1d 5880 . . . 4 (𝜑 → ((0 𝐵) × 𝐴) = ((1r𝑅) × 𝐴))
39 srgpcomp.a . . . . . 6 (𝜑𝐴𝑆)
40 srgpcomp.m . . . . . . 7 × = (.r𝑅)
4125, 40, 34srgridm 12956 . . . . . 6 ((𝑅 ∈ SRing ∧ 𝐴𝑆) → (𝐴 × (1r𝑅)) = 𝐴)
4223, 39, 41syl2anc 411 . . . . 5 (𝜑 → (𝐴 × (1r𝑅)) = 𝐴)
4337oveq2d 5881 . . . . 5 (𝜑 → (𝐴 × (0 𝐵)) = (𝐴 × (1r𝑅)))
4425, 40, 34srglidm 12955 . . . . . 6 ((𝑅 ∈ SRing ∧ 𝐴𝑆) → ((1r𝑅) × 𝐴) = 𝐴)
4523, 39, 44syl2anc 411 . . . . 5 (𝜑 → ((1r𝑅) × 𝐴) = 𝐴)
4642, 43, 453eqtr4rd 2219 . . . 4 (𝜑 → ((1r𝑅) × 𝐴) = (𝐴 × (0 𝐵)))
4738, 46eqtrd 2208 . . 3 (𝜑 → ((0 𝐵) × 𝐴) = (𝐴 × (0 𝐵)))
4824srgmgp 12944 . . . . . . . . . . . . . 14 (𝑅 ∈ SRing → 𝐺 ∈ Mnd)
4923, 48syl 14 . . . . . . . . . . . . 13 (𝜑𝐺 ∈ Mnd)
5049adantr 276 . . . . . . . . . . . 12 ((𝜑𝑦 ∈ ℕ0) → 𝐺 ∈ Mnd)
51 simpr 110 . . . . . . . . . . . 12 ((𝜑𝑦 ∈ ℕ0) → 𝑦 ∈ ℕ0)
5222adantr 276 . . . . . . . . . . . . 13 ((𝜑𝑦 ∈ ℕ0) → 𝐵𝑆)
5327adantr 276 . . . . . . . . . . . . 13 ((𝜑𝑦 ∈ ℕ0) → 𝑆 = (Base‘𝐺))
5452, 53eleqtrd 2254 . . . . . . . . . . . 12 ((𝜑𝑦 ∈ ℕ0) → 𝐵 ∈ (Base‘𝐺))
55 eqid 2175 . . . . . . . . . . . . 13 (+g𝐺) = (+g𝐺)
5629, 31, 55mulgnn0p1 12853 . . . . . . . . . . . 12 ((𝐺 ∈ Mnd ∧ 𝑦 ∈ ℕ0𝐵 ∈ (Base‘𝐺)) → ((𝑦 + 1) 𝐵) = ((𝑦 𝐵)(+g𝐺)𝐵))
5750, 51, 54, 56syl3anc 1238 . . . . . . . . . . 11 ((𝜑𝑦 ∈ ℕ0) → ((𝑦 + 1) 𝐵) = ((𝑦 𝐵)(+g𝐺)𝐵))
5824, 40mgpplusgg 12929 . . . . . . . . . . . . . . 15 (𝑅 ∈ SRing → × = (+g𝐺))
5923, 58syl 14 . . . . . . . . . . . . . 14 (𝜑× = (+g𝐺))
6059oveqd 5882 . . . . . . . . . . . . 13 (𝜑 → ((𝑦 𝐵) × 𝐵) = ((𝑦 𝐵)(+g𝐺)𝐵))
6160eqeq2d 2187 . . . . . . . . . . . 12 (𝜑 → (((𝑦 + 1) 𝐵) = ((𝑦 𝐵) × 𝐵) ↔ ((𝑦 + 1) 𝐵) = ((𝑦 𝐵)(+g𝐺)𝐵)))
6261adantr 276 . . . . . . . . . . 11 ((𝜑𝑦 ∈ ℕ0) → (((𝑦 + 1) 𝐵) = ((𝑦 𝐵) × 𝐵) ↔ ((𝑦 + 1) 𝐵) = ((𝑦 𝐵)(+g𝐺)𝐵)))
6357, 62mpbird 167 . . . . . . . . . 10 ((𝜑𝑦 ∈ ℕ0) → ((𝑦 + 1) 𝐵) = ((𝑦 𝐵) × 𝐵))
6463oveq1d 5880 . . . . . . . . 9 ((𝜑𝑦 ∈ ℕ0) → (((𝑦 + 1) 𝐵) × 𝐴) = (((𝑦 𝐵) × 𝐵) × 𝐴))
65 srgpcomp.c . . . . . . . . . . . . 13 (𝜑 → (𝐴 × 𝐵) = (𝐵 × 𝐴))
6665eqcomd 2181 . . . . . . . . . . . 12 (𝜑 → (𝐵 × 𝐴) = (𝐴 × 𝐵))
6766adantr 276 . . . . . . . . . . 11 ((𝜑𝑦 ∈ ℕ0) → (𝐵 × 𝐴) = (𝐴 × 𝐵))
6867oveq2d 5881 . . . . . . . . . 10 ((𝜑𝑦 ∈ ℕ0) → ((𝑦 𝐵) × (𝐵 × 𝐴)) = ((𝑦 𝐵) × (𝐴 × 𝐵)))
6923adantr 276 . . . . . . . . . . 11 ((𝜑𝑦 ∈ ℕ0) → 𝑅 ∈ SRing)
7029, 31mulgnn0cl 12858 . . . . . . . . . . . . 13 ((𝐺 ∈ Mnd ∧ 𝑦 ∈ ℕ0𝐵 ∈ (Base‘𝐺)) → (𝑦 𝐵) ∈ (Base‘𝐺))
7150, 51, 54, 70syl3anc 1238 . . . . . . . . . . . 12 ((𝜑𝑦 ∈ ℕ0) → (𝑦 𝐵) ∈ (Base‘𝐺))
7271, 53eleqtrrd 2255 . . . . . . . . . . 11 ((𝜑𝑦 ∈ ℕ0) → (𝑦 𝐵) ∈ 𝑆)
7339adantr 276 . . . . . . . . . . 11 ((𝜑𝑦 ∈ ℕ0) → 𝐴𝑆)
7425, 40srgass 12947 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ ((𝑦 𝐵) ∈ 𝑆𝐵𝑆𝐴𝑆)) → (((𝑦 𝐵) × 𝐵) × 𝐴) = ((𝑦 𝐵) × (𝐵 × 𝐴)))
7569, 72, 52, 73, 74syl13anc 1240 . . . . . . . . . 10 ((𝜑𝑦 ∈ ℕ0) → (((𝑦 𝐵) × 𝐵) × 𝐴) = ((𝑦 𝐵) × (𝐵 × 𝐴)))
7625, 40srgass 12947 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ ((𝑦 𝐵) ∈ 𝑆𝐴𝑆𝐵𝑆)) → (((𝑦 𝐵) × 𝐴) × 𝐵) = ((𝑦 𝐵) × (𝐴 × 𝐵)))
7769, 72, 73, 52, 76syl13anc 1240 . . . . . . . . . 10 ((𝜑𝑦 ∈ ℕ0) → (((𝑦 𝐵) × 𝐴) × 𝐵) = ((𝑦 𝐵) × (𝐴 × 𝐵)))
7868, 75, 773eqtr4d 2218 . . . . . . . . 9 ((𝜑𝑦 ∈ ℕ0) → (((𝑦 𝐵) × 𝐵) × 𝐴) = (((𝑦 𝐵) × 𝐴) × 𝐵))
7964, 78eqtrd 2208 . . . . . . . 8 ((𝜑𝑦 ∈ ℕ0) → (((𝑦 + 1) 𝐵) × 𝐴) = (((𝑦 𝐵) × 𝐴) × 𝐵))
8079adantr 276 . . . . . . 7 (((𝜑𝑦 ∈ ℕ0) ∧ ((𝑦 𝐵) × 𝐴) = (𝐴 × (𝑦 𝐵))) → (((𝑦 + 1) 𝐵) × 𝐴) = (((𝑦 𝐵) × 𝐴) × 𝐵))
81 oveq1 5872 . . . . . . . 8 (((𝑦 𝐵) × 𝐴) = (𝐴 × (𝑦 𝐵)) → (((𝑦 𝐵) × 𝐴) × 𝐵) = ((𝐴 × (𝑦 𝐵)) × 𝐵))
8225, 40srgass 12947 . . . . . . . . . 10 ((𝑅 ∈ SRing ∧ (𝐴𝑆 ∧ (𝑦 𝐵) ∈ 𝑆𝐵𝑆)) → ((𝐴 × (𝑦 𝐵)) × 𝐵) = (𝐴 × ((𝑦 𝐵) × 𝐵)))
8369, 73, 72, 52, 82syl13anc 1240 . . . . . . . . 9 ((𝜑𝑦 ∈ ℕ0) → ((𝐴 × (𝑦 𝐵)) × 𝐵) = (𝐴 × ((𝑦 𝐵) × 𝐵)))
8463eqcomd 2181 . . . . . . . . . 10 ((𝜑𝑦 ∈ ℕ0) → ((𝑦 𝐵) × 𝐵) = ((𝑦 + 1) 𝐵))
8584oveq2d 5881 . . . . . . . . 9 ((𝜑𝑦 ∈ ℕ0) → (𝐴 × ((𝑦 𝐵) × 𝐵)) = (𝐴 × ((𝑦 + 1) 𝐵)))
8683, 85eqtrd 2208 . . . . . . . 8 ((𝜑𝑦 ∈ ℕ0) → ((𝐴 × (𝑦 𝐵)) × 𝐵) = (𝐴 × ((𝑦 + 1) 𝐵)))
8781, 86sylan9eqr 2230 . . . . . . 7 (((𝜑𝑦 ∈ ℕ0) ∧ ((𝑦 𝐵) × 𝐴) = (𝐴 × (𝑦 𝐵))) → (((𝑦 𝐵) × 𝐴) × 𝐵) = (𝐴 × ((𝑦 + 1) 𝐵)))
8880, 87eqtrd 2208 . . . . . 6 (((𝜑𝑦 ∈ ℕ0) ∧ ((𝑦 𝐵) × 𝐴) = (𝐴 × (𝑦 𝐵))) → (((𝑦 + 1) 𝐵) × 𝐴) = (𝐴 × ((𝑦 + 1) 𝐵)))
8988ex 115 . . . . 5 ((𝜑𝑦 ∈ ℕ0) → (((𝑦 𝐵) × 𝐴) = (𝐴 × (𝑦 𝐵)) → (((𝑦 + 1) 𝐵) × 𝐴) = (𝐴 × ((𝑦 + 1) 𝐵))))
9089expcom 116 . . . 4 (𝑦 ∈ ℕ0 → (𝜑 → (((𝑦 𝐵) × 𝐴) = (𝐴 × (𝑦 𝐵)) → (((𝑦 + 1) 𝐵) × 𝐴) = (𝐴 × ((𝑦 + 1) 𝐵)))))
9190a2d 26 . . 3 (𝑦 ∈ ℕ0 → ((𝜑 → ((𝑦 𝐵) × 𝐴) = (𝐴 × (𝑦 𝐵))) → (𝜑 → (((𝑦 + 1) 𝐵) × 𝐴) = (𝐴 × ((𝑦 + 1) 𝐵)))))
926, 11, 16, 21, 47, 91nn0ind 9338 . 2 (𝐾 ∈ ℕ0 → (𝜑 → ((𝐾 𝐵) × 𝐴) = (𝐴 × (𝐾 𝐵))))
931, 92mpcom 36 1 (𝜑 → ((𝐾 𝐵) × 𝐴) = (𝐴 × (𝐾 𝐵)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105   = wceq 1353  wcel 2146  cfv 5208  (class class class)co 5865  0cc0 7786  1c1 7787   + caddc 7789  0cn0 9147  Basecbs 12428  +gcplusg 12492  .rcmulr 12493  0gc0g 12626  Mndcmnd 12682  .gcmg 12842  mulGrpcmgp 12925  1rcur 12935  SRingcsrg 12939
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709  ax-5 1445  ax-7 1446  ax-gen 1447  ax-ie1 1491  ax-ie2 1492  ax-8 1502  ax-10 1503  ax-11 1504  ax-i12 1505  ax-bndl 1507  ax-4 1508  ax-17 1524  ax-i9 1528  ax-ial 1532  ax-i5r 1533  ax-13 2148  ax-14 2149  ax-ext 2157  ax-coll 4113  ax-sep 4116  ax-nul 4124  ax-pow 4169  ax-pr 4203  ax-un 4427  ax-setind 4530  ax-iinf 4581  ax-cnex 7877  ax-resscn 7878  ax-1cn 7879  ax-1re 7880  ax-icn 7881  ax-addcl 7882  ax-addrcl 7883  ax-mulcl 7884  ax-addcom 7886  ax-addass 7888  ax-distr 7890  ax-i2m1 7891  ax-0lt1 7892  ax-0id 7894  ax-rnegex 7895  ax-cnre 7897  ax-pre-ltirr 7898  ax-pre-ltwlin 7899  ax-pre-lttrn 7900  ax-pre-ltadd 7902
This theorem depends on definitions:  df-bi 117  df-dc 835  df-3or 979  df-3an 980  df-tru 1356  df-fal 1359  df-nf 1459  df-sb 1761  df-eu 2027  df-mo 2028  df-clab 2162  df-cleq 2168  df-clel 2171  df-nfc 2306  df-ne 2346  df-nel 2441  df-ral 2458  df-rex 2459  df-reu 2460  df-rmo 2461  df-rab 2462  df-v 2737  df-sbc 2961  df-csb 3056  df-dif 3129  df-un 3131  df-in 3133  df-ss 3140  df-nul 3421  df-if 3533  df-pw 3574  df-sn 3595  df-pr 3596  df-op 3598  df-uni 3806  df-int 3841  df-iun 3884  df-br 3999  df-opab 4060  df-mpt 4061  df-tr 4097  df-id 4287  df-iord 4360  df-on 4362  df-ilim 4363  df-suc 4365  df-iom 4584  df-xp 4626  df-rel 4627  df-cnv 4628  df-co 4629  df-dm 4630  df-rn 4631  df-res 4632  df-ima 4633  df-iota 5170  df-fun 5210  df-fn 5211  df-f 5212  df-f1 5213  df-fo 5214  df-f1o 5215  df-fv 5216  df-riota 5821  df-ov 5868  df-oprab 5869  df-mpo 5870  df-1st 6131  df-2nd 6132  df-recs 6296  df-frec 6382  df-pnf 7968  df-mnf 7969  df-xr 7970  df-ltxr 7971  df-le 7972  df-sub 8104  df-neg 8105  df-inn 8891  df-2 8949  df-3 8950  df-n0 9148  df-z 9225  df-uz 9500  df-seqfrec 10414  df-ndx 12431  df-slot 12432  df-base 12434  df-sets 12435  df-plusg 12505  df-mulr 12506  df-0g 12628  df-mgm 12640  df-sgrp 12673  df-mnd 12683  df-minusg 12742  df-mulg 12843  df-mgp 12926  df-ur 12936  df-srg 12940
This theorem is referenced by:  srgpcompp  12967
  Copyright terms: Public domain W3C validator