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

Theorem dmatmul 21394
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 2737 . . . . . 6 (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩) = (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩)
31, 2matmulr 21335 . . . . 5 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩) = (.r𝐴))
43adantr 484 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩) = (.r𝐴))
54eqcomd 2743 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (.r𝐴) = (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩))
65oveqd 7230 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(.r𝐴)𝑌) = (𝑋(𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩)𝑌))
7 eqid 2737 . . 3 (Base‘𝑅) = (Base‘𝑅)
8 eqid 2737 . . 3 (.r𝑅) = (.r𝑅)
9 simplr 769 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ Ring)
10 simpll 767 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑁 ∈ Fin)
11 dmatid.b . . . . . . 7 𝐵 = (Base‘𝐴)
12 dmatid.0 . . . . . . 7 0 = (0g𝑅)
13 dmatid.d . . . . . . 7 𝐷 = (𝑁 DMat 𝑅)
141, 11, 12, 13dmatmat 21391 . . . . . 6 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷𝑋𝐵))
1514imp 410 . . . . 5 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋𝐵)
161, 7, 11matbas2i 21319 . . . . 5 (𝑋𝐵𝑋 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
1715, 16syl 17 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
1817adantrr 717 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
191, 11, 12, 13dmatmat 21391 . . . . . 6 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑌𝐷𝑌𝐵))
2019imp 410 . . . . 5 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌𝐵)
211, 7, 11matbas2i 21319 . . . . 5 (𝑌𝐵𝑌 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
2220, 21syl 17 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
2322adantrl 716 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
242, 7, 8, 9, 10, 10, 10, 18, 23mamuval 21285 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩)𝑌) = (𝑥𝑁, 𝑦𝑁 ↦ (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))))
25 eqid 2737 . . . . . . 7 (+g𝑅) = (+g𝑅)
26 ringcmn 19599 . . . . . . . . . 10 (𝑅 ∈ Ring → 𝑅 ∈ CMnd)
2726ad2antlr 727 . . . . . . . . 9 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ CMnd)
28273ad2ant1 1135 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ CMnd)
2928adantl 485 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑅 ∈ CMnd)
30103ad2ant1 1135 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑁 ∈ Fin)
3130adantl 485 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑁 ∈ Fin)
32 eqid 2737 . . . . . . . 8 (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))
33 ovexd 7248 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ V)
34 fvexd 6732 . . . . . . . 8 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (0g𝑅) ∈ V)
3532, 31, 33, 34fsuppmptdm 8996 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) finSupp (0g𝑅))
3693ad2ant1 1135 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ Ring)
3736ad2antlr 727 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑅 ∈ Ring)
38 simp2 1139 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑥𝑁)
3938ad2antlr 727 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑥𝑁)
40 simpr 488 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑘𝑁)
41 eqid 2737 . . . . . . . . . . . . . 14 (Base‘𝐴) = (Base‘𝐴)
421, 41, 12, 13dmatmat 21391 . . . . . . . . . . . . 13 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷𝑋 ∈ (Base‘𝐴)))
4342imp 410 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋 ∈ (Base‘𝐴))
4443adantrr 717 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ (Base‘𝐴))
45443ad2ant1 1135 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑋 ∈ (Base‘𝐴))
4645ad2antlr 727 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑋 ∈ (Base‘𝐴))
471, 7matecl 21322 . . . . . . . . 9 ((𝑥𝑁𝑘𝑁𝑋 ∈ (Base‘𝐴)) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
4839, 40, 46, 47syl3anc 1373 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
49 simplr3 1219 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑦𝑁)
501, 41, 12, 13dmatmat 21391 . . . . . . . . . . . . 13 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑌𝐷𝑌 ∈ (Base‘𝐴)))
5150imp 410 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌 ∈ (Base‘𝐴))
5251adantrl 716 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ (Base‘𝐴))
53523ad2ant1 1135 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑌 ∈ (Base‘𝐴))
5453ad2antlr 727 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑌 ∈ (Base‘𝐴))
551, 7matecl 21322 . . . . . . . . 9 ((𝑘𝑁𝑦𝑁𝑌 ∈ (Base‘𝐴)) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
5640, 49, 54, 55syl3anc 1373 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
577, 8ringcl 19579 . . . . . . . 8 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑘) ∈ (Base‘𝑅) ∧ (𝑘𝑌𝑦) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ (Base‘𝑅))
5837, 48, 56, 57syl3anc 1373 . . . . . . 7 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ (Base‘𝑅))
5938adantl 485 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑥𝑁)
60 simp3 1140 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑦𝑁)
6115adantrr 717 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋𝐵)
6261, 11eleqtrdi 2848 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ (Base‘𝐴))
63623ad2ant1 1135 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑋 ∈ (Base‘𝐴))
641, 7matecl 21322 . . . . . . . . . 10 ((𝑥𝑁𝑦𝑁𝑋 ∈ (Base‘𝐴)) → (𝑥𝑋𝑦) ∈ (Base‘𝑅))
6538, 60, 63, 64syl3anc 1373 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑋𝑦) ∈ (Base‘𝑅))
6650a1d 25 . . . . . . . . . . . 12 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷 → (𝑌𝐷𝑌 ∈ (Base‘𝐴))))
6766imp32 422 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ (Base‘𝐴))
68673ad2ant1 1135 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑌 ∈ (Base‘𝐴))
691, 7matecl 21322 . . . . . . . . . 10 ((𝑥𝑁𝑦𝑁𝑌 ∈ (Base‘𝐴)) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
7038, 60, 68, 69syl3anc 1373 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
717, 8ringcl 19579 . . . . . . . . 9 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑦) ∈ (Base‘𝑅) ∧ (𝑥𝑌𝑦) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
7236, 65, 70, 71syl3anc 1373 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
7372adantl 485 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
74 eqtr 2760 . . . . . . . . . . 11 ((𝑘 = 𝑥𝑥 = 𝑦) → 𝑘 = 𝑦)
7574ancoms 462 . . . . . . . . . 10 ((𝑥 = 𝑦𝑘 = 𝑥) → 𝑘 = 𝑦)
7675oveq2d 7229 . . . . . . . . 9 ((𝑥 = 𝑦𝑘 = 𝑥) → (𝑥𝑋𝑘) = (𝑥𝑋𝑦))
7776adantlr 715 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → (𝑥𝑋𝑘) = (𝑥𝑋𝑦))
78 oveq1 7220 . . . . . . . . 9 (𝑘 = 𝑥 → (𝑘𝑌𝑦) = (𝑥𝑌𝑦))
7978adantl 485 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → (𝑘𝑌𝑦) = (𝑥𝑌𝑦))
8077, 79oveq12d 7231 . . . . . . 7 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
817, 25, 29, 31, 35, 58, 59, 73, 80gsumdifsnd 19346 . . . . . 6 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = ((𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))(+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))))
82 simprl 771 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋𝐷)
8310, 9, 823jca 1130 . . . . . . . . . . . . . . 15 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
84833ad2ant1 1135 . . . . . . . . . . . . . 14 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
8584ad2antlr 727 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
8638ad2antlr 727 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑥𝑁)
87 eldifi 4041 . . . . . . . . . . . . . 14 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑘𝑁)
8887adantl 485 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑘𝑁)
89 eldifsni 4703 . . . . . . . . . . . . . . 15 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑘𝑥)
9089necomd 2996 . . . . . . . . . . . . . 14 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑥𝑘)
9190adantl 485 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑥𝑘)
921, 11, 12, 13dmatelnd 21393 . . . . . . . . . . . . 13 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷) ∧ (𝑥𝑁𝑘𝑁𝑥𝑘)) → (𝑥𝑋𝑘) = 0 )
9385, 86, 88, 91, 92syl13anc 1374 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑥𝑋𝑘) = 0 )
9493oveq1d 7228 . . . . . . . . . . 11 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ( 0 (.r𝑅)(𝑘𝑌𝑦)))
9536ad2antlr 727 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑅 ∈ Ring)
96 simplr3 1219 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑦𝑁)
9753ad2antlr 727 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑌 ∈ (Base‘𝐴))
9888, 96, 97, 55syl3anc 1373 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
997, 8, 12ringlz 19605 . . . . . . . . . . . 12 ((𝑅 ∈ Ring ∧ (𝑘𝑌𝑦) ∈ (Base‘𝑅)) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
10095, 98, 99syl2anc 587 . . . . . . . . . . 11 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
10194, 100eqtrd 2777 . . . . . . . . . 10 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
102101mpteq2dva 5150 . . . . . . . . 9 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 ))
103102oveq2d 7229 . . . . . . . 8 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 )))
104 diffi 8906 . . . . . . . . . . . . 13 (𝑁 ∈ Fin → (𝑁 ∖ {𝑥}) ∈ Fin)
105 ringmnd 19572 . . . . . . . . . . . . 13 (𝑅 ∈ Ring → 𝑅 ∈ Mnd)
106104, 105anim12ci 617 . . . . . . . . . . . 12 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
107106adantr 484 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
1081073ad2ant1 1135 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
109108adantl 485 . . . . . . . . 9 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
11012gsumz 18262 . . . . . . . . 9 ((𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 )) = 0 )
111109, 110syl 17 . . . . . . . 8 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 )) = 0 )
112103, 111eqtrd 2777 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = 0 )
113112oveq1d 7228 . . . . . 6 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → ((𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))(+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))) = ( 0 (+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))))
114105ad2antlr 727 . . . . . . . . . 10 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ Mnd)
1151143ad2ant1 1135 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ Mnd)
11638, 60, 53, 69syl3anc 1373 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
11736, 65, 116, 71syl3anc 1373 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
118115, 117jca 515 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 ∈ Mnd ∧ ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅)))
119118adantl 485 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 ∈ Mnd ∧ ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅)))
1207, 25, 12mndlid 18193 . . . . . . 7 ((𝑅 ∈ Mnd ∧ ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅)) → ( 0 (+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
121119, 120syl 17 . . . . . 6 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → ( 0 (+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
12281, 113, 1213eqtrd 2781 . . . . 5 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
123 iftrue 4445 . . . . . 6 (𝑥 = 𝑦 → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
124123adantr 484 . . . . 5 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
125122, 124eqtr4d 2780 . . . 4 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
126 simprr 773 . . . . . . . . . . . . . . 15 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌𝐷)
12710, 9, 1263jca 1130 . . . . . . . . . . . . . 14 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
1281273ad2ant1 1135 . . . . . . . . . . . . 13 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
129128ad2antlr 727 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
130129adantl 485 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
131 simprr 773 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑁)
132 simplr3 1219 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑦𝑁)
133132adantl 485 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑦𝑁)
134 df-ne 2941 . . . . . . . . . . . . . . 15 (𝑥𝑦 ↔ ¬ 𝑥 = 𝑦)
135 neeq1 3003 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑘 → (𝑥𝑦𝑘𝑦))
136135biimpcd 252 . . . . . . . . . . . . . . 15 (𝑥𝑦 → (𝑥 = 𝑘𝑘𝑦))
137134, 136sylbir 238 . . . . . . . . . . . . . 14 𝑥 = 𝑦 → (𝑥 = 𝑘𝑘𝑦))
138137adantr 484 . . . . . . . . . . . . 13 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑥 = 𝑘𝑘𝑦))
139138adantr 484 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥 = 𝑘𝑘𝑦))
140139impcom 411 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑦)
1411, 11, 12, 13dmatelnd 21393 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷) ∧ (𝑘𝑁𝑦𝑁𝑘𝑦)) → (𝑘𝑌𝑦) = 0 )
142130, 131, 133, 140, 141syl13anc 1374 . . . . . . . . . 10 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑘𝑌𝑦) = 0 )
143142oveq2d 7229 . . . . . . . . 9 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ((𝑥𝑋𝑘)(.r𝑅) 0 ))
14436ad2antlr 727 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑅 ∈ Ring)
14538ad2antlr 727 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑥𝑁)
146 simpr 488 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑘𝑁)
14763ad2antlr 727 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑋 ∈ (Base‘𝐴))
148145, 146, 147, 47syl3anc 1373 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
1497, 8, 12ringrz 19606 . . . . . . . . . . 11 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑘) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
150144, 148, 149syl2anc 587 . . . . . . . . . 10 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
151150adantl 485 . . . . . . . . 9 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
152143, 151eqtrd 2777 . . . . . . . 8 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
15384ad2antlr 727 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
154153adantl 485 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
155145adantl 485 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑥𝑁)
156 simprr 773 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑁)
157 neqne 2948 . . . . . . . . . . . 12 𝑥 = 𝑘𝑥𝑘)
158157adantr 484 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑥𝑘)
159154, 155, 156, 158, 92syl13anc 1374 . . . . . . . . . 10 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑥𝑋𝑘) = 0 )
160159oveq1d 7228 . . . . . . . . 9 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ( 0 (.r𝑅)(𝑘𝑌𝑦)))
16168ad2antlr 727 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑌 ∈ (Base‘𝐴))
162146, 132, 161, 55syl3anc 1373 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
163144, 162, 99syl2anc 587 . . . . . . . . . 10 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
164163adantl 485 . . . . . . . . 9 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
165160, 164eqtrd 2777 . . . . . . . 8 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
166152, 165pm2.61ian 812 . . . . . . 7 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
167166mpteq2dva 5150 . . . . . 6 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘𝑁0 ))
168167oveq2d 7229 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = (𝑅 Σg (𝑘𝑁0 )))
169105anim2i 620 . . . . . . . . . 10 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Mnd))
170169ancomd 465 . . . . . . . . 9 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 ∈ Mnd ∧ 𝑁 ∈ Fin))
17112gsumz 18262 . . . . . . . . 9 ((𝑅 ∈ Mnd ∧ 𝑁 ∈ Fin) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
172170, 171syl 17 . . . . . . . 8 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
173172adantr 484 . . . . . . 7 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
1741733ad2ant1 1135 . . . . . 6 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
175174adantl 485 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
176 iffalse 4448 . . . . . . 7 𝑥 = 𝑦 → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = 0 )
177176eqcomd 2743 . . . . . 6 𝑥 = 𝑦0 = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
178177adantr 484 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 0 = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
179168, 175, 1783eqtrd 2781 . . . 4 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
180125, 179pm2.61ian 812 . . 3 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
181180mpoeq3dva 7288 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑥𝑁, 𝑦𝑁 ↦ (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))) = (𝑥𝑁, 𝑦𝑁 ↦ if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 )))
1826, 24, 1813eqtrd 2781 1 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(.r𝐴)𝑌) = (𝑥𝑁, 𝑦𝑁 ↦ if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 )))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399  w3a 1089   = wceq 1543  wcel 2110  wne 2940  Vcvv 3408  cdif 3863  ifcif 4439  {csn 4541  cotp 4549  cmpt 5135   × cxp 5549  cfv 6380  (class class class)co 7213  cmpo 7215  m cmap 8508  Fincfn 8626  Basecbs 16760  +gcplusg 16802  .rcmulr 16803  0gc0g 16944   Σg cgsu 16945  Mndcmnd 18173  CMndccmn 19170  Ringcrg 19562   maMul cmmul 21282   Mat cmat 21304   DMat cdmat 21385
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-rep 5179  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523  ax-cnex 10785  ax-resscn 10786  ax-1cn 10787  ax-icn 10788  ax-addcl 10789  ax-addrcl 10790  ax-mulcl 10791  ax-mulrcl 10792  ax-mulcom 10793  ax-addass 10794  ax-mulass 10795  ax-distr 10796  ax-i2m1 10797  ax-1ne0 10798  ax-1rid 10799  ax-rnegex 10800  ax-rrecex 10801  ax-cnre 10802  ax-pre-lttri 10803  ax-pre-lttrn 10804  ax-pre-ltadd 10805  ax-pre-mulgt0 10806
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-nel 3047  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-pss 3885  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-tp 4546  df-op 4548  df-ot 4550  df-uni 4820  df-int 4860  df-iun 4906  df-iin 4907  df-br 5054  df-opab 5116  df-mpt 5136  df-tr 5162  df-id 5455  df-eprel 5460  df-po 5468  df-so 5469  df-fr 5509  df-se 5510  df-we 5511  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-pred 6160  df-ord 6216  df-on 6217  df-lim 6218  df-suc 6219  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-f1 6385  df-fo 6386  df-f1o 6387  df-fv 6388  df-isom 6389  df-riota 7170  df-ov 7216  df-oprab 7217  df-mpo 7218  df-of 7469  df-om 7645  df-1st 7761  df-2nd 7762  df-supp 7904  df-wrecs 8047  df-recs 8108  df-rdg 8146  df-1o 8202  df-er 8391  df-map 8510  df-ixp 8579  df-en 8627  df-dom 8628  df-sdom 8629  df-fin 8630  df-fsupp 8986  df-sup 9058  df-oi 9126  df-card 9555  df-pnf 10869  df-mnf 10870  df-xr 10871  df-ltxr 10872  df-le 10873  df-sub 11064  df-neg 11065  df-nn 11831  df-2 11893  df-3 11894  df-4 11895  df-5 11896  df-6 11897  df-7 11898  df-8 11899  df-9 11900  df-n0 12091  df-z 12177  df-dec 12294  df-uz 12439  df-fz 13096  df-fzo 13239  df-seq 13575  df-hash 13897  df-struct 16700  df-sets 16717  df-slot 16735  df-ndx 16745  df-base 16761  df-ress 16785  df-plusg 16815  df-mulr 16816  df-sca 16818  df-vsca 16819  df-ip 16820  df-tset 16821  df-ple 16822  df-ds 16824  df-hom 16826  df-cco 16827  df-0g 16946  df-gsum 16947  df-prds 16952  df-pws 16954  df-mre 17089  df-mrc 17090  df-acs 17092  df-mgm 18114  df-sgrp 18163  df-mnd 18174  df-submnd 18219  df-grp 18368  df-minusg 18369  df-mulg 18489  df-cntz 18711  df-cmn 19172  df-abl 19173  df-mgp 19505  df-ur 19517  df-ring 19564  df-sra 20209  df-rgmod 20210  df-dsmm 20694  df-frlm 20709  df-mamu 21283  df-mat 21305  df-dmat 21387
This theorem is referenced by:  dmatmulcl  21397  dmatcrng  21399  scmatscmiddistr  21405  scmatcrng  21418
  Copyright terms: Public domain W3C validator