Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > scmatdmat | Structured version Visualization version GIF version |
Description: A scalar matrix is a diagonal matrix. (Contributed by AV, 20-Aug-2019.) (Revised by AV, 19-Dec-2019.) |
Ref | Expression |
---|---|
scmatid.a | ⊢ 𝐴 = (𝑁 Mat 𝑅) |
scmatid.b | ⊢ 𝐵 = (Base‘𝐴) |
scmatid.e | ⊢ 𝐸 = (Base‘𝑅) |
scmatid.0 | ⊢ 0 = (0g‘𝑅) |
scmatid.s | ⊢ 𝑆 = (𝑁 ScMat 𝑅) |
scmatdmat.d | ⊢ 𝐷 = (𝑁 DMat 𝑅) |
Ref | Expression |
---|---|
scmatdmat | ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑀 ∈ 𝑆 → 𝑀 ∈ 𝐷)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | id 22 | . . . . . . . . . . . 12 ⊢ ((𝑖𝑚𝑗) = if(𝑖 = 𝑗, 𝑐, 0 ) → (𝑖𝑚𝑗) = if(𝑖 = 𝑗, 𝑐, 0 )) | |
2 | ifnefalse 4477 | . . . . . . . . . . . 12 ⊢ (𝑖 ≠ 𝑗 → if(𝑖 = 𝑗, 𝑐, 0 ) = 0 ) | |
3 | 1, 2 | sylan9eq 2800 | . . . . . . . . . . 11 ⊢ (((𝑖𝑚𝑗) = if(𝑖 = 𝑗, 𝑐, 0 ) ∧ 𝑖 ≠ 𝑗) → (𝑖𝑚𝑗) = 0 ) |
4 | 3 | ex 413 | . . . . . . . . . 10 ⊢ ((𝑖𝑚𝑗) = if(𝑖 = 𝑗, 𝑐, 0 ) → (𝑖 ≠ 𝑗 → (𝑖𝑚𝑗) = 0 )) |
5 | 4 | a1i 11 | . . . . . . . . 9 ⊢ ((((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑚 ∈ 𝐵) ∧ 𝑐 ∈ 𝐸) ∧ 𝑖 ∈ 𝑁) ∧ 𝑗 ∈ 𝑁) → ((𝑖𝑚𝑗) = if(𝑖 = 𝑗, 𝑐, 0 ) → (𝑖 ≠ 𝑗 → (𝑖𝑚𝑗) = 0 ))) |
6 | 5 | ralimdva 3105 | . . . . . . . 8 ⊢ (((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑚 ∈ 𝐵) ∧ 𝑐 ∈ 𝐸) ∧ 𝑖 ∈ 𝑁) → (∀𝑗 ∈ 𝑁 (𝑖𝑚𝑗) = if(𝑖 = 𝑗, 𝑐, 0 ) → ∀𝑗 ∈ 𝑁 (𝑖 ≠ 𝑗 → (𝑖𝑚𝑗) = 0 ))) |
7 | 6 | ralimdva 3105 | . . . . . . 7 ⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑚 ∈ 𝐵) ∧ 𝑐 ∈ 𝐸) → (∀𝑖 ∈ 𝑁 ∀𝑗 ∈ 𝑁 (𝑖𝑚𝑗) = if(𝑖 = 𝑗, 𝑐, 0 ) → ∀𝑖 ∈ 𝑁 ∀𝑗 ∈ 𝑁 (𝑖 ≠ 𝑗 → (𝑖𝑚𝑗) = 0 ))) |
8 | 7 | rexlimdva 3215 | . . . . . 6 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑚 ∈ 𝐵) → (∃𝑐 ∈ 𝐸 ∀𝑖 ∈ 𝑁 ∀𝑗 ∈ 𝑁 (𝑖𝑚𝑗) = if(𝑖 = 𝑗, 𝑐, 0 ) → ∀𝑖 ∈ 𝑁 ∀𝑗 ∈ 𝑁 (𝑖 ≠ 𝑗 → (𝑖𝑚𝑗) = 0 ))) |
9 | 8 | ss2rabdv 4014 | . . . . 5 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → {𝑚 ∈ 𝐵 ∣ ∃𝑐 ∈ 𝐸 ∀𝑖 ∈ 𝑁 ∀𝑗 ∈ 𝑁 (𝑖𝑚𝑗) = if(𝑖 = 𝑗, 𝑐, 0 )} ⊆ {𝑚 ∈ 𝐵 ∣ ∀𝑖 ∈ 𝑁 ∀𝑗 ∈ 𝑁 (𝑖 ≠ 𝑗 → (𝑖𝑚𝑗) = 0 )}) |
10 | 9 | adantr 481 | . . . 4 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑀 ∈ 𝑆) → {𝑚 ∈ 𝐵 ∣ ∃𝑐 ∈ 𝐸 ∀𝑖 ∈ 𝑁 ∀𝑗 ∈ 𝑁 (𝑖𝑚𝑗) = if(𝑖 = 𝑗, 𝑐, 0 )} ⊆ {𝑚 ∈ 𝐵 ∣ ∀𝑖 ∈ 𝑁 ∀𝑗 ∈ 𝑁 (𝑖 ≠ 𝑗 → (𝑖𝑚𝑗) = 0 )}) |
11 | scmatid.a | . . . . . . 7 ⊢ 𝐴 = (𝑁 Mat 𝑅) | |
12 | scmatid.b | . . . . . . 7 ⊢ 𝐵 = (Base‘𝐴) | |
13 | scmatid.s | . . . . . . 7 ⊢ 𝑆 = (𝑁 ScMat 𝑅) | |
14 | scmatid.e | . . . . . . 7 ⊢ 𝐸 = (Base‘𝑅) | |
15 | scmatid.0 | . . . . . . 7 ⊢ 0 = (0g‘𝑅) | |
16 | 11, 12, 13, 14, 15 | scmatmats 21658 | . . . . . 6 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → 𝑆 = {𝑚 ∈ 𝐵 ∣ ∃𝑐 ∈ 𝐸 ∀𝑖 ∈ 𝑁 ∀𝑗 ∈ 𝑁 (𝑖𝑚𝑗) = if(𝑖 = 𝑗, 𝑐, 0 )}) |
17 | scmatdmat.d | . . . . . . 7 ⊢ 𝐷 = (𝑁 DMat 𝑅) | |
18 | 11, 12, 15, 17 | dmatval 21639 | . . . . . 6 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → 𝐷 = {𝑚 ∈ 𝐵 ∣ ∀𝑖 ∈ 𝑁 ∀𝑗 ∈ 𝑁 (𝑖 ≠ 𝑗 → (𝑖𝑚𝑗) = 0 )}) |
19 | 16, 18 | sseq12d 3959 | . . . . 5 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑆 ⊆ 𝐷 ↔ {𝑚 ∈ 𝐵 ∣ ∃𝑐 ∈ 𝐸 ∀𝑖 ∈ 𝑁 ∀𝑗 ∈ 𝑁 (𝑖𝑚𝑗) = if(𝑖 = 𝑗, 𝑐, 0 )} ⊆ {𝑚 ∈ 𝐵 ∣ ∀𝑖 ∈ 𝑁 ∀𝑗 ∈ 𝑁 (𝑖 ≠ 𝑗 → (𝑖𝑚𝑗) = 0 )})) |
20 | 19 | adantr 481 | . . . 4 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑀 ∈ 𝑆) → (𝑆 ⊆ 𝐷 ↔ {𝑚 ∈ 𝐵 ∣ ∃𝑐 ∈ 𝐸 ∀𝑖 ∈ 𝑁 ∀𝑗 ∈ 𝑁 (𝑖𝑚𝑗) = if(𝑖 = 𝑗, 𝑐, 0 )} ⊆ {𝑚 ∈ 𝐵 ∣ ∀𝑖 ∈ 𝑁 ∀𝑗 ∈ 𝑁 (𝑖 ≠ 𝑗 → (𝑖𝑚𝑗) = 0 )})) |
21 | 10, 20 | mpbird 256 | . . 3 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑀 ∈ 𝑆) → 𝑆 ⊆ 𝐷) |
22 | simpr 485 | . . 3 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑀 ∈ 𝑆) → 𝑀 ∈ 𝑆) | |
23 | 21, 22 | sseldd 3927 | . 2 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑀 ∈ 𝑆) → 𝑀 ∈ 𝐷) |
24 | 23 | ex 413 | 1 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑀 ∈ 𝑆 → 𝑀 ∈ 𝐷)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 205 ∧ wa 396 = wceq 1542 ∈ wcel 2110 ≠ wne 2945 ∀wral 3066 ∃wrex 3067 {crab 3070 ⊆ wss 3892 ifcif 4465 ‘cfv 6432 (class class class)co 7271 Fincfn 8716 Basecbs 16910 0gc0g 17148 Ringcrg 19781 Mat cmat 21552 DMat cdmat 21635 ScMat cscmat 21636 |
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 1917 ax-6 1975 ax-7 2015 ax-8 2112 ax-9 2120 ax-10 2141 ax-11 2158 ax-12 2175 ax-ext 2711 ax-rep 5214 ax-sep 5227 ax-nul 5234 ax-pow 5292 ax-pr 5356 ax-un 7582 ax-cnex 10928 ax-resscn 10929 ax-1cn 10930 ax-icn 10931 ax-addcl 10932 ax-addrcl 10933 ax-mulcl 10934 ax-mulrcl 10935 ax-mulcom 10936 ax-addass 10937 ax-mulass 10938 ax-distr 10939 ax-i2m1 10940 ax-1ne0 10941 ax-1rid 10942 ax-rnegex 10943 ax-rrecex 10944 ax-cnre 10945 ax-pre-lttri 10946 ax-pre-lttrn 10947 ax-pre-ltadd 10948 ax-pre-mulgt0 10949 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-3or 1087 df-3an 1088 df-tru 1545 df-fal 1555 df-ex 1787 df-nf 1791 df-sb 2072 df-mo 2542 df-eu 2571 df-clab 2718 df-cleq 2732 df-clel 2818 df-nfc 2891 df-ne 2946 df-nel 3052 df-ral 3071 df-rex 3072 df-reu 3073 df-rmo 3074 df-rab 3075 df-v 3433 df-sbc 3721 df-csb 3838 df-dif 3895 df-un 3897 df-in 3899 df-ss 3909 df-pss 3911 df-nul 4263 df-if 4466 df-pw 4541 df-sn 4568 df-pr 4570 df-tp 4572 df-op 4574 df-ot 4576 df-uni 4846 df-int 4886 df-iun 4932 df-iin 4933 df-br 5080 df-opab 5142 df-mpt 5163 df-tr 5197 df-id 5490 df-eprel 5496 df-po 5504 df-so 5505 df-fr 5545 df-se 5546 df-we 5547 df-xp 5596 df-rel 5597 df-cnv 5598 df-co 5599 df-dm 5600 df-rn 5601 df-res 5602 df-ima 5603 df-pred 6201 df-ord 6268 df-on 6269 df-lim 6270 df-suc 6271 df-iota 6390 df-fun 6434 df-fn 6435 df-f 6436 df-f1 6437 df-fo 6438 df-f1o 6439 df-fv 6440 df-isom 6441 df-riota 7228 df-ov 7274 df-oprab 7275 df-mpo 7276 df-of 7527 df-om 7707 df-1st 7824 df-2nd 7825 df-supp 7969 df-frecs 8088 df-wrecs 8119 df-recs 8193 df-rdg 8232 df-1o 8288 df-er 8481 df-map 8600 df-ixp 8669 df-en 8717 df-dom 8718 df-sdom 8719 df-fin 8720 df-fsupp 9107 df-sup 9179 df-oi 9247 df-card 9698 df-pnf 11012 df-mnf 11013 df-xr 11014 df-ltxr 11015 df-le 11016 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 12437 df-uz 12582 df-fz 13239 df-fzo 13382 df-seq 13720 df-hash 14043 df-struct 16846 df-sets 16863 df-slot 16881 df-ndx 16893 df-base 16911 df-ress 16940 df-plusg 16973 df-mulr 16974 df-sca 16976 df-vsca 16977 df-ip 16978 df-tset 16979 df-ple 16980 df-ds 16982 df-hom 16984 df-cco 16985 df-0g 17150 df-gsum 17151 df-prds 17156 df-pws 17158 df-mre 17293 df-mrc 17294 df-acs 17296 df-mgm 18324 df-sgrp 18373 df-mnd 18384 df-mhm 18428 df-submnd 18429 df-grp 18578 df-minusg 18579 df-sbg 18580 df-mulg 18699 df-subg 18750 df-ghm 18830 df-cntz 18921 df-cmn 19386 df-abl 19387 df-mgp 19719 df-ur 19736 df-ring 19783 df-subrg 20020 df-lmod 20123 df-lss 20192 df-sra 20432 df-rgmod 20433 df-dsmm 20937 df-frlm 20952 df-mamu 21531 df-mat 21553 df-dmat 21637 df-scmat 21638 |
This theorem is referenced by: scmatcrng 21668 scmatsgrp1 21669 |
Copyright terms: Public domain | W3C validator |