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

Theorem srgbinom 18485
Description: The binomial theorem for commuting elements of a semiring: (𝐴 + 𝐵)↑𝑁 is the sum from 𝑘 = 0 to 𝑁 of (𝑁C𝑘) · ((𝐴𝑘) · (𝐵↑(𝑁𝑘)) (generalization of binom 14506). (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 6622 . . . . . . 7 (𝑥 = 0 → (𝑥 (𝐴 + 𝐵)) = (0 (𝐴 + 𝐵)))
2 oveq2 6623 . . . . . . . . 9 (𝑥 = 0 → (0...𝑥) = (0...0))
3 oveq1 6622 . . . . . . . . . 10 (𝑥 = 0 → (𝑥C𝑘) = (0C𝑘))
4 oveq1 6622 . . . . . . . . . . . 12 (𝑥 = 0 → (𝑥𝑘) = (0 − 𝑘))
54oveq1d 6630 . . . . . . . . . . 11 (𝑥 = 0 → ((𝑥𝑘) 𝐴) = ((0 − 𝑘) 𝐴))
65oveq1d 6630 . . . . . . . . . 10 (𝑥 = 0 → (((𝑥𝑘) 𝐴) × (𝑘 𝐵)) = (((0 − 𝑘) 𝐴) × (𝑘 𝐵)))
73, 6oveq12d 6633 . . . . . . . . 9 (𝑥 = 0 → ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))) = ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))
82, 7mpteq12dv 4703 . . . . . . . 8 (𝑥 = 0 → (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵)))))
98oveq2d 6631 . . . . . . 7 (𝑥 = 0 → (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) = (𝑅 Σg (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))))
101, 9eqeq12d 2636 . . . . . 6 (𝑥 = 0 → ((𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) ↔ (0 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵)))))))
1110imbi2d 330 . . . . 5 (𝑥 = 0 → (((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))))) ↔ ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))))))
12 oveq1 6622 . . . . . . 7 (𝑥 = 𝑛 → (𝑥 (𝐴 + 𝐵)) = (𝑛 (𝐴 + 𝐵)))
13 oveq2 6623 . . . . . . . . 9 (𝑥 = 𝑛 → (0...𝑥) = (0...𝑛))
14 oveq1 6622 . . . . . . . . . 10 (𝑥 = 𝑛 → (𝑥C𝑘) = (𝑛C𝑘))
15 oveq1 6622 . . . . . . . . . . . 12 (𝑥 = 𝑛 → (𝑥𝑘) = (𝑛𝑘))
1615oveq1d 6630 . . . . . . . . . . 11 (𝑥 = 𝑛 → ((𝑥𝑘) 𝐴) = ((𝑛𝑘) 𝐴))
1716oveq1d 6630 . . . . . . . . . 10 (𝑥 = 𝑛 → (((𝑥𝑘) 𝐴) × (𝑘 𝐵)) = (((𝑛𝑘) 𝐴) × (𝑘 𝐵)))
1814, 17oveq12d 6633 . . . . . . . . 9 (𝑥 = 𝑛 → ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))) = ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))
1913, 18mpteq12dv 4703 . . . . . . . 8 (𝑥 = 𝑛 → (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵)))))
2019oveq2d 6631 . . . . . . 7 (𝑥 = 𝑛 → (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))))
2112, 20eqeq12d 2636 . . . . . 6 (𝑥 = 𝑛 → ((𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) ↔ (𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵)))))))
2221imbi2d 330 . . . . 5 (𝑥 = 𝑛 → (((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))))) ↔ ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))))))
23 oveq1 6622 . . . . . . 7 (𝑥 = (𝑛 + 1) → (𝑥 (𝐴 + 𝐵)) = ((𝑛 + 1) (𝐴 + 𝐵)))
24 oveq2 6623 . . . . . . . . 9 (𝑥 = (𝑛 + 1) → (0...𝑥) = (0...(𝑛 + 1)))
25 oveq1 6622 . . . . . . . . . 10 (𝑥 = (𝑛 + 1) → (𝑥C𝑘) = ((𝑛 + 1)C𝑘))
26 oveq1 6622 . . . . . . . . . . . 12 (𝑥 = (𝑛 + 1) → (𝑥𝑘) = ((𝑛 + 1) − 𝑘))
2726oveq1d 6630 . . . . . . . . . . 11 (𝑥 = (𝑛 + 1) → ((𝑥𝑘) 𝐴) = (((𝑛 + 1) − 𝑘) 𝐴))
2827oveq1d 6630 . . . . . . . . . 10 (𝑥 = (𝑛 + 1) → (((𝑥𝑘) 𝐴) × (𝑘 𝐵)) = ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵)))
2925, 28oveq12d 6633 . . . . . . . . 9 (𝑥 = (𝑛 + 1) → ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))) = (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))
3024, 29mpteq12dv 4703 . . . . . . . 8 (𝑥 = (𝑛 + 1) → (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵)))))
3130oveq2d 6631 . . . . . . 7 (𝑥 = (𝑛 + 1) → (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) = (𝑅 Σg (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))))
3223, 31eqeq12d 2636 . . . . . 6 (𝑥 = (𝑛 + 1) → ((𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) ↔ ((𝑛 + 1) (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵)))))))
3332imbi2d 330 . . . . 5 (𝑥 = (𝑛 + 1) → (((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))))) ↔ ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → ((𝑛 + 1) (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))))))
34 oveq1 6622 . . . . . . 7 (𝑥 = 𝑁 → (𝑥 (𝐴 + 𝐵)) = (𝑁 (𝐴 + 𝐵)))
35 oveq2 6623 . . . . . . . . 9 (𝑥 = 𝑁 → (0...𝑥) = (0...𝑁))
36 oveq1 6622 . . . . . . . . . 10 (𝑥 = 𝑁 → (𝑥C𝑘) = (𝑁C𝑘))
37 oveq1 6622 . . . . . . . . . . . 12 (𝑥 = 𝑁 → (𝑥𝑘) = (𝑁𝑘))
3837oveq1d 6630 . . . . . . . . . . 11 (𝑥 = 𝑁 → ((𝑥𝑘) 𝐴) = ((𝑁𝑘) 𝐴))
3938oveq1d 6630 . . . . . . . . . 10 (𝑥 = 𝑁 → (((𝑥𝑘) 𝐴) × (𝑘 𝐵)) = (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))
4036, 39oveq12d 6633 . . . . . . . . 9 (𝑥 = 𝑁 → ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))) = ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))
4135, 40mpteq12dv 4703 . . . . . . . 8 (𝑥 = 𝑁 → (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))))
4241oveq2d 6631 . . . . . . 7 (𝑥 = 𝑁 → (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))))
4334, 42eqeq12d 2636 . . . . . 6 (𝑥 = 𝑁 → ((𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵))))) ↔ (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))))))
4443imbi2d 330 . . . . 5 (𝑥 = 𝑁 → (((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑥 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑥) ↦ ((𝑥C𝑘) · (((𝑥𝑘) 𝐴) × (𝑘 𝐵)))))) ↔ ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))))))
45 simpr1 1065 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 𝐴𝑆)
46 srgbinom.g . . . . . . . . . . . 12 𝐺 = (mulGrp‘𝑅)
47 srgbinom.s . . . . . . . . . . . 12 𝑆 = (Base‘𝑅)
4846, 47mgpbas 18435 . . . . . . . . . . 11 𝑆 = (Base‘𝐺)
4945, 48syl6eleq 2708 . . . . . . . . . 10 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 𝐴 ∈ (Base‘𝐺))
50 eqid 2621 . . . . . . . . . . 11 (Base‘𝐺) = (Base‘𝐺)
51 eqid 2621 . . . . . . . . . . 11 (0g𝐺) = (0g𝐺)
52 srgbinom.e . . . . . . . . . . 11 = (.g𝐺)
5350, 51, 52mulg0 17486 . . . . . . . . . 10 (𝐴 ∈ (Base‘𝐺) → (0 𝐴) = (0g𝐺))
5449, 53syl 17 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0 𝐴) = (0g𝐺))
55 simpr2 1066 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 𝐵𝑆)
5655, 48syl6eleq 2708 . . . . . . . . . 10 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 𝐵 ∈ (Base‘𝐺))
5750, 51, 52mulg0 17486 . . . . . . . . . 10 (𝐵 ∈ (Base‘𝐺) → (0 𝐵) = (0g𝐺))
5856, 57syl 17 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0 𝐵) = (0g𝐺))
5954, 58oveq12d 6633 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → ((0 𝐴) × (0 𝐵)) = ((0g𝐺) × (0g𝐺)))
6059oveq2d 6631 . . . . . . 7 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((0 𝐴) × (0 𝐵))) = (1 · ((0g𝐺) × (0g𝐺))))
61 eqid 2621 . . . . . . . . . . . . . 14 (1r𝑅) = (1r𝑅)
6247, 61srgidcl 18458 . . . . . . . . . . . . 13 (𝑅 ∈ SRing → (1r𝑅) ∈ 𝑆)
6362ancli 573 . . . . . . . . . . . 12 (𝑅 ∈ SRing → (𝑅 ∈ SRing ∧ (1r𝑅) ∈ 𝑆))
6463adantr 481 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑅 ∈ SRing ∧ (1r𝑅) ∈ 𝑆))
65 srgbinom.m . . . . . . . . . . . 12 × = (.r𝑅)
6647, 65, 61srglidm 18461 . . . . . . . . . . 11 ((𝑅 ∈ SRing ∧ (1r𝑅) ∈ 𝑆) → ((1r𝑅) × (1r𝑅)) = (1r𝑅))
6764, 66syl 17 . . . . . . . . . 10 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → ((1r𝑅) × (1r𝑅)) = (1r𝑅))
6867oveq2d 6631 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((1r𝑅) × (1r𝑅))) = (1 · (1r𝑅)))
69 eqid 2621 . . . . . . . . . . . 12 (Base‘𝑅) = (Base‘𝑅)
7069, 61srgidcl 18458 . . . . . . . . . . 11 (𝑅 ∈ SRing → (1r𝑅) ∈ (Base‘𝑅))
71 srgbinom.t . . . . . . . . . . . 12 · = (.g𝑅)
7269, 71mulg1 17488 . . . . . . . . . . 11 ((1r𝑅) ∈ (Base‘𝑅) → (1 · (1r𝑅)) = (1r𝑅))
7370, 72syl 17 . . . . . . . . . 10 (𝑅 ∈ SRing → (1 · (1r𝑅)) = (1r𝑅))
7473adantr 481 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · (1r𝑅)) = (1r𝑅))
7568, 74eqtrd 2655 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((1r𝑅) × (1r𝑅))) = (1r𝑅))
7646, 61ringidval 18443 . . . . . . . . 9 (1r𝑅) = (0g𝐺)
77 id 22 . . . . . . . . . . . 12 ((1r𝑅) = (0g𝐺) → (1r𝑅) = (0g𝐺))
7877, 77oveq12d 6633 . . . . . . . . . . 11 ((1r𝑅) = (0g𝐺) → ((1r𝑅) × (1r𝑅)) = ((0g𝐺) × (0g𝐺)))
7978oveq2d 6631 . . . . . . . . . 10 ((1r𝑅) = (0g𝐺) → (1 · ((1r𝑅) × (1r𝑅))) = (1 · ((0g𝐺) × (0g𝐺))))
8079, 77eqeq12d 2636 . . . . . . . . 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 208 . . . . . . 7 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((0g𝐺) × (0g𝐺))) = (0g𝐺))
8360, 82eqtrd 2655 . . . . . 6 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((0 𝐴) × (0 𝐵))) = (0g𝐺))
84 0z 11348 . . . . . . . . . . 11 0 ∈ ℤ
85 fzsn 12341 . . . . . . . . . . 11 (0 ∈ ℤ → (0...0) = {0})
8684, 85ax-mp 5 . . . . . . . . . 10 (0...0) = {0}
8786a1i 11 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0...0) = {0})
8887mpteq1d 4708 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵)))) = (𝑘 ∈ {0} ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵)))))
8988oveq2d 6631 . . . . . . 7 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑅 Σg (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))) = (𝑅 Σg (𝑘 ∈ {0} ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))))
90 srgmnd 18449 . . . . . . . . 9 (𝑅 ∈ SRing → 𝑅 ∈ Mnd)
9190adantr 481 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 𝑅 ∈ Mnd)
92 c0ex 9994 . . . . . . . . 9 0 ∈ V
9392a1i 11 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → 0 ∈ V)
9476, 62syl5eqelr 2703 . . . . . . . . . 10 (𝑅 ∈ SRing → (0g𝐺) ∈ 𝑆)
9594adantr 481 . . . . . . . . 9 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0g𝐺) ∈ 𝑆)
9683, 95eqeltrd 2698 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (1 · ((0 𝐴) × (0 𝐵))) ∈ 𝑆)
97 oveq2 6623 . . . . . . . . . . 11 (𝑘 = 0 → (0C𝑘) = (0C0))
98 0nn0 11267 . . . . . . . . . . . 12 0 ∈ ℕ0
99 bcn0 13053 . . . . . . . . . . . 12 (0 ∈ ℕ0 → (0C0) = 1)
10098, 99ax-mp 5 . . . . . . . . . . 11 (0C0) = 1
10197, 100syl6eq 2671 . . . . . . . . . 10 (𝑘 = 0 → (0C𝑘) = 1)
102 oveq2 6623 . . . . . . . . . . . . 13 (𝑘 = 0 → (0 − 𝑘) = (0 − 0))
103 0m0e0 11090 . . . . . . . . . . . . 13 (0 − 0) = 0
104102, 103syl6eq 2671 . . . . . . . . . . . 12 (𝑘 = 0 → (0 − 𝑘) = 0)
105104oveq1d 6630 . . . . . . . . . . 11 (𝑘 = 0 → ((0 − 𝑘) 𝐴) = (0 𝐴))
106 oveq1 6622 . . . . . . . . . . 11 (𝑘 = 0 → (𝑘 𝐵) = (0 𝐵))
107105, 106oveq12d 6633 . . . . . . . . . 10 (𝑘 = 0 → (((0 − 𝑘) 𝐴) × (𝑘 𝐵)) = ((0 𝐴) × (0 𝐵)))
108101, 107oveq12d 6633 . . . . . . . . 9 (𝑘 = 0 → ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))) = (1 · ((0 𝐴) × (0 𝐵))))
10947, 108gsumsn 18294 . . . . . . . 8 ((𝑅 ∈ Mnd ∧ 0 ∈ V ∧ (1 · ((0 𝐴) × (0 𝐵))) ∈ 𝑆) → (𝑅 Σg (𝑘 ∈ {0} ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))) = (1 · ((0 𝐴) × (0 𝐵))))
11091, 93, 96, 109syl3anc 1323 . . . . . . 7 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑅 Σg (𝑘 ∈ {0} ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))) = (1 · ((0 𝐴) × (0 𝐵))))
11189, 110eqtrd 2655 . . . . . 6 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑅 Σg (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))) = (1 · ((0 𝐴) × (0 𝐵))))
112 srgbinom.a . . . . . . . . . 10 + = (+g𝑅)
11347, 112mndcl 17241 . . . . . . . . 9 ((𝑅 ∈ Mnd ∧ 𝐴𝑆𝐵𝑆) → (𝐴 + 𝐵) ∈ 𝑆)
11491, 45, 55, 113syl3anc 1323 . . . . . . . 8 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝐴 + 𝐵) ∈ 𝑆)
115114, 48syl6eleq 2708 . . . . . . 7 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝐴 + 𝐵) ∈ (Base‘𝐺))
11650, 51, 52mulg0 17486 . . . . . . 7 ((𝐴 + 𝐵) ∈ (Base‘𝐺) → (0 (𝐴 + 𝐵)) = (0g𝐺))
117115, 116syl 17 . . . . . 6 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0 (𝐴 + 𝐵)) = (0g𝐺))
11883, 111, 1173eqtr4rd 2666 . . . . 5 ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (0 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...0) ↦ ((0C𝑘) · (((0 − 𝑘) 𝐴) × (𝑘 𝐵))))))
119 simprl 793 . . . . . . . 8 ((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) → 𝑅 ∈ SRing)
12045adantl 482 . . . . . . . 8 ((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) → 𝐴𝑆)
12155adantl 482 . . . . . . . 8 ((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) → 𝐵𝑆)
122 simprr3 1109 . . . . . . . 8 ((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) → (𝐴 × 𝐵) = (𝐵 × 𝐴))
123 simpl 473 . . . . . . . 8 ((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) → 𝑛 ∈ ℕ0)
124 id 22 . . . . . . . 8 ((𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))) → (𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))))
12547, 65, 71, 112, 46, 52, 119, 120, 121, 122, 123, 124srgbinomlem 18484 . . . . . . 7 (((𝑛 ∈ ℕ0 ∧ (𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)))) ∧ (𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵)))))) → ((𝑛 + 1) (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))))
126125exp31 629 . . . . . 6 (𝑛 ∈ ℕ0 → ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → ((𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵))))) → ((𝑛 + 1) (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))))))
127126a2d 29 . . . . 5 (𝑛 ∈ ℕ0 → (((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑛 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑛) ↦ ((𝑛C𝑘) · (((𝑛𝑘) 𝐴) × (𝑘 𝐵)))))) → ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → ((𝑛 + 1) (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...(𝑛 + 1)) ↦ (((𝑛 + 1)C𝑘) · ((((𝑛 + 1) − 𝑘) 𝐴) × (𝑘 𝐵))))))))
12811, 22, 33, 44, 118, 127nn0ind 11432 . . . 4 (𝑁 ∈ ℕ0 → ((𝑅 ∈ SRing ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))))))
129128expd 452 . . 3 (𝑁 ∈ ℕ0 → (𝑅 ∈ SRing → ((𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))))))
130129impcom 446 . 2 ((𝑅 ∈ SRing ∧ 𝑁 ∈ ℕ0) → ((𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴)) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵)))))))
131130imp 445 1 (((𝑅 ∈ SRing ∧ 𝑁 ∈ ℕ0) ∧ (𝐴𝑆𝐵𝑆 ∧ (𝐴 × 𝐵) = (𝐵 × 𝐴))) → (𝑁 (𝐴 + 𝐵)) = (𝑅 Σg (𝑘 ∈ (0...𝑁) ↦ ((𝑁C𝑘) · (((𝑁𝑘) 𝐴) × (𝑘 𝐵))))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1036   = wceq 1480  wcel 1987  Vcvv 3190  {csn 4155  cmpt 4683  cfv 5857  (class class class)co 6615  0cc0 9896  1c1 9897   + caddc 9899  cmin 10226  0cn0 11252  cz 11337  ...cfz 12284  Ccbc 13045  Basecbs 15800  +gcplusg 15881  .rcmulr 15882  0gc0g 16040   Σg cgsu 16041  Mndcmnd 17234  .gcmg 17480  mulGrpcmgp 18429  1rcur 18441  SRingcsrg 18445
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4741  ax-sep 4751  ax-nul 4759  ax-pow 4813  ax-pr 4877  ax-un 6914  ax-inf2 8498  ax-cnex 9952  ax-resscn 9953  ax-1cn 9954  ax-icn 9955  ax-addcl 9956  ax-addrcl 9957  ax-mulcl 9958  ax-mulrcl 9959  ax-mulcom 9960  ax-addass 9961  ax-mulass 9962  ax-distr 9963  ax-i2m1 9964  ax-1ne0 9965  ax-1rid 9966  ax-rnegex 9967  ax-rrecex 9968  ax-cnre 9969  ax-pre-lttri 9970  ax-pre-lttrn 9971  ax-pre-ltadd 9972  ax-pre-mulgt0 9973
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2913  df-rex 2914  df-reu 2915  df-rmo 2916  df-rab 2917  df-v 3192  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-pss 3576  df-nul 3898  df-if 4065  df-pw 4138  df-sn 4156  df-pr 4158  df-tp 4160  df-op 4162  df-uni 4410  df-int 4448  df-iun 4494  df-iin 4495  df-br 4624  df-opab 4684  df-mpt 4685  df-tr 4723  df-eprel 4995  df-id 4999  df-po 5005  df-so 5006  df-fr 5043  df-se 5044  df-we 5045  df-xp 5090  df-rel 5091  df-cnv 5092  df-co 5093  df-dm 5094  df-rn 5095  df-res 5096  df-ima 5097  df-pred 5649  df-ord 5695  df-on 5696  df-lim 5697  df-suc 5698  df-iota 5820  df-fun 5859  df-fn 5860  df-f 5861  df-f1 5862  df-fo 5863  df-f1o 5864  df-fv 5865  df-isom 5866  df-riota 6576  df-ov 6618  df-oprab 6619  df-mpt2 6620  df-of 6862  df-om 7028  df-1st 7128  df-2nd 7129  df-supp 7256  df-wrecs 7367  df-recs 7428  df-rdg 7466  df-1o 7520  df-oadd 7524  df-er 7702  df-map 7819  df-en 7916  df-dom 7917  df-sdom 7918  df-fin 7919  df-fsupp 8236  df-oi 8375  df-card 8725  df-pnf 10036  df-mnf 10037  df-xr 10038  df-ltxr 10039  df-le 10040  df-sub 10228  df-neg 10229  df-div 10645  df-nn 10981  df-2 11039  df-n0 11253  df-z 11338  df-uz 11648  df-rp 11793  df-fz 12285  df-fzo 12423  df-seq 12758  df-fac 13017  df-bc 13046  df-hash 13074  df-ndx 15803  df-slot 15804  df-base 15805  df-sets 15806  df-ress 15807  df-plusg 15894  df-0g 16042  df-gsum 16043  df-mre 16186  df-mrc 16187  df-acs 16189  df-mgm 17182  df-sgrp 17224  df-mnd 17235  df-mhm 17275  df-submnd 17276  df-mulg 17481  df-cntz 17690  df-cmn 18135  df-mgp 18430  df-ur 18442  df-srg 18446
This theorem is referenced by:  csrgbinom  18486
  Copyright terms: Public domain W3C validator