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

Theorem dmatmul 20217
Description: The product of two diagonal matrices. (Contributed by AV, 19-Aug-2019.) (Revised by AV, 18-Dec-2019.)
Hypotheses
Ref Expression
dmatid.a 𝐴 = (𝑁 Mat 𝑅)
dmatid.b 𝐵 = (Base‘𝐴)
dmatid.0 0 = (0g𝑅)
dmatid.d 𝐷 = (𝑁 DMat 𝑅)
Assertion
Ref Expression
dmatmul (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(.r𝐴)𝑌) = (𝑥𝑁, 𝑦𝑁 ↦ if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 )))
Distinct variable groups:   𝑥,𝐷,𝑦   𝑥,𝑁,𝑦   𝑥,𝑅,𝑦   𝑥,𝑋,𝑦   𝑥,𝑌,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)   0 (𝑥,𝑦)

Proof of Theorem dmatmul
Dummy variable 𝑘 is distinct from all other variables.
StepHypRef Expression
1 dmatid.a . . . . . 6 𝐴 = (𝑁 Mat 𝑅)
2 eqid 2626 . . . . . 6 (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩) = (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩)
31, 2matmulr 20158 . . . . 5 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩) = (.r𝐴))
43adantr 481 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩) = (.r𝐴))
54eqcomd 2632 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (.r𝐴) = (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩))
65oveqd 6622 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(.r𝐴)𝑌) = (𝑋(𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩)𝑌))
7 eqid 2626 . . 3 (Base‘𝑅) = (Base‘𝑅)
8 eqid 2626 . . 3 (.r𝑅) = (.r𝑅)
9 simplr 791 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ Ring)
10 simpll 789 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑁 ∈ Fin)
11 dmatid.b . . . . . . 7 𝐵 = (Base‘𝐴)
12 dmatid.0 . . . . . . 7 0 = (0g𝑅)
13 dmatid.d . . . . . . 7 𝐷 = (𝑁 DMat 𝑅)
141, 11, 12, 13dmatmat 20214 . . . . . 6 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷𝑋𝐵))
1514imp 445 . . . . 5 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋𝐵)
161, 7, 11matbas2i 20142 . . . . 5 (𝑋𝐵𝑋 ∈ ((Base‘𝑅) ↑𝑚 (𝑁 × 𝑁)))
1715, 16syl 17 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋 ∈ ((Base‘𝑅) ↑𝑚 (𝑁 × 𝑁)))
1817adantrr 752 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ ((Base‘𝑅) ↑𝑚 (𝑁 × 𝑁)))
191, 11, 12, 13dmatmat 20214 . . . . . 6 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑌𝐷𝑌𝐵))
2019imp 445 . . . . 5 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌𝐵)
211, 7, 11matbas2i 20142 . . . . 5 (𝑌𝐵𝑌 ∈ ((Base‘𝑅) ↑𝑚 (𝑁 × 𝑁)))
2220, 21syl 17 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌 ∈ ((Base‘𝑅) ↑𝑚 (𝑁 × 𝑁)))
2322adantrl 751 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ ((Base‘𝑅) ↑𝑚 (𝑁 × 𝑁)))
242, 7, 8, 9, 10, 10, 10, 18, 23mamuval 20106 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩)𝑌) = (𝑥𝑁, 𝑦𝑁 ↦ (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))))
25 eqid 2626 . . . . . . 7 (+g𝑅) = (+g𝑅)
26 ringcmn 18497 . . . . . . . . . 10 (𝑅 ∈ Ring → 𝑅 ∈ CMnd)
2726ad2antlr 762 . . . . . . . . 9 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ CMnd)
28273ad2ant1 1080 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ CMnd)
2928adantl 482 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑅 ∈ CMnd)
30103ad2ant1 1080 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑁 ∈ Fin)
3130adantl 482 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑁 ∈ Fin)
32 eqid 2626 . . . . . . . 8 (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))
33 ovex 6633 . . . . . . . . 9 ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ V
3433a1i 11 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ V)
35 fvex 6160 . . . . . . . . 9 (0g𝑅) ∈ V
3635a1i 11 . . . . . . . 8 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (0g𝑅) ∈ V)
3732, 31, 34, 36fsuppmptdm 8231 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) finSupp (0g𝑅))
3893ad2ant1 1080 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ Ring)
3938ad2antlr 762 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑅 ∈ Ring)
40 simp2 1060 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑥𝑁)
4140ad2antlr 762 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑥𝑁)
42 simpr 477 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑘𝑁)
43 eqid 2626 . . . . . . . . . . . . . 14 (Base‘𝐴) = (Base‘𝐴)
441, 43, 12, 13dmatmat 20214 . . . . . . . . . . . . 13 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷𝑋 ∈ (Base‘𝐴)))
4544imp 445 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋 ∈ (Base‘𝐴))
4645adantrr 752 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ (Base‘𝐴))
47463ad2ant1 1080 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑋 ∈ (Base‘𝐴))
4847ad2antlr 762 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑋 ∈ (Base‘𝐴))
491, 7matecl 20145 . . . . . . . . 9 ((𝑥𝑁𝑘𝑁𝑋 ∈ (Base‘𝐴)) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
5041, 42, 48, 49syl3anc 1323 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
51 simplr3 1103 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑦𝑁)
521, 43, 12, 13dmatmat 20214 . . . . . . . . . . . . 13 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑌𝐷𝑌 ∈ (Base‘𝐴)))
5352imp 445 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌 ∈ (Base‘𝐴))
5453adantrl 751 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ (Base‘𝐴))
55543ad2ant1 1080 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑌 ∈ (Base‘𝐴))
5655ad2antlr 762 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑌 ∈ (Base‘𝐴))
571, 7matecl 20145 . . . . . . . . 9 ((𝑘𝑁𝑦𝑁𝑌 ∈ (Base‘𝐴)) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
5842, 51, 56, 57syl3anc 1323 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
597, 8ringcl 18477 . . . . . . . 8 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑘) ∈ (Base‘𝑅) ∧ (𝑘𝑌𝑦) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ (Base‘𝑅))
6039, 50, 58, 59syl3anc 1323 . . . . . . 7 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ (Base‘𝑅))
6140adantl 482 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑥𝑁)
62 simp3 1061 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑦𝑁)
6315adantrr 752 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋𝐵)
6463, 11syl6eleq 2714 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ (Base‘𝐴))
65643ad2ant1 1080 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑋 ∈ (Base‘𝐴))
661, 7matecl 20145 . . . . . . . . . 10 ((𝑥𝑁𝑦𝑁𝑋 ∈ (Base‘𝐴)) → (𝑥𝑋𝑦) ∈ (Base‘𝑅))
6740, 62, 65, 66syl3anc 1323 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑋𝑦) ∈ (Base‘𝑅))
6852a1d 25 . . . . . . . . . . . 12 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷 → (𝑌𝐷𝑌 ∈ (Base‘𝐴))))
6968imp32 449 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ (Base‘𝐴))
70693ad2ant1 1080 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑌 ∈ (Base‘𝐴))
711, 7matecl 20145 . . . . . . . . . 10 ((𝑥𝑁𝑦𝑁𝑌 ∈ (Base‘𝐴)) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
7240, 62, 70, 71syl3anc 1323 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
737, 8ringcl 18477 . . . . . . . . 9 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑦) ∈ (Base‘𝑅) ∧ (𝑥𝑌𝑦) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
7438, 67, 72, 73syl3anc 1323 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
7574adantl 482 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
76 eqtr 2645 . . . . . . . . . . 11 ((𝑘 = 𝑥𝑥 = 𝑦) → 𝑘 = 𝑦)
7776ancoms 469 . . . . . . . . . 10 ((𝑥 = 𝑦𝑘 = 𝑥) → 𝑘 = 𝑦)
7877oveq2d 6621 . . . . . . . . 9 ((𝑥 = 𝑦𝑘 = 𝑥) → (𝑥𝑋𝑘) = (𝑥𝑋𝑦))
7978adantlr 750 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → (𝑥𝑋𝑘) = (𝑥𝑋𝑦))
80 oveq1 6612 . . . . . . . . 9 (𝑘 = 𝑥 → (𝑘𝑌𝑦) = (𝑥𝑌𝑦))
8180adantl 482 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → (𝑘𝑌𝑦) = (𝑥𝑌𝑦))
8279, 81oveq12d 6623 . . . . . . 7 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
837, 25, 29, 31, 37, 60, 61, 75, 82gsumdifsnd 18276 . . . . . 6 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = ((𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))(+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))))
84 simprl 793 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋𝐷)
8510, 9, 843jca 1240 . . . . . . . . . . . . . . 15 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
86853ad2ant1 1080 . . . . . . . . . . . . . 14 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
8786ad2antlr 762 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
8840ad2antlr 762 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑥𝑁)
89 eldifi 3715 . . . . . . . . . . . . . 14 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑘𝑁)
9089adantl 482 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑘𝑁)
91 eldifsni 4294 . . . . . . . . . . . . . . 15 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑘𝑥)
9291necomd 2851 . . . . . . . . . . . . . 14 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑥𝑘)
9392adantl 482 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑥𝑘)
941, 11, 12, 13dmatelnd 20216 . . . . . . . . . . . . 13 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷) ∧ (𝑥𝑁𝑘𝑁𝑥𝑘)) → (𝑥𝑋𝑘) = 0 )
9587, 88, 90, 93, 94syl13anc 1325 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑥𝑋𝑘) = 0 )
9695oveq1d 6620 . . . . . . . . . . 11 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ( 0 (.r𝑅)(𝑘𝑌𝑦)))
9738ad2antlr 762 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑅 ∈ Ring)
98 simplr3 1103 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑦𝑁)
9955ad2antlr 762 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑌 ∈ (Base‘𝐴))
10090, 98, 99, 57syl3anc 1323 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
1017, 8, 12ringlz 18503 . . . . . . . . . . . 12 ((𝑅 ∈ Ring ∧ (𝑘𝑌𝑦) ∈ (Base‘𝑅)) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
10297, 100, 101syl2anc 692 . . . . . . . . . . 11 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
10396, 102eqtrd 2660 . . . . . . . . . 10 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
104103mpteq2dva 4709 . . . . . . . . 9 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 ))
105104oveq2d 6621 . . . . . . . 8 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 )))
106 diffi 8137 . . . . . . . . . . . . 13 (𝑁 ∈ Fin → (𝑁 ∖ {𝑥}) ∈ Fin)
107 ringmnd 18472 . . . . . . . . . . . . 13 (𝑅 ∈ Ring → 𝑅 ∈ Mnd)
108106, 107anim12ci 590 . . . . . . . . . . . 12 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
109108adantr 481 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
1101093ad2ant1 1080 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
111110adantl 482 . . . . . . . . 9 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
11212gsumz 17290 . . . . . . . . 9 ((𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 )) = 0 )
113111, 112syl 17 . . . . . . . 8 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 )) = 0 )
114105, 113eqtrd 2660 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = 0 )
115114oveq1d 6620 . . . . . 6 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → ((𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))(+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))) = ( 0 (+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))))
116107ad2antlr 762 . . . . . . . . . 10 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ Mnd)
1171163ad2ant1 1080 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ Mnd)
11840, 62, 55, 71syl3anc 1323 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
11938, 67, 118, 73syl3anc 1323 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
120117, 119jca 554 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 ∈ Mnd ∧ ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅)))
121120adantl 482 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 ∈ Mnd ∧ ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅)))
1227, 25, 12mndlid 17227 . . . . . . 7 ((𝑅 ∈ Mnd ∧ ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅)) → ( 0 (+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
123121, 122syl 17 . . . . . 6 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → ( 0 (+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
12483, 115, 1233eqtrd 2664 . . . . 5 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
125 iftrue 4069 . . . . . 6 (𝑥 = 𝑦 → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
126125adantr 481 . . . . 5 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
127124, 126eqtr4d 2663 . . . 4 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
128 simprr 795 . . . . . . . . . . . . . . 15 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌𝐷)
12910, 9, 1283jca 1240 . . . . . . . . . . . . . 14 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
1301293ad2ant1 1080 . . . . . . . . . . . . 13 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
131130ad2antlr 762 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
132131adantl 482 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
133 simprr 795 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑁)
134 simplr3 1103 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑦𝑁)
135134adantl 482 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑦𝑁)
136 df-ne 2797 . . . . . . . . . . . . . . 15 (𝑥𝑦 ↔ ¬ 𝑥 = 𝑦)
137 neeq1 2858 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑘 → (𝑥𝑦𝑘𝑦))
138137biimpcd 239 . . . . . . . . . . . . . . 15 (𝑥𝑦 → (𝑥 = 𝑘𝑘𝑦))
139136, 138sylbir 225 . . . . . . . . . . . . . 14 𝑥 = 𝑦 → (𝑥 = 𝑘𝑘𝑦))
140139adantr 481 . . . . . . . . . . . . 13 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑥 = 𝑘𝑘𝑦))
141140adantr 481 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥 = 𝑘𝑘𝑦))
142141impcom 446 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑦)
1431, 11, 12, 13dmatelnd 20216 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷) ∧ (𝑘𝑁𝑦𝑁𝑘𝑦)) → (𝑘𝑌𝑦) = 0 )
144132, 133, 135, 142, 143syl13anc 1325 . . . . . . . . . 10 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑘𝑌𝑦) = 0 )
145144oveq2d 6621 . . . . . . . . 9 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ((𝑥𝑋𝑘)(.r𝑅) 0 ))
14638ad2antlr 762 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑅 ∈ Ring)
14740ad2antlr 762 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑥𝑁)
148 simpr 477 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑘𝑁)
14965ad2antlr 762 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑋 ∈ (Base‘𝐴))
150147, 148, 149, 49syl3anc 1323 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
1517, 8, 12ringrz 18504 . . . . . . . . . . 11 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑘) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
152146, 150, 151syl2anc 692 . . . . . . . . . 10 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
153152adantl 482 . . . . . . . . 9 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
154145, 153eqtrd 2660 . . . . . . . 8 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
15586ad2antlr 762 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
156155adantl 482 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
157147adantl 482 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑥𝑁)
158 simprr 795 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑁)
159 df-ne 2797 . . . . . . . . . . . . 13 (𝑥𝑘 ↔ ¬ 𝑥 = 𝑘)
160159biimpri 218 . . . . . . . . . . . 12 𝑥 = 𝑘𝑥𝑘)
161160adantr 481 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑥𝑘)
162156, 157, 158, 161, 94syl13anc 1325 . . . . . . . . . 10 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑥𝑋𝑘) = 0 )
163162oveq1d 6620 . . . . . . . . 9 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ( 0 (.r𝑅)(𝑘𝑌𝑦)))
16470ad2antlr 762 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑌 ∈ (Base‘𝐴))
165148, 134, 164, 57syl3anc 1323 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
166146, 165, 101syl2anc 692 . . . . . . . . . 10 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
167166adantl 482 . . . . . . . . 9 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
168163, 167eqtrd 2660 . . . . . . . 8 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
169154, 168pm2.61ian 830 . . . . . . 7 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
170169mpteq2dva 4709 . . . . . 6 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘𝑁0 ))
171170oveq2d 6621 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = (𝑅 Σg (𝑘𝑁0 )))
172107anim2i 592 . . . . . . . . . 10 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Mnd))
173172ancomd 467 . . . . . . . . 9 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 ∈ Mnd ∧ 𝑁 ∈ Fin))
17412gsumz 17290 . . . . . . . . 9 ((𝑅 ∈ Mnd ∧ 𝑁 ∈ Fin) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
175173, 174syl 17 . . . . . . . 8 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
176175adantr 481 . . . . . . 7 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
1771763ad2ant1 1080 . . . . . 6 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
178177adantl 482 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
179 iffalse 4072 . . . . . . 7 𝑥 = 𝑦 → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = 0 )
180179eqcomd 2632 . . . . . 6 𝑥 = 𝑦0 = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
181180adantr 481 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 0 = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
182171, 178, 1813eqtrd 2664 . . . 4 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
183127, 182pm2.61ian 830 . . 3 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
184183mpt2eq3dva 6673 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑥𝑁, 𝑦𝑁 ↦ (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))) = (𝑥𝑁, 𝑦𝑁 ↦ if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 )))
1856, 24, 1843eqtrd 2664 1 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(.r𝐴)𝑌) = (𝑥𝑁, 𝑦𝑁 ↦ if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 )))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 384  w3a 1036   = wceq 1480  wcel 1992  wne 2796  Vcvv 3191  cdif 3557  ifcif 4063  {csn 4153  cotp 4161  cmpt 4678   × cxp 5077  cfv 5850  (class class class)co 6605  cmpt2 6607  𝑚 cmap 7803  Fincfn 7900  Basecbs 15776  +gcplusg 15857  .rcmulr 15858  0gc0g 16016   Σg cgsu 16017  Mndcmnd 17210  CMndccmn 18109  Ringcrg 18463   maMul cmmul 20103   Mat cmat 20127   DMat cdmat 20208
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 1841  ax-6 1890  ax-7 1937  ax-8 1994  ax-9 2001  ax-10 2021  ax-11 2036  ax-12 2049  ax-13 2250  ax-ext 2606  ax-rep 4736  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6903  ax-inf2 8483  ax-cnex 9937  ax-resscn 9938  ax-1cn 9939  ax-icn 9940  ax-addcl 9941  ax-addrcl 9942  ax-mulcl 9943  ax-mulrcl 9944  ax-mulcom 9945  ax-addass 9946  ax-mulass 9947  ax-distr 9948  ax-i2m1 9949  ax-1ne0 9950  ax-1rid 9951  ax-rnegex 9952  ax-rrecex 9953  ax-cnre 9954  ax-pre-lttri 9955  ax-pre-lttrn 9956  ax-pre-ltadd 9957  ax-pre-mulgt0 9958
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 1883  df-eu 2478  df-mo 2479  df-clab 2613  df-cleq 2619  df-clel 2622  df-nfc 2756  df-ne 2797  df-nel 2900  df-ral 2917  df-rex 2918  df-reu 2919  df-rmo 2920  df-rab 2921  df-v 3193  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-pss 3576  df-nul 3897  df-if 4064  df-pw 4137  df-sn 4154  df-pr 4156  df-tp 4158  df-op 4160  df-ot 4162  df-uni 4408  df-int 4446  df-iun 4492  df-iin 4493  df-br 4619  df-opab 4679  df-mpt 4680  df-tr 4718  df-eprel 4990  df-id 4994  df-po 5000  df-so 5001  df-fr 5038  df-se 5039  df-we 5040  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-pred 5642  df-ord 5688  df-on 5689  df-lim 5690  df-suc 5691  df-iota 5813  df-fun 5852  df-fn 5853  df-f 5854  df-f1 5855  df-fo 5856  df-f1o 5857  df-fv 5858  df-isom 5859  df-riota 6566  df-ov 6608  df-oprab 6609  df-mpt2 6610  df-of 6851  df-om 7014  df-1st 7116  df-2nd 7117  df-supp 7242  df-wrecs 7353  df-recs 7414  df-rdg 7452  df-1o 7506  df-oadd 7510  df-er 7688  df-map 7805  df-ixp 7854  df-en 7901  df-dom 7902  df-sdom 7903  df-fin 7904  df-fsupp 8221  df-sup 8293  df-oi 8360  df-card 8710  df-pnf 10021  df-mnf 10022  df-xr 10023  df-ltxr 10024  df-le 10025  df-sub 10213  df-neg 10214  df-nn 10966  df-2 11024  df-3 11025  df-4 11026  df-5 11027  df-6 11028  df-7 11029  df-8 11030  df-9 11031  df-n0 11238  df-z 11323  df-dec 11438  df-uz 11632  df-fz 12266  df-fzo 12404  df-seq 12739  df-hash 13055  df-struct 15778  df-ndx 15779  df-slot 15780  df-base 15781  df-sets 15782  df-ress 15783  df-plusg 15870  df-mulr 15871  df-sca 15873  df-vsca 15874  df-ip 15875  df-tset 15876  df-ple 15877  df-ds 15880  df-hom 15882  df-cco 15883  df-0g 16018  df-gsum 16019  df-prds 16024  df-pws 16026  df-mre 16162  df-mrc 16163  df-acs 16165  df-mgm 17158  df-sgrp 17200  df-mnd 17211  df-submnd 17252  df-grp 17341  df-minusg 17342  df-mulg 17457  df-cntz 17666  df-cmn 18111  df-abl 18112  df-mgp 18406  df-ur 18418  df-ring 18465  df-sra 19086  df-rgmod 19087  df-dsmm 19990  df-frlm 20005  df-mamu 20104  df-mat 20128  df-dmat 20210
This theorem is referenced by:  dmatmulcl  20220  dmatcrng  20222  scmatscmiddistr  20228  scmatcrng  20241
  Copyright terms: Public domain W3C validator