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

Theorem dmatmul 20351
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 2651 . . . . . 6 (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩) = (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩)
31, 2matmulr 20292 . . . . 5 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩) = (.r𝐴))
43adantr 480 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩) = (.r𝐴))
54eqcomd 2657 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (.r𝐴) = (𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩))
65oveqd 6707 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(.r𝐴)𝑌) = (𝑋(𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩)𝑌))
7 eqid 2651 . . 3 (Base‘𝑅) = (Base‘𝑅)
8 eqid 2651 . . 3 (.r𝑅) = (.r𝑅)
9 simplr 807 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ Ring)
10 simpll 805 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑁 ∈ Fin)
11 dmatid.b . . . . . . 7 𝐵 = (Base‘𝐴)
12 dmatid.0 . . . . . . 7 0 = (0g𝑅)
13 dmatid.d . . . . . . 7 𝐷 = (𝑁 DMat 𝑅)
141, 11, 12, 13dmatmat 20348 . . . . . 6 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷𝑋𝐵))
1514imp 444 . . . . 5 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋𝐵)
161, 7, 11matbas2i 20276 . . . . 5 (𝑋𝐵𝑋 ∈ ((Base‘𝑅) ↑𝑚 (𝑁 × 𝑁)))
1715, 16syl 17 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋 ∈ ((Base‘𝑅) ↑𝑚 (𝑁 × 𝑁)))
1817adantrr 753 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ ((Base‘𝑅) ↑𝑚 (𝑁 × 𝑁)))
191, 11, 12, 13dmatmat 20348 . . . . . 6 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑌𝐷𝑌𝐵))
2019imp 444 . . . . 5 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌𝐵)
211, 7, 11matbas2i 20276 . . . . 5 (𝑌𝐵𝑌 ∈ ((Base‘𝑅) ↑𝑚 (𝑁 × 𝑁)))
2220, 21syl 17 . . . 4 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌 ∈ ((Base‘𝑅) ↑𝑚 (𝑁 × 𝑁)))
2322adantrl 752 . . 3 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ ((Base‘𝑅) ↑𝑚 (𝑁 × 𝑁)))
242, 7, 8, 9, 10, 10, 10, 18, 23mamuval 20240 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(𝑅 maMul ⟨𝑁, 𝑁, 𝑁⟩)𝑌) = (𝑥𝑁, 𝑦𝑁 ↦ (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))))
25 eqid 2651 . . . . . . 7 (+g𝑅) = (+g𝑅)
26 ringcmn 18627 . . . . . . . . . 10 (𝑅 ∈ Ring → 𝑅 ∈ CMnd)
2726ad2antlr 763 . . . . . . . . 9 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ CMnd)
28273ad2ant1 1102 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ CMnd)
2928adantl 481 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑅 ∈ CMnd)
30103ad2ant1 1102 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑁 ∈ Fin)
3130adantl 481 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑁 ∈ Fin)
32 eqid 2651 . . . . . . . 8 (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))
33 ovexd 6720 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ V)
34 fvexd 6241 . . . . . . . 8 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (0g𝑅) ∈ V)
3532, 31, 33, 34fsuppmptdm 8327 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) finSupp (0g𝑅))
3693ad2ant1 1102 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ Ring)
3736ad2antlr 763 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑅 ∈ Ring)
38 simp2 1082 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑥𝑁)
3938ad2antlr 763 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑥𝑁)
40 simpr 476 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑘𝑁)
41 eqid 2651 . . . . . . . . . . . . . 14 (Base‘𝐴) = (Base‘𝐴)
421, 41, 12, 13dmatmat 20348 . . . . . . . . . . . . 13 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷𝑋 ∈ (Base‘𝐴)))
4342imp 444 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑋𝐷) → 𝑋 ∈ (Base‘𝐴))
4443adantrr 753 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ (Base‘𝐴))
45443ad2ant1 1102 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑋 ∈ (Base‘𝐴))
4645ad2antlr 763 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑋 ∈ (Base‘𝐴))
471, 7matecl 20279 . . . . . . . . 9 ((𝑥𝑁𝑘𝑁𝑋 ∈ (Base‘𝐴)) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
4839, 40, 46, 47syl3anc 1366 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
49 simplr3 1125 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑦𝑁)
501, 41, 12, 13dmatmat 20348 . . . . . . . . . . . . 13 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑌𝐷𝑌 ∈ (Base‘𝐴)))
5150imp 444 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑌𝐷) → 𝑌 ∈ (Base‘𝐴))
5251adantrl 752 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ (Base‘𝐴))
53523ad2ant1 1102 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑌 ∈ (Base‘𝐴))
5453ad2antlr 763 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑌 ∈ (Base‘𝐴))
551, 7matecl 20279 . . . . . . . . 9 ((𝑘𝑁𝑦𝑁𝑌 ∈ (Base‘𝐴)) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
5640, 49, 54, 55syl3anc 1366 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
577, 8ringcl 18607 . . . . . . . 8 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑘) ∈ (Base‘𝑅) ∧ (𝑘𝑌𝑦) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ (Base‘𝑅))
5837, 48, 56, 57syl3anc 1366 . . . . . . 7 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) ∈ (Base‘𝑅))
5938adantl 481 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 𝑥𝑁)
60 simp3 1083 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑦𝑁)
6115adantrr 753 . . . . . . . . . . . 12 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋𝐵)
6261, 11syl6eleq 2740 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋 ∈ (Base‘𝐴))
63623ad2ant1 1102 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑋 ∈ (Base‘𝐴))
641, 7matecl 20279 . . . . . . . . . 10 ((𝑥𝑁𝑦𝑁𝑋 ∈ (Base‘𝐴)) → (𝑥𝑋𝑦) ∈ (Base‘𝑅))
6538, 60, 63, 64syl3anc 1366 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑋𝑦) ∈ (Base‘𝑅))
6650a1d 25 . . . . . . . . . . . 12 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷 → (𝑌𝐷𝑌 ∈ (Base‘𝐴))))
6766imp32 448 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌 ∈ (Base‘𝐴))
68673ad2ant1 1102 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑌 ∈ (Base‘𝐴))
691, 7matecl 20279 . . . . . . . . . 10 ((𝑥𝑁𝑦𝑁𝑌 ∈ (Base‘𝐴)) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
7038, 60, 68, 69syl3anc 1366 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
717, 8ringcl 18607 . . . . . . . . 9 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑦) ∈ (Base‘𝑅) ∧ (𝑥𝑌𝑦) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
7236, 65, 70, 71syl3anc 1366 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
7372adantl 481 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
74 eqtr 2670 . . . . . . . . . . 11 ((𝑘 = 𝑥𝑥 = 𝑦) → 𝑘 = 𝑦)
7574ancoms 468 . . . . . . . . . 10 ((𝑥 = 𝑦𝑘 = 𝑥) → 𝑘 = 𝑦)
7675oveq2d 6706 . . . . . . . . 9 ((𝑥 = 𝑦𝑘 = 𝑥) → (𝑥𝑋𝑘) = (𝑥𝑋𝑦))
7776adantlr 751 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → (𝑥𝑋𝑘) = (𝑥𝑋𝑦))
78 oveq1 6697 . . . . . . . . 9 (𝑘 = 𝑥 → (𝑘𝑌𝑦) = (𝑥𝑌𝑦))
7978adantl 481 . . . . . . . 8 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → (𝑘𝑌𝑦) = (𝑥𝑌𝑦))
8077, 79oveq12d 6708 . . . . . . 7 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 = 𝑥) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
817, 25, 29, 31, 35, 58, 59, 73, 80gsumdifsnd 18406 . . . . . 6 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = ((𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))(+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))))
82 simprl 809 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑋𝐷)
8310, 9, 823jca 1261 . . . . . . . . . . . . . . 15 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
84833ad2ant1 1102 . . . . . . . . . . . . . 14 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
8584ad2antlr 763 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
8638ad2antlr 763 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑥𝑁)
87 eldifi 3765 . . . . . . . . . . . . . 14 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑘𝑁)
8887adantl 481 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑘𝑁)
89 eldifsni 4353 . . . . . . . . . . . . . . 15 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑘𝑥)
9089necomd 2878 . . . . . . . . . . . . . 14 (𝑘 ∈ (𝑁 ∖ {𝑥}) → 𝑥𝑘)
9190adantl 481 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑥𝑘)
921, 11, 12, 13dmatelnd 20350 . . . . . . . . . . . . 13 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷) ∧ (𝑥𝑁𝑘𝑁𝑥𝑘)) → (𝑥𝑋𝑘) = 0 )
9385, 86, 88, 91, 92syl13anc 1368 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑥𝑋𝑘) = 0 )
9493oveq1d 6705 . . . . . . . . . . 11 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ( 0 (.r𝑅)(𝑘𝑌𝑦)))
9536ad2antlr 763 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑅 ∈ Ring)
96 simplr3 1125 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑦𝑁)
9753ad2antlr 763 . . . . . . . . . . . . 13 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → 𝑌 ∈ (Base‘𝐴))
9888, 96, 97, 55syl3anc 1366 . . . . . . . . . . . 12 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
997, 8, 12ringlz 18633 . . . . . . . . . . . 12 ((𝑅 ∈ Ring ∧ (𝑘𝑌𝑦) ∈ (Base‘𝑅)) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
10095, 98, 99syl2anc 694 . . . . . . . . . . 11 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
10194, 100eqtrd 2685 . . . . . . . . . 10 (((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘 ∈ (𝑁 ∖ {𝑥})) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
102101mpteq2dva 4777 . . . . . . . . 9 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 ))
103102oveq2d 6706 . . . . . . . 8 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 )))
104 diffi 8233 . . . . . . . . . . . . 13 (𝑁 ∈ Fin → (𝑁 ∖ {𝑥}) ∈ Fin)
105 ringmnd 18602 . . . . . . . . . . . . 13 (𝑅 ∈ Ring → 𝑅 ∈ Mnd)
106104, 105anim12ci 590 . . . . . . . . . . . 12 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
107106adantr 480 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
1081073ad2ant1 1102 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
109108adantl 481 . . . . . . . . 9 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin))
11012gsumz 17421 . . . . . . . . 9 ((𝑅 ∈ Mnd ∧ (𝑁 ∖ {𝑥}) ∈ Fin) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 )) = 0 )
111109, 110syl 17 . . . . . . . 8 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ 0 )) = 0 )
112103, 111eqtrd 2685 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = 0 )
113112oveq1d 6705 . . . . . 6 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → ((𝑅 Σg (𝑘 ∈ (𝑁 ∖ {𝑥}) ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))(+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))) = ( 0 (+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))))
114105ad2antlr 763 . . . . . . . . . 10 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑅 ∈ Mnd)
1151143ad2ant1 1102 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → 𝑅 ∈ Mnd)
11638, 60, 53, 69syl3anc 1366 . . . . . . . . . 10 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑥𝑌𝑦) ∈ (Base‘𝑅))
11736, 65, 116, 71syl3anc 1366 . . . . . . . . 9 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅))
118115, 117jca 553 . . . . . . . 8 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 ∈ Mnd ∧ ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅)))
119118adantl 481 . . . . . . 7 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 ∈ Mnd ∧ ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅)))
1207, 25, 12mndlid 17358 . . . . . . 7 ((𝑅 ∈ Mnd ∧ ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)) ∈ (Base‘𝑅)) → ( 0 (+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
121119, 120syl 17 . . . . . 6 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → ( 0 (+g𝑅)((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦))) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
12281, 113, 1213eqtrd 2689 . . . . 5 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
123 iftrue 4125 . . . . . 6 (𝑥 = 𝑦 → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
124123adantr 480 . . . . 5 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)))
125122, 124eqtr4d 2688 . . . 4 ((𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
126 simprr 811 . . . . . . . . . . . . . . 15 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → 𝑌𝐷)
12710, 9, 1263jca 1261 . . . . . . . . . . . . . 14 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
1281273ad2ant1 1102 . . . . . . . . . . . . 13 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
129128ad2antlr 763 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
130129adantl 481 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷))
131 simprr 811 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑁)
132 simplr3 1125 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑦𝑁)
133132adantl 481 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑦𝑁)
134 df-ne 2824 . . . . . . . . . . . . . . 15 (𝑥𝑦 ↔ ¬ 𝑥 = 𝑦)
135 neeq1 2885 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑘 → (𝑥𝑦𝑘𝑦))
136135biimpcd 239 . . . . . . . . . . . . . . 15 (𝑥𝑦 → (𝑥 = 𝑘𝑘𝑦))
137134, 136sylbir 225 . . . . . . . . . . . . . 14 𝑥 = 𝑦 → (𝑥 = 𝑘𝑘𝑦))
138137adantr 480 . . . . . . . . . . . . 13 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑥 = 𝑘𝑘𝑦))
139138adantr 480 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥 = 𝑘𝑘𝑦))
140139impcom 445 . . . . . . . . . . 11 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑦)
1411, 11, 12, 13dmatelnd 20350 . . . . . . . . . . 11 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑌𝐷) ∧ (𝑘𝑁𝑦𝑁𝑘𝑦)) → (𝑘𝑌𝑦) = 0 )
142130, 131, 133, 140, 141syl13anc 1368 . . . . . . . . . 10 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑘𝑌𝑦) = 0 )
143142oveq2d 6706 . . . . . . . . 9 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ((𝑥𝑋𝑘)(.r𝑅) 0 ))
14436ad2antlr 763 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑅 ∈ Ring)
14538ad2antlr 763 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑥𝑁)
146 simpr 476 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑘𝑁)
14763ad2antlr 763 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑋 ∈ (Base‘𝐴))
148145, 146, 147, 47syl3anc 1366 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑥𝑋𝑘) ∈ (Base‘𝑅))
1497, 8, 12ringrz 18634 . . . . . . . . . . 11 ((𝑅 ∈ Ring ∧ (𝑥𝑋𝑘) ∈ (Base‘𝑅)) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
150144, 148, 149syl2anc 694 . . . . . . . . . 10 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
151150adantl 481 . . . . . . . . 9 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅) 0 ) = 0 )
152143, 151eqtrd 2685 . . . . . . . 8 ((𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
15384ad2antlr 763 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
154153adantl 481 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷))
155145adantl 481 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑥𝑁)
156 simprr 811 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑘𝑁)
157 df-ne 2824 . . . . . . . . . . . . 13 (𝑥𝑘 ↔ ¬ 𝑥 = 𝑘)
158157biimpri 218 . . . . . . . . . . . 12 𝑥 = 𝑘𝑥𝑘)
159158adantr 480 . . . . . . . . . . 11 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → 𝑥𝑘)
160154, 155, 156, 159, 92syl13anc 1368 . . . . . . . . . 10 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → (𝑥𝑋𝑘) = 0 )
161160oveq1d 6705 . . . . . . . . 9 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = ( 0 (.r𝑅)(𝑘𝑌𝑦)))
16268ad2antlr 763 . . . . . . . . . . . 12 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → 𝑌 ∈ (Base‘𝐴))
163146, 132, 162, 55syl3anc 1366 . . . . . . . . . . 11 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → (𝑘𝑌𝑦) ∈ (Base‘𝑅))
164144, 163, 99syl2anc 694 . . . . . . . . . 10 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
165164adantl 481 . . . . . . . . 9 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ( 0 (.r𝑅)(𝑘𝑌𝑦)) = 0 )
166161, 165eqtrd 2685 . . . . . . . 8 ((¬ 𝑥 = 𝑘 ∧ ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁)) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
167152, 166pm2.61ian 848 . . . . . . 7 (((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) ∧ 𝑘𝑁) → ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)) = 0 )
168167mpteq2dva 4777 . . . . . 6 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))) = (𝑘𝑁0 ))
169168oveq2d 6706 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = (𝑅 Σg (𝑘𝑁0 )))
170105anim2i 592 . . . . . . . . . 10 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Mnd))
171170ancomd 466 . . . . . . . . 9 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 ∈ Mnd ∧ 𝑁 ∈ Fin))
17212gsumz 17421 . . . . . . . . 9 ((𝑅 ∈ Mnd ∧ 𝑁 ∈ Fin) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
173171, 172syl 17 . . . . . . . 8 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
174173adantr 480 . . . . . . 7 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
1751743ad2ant1 1102 . . . . . 6 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
176175adantl 481 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁0 )) = 0 )
177 iffalse 4128 . . . . . . 7 𝑥 = 𝑦 → if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ) = 0 )
178177eqcomd 2657 . . . . . 6 𝑥 = 𝑦0 = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
179178adantr 480 . . . . 5 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → 0 = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
180169, 176, 1793eqtrd 2689 . . . 4 ((¬ 𝑥 = 𝑦 ∧ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁)) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
181125, 180pm2.61ian 848 . . 3 ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) ∧ 𝑥𝑁𝑦𝑁) → (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦)))) = if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 ))
182181mpt2eq3dva 6761 . 2 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑥𝑁, 𝑦𝑁 ↦ (𝑅 Σg (𝑘𝑁 ↦ ((𝑥𝑋𝑘)(.r𝑅)(𝑘𝑌𝑦))))) = (𝑥𝑁, 𝑦𝑁 ↦ if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 )))
1836, 24, 1823eqtrd 2689 1 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑋𝐷𝑌𝐷)) → (𝑋(.r𝐴)𝑌) = (𝑥𝑁, 𝑦𝑁 ↦ if(𝑥 = 𝑦, ((𝑥𝑋𝑦)(.r𝑅)(𝑥𝑌𝑦)), 0 )))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 383  w3a 1054   = wceq 1523  wcel 2030  wne 2823  Vcvv 3231  cdif 3604  ifcif 4119  {csn 4210  cotp 4218  cmpt 4762   × cxp 5141  cfv 5926  (class class class)co 6690  cmpt2 6692  𝑚 cmap 7899  Fincfn 7997  Basecbs 15904  +gcplusg 15988  .rcmulr 15989  0gc0g 16147   Σg cgsu 16148  Mndcmnd 17341  CMndccmn 18239  Ringcrg 18593   maMul cmmul 20237   Mat cmat 20261   DMat cdmat 20342
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-rep 4804  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-inf2 8576  ax-cnex 10030  ax-resscn 10031  ax-1cn 10032  ax-icn 10033  ax-addcl 10034  ax-addrcl 10035  ax-mulcl 10036  ax-mulrcl 10037  ax-mulcom 10038  ax-addass 10039  ax-mulass 10040  ax-distr 10041  ax-i2m1 10042  ax-1ne0 10043  ax-1rid 10044  ax-rnegex 10045  ax-rrecex 10046  ax-cnre 10047  ax-pre-lttri 10048  ax-pre-lttrn 10049  ax-pre-ltadd 10050  ax-pre-mulgt0 10051
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-nel 2927  df-ral 2946  df-rex 2947  df-reu 2948  df-rmo 2949  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-ot 4219  df-uni 4469  df-int 4508  df-iun 4554  df-iin 4555  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-se 5103  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-isom 5935  df-riota 6651  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-of 6939  df-om 7108  df-1st 7210  df-2nd 7211  df-supp 7341  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-1o 7605  df-oadd 7609  df-er 7787  df-map 7901  df-ixp 7951  df-en 7998  df-dom 7999  df-sdom 8000  df-fin 8001  df-fsupp 8317  df-sup 8389  df-oi 8456  df-card 8803  df-pnf 10114  df-mnf 10115  df-xr 10116  df-ltxr 10117  df-le 10118  df-sub 10306  df-neg 10307  df-nn 11059  df-2 11117  df-3 11118  df-4 11119  df-5 11120  df-6 11121  df-7 11122  df-8 11123  df-9 11124  df-n0 11331  df-z 11416  df-dec 11532  df-uz 11726  df-fz 12365  df-fzo 12505  df-seq 12842  df-hash 13158  df-struct 15906  df-ndx 15907  df-slot 15908  df-base 15910  df-sets 15911  df-ress 15912  df-plusg 16001  df-mulr 16002  df-sca 16004  df-vsca 16005  df-ip 16006  df-tset 16007  df-ple 16008  df-ds 16011  df-hom 16013  df-cco 16014  df-0g 16149  df-gsum 16150  df-prds 16155  df-pws 16157  df-mre 16293  df-mrc 16294  df-acs 16296  df-mgm 17289  df-sgrp 17331  df-mnd 17342  df-submnd 17383  df-grp 17472  df-minusg 17473  df-mulg 17588  df-cntz 17796  df-cmn 18241  df-abl 18242  df-mgp 18536  df-ur 18548  df-ring 18595  df-sra 19220  df-rgmod 19221  df-dsmm 20124  df-frlm 20139  df-mamu 20238  df-mat 20262  df-dmat 20344
This theorem is referenced by:  dmatmulcl  20354  dmatcrng  20356  scmatscmiddistr  20362  scmatcrng  20375
  Copyright terms: Public domain W3C validator