Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > mamucl | Structured version Visualization version GIF version |
Description: Operation closure of matrix multiplication. (Contributed by Stefan O'Rear, 2-Sep-2015.) (Proof shortened by AV, 23-Jul-2019.) |
Ref | Expression |
---|---|
mamucl.b | ⊢ 𝐵 = (Base‘𝑅) |
mamucl.r | ⊢ (𝜑 → 𝑅 ∈ Ring) |
mamucl.f | ⊢ 𝐹 = (𝑅 maMul 〈𝑀, 𝑁, 𝑃〉) |
mamucl.m | ⊢ (𝜑 → 𝑀 ∈ Fin) |
mamucl.n | ⊢ (𝜑 → 𝑁 ∈ Fin) |
mamucl.p | ⊢ (𝜑 → 𝑃 ∈ Fin) |
mamucl.x | ⊢ (𝜑 → 𝑋 ∈ (𝐵 ↑m (𝑀 × 𝑁))) |
mamucl.y | ⊢ (𝜑 → 𝑌 ∈ (𝐵 ↑m (𝑁 × 𝑃))) |
Ref | Expression |
---|---|
mamucl | ⊢ (𝜑 → (𝑋𝐹𝑌) ∈ (𝐵 ↑m (𝑀 × 𝑃))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | mamucl.f | . . 3 ⊢ 𝐹 = (𝑅 maMul 〈𝑀, 𝑁, 𝑃〉) | |
2 | mamucl.b | . . 3 ⊢ 𝐵 = (Base‘𝑅) | |
3 | eqid 2738 | . . 3 ⊢ (.r‘𝑅) = (.r‘𝑅) | |
4 | mamucl.r | . . 3 ⊢ (𝜑 → 𝑅 ∈ Ring) | |
5 | mamucl.m | . . 3 ⊢ (𝜑 → 𝑀 ∈ Fin) | |
6 | mamucl.n | . . 3 ⊢ (𝜑 → 𝑁 ∈ Fin) | |
7 | mamucl.p | . . 3 ⊢ (𝜑 → 𝑃 ∈ Fin) | |
8 | mamucl.x | . . 3 ⊢ (𝜑 → 𝑋 ∈ (𝐵 ↑m (𝑀 × 𝑁))) | |
9 | mamucl.y | . . 3 ⊢ (𝜑 → 𝑌 ∈ (𝐵 ↑m (𝑁 × 𝑃))) | |
10 | 1, 2, 3, 4, 5, 6, 7, 8, 9 | mamuval 21132 | . 2 ⊢ (𝜑 → (𝑋𝐹𝑌) = (𝑖 ∈ 𝑀, 𝑘 ∈ 𝑃 ↦ (𝑅 Σg (𝑗 ∈ 𝑁 ↦ ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘)))))) |
11 | ringcmn 19446 | . . . . . . 7 ⊢ (𝑅 ∈ Ring → 𝑅 ∈ CMnd) | |
12 | 4, 11 | syl 17 | . . . . . 6 ⊢ (𝜑 → 𝑅 ∈ CMnd) |
13 | 12 | adantr 484 | . . . . 5 ⊢ ((𝜑 ∧ (𝑖 ∈ 𝑀 ∧ 𝑘 ∈ 𝑃)) → 𝑅 ∈ CMnd) |
14 | 6 | adantr 484 | . . . . 5 ⊢ ((𝜑 ∧ (𝑖 ∈ 𝑀 ∧ 𝑘 ∈ 𝑃)) → 𝑁 ∈ Fin) |
15 | 4 | ad2antrr 726 | . . . . . . 7 ⊢ (((𝜑 ∧ (𝑖 ∈ 𝑀 ∧ 𝑘 ∈ 𝑃)) ∧ 𝑗 ∈ 𝑁) → 𝑅 ∈ Ring) |
16 | elmapi 8452 | . . . . . . . . . 10 ⊢ (𝑋 ∈ (𝐵 ↑m (𝑀 × 𝑁)) → 𝑋:(𝑀 × 𝑁)⟶𝐵) | |
17 | 8, 16 | syl 17 | . . . . . . . . 9 ⊢ (𝜑 → 𝑋:(𝑀 × 𝑁)⟶𝐵) |
18 | 17 | ad2antrr 726 | . . . . . . . 8 ⊢ (((𝜑 ∧ (𝑖 ∈ 𝑀 ∧ 𝑘 ∈ 𝑃)) ∧ 𝑗 ∈ 𝑁) → 𝑋:(𝑀 × 𝑁)⟶𝐵) |
19 | simplrl 777 | . . . . . . . 8 ⊢ (((𝜑 ∧ (𝑖 ∈ 𝑀 ∧ 𝑘 ∈ 𝑃)) ∧ 𝑗 ∈ 𝑁) → 𝑖 ∈ 𝑀) | |
20 | simpr 488 | . . . . . . . 8 ⊢ (((𝜑 ∧ (𝑖 ∈ 𝑀 ∧ 𝑘 ∈ 𝑃)) ∧ 𝑗 ∈ 𝑁) → 𝑗 ∈ 𝑁) | |
21 | 18, 19, 20 | fovrnd 7330 | . . . . . . 7 ⊢ (((𝜑 ∧ (𝑖 ∈ 𝑀 ∧ 𝑘 ∈ 𝑃)) ∧ 𝑗 ∈ 𝑁) → (𝑖𝑋𝑗) ∈ 𝐵) |
22 | elmapi 8452 | . . . . . . . . . 10 ⊢ (𝑌 ∈ (𝐵 ↑m (𝑁 × 𝑃)) → 𝑌:(𝑁 × 𝑃)⟶𝐵) | |
23 | 9, 22 | syl 17 | . . . . . . . . 9 ⊢ (𝜑 → 𝑌:(𝑁 × 𝑃)⟶𝐵) |
24 | 23 | ad2antrr 726 | . . . . . . . 8 ⊢ (((𝜑 ∧ (𝑖 ∈ 𝑀 ∧ 𝑘 ∈ 𝑃)) ∧ 𝑗 ∈ 𝑁) → 𝑌:(𝑁 × 𝑃)⟶𝐵) |
25 | simplrr 778 | . . . . . . . 8 ⊢ (((𝜑 ∧ (𝑖 ∈ 𝑀 ∧ 𝑘 ∈ 𝑃)) ∧ 𝑗 ∈ 𝑁) → 𝑘 ∈ 𝑃) | |
26 | 24, 20, 25 | fovrnd 7330 | . . . . . . 7 ⊢ (((𝜑 ∧ (𝑖 ∈ 𝑀 ∧ 𝑘 ∈ 𝑃)) ∧ 𝑗 ∈ 𝑁) → (𝑗𝑌𝑘) ∈ 𝐵) |
27 | 2, 3 | ringcl 19426 | . . . . . . 7 ⊢ ((𝑅 ∈ Ring ∧ (𝑖𝑋𝑗) ∈ 𝐵 ∧ (𝑗𝑌𝑘) ∈ 𝐵) → ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘)) ∈ 𝐵) |
28 | 15, 21, 26, 27 | syl3anc 1372 | . . . . . 6 ⊢ (((𝜑 ∧ (𝑖 ∈ 𝑀 ∧ 𝑘 ∈ 𝑃)) ∧ 𝑗 ∈ 𝑁) → ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘)) ∈ 𝐵) |
29 | 28 | ralrimiva 3096 | . . . . 5 ⊢ ((𝜑 ∧ (𝑖 ∈ 𝑀 ∧ 𝑘 ∈ 𝑃)) → ∀𝑗 ∈ 𝑁 ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘)) ∈ 𝐵) |
30 | 2, 13, 14, 29 | gsummptcl 19199 | . . . 4 ⊢ ((𝜑 ∧ (𝑖 ∈ 𝑀 ∧ 𝑘 ∈ 𝑃)) → (𝑅 Σg (𝑗 ∈ 𝑁 ↦ ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘)))) ∈ 𝐵) |
31 | 30 | ralrimivva 3103 | . . 3 ⊢ (𝜑 → ∀𝑖 ∈ 𝑀 ∀𝑘 ∈ 𝑃 (𝑅 Σg (𝑗 ∈ 𝑁 ↦ ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘)))) ∈ 𝐵) |
32 | eqid 2738 | . . . . 5 ⊢ (𝑖 ∈ 𝑀, 𝑘 ∈ 𝑃 ↦ (𝑅 Σg (𝑗 ∈ 𝑁 ↦ ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘))))) = (𝑖 ∈ 𝑀, 𝑘 ∈ 𝑃 ↦ (𝑅 Σg (𝑗 ∈ 𝑁 ↦ ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘))))) | |
33 | 32 | fmpo 7784 | . . . 4 ⊢ (∀𝑖 ∈ 𝑀 ∀𝑘 ∈ 𝑃 (𝑅 Σg (𝑗 ∈ 𝑁 ↦ ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘)))) ∈ 𝐵 ↔ (𝑖 ∈ 𝑀, 𝑘 ∈ 𝑃 ↦ (𝑅 Σg (𝑗 ∈ 𝑁 ↦ ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘))))):(𝑀 × 𝑃)⟶𝐵) |
34 | 2 | fvexi 6682 | . . . . 5 ⊢ 𝐵 ∈ V |
35 | xpfi 8856 | . . . . . 6 ⊢ ((𝑀 ∈ Fin ∧ 𝑃 ∈ Fin) → (𝑀 × 𝑃) ∈ Fin) | |
36 | 5, 7, 35 | syl2anc 587 | . . . . 5 ⊢ (𝜑 → (𝑀 × 𝑃) ∈ Fin) |
37 | elmapg 8443 | . . . . 5 ⊢ ((𝐵 ∈ V ∧ (𝑀 × 𝑃) ∈ Fin) → ((𝑖 ∈ 𝑀, 𝑘 ∈ 𝑃 ↦ (𝑅 Σg (𝑗 ∈ 𝑁 ↦ ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘))))) ∈ (𝐵 ↑m (𝑀 × 𝑃)) ↔ (𝑖 ∈ 𝑀, 𝑘 ∈ 𝑃 ↦ (𝑅 Σg (𝑗 ∈ 𝑁 ↦ ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘))))):(𝑀 × 𝑃)⟶𝐵)) | |
38 | 34, 36, 37 | sylancr 590 | . . . 4 ⊢ (𝜑 → ((𝑖 ∈ 𝑀, 𝑘 ∈ 𝑃 ↦ (𝑅 Σg (𝑗 ∈ 𝑁 ↦ ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘))))) ∈ (𝐵 ↑m (𝑀 × 𝑃)) ↔ (𝑖 ∈ 𝑀, 𝑘 ∈ 𝑃 ↦ (𝑅 Σg (𝑗 ∈ 𝑁 ↦ ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘))))):(𝑀 × 𝑃)⟶𝐵)) |
39 | 33, 38 | bitr4id 293 | . . 3 ⊢ (𝜑 → (∀𝑖 ∈ 𝑀 ∀𝑘 ∈ 𝑃 (𝑅 Σg (𝑗 ∈ 𝑁 ↦ ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘)))) ∈ 𝐵 ↔ (𝑖 ∈ 𝑀, 𝑘 ∈ 𝑃 ↦ (𝑅 Σg (𝑗 ∈ 𝑁 ↦ ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘))))) ∈ (𝐵 ↑m (𝑀 × 𝑃)))) |
40 | 31, 39 | mpbid 235 | . 2 ⊢ (𝜑 → (𝑖 ∈ 𝑀, 𝑘 ∈ 𝑃 ↦ (𝑅 Σg (𝑗 ∈ 𝑁 ↦ ((𝑖𝑋𝑗)(.r‘𝑅)(𝑗𝑌𝑘))))) ∈ (𝐵 ↑m (𝑀 × 𝑃))) |
41 | 10, 40 | eqeltrd 2833 | 1 ⊢ (𝜑 → (𝑋𝐹𝑌) ∈ (𝐵 ↑m (𝑀 × 𝑃))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 209 ∧ wa 399 = wceq 1542 ∈ wcel 2113 ∀wral 3053 Vcvv 3397 〈cotp 4521 ↦ cmpt 5107 × cxp 5517 ⟶wf 6329 ‘cfv 6333 (class class class)co 7164 ∈ cmpo 7166 ↑m cmap 8430 Fincfn 8548 Basecbs 16579 .rcmulr 16662 Σg cgsu 16810 CMndccmn 19017 Ringcrg 19409 maMul cmmul 21129 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1916 ax-6 1974 ax-7 2019 ax-8 2115 ax-9 2123 ax-10 2144 ax-11 2161 ax-12 2178 ax-ext 2710 ax-rep 5151 ax-sep 5164 ax-nul 5171 ax-pow 5229 ax-pr 5293 ax-un 7473 ax-cnex 10664 ax-resscn 10665 ax-1cn 10666 ax-icn 10667 ax-addcl 10668 ax-addrcl 10669 ax-mulcl 10670 ax-mulrcl 10671 ax-mulcom 10672 ax-addass 10673 ax-mulass 10674 ax-distr 10675 ax-i2m1 10676 ax-1ne0 10677 ax-1rid 10678 ax-rnegex 10679 ax-rrecex 10680 ax-cnre 10681 ax-pre-lttri 10682 ax-pre-lttrn 10683 ax-pre-ltadd 10684 ax-pre-mulgt0 10685 |
This theorem depends on definitions: df-bi 210 df-an 400 df-or 847 df-3or 1089 df-3an 1090 df-tru 1545 df-fal 1555 df-ex 1787 df-nf 1791 df-sb 2074 df-mo 2540 df-eu 2570 df-clab 2717 df-cleq 2730 df-clel 2811 df-nfc 2881 df-ne 2935 df-nel 3039 df-ral 3058 df-rex 3059 df-reu 3060 df-rmo 3061 df-rab 3062 df-v 3399 df-sbc 3680 df-csb 3789 df-dif 3844 df-un 3846 df-in 3848 df-ss 3858 df-pss 3860 df-nul 4210 df-if 4412 df-pw 4487 df-sn 4514 df-pr 4516 df-tp 4518 df-op 4520 df-ot 4522 df-uni 4794 df-int 4834 df-iun 4880 df-br 5028 df-opab 5090 df-mpt 5108 df-tr 5134 df-id 5425 df-eprel 5430 df-po 5438 df-so 5439 df-fr 5478 df-se 5479 df-we 5480 df-xp 5525 df-rel 5526 df-cnv 5527 df-co 5528 df-dm 5529 df-rn 5530 df-res 5531 df-ima 5532 df-pred 6123 df-ord 6169 df-on 6170 df-lim 6171 df-suc 6172 df-iota 6291 df-fun 6335 df-fn 6336 df-f 6337 df-f1 6338 df-fo 6339 df-f1o 6340 df-fv 6341 df-isom 6342 df-riota 7121 df-ov 7167 df-oprab 7168 df-mpo 7169 df-om 7594 df-1st 7707 df-2nd 7708 df-supp 7850 df-wrecs 7969 df-recs 8030 df-rdg 8068 df-1o 8124 df-er 8313 df-map 8432 df-en 8549 df-dom 8550 df-sdom 8551 df-fin 8552 df-fsupp 8900 df-oi 9040 df-card 9434 df-pnf 10748 df-mnf 10749 df-xr 10750 df-ltxr 10751 df-le 10752 df-sub 10943 df-neg 10944 df-nn 11710 df-2 11772 df-n0 11970 df-z 12056 df-uz 12318 df-fz 12975 df-fzo 13118 df-seq 13454 df-hash 13776 df-ndx 16582 df-slot 16583 df-base 16585 df-sets 16586 df-plusg 16674 df-0g 16811 df-gsum 16812 df-mgm 17961 df-sgrp 18010 df-mnd 18021 df-grp 18215 df-minusg 18216 df-cntz 18558 df-cmn 19019 df-abl 19020 df-mgp 19352 df-ur 19364 df-ring 19411 df-mamu 21130 |
This theorem is referenced by: mamuass 21146 mamudi 21147 mamudir 21148 mamuvs1 21149 mamuvs2 21150 mamulid 21185 mamurid 21186 matring 21187 matassa 21188 mavmulass 21293 |
Copyright terms: Public domain | W3C validator |