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

Theorem mplmonmul 21237
Description: The product of two monomials adds the exponent vectors together. For example, the product of (𝑥↑2)(𝑦↑2) with (𝑦↑1)(𝑧↑3) is (𝑥↑2)(𝑦↑3)(𝑧↑3), where the exponent vectors ⟨2, 2, 0⟩ and ⟨0, 1, 3⟩ are added to give ⟨2, 3, 3⟩. (Contributed by Mario Carneiro, 9-Jan-2015.)
Hypotheses
Ref Expression
mplmon.s 𝑃 = (𝐼 mPoly 𝑅)
mplmon.b 𝐵 = (Base‘𝑃)
mplmon.z 0 = (0g𝑅)
mplmon.o 1 = (1r𝑅)
mplmon.d 𝐷 = {𝑓 ∈ (ℕ0m 𝐼) ∣ (𝑓 “ ℕ) ∈ Fin}
mplmon.i (𝜑𝐼𝑊)
mplmon.r (𝜑𝑅 ∈ Ring)
mplmon.x (𝜑𝑋𝐷)
mplmonmul.t · = (.r𝑃)
mplmonmul.x (𝜑𝑌𝐷)
Assertion
Ref Expression
mplmonmul (𝜑 → ((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 )) · (𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))) = (𝑦𝐷 ↦ if(𝑦 = (𝑋f + 𝑌), 1 , 0 )))
Distinct variable groups:   𝑦,𝐷   𝑓,𝐼   𝜑,𝑦   𝑦,𝑓,𝑋   𝑦, 0   𝑦, 1   𝑦,𝑅   𝑓,𝑌,𝑦
Allowed substitution hints:   𝜑(𝑓)   𝐵(𝑦,𝑓)   𝐷(𝑓)   𝑃(𝑦,𝑓)   𝑅(𝑓)   · (𝑦,𝑓)   1 (𝑓)   𝐼(𝑦)   𝑊(𝑦,𝑓)   0 (𝑓)

Proof of Theorem mplmonmul
Dummy variables 𝑗 𝑘 𝑥 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mplmon.s . . 3 𝑃 = (𝐼 mPoly 𝑅)
2 mplmon.b . . 3 𝐵 = (Base‘𝑃)
3 eqid 2738 . . 3 (.r𝑅) = (.r𝑅)
4 mplmonmul.t . . 3 · = (.r𝑃)
5 mplmon.d . . 3 𝐷 = {𝑓 ∈ (ℕ0m 𝐼) ∣ (𝑓 “ ℕ) ∈ Fin}
6 mplmon.z . . . 4 0 = (0g𝑅)
7 mplmon.o . . . 4 1 = (1r𝑅)
8 mplmon.i . . . 4 (𝜑𝐼𝑊)
9 mplmon.r . . . 4 (𝜑𝑅 ∈ Ring)
10 mplmon.x . . . 4 (𝜑𝑋𝐷)
111, 2, 6, 7, 5, 8, 9, 10mplmon 21236 . . 3 (𝜑 → (𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 )) ∈ 𝐵)
12 mplmonmul.x . . . 4 (𝜑𝑌𝐷)
131, 2, 6, 7, 5, 8, 9, 12mplmon 21236 . . 3 (𝜑 → (𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 )) ∈ 𝐵)
141, 2, 3, 4, 5, 11, 13mplmul 21215 . 2 (𝜑 → ((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 )) · (𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))) = (𝑘𝐷 ↦ (𝑅 Σg (𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))))))
15 eqeq1 2742 . . . . 5 (𝑦 = 𝑘 → (𝑦 = (𝑋f + 𝑌) ↔ 𝑘 = (𝑋f + 𝑌)))
1615ifbid 4482 . . . 4 (𝑦 = 𝑘 → if(𝑦 = (𝑋f + 𝑌), 1 , 0 ) = if(𝑘 = (𝑋f + 𝑌), 1 , 0 ))
1716cbvmptv 5187 . . 3 (𝑦𝐷 ↦ if(𝑦 = (𝑋f + 𝑌), 1 , 0 )) = (𝑘𝐷 ↦ if(𝑘 = (𝑋f + 𝑌), 1 , 0 ))
18 simpr 485 . . . . . . . . . 10 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → 𝑋 ∈ {𝑥𝐷𝑥r𝑘})
1918snssd 4742 . . . . . . . . 9 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → {𝑋} ⊆ {𝑥𝐷𝑥r𝑘})
2019resmptd 5948 . . . . . . . 8 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ↾ {𝑋}) = (𝑗 ∈ {𝑋} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))))
2120oveq2d 7291 . . . . . . 7 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑅 Σg ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ↾ {𝑋})) = (𝑅 Σg (𝑗 ∈ {𝑋} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))))))
229ad2antrr 723 . . . . . . . . 9 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → 𝑅 ∈ Ring)
23 ringmnd 19793 . . . . . . . . 9 (𝑅 ∈ Ring → 𝑅 ∈ Mnd)
2422, 23syl 17 . . . . . . . 8 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → 𝑅 ∈ Mnd)
2510ad2antrr 723 . . . . . . . 8 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → 𝑋𝐷)
26 iftrue 4465 . . . . . . . . . . . . 13 (𝑦 = 𝑋 → if(𝑦 = 𝑋, 1 , 0 ) = 1 )
27 eqid 2738 . . . . . . . . . . . . 13 (𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 )) = (𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))
287fvexi 6788 . . . . . . . . . . . . 13 1 ∈ V
2926, 27, 28fvmpt 6875 . . . . . . . . . . . 12 (𝑋𝐷 → ((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑋) = 1 )
3025, 29syl 17 . . . . . . . . . . 11 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → ((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑋) = 1 )
31 ssrab2 4013 . . . . . . . . . . . . 13 {𝑥𝐷𝑥r𝑘} ⊆ 𝐷
32 simplr 766 . . . . . . . . . . . . . 14 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → 𝑘𝐷)
33 eqid 2738 . . . . . . . . . . . . . . 15 {𝑥𝐷𝑥r𝑘} = {𝑥𝐷𝑥r𝑘}
345, 33psrbagconcl 21137 . . . . . . . . . . . . . 14 ((𝑘𝐷𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑘f𝑋) ∈ {𝑥𝐷𝑥r𝑘})
3532, 18, 34syl2anc 584 . . . . . . . . . . . . 13 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑘f𝑋) ∈ {𝑥𝐷𝑥r𝑘})
3631, 35sselid 3919 . . . . . . . . . . . 12 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑘f𝑋) ∈ 𝐷)
37 eqeq1 2742 . . . . . . . . . . . . . 14 (𝑦 = (𝑘f𝑋) → (𝑦 = 𝑌 ↔ (𝑘f𝑋) = 𝑌))
3837ifbid 4482 . . . . . . . . . . . . 13 (𝑦 = (𝑘f𝑋) → if(𝑦 = 𝑌, 1 , 0 ) = if((𝑘f𝑋) = 𝑌, 1 , 0 ))
39 eqid 2738 . . . . . . . . . . . . 13 (𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 )) = (𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))
406fvexi 6788 . . . . . . . . . . . . . 14 0 ∈ V
4128, 40ifex 4509 . . . . . . . . . . . . 13 if((𝑘f𝑋) = 𝑌, 1 , 0 ) ∈ V
4238, 39, 41fvmpt 6875 . . . . . . . . . . . 12 ((𝑘f𝑋) ∈ 𝐷 → ((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑋)) = if((𝑘f𝑋) = 𝑌, 1 , 0 ))
4336, 42syl 17 . . . . . . . . . . 11 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → ((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑋)) = if((𝑘f𝑋) = 𝑌, 1 , 0 ))
4430, 43oveq12d 7293 . . . . . . . . . 10 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑋)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑋))) = ( 1 (.r𝑅)if((𝑘f𝑋) = 𝑌, 1 , 0 )))
45 eqid 2738 . . . . . . . . . . . . . 14 (Base‘𝑅) = (Base‘𝑅)
4645, 7ringidcl 19807 . . . . . . . . . . . . 13 (𝑅 ∈ Ring → 1 ∈ (Base‘𝑅))
4745, 6ring0cl 19808 . . . . . . . . . . . . 13 (𝑅 ∈ Ring → 0 ∈ (Base‘𝑅))
4846, 47ifcld 4505 . . . . . . . . . . . 12 (𝑅 ∈ Ring → if((𝑘f𝑋) = 𝑌, 1 , 0 ) ∈ (Base‘𝑅))
4922, 48syl 17 . . . . . . . . . . 11 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → if((𝑘f𝑋) = 𝑌, 1 , 0 ) ∈ (Base‘𝑅))
5045, 3, 7ringlidm 19810 . . . . . . . . . . 11 ((𝑅 ∈ Ring ∧ if((𝑘f𝑋) = 𝑌, 1 , 0 ) ∈ (Base‘𝑅)) → ( 1 (.r𝑅)if((𝑘f𝑋) = 𝑌, 1 , 0 )) = if((𝑘f𝑋) = 𝑌, 1 , 0 ))
5122, 49, 50syl2anc 584 . . . . . . . . . 10 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → ( 1 (.r𝑅)if((𝑘f𝑋) = 𝑌, 1 , 0 )) = if((𝑘f𝑋) = 𝑌, 1 , 0 ))
525psrbagf 21121 . . . . . . . . . . . . . . . . . 18 (𝑘𝐷𝑘:𝐼⟶ℕ0)
5332, 52syl 17 . . . . . . . . . . . . . . . . 17 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → 𝑘:𝐼⟶ℕ0)
5453ffvelrnda 6961 . . . . . . . . . . . . . . . 16 ((((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) ∧ 𝑧𝐼) → (𝑘𝑧) ∈ ℕ0)
5510adantr 481 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑘𝐷) → 𝑋𝐷)
565psrbagf 21121 . . . . . . . . . . . . . . . . . . 19 (𝑋𝐷𝑋:𝐼⟶ℕ0)
5755, 56syl 17 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑘𝐷) → 𝑋:𝐼⟶ℕ0)
5857ffvelrnda 6961 . . . . . . . . . . . . . . . . 17 (((𝜑𝑘𝐷) ∧ 𝑧𝐼) → (𝑋𝑧) ∈ ℕ0)
5958adantlr 712 . . . . . . . . . . . . . . . 16 ((((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) ∧ 𝑧𝐼) → (𝑋𝑧) ∈ ℕ0)
605psrbagf 21121 . . . . . . . . . . . . . . . . . . . 20 (𝑌𝐷𝑌:𝐼⟶ℕ0)
6112, 60syl 17 . . . . . . . . . . . . . . . . . . 19 (𝜑𝑌:𝐼⟶ℕ0)
6261adantr 481 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑘𝐷) → 𝑌:𝐼⟶ℕ0)
6362ffvelrnda 6961 . . . . . . . . . . . . . . . . 17 (((𝜑𝑘𝐷) ∧ 𝑧𝐼) → (𝑌𝑧) ∈ ℕ0)
6463adantlr 712 . . . . . . . . . . . . . . . 16 ((((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) ∧ 𝑧𝐼) → (𝑌𝑧) ∈ ℕ0)
65 nn0cn 12243 . . . . . . . . . . . . . . . . 17 ((𝑘𝑧) ∈ ℕ0 → (𝑘𝑧) ∈ ℂ)
66 nn0cn 12243 . . . . . . . . . . . . . . . . 17 ((𝑋𝑧) ∈ ℕ0 → (𝑋𝑧) ∈ ℂ)
67 nn0cn 12243 . . . . . . . . . . . . . . . . 17 ((𝑌𝑧) ∈ ℕ0 → (𝑌𝑧) ∈ ℂ)
68 subadd 11224 . . . . . . . . . . . . . . . . 17 (((𝑘𝑧) ∈ ℂ ∧ (𝑋𝑧) ∈ ℂ ∧ (𝑌𝑧) ∈ ℂ) → (((𝑘𝑧) − (𝑋𝑧)) = (𝑌𝑧) ↔ ((𝑋𝑧) + (𝑌𝑧)) = (𝑘𝑧)))
6965, 66, 67, 68syl3an 1159 . . . . . . . . . . . . . . . 16 (((𝑘𝑧) ∈ ℕ0 ∧ (𝑋𝑧) ∈ ℕ0 ∧ (𝑌𝑧) ∈ ℕ0) → (((𝑘𝑧) − (𝑋𝑧)) = (𝑌𝑧) ↔ ((𝑋𝑧) + (𝑌𝑧)) = (𝑘𝑧)))
7054, 59, 64, 69syl3anc 1370 . . . . . . . . . . . . . . 15 ((((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) ∧ 𝑧𝐼) → (((𝑘𝑧) − (𝑋𝑧)) = (𝑌𝑧) ↔ ((𝑋𝑧) + (𝑌𝑧)) = (𝑘𝑧)))
71 eqcom 2745 . . . . . . . . . . . . . . 15 (((𝑋𝑧) + (𝑌𝑧)) = (𝑘𝑧) ↔ (𝑘𝑧) = ((𝑋𝑧) + (𝑌𝑧)))
7270, 71bitrdi 287 . . . . . . . . . . . . . 14 ((((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) ∧ 𝑧𝐼) → (((𝑘𝑧) − (𝑋𝑧)) = (𝑌𝑧) ↔ (𝑘𝑧) = ((𝑋𝑧) + (𝑌𝑧))))
7372ralbidva 3111 . . . . . . . . . . . . 13 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (∀𝑧𝐼 ((𝑘𝑧) − (𝑋𝑧)) = (𝑌𝑧) ↔ ∀𝑧𝐼 (𝑘𝑧) = ((𝑋𝑧) + (𝑌𝑧))))
74 mpteqb 6894 . . . . . . . . . . . . . 14 (∀𝑧𝐼 ((𝑘𝑧) − (𝑋𝑧)) ∈ V → ((𝑧𝐼 ↦ ((𝑘𝑧) − (𝑋𝑧))) = (𝑧𝐼 ↦ (𝑌𝑧)) ↔ ∀𝑧𝐼 ((𝑘𝑧) − (𝑋𝑧)) = (𝑌𝑧)))
75 ovexd 7310 . . . . . . . . . . . . . 14 (𝑧𝐼 → ((𝑘𝑧) − (𝑋𝑧)) ∈ V)
7674, 75mprg 3078 . . . . . . . . . . . . 13 ((𝑧𝐼 ↦ ((𝑘𝑧) − (𝑋𝑧))) = (𝑧𝐼 ↦ (𝑌𝑧)) ↔ ∀𝑧𝐼 ((𝑘𝑧) − (𝑋𝑧)) = (𝑌𝑧))
77 mpteqb 6894 . . . . . . . . . . . . . 14 (∀𝑧𝐼 (𝑘𝑧) ∈ V → ((𝑧𝐼 ↦ (𝑘𝑧)) = (𝑧𝐼 ↦ ((𝑋𝑧) + (𝑌𝑧))) ↔ ∀𝑧𝐼 (𝑘𝑧) = ((𝑋𝑧) + (𝑌𝑧))))
78 fvexd 6789 . . . . . . . . . . . . . 14 (𝑧𝐼 → (𝑘𝑧) ∈ V)
7977, 78mprg 3078 . . . . . . . . . . . . 13 ((𝑧𝐼 ↦ (𝑘𝑧)) = (𝑧𝐼 ↦ ((𝑋𝑧) + (𝑌𝑧))) ↔ ∀𝑧𝐼 (𝑘𝑧) = ((𝑋𝑧) + (𝑌𝑧)))
8073, 76, 793bitr4g 314 . . . . . . . . . . . 12 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → ((𝑧𝐼 ↦ ((𝑘𝑧) − (𝑋𝑧))) = (𝑧𝐼 ↦ (𝑌𝑧)) ↔ (𝑧𝐼 ↦ (𝑘𝑧)) = (𝑧𝐼 ↦ ((𝑋𝑧) + (𝑌𝑧)))))
818ad2antrr 723 . . . . . . . . . . . . . 14 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → 𝐼𝑊)
8253feqmptd 6837 . . . . . . . . . . . . . 14 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → 𝑘 = (𝑧𝐼 ↦ (𝑘𝑧)))
8357feqmptd 6837 . . . . . . . . . . . . . . 15 ((𝜑𝑘𝐷) → 𝑋 = (𝑧𝐼 ↦ (𝑋𝑧)))
8483adantr 481 . . . . . . . . . . . . . 14 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → 𝑋 = (𝑧𝐼 ↦ (𝑋𝑧)))
8581, 54, 59, 82, 84offval2 7553 . . . . . . . . . . . . 13 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑘f𝑋) = (𝑧𝐼 ↦ ((𝑘𝑧) − (𝑋𝑧))))
8662feqmptd 6837 . . . . . . . . . . . . . 14 ((𝜑𝑘𝐷) → 𝑌 = (𝑧𝐼 ↦ (𝑌𝑧)))
8786adantr 481 . . . . . . . . . . . . 13 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → 𝑌 = (𝑧𝐼 ↦ (𝑌𝑧)))
8885, 87eqeq12d 2754 . . . . . . . . . . . 12 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → ((𝑘f𝑋) = 𝑌 ↔ (𝑧𝐼 ↦ ((𝑘𝑧) − (𝑋𝑧))) = (𝑧𝐼 ↦ (𝑌𝑧))))
898adantr 481 . . . . . . . . . . . . . . 15 ((𝜑𝑘𝐷) → 𝐼𝑊)
9089, 58, 63, 83, 86offval2 7553 . . . . . . . . . . . . . 14 ((𝜑𝑘𝐷) → (𝑋f + 𝑌) = (𝑧𝐼 ↦ ((𝑋𝑧) + (𝑌𝑧))))
9190adantr 481 . . . . . . . . . . . . 13 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑋f + 𝑌) = (𝑧𝐼 ↦ ((𝑋𝑧) + (𝑌𝑧))))
9282, 91eqeq12d 2754 . . . . . . . . . . . 12 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑘 = (𝑋f + 𝑌) ↔ (𝑧𝐼 ↦ (𝑘𝑧)) = (𝑧𝐼 ↦ ((𝑋𝑧) + (𝑌𝑧)))))
9380, 88, 923bitr4d 311 . . . . . . . . . . 11 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → ((𝑘f𝑋) = 𝑌𝑘 = (𝑋f + 𝑌)))
9493ifbid 4482 . . . . . . . . . 10 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → if((𝑘f𝑋) = 𝑌, 1 , 0 ) = if(𝑘 = (𝑋f + 𝑌), 1 , 0 ))
9544, 51, 943eqtrd 2782 . . . . . . . . 9 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑋)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑋))) = if(𝑘 = (𝑋f + 𝑌), 1 , 0 ))
9694, 49eqeltrrd 2840 . . . . . . . . 9 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → if(𝑘 = (𝑋f + 𝑌), 1 , 0 ) ∈ (Base‘𝑅))
9795, 96eqeltrd 2839 . . . . . . . 8 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑋)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑋))) ∈ (Base‘𝑅))
98 fveq2 6774 . . . . . . . . . 10 (𝑗 = 𝑋 → ((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗) = ((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑋))
99 oveq2 7283 . . . . . . . . . . 11 (𝑗 = 𝑋 → (𝑘f𝑗) = (𝑘f𝑋))
10099fveq2d 6778 . . . . . . . . . 10 (𝑗 = 𝑋 → ((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)) = ((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑋)))
10198, 100oveq12d 7293 . . . . . . . . 9 (𝑗 = 𝑋 → (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))) = (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑋)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑋))))
10245, 101gsumsn 19555 . . . . . . . 8 ((𝑅 ∈ Mnd ∧ 𝑋𝐷 ∧ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑋)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑋))) ∈ (Base‘𝑅)) → (𝑅 Σg (𝑗 ∈ {𝑋} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))))) = (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑋)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑋))))
10324, 25, 97, 102syl3anc 1370 . . . . . . 7 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑅 Σg (𝑗 ∈ {𝑋} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))))) = (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑋)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑋))))
10421, 103, 953eqtrd 2782 . . . . . 6 (((𝜑𝑘𝐷) ∧ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑅 Σg ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ↾ {𝑋})) = if(𝑘 = (𝑋f + 𝑌), 1 , 0 ))
1056gsum0 18368 . . . . . . 7 (𝑅 Σg ∅) = 0
106 disjsn 4647 . . . . . . . . 9 (({𝑥𝐷𝑥r𝑘} ∩ {𝑋}) = ∅ ↔ ¬ 𝑋 ∈ {𝑥𝐷𝑥r𝑘})
1079ad2antrr 723 . . . . . . . . . . . . 13 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ {𝑥𝐷𝑥r𝑘}) → 𝑅 ∈ Ring)
1081, 45, 2, 5, 11mplelf 21204 . . . . . . . . . . . . . . 15 (𝜑 → (𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 )):𝐷⟶(Base‘𝑅))
109108ad2antrr 723 . . . . . . . . . . . . . 14 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 )):𝐷⟶(Base‘𝑅))
110 simpr 485 . . . . . . . . . . . . . . 15 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ {𝑥𝐷𝑥r𝑘}) → 𝑗 ∈ {𝑥𝐷𝑥r𝑘})
11131, 110sselid 3919 . . . . . . . . . . . . . 14 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ {𝑥𝐷𝑥r𝑘}) → 𝑗𝐷)
112109, 111ffvelrnd 6962 . . . . . . . . . . . . 13 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ {𝑥𝐷𝑥r𝑘}) → ((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗) ∈ (Base‘𝑅))
1131, 45, 2, 5, 13mplelf 21204 . . . . . . . . . . . . . . 15 (𝜑 → (𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 )):𝐷⟶(Base‘𝑅))
114113ad2antrr 723 . . . . . . . . . . . . . 14 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 )):𝐷⟶(Base‘𝑅))
115 simplr 766 . . . . . . . . . . . . . . . 16 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ {𝑥𝐷𝑥r𝑘}) → 𝑘𝐷)
1165, 33psrbagconcl 21137 . . . . . . . . . . . . . . . 16 ((𝑘𝐷𝑗 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑘f𝑗) ∈ {𝑥𝐷𝑥r𝑘})
117115, 110, 116syl2anc 584 . . . . . . . . . . . . . . 15 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑘f𝑗) ∈ {𝑥𝐷𝑥r𝑘})
11831, 117sselid 3919 . . . . . . . . . . . . . 14 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑘f𝑗) ∈ 𝐷)
119114, 118ffvelrnd 6962 . . . . . . . . . . . . 13 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ {𝑥𝐷𝑥r𝑘}) → ((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)) ∈ (Base‘𝑅))
12045, 3ringcl 19800 . . . . . . . . . . . . 13 ((𝑅 ∈ Ring ∧ ((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗) ∈ (Base‘𝑅) ∧ ((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)) ∈ (Base‘𝑅)) → (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))) ∈ (Base‘𝑅))
121107, 112, 119, 120syl3anc 1370 . . . . . . . . . . . 12 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ {𝑥𝐷𝑥r𝑘}) → (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))) ∈ (Base‘𝑅))
122121fmpttd 6989 . . . . . . . . . . 11 ((𝜑𝑘𝐷) → (𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))):{𝑥𝐷𝑥r𝑘}⟶(Base‘𝑅))
123 ffn 6600 . . . . . . . . . . 11 ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))):{𝑥𝐷𝑥r𝑘}⟶(Base‘𝑅) → (𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) Fn {𝑥𝐷𝑥r𝑘})
124 fnresdisj 6552 . . . . . . . . . . 11 ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) Fn {𝑥𝐷𝑥r𝑘} → (({𝑥𝐷𝑥r𝑘} ∩ {𝑋}) = ∅ ↔ ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ↾ {𝑋}) = ∅))
125122, 123, 1243syl 18 . . . . . . . . . 10 ((𝜑𝑘𝐷) → (({𝑥𝐷𝑥r𝑘} ∩ {𝑋}) = ∅ ↔ ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ↾ {𝑋}) = ∅))
126125biimpa 477 . . . . . . . . 9 (((𝜑𝑘𝐷) ∧ ({𝑥𝐷𝑥r𝑘} ∩ {𝑋}) = ∅) → ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ↾ {𝑋}) = ∅)
127106, 126sylan2br 595 . . . . . . . 8 (((𝜑𝑘𝐷) ∧ ¬ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ↾ {𝑋}) = ∅)
128127oveq2d 7291 . . . . . . 7 (((𝜑𝑘𝐷) ∧ ¬ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑅 Σg ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ↾ {𝑋})) = (𝑅 Σg ∅))
129 breq1 5077 . . . . . . . . . . 11 (𝑥 = 𝑋 → (𝑥r ≤ (𝑋f + 𝑌) ↔ 𝑋r ≤ (𝑋f + 𝑌)))
13058nn0red 12294 . . . . . . . . . . . . . 14 (((𝜑𝑘𝐷) ∧ 𝑧𝐼) → (𝑋𝑧) ∈ ℝ)
131 nn0addge1 12279 . . . . . . . . . . . . . 14 (((𝑋𝑧) ∈ ℝ ∧ (𝑌𝑧) ∈ ℕ0) → (𝑋𝑧) ≤ ((𝑋𝑧) + (𝑌𝑧)))
132130, 63, 131syl2anc 584 . . . . . . . . . . . . 13 (((𝜑𝑘𝐷) ∧ 𝑧𝐼) → (𝑋𝑧) ≤ ((𝑋𝑧) + (𝑌𝑧)))
133132ralrimiva 3103 . . . . . . . . . . . 12 ((𝜑𝑘𝐷) → ∀𝑧𝐼 (𝑋𝑧) ≤ ((𝑋𝑧) + (𝑌𝑧)))
134 ovexd 7310 . . . . . . . . . . . . 13 (((𝜑𝑘𝐷) ∧ 𝑧𝐼) → ((𝑋𝑧) + (𝑌𝑧)) ∈ V)
13589, 58, 134, 83, 90ofrfval2 7554 . . . . . . . . . . . 12 ((𝜑𝑘𝐷) → (𝑋r ≤ (𝑋f + 𝑌) ↔ ∀𝑧𝐼 (𝑋𝑧) ≤ ((𝑋𝑧) + (𝑌𝑧))))
136133, 135mpbird 256 . . . . . . . . . . 11 ((𝜑𝑘𝐷) → 𝑋r ≤ (𝑋f + 𝑌))
137129, 55, 136elrabd 3626 . . . . . . . . . 10 ((𝜑𝑘𝐷) → 𝑋 ∈ {𝑥𝐷𝑥r ≤ (𝑋f + 𝑌)})
138 breq2 5078 . . . . . . . . . . . 12 (𝑘 = (𝑋f + 𝑌) → (𝑥r𝑘𝑥r ≤ (𝑋f + 𝑌)))
139138rabbidv 3414 . . . . . . . . . . 11 (𝑘 = (𝑋f + 𝑌) → {𝑥𝐷𝑥r𝑘} = {𝑥𝐷𝑥r ≤ (𝑋f + 𝑌)})
140139eleq2d 2824 . . . . . . . . . 10 (𝑘 = (𝑋f + 𝑌) → (𝑋 ∈ {𝑥𝐷𝑥r𝑘} ↔ 𝑋 ∈ {𝑥𝐷𝑥r ≤ (𝑋f + 𝑌)}))
141137, 140syl5ibrcom 246 . . . . . . . . 9 ((𝜑𝑘𝐷) → (𝑘 = (𝑋f + 𝑌) → 𝑋 ∈ {𝑥𝐷𝑥r𝑘}))
142141con3dimp 409 . . . . . . . 8 (((𝜑𝑘𝐷) ∧ ¬ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → ¬ 𝑘 = (𝑋f + 𝑌))
143142iffalsed 4470 . . . . . . 7 (((𝜑𝑘𝐷) ∧ ¬ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → if(𝑘 = (𝑋f + 𝑌), 1 , 0 ) = 0 )
144105, 128, 1433eqtr4a 2804 . . . . . 6 (((𝜑𝑘𝐷) ∧ ¬ 𝑋 ∈ {𝑥𝐷𝑥r𝑘}) → (𝑅 Σg ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ↾ {𝑋})) = if(𝑘 = (𝑋f + 𝑌), 1 , 0 ))
145104, 144pm2.61dan 810 . . . . 5 ((𝜑𝑘𝐷) → (𝑅 Σg ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ↾ {𝑋})) = if(𝑘 = (𝑋f + 𝑌), 1 , 0 ))
1469adantr 481 . . . . . . 7 ((𝜑𝑘𝐷) → 𝑅 ∈ Ring)
147 ringcmn 19820 . . . . . . 7 (𝑅 ∈ Ring → 𝑅 ∈ CMnd)
148146, 147syl 17 . . . . . 6 ((𝜑𝑘𝐷) → 𝑅 ∈ CMnd)
1495psrbaglefi 21135 . . . . . . 7 (𝑘𝐷 → {𝑥𝐷𝑥r𝑘} ∈ Fin)
150149adantl 482 . . . . . 6 ((𝜑𝑘𝐷) → {𝑥𝐷𝑥r𝑘} ∈ Fin)
151 ssdif 4074 . . . . . . . . . . . 12 ({𝑥𝐷𝑥r𝑘} ⊆ 𝐷 → ({𝑥𝐷𝑥r𝑘} ∖ {𝑋}) ⊆ (𝐷 ∖ {𝑋}))
15231, 151ax-mp 5 . . . . . . . . . . 11 ({𝑥𝐷𝑥r𝑘} ∖ {𝑋}) ⊆ (𝐷 ∖ {𝑋})
153152sseli 3917 . . . . . . . . . 10 (𝑗 ∈ ({𝑥𝐷𝑥r𝑘} ∖ {𝑋}) → 𝑗 ∈ (𝐷 ∖ {𝑋}))
154108adantr 481 . . . . . . . . . . 11 ((𝜑𝑘𝐷) → (𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 )):𝐷⟶(Base‘𝑅))
155 eldifsni 4723 . . . . . . . . . . . . . . 15 (𝑦 ∈ (𝐷 ∖ {𝑋}) → 𝑦𝑋)
156155adantl 482 . . . . . . . . . . . . . 14 (((𝜑𝑘𝐷) ∧ 𝑦 ∈ (𝐷 ∖ {𝑋})) → 𝑦𝑋)
157156neneqd 2948 . . . . . . . . . . . . 13 (((𝜑𝑘𝐷) ∧ 𝑦 ∈ (𝐷 ∖ {𝑋})) → ¬ 𝑦 = 𝑋)
158157iffalsed 4470 . . . . . . . . . . . 12 (((𝜑𝑘𝐷) ∧ 𝑦 ∈ (𝐷 ∖ {𝑋})) → if(𝑦 = 𝑋, 1 , 0 ) = 0 )
159 ovex 7308 . . . . . . . . . . . . . 14 (ℕ0m 𝐼) ∈ V
1605, 159rabex2 5258 . . . . . . . . . . . . 13 𝐷 ∈ V
161160a1i 11 . . . . . . . . . . . 12 ((𝜑𝑘𝐷) → 𝐷 ∈ V)
162158, 161suppss2 8016 . . . . . . . . . . 11 ((𝜑𝑘𝐷) → ((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 )) supp 0 ) ⊆ {𝑋})
16340a1i 11 . . . . . . . . . . 11 ((𝜑𝑘𝐷) → 0 ∈ V)
164154, 162, 161, 163suppssr 8012 . . . . . . . . . 10 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ (𝐷 ∖ {𝑋})) → ((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗) = 0 )
165153, 164sylan2 593 . . . . . . . . 9 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ ({𝑥𝐷𝑥r𝑘} ∖ {𝑋})) → ((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗) = 0 )
166165oveq1d 7290 . . . . . . . 8 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ ({𝑥𝐷𝑥r𝑘} ∖ {𝑋})) → (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))) = ( 0 (.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))))
167 eldifi 4061 . . . . . . . . 9 (𝑗 ∈ ({𝑥𝐷𝑥r𝑘} ∖ {𝑋}) → 𝑗 ∈ {𝑥𝐷𝑥r𝑘})
16845, 3, 6ringlz 19826 . . . . . . . . . 10 ((𝑅 ∈ Ring ∧ ((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)) ∈ (Base‘𝑅)) → ( 0 (.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))) = 0 )
169107, 119, 168syl2anc 584 . . . . . . . . 9 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ {𝑥𝐷𝑥r𝑘}) → ( 0 (.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))) = 0 )
170167, 169sylan2 593 . . . . . . . 8 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ ({𝑥𝐷𝑥r𝑘} ∖ {𝑋})) → ( 0 (.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))) = 0 )
171166, 170eqtrd 2778 . . . . . . 7 (((𝜑𝑘𝐷) ∧ 𝑗 ∈ ({𝑥𝐷𝑥r𝑘} ∖ {𝑋})) → (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))) = 0 )
172160rabex 5256 . . . . . . . 8 {𝑥𝐷𝑥r𝑘} ∈ V
173172a1i 11 . . . . . . 7 ((𝜑𝑘𝐷) → {𝑥𝐷𝑥r𝑘} ∈ V)
174171, 173suppss2 8016 . . . . . 6 ((𝜑𝑘𝐷) → ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) supp 0 ) ⊆ {𝑋})
175160mptrabex 7101 . . . . . . . . 9 (𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ∈ V
176 funmpt 6472 . . . . . . . . 9 Fun (𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))))
177175, 176, 403pm3.2i 1338 . . . . . . . 8 ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ∈ V ∧ Fun (𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ∧ 0 ∈ V)
178177a1i 11 . . . . . . 7 ((𝜑𝑘𝐷) → ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ∈ V ∧ Fun (𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ∧ 0 ∈ V))
179 snfi 8834 . . . . . . . 8 {𝑋} ∈ Fin
180179a1i 11 . . . . . . 7 ((𝜑𝑘𝐷) → {𝑋} ∈ Fin)
181 suppssfifsupp 9143 . . . . . . 7 ((((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ∈ V ∧ Fun (𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ∧ 0 ∈ V) ∧ ({𝑋} ∈ Fin ∧ ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) supp 0 ) ⊆ {𝑋})) → (𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) finSupp 0 )
182178, 180, 174, 181syl12anc 834 . . . . . 6 ((𝜑𝑘𝐷) → (𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) finSupp 0 )
18345, 6, 148, 150, 122, 174, 182gsumres 19514 . . . . 5 ((𝜑𝑘𝐷) → (𝑅 Σg ((𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))) ↾ {𝑋})) = (𝑅 Σg (𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))))))
184145, 183eqtr3d 2780 . . . 4 ((𝜑𝑘𝐷) → if(𝑘 = (𝑋f + 𝑌), 1 , 0 ) = (𝑅 Σg (𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗))))))
185184mpteq2dva 5174 . . 3 (𝜑 → (𝑘𝐷 ↦ if(𝑘 = (𝑋f + 𝑌), 1 , 0 )) = (𝑘𝐷 ↦ (𝑅 Σg (𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))))))
18617, 185eqtrid 2790 . 2 (𝜑 → (𝑦𝐷 ↦ if(𝑦 = (𝑋f + 𝑌), 1 , 0 )) = (𝑘𝐷 ↦ (𝑅 Σg (𝑗 ∈ {𝑥𝐷𝑥r𝑘} ↦ (((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 ))‘𝑗)(.r𝑅)((𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))‘(𝑘f𝑗)))))))
18714, 186eqtr4d 2781 1 (𝜑 → ((𝑦𝐷 ↦ if(𝑦 = 𝑋, 1 , 0 )) · (𝑦𝐷 ↦ if(𝑦 = 𝑌, 1 , 0 ))) = (𝑦𝐷 ↦ if(𝑦 = (𝑋f + 𝑌), 1 , 0 )))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  wne 2943  wral 3064  {crab 3068  Vcvv 3432  cdif 3884  cin 3886  wss 3887  c0 4256  ifcif 4459  {csn 4561   class class class wbr 5074  cmpt 5157  ccnv 5588  cres 5591  cima 5592  Fun wfun 6427   Fn wfn 6428  wf 6429  cfv 6433  (class class class)co 7275  f cof 7531  r cofr 7532   supp csupp 7977  m cmap 8615  Fincfn 8733   finSupp cfsupp 9128  cc 10869  cr 10870   + caddc 10874  cle 11010  cmin 11205  cn 11973  0cn0 12233  Basecbs 16912  .rcmulr 16963  0gc0g 17150   Σg cgsu 17151  Mndcmnd 18385  CMndccmn 19386  1rcur 19737  Ringcrg 19783   mPoly cmpl 21109
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-tp 4566  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  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-ofr 7534  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-pm 8618  df-ixp 8686  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-nn 11974  df-2 12036  df-3 12037  df-4 12038  df-5 12039  df-6 12040  df-7 12041  df-8 12042  df-9 12043  df-n0 12234  df-z 12320  df-uz 12583  df-fz 13240  df-fzo 13383  df-seq 13722  df-hash 14045  df-struct 16848  df-sets 16865  df-slot 16883  df-ndx 16895  df-base 16913  df-ress 16942  df-plusg 16975  df-mulr 16976  df-sca 16978  df-vsca 16979  df-tset 16981  df-0g 17152  df-gsum 17153  df-mgm 18326  df-sgrp 18375  df-mnd 18386  df-grp 18580  df-minusg 18581  df-mulg 18701  df-cntz 18923  df-cmn 19388  df-abl 19389  df-mgp 19721  df-ur 19738  df-ring 19785  df-psr 21112  df-mpl 21114
This theorem is referenced by:  mplcoe3  21239  mplcoe5  21241  mplmon2mul  21277
  Copyright terms: Public domain W3C validator