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

Theorem srgbinom 19696
Description: The binomial theorem for commuting elements of a semiring: (𝐴 + 𝐵)↑𝑁 is the sum from 𝑘 = 0 to 𝑁 of (𝑁C𝑘) · ((𝐴𝑘) · (𝐵↑(𝑁𝑘)) (generalization of binom 15470). (Contributed by AV, 24-Aug-2019.)
Hypotheses
Ref Expression
srgbinom.s 𝑆 = (Base‘𝑅)
srgbinom.m × = (.r𝑅)
srgbinom.t · = (.g𝑅)
srgbinom.a + = (+g𝑅)
srgbinom.g 𝐺 = (mulGrp‘𝑅)
srgbinom.e = (.g𝐺)
Assertion
Ref Expression
srgbinom (((𝑅 ∈ SRing ∧ 𝑁 ∈ ℕ0) ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))))
Distinct variable groups:   𝐴,𝑘   𝐵,𝑘   𝑘,𝑁   𝑅,𝑘   𝑆,𝑘   · ,𝑘   ,𝑘   × ,𝑘   + ,𝑘
Allowed substitution hint:   𝐺(𝑘)

Proof of Theorem srgbinom
Dummy variables 𝑛 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq1 7262 . . . . . . 7 (𝑥 = 0 → (𝑥 (𝐴 + 𝐵)) = (0 (𝐴 + 𝐵)))
2 oveq2 7263 . . . . . . . . 9 (𝑥 = 0 → (0...𝑥) = (0...0))
3 oveq1 7262 . . . . . . . . . 10 (𝑥 = 0 → (𝑥C𝑘) = (0C𝑘))
4 oveq1 7262 . . . . . . . . . . . 12 (𝑥 = 0 → (𝑥𝑘) = (0 − 𝑘))
54oveq1d 7270 . . . . . . . . . . 11 (𝑥 = 0 → ((𝑥𝑘) 𝐴) = ((0 − 𝑘) 𝐴))
65oveq1d 7270 . . . . . . . . . 10 (𝑥 = 0 → (((𝑥𝑘) 𝐴) × (𝑘 𝐵)) = (((0 − 𝑘) 𝐴) × (𝑘 𝐵)))
73, 6oveq12d 7273 . . . . . . . . 9 (𝑥 = 0 → ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))) = ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))
82, 7mpteq12dv 5161 . . . . . . . 8 (𝑥 = 0 → (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵)))))
98oveq2d 7271 . . . . . . 7 (𝑥 = 0 → (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) = (𝑅 Σg (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))))
101, 9eqeq12d 2754 . . . . . 6 (𝑥 = 0 → ((𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) ↔ (0 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵)))))))
1110imbi2d 340 . . . . 5 (𝑥 = 0 → (((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))))) ↔ ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))))))
12 oveq1 7262 . . . . . . 7 (𝑥 = 𝑛 → (𝑥 (𝐴 + 𝐵)) = (𝑛 (𝐴 + 𝐵)))
13 oveq2 7263 . . . . . . . . 9 (𝑥 = 𝑛 → (0...𝑥) = (0...𝑛))
14 oveq1 7262 . . . . . . . . . 10 (𝑥 = 𝑛 → (𝑥C𝑘) = (𝑛C𝑘))
15 oveq1 7262 . . . . . . . . . . . 12 (𝑥 = 𝑛 → (𝑥𝑘) = (𝑛𝑘))
1615oveq1d 7270 . . . . . . . . . . 11 (𝑥 = 𝑛 → ((𝑥𝑘) 𝐴) = ((𝑛𝑘) 𝐴))
1716oveq1d 7270 . . . . . . . . . 10 (𝑥 = 𝑛 → (((𝑥𝑘) 𝐴) × (𝑘 𝐵)) = (((𝑛𝑘) 𝐴) × (𝑘 𝐵)))
1814, 17oveq12d 7273 . . . . . . . . 9 (𝑥 = 𝑛 → ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))) = ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))
1913, 18mpteq12dv 5161 . . . . . . . 8 (𝑥 = 𝑛 → (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵)))))
2019oveq2d 7271 . . . . . . 7 (𝑥 = 𝑛 → (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))))
2112, 20eqeq12d 2754 . . . . . 6 (𝑥 = 𝑛 → ((𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) ↔ (𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵)))))))
2221imbi2d 340 . . . . 5 (𝑥 = 𝑛 → (((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))))) ↔ ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))))))
23 oveq1 7262 . . . . . . 7 (𝑥 = (𝑛 + 1) → (𝑥 (𝐴 + 𝐵)) = ((𝑛 + 1) (𝐴 + 𝐵)))
24 oveq2 7263 . . . . . . . . 9 (𝑥 = (𝑛 + 1) → (0...𝑥) = (0...(𝑛 + 1)))
25 oveq1 7262 . . . . . . . . . 10 (𝑥 = (𝑛 + 1) → (𝑥C𝑘) = ((𝑛 + 1)C𝑘))
26 oveq1 7262 . . . . . . . . . . . 12 (𝑥 = (𝑛 + 1) → (𝑥𝑘) = ((𝑛 + 1) − 𝑘))
2726oveq1d 7270 . . . . . . . . . . 11 (𝑥 = (𝑛 + 1) → ((𝑥𝑘) 𝐴) = (((𝑛 + 1) − 𝑘) 𝐴))
2827oveq1d 7270 . . . . . . . . . 10 (𝑥 = (𝑛 + 1) → (((𝑥𝑘) 𝐴) × (𝑘 𝐵)) = ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵)))
2925, 28oveq12d 7273 . . . . . . . . 9 (𝑥 = (𝑛 + 1) → ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))) = (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))
3024, 29mpteq12dv 5161 . . . . . . . 8 (𝑥 = (𝑛 + 1) → (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵)))))
3130oveq2d 7271 . . . . . . 7 (𝑥 = (𝑛 + 1) → (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) = (𝑅 Σg (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))))
3223, 31eqeq12d 2754 . . . . . 6 (𝑥 = (𝑛 + 1) → ((𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) ↔ ((𝑛 + 1) (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵)))))))
3332imbi2d 340 . . . . 5 (𝑥 = (𝑛 + 1) → (((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))))) ↔ ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → ((𝑛 + 1) (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))))))
34 oveq1 7262 . . . . . . 7 (𝑥 = 𝑁 → (𝑥 (𝐴 + 𝐵)) = (𝑁 (𝐴 + 𝐵)))
35 oveq2 7263 . . . . . . . . 9 (𝑥 = 𝑁 → (0...𝑥) = (0...𝑁))
36 oveq1 7262 . . . . . . . . . 10 (𝑥 = 𝑁 → (𝑥C𝑘) = (𝑁C𝑘))
37 oveq1 7262 . . . . . . . . . . . 12 (𝑥 = 𝑁 → (𝑥𝑘) = (𝑁𝑘))
3837oveq1d 7270 . . . . . . . . . . 11 (𝑥 = 𝑁 → ((𝑥𝑘) 𝐴) = ((𝑁𝑘) 𝐴))
3938oveq1d 7270 . . . . . . . . . 10 (𝑥 = 𝑁 → (((𝑥𝑘) 𝐴) × (𝑘 𝐵)) = (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))
4036, 39oveq12d 7273 . . . . . . . . 9 (𝑥 = 𝑁 → ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))) = ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))
4135, 40mpteq12dv 5161 . . . . . . . 8 (𝑥 = 𝑁 → (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))))
4241oveq2d 7271 . . . . . . 7 (𝑥 = 𝑁 → (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))))
4334, 42eqeq12d 2754 . . . . . 6 (𝑥 = 𝑁 → ((𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) ↔ (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))))))
4443imbi2d 340 . . . . 5 (𝑥 = 𝑁 → (((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))))) ↔ ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))))))
45 simpr1 1192 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 𝐴𝑆)
46 srgbinom.g . . . . . . . . . . . 12 𝐺 = (mulGrp‘𝑅)
47 srgbinom.s . . . . . . . . . . . 12 𝑆 = (Base‘𝑅)
4846, 47mgpbas 19641 . . . . . . . . . . 11 𝑆 = (Base‘𝐺)
4945, 48eleqtrdi 2849 . . . . . . . . . 10 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 𝐴 ∈ (Base‘𝐺))
50 eqid 2738 . . . . . . . . . . 11 (Base‘𝐺) = (Base‘𝐺)
51 eqid 2738 . . . . . . . . . . 11 (0g𝐺) = (0g𝐺)
52 srgbinom.e . . . . . . . . . . 11 = (.g𝐺)
5350, 51, 52mulg0 18622 . . . . . . . . . 10 (𝐴 ∈ (Base‘𝐺) → (0 𝐴) = (0g𝐺))
5449, 53syl 17 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0 𝐴) = (0g𝐺))
55 simpr2 1193 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 𝐵𝑆)
5655, 48eleqtrdi 2849 . . . . . . . . . 10 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 𝐵 ∈ (Base‘𝐺))
5750, 51, 52mulg0 18622 . . . . . . . . . 10 (𝐵 ∈ (Base‘𝐺) → (0 𝐵) = (0g𝐺))
5856, 57syl 17 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0 𝐵) = (0g𝐺))
5954, 58oveq12d 7273 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → ((0 𝐴) × (0 𝐵)) = ((0g𝐺) × (0g𝐺)))
6059oveq2d 7271 . . . . . . 7 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((0 𝐴) × (0 𝐵))) = (1 · ((0g𝐺) × (0g𝐺))))
61 eqid 2738 . . . . . . . . . . . . . 14 (1r𝑅) = (1r𝑅)
6247, 61srgidcl 19669 . . . . . . . . . . . . 13 (𝑅 ∈ SRing → (1r𝑅) ∈ 𝑆)
6362ancli 548 . . . . . . . . . . . 12 (𝑅 ∈ SRing → (𝑅 ∈ SRing ∧ (1r𝑅) ∈ 𝑆))
6463adantr 480 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑅 ∈ SRing ∧ (1r𝑅) ∈ 𝑆))
65 srgbinom.m . . . . . . . . . . . 12 × = (.r𝑅)
6647, 65, 61srglidm 19672 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ (1r𝑅) ∈ 𝑆) → ((1r𝑅) × (1r𝑅)) = (1r𝑅))
6764, 66syl 17 . . . . . . . . . 10 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → ((1r𝑅) × (1r𝑅)) = (1r𝑅))
6867oveq2d 7271 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((1r𝑅) × (1r𝑅))) = (1 · (1r𝑅)))
69 eqid 2738 . . . . . . . . . . . 12 (Base‘𝑅) = (Base‘𝑅)
7069, 61srgidcl 19669 . . . . . . . . . . 11 (𝑅 ∈ SRing → (1r𝑅) ∈ (Base‘𝑅))
71 srgbinom.t . . . . . . . . . . . 12 · = (.g𝑅)
7269, 71mulg1 18626 . . . . . . . . . . 11 ((1r𝑅) ∈ (Base‘𝑅) → (1 · (1r𝑅)) = (1r𝑅))
7370, 72syl 17 . . . . . . . . . 10 (𝑅 ∈ SRing → (1 · (1r𝑅)) = (1r𝑅))
7473adantr 480 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · (1r𝑅)) = (1r𝑅))
7568, 74eqtrd 2778 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((1r𝑅) × (1r𝑅))) = (1r𝑅))
7646, 61ringidval 19654 . . . . . . . . 9 (1r𝑅) = (0g𝐺)
77 id 22 . . . . . . . . . . . 12 ((1r𝑅) = (0g𝐺) → (1r𝑅) = (0g𝐺))
7877, 77oveq12d 7273 . . . . . . . . . . 11 ((1r𝑅) = (0g𝐺) → ((1r𝑅) × (1r𝑅)) = ((0g𝐺) × (0g𝐺)))
7978oveq2d 7271 . . . . . . . . . 10 ((1r𝑅) = (0g𝐺) → (1 · ((1r𝑅) × (1r𝑅))) = (1 · ((0g𝐺) × (0g𝐺))))
8079, 77eqeq12d 2754 . . . . . . . . 9 ((1r𝑅) = (0g𝐺) → ((1 · ((1r𝑅) × (1r𝑅))) = (1r𝑅) ↔ (1 · ((0g𝐺) × (0g𝐺))) = (0g𝐺)))
8176, 80ax-mp 5 . . . . . . . 8 ((1 · ((1r𝑅) × (1r𝑅))) = (1r𝑅) ↔ (1 · ((0g𝐺) × (0g𝐺))) = (0g𝐺))
8275, 81sylib 217 . . . . . . 7 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((0g𝐺) × (0g𝐺))) = (0g𝐺))
8360, 82eqtrd 2778 . . . . . 6 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((0 𝐴) × (0 𝐵))) = (0g𝐺))
84 fz0sn 13285 . . . . . . . . . 10 (0...0) = {0}
8584a1i 11 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0...0) = {0})
8685mpteq1d 5165 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ {0} ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵)))))
8786oveq2d 7271 . . . . . . 7 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑅 Σg (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))) = (𝑅 Σg (𝑘 ∈ {0} ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))))
88 srgmnd 19660 . . . . . . . . 9 (𝑅 ∈ SRing → 𝑅 ∈ Mnd)
8988adantr 480 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 𝑅 ∈ Mnd)
90 c0ex 10900 . . . . . . . . 9 0 ∈ V
9190a1i 11 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 0 ∈ V)
9276, 62eqeltrrid 2844 . . . . . . . . . 10 (𝑅 ∈ SRing → (0g𝐺) ∈ 𝑆)
9392adantr 480 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0g𝐺) ∈ 𝑆)
9483, 93eqeltrd 2839 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((0 𝐴) × (0 𝐵))) ∈ 𝑆)
95 oveq2 7263 . . . . . . . . . . 11 (𝑘 = 0 → (0C𝑘) = (0C0))
96 0nn0 12178 . . . . . . . . . . . 12 0 ∈ ℕ0
97 bcn0 13952 . . . . . . . . . . . 12 (0 ∈ ℕ0 → (0C0) = 1)
9896, 97ax-mp 5 . . . . . . . . . . 11 (0C0) = 1
9995, 98eqtrdi 2795 . . . . . . . . . 10 (𝑘 = 0 → (0C𝑘) = 1)
100 oveq2 7263 . . . . . . . . . . . . 13 (𝑘 = 0 → (0 − 𝑘) = (0 − 0))
101 0m0e0 12023 . . . . . . . . . . . . 13 (0 − 0) = 0
102100, 101eqtrdi 2795 . . . . . . . . . . . 12 (𝑘 = 0 → (0 − 𝑘) = 0)
103102oveq1d 7270 . . . . . . . . . . 11 (𝑘 = 0 → ((0 − 𝑘) 𝐴) = (0 𝐴))
104 oveq1 7262 . . . . . . . . . . 11 (𝑘 = 0 → (𝑘 𝐵) = (0 𝐵))
105103, 104oveq12d 7273 . . . . . . . . . 10 (𝑘 = 0 → (((0 − 𝑘) 𝐴) × (𝑘 𝐵)) = ((0 𝐴) × (0 𝐵)))
10699, 105oveq12d 7273 . . . . . . . . 9 (𝑘 = 0 → ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))) = (1 · ((0 𝐴) × (0 𝐵))))
10747, 106gsumsn 19470 . . . . . . . 8 ((𝑅 ∈ Mnd ∧ 0 ∈ V ∧ (1 · ((0 𝐴) × (0 𝐵))) ∈ 𝑆) → (𝑅 Σg (𝑘 ∈ {0} ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))) = (1 · ((0 𝐴) × (0 𝐵))))
10889, 91, 94, 107syl3anc 1369 . . . . . . 7 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑅 Σg (𝑘 ∈ {0} ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))) = (1 · ((0 𝐴) × (0 𝐵))))
10987, 108eqtrd 2778 . . . . . 6 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑅 Σg (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))) = (1 · ((0 𝐴) × (0 𝐵))))
110 srgbinom.a . . . . . . . . . 10 + = (+g𝑅)
11147, 110mndcl 18308 . . . . . . . . 9 ((𝑅 ∈ Mnd ∧ 𝐴𝑆𝐵𝑆) → (𝐴 + 𝐵) ∈ 𝑆)
11289, 45, 55, 111syl3anc 1369 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝐴 + 𝐵) ∈ 𝑆)
113112, 48eleqtrdi 2849 . . . . . . 7 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝐴 + 𝐵) ∈ (Base‘𝐺))
11450, 51, 52mulg0 18622 . . . . . . 7 ((𝐴 + 𝐵) ∈ (Base‘𝐺) → (0 (𝐴 + 𝐵)) = (0g𝐺))
115113, 114syl 17 . . . . . 6 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0 (𝐴 + 𝐵)) = (0g𝐺))
11683, 109, 1153eqtr4rd 2789 . . . . 5 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))))
117 simprl 767 . . . . . . . 8 ((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) → 𝑅 ∈ SRing)
11845adantl 481 . . . . . . . 8 ((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) → 𝐴𝑆)
11955adantl 481 . . . . . . . 8 ((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) → 𝐵𝑆)
120 simprr3 1221 . . . . . . . 8 ((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) → (𝐴 × 𝐵) = (𝐵 × 𝐴))
121 simpl 482 . . . . . . . 8 ((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) → 𝑛 ∈ ℕ0)
122 id 22 . . . . . . . 8 ((𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))) → (𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))))
12347, 65, 71, 110, 46, 52, 117, 118, 119, 120, 121, 122srgbinomlem 19695 . . . . . . 7 (((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) ∧ (𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵)))))) → ((𝑛 + 1) (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))))
124123exp31 419 . . . . . 6 (𝑛 ∈ ℕ0 → ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → ((𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))) → ((𝑛 + 1) (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))))))
125124a2d 29 . . . . 5 (𝑛 ∈ ℕ0 → (((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵)))))) → ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → ((𝑛 + 1) (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))))))
12611, 22, 33, 44, 116, 125nn0ind 12345 . . . 4 (𝑁 ∈ ℕ0 → ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))))))
127126expd 415 . . 3 (𝑁 ∈ ℕ0 → (𝑅 ∈ SRing → ((𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))))))
128127impcom 407 . 2 ((𝑅 ∈ SRing ∧ 𝑁 ∈ ℕ0) → ((𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))))))
129128imp 406 1 (((𝑅 ∈ SRing ∧ 𝑁 ∈ ℕ0) ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  Vcvv 3422  {csn 4558  cmpt 5153  cfv 6418  (class class class)co 7255  0cc0 10802  1c1 10803   + caddc 10805  cmin 11135  0cn0 12163  ...cfz 13168  Ccbc 13944  Basecbs 16840  +gcplusg 16888  .rcmulr 16889  0gc0g 17067   Σg cgsu 17068  Mndcmnd 18300  .gcmg 18615  mulGrpcmgp 19635  1rcur 19652  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-rep 5205  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-int 4877  df-iun 4923  df-iin 4924  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-se 5536  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-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-of 7511  df-om 7688  df-1st 7804  df-2nd 7805  df-supp 7949  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-er 8456  df-map 8575  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-fsupp 9059  df-oi 9199  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-div 11563  df-nn 11904  df-2 11966  df-n0 12164  df-z 12250  df-uz 12512  df-rp 12660  df-fz 13169  df-fzo 13312  df-seq 13650  df-fac 13916  df-bc 13945  df-hash 13973  df-sets 16793  df-slot 16811  df-ndx 16823  df-base 16841  df-ress 16868  df-plusg 16901  df-0g 17069  df-gsum 17070  df-mre 17212  df-mrc 17213  df-acs 17215  df-mgm 18241  df-sgrp 18290  df-mnd 18301  df-mhm 18345  df-submnd 18346  df-mulg 18616  df-cntz 18838  df-cmn 19303  df-mgp 19636  df-ur 19653  df-srg 19657
This theorem is referenced by:  csrgbinom  19697
  Copyright terms: Public domain W3C validator