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

Theorem matplusgcell 22348
Description: Addition in the matrix ring is cell-wise. (Contributed by AV, 2-Aug-2019.)
Hypotheses
Ref Expression
matplusgcell.a 𝐴 = (𝑁 Mat 𝑅)
matplusgcell.b 𝐵 = (Base‘𝐴)
matplusgcell.p = (+g𝐴)
matplusgcell.q + = (+g𝑅)
Assertion
Ref Expression
matplusgcell (((𝑋𝐵𝑌𝐵) ∧ (𝐼𝑁𝐽𝑁)) → (𝐼(𝑋 𝑌)𝐽) = ((𝐼𝑋𝐽) + (𝐼𝑌𝐽)))

Proof of Theorem matplusgcell
StepHypRef Expression
1 matplusgcell.a . . . . 5 𝐴 = (𝑁 Mat 𝑅)
2 matplusgcell.b . . . . 5 𝐵 = (Base‘𝐴)
3 matplusgcell.p . . . . 5 = (+g𝐴)
4 matplusgcell.q . . . . 5 + = (+g𝑅)
51, 2, 3, 4matplusg2 22342 . . . 4 ((𝑋𝐵𝑌𝐵) → (𝑋 𝑌) = (𝑋f + 𝑌))
65oveqd 7430 . . 3 ((𝑋𝐵𝑌𝐵) → (𝐼(𝑋 𝑌)𝐽) = (𝐼(𝑋f + 𝑌)𝐽))
76adantr 479 . 2 (((𝑋𝐵𝑌𝐵) ∧ (𝐼𝑁𝐽𝑁)) → (𝐼(𝑋 𝑌)𝐽) = (𝐼(𝑋f + 𝑌)𝐽))
8 df-ov 7416 . . 3 (𝐼(𝑋f + 𝑌)𝐽) = ((𝑋f + 𝑌)‘⟨𝐼, 𝐽⟩)
98a1i 11 . 2 (((𝑋𝐵𝑌𝐵) ∧ (𝐼𝑁𝐽𝑁)) → (𝐼(𝑋f + 𝑌)𝐽) = ((𝑋f + 𝑌)‘⟨𝐼, 𝐽⟩))
10 opelxp 5709 . . 3 (⟨𝐼, 𝐽⟩ ∈ (𝑁 × 𝑁) ↔ (𝐼𝑁𝐽𝑁))
11 eqid 2725 . . . . . . 7 (Base‘𝑅) = (Base‘𝑅)
121, 11, 2matbas2i 22337 . . . . . 6 (𝑋𝐵𝑋 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
13 elmapfn 8877 . . . . . 6 (𝑋 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)) → 𝑋 Fn (𝑁 × 𝑁))
1412, 13syl 17 . . . . 5 (𝑋𝐵𝑋 Fn (𝑁 × 𝑁))
1514adantr 479 . . . 4 ((𝑋𝐵𝑌𝐵) → 𝑋 Fn (𝑁 × 𝑁))
161, 11, 2matbas2i 22337 . . . . . 6 (𝑌𝐵𝑌 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
17 elmapfn 8877 . . . . . 6 (𝑌 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)) → 𝑌 Fn (𝑁 × 𝑁))
1816, 17syl 17 . . . . 5 (𝑌𝐵𝑌 Fn (𝑁 × 𝑁))
1918adantl 480 . . . 4 ((𝑋𝐵𝑌𝐵) → 𝑌 Fn (𝑁 × 𝑁))
201, 2matrcl 22325 . . . . . 6 (𝑋𝐵 → (𝑁 ∈ Fin ∧ 𝑅 ∈ V))
21 xpfi 9336 . . . . . . . 8 ((𝑁 ∈ Fin ∧ 𝑁 ∈ Fin) → (𝑁 × 𝑁) ∈ Fin)
2221anidms 565 . . . . . . 7 (𝑁 ∈ Fin → (𝑁 × 𝑁) ∈ Fin)
2322adantr 479 . . . . . 6 ((𝑁 ∈ Fin ∧ 𝑅 ∈ V) → (𝑁 × 𝑁) ∈ Fin)
2420, 23syl 17 . . . . 5 (𝑋𝐵 → (𝑁 × 𝑁) ∈ Fin)
2524adantr 479 . . . 4 ((𝑋𝐵𝑌𝐵) → (𝑁 × 𝑁) ∈ Fin)
26 inidm 4214 . . . 4 ((𝑁 × 𝑁) ∩ (𝑁 × 𝑁)) = (𝑁 × 𝑁)
27 df-ov 7416 . . . . . 6 (𝐼𝑋𝐽) = (𝑋‘⟨𝐼, 𝐽⟩)
2827eqcomi 2734 . . . . 5 (𝑋‘⟨𝐼, 𝐽⟩) = (𝐼𝑋𝐽)
2928a1i 11 . . . 4 (((𝑋𝐵𝑌𝐵) ∧ ⟨𝐼, 𝐽⟩ ∈ (𝑁 × 𝑁)) → (𝑋‘⟨𝐼, 𝐽⟩) = (𝐼𝑋𝐽))
30 df-ov 7416 . . . . . 6 (𝐼𝑌𝐽) = (𝑌‘⟨𝐼, 𝐽⟩)
3130eqcomi 2734 . . . . 5 (𝑌‘⟨𝐼, 𝐽⟩) = (𝐼𝑌𝐽)
3231a1i 11 . . . 4 (((𝑋𝐵𝑌𝐵) ∧ ⟨𝐼, 𝐽⟩ ∈ (𝑁 × 𝑁)) → (𝑌‘⟨𝐼, 𝐽⟩) = (𝐼𝑌𝐽))
3315, 19, 25, 25, 26, 29, 32ofval 7690 . . 3 (((𝑋𝐵𝑌𝐵) ∧ ⟨𝐼, 𝐽⟩ ∈ (𝑁 × 𝑁)) → ((𝑋f + 𝑌)‘⟨𝐼, 𝐽⟩) = ((𝐼𝑋𝐽) + (𝐼𝑌𝐽)))
3410, 33sylan2br 593 . 2 (((𝑋𝐵𝑌𝐵) ∧ (𝐼𝑁𝐽𝑁)) → ((𝑋f + 𝑌)‘⟨𝐼, 𝐽⟩) = ((𝐼𝑋𝐽) + (𝐼𝑌𝐽)))
357, 9, 343eqtrd 2769 1 (((𝑋𝐵𝑌𝐵) ∧ (𝐼𝑁𝐽𝑁)) → (𝐼(𝑋 𝑌)𝐽) = ((𝐼𝑋𝐽) + (𝐼𝑌𝐽)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 394   = wceq 1533  wcel 2098  Vcvv 3463  cop 4631   × cxp 5671   Fn wfn 6538  cfv 6543  (class class class)co 7413  f cof 7677  m cmap 8838  Fincfn 8957  Basecbs 17174  +gcplusg 17227   Mat cmat 22320
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2696  ax-rep 5281  ax-sep 5295  ax-nul 5302  ax-pow 5360  ax-pr 5424  ax-un 7735  ax-cnex 11189  ax-resscn 11190  ax-1cn 11191  ax-icn 11192  ax-addcl 11193  ax-addrcl 11194  ax-mulcl 11195  ax-mulrcl 11196  ax-mulcom 11197  ax-addass 11198  ax-mulass 11199  ax-distr 11200  ax-i2m1 11201  ax-1ne0 11202  ax-1rid 11203  ax-rnegex 11204  ax-rrecex 11205  ax-cnre 11206  ax-pre-lttri 11207  ax-pre-lttrn 11208  ax-pre-ltadd 11209  ax-pre-mulgt0 11210
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3or 1085  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2703  df-cleq 2717  df-clel 2802  df-nfc 2877  df-ne 2931  df-nel 3037  df-ral 3052  df-rex 3061  df-reu 3365  df-rab 3420  df-v 3465  df-sbc 3771  df-csb 3887  df-dif 3944  df-un 3946  df-in 3948  df-ss 3958  df-pss 3961  df-nul 4320  df-if 4526  df-pw 4601  df-sn 4626  df-pr 4628  df-tp 4630  df-op 4632  df-ot 4634  df-uni 4905  df-iun 4994  df-br 5145  df-opab 5207  df-mpt 5228  df-tr 5262  df-id 5571  df-eprel 5577  df-po 5585  df-so 5586  df-fr 5628  df-we 5630  df-xp 5679  df-rel 5680  df-cnv 5681  df-co 5682  df-dm 5683  df-rn 5684  df-res 5685  df-ima 5686  df-pred 6301  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6495  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7369  df-ov 7416  df-oprab 7417  df-mpo 7418  df-of 7679  df-om 7866  df-1st 7987  df-2nd 7988  df-supp 8159  df-frecs 8280  df-wrecs 8311  df-recs 8385  df-rdg 8424  df-1o 8480  df-er 8718  df-map 8840  df-ixp 8910  df-en 8958  df-dom 8959  df-sdom 8960  df-fin 8961  df-fsupp 9381  df-sup 9460  df-pnf 11275  df-mnf 11276  df-xr 11277  df-ltxr 11278  df-le 11279  df-sub 11471  df-neg 11472  df-nn 12238  df-2 12300  df-3 12301  df-4 12302  df-5 12303  df-6 12304  df-7 12305  df-8 12306  df-9 12307  df-n0 12498  df-z 12584  df-dec 12703  df-uz 12848  df-fz 13512  df-struct 17110  df-sets 17127  df-slot 17145  df-ndx 17157  df-base 17175  df-ress 17204  df-plusg 17240  df-mulr 17241  df-sca 17243  df-vsca 17244  df-ip 17245  df-tset 17246  df-ple 17247  df-ds 17249  df-hom 17251  df-cco 17252  df-0g 17417  df-prds 17423  df-pws 17425  df-sra 21057  df-rgmod 21058  df-dsmm 21665  df-frlm 21680  df-mat 22321
This theorem is referenced by:  mat1ghm  22398  cpmatacl  22631  mat2pmatghm  22645  pm2mpghm  22731
  Copyright terms: Public domain W3C validator