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

Theorem srgbinom 19781
Description: The binomial theorem for commuting elements of a semiring: (𝐴 + 𝐵)↑𝑁 is the sum from 𝑘 = 0 to 𝑁 of (𝑁C𝑘) · ((𝐴𝑘) · (𝐵↑(𝑁𝑘)) (generalization of binom 15542). (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 7282 . . . . . . 7 (𝑥 = 0 → (𝑥 (𝐴 + 𝐵)) = (0 (𝐴 + 𝐵)))
2 oveq2 7283 . . . . . . . . 9 (𝑥 = 0 → (0...𝑥) = (0...0))
3 oveq1 7282 . . . . . . . . . 10 (𝑥 = 0 → (𝑥C𝑘) = (0C𝑘))
4 oveq1 7282 . . . . . . . . . . . 12 (𝑥 = 0 → (𝑥𝑘) = (0 − 𝑘))
54oveq1d 7290 . . . . . . . . . . 11 (𝑥 = 0 → ((𝑥𝑘) 𝐴) = ((0 − 𝑘) 𝐴))
65oveq1d 7290 . . . . . . . . . 10 (𝑥 = 0 → (((𝑥𝑘) 𝐴) × (𝑘 𝐵)) = (((0 − 𝑘) 𝐴) × (𝑘 𝐵)))
73, 6oveq12d 7293 . . . . . . . . 9 (𝑥 = 0 → ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))) = ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))
82, 7mpteq12dv 5165 . . . . . . . 8 (𝑥 = 0 → (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵)))))
98oveq2d 7291 . . . . . . 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 341 . . . . 5 (𝑥 = 0 → (((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))))) ↔ ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))))))
12 oveq1 7282 . . . . . . 7 (𝑥 = 𝑛 → (𝑥 (𝐴 + 𝐵)) = (𝑛 (𝐴 + 𝐵)))
13 oveq2 7283 . . . . . . . . 9 (𝑥 = 𝑛 → (0...𝑥) = (0...𝑛))
14 oveq1 7282 . . . . . . . . . 10 (𝑥 = 𝑛 → (𝑥C𝑘) = (𝑛C𝑘))
15 oveq1 7282 . . . . . . . . . . . 12 (𝑥 = 𝑛 → (𝑥𝑘) = (𝑛𝑘))
1615oveq1d 7290 . . . . . . . . . . 11 (𝑥 = 𝑛 → ((𝑥𝑘) 𝐴) = ((𝑛𝑘) 𝐴))
1716oveq1d 7290 . . . . . . . . . 10 (𝑥 = 𝑛 → (((𝑥𝑘) 𝐴) × (𝑘 𝐵)) = (((𝑛𝑘) 𝐴) × (𝑘 𝐵)))
1814, 17oveq12d 7293 . . . . . . . . 9 (𝑥 = 𝑛 → ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))) = ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))
1913, 18mpteq12dv 5165 . . . . . . . 8 (𝑥 = 𝑛 → (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵)))))
2019oveq2d 7291 . . . . . . 7 (𝑥 = 𝑛 → (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))))
2112, 20eqeq12d 2754 . . . . . 6 (𝑥 = 𝑛 → ((𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) ↔ (𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵)))))))
2221imbi2d 341 . . . . 5 (𝑥 = 𝑛 → (((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))))) ↔ ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))))))
23 oveq1 7282 . . . . . . 7 (𝑥 = (𝑛 + 1) → (𝑥 (𝐴 + 𝐵)) = ((𝑛 + 1) (𝐴 + 𝐵)))
24 oveq2 7283 . . . . . . . . 9 (𝑥 = (𝑛 + 1) → (0...𝑥) = (0...(𝑛 + 1)))
25 oveq1 7282 . . . . . . . . . 10 (𝑥 = (𝑛 + 1) → (𝑥C𝑘) = ((𝑛 + 1)C𝑘))
26 oveq1 7282 . . . . . . . . . . . 12 (𝑥 = (𝑛 + 1) → (𝑥𝑘) = ((𝑛 + 1) − 𝑘))
2726oveq1d 7290 . . . . . . . . . . 11 (𝑥 = (𝑛 + 1) → ((𝑥𝑘) 𝐴) = (((𝑛 + 1) − 𝑘) 𝐴))
2827oveq1d 7290 . . . . . . . . . 10 (𝑥 = (𝑛 + 1) → (((𝑥𝑘) 𝐴) × (𝑘 𝐵)) = ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵)))
2925, 28oveq12d 7293 . . . . . . . . 9 (𝑥 = (𝑛 + 1) → ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))) = (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))
3024, 29mpteq12dv 5165 . . . . . . . 8 (𝑥 = (𝑛 + 1) → (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵)))))
3130oveq2d 7291 . . . . . . 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 341 . . . . 5 (𝑥 = (𝑛 + 1) → (((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))))) ↔ ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → ((𝑛 + 1) (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))))))
34 oveq1 7282 . . . . . . 7 (𝑥 = 𝑁 → (𝑥 (𝐴 + 𝐵)) = (𝑁 (𝐴 + 𝐵)))
35 oveq2 7283 . . . . . . . . 9 (𝑥 = 𝑁 → (0...𝑥) = (0...𝑁))
36 oveq1 7282 . . . . . . . . . 10 (𝑥 = 𝑁 → (𝑥C𝑘) = (𝑁C𝑘))
37 oveq1 7282 . . . . . . . . . . . 12 (𝑥 = 𝑁 → (𝑥𝑘) = (𝑁𝑘))
3837oveq1d 7290 . . . . . . . . . . 11 (𝑥 = 𝑁 → ((𝑥𝑘) 𝐴) = ((𝑁𝑘) 𝐴))
3938oveq1d 7290 . . . . . . . . . 10 (𝑥 = 𝑁 → (((𝑥𝑘) 𝐴) × (𝑘 𝐵)) = (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))
4036, 39oveq12d 7293 . . . . . . . . 9 (𝑥 = 𝑁 → ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))) = ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))
4135, 40mpteq12dv 5165 . . . . . . . 8 (𝑥 = 𝑁 → (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))))
4241oveq2d 7291 . . . . . . 7 (𝑥 = 𝑁 → (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))))
4334, 42eqeq12d 2754 . . . . . 6 (𝑥 = 𝑁 → ((𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) ↔ (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))))))
4443imbi2d 341 . . . . 5 (𝑥 = 𝑁 → (((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))))) ↔ ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))))))
45 simpr1 1193 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 𝐴𝑆)
46 srgbinom.g . . . . . . . . . . . 12 𝐺 = (mulGrp‘𝑅)
47 srgbinom.s . . . . . . . . . . . 12 𝑆 = (Base‘𝑅)
4846, 47mgpbas 19726 . . . . . . . . . . 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 18707 . . . . . . . . . 10 (𝐴 ∈ (Base‘𝐺) → (0 𝐴) = (0g𝐺))
5449, 53syl 17 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0 𝐴) = (0g𝐺))
55 simpr2 1194 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 𝐵𝑆)
5655, 48eleqtrdi 2849 . . . . . . . . . 10 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 𝐵 ∈ (Base‘𝐺))
5750, 51, 52mulg0 18707 . . . . . . . . . 10 (𝐵 ∈ (Base‘𝐺) → (0 𝐵) = (0g𝐺))
5856, 57syl 17 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0 𝐵) = (0g𝐺))
5954, 58oveq12d 7293 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → ((0 𝐴) × (0 𝐵)) = ((0g𝐺) × (0g𝐺)))
6059oveq2d 7291 . . . . . . 7 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((0 𝐴) × (0 𝐵))) = (1 · ((0g𝐺) × (0g𝐺))))
61 eqid 2738 . . . . . . . . . . . . . 14 (1r𝑅) = (1r𝑅)
6247, 61srgidcl 19754 . . . . . . . . . . . . 13 (𝑅 ∈ SRing → (1r𝑅) ∈ 𝑆)
6362ancli 549 . . . . . . . . . . . 12 (𝑅 ∈ SRing → (𝑅 ∈ SRing ∧ (1r𝑅) ∈ 𝑆))
6463adantr 481 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑅 ∈ SRing ∧ (1r𝑅) ∈ 𝑆))
65 srgbinom.m . . . . . . . . . . . 12 × = (.r𝑅)
6647, 65, 61srglidm 19757 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ (1r𝑅) ∈ 𝑆) → ((1r𝑅) × (1r𝑅)) = (1r𝑅))
6764, 66syl 17 . . . . . . . . . 10 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → ((1r𝑅) × (1r𝑅)) = (1r𝑅))
6867oveq2d 7291 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((1r𝑅) × (1r𝑅))) = (1 · (1r𝑅)))
69 eqid 2738 . . . . . . . . . . . 12 (Base‘𝑅) = (Base‘𝑅)
7069, 61srgidcl 19754 . . . . . . . . . . 11 (𝑅 ∈ SRing → (1r𝑅) ∈ (Base‘𝑅))
71 srgbinom.t . . . . . . . . . . . 12 · = (.g𝑅)
7269, 71mulg1 18711 . . . . . . . . . . 11 ((1r𝑅) ∈ (Base‘𝑅) → (1 · (1r𝑅)) = (1r𝑅))
7370, 72syl 17 . . . . . . . . . 10 (𝑅 ∈ SRing → (1 · (1r𝑅)) = (1r𝑅))
7473adantr 481 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · (1r𝑅)) = (1r𝑅))
7568, 74eqtrd 2778 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((1r𝑅) × (1r𝑅))) = (1r𝑅))
7646, 61ringidval 19739 . . . . . . . . 9 (1r𝑅) = (0g𝐺)
77 id 22 . . . . . . . . . . . 12 ((1r𝑅) = (0g𝐺) → (1r𝑅) = (0g𝐺))
7877, 77oveq12d 7293 . . . . . . . . . . 11 ((1r𝑅) = (0g𝐺) → ((1r𝑅) × (1r𝑅)) = ((0g𝐺) × (0g𝐺)))
7978oveq2d 7291 . . . . . . . . . 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 13356 . . . . . . . . . 10 (0...0) = {0}
8584a1i 11 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0...0) = {0})
8685mpteq1d 5169 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ {0} ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵)))))
8786oveq2d 7291 . . . . . . 7 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑅 Σg (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))) = (𝑅 Σg (𝑘 ∈ {0} ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))))
88 srgmnd 19745 . . . . . . . . 9 (𝑅 ∈ SRing → 𝑅 ∈ Mnd)
8988adantr 481 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 𝑅 ∈ Mnd)
90 c0ex 10969 . . . . . . . . 9 0 ∈ V
9190a1i 11 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 0 ∈ V)
9276, 62eqeltrrid 2844 . . . . . . . . . 10 (𝑅 ∈ SRing → (0g𝐺) ∈ 𝑆)
9392adantr 481 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0g𝐺) ∈ 𝑆)
9483, 93eqeltrd 2839 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((0 𝐴) × (0 𝐵))) ∈ 𝑆)
95 oveq2 7283 . . . . . . . . . . 11 (𝑘 = 0 → (0C𝑘) = (0C0))
96 0nn0 12248 . . . . . . . . . . . 12 0 ∈ ℕ0
97 bcn0 14024 . . . . . . . . . . . 12 (0 ∈ ℕ0 → (0C0) = 1)
9896, 97ax-mp 5 . . . . . . . . . . 11 (0C0) = 1
9995, 98eqtrdi 2794 . . . . . . . . . 10 (𝑘 = 0 → (0C𝑘) = 1)
100 oveq2 7283 . . . . . . . . . . . . 13 (𝑘 = 0 → (0 − 𝑘) = (0 − 0))
101 0m0e0 12093 . . . . . . . . . . . . 13 (0 − 0) = 0
102100, 101eqtrdi 2794 . . . . . . . . . . . 12 (𝑘 = 0 → (0 − 𝑘) = 0)
103102oveq1d 7290 . . . . . . . . . . 11 (𝑘 = 0 → ((0 − 𝑘) 𝐴) = (0 𝐴))
104 oveq1 7282 . . . . . . . . . . 11 (𝑘 = 0 → (𝑘 𝐵) = (0 𝐵))
105103, 104oveq12d 7293 . . . . . . . . . 10 (𝑘 = 0 → (((0 − 𝑘) 𝐴) × (𝑘 𝐵)) = ((0 𝐴) × (0 𝐵)))
10699, 105oveq12d 7293 . . . . . . . . 9 (𝑘 = 0 → ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))) = (1 · ((0 𝐴) × (0 𝐵))))
10747, 106gsumsn 19555 . . . . . . . 8 ((𝑅 ∈ Mnd ∧ 0 ∈ V ∧ (1 · ((0 𝐴) × (0 𝐵))) ∈ 𝑆) → (𝑅 Σg (𝑘 ∈ {0} ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))) = (1 · ((0 𝐴) × (0 𝐵))))
10889, 91, 94, 107syl3anc 1370 . . . . . . 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 18393 . . . . . . . . 9 ((𝑅 ∈ Mnd ∧ 𝐴𝑆𝐵𝑆) → (𝐴 + 𝐵) ∈ 𝑆)
11289, 45, 55, 111syl3anc 1370 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝐴 + 𝐵) ∈ 𝑆)
113112, 48eleqtrdi 2849 . . . . . . 7 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝐴 + 𝐵) ∈ (Base‘𝐺))
11450, 51, 52mulg0 18707 . . . . . . 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 768 . . . . . . . 8 ((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) → 𝑅 ∈ SRing)
11845adantl 482 . . . . . . . 8 ((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) → 𝐴𝑆)
11955adantl 482 . . . . . . . 8 ((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) → 𝐵𝑆)
120 simprr3 1222 . . . . . . . 8 ((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) → (𝐴 × 𝐵) = (𝐵 × 𝐴))
121 simpl 483 . . . . . . . 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 19780 . . . . . . 7 (((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) ∧ (𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵)))))) → ((𝑛 + 1) (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))))
124123exp31 420 . . . . . 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 12415 . . . 4 (𝑁 ∈ ℕ0 → ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))))))
127126expd 416 . . 3 (𝑁 ∈ ℕ0 → (𝑅 ∈ SRing → ((𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))))))
128127impcom 408 . 2 ((𝑅 ∈ SRing ∧ 𝑁 ∈ ℕ0) → ((𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))))))
129128imp 407 1 (((𝑅 ∈ SRing ∧ 𝑁 ∈ ℕ0) ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  Vcvv 3432  {csn 4561  cmpt 5157  cfv 6433  (class class class)co 7275  0cc0 10871  1c1 10872   + caddc 10874  cmin 11205  0cn0 12233  ...cfz 13239  Ccbc 14016  Basecbs 16912  +gcplusg 16962  .rcmulr 16963  0gc0g 17150   Σg cgsu 17151  Mndcmnd 18385  .gcmg 18700  mulGrpcmgp 19720  1rcur 19737  SRingcsrg 19741
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-iin 4927  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-se 5545  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-isom 6442  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-of 7533  df-om 7713  df-1st 7831  df-2nd 7832  df-supp 7978  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-er 8498  df-map 8617  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-fsupp 9129  df-oi 9269  df-card 9697  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-div 11633  df-nn 11974  df-2 12036  df-n0 12234  df-z 12320  df-uz 12583  df-rp 12731  df-fz 13240  df-fzo 13383  df-seq 13722  df-fac 13988  df-bc 14017  df-hash 14045  df-sets 16865  df-slot 16883  df-ndx 16895  df-base 16913  df-ress 16942  df-plusg 16975  df-0g 17152  df-gsum 17153  df-mre 17295  df-mrc 17296  df-acs 17298  df-mgm 18326  df-sgrp 18375  df-mnd 18386  df-mhm 18430  df-submnd 18431  df-mulg 18701  df-cntz 18923  df-cmn 19388  df-mgp 19721  df-ur 19738  df-srg 19742
This theorem is referenced by:  csrgbinom  19782
  Copyright terms: Public domain W3C validator