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

Theorem dmatel 21101
Description: A 𝑁 x 𝑁 diagonal matrix over (a ring) 𝑅. (Contributed by AV, 18-Dec-2019.)
Hypotheses
Ref Expression
dmatval.a 𝐴 = (𝑁 Mat 𝑅)
dmatval.b 𝐵 = (Base‘𝐴)
dmatval.0 0 = (0g𝑅)
dmatval.d 𝐷 = (𝑁 DMat 𝑅)
Assertion
Ref Expression
dmatel ((𝑁 ∈ Fin ∧ 𝑅𝑉) → (𝑀𝐷 ↔ (𝑀𝐵 ∧ ∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑀𝑗) = 0 ))))
Distinct variable groups:   𝑖,𝑁,𝑗   𝑅,𝑖,𝑗   𝑖,𝑀,𝑗
Allowed substitution hints:   𝐴(𝑖,𝑗)   𝐵(𝑖,𝑗)   𝐷(𝑖,𝑗)   𝑉(𝑖,𝑗)   0 (𝑖,𝑗)

Proof of Theorem dmatel
Dummy variable 𝑚 is distinct from all other variables.
StepHypRef Expression
1 dmatval.a . . . 4 𝐴 = (𝑁 Mat 𝑅)
2 dmatval.b . . . 4 𝐵 = (Base‘𝐴)
3 dmatval.0 . . . 4 0 = (0g𝑅)
4 dmatval.d . . . 4 𝐷 = (𝑁 DMat 𝑅)
51, 2, 3, 4dmatval 21100 . . 3 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → 𝐷 = {𝑚𝐵 ∣ ∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑚𝑗) = 0 )})
65eleq2d 2898 . 2 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → (𝑀𝐷𝑀 ∈ {𝑚𝐵 ∣ ∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑚𝑗) = 0 )}))
7 oveq 7161 . . . . . 6 (𝑚 = 𝑀 → (𝑖𝑚𝑗) = (𝑖𝑀𝑗))
87eqeq1d 2823 . . . . 5 (𝑚 = 𝑀 → ((𝑖𝑚𝑗) = 0 ↔ (𝑖𝑀𝑗) = 0 ))
98imbi2d 343 . . . 4 (𝑚 = 𝑀 → ((𝑖𝑗 → (𝑖𝑚𝑗) = 0 ) ↔ (𝑖𝑗 → (𝑖𝑀𝑗) = 0 )))
1092ralbidv 3199 . . 3 (𝑚 = 𝑀 → (∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑚𝑗) = 0 ) ↔ ∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑀𝑗) = 0 )))
1110elrab 3679 . 2 (𝑀 ∈ {𝑚𝐵 ∣ ∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑚𝑗) = 0 )} ↔ (𝑀𝐵 ∧ ∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑀𝑗) = 0 )))
126, 11syl6bb 289 1 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → (𝑀𝐷 ↔ (𝑀𝐵 ∧ ∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑀𝑗) = 0 ))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wcel 2110  wne 3016  wral 3138  {crab 3142  cfv 6354  (class class class)co 7155  Fincfn 8508  Basecbs 16482  0gc0g 16712   Mat cmat 21015   DMat cdmat 21096
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5202  ax-nul 5209  ax-pr 5329
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3772  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4838  df-br 5066  df-opab 5128  df-id 5459  df-xp 5560  df-rel 5561  df-cnv 5562  df-co 5563  df-dm 5564  df-iota 6313  df-fun 6356  df-fv 6362  df-ov 7158  df-oprab 7159  df-mpo 7160  df-dmat 21098
This theorem is referenced by:  dmatmat  21102  dmatid  21103  dmatelnd  21104  dmatsubcl  21106  dmatscmcl  21111
  Copyright terms: Public domain W3C validator