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

Theorem minmar1eval 20678
Description: An entry of a matrix for a minor. (Contributed by AV, 31-Dec-2018.)
Hypotheses
Ref Expression
minmar1fval.a 𝐴 = (𝑁 Mat 𝑅)
minmar1fval.b 𝐵 = (Base‘𝐴)
minmar1fval.q 𝑄 = (𝑁 minMatR1 𝑅)
minmar1fval.o 1 = (1r𝑅)
minmar1fval.z 0 = (0g𝑅)
Assertion
Ref Expression
minmar1eval ((𝑀𝐵 ∧ (𝐾𝑁𝐿𝑁) ∧ (𝐼𝑁𝐽𝑁)) → (𝐼(𝐾(𝑄𝑀)𝐿)𝐽) = if(𝐼 = 𝐾, if(𝐽 = 𝐿, 1 , 0 ), (𝐼𝑀𝐽)))

Proof of Theorem minmar1eval
Dummy variables 𝑖 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 minmar1fval.a . . . . 5 𝐴 = (𝑁 Mat 𝑅)
2 minmar1fval.b . . . . 5 𝐵 = (Base‘𝐴)
3 minmar1fval.q . . . . 5 𝑄 = (𝑁 minMatR1 𝑅)
4 minmar1fval.o . . . . 5 1 = (1r𝑅)
5 minmar1fval.z . . . . 5 0 = (0g𝑅)
61, 2, 3, 4, 5minmar1val 20677 . . . 4 ((𝑀𝐵𝐾𝑁𝐿𝑁) → (𝐾(𝑄𝑀)𝐿) = (𝑖𝑁, 𝑗𝑁 ↦ if(𝑖 = 𝐾, if(𝑗 = 𝐿, 1 , 0 ), (𝑖𝑀𝑗))))
763expb 1114 . . 3 ((𝑀𝐵 ∧ (𝐾𝑁𝐿𝑁)) → (𝐾(𝑄𝑀)𝐿) = (𝑖𝑁, 𝑗𝑁 ↦ if(𝑖 = 𝐾, if(𝑗 = 𝐿, 1 , 0 ), (𝑖𝑀𝑗))))
873adant3 1127 . 2 ((𝑀𝐵 ∧ (𝐾𝑁𝐿𝑁) ∧ (𝐼𝑁𝐽𝑁)) → (𝐾(𝑄𝑀)𝐿) = (𝑖𝑁, 𝑗𝑁 ↦ if(𝑖 = 𝐾, if(𝑗 = 𝐿, 1 , 0 ), (𝑖𝑀𝑗))))
9 simp3l 1244 . . 3 ((𝑀𝐵 ∧ (𝐾𝑁𝐿𝑁) ∧ (𝐼𝑁𝐽𝑁)) → 𝐼𝑁)
10 simpl3r 1289 . . 3 (((𝑀𝐵 ∧ (𝐾𝑁𝐿𝑁) ∧ (𝐼𝑁𝐽𝑁)) ∧ 𝑖 = 𝐼) → 𝐽𝑁)
11 fvex 6364 . . . . . . 7 (1r𝑅) ∈ V
124, 11eqeltri 2836 . . . . . 6 1 ∈ V
13 fvex 6364 . . . . . . 7 (0g𝑅) ∈ V
145, 13eqeltri 2836 . . . . . 6 0 ∈ V
1512, 14ifex 4301 . . . . 5 if(𝑗 = 𝐿, 1 , 0 ) ∈ V
16 ovex 6843 . . . . 5 (𝑖𝑀𝑗) ∈ V
1715, 16ifex 4301 . . . 4 if(𝑖 = 𝐾, if(𝑗 = 𝐿, 1 , 0 ), (𝑖𝑀𝑗)) ∈ V
1817a1i 11 . . 3 (((𝑀𝐵 ∧ (𝐾𝑁𝐿𝑁) ∧ (𝐼𝑁𝐽𝑁)) ∧ (𝑖 = 𝐼𝑗 = 𝐽)) → if(𝑖 = 𝐾, if(𝑗 = 𝐿, 1 , 0 ), (𝑖𝑀𝑗)) ∈ V)
19 eqeq1 2765 . . . . . 6 (𝑖 = 𝐼 → (𝑖 = 𝐾𝐼 = 𝐾))
2019adantr 472 . . . . 5 ((𝑖 = 𝐼𝑗 = 𝐽) → (𝑖 = 𝐾𝐼 = 𝐾))
21 eqeq1 2765 . . . . . . 7 (𝑗 = 𝐽 → (𝑗 = 𝐿𝐽 = 𝐿))
2221adantl 473 . . . . . 6 ((𝑖 = 𝐼𝑗 = 𝐽) → (𝑗 = 𝐿𝐽 = 𝐿))
2322ifbid 4253 . . . . 5 ((𝑖 = 𝐼𝑗 = 𝐽) → if(𝑗 = 𝐿, 1 , 0 ) = if(𝐽 = 𝐿, 1 , 0 ))
24 oveq12 6824 . . . . 5 ((𝑖 = 𝐼𝑗 = 𝐽) → (𝑖𝑀𝑗) = (𝐼𝑀𝐽))
2520, 23, 24ifbieq12d 4258 . . . 4 ((𝑖 = 𝐼𝑗 = 𝐽) → if(𝑖 = 𝐾, if(𝑗 = 𝐿, 1 , 0 ), (𝑖𝑀𝑗)) = if(𝐼 = 𝐾, if(𝐽 = 𝐿, 1 , 0 ), (𝐼𝑀𝐽)))
2625adantl 473 . . 3 (((𝑀𝐵 ∧ (𝐾𝑁𝐿𝑁) ∧ (𝐼𝑁𝐽𝑁)) ∧ (𝑖 = 𝐼𝑗 = 𝐽)) → if(𝑖 = 𝐾, if(𝑗 = 𝐿, 1 , 0 ), (𝑖𝑀𝑗)) = if(𝐼 = 𝐾, if(𝐽 = 𝐿, 1 , 0 ), (𝐼𝑀𝐽)))
279, 10, 18, 26ovmpt2dv2 6961 . 2 ((𝑀𝐵 ∧ (𝐾𝑁𝐿𝑁) ∧ (𝐼𝑁𝐽𝑁)) → ((𝐾(𝑄𝑀)𝐿) = (𝑖𝑁, 𝑗𝑁 ↦ if(𝑖 = 𝐾, if(𝑗 = 𝐿, 1 , 0 ), (𝑖𝑀𝑗))) → (𝐼(𝐾(𝑄𝑀)𝐿)𝐽) = if(𝐼 = 𝐾, if(𝐽 = 𝐿, 1 , 0 ), (𝐼𝑀𝐽))))
288, 27mpd 15 1 ((𝑀𝐵 ∧ (𝐾𝑁𝐿𝑁) ∧ (𝐼𝑁𝐽𝑁)) → (𝐼(𝐾(𝑄𝑀)𝐿)𝐽) = if(𝐼 = 𝐾, if(𝐽 = 𝐿, 1 , 0 ), (𝐼𝑀𝐽)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  w3a 1072   = wceq 1632  wcel 2140  Vcvv 3341  ifcif 4231  cfv 6050  (class class class)co 6815  cmpt2 6817  Basecbs 16080  0gc0g 16323  1rcur 18722   Mat cmat 20436   minMatR1 cminmar1 20662
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1989  ax-6 2055  ax-7 2091  ax-8 2142  ax-9 2149  ax-10 2169  ax-11 2184  ax-12 2197  ax-13 2392  ax-ext 2741  ax-rep 4924  ax-sep 4934  ax-nul 4942  ax-pow 4993  ax-pr 5056  ax-un 7116
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2048  df-eu 2612  df-mo 2613  df-clab 2748  df-cleq 2754  df-clel 2757  df-nfc 2892  df-ne 2934  df-ral 3056  df-rex 3057  df-reu 3058  df-rab 3060  df-v 3343  df-sbc 3578  df-csb 3676  df-dif 3719  df-un 3721  df-in 3723  df-ss 3730  df-nul 4060  df-if 4232  df-pw 4305  df-sn 4323  df-pr 4325  df-op 4329  df-uni 4590  df-iun 4675  df-br 4806  df-opab 4866  df-mpt 4883  df-id 5175  df-xp 5273  df-rel 5274  df-cnv 5275  df-co 5276  df-dm 5277  df-rn 5278  df-res 5279  df-ima 5280  df-iota 6013  df-fun 6052  df-fn 6053  df-f 6054  df-f1 6055  df-fo 6056  df-f1o 6057  df-fv 6058  df-ov 6818  df-oprab 6819  df-mpt2 6820  df-1st 7335  df-2nd 7336  df-slot 16084  df-base 16086  df-mat 20437  df-minmar1 20664
This theorem is referenced by:  madjusmdetlem1  30224
  Copyright terms: Public domain W3C validator