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

 Description: An entry of the adjunct (cofactor) matrix. (Contributed by SO, 11-Jul-2018.)
Hypotheses
Ref Expression
madufval.a 𝐴 = (𝑁 Mat 𝑅)
Assertion
Ref Expression
maducoeval ((𝑀𝐵𝐼𝑁𝐻𝑁) → (𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), (𝑘𝑀𝑙)))))
Distinct variable groups:   𝑘,𝑁,𝑙   𝑅,𝑘,𝑙   𝑘,𝑀,𝑙   𝑘,𝐼,𝑙   𝑘,𝐻,𝑙
Allowed substitution hints:   𝐴(𝑘,𝑙)   𝐵(𝑘,𝑙)   𝐷(𝑘,𝑙)   1 (𝑘,𝑙)   𝐽(𝑘,𝑙)   0 (𝑘,𝑙)

Dummy variables 𝑖 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 madufval.a . . . 4 𝐴 = (𝑁 Mat 𝑅)
4 madufval.b . . . 4 𝐵 = (Base‘𝐴)
5 madufval.o . . . 4 1 = (1r𝑅)
6 madufval.z . . . 4 0 = (0g𝑅)
71, 2, 3, 4, 5, 6maduval 21253 . . 3 (𝑀𝐵 → (𝐽𝑀) = (𝑖𝑁, 𝑗𝑁 ↦ (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑀𝑙))))))
873ad2ant1 1130 . 2 ((𝑀𝐵𝐼𝑁𝐻𝑁) → (𝐽𝑀) = (𝑖𝑁, 𝑗𝑁 ↦ (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑀𝑙))))))
9 simp1r 1195 . . . . . . 7 (((𝑖 = 𝐼𝑗 = 𝐻) ∧ 𝑘𝑁𝑙𝑁) → 𝑗 = 𝐻)
109eqeq2d 2809 . . . . . 6 (((𝑖 = 𝐼𝑗 = 𝐻) ∧ 𝑘𝑁𝑙𝑁) → (𝑘 = 𝑗𝑘 = 𝐻))
11 simp1l 1194 . . . . . . . 8 (((𝑖 = 𝐼𝑗 = 𝐻) ∧ 𝑘𝑁𝑙𝑁) → 𝑖 = 𝐼)
1211eqeq2d 2809 . . . . . . 7 (((𝑖 = 𝐼𝑗 = 𝐻) ∧ 𝑘𝑁𝑙𝑁) → (𝑙 = 𝑖𝑙 = 𝐼))
1312ifbid 4447 . . . . . 6 (((𝑖 = 𝐼𝑗 = 𝐻) ∧ 𝑘𝑁𝑙𝑁) → if(𝑙 = 𝑖, 1 , 0 ) = if(𝑙 = 𝐼, 1 , 0 ))
1410, 13ifbieq1d 4448 . . . . 5 (((𝑖 = 𝐼𝑗 = 𝐻) ∧ 𝑘𝑁𝑙𝑁) → if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑀𝑙)) = if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), (𝑘𝑀𝑙)))
1514mpoeq3dva 7211 . . . 4 ((𝑖 = 𝐼𝑗 = 𝐻) → (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑀𝑙))) = (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), (𝑘𝑀𝑙))))
1615fveq2d 6650 . . 3 ((𝑖 = 𝐼𝑗 = 𝐻) → (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑀𝑙)))) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), (𝑘𝑀𝑙)))))
1716adantl 485 . 2 (((𝑀𝐵𝐼𝑁𝐻𝑁) ∧ (𝑖 = 𝐼𝑗 = 𝐻)) → (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑀𝑙)))) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), (𝑘𝑀𝑙)))))
18 simp2 1134 . 2 ((𝑀𝐵𝐼𝑁𝐻𝑁) → 𝐼𝑁)
19 simp3 1135 . 2 ((𝑀𝐵𝐼𝑁𝐻𝑁) → 𝐻𝑁)
20 fvexd 6661 . 2 ((𝑀𝐵𝐼𝑁𝐻𝑁) → (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), (𝑘𝑀𝑙)))) ∈ V)
218, 17, 18, 19, 20ovmpod 7283 1 ((𝑀𝐵𝐼𝑁𝐻𝑁) → (𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), (𝑘𝑀𝑙)))))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 399   ∧ w3a 1084   = wceq 1538   ∈ wcel 2111  Vcvv 3441  ifcif 4425  ‘cfv 6325  (class class class)co 7136   ∈ cmpo 7138  Basecbs 16478  0gc0g 16708  1rcur 19248   Mat cmat 21022   maDet cmdat 21199   maAdju cmadu 21247 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5155  ax-sep 5168  ax-nul 5175  ax-pow 5232  ax-pr 5296  ax-un 7444 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4802  df-iun 4884  df-br 5032  df-opab 5094  df-mpt 5112  df-id 5426  df-xp 5526  df-rel 5527  df-cnv 5528  df-co 5529  df-dm 5530  df-rn 5531  df-res 5532  df-ima 5533  df-iota 6284  df-fun 6327  df-fn 6328  df-f 6329  df-f1 6330  df-fo 6331  df-f1o 6332  df-fv 6333  df-ov 7139  df-oprab 7140  df-mpo 7141  df-1st 7674  df-2nd 7675  df-slot 16482  df-base 16484  df-mat 21023  df-madu 21249 This theorem is referenced by:  maducoeval2  21255  madugsum  21258  maducoevalmin1  21267
 Copyright terms: Public domain W3C validator