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

Theorem dmatmul 21554
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 2738 . . . . . 6 (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩) = (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩)
31, 2matmulr 21495 . . . . 5 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩) = (.r𝐴))
43adantr 480 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩) = (.r𝐴))
54eqcomd 2744 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (.r𝐴) = (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩))
65oveqd 7272 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(.r𝐴)𝑌) = (𝑋(𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩)𝑌))
7 eqid 2738 . . 3 (Base‘𝑅) = (Base‘𝑅)
8 eqid 2738 . . 3 (.r𝑅) = (.r𝑅)
9 simplr 765 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ Ring)
10 simpll 763 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑁 ∈ Fin)
11 dmatid.b . . . . . . 7 𝐵 = (Base‘𝐴)
12 dmatid.0 . . . . . . 7 0 = (0g𝑅)
13 dmatid.d . . . . . . 7 𝐷 = (𝑁 DMat 𝑅)
141, 11, 12, 13dmatmat 21551 . . . . . 6 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷𝑋𝐵))
1514imp 406 . . . . 5 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋𝐵)
161, 7, 11matbas2i 21479 . . . . 5 (𝑋𝐵𝑋 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
1715, 16syl 17 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
1817adantrr 713 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
191, 11, 12, 13dmatmat 21551 . . . . . 6 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑌𝐷𝑌𝐵))
2019imp 406 . . . . 5 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌𝐵)
211, 7, 11matbas2i 21479 . . . . 5 (𝑌𝐵𝑌 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
2220, 21syl 17 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
2322adantrl 712 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
242, 7, 8, 9, 10, 10, 10, 18, 23mamuval 21445 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩)𝑌) = (𝑥𝑁, 𝑦𝑁 ↦ (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))))
25 eqid 2738 . . . . . . 7 (+g𝑅) = (+g𝑅)
26 ringcmn 19735 . . . . . . . . . 10 (𝑅 ∈ Ring → 𝑅 ∈ CMnd)
2726ad2antlr 723 . . . . . . . . 9 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ CMnd)
28273ad2ant1 1131 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ CMnd)
2928adantl 481 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑅 ∈ CMnd)
30103ad2ant1 1131 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑁 ∈ Fin)
3130adantl 481 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑁 ∈ Fin)
32 eqid 2738 . . . . . . . 8 (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))
33 ovexd 7290 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ V)
34 fvexd 6771 . . . . . . . 8 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (0g𝑅) ∈ V)
3532, 31, 33, 34fsuppmptdm 9069 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) finSupp (0g𝑅))
3693ad2ant1 1131 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ Ring)
3736ad2antlr 723 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑅 ∈ Ring)
38 simp2 1135 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑥𝑁)
3938ad2antlr 723 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑥𝑁)
40 simpr 484 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑘𝑁)
41 eqid 2738 . . . . . . . . . . . . . 14 (Base‘𝐴) = (Base‘𝐴)
421, 41, 12, 13dmatmat 21551 . . . . . . . . . . . . 13 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷𝑋 ∈ (Base‘𝐴)))
4342imp 406 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋 ∈ (Base‘𝐴))
4443adantrr 713 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ (Base‘𝐴))
45443ad2ant1 1131 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑋 ∈ (Base‘𝐴))
4645ad2antlr 723 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑋 ∈ (Base‘𝐴))
471, 7matecl 21482 . . . . . . . . 9 ((𝑥𝑁𝑘𝑁𝑋 ∈ (Base‘𝐴)) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
4839, 40, 46, 47syl3anc 1369 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
49 simplr3 1215 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑦𝑁)
501, 41, 12, 13dmatmat 21551 . . . . . . . . . . . . 13 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑌𝐷𝑌 ∈ (Base‘𝐴)))
5150imp 406 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌 ∈ (Base‘𝐴))
5251adantrl 712 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ (Base‘𝐴))
53523ad2ant1 1131 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑌 ∈ (Base‘𝐴))
5453ad2antlr 723 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑌 ∈ (Base‘𝐴))
551, 7matecl 21482 . . . . . . . . 9 ((𝑘𝑁𝑦𝑁𝑌 ∈ (Base‘𝐴)) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
5640, 49, 54, 55syl3anc 1369 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
577, 8ringcl 19715 . . . . . . . 8 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑘) ∈ (Base‘𝑅) ∧ (𝑘𝑌𝑦) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ (Base‘𝑅))
5837, 48, 56, 57syl3anc 1369 . . . . . . 7 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ (Base‘𝑅))
5938adantl 481 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑥𝑁)
60 simp3 1136 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑦𝑁)
6115adantrr 713 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋𝐵)
6261, 11eleqtrdi 2849 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ (Base‘𝐴))
63623ad2ant1 1131 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑋 ∈ (Base‘𝐴))
641, 7matecl 21482 . . . . . . . . . 10 ((𝑥𝑁𝑦𝑁𝑋 ∈ (Base‘𝐴)) → (𝑥𝑋𝑦) ∈ (Base‘𝑅))
6538, 60, 63, 64syl3anc 1369 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑋𝑦) ∈ (Base‘𝑅))
6650a1d 25 . . . . . . . . . . . 12 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷 → (𝑌𝐷𝑌 ∈ (Base‘𝐴))))
6766imp32 418 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ (Base‘𝐴))
68673ad2ant1 1131 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑌 ∈ (Base‘𝐴))
691, 7matecl 21482 . . . . . . . . . 10 ((𝑥𝑁𝑦𝑁𝑌 ∈ (Base‘𝐴)) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
7038, 60, 68, 69syl3anc 1369 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
717, 8ringcl 19715 . . . . . . . . 9 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑦) ∈ (Base‘𝑅) ∧ (𝑥𝑌𝑦) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
7236, 65, 70, 71syl3anc 1369 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
7372adantl 481 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
74 eqtr 2761 . . . . . . . . . . 11 ((𝑘 = 𝑥𝑥 = 𝑦) → 𝑘 = 𝑦)
7574ancoms 458 . . . . . . . . . 10 ((𝑥 = 𝑦𝑘 = 𝑥) → 𝑘 = 𝑦)
7675oveq2d 7271 . . . . . . . . 9 ((𝑥 = 𝑦𝑘 = 𝑥) → (𝑥𝑋𝑘) = (𝑥𝑋𝑦))
7776adantlr 711 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → (𝑥𝑋𝑘) = (𝑥𝑋𝑦))
78 oveq1 7262 . . . . . . . . 9 (𝑘 = 𝑥 → (𝑘𝑌𝑦) = (𝑥𝑌𝑦))
7978adantl 481 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → (𝑘𝑌𝑦) = (𝑥𝑌𝑦))
8077, 79oveq12d 7273 . . . . . . 7 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
817, 25, 29, 31, 35, 58, 59, 73, 80gsumdifsnd 19477 . . . . . 6 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = ((𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))(+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))))
82 simprl 767 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋𝐷)
8310, 9, 823jca 1126 . . . . . . . . . . . . . . 15 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
84833ad2ant1 1131 . . . . . . . . . . . . . 14 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
8584ad2antlr 723 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
8638ad2antlr 723 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑥𝑁)
87 eldifi 4057 . . . . . . . . . . . . . 14 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑘𝑁)
8887adantl 481 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑘𝑁)
89 eldifsni 4720 . . . . . . . . . . . . . . 15 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑘𝑥)
9089necomd 2998 . . . . . . . . . . . . . 14 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑥𝑘)
9190adantl 481 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑥𝑘)
921, 11, 12, 13dmatelnd 21553 . . . . . . . . . . . . 13 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷) ∧ (𝑥𝑁𝑘𝑁𝑥𝑘)) → (𝑥𝑋𝑘) = 0 )
9385, 86, 88, 91, 92syl13anc 1370 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑥𝑋𝑘) = 0 )
9493oveq1d 7270 . . . . . . . . . . 11 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ( 0 (.r𝑅)(𝑘𝑌𝑦)))
9536ad2antlr 723 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑅 ∈ Ring)
96 simplr3 1215 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑦𝑁)
9753ad2antlr 723 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑌 ∈ (Base‘𝐴))
9888, 96, 97, 55syl3anc 1369 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
997, 8, 12ringlz 19741 . . . . . . . . . . . 12 ((𝑅 ∈ Ring ∧ (𝑘𝑌𝑦) ∈ (Base‘𝑅)) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
10095, 98, 99syl2anc 583 . . . . . . . . . . 11 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
10194, 100eqtrd 2778 . . . . . . . . . 10 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
102101mpteq2dva 5170 . . . . . . . . 9 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 ))
103102oveq2d 7271 . . . . . . . 8 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 )))
104 diffi 8979 . . . . . . . . . . . . 13 (𝑁 ∈ Fin → (𝑁 ∖ {𝑥}) ∈ Fin)
105 ringmnd 19708 . . . . . . . . . . . . 13 (𝑅 ∈ Ring → 𝑅 ∈ Mnd)
106104, 105anim12ci 613 . . . . . . . . . . . 12 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
107106adantr 480 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
1081073ad2ant1 1131 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
109108adantl 481 . . . . . . . . 9 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
11012gsumz 18389 . . . . . . . . 9 ((𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 )) = 0 )
111109, 110syl 17 . . . . . . . 8 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 )) = 0 )
112103, 111eqtrd 2778 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = 0 )
113112oveq1d 7270 . . . . . 6 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → ((𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))(+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))) = ( 0 (+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))))
114105ad2antlr 723 . . . . . . . . . 10 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ Mnd)
1151143ad2ant1 1131 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ Mnd)
11638, 60, 53, 69syl3anc 1369 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
11736, 65, 116, 71syl3anc 1369 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
118115, 117jca 511 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 ∈ Mnd ∧ ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅)))
119118adantl 481 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 ∈ Mnd ∧ ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅)))
1207, 25, 12mndlid 18320 . . . . . . 7 ((𝑅 ∈ Mnd ∧ ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅)) → ( 0 (+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
121119, 120syl 17 . . . . . 6 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → ( 0 (+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
12281, 113, 1213eqtrd 2782 . . . . 5 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
123 iftrue 4462 . . . . . 6 (𝑥 = 𝑦 → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
124123adantr 480 . . . . 5 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
125122, 124eqtr4d 2781 . . . 4 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
126 simprr 769 . . . . . . . . . . . . . . 15 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌𝐷)
12710, 9, 1263jca 1126 . . . . . . . . . . . . . 14 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
1281273ad2ant1 1131 . . . . . . . . . . . . 13 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
129128ad2antlr 723 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
130129adantl 481 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
131 simprr 769 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑁)
132 simplr3 1215 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑦𝑁)
133132adantl 481 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑦𝑁)
134 df-ne 2943 . . . . . . . . . . . . . . 15 (𝑥𝑦 ↔ ¬ 𝑥 = 𝑦)
135 neeq1 3005 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑘 → (𝑥𝑦𝑘𝑦))
136135biimpcd 248 . . . . . . . . . . . . . . 15 (𝑥𝑦 → (𝑥 = 𝑘𝑘𝑦))
137134, 136sylbir 234 . . . . . . . . . . . . . 14 𝑥 = 𝑦 → (𝑥 = 𝑘𝑘𝑦))
138137adantr 480 . . . . . . . . . . . . 13 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑥 = 𝑘𝑘𝑦))
139138adantr 480 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥 = 𝑘𝑘𝑦))
140139impcom 407 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑦)
1411, 11, 12, 13dmatelnd 21553 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷) ∧ (𝑘𝑁𝑦𝑁𝑘𝑦)) → (𝑘𝑌𝑦) = 0 )
142130, 131, 133, 140, 141syl13anc 1370 . . . . . . . . . 10 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑘𝑌𝑦) = 0 )
143142oveq2d 7271 . . . . . . . . 9 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ((𝑥𝑋𝑘)(.r𝑅) 0 ))
14436ad2antlr 723 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑅 ∈ Ring)
14538ad2antlr 723 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑥𝑁)
146 simpr 484 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑘𝑁)
14763ad2antlr 723 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑋 ∈ (Base‘𝐴))
148145, 146, 147, 47syl3anc 1369 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
1497, 8, 12ringrz 19742 . . . . . . . . . . 11 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑘) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
150144, 148, 149syl2anc 583 . . . . . . . . . 10 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
151150adantl 481 . . . . . . . . 9 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
152143, 151eqtrd 2778 . . . . . . . 8 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
15384ad2antlr 723 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
154153adantl 481 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
155145adantl 481 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑥𝑁)
156 simprr 769 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑁)
157 neqne 2950 . . . . . . . . . . . 12 𝑥 = 𝑘𝑥𝑘)
158157adantr 480 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑥𝑘)
159154, 155, 156, 158, 92syl13anc 1370 . . . . . . . . . 10 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑥𝑋𝑘) = 0 )
160159oveq1d 7270 . . . . . . . . 9 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ( 0 (.r𝑅)(𝑘𝑌𝑦)))
16168ad2antlr 723 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑌 ∈ (Base‘𝐴))
162146, 132, 161, 55syl3anc 1369 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
163144, 162, 99syl2anc 583 . . . . . . . . . 10 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
164163adantl 481 . . . . . . . . 9 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
165160, 164eqtrd 2778 . . . . . . . 8 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
166152, 165pm2.61ian 808 . . . . . . 7 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
167166mpteq2dva 5170 . . . . . 6 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘𝑁0 ))
168167oveq2d 7271 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = (𝑅 Σg (𝑘𝑁0 )))
169105anim2i 616 . . . . . . . . . 10 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Mnd))
170169ancomd 461 . . . . . . . . 9 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 ∈ Mnd ∧ 𝑁 ∈ Fin))
17112gsumz 18389 . . . . . . . . 9 ((𝑅 ∈ Mnd ∧ 𝑁 ∈ Fin) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
172170, 171syl 17 . . . . . . . 8 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
173172adantr 480 . . . . . . 7 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
1741733ad2ant1 1131 . . . . . 6 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
175174adantl 481 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
176 iffalse 4465 . . . . . . 7 𝑥 = 𝑦 → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = 0 )
177176eqcomd 2744 . . . . . 6 𝑥 = 𝑦0 = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
178177adantr 480 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 0 = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
179168, 175, 1783eqtrd 2782 . . . 4 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
180125, 179pm2.61ian 808 . . 3 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
181180mpoeq3dva 7330 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑥𝑁, 𝑦𝑁 ↦ (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))) = (𝑥𝑁, 𝑦𝑁 ↦ if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 )))
1826, 24, 1813eqtrd 2782 1 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(.r𝐴)𝑌) = (𝑥𝑁, 𝑦𝑁 ↦ if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 )))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  wne 2942  Vcvv 3422  cdif 3880  ifcif 4456  {csn 4558  cotp 4566  cmpt 5153   × cxp 5578  cfv 6418  (class class class)co 7255  cmpo 7257  m cmap 8573  Fincfn 8691  Basecbs 16840  +gcplusg 16888  .rcmulr 16889  0gc0g 17067   Σg cgsu 17068  Mndcmnd 18300  CMndccmn 19301  Ringcrg 19698   maMul cmmul 21442   Mat cmat 21464   DMat cdmat 21545
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-ot 4567  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-ixp 8644  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-fsupp 9059  df-sup 9131  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-nn 11904  df-2 11966  df-3 11967  df-4 11968  df-5 11969  df-6 11970  df-7 11971  df-8 11972  df-9 11973  df-n0 12164  df-z 12250  df-dec 12367  df-uz 12512  df-fz 13169  df-fzo 13312  df-seq 13650  df-hash 13973  df-struct 16776  df-sets 16793  df-slot 16811  df-ndx 16823  df-base 16841  df-ress 16868  df-plusg 16901  df-mulr 16902  df-sca 16904  df-vsca 16905  df-ip 16906  df-tset 16907  df-ple 16908  df-ds 16910  df-hom 16912  df-cco 16913  df-0g 17069  df-gsum 17070  df-prds 17075  df-pws 17077  df-mre 17212  df-mrc 17213  df-acs 17215  df-mgm 18241  df-sgrp 18290  df-mnd 18301  df-submnd 18346  df-grp 18495  df-minusg 18496  df-mulg 18616  df-cntz 18838  df-cmn 19303  df-abl 19304  df-mgp 19636  df-ur 19653  df-ring 19700  df-sra 20349  df-rgmod 20350  df-dsmm 20849  df-frlm 20864  df-mamu 21443  df-mat 21465  df-dmat 21547
This theorem is referenced by:  dmatmulcl  21557  dmatcrng  21559  scmatscmiddistr  21565  scmatcrng  21578
  Copyright terms: Public domain W3C validator