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

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

Dummy variable 𝑚 is distinct from all other variables.
StepHypRef Expression
1 madufval.a . . . . 5 𝐴 = (𝑁 Mat 𝑅)
2 madufval.b . . . . 5 𝐵 = (Base‘𝐴)
31, 2matrcl 20440 . . . 4 (𝑀𝐵 → (𝑁 ∈ Fin ∧ 𝑅 ∈ V))
43simpld 477 . . 3 (𝑀𝐵𝑁 ∈ Fin)
5 mpt2exga 7415 . . 3 ((𝑁 ∈ Fin ∧ 𝑁 ∈ Fin) → (𝑖𝑁, 𝑗𝑁 ↦ (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑀𝑙))))) ∈ V)
64, 4, 5syl2anc 696 . 2 (𝑀𝐵 → (𝑖𝑁, 𝑗𝑁 ↦ (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑀𝑙))))) ∈ V)
7 oveq 6820 . . . . . . . 8 (𝑚 = 𝑀 → (𝑘𝑚𝑙) = (𝑘𝑀𝑙))
87ifeq2d 4249 . . . . . . 7 (𝑚 = 𝑀 → if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑚𝑙)) = if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑀𝑙)))
98mpt2eq3dv 6887 . . . . . 6 (𝑚 = 𝑀 → (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑚𝑙))) = (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑀𝑙))))
1093ad2ant1 1128 . . . . 5 ((𝑚 = 𝑀𝑖𝑁𝑗𝑁) → (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑚𝑙))) = (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑀𝑙))))
1110fveq2d 6357 . . . 4 ((𝑚 = 𝑀𝑖𝑁𝑗𝑁) → (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑚𝑙)))) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑀𝑙)))))
1211mpt2eq3dva 6885 . . 3 (𝑚 = 𝑀 → (𝑖𝑁, 𝑗𝑁 ↦ (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑚𝑙))))) = (𝑖𝑁, 𝑗𝑁 ↦ (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑗, if(𝑙 = 𝑖, 1 , 0 ), (𝑘𝑀𝑙))))))