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

Theorem mat1comp 22333
Description: The components of the identity matrix (as operation in maps-to notation). (Contributed by AV, 22-Jul-2019.)
Hypotheses
Ref Expression
mamumat1cl.b 𝐵 = (Base‘𝑅)
mamumat1cl.r (𝜑𝑅 ∈ Ring)
mamumat1cl.o 1 = (1r𝑅)
mamumat1cl.z 0 = (0g𝑅)
mamumat1cl.i 𝐼 = (𝑖𝑀, 𝑗𝑀 ↦ if(𝑖 = 𝑗, 1 , 0 ))
mamumat1cl.m (𝜑𝑀 ∈ Fin)
Assertion
Ref Expression
mat1comp ((𝐴𝑀𝐽𝑀) → (𝐴𝐼𝐽) = if(𝐴 = 𝐽, 1 , 0 ))
Distinct variable groups:   𝑖,𝑗,𝐵   𝑖,𝑀,𝑗   𝜑,𝑖,𝑗   𝐴,𝑖,𝑗   𝑖,𝐽,𝑗   0 ,𝑖,𝑗   1 ,𝑖,𝑗
Allowed substitution hints:   𝑅(𝑖,𝑗)   𝐼(𝑖,𝑗)

Proof of Theorem mat1comp
StepHypRef Expression
1 eqeq1 2734 . . 3 (𝑖 = 𝐴 → (𝑖 = 𝑗𝐴 = 𝑗))
21ifbid 4514 . 2 (𝑖 = 𝐴 → if(𝑖 = 𝑗, 1 , 0 ) = if(𝐴 = 𝑗, 1 , 0 ))
3 eqeq2 2742 . . 3 (𝑗 = 𝐽 → (𝐴 = 𝑗𝐴 = 𝐽))
43ifbid 4514 . 2 (𝑗 = 𝐽 → if(𝐴 = 𝑗, 1 , 0 ) = if(𝐴 = 𝐽, 1 , 0 ))
5 mamumat1cl.i . 2 𝐼 = (𝑖𝑀, 𝑗𝑀 ↦ if(𝑖 = 𝑗, 1 , 0 ))
6 mamumat1cl.o . . . 4 1 = (1r𝑅)
76fvexi 6874 . . 3 1 ∈ V
8 mamumat1cl.z . . . 4 0 = (0g𝑅)
98fvexi 6874 . . 3 0 ∈ V
107, 9ifex 4541 . 2 if(𝐴 = 𝐽, 1 , 0 ) ∈ V
112, 4, 5, 10ovmpo 7551 1 ((𝐴𝑀𝐽𝑀) → (𝐴𝐼𝐽) = if(𝐴 = 𝐽, 1 , 0 ))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1540  wcel 2109  ifcif 4490  cfv 6513  (class class class)co 7389  cmpo 7391  Fincfn 8920  Basecbs 17185  0gc0g 17408  1rcur 20096  Ringcrg 20148
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2702  ax-sep 5253  ax-nul 5263  ax-pr 5389
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2534  df-eu 2563  df-clab 2709  df-cleq 2722  df-clel 2804  df-nfc 2879  df-ne 2927  df-ral 3046  df-rex 3055  df-rab 3409  df-v 3452  df-sbc 3756  df-dif 3919  df-un 3921  df-ss 3933  df-nul 4299  df-if 4491  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4874  df-br 5110  df-opab 5172  df-id 5535  df-xp 5646  df-rel 5647  df-cnv 5648  df-co 5649  df-dm 5650  df-iota 6466  df-fun 6515  df-fv 6521  df-ov 7392  df-oprab 7393  df-mpo 7394
This theorem is referenced by:  mamulid  22334  mamurid  22335
  Copyright terms: Public domain W3C validator