Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > marrepval | Structured version Visualization version GIF version |
Description: Third substitution for the definition of the matrix row replacement function. (Contributed by AV, 12-Feb-2019.) |
Ref | Expression |
---|---|
marrepfval.a | ⊢ 𝐴 = (𝑁 Mat 𝑅) |
marrepfval.b | ⊢ 𝐵 = (Base‘𝐴) |
marrepfval.q | ⊢ 𝑄 = (𝑁 matRRep 𝑅) |
marrepfval.z | ⊢ 0 = (0g‘𝑅) |
Ref | Expression |
---|---|
marrepval | ⊢ (((𝑀 ∈ 𝐵 ∧ 𝑆 ∈ (Base‘𝑅)) ∧ (𝐾 ∈ 𝑁 ∧ 𝐿 ∈ 𝑁)) → (𝐾(𝑀𝑄𝑆)𝐿) = (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝐾, if(𝑗 = 𝐿, 𝑆, 0 ), (𝑖𝑀𝑗)))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | marrepfval.a | . . . 4 ⊢ 𝐴 = (𝑁 Mat 𝑅) | |
2 | marrepfval.b | . . . 4 ⊢ 𝐵 = (Base‘𝐴) | |
3 | marrepfval.q | . . . 4 ⊢ 𝑄 = (𝑁 matRRep 𝑅) | |
4 | marrepfval.z | . . . 4 ⊢ 0 = (0g‘𝑅) | |
5 | 1, 2, 3, 4 | marrepval0 21490 | . . 3 ⊢ ((𝑀 ∈ 𝐵 ∧ 𝑆 ∈ (Base‘𝑅)) → (𝑀𝑄𝑆) = (𝑘 ∈ 𝑁, 𝑙 ∈ 𝑁 ↦ (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑘, if(𝑗 = 𝑙, 𝑆, 0 ), (𝑖𝑀𝑗))))) |
6 | 5 | adantr 484 | . 2 ⊢ (((𝑀 ∈ 𝐵 ∧ 𝑆 ∈ (Base‘𝑅)) ∧ (𝐾 ∈ 𝑁 ∧ 𝐿 ∈ 𝑁)) → (𝑀𝑄𝑆) = (𝑘 ∈ 𝑁, 𝑙 ∈ 𝑁 ↦ (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑘, if(𝑗 = 𝑙, 𝑆, 0 ), (𝑖𝑀𝑗))))) |
7 | simprl 771 | . . 3 ⊢ (((𝑀 ∈ 𝐵 ∧ 𝑆 ∈ (Base‘𝑅)) ∧ (𝐾 ∈ 𝑁 ∧ 𝐿 ∈ 𝑁)) → 𝐾 ∈ 𝑁) | |
8 | simplrr 778 | . . 3 ⊢ ((((𝑀 ∈ 𝐵 ∧ 𝑆 ∈ (Base‘𝑅)) ∧ (𝐾 ∈ 𝑁 ∧ 𝐿 ∈ 𝑁)) ∧ 𝑘 = 𝐾) → 𝐿 ∈ 𝑁) | |
9 | 1, 2 | matrcl 21341 | . . . . . . 7 ⊢ (𝑀 ∈ 𝐵 → (𝑁 ∈ Fin ∧ 𝑅 ∈ V)) |
10 | 9 | simpld 498 | . . . . . 6 ⊢ (𝑀 ∈ 𝐵 → 𝑁 ∈ Fin) |
11 | 10, 10 | jca 515 | . . . . 5 ⊢ (𝑀 ∈ 𝐵 → (𝑁 ∈ Fin ∧ 𝑁 ∈ Fin)) |
12 | 11 | ad3antrrr 730 | . . . 4 ⊢ ((((𝑀 ∈ 𝐵 ∧ 𝑆 ∈ (Base‘𝑅)) ∧ (𝐾 ∈ 𝑁 ∧ 𝐿 ∈ 𝑁)) ∧ (𝑘 = 𝐾 ∧ 𝑙 = 𝐿)) → (𝑁 ∈ Fin ∧ 𝑁 ∈ Fin)) |
13 | mpoexga 7870 | . . . 4 ⊢ ((𝑁 ∈ Fin ∧ 𝑁 ∈ Fin) → (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑘, if(𝑗 = 𝑙, 𝑆, 0 ), (𝑖𝑀𝑗))) ∈ V) | |
14 | 12, 13 | syl 17 | . . 3 ⊢ ((((𝑀 ∈ 𝐵 ∧ 𝑆 ∈ (Base‘𝑅)) ∧ (𝐾 ∈ 𝑁 ∧ 𝐿 ∈ 𝑁)) ∧ (𝑘 = 𝐾 ∧ 𝑙 = 𝐿)) → (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑘, if(𝑗 = 𝑙, 𝑆, 0 ), (𝑖𝑀𝑗))) ∈ V) |
15 | eqeq2 2751 | . . . . . . 7 ⊢ (𝑘 = 𝐾 → (𝑖 = 𝑘 ↔ 𝑖 = 𝐾)) | |
16 | 15 | adantr 484 | . . . . . 6 ⊢ ((𝑘 = 𝐾 ∧ 𝑙 = 𝐿) → (𝑖 = 𝑘 ↔ 𝑖 = 𝐾)) |
17 | eqeq2 2751 | . . . . . . . 8 ⊢ (𝑙 = 𝐿 → (𝑗 = 𝑙 ↔ 𝑗 = 𝐿)) | |
18 | 17 | ifbid 4479 | . . . . . . 7 ⊢ (𝑙 = 𝐿 → if(𝑗 = 𝑙, 𝑆, 0 ) = if(𝑗 = 𝐿, 𝑆, 0 )) |
19 | 18 | adantl 485 | . . . . . 6 ⊢ ((𝑘 = 𝐾 ∧ 𝑙 = 𝐿) → if(𝑗 = 𝑙, 𝑆, 0 ) = if(𝑗 = 𝐿, 𝑆, 0 )) |
20 | 16, 19 | ifbieq1d 4480 | . . . . 5 ⊢ ((𝑘 = 𝐾 ∧ 𝑙 = 𝐿) → if(𝑖 = 𝑘, if(𝑗 = 𝑙, 𝑆, 0 ), (𝑖𝑀𝑗)) = if(𝑖 = 𝐾, if(𝑗 = 𝐿, 𝑆, 0 ), (𝑖𝑀𝑗))) |
21 | 20 | mpoeq3dv 7312 | . . . 4 ⊢ ((𝑘 = 𝐾 ∧ 𝑙 = 𝐿) → (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑘, if(𝑗 = 𝑙, 𝑆, 0 ), (𝑖𝑀𝑗))) = (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝐾, if(𝑗 = 𝐿, 𝑆, 0 ), (𝑖𝑀𝑗)))) |
22 | 21 | adantl 485 | . . 3 ⊢ ((((𝑀 ∈ 𝐵 ∧ 𝑆 ∈ (Base‘𝑅)) ∧ (𝐾 ∈ 𝑁 ∧ 𝐿 ∈ 𝑁)) ∧ (𝑘 = 𝐾 ∧ 𝑙 = 𝐿)) → (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑘, if(𝑗 = 𝑙, 𝑆, 0 ), (𝑖𝑀𝑗))) = (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝐾, if(𝑗 = 𝐿, 𝑆, 0 ), (𝑖𝑀𝑗)))) |
23 | 7, 8, 14, 22 | ovmpodv2 7389 | . 2 ⊢ (((𝑀 ∈ 𝐵 ∧ 𝑆 ∈ (Base‘𝑅)) ∧ (𝐾 ∈ 𝑁 ∧ 𝐿 ∈ 𝑁)) → ((𝑀𝑄𝑆) = (𝑘 ∈ 𝑁, 𝑙 ∈ 𝑁 ↦ (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝑘, if(𝑗 = 𝑙, 𝑆, 0 ), (𝑖𝑀𝑗)))) → (𝐾(𝑀𝑄𝑆)𝐿) = (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝐾, if(𝑗 = 𝐿, 𝑆, 0 ), (𝑖𝑀𝑗))))) |
24 | 6, 23 | mpd 15 | 1 ⊢ (((𝑀 ∈ 𝐵 ∧ 𝑆 ∈ (Base‘𝑅)) ∧ (𝐾 ∈ 𝑁 ∧ 𝐿 ∈ 𝑁)) → (𝐾(𝑀𝑄𝑆)𝐿) = (𝑖 ∈ 𝑁, 𝑗 ∈ 𝑁 ↦ if(𝑖 = 𝐾, if(𝑗 = 𝐿, 𝑆, 0 ), (𝑖𝑀𝑗)))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 209 ∧ wa 399 = wceq 1543 ∈ wcel 2112 Vcvv 3423 ifcif 4456 ‘cfv 6401 (class class class)co 7235 ∈ cmpo 7237 Fincfn 8650 Basecbs 16793 0gc0g 16977 Mat cmat 21336 matRRep cmarrep 21485 |
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 2114 ax-9 2122 ax-10 2143 ax-11 2160 ax-12 2177 ax-ext 2710 ax-rep 5196 ax-sep 5209 ax-nul 5216 ax-pow 5275 ax-pr 5339 ax-un 7545 ax-cnex 10815 ax-1cn 10817 ax-addcl 10819 |
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 2073 df-mo 2541 df-eu 2570 df-clab 2717 df-cleq 2731 df-clel 2818 df-nfc 2889 df-ne 2944 df-ral 3069 df-rex 3070 df-reu 3071 df-rab 3073 df-v 3425 df-sbc 3712 df-csb 3829 df-dif 3886 df-un 3888 df-in 3890 df-ss 3900 df-pss 3902 df-nul 4255 df-if 4457 df-pw 4532 df-sn 4559 df-pr 4561 df-tp 4563 df-op 4565 df-uni 4837 df-iun 4923 df-br 5071 df-opab 5133 df-mpt 5153 df-tr 5179 df-id 5472 df-eprel 5478 df-po 5486 df-so 5487 df-fr 5527 df-we 5529 df-xp 5575 df-rel 5576 df-cnv 5577 df-co 5578 df-dm 5579 df-rn 5580 df-res 5581 df-ima 5582 df-pred 6179 df-ord 6237 df-on 6238 df-lim 6239 df-suc 6240 df-iota 6359 df-fun 6403 df-fn 6404 df-f 6405 df-f1 6406 df-fo 6407 df-f1o 6408 df-fv 6409 df-ov 7238 df-oprab 7239 df-mpo 7240 df-om 7667 df-1st 7783 df-2nd 7784 df-wrecs 8071 df-recs 8132 df-rdg 8170 df-nn 11861 df-slot 16768 df-ndx 16778 df-base 16794 df-mat 21337 df-marrep 21487 |
This theorem is referenced by: marrepeval 21492 marrepcl 21493 1marepvmarrepid 21504 smadiadetglem1 21600 smadiadetglem2 21601 madjusmdetlem1 31523 |
Copyright terms: Public domain | W3C validator |