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

Theorem dmatelnd 21033
Description: An extradiagonal entry of a diagonal matrix is equal to zero. (Contributed by AV, 19-Aug-2019.) (Revised by AV, 18-Dec-2019.)
Hypotheses
Ref Expression
dmatid.a 𝐴 = (𝑁 Mat 𝑅)
dmatid.b 𝐵 = (Base‘𝐴)
dmatid.0 0 = (0g𝑅)
dmatid.d 𝐷 = (𝑁 DMat 𝑅)
Assertion
Ref Expression
dmatelnd (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷) ∧ (𝐼𝑁𝐽𝑁𝐼𝐽)) → (𝐼𝑋𝐽) = 0 )

Proof of Theorem dmatelnd
Dummy variables 𝑖 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dmatid.a . . . . 5 𝐴 = (𝑁 Mat 𝑅)
2 dmatid.b . . . . 5 𝐵 = (Base‘𝐴)
3 dmatid.0 . . . . 5 0 = (0g𝑅)
4 dmatid.d . . . . 5 𝐷 = (𝑁 DMat 𝑅)
51, 2, 3, 4dmatel 21030 . . . 4 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷 ↔ (𝑋𝐵 ∧ ∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑋𝑗) = 0 ))))
6 neeq1 3075 . . . . . . . . . . 11 (𝑖 = 𝐼 → (𝑖𝑗𝐼𝑗))
7 oveq1 7152 . . . . . . . . . . . 12 (𝑖 = 𝐼 → (𝑖𝑋𝑗) = (𝐼𝑋𝑗))
87eqeq1d 2820 . . . . . . . . . . 11 (𝑖 = 𝐼 → ((𝑖𝑋𝑗) = 0 ↔ (𝐼𝑋𝑗) = 0 ))
96, 8imbi12d 346 . . . . . . . . . 10 (𝑖 = 𝐼 → ((𝑖𝑗 → (𝑖𝑋𝑗) = 0 ) ↔ (𝐼𝑗 → (𝐼𝑋𝑗) = 0 )))
10 neeq2 3076 . . . . . . . . . . 11 (𝑗 = 𝐽 → (𝐼𝑗𝐼𝐽))
11 oveq2 7153 . . . . . . . . . . . 12 (𝑗 = 𝐽 → (𝐼𝑋𝑗) = (𝐼𝑋𝐽))
1211eqeq1d 2820 . . . . . . . . . . 11 (𝑗 = 𝐽 → ((𝐼𝑋𝑗) = 0 ↔ (𝐼𝑋𝐽) = 0 ))
1310, 12imbi12d 346 . . . . . . . . . 10 (𝑗 = 𝐽 → ((𝐼𝑗 → (𝐼𝑋𝑗) = 0 ) ↔ (𝐼𝐽 → (𝐼𝑋𝐽) = 0 )))
149, 13rspc2v 3630 . . . . . . . . 9 ((𝐼𝑁𝐽𝑁) → (∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑋𝑗) = 0 ) → (𝐼𝐽 → (𝐼𝑋𝐽) = 0 )))
1514com23 86 . . . . . . . 8 ((𝐼𝑁𝐽𝑁) → (𝐼𝐽 → (∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑋𝑗) = 0 ) → (𝐼𝑋𝐽) = 0 )))
16153impia 1109 . . . . . . 7 ((𝐼𝑁𝐽𝑁𝐼𝐽) → (∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑋𝑗) = 0 ) → (𝐼𝑋𝐽) = 0 ))
1716com12 32 . . . . . 6 (∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑋𝑗) = 0 ) → ((𝐼𝑁𝐽𝑁𝐼𝐽) → (𝐼𝑋𝐽) = 0 ))
18172a1i 12 . . . . 5 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐵 → (∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑋𝑗) = 0 ) → ((𝐼𝑁𝐽𝑁𝐼𝐽) → (𝐼𝑋𝐽) = 0 ))))
1918impd 411 . . . 4 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → ((𝑋𝐵 ∧ ∀𝑖𝑁𝑗𝑁 (𝑖𝑗 → (𝑖𝑋𝑗) = 0 )) → ((𝐼𝑁𝐽𝑁𝐼𝐽) → (𝐼𝑋𝐽) = 0 )))
205, 19sylbid 241 . . 3 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) → (𝑋𝐷 → ((𝐼𝑁𝐽𝑁𝐼𝐽) → (𝐼𝑋𝐽) = 0 )))
21203impia 1109 . 2 ((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷) → ((𝐼𝑁𝐽𝑁𝐼𝐽) → (𝐼𝑋𝐽) = 0 ))
2221imp 407 1 (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring ∧ 𝑋𝐷) ∧ (𝐼𝑁𝐽𝑁𝐼𝐽)) → (𝐼𝑋𝐽) = 0 )
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1079   = wceq 1528  wcel 2105  wne 3013  wral 3135  cfv 6348  (class class class)co 7145  Fincfn 8497  Basecbs 16471  0gc0g 16701  Ringcrg 19226   Mat cmat 20944   DMat cdmat 21025
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-sbc 3770  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-br 5058  df-opab 5120  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-iota 6307  df-fun 6350  df-fv 6356  df-ov 7148  df-oprab 7149  df-mpo 7150  df-dmat 21027
This theorem is referenced by:  dmatmul  21034  dmatsubcl  21035
  Copyright terms: Public domain W3C validator