Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > mat1 | Structured version Visualization version GIF version |
Description: Value of an identity matrix, see also the statement in [Lang] p. 504: "The unit element of the ring of n x n matrices is the matrix In ... whose components are equal to 0 except on the diagonal, in which case they are equal to 1.". (Contributed by Stefan O'Rear, 7-Sep-2015.) |
Ref | Expression |
---|---|
mat1.a | ⊢ 𝐴 = (𝑁 Mat 𝑅) |
mat1.o | ⊢ 1 = (1r‘𝑅) |
mat1.z | ⊢ 0 = (0g‘𝑅) |
Ref | Expression |
---|---|
mat1 | ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (1r‘𝐴) = (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | eqid 2740 | . . . 4 ⊢ (Base‘𝑅) = (Base‘𝑅) | |
2 | simpr 485 | . . . 4 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → 𝑅 ∈ Ring) | |
3 | mat1.o | . . . 4 ⊢ 1 = (1r‘𝑅) | |
4 | mat1.z | . . . 4 ⊢ 0 = (0g‘𝑅) | |
5 | eqid 2740 | . . . 4 ⊢ (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 )) = (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 )) | |
6 | simpl 483 | . . . 4 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → 𝑁 ∈ Fin) | |
7 | 1, 2, 3, 4, 5, 6 | mamumat1cl 21584 | . . 3 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 )) ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁))) |
8 | mat1.a | . . . 4 ⊢ 𝐴 = (𝑁 Mat 𝑅) | |
9 | 8, 1 | matbas2 21566 | . . 3 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → ((Base‘𝑅) ↑m (𝑁 × 𝑁)) = (Base‘𝐴)) |
10 | 7, 9 | eleqtrd 2843 | . 2 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 )) ∈ (Base‘𝐴)) |
11 | eqid 2740 | . . . . . . . 8 ⊢ (𝑅 maMul 〈𝑁, 𝑁, 𝑁〉) = (𝑅 maMul 〈𝑁, 𝑁, 𝑁〉) | |
12 | 8, 11 | matmulr 21583 | . . . . . . 7 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑅 maMul 〈𝑁, 𝑁, 𝑁〉) = (.r‘𝐴)) |
13 | 12 | adantr 481 | . . . . . 6 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑥 ∈ (Base‘𝐴)) → (𝑅 maMul 〈𝑁, 𝑁, 𝑁〉) = (.r‘𝐴)) |
14 | 13 | oveqd 7286 | . . . . 5 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑥 ∈ (Base‘𝐴)) → ((𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))(𝑅 maMul 〈𝑁, 𝑁, 𝑁〉)𝑥) = ((𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))(.r‘𝐴)𝑥)) |
15 | simplr 766 | . . . . . 6 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑥 ∈ (Base‘𝐴)) → 𝑅 ∈ Ring) | |
16 | simpll 764 | . . . . . 6 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑥 ∈ (Base‘𝐴)) → 𝑁 ∈ Fin) | |
17 | 9 | eleq2d 2826 | . . . . . . 7 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑥 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)) ↔ 𝑥 ∈ (Base‘𝐴))) |
18 | 17 | biimpar 478 | . . . . . 6 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑥 ∈ (Base‘𝐴)) → 𝑥 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁))) |
19 | 1, 15, 3, 4, 5, 16, 16, 11, 18 | mamulid 21586 | . . . . 5 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑥 ∈ (Base‘𝐴)) → ((𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))(𝑅 maMul 〈𝑁, 𝑁, 𝑁〉)𝑥) = 𝑥) |
20 | 14, 19 | eqtr3d 2782 | . . . 4 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑥 ∈ (Base‘𝐴)) → ((𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))(.r‘𝐴)𝑥) = 𝑥) |
21 | 13 | oveqd 7286 | . . . . 5 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑥 ∈ (Base‘𝐴)) → (𝑥(𝑅 maMul 〈𝑁, 𝑁, 𝑁〉)(𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))) = (𝑥(.r‘𝐴)(𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 )))) |
22 | 1, 15, 3, 4, 5, 16, 16, 11, 18 | mamurid 21587 | . . . . 5 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑥 ∈ (Base‘𝐴)) → (𝑥(𝑅 maMul 〈𝑁, 𝑁, 𝑁〉)(𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))) = 𝑥) |
23 | 21, 22 | eqtr3d 2782 | . . . 4 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑥 ∈ (Base‘𝐴)) → (𝑥(.r‘𝐴)(𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))) = 𝑥) |
24 | 20, 23 | jca 512 | . . 3 ⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ 𝑥 ∈ (Base‘𝐴)) → (((𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))(.r‘𝐴)𝑥) = 𝑥 ∧ (𝑥(.r‘𝐴)(𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))) = 𝑥)) |
25 | 24 | ralrimiva 3110 | . 2 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → ∀𝑥 ∈ (Base‘𝐴)(((𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))(.r‘𝐴)𝑥) = 𝑥 ∧ (𝑥(.r‘𝐴)(𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))) = 𝑥)) |
26 | 8 | matring 21588 | . . 3 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → 𝐴 ∈ Ring) |
27 | eqid 2740 | . . . 4 ⊢ (Base‘𝐴) = (Base‘𝐴) | |
28 | eqid 2740 | . . . 4 ⊢ (.r‘𝐴) = (.r‘𝐴) | |
29 | eqid 2740 | . . . 4 ⊢ (1r‘𝐴) = (1r‘𝐴) | |
30 | 27, 28, 29 | isringid 19808 | . . 3 ⊢ (𝐴 ∈ Ring → (((𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 )) ∈ (Base‘𝐴) ∧ ∀𝑥 ∈ (Base‘𝐴)(((𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))(.r‘𝐴)𝑥) = 𝑥 ∧ (𝑥(.r‘𝐴)(𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))) = 𝑥)) ↔ (1r‘𝐴) = (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 )))) |
31 | 26, 30 | syl 17 | . 2 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (((𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 )) ∈ (Base‘𝐴) ∧ ∀𝑥 ∈ (Base‘𝐴)(((𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))(.r‘𝐴)𝑥) = 𝑥 ∧ (𝑥(.r‘𝐴)(𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))) = 𝑥)) ↔ (1r‘𝐴) = (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 )))) |
32 | 10, 25, 31 | mpbi2and 709 | 1 ⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (1r‘𝐴) = (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑗, 1 , 0 ))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 205 ∧ wa 396 = wceq 1542 ∈ wcel 2110 ∀wral 3066 ifcif 4465 〈cotp 4575 × cxp 5587 ‘cfv 6431 (class class class)co 7269 ∈ cmpo 7271 ↑m cmap 8596 Fincfn 8714 Basecbs 16908 .rcmulr 16959 0gc0g 17146 1rcur 19733 Ringcrg 19779 maMul cmmul 21528 Mat cmat 21550 |
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 7580 ax-cnex 10926 ax-resscn 10927 ax-1cn 10928 ax-icn 10929 ax-addcl 10930 ax-addrcl 10931 ax-mulcl 10932 ax-mulrcl 10933 ax-mulcom 10934 ax-addass 10935 ax-mulass 10936 ax-distr 10937 ax-i2m1 10938 ax-1ne0 10939 ax-1rid 10940 ax-rnegex 10941 ax-rrecex 10942 ax-cnre 10943 ax-pre-lttri 10944 ax-pre-lttrn 10945 ax-pre-ltadd 10946 ax-pre-mulgt0 10947 |
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 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 6200 df-ord 6267 df-on 6268 df-lim 6269 df-suc 6270 df-iota 6389 df-fun 6433 df-fn 6434 df-f 6435 df-f1 6436 df-fo 6437 df-f1o 6438 df-fv 6439 df-isom 6440 df-riota 7226 df-ov 7272 df-oprab 7273 df-mpo 7274 df-of 7525 df-om 7705 df-1st 7822 df-2nd 7823 df-supp 7967 df-frecs 8086 df-wrecs 8117 df-recs 8191 df-rdg 8230 df-1o 8286 df-er 8479 df-map 8598 df-ixp 8667 df-en 8715 df-dom 8716 df-sdom 8717 df-fin 8718 df-fsupp 9105 df-sup 9177 df-oi 9245 df-card 9696 df-pnf 11010 df-mnf 11011 df-xr 11012 df-ltxr 11013 df-le 11014 df-sub 11205 df-neg 11206 df-nn 11972 df-2 12034 df-3 12035 df-4 12036 df-5 12037 df-6 12038 df-7 12039 df-8 12040 df-9 12041 df-n0 12232 df-z 12318 df-dec 12435 df-uz 12580 df-fz 13237 df-fzo 13380 df-seq 13718 df-hash 14041 df-struct 16844 df-sets 16861 df-slot 16879 df-ndx 16891 df-base 16909 df-ress 16938 df-plusg 16971 df-mulr 16972 df-sca 16974 df-vsca 16975 df-ip 16976 df-tset 16977 df-ple 16978 df-ds 16980 df-hom 16982 df-cco 16983 df-0g 17148 df-gsum 17149 df-prds 17154 df-pws 17156 df-mre 17291 df-mrc 17292 df-acs 17294 df-mgm 18322 df-sgrp 18371 df-mnd 18382 df-mhm 18426 df-submnd 18427 df-grp 18576 df-minusg 18577 df-sbg 18578 df-mulg 18697 df-subg 18748 df-ghm 18828 df-cntz 18919 df-cmn 19384 df-abl 19385 df-mgp 19717 df-ur 19734 df-ring 19781 df-subrg 20018 df-lmod 20121 df-lss 20190 df-sra 20430 df-rgmod 20431 df-dsmm 20935 df-frlm 20950 df-mamu 21529 df-mat 21551 |
This theorem is referenced by: mat1ov 21593 matsc 21595 mattpos1 21601 mat1dimid 21619 1mavmul 21693 1marepvsma1 21728 pmat1op 21841 decpmatid 21915 |
Copyright terms: Public domain | W3C validator |