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

Theorem eqmat 22366
Description: Two square matrices of the same dimension are equal if they have the same entries. (Contributed by AV, 25-Sep-2019.)
Hypotheses
Ref Expression
eqmat.a 𝐴 = (𝑁 Mat 𝑅)
eqmat.b 𝐵 = (Base‘𝐴)
Assertion
Ref Expression
eqmat ((𝑋𝐵𝑌𝐵) → (𝑋 = 𝑌 ↔ ∀𝑖𝑁𝑗𝑁 (𝑖𝑋𝑗) = (𝑖𝑌𝑗)))
Distinct variable groups:   𝑖,𝑁,𝑗   𝑖,𝑋,𝑗   𝑖,𝑌,𝑗
Allowed substitution hints:   𝐴(𝑖,𝑗)   𝐵(𝑖,𝑗)   𝑅(𝑖,𝑗)

Proof of Theorem eqmat
StepHypRef Expression
1 eqmat.a . . . 4 𝐴 = (𝑁 Mat 𝑅)
2 eqid 2734 . . . 4 (Base‘𝑅) = (Base‘𝑅)
3 eqmat.b . . . 4 𝐵 = (Base‘𝐴)
41, 2, 3matbas2i 22364 . . 3 (𝑋𝐵𝑋 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
5 elmapfn 8800 . . 3 (𝑋 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)) → 𝑋 Fn (𝑁 × 𝑁))
64, 5syl 17 . 2 (𝑋𝐵𝑋 Fn (𝑁 × 𝑁))
71, 2, 3matbas2i 22364 . . 3 (𝑌𝐵𝑌 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
8 elmapfn 8800 . . 3 (𝑌 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)) → 𝑌 Fn (𝑁 × 𝑁))
97, 8syl 17 . 2 (𝑌𝐵𝑌 Fn (𝑁 × 𝑁))
10 eqfnov2 7486 . 2 ((𝑋 Fn (𝑁 × 𝑁) ∧ 𝑌 Fn (𝑁 × 𝑁)) → (𝑋 = 𝑌 ↔ ∀𝑖𝑁𝑗𝑁 (𝑖𝑋𝑗) = (𝑖𝑌𝑗)))
116, 9, 10syl2an 596 1 ((𝑋𝐵𝑌𝐵) → (𝑋 = 𝑌 ↔ ∀𝑖𝑁𝑗𝑁 (𝑖𝑋𝑗) = (𝑖𝑌𝑗)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1541  wcel 2113  wral 3049   × cxp 5620   Fn wfn 6485  cfv 6490  (class class class)co 7356  m cmap 8761  Basecbs 17134   Mat cmat 22349
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2706  ax-rep 5222  ax-sep 5239  ax-nul 5249  ax-pow 5308  ax-pr 5375  ax-un 7678  ax-cnex 11080  ax-resscn 11081  ax-1cn 11082  ax-icn 11083  ax-addcl 11084  ax-addrcl 11085  ax-mulcl 11086  ax-mulrcl 11087  ax-mulcom 11088  ax-addass 11089  ax-mulass 11090  ax-distr 11091  ax-i2m1 11092  ax-1ne0 11093  ax-1rid 11094  ax-rnegex 11095  ax-rrecex 11096  ax-cnre 11097  ax-pre-lttri 11098  ax-pre-lttrn 11099  ax-pre-ltadd 11100  ax-pre-mulgt0 11101
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2567  df-clab 2713  df-cleq 2726  df-clel 2809  df-nfc 2883  df-ne 2931  df-nel 3035  df-ral 3050  df-rex 3059  df-reu 3349  df-rab 3398  df-v 3440  df-sbc 3739  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4284  df-if 4478  df-pw 4554  df-sn 4579  df-pr 4581  df-tp 4583  df-op 4585  df-ot 4587  df-uni 4862  df-iun 4946  df-br 5097  df-opab 5159  df-mpt 5178  df-tr 5204  df-id 5517  df-eprel 5522  df-po 5530  df-so 5531  df-fr 5575  df-we 5577  df-xp 5628  df-rel 5629  df-cnv 5630  df-co 5631  df-dm 5632  df-rn 5633  df-res 5634  df-ima 5635  df-pred 6257  df-ord 6318  df-on 6319  df-lim 6320  df-suc 6321  df-iota 6446  df-fun 6492  df-fn 6493  df-f 6494  df-f1 6495  df-fo 6496  df-f1o 6497  df-fv 6498  df-riota 7313  df-ov 7359  df-oprab 7360  df-mpo 7361  df-om 7807  df-1st 7931  df-2nd 7932  df-supp 8101  df-frecs 8221  df-wrecs 8252  df-recs 8301  df-rdg 8339  df-1o 8395  df-er 8633  df-map 8763  df-ixp 8834  df-en 8882  df-dom 8883  df-sdom 8884  df-fin 8885  df-fsupp 9263  df-sup 9343  df-pnf 11166  df-mnf 11167  df-xr 11168  df-ltxr 11169  df-le 11170  df-sub 11364  df-neg 11365  df-nn 12144  df-2 12206  df-3 12207  df-4 12208  df-5 12209  df-6 12210  df-7 12211  df-8 12212  df-9 12213  df-n0 12400  df-z 12487  df-dec 12606  df-uz 12750  df-fz 13422  df-struct 17072  df-sets 17089  df-slot 17107  df-ndx 17119  df-base 17135  df-ress 17156  df-plusg 17188  df-mulr 17189  df-sca 17191  df-vsca 17192  df-ip 17193  df-tset 17194  df-ple 17195  df-ds 17197  df-hom 17199  df-cco 17200  df-0g 17359  df-prds 17365  df-pws 17367  df-sra 21123  df-rgmod 21124  df-dsmm 21685  df-frlm 21700  df-mat 22350
This theorem is referenced by:  mat1ghm  22425  mat1mhm  22426  scmatscmiddistr  22450  scmatmats  22453  scmatscm  22455  scmatf1  22473  mat2pmatf1  22671  mat2pmat1  22674  mat2pmatlin  22677  m2cpminvid  22695  m2cpminvid2  22697  decpmataa0  22710  decpmatmul  22714  pmatcollpw1  22718  monmatcollpw  22721  pmatcollpw  22723  pmatcollpwscmatlem2  22732  pm2mpf1  22741  mp2pm2mplem4  22751  submateq  33915  madjusmdetlem3  33935
  Copyright terms: Public domain W3C validator