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

Theorem mat1comp 22810
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 2767 . . 3 (𝑖 = 𝐴 → (𝑖 = 𝑗 ↔ 𝐴 = 𝑗))
21ifbid 4509 . 2 (𝑖 = 𝐴 → if(𝑖 = 𝑗, 1 , 0 ) = if(𝐴 = 𝑗, 1 , 0 ))
3 eqeq2 2775 . . 3 (𝑗 = 𝐽 → (𝐴 = 𝑗 ↔ 𝐴 = 𝐽))
43ifbid 4509 . 2 (𝑗 = 𝐽 → if(𝐴 = 𝑗, 1 , 0 ) = if(𝐴 = 𝐽, 1 , 0 ))
5 mamumat1cl.i . 2 𝐼 = (𝑖 ∈ 𝑀, 𝑗 ∈ 𝑀 ↦ if(𝑖 = 𝑗, 1 , 0 ))
6 mamumat1cl.o . . . 4 1 = (1r‘𝑅)
76fvexi 6930 . . 3 1 ∈ V
8 mamumat1cl.z . . . 4 0 = (0g‘𝑅)
98fvexi 6930 . . 3 0 ∈ V
107, 9ifex 4536 . 2 if(𝐴 = 𝐽, 1 , 0 ) ∈ V
112, 4, 5, 10ovmpo 7612 1 ((𝐴 ∈ 𝑀 ∧ 𝐽 ∈ 𝑀) → (𝐴𝐼𝐽) = if(𝐴 = 𝐽, 1 , 0 ))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ifcif 4485  ‘cfv 6566  (class class class)co 7451   ∈ cmpo 7453  Fincfn 9011  Basecbs 17431  0gc0g 17660  1rcur 20458  Ringcrg 20510
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-iota 6520  df-fun 6568  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456
This theorem is used by:  mamulid  22811  mamurid  22812
  Copyright terms: Public domain W3C validator