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

Theorem dmatmul 21646
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 21587 . . . . 5 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩) = (.r𝐴))
43adantr 481 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩) = (.r𝐴))
54eqcomd 2744 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (.r𝐴) = (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩))
65oveqd 7292 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(.r𝐴)𝑌) = (𝑋(𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩)𝑌))
7 eqid 2738 . . 3 (Base‘𝑅) = (Base‘𝑅)
8 eqid 2738 . . 3 (.r𝑅) = (.r𝑅)
9 simplr 766 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ Ring)
10 simpll 764 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑁 ∈ Fin)
11 dmatid.b . . . . . . 7 𝐵 = (Base‘𝐴)
12 dmatid.0 . . . . . . 7 0 = (0g𝑅)
13 dmatid.d . . . . . . 7 𝐷 = (𝑁 DMat 𝑅)
141, 11, 12, 13dmatmat 21643 . . . . . 6 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷𝑋𝐵))
1514imp 407 . . . . 5 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋𝐵)
161, 7, 11matbas2i 21571 . . . . 5 (𝑋𝐵𝑋 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
1715, 16syl 17 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
1817adantrr 714 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
191, 11, 12, 13dmatmat 21643 . . . . . 6 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑌𝐷𝑌𝐵))
2019imp 407 . . . . 5 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌𝐵)
211, 7, 11matbas2i 21571 . . . . 5 (𝑌𝐵𝑌 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
2220, 21syl 17 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
2322adantrl 713 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
242, 7, 8, 9, 10, 10, 10, 18, 23mamuval 21535 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩)𝑌) = (𝑥𝑁, 𝑦𝑁 ↦ (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))))
25 eqid 2738 . . . . . . 7 (+g𝑅) = (+g𝑅)
26 ringcmn 19820 . . . . . . . . . 10 (𝑅 ∈ Ring → 𝑅 ∈ CMnd)
2726ad2antlr 724 . . . . . . . . 9 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ CMnd)
28273ad2ant1 1132 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ CMnd)
2928adantl 482 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑅 ∈ CMnd)
30103ad2ant1 1132 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑁 ∈ Fin)
3130adantl 482 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑁 ∈ Fin)
32 eqid 2738 . . . . . . . 8 (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))
33 ovexd 7310 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ V)
34 fvexd 6789 . . . . . . . 8 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (0g𝑅) ∈ V)
3532, 31, 33, 34fsuppmptdm 9139 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) finSupp (0g𝑅))
3693ad2ant1 1132 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ Ring)
3736ad2antlr 724 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑅 ∈ Ring)
38 simp2 1136 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑥𝑁)
3938ad2antlr 724 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑥𝑁)
40 simpr 485 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑘𝑁)
41 eqid 2738 . . . . . . . . . . . . . 14 (Base‘𝐴) = (Base‘𝐴)
421, 41, 12, 13dmatmat 21643 . . . . . . . . . . . . 13 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷𝑋 ∈ (Base‘𝐴)))
4342imp 407 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋 ∈ (Base‘𝐴))
4443adantrr 714 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ (Base‘𝐴))
45443ad2ant1 1132 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑋 ∈ (Base‘𝐴))
4645ad2antlr 724 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑋 ∈ (Base‘𝐴))
471, 7matecl 21574 . . . . . . . . 9 ((𝑥𝑁𝑘𝑁𝑋 ∈ (Base‘𝐴)) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
4839, 40, 46, 47syl3anc 1370 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
49 simplr3 1216 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑦𝑁)
501, 41, 12, 13dmatmat 21643 . . . . . . . . . . . . 13 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑌𝐷𝑌 ∈ (Base‘𝐴)))
5150imp 407 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌 ∈ (Base‘𝐴))
5251adantrl 713 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ (Base‘𝐴))
53523ad2ant1 1132 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑌 ∈ (Base‘𝐴))
5453ad2antlr 724 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑌 ∈ (Base‘𝐴))
551, 7matecl 21574 . . . . . . . . 9 ((𝑘𝑁𝑦𝑁𝑌 ∈ (Base‘𝐴)) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
5640, 49, 54, 55syl3anc 1370 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
577, 8ringcl 19800 . . . . . . . 8 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑘) ∈ (Base‘𝑅) ∧ (𝑘𝑌𝑦) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ (Base‘𝑅))
5837, 48, 56, 57syl3anc 1370 . . . . . . 7 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ (Base‘𝑅))
5938adantl 482 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑥𝑁)
60 simp3 1137 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑦𝑁)
6115adantrr 714 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋𝐵)
6261, 11eleqtrdi 2849 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ (Base‘𝐴))
63623ad2ant1 1132 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑋 ∈ (Base‘𝐴))
641, 7matecl 21574 . . . . . . . . . 10 ((𝑥𝑁𝑦𝑁𝑋 ∈ (Base‘𝐴)) → (𝑥𝑋𝑦) ∈ (Base‘𝑅))
6538, 60, 63, 64syl3anc 1370 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑋𝑦) ∈ (Base‘𝑅))
6650a1d 25 . . . . . . . . . . . 12 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷 → (𝑌𝐷𝑌 ∈ (Base‘𝐴))))
6766imp32 419 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ (Base‘𝐴))
68673ad2ant1 1132 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑌 ∈ (Base‘𝐴))
691, 7matecl 21574 . . . . . . . . . 10 ((𝑥𝑁𝑦𝑁𝑌 ∈ (Base‘𝐴)) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
7038, 60, 68, 69syl3anc 1370 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
717, 8ringcl 19800 . . . . . . . . 9 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑦) ∈ (Base‘𝑅) ∧ (𝑥𝑌𝑦) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
7236, 65, 70, 71syl3anc 1370 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
7372adantl 482 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
74 eqtr 2761 . . . . . . . . . . 11 ((𝑘 = 𝑥𝑥 = 𝑦) → 𝑘 = 𝑦)
7574ancoms 459 . . . . . . . . . 10 ((𝑥 = 𝑦𝑘 = 𝑥) → 𝑘 = 𝑦)
7675oveq2d 7291 . . . . . . . . 9 ((𝑥 = 𝑦𝑘 = 𝑥) → (𝑥𝑋𝑘) = (𝑥𝑋𝑦))
7776adantlr 712 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → (𝑥𝑋𝑘) = (𝑥𝑋𝑦))
78 oveq1 7282 . . . . . . . . 9 (𝑘 = 𝑥 → (𝑘𝑌𝑦) = (𝑥𝑌𝑦))
7978adantl 482 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → (𝑘𝑌𝑦) = (𝑥𝑌𝑦))
8077, 79oveq12d 7293 . . . . . . 7 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
817, 25, 29, 31, 35, 58, 59, 73, 80gsumdifsnd 19562 . . . . . 6 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = ((𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))(+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))))
82 simprl 768 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋𝐷)
8310, 9, 823jca 1127 . . . . . . . . . . . . . . 15 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
84833ad2ant1 1132 . . . . . . . . . . . . . 14 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
8584ad2antlr 724 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
8638ad2antlr 724 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑥𝑁)
87 eldifi 4061 . . . . . . . . . . . . . 14 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑘𝑁)
8887adantl 482 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑘𝑁)
89 eldifsni 4723 . . . . . . . . . . . . . . 15 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑘𝑥)
9089necomd 2999 . . . . . . . . . . . . . 14 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑥𝑘)
9190adantl 482 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑥𝑘)
921, 11, 12, 13dmatelnd 21645 . . . . . . . . . . . . 13 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷) ∧ (𝑥𝑁𝑘𝑁𝑥𝑘)) → (𝑥𝑋𝑘) = 0 )
9385, 86, 88, 91, 92syl13anc 1371 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑥𝑋𝑘) = 0 )
9493oveq1d 7290 . . . . . . . . . . 11 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ( 0 (.r𝑅)(𝑘𝑌𝑦)))
9536ad2antlr 724 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑅 ∈ Ring)
96 simplr3 1216 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑦𝑁)
9753ad2antlr 724 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑌 ∈ (Base‘𝐴))
9888, 96, 97, 55syl3anc 1370 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
997, 8, 12ringlz 19826 . . . . . . . . . . . 12 ((𝑅 ∈ Ring ∧ (𝑘𝑌𝑦) ∈ (Base‘𝑅)) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
10095, 98, 99syl2anc 584 . . . . . . . . . . 11 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
10194, 100eqtrd 2778 . . . . . . . . . 10 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
102101mpteq2dva 5174 . . . . . . . . 9 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 ))
103102oveq2d 7291 . . . . . . . 8 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 )))
104 diffi 8962 . . . . . . . . . . . . 13 (𝑁 ∈ Fin → (𝑁 ∖ {𝑥}) ∈ Fin)
105 ringmnd 19793 . . . . . . . . . . . . 13 (𝑅 ∈ Ring → 𝑅 ∈ Mnd)
106104, 105anim12ci 614 . . . . . . . . . . . 12 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
107106adantr 481 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
1081073ad2ant1 1132 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
109108adantl 482 . . . . . . . . 9 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
11012gsumz 18474 . . . . . . . . 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 7290 . . . . . 6 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → ((𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))(+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))) = ( 0 (+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))))
114105ad2antlr 724 . . . . . . . . . 10 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ Mnd)
1151143ad2ant1 1132 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ Mnd)
11638, 60, 53, 69syl3anc 1370 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
11736, 65, 116, 71syl3anc 1370 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
118115, 117jca 512 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 ∈ Mnd ∧ ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅)))
119118adantl 482 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 ∈ Mnd ∧ ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅)))
1207, 25, 12mndlid 18405 . . . . . . 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 4465 . . . . . 6 (𝑥 = 𝑦 → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
124123adantr 481 . . . . 5 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
125122, 124eqtr4d 2781 . . . 4 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
126 simprr 770 . . . . . . . . . . . . . . 15 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌𝐷)
12710, 9, 1263jca 1127 . . . . . . . . . . . . . 14 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
1281273ad2ant1 1132 . . . . . . . . . . . . 13 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
129128ad2antlr 724 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
130129adantl 482 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
131 simprr 770 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑁)
132 simplr3 1216 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑦𝑁)
133132adantl 482 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑦𝑁)
134 df-ne 2944 . . . . . . . . . . . . . . 15 (𝑥𝑦 ↔ ¬ 𝑥 = 𝑦)
135 neeq1 3006 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑘 → (𝑥𝑦𝑘𝑦))
136135biimpcd 248 . . . . . . . . . . . . . . 15 (𝑥𝑦 → (𝑥 = 𝑘𝑘𝑦))
137134, 136sylbir 234 . . . . . . . . . . . . . 14 𝑥 = 𝑦 → (𝑥 = 𝑘𝑘𝑦))
138137adantr 481 . . . . . . . . . . . . 13 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑥 = 𝑘𝑘𝑦))
139138adantr 481 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥 = 𝑘𝑘𝑦))
140139impcom 408 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑦)
1411, 11, 12, 13dmatelnd 21645 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷) ∧ (𝑘𝑁𝑦𝑁𝑘𝑦)) → (𝑘𝑌𝑦) = 0 )
142130, 131, 133, 140, 141syl13anc 1371 . . . . . . . . . 10 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑘𝑌𝑦) = 0 )
143142oveq2d 7291 . . . . . . . . 9 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ((𝑥𝑋𝑘)(.r𝑅) 0 ))
14436ad2antlr 724 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑅 ∈ Ring)
14538ad2antlr 724 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑥𝑁)
146 simpr 485 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑘𝑁)
14763ad2antlr 724 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑋 ∈ (Base‘𝐴))
148145, 146, 147, 47syl3anc 1370 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
1497, 8, 12ringrz 19827 . . . . . . . . . . 11 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑘) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
150144, 148, 149syl2anc 584 . . . . . . . . . 10 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
151150adantl 482 . . . . . . . . 9 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
152143, 151eqtrd 2778 . . . . . . . 8 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
15384ad2antlr 724 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
154153adantl 482 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
155145adantl 482 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑥𝑁)
156 simprr 770 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑁)
157 neqne 2951 . . . . . . . . . . . 12 𝑥 = 𝑘𝑥𝑘)
158157adantr 481 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑥𝑘)
159154, 155, 156, 158, 92syl13anc 1371 . . . . . . . . . 10 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑥𝑋𝑘) = 0 )
160159oveq1d 7290 . . . . . . . . 9 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ( 0 (.r𝑅)(𝑘𝑌𝑦)))
16168ad2antlr 724 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑌 ∈ (Base‘𝐴))
162146, 132, 161, 55syl3anc 1370 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
163144, 162, 99syl2anc 584 . . . . . . . . . 10 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
164163adantl 482 . . . . . . . . 9 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
165160, 164eqtrd 2778 . . . . . . . 8 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
166152, 165pm2.61ian 809 . . . . . . 7 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
167166mpteq2dva 5174 . . . . . 6 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘𝑁0 ))
168167oveq2d 7291 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = (𝑅 Σg (𝑘𝑁0 )))
169105anim2i 617 . . . . . . . . . 10 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Mnd))
170169ancomd 462 . . . . . . . . 9 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 ∈ Mnd ∧ 𝑁 ∈ Fin))
17112gsumz 18474 . . . . . . . . 9 ((𝑅 ∈ Mnd ∧ 𝑁 ∈ Fin) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
172170, 171syl 17 . . . . . . . 8 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
173172adantr 481 . . . . . . 7 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
1741733ad2ant1 1132 . . . . . 6 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
175174adantl 482 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
176 iffalse 4468 . . . . . . 7 𝑥 = 𝑦 → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = 0 )
177176eqcomd 2744 . . . . . 6 𝑥 = 𝑦0 = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
178177adantr 481 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 0 = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
179168, 175, 1783eqtrd 2782 . . . 4 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
180125, 179pm2.61ian 809 . . 3 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
181180mpoeq3dva 7352 . 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 396  w3a 1086   = wceq 1539  wcel 2106  wne 2943  Vcvv 3432  cdif 3884  ifcif 4459  {csn 4561  cotp 4569  cmpt 5157   × cxp 5587  cfv 6433  (class class class)co 7275  cmpo 7277  m cmap 8615  Fincfn 8733  Basecbs 16912  +gcplusg 16962  .rcmulr 16963  0gc0g 17150   Σg cgsu 17151  Mndcmnd 18385  CMndccmn 19386  Ringcrg 19783   maMul cmmul 21532   Mat cmat 21554   DMat cdmat 21637
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-ot 4570  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-ixp 8686  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-fsupp 9129  df-sup 9201  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-dec 12438  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-ip 16980  df-tset 16981  df-ple 16982  df-ds 16984  df-hom 16986  df-cco 16987  df-0g 17152  df-gsum 17153  df-prds 17158  df-pws 17160  df-mre 17295  df-mrc 17296  df-acs 17298  df-mgm 18326  df-sgrp 18375  df-mnd 18386  df-submnd 18431  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-sra 20434  df-rgmod 20435  df-dsmm 20939  df-frlm 20954  df-mamu 21533  df-mat 21555  df-dmat 21639
This theorem is referenced by:  dmatmulcl  21649  dmatcrng  21651  scmatscmiddistr  21657  scmatcrng  21670
  Copyright terms: Public domain W3C validator