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

Theorem maducoeval2 21697
Description: An entry of the adjunct (cofactor) matrix. (Contributed by SO, 17-Jul-2018.)
Hypotheses
Ref Expression
madufval.a 𝐴 = (𝑁 Mat 𝑅)
madufval.d 𝐷 = (𝑁 maDet 𝑅)
madufval.j 𝐽 = (𝑁 maAdju 𝑅)
madufval.b 𝐵 = (Base‘𝐴)
madufval.o 1 = (1r𝑅)
madufval.z 0 = (0g𝑅)
Assertion
Ref Expression
maducoeval2 (((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) → (𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if((𝑘 = 𝐻𝑙 = 𝐼), if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ), (𝑘𝑀𝑙)))))
Distinct variable groups:   𝑘,𝑁,𝑙   𝑅,𝑘,𝑙   𝑘,𝑀,𝑙   𝑘,𝐼,𝑙   𝑘,𝐻,𝑙   𝐵,𝑘,𝑙   0 ,𝑘   1 ,𝑘
Allowed substitution hints:   𝐴(𝑘,𝑙)   𝐷(𝑘,𝑙)   1 (𝑙)   𝐽(𝑘,𝑙)   0 (𝑙)

Proof of Theorem maducoeval2
Dummy variables 𝑛 𝑟 𝑚 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eleq2 2827 . . . . . . . 8 (𝑚 = ∅ → (𝑘𝑚𝑘 ∈ ∅))
21ifbid 4479 . . . . . . 7 (𝑚 = ∅ → if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)) = if(𝑘 ∈ ∅, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
32ifeq2d 4476 . . . . . 6 (𝑚 = ∅ → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ ∅, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))
43mpoeq3dv 7332 . . . . 5 (𝑚 = ∅ → (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ ∅, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))
54fveq2d 6760 . . . 4 (𝑚 = ∅ → (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ ∅, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))))
65eqeq2d 2749 . . 3 (𝑚 = ∅ → ((𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) ↔ (𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ ∅, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))))
7 eleq2 2827 . . . . . . . 8 (𝑚 = 𝑛 → (𝑘𝑚𝑘𝑛))
87ifbid 4479 . . . . . . 7 (𝑚 = 𝑛 → if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)) = if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
98ifeq2d 4476 . . . . . 6 (𝑚 = 𝑛 → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))
109mpoeq3dv 7332 . . . . 5 (𝑚 = 𝑛 → (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))
1110fveq2d 6760 . . . 4 (𝑚 = 𝑛 → (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))))
1211eqeq2d 2749 . . 3 (𝑚 = 𝑛 → ((𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) ↔ (𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))))
13 eleq2 2827 . . . . . . . 8 (𝑚 = (𝑛 ∪ {𝑟}) → (𝑘𝑚𝑘 ∈ (𝑛 ∪ {𝑟})))
1413ifbid 4479 . . . . . . 7 (𝑚 = (𝑛 ∪ {𝑟}) → if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)) = if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
1514ifeq2d 4476 . . . . . 6 (𝑚 = (𝑛 ∪ {𝑟}) → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))
1615mpoeq3dv 7332 . . . . 5 (𝑚 = (𝑛 ∪ {𝑟}) → (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))
1716fveq2d 6760 . . . 4 (𝑚 = (𝑛 ∪ {𝑟}) → (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))))
1817eqeq2d 2749 . . 3 (𝑚 = (𝑛 ∪ {𝑟}) → ((𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) ↔ (𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))))
19 eleq2 2827 . . . . . . . 8 (𝑚 = (𝑁 ∖ {𝐻}) → (𝑘𝑚𝑘 ∈ (𝑁 ∖ {𝐻})))
2019ifbid 4479 . . . . . . 7 (𝑚 = (𝑁 ∖ {𝐻}) → if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)) = if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
2120ifeq2d 4476 . . . . . 6 (𝑚 = (𝑁 ∖ {𝐻}) → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))
2221mpoeq3dv 7332 . . . . 5 (𝑚 = (𝑁 ∖ {𝐻}) → (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))
2322fveq2d 6760 . . . 4 (𝑚 = (𝑁 ∖ {𝐻}) → (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))))
2423eqeq2d 2749 . . 3 (𝑚 = (𝑁 ∖ {𝐻}) → ((𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑚, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) ↔ (𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))))
25 madufval.a . . . . . 6 𝐴 = (𝑁 Mat 𝑅)
26 madufval.d . . . . . 6 𝐷 = (𝑁 maDet 𝑅)
27 madufval.j . . . . . 6 𝐽 = (𝑁 maAdju 𝑅)
28 madufval.b . . . . . 6 𝐵 = (Base‘𝐴)
29 madufval.o . . . . . 6 1 = (1r𝑅)
30 madufval.z . . . . . 6 0 = (0g𝑅)
3125, 26, 27, 28, 29, 30maducoeval 21696 . . . . 5 ((𝑀𝐵𝐼𝑁𝐻𝑁) → (𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), (𝑘𝑀𝑙)))))
32313adant1l 1174 . . . 4 (((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) → (𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), (𝑘𝑀𝑙)))))
33 noel 4261 . . . . . . . 8 ¬ 𝑘 ∈ ∅
34 iffalse 4465 . . . . . . . 8 𝑘 ∈ ∅ → if(𝑘 ∈ ∅, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)) = (𝑘𝑀𝑙))
3533, 34mp1i 13 . . . . . . 7 ((𝑘𝑁𝑙𝑁) → if(𝑘 ∈ ∅, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)) = (𝑘𝑀𝑙))
3635ifeq2d 4476 . . . . . 6 ((𝑘𝑁𝑙𝑁) → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ ∅, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), (𝑘𝑀𝑙)))
3736mpoeq3ia 7331 . . . . 5 (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ ∅, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), (𝑘𝑀𝑙)))
3837fveq2i 6759 . . . 4 (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ ∅, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), (𝑘𝑀𝑙))))
3932, 38eqtr4di 2797 . . 3 (((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) → (𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ ∅, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))))
40 eqid 2738 . . . . . . 7 (Base‘𝑅) = (Base‘𝑅)
41 eqid 2738 . . . . . . 7 (+g𝑅) = (+g𝑅)
42 eqid 2738 . . . . . . 7 (.r𝑅) = (.r𝑅)
43 simpl1l 1222 . . . . . . 7 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → 𝑅 ∈ CRing)
44 simp1r 1196 . . . . . . . . 9 (((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) → 𝑀𝐵)
4525, 28matrcl 21469 . . . . . . . . . 10 (𝑀𝐵 → (𝑁 ∈ Fin ∧ 𝑅 ∈ V))
4645simpld 494 . . . . . . . . 9 (𝑀𝐵𝑁 ∈ Fin)
4744, 46syl 17 . . . . . . . 8 (((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) → 𝑁 ∈ Fin)
4847adantr 480 . . . . . . 7 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → 𝑁 ∈ Fin)
49 simp1l 1195 . . . . . . . . . . 11 (((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) → 𝑅 ∈ CRing)
5049ad2antrr 722 . . . . . . . . . 10 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → 𝑅 ∈ CRing)
51 crngring 19710 . . . . . . . . . 10 (𝑅 ∈ CRing → 𝑅 ∈ Ring)
5250, 51syl 17 . . . . . . . . 9 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → 𝑅 ∈ Ring)
5340, 30ring0cl 19723 . . . . . . . . 9 (𝑅 ∈ Ring → 0 ∈ (Base‘𝑅))
5452, 53syl 17 . . . . . . . 8 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → 0 ∈ (Base‘𝑅))
55 simpl1r 1223 . . . . . . . . . . 11 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → 𝑀𝐵)
5625, 40, 28matbas2i 21479 . . . . . . . . . . 11 (𝑀𝐵𝑀 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)))
57 elmapi 8595 . . . . . . . . . . 11 (𝑀 ∈ ((Base‘𝑅) ↑m (𝑁 × 𝑁)) → 𝑀:(𝑁 × 𝑁)⟶(Base‘𝑅))
5855, 56, 573syl 18 . . . . . . . . . 10 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → 𝑀:(𝑁 × 𝑁)⟶(Base‘𝑅))
5958adantr 480 . . . . . . . . 9 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → 𝑀:(𝑁 × 𝑁)⟶(Base‘𝑅))
60 eldifi 4057 . . . . . . . . . . . 12 (𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛) → 𝑟 ∈ (𝑁 ∖ {𝐻}))
6160ad2antll 725 . . . . . . . . . . 11 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → 𝑟 ∈ (𝑁 ∖ {𝐻}))
6261eldifad 3895 . . . . . . . . . 10 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → 𝑟𝑁)
6362adantr 480 . . . . . . . . 9 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → 𝑟𝑁)
64 simpr 484 . . . . . . . . 9 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → 𝑙𝑁)
6559, 63, 64fovrnd 7422 . . . . . . . 8 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → (𝑟𝑀𝑙) ∈ (Base‘𝑅))
6654, 65ifcld 4502 . . . . . . 7 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)) ∈ (Base‘𝑅))
6740, 29ringidcl 19722 . . . . . . . . 9 (𝑅 ∈ Ring → 1 ∈ (Base‘𝑅))
6852, 67syl 17 . . . . . . . 8 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → 1 ∈ (Base‘𝑅))
6968, 54ifcld 4502 . . . . . . 7 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → if(𝑙 = 𝐼, 1 , 0 ) ∈ (Base‘𝑅))
70543adant2 1129 . . . . . . . . 9 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) → 0 ∈ (Base‘𝑅))
7158fovrnda 7421 . . . . . . . . . 10 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ (𝑘𝑁𝑙𝑁)) → (𝑘𝑀𝑙) ∈ (Base‘𝑅))
72713impb 1113 . . . . . . . . 9 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) → (𝑘𝑀𝑙) ∈ (Base‘𝑅))
7370, 72ifcld 4502 . . . . . . . 8 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) → if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)) ∈ (Base‘𝑅))
7473, 72ifcld 4502 . . . . . . 7 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) → if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)) ∈ (Base‘𝑅))
75 simpl2 1190 . . . . . . . 8 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → 𝐼𝑁)
7658, 62, 75fovrnd 7422 . . . . . . 7 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → (𝑟𝑀𝐼) ∈ (Base‘𝑅))
77 simpl3 1191 . . . . . . 7 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → 𝐻𝑁)
78 eldifsni 4720 . . . . . . . 8 (𝑟 ∈ (𝑁 ∖ {𝐻}) → 𝑟𝐻)
7961, 78syl 17 . . . . . . 7 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → 𝑟𝐻)
8026, 40, 41, 42, 43, 48, 66, 69, 74, 76, 62, 77, 79mdetero 21667 . . . . . 6 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑟, (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))))
81 ifnot 4508 . . . . . . . . . . . . . . . . 17 if(¬ 𝑙 = 𝐼, (𝑟𝑀𝑙), 0 ) = if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))
8281eqcomi 2747 . . . . . . . . . . . . . . . 16 if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)) = if(¬ 𝑙 = 𝐼, (𝑟𝑀𝑙), 0 )
8382a1i 11 . . . . . . . . . . . . . . 15 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)) = if(¬ 𝑙 = 𝐼, (𝑟𝑀𝑙), 0 ))
84 ovif2 7351 . . . . . . . . . . . . . . . 16 ((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 )) = if(𝑙 = 𝐼, ((𝑟𝑀𝐼)(.r𝑅) 1 ), ((𝑟𝑀𝐼)(.r𝑅) 0 ))
8576adantr 480 . . . . . . . . . . . . . . . . . . . . 21 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → (𝑟𝑀𝐼) ∈ (Base‘𝑅))
8640, 42, 29ringridm 19726 . . . . . . . . . . . . . . . . . . . . 21 ((𝑅 ∈ Ring ∧ (𝑟𝑀𝐼) ∈ (Base‘𝑅)) → ((𝑟𝑀𝐼)(.r𝑅) 1 ) = (𝑟𝑀𝐼))
8752, 85, 86syl2anc 583 . . . . . . . . . . . . . . . . . . . 20 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → ((𝑟𝑀𝐼)(.r𝑅) 1 ) = (𝑟𝑀𝐼))
8887adantr 480 . . . . . . . . . . . . . . . . . . 19 ((((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) ∧ 𝑙 = 𝐼) → ((𝑟𝑀𝐼)(.r𝑅) 1 ) = (𝑟𝑀𝐼))
89 oveq2 7263 . . . . . . . . . . . . . . . . . . . 20 (𝑙 = 𝐼 → (𝑟𝑀𝑙) = (𝑟𝑀𝐼))
9089adantl 481 . . . . . . . . . . . . . . . . . . 19 ((((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) ∧ 𝑙 = 𝐼) → (𝑟𝑀𝑙) = (𝑟𝑀𝐼))
9188, 90eqtr4d 2781 . . . . . . . . . . . . . . . . . 18 ((((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) ∧ 𝑙 = 𝐼) → ((𝑟𝑀𝐼)(.r𝑅) 1 ) = (𝑟𝑀𝑙))
9291ifeq1da 4487 . . . . . . . . . . . . . . . . 17 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → if(𝑙 = 𝐼, ((𝑟𝑀𝐼)(.r𝑅) 1 ), ((𝑟𝑀𝐼)(.r𝑅) 0 )) = if(𝑙 = 𝐼, (𝑟𝑀𝑙), ((𝑟𝑀𝐼)(.r𝑅) 0 )))
9340, 42, 30ringrz 19742 . . . . . . . . . . . . . . . . . . 19 ((𝑅 ∈ Ring ∧ (𝑟𝑀𝐼) ∈ (Base‘𝑅)) → ((𝑟𝑀𝐼)(.r𝑅) 0 ) = 0 )
9452, 85, 93syl2anc 583 . . . . . . . . . . . . . . . . . 18 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → ((𝑟𝑀𝐼)(.r𝑅) 0 ) = 0 )
9594ifeq2d 4476 . . . . . . . . . . . . . . . . 17 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → if(𝑙 = 𝐼, (𝑟𝑀𝑙), ((𝑟𝑀𝐼)(.r𝑅) 0 )) = if(𝑙 = 𝐼, (𝑟𝑀𝑙), 0 ))
9692, 95eqtrd 2778 . . . . . . . . . . . . . . . 16 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → if(𝑙 = 𝐼, ((𝑟𝑀𝐼)(.r𝑅) 1 ), ((𝑟𝑀𝐼)(.r𝑅) 0 )) = if(𝑙 = 𝐼, (𝑟𝑀𝑙), 0 ))
9784, 96eqtrid 2790 . . . . . . . . . . . . . . 15 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → ((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 )) = if(𝑙 = 𝐼, (𝑟𝑀𝑙), 0 ))
9883, 97oveq12d 7273 . . . . . . . . . . . . . 14 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))) = (if(¬ 𝑙 = 𝐼, (𝑟𝑀𝑙), 0 )(+g𝑅)if(𝑙 = 𝐼, (𝑟𝑀𝑙), 0 )))
99 ringmnd 19708 . . . . . . . . . . . . . . . 16 (𝑅 ∈ Ring → 𝑅 ∈ Mnd)
10052, 99syl 17 . . . . . . . . . . . . . . 15 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → 𝑅 ∈ Mnd)
101 id 22 . . . . . . . . . . . . . . . . 17 𝑙 = 𝐼 → ¬ 𝑙 = 𝐼)
102 imnan 399 . . . . . . . . . . . . . . . . 17 ((¬ 𝑙 = 𝐼 → ¬ 𝑙 = 𝐼) ↔ ¬ (¬ 𝑙 = 𝐼𝑙 = 𝐼))
103101, 102mpbi 229 . . . . . . . . . . . . . . . 16 ¬ (¬ 𝑙 = 𝐼𝑙 = 𝐼)
104103a1i 11 . . . . . . . . . . . . . . 15 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → ¬ (¬ 𝑙 = 𝐼𝑙 = 𝐼))
10540, 30, 41mndifsplit 21693 . . . . . . . . . . . . . . 15 ((𝑅 ∈ Mnd ∧ (𝑟𝑀𝑙) ∈ (Base‘𝑅) ∧ ¬ (¬ 𝑙 = 𝐼𝑙 = 𝐼)) → if((¬ 𝑙 = 𝐼𝑙 = 𝐼), (𝑟𝑀𝑙), 0 ) = (if(¬ 𝑙 = 𝐼, (𝑟𝑀𝑙), 0 )(+g𝑅)if(𝑙 = 𝐼, (𝑟𝑀𝑙), 0 )))
106100, 65, 104, 105syl3anc 1369 . . . . . . . . . . . . . 14 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → if((¬ 𝑙 = 𝐼𝑙 = 𝐼), (𝑟𝑀𝑙), 0 ) = (if(¬ 𝑙 = 𝐼, (𝑟𝑀𝑙), 0 )(+g𝑅)if(𝑙 = 𝐼, (𝑟𝑀𝑙), 0 )))
107 pm2.1 893 . . . . . . . . . . . . . . 15 𝑙 = 𝐼𝑙 = 𝐼)
108 iftrue 4462 . . . . . . . . . . . . . . 15 ((¬ 𝑙 = 𝐼𝑙 = 𝐼) → if((¬ 𝑙 = 𝐼𝑙 = 𝐼), (𝑟𝑀𝑙), 0 ) = (𝑟𝑀𝑙))
109107, 108mp1i 13 . . . . . . . . . . . . . 14 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → if((¬ 𝑙 = 𝐼𝑙 = 𝐼), (𝑟𝑀𝑙), 0 ) = (𝑟𝑀𝑙))
11098, 106, 1093eqtr2d 2784 . . . . . . . . . . . . 13 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑙𝑁) → (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))) = (𝑟𝑀𝑙))
1111103adant2 1129 . . . . . . . . . . . 12 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) → (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))) = (𝑟𝑀𝑙))
112 oveq1 7262 . . . . . . . . . . . . 13 (𝑘 = 𝑟 → (𝑘𝑀𝑙) = (𝑟𝑀𝑙))
113112eqeq2d 2749 . . . . . . . . . . . 12 (𝑘 = 𝑟 → ((if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))) = (𝑘𝑀𝑙) ↔ (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))) = (𝑟𝑀𝑙)))
114111, 113syl5ibrcom 246 . . . . . . . . . . 11 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) → (𝑘 = 𝑟 → (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))) = (𝑘𝑀𝑙)))
115114imp 406 . . . . . . . . . 10 ((((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) ∧ 𝑘 = 𝑟) → (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))) = (𝑘𝑀𝑙))
116 iftrue 4462 . . . . . . . . . . 11 (𝑘 = 𝑟 → if(𝑘 = 𝑟, (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))))
117116adantl 481 . . . . . . . . . 10 ((((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) ∧ 𝑘 = 𝑟) → if(𝑘 = 𝑟, (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))))
11879neneqd 2947 . . . . . . . . . . . . . . 15 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → ¬ 𝑟 = 𝐻)
1191183ad2ant1 1131 . . . . . . . . . . . . . 14 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) → ¬ 𝑟 = 𝐻)
120 eqeq1 2742 . . . . . . . . . . . . . . 15 (𝑘 = 𝑟 → (𝑘 = 𝐻𝑟 = 𝐻))
121120notbid 317 . . . . . . . . . . . . . 14 (𝑘 = 𝑟 → (¬ 𝑘 = 𝐻 ↔ ¬ 𝑟 = 𝐻))
122119, 121syl5ibrcom 246 . . . . . . . . . . . . 13 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) → (𝑘 = 𝑟 → ¬ 𝑘 = 𝐻))
123122imp 406 . . . . . . . . . . . 12 ((((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) ∧ 𝑘 = 𝑟) → ¬ 𝑘 = 𝐻)
124123iffalsed 4467 . . . . . . . . . . 11 ((((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) ∧ 𝑘 = 𝑟) → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
125 eldifn 4058 . . . . . . . . . . . . . . . 16 (𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛) → ¬ 𝑟𝑛)
126125ad2antll 725 . . . . . . . . . . . . . . 15 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → ¬ 𝑟𝑛)
1271263ad2ant1 1131 . . . . . . . . . . . . . 14 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) → ¬ 𝑟𝑛)
128 eleq1w 2821 . . . . . . . . . . . . . . 15 (𝑘 = 𝑟 → (𝑘𝑛𝑟𝑛))
129128notbid 317 . . . . . . . . . . . . . 14 (𝑘 = 𝑟 → (¬ 𝑘𝑛 ↔ ¬ 𝑟𝑛))
130127, 129syl5ibrcom 246 . . . . . . . . . . . . 13 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) → (𝑘 = 𝑟 → ¬ 𝑘𝑛))
131130imp 406 . . . . . . . . . . . 12 ((((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) ∧ 𝑘 = 𝑟) → ¬ 𝑘𝑛)
132131iffalsed 4467 . . . . . . . . . . 11 ((((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) ∧ 𝑘 = 𝑟) → if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)) = (𝑘𝑀𝑙))
133124, 132eqtrd 2778 . . . . . . . . . 10 ((((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) ∧ 𝑘 = 𝑟) → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = (𝑘𝑀𝑙))
134115, 117, 1333eqtr4d 2788 . . . . . . . . 9 ((((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) ∧ 𝑘 = 𝑟) → if(𝑘 = 𝑟, (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))
135 iffalse 4465 . . . . . . . . . 10 𝑘 = 𝑟 → if(𝑘 = 𝑟, (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))
136135adantl 481 . . . . . . . . 9 ((((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) ∧ ¬ 𝑘 = 𝑟) → if(𝑘 = 𝑟, (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))
137134, 136pm2.61dan 809 . . . . . . . 8 (((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) ∧ 𝑘𝑁𝑙𝑁) → if(𝑘 = 𝑟, (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))
138137mpoeq3dva 7330 . . . . . . 7 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑟, (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) = (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))
139138fveq2d 6760 . . . . . 6 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑟, (if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙))(+g𝑅)((𝑟𝑀𝐼)(.r𝑅)if(𝑙 = 𝐼, 1 , 0 ))), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))))
140 neeq2 3006 . . . . . . . . . . . . . . 15 (𝑘 = 𝐻 → (𝑟𝑘𝑟𝐻))
141140biimparc 479 . . . . . . . . . . . . . 14 ((𝑟𝐻𝑘 = 𝐻) → 𝑟𝑘)
142141necomd 2998 . . . . . . . . . . . . 13 ((𝑟𝐻𝑘 = 𝐻) → 𝑘𝑟)
143142neneqd 2947 . . . . . . . . . . . 12 ((𝑟𝐻𝑘 = 𝐻) → ¬ 𝑘 = 𝑟)
144143iffalsed 4467 . . . . . . . . . . 11 ((𝑟𝐻𝑘 = 𝐻) → if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑙 = 𝐼, 1 , 0 )) = if(𝑙 = 𝐼, 1 , 0 ))
145 iftrue 4462 . . . . . . . . . . . . 13 (𝑘 = 𝐻 → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑙 = 𝐼, 1 , 0 ))
146145adantl 481 . . . . . . . . . . . 12 ((𝑟𝐻𝑘 = 𝐻) → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑙 = 𝐼, 1 , 0 ))
147146ifeq2d 4476 . . . . . . . . . . 11 ((𝑟𝐻𝑘 = 𝐻) → if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑙 = 𝐼, 1 , 0 )))
148 iftrue 4462 . . . . . . . . . . . 12 (𝑘 = 𝐻 → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑙 = 𝐼, 1 , 0 ))
149148adantl 481 . . . . . . . . . . 11 ((𝑟𝐻𝑘 = 𝐻) → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑙 = 𝐼, 1 , 0 ))
150144, 147, 1493eqtr4d 2788 . . . . . . . . . 10 ((𝑟𝐻𝑘 = 𝐻) → if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))
151112ifeq2d 4476 . . . . . . . . . . . . . 14 (𝑘 = 𝑟 → if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)) = if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)))
152 vsnid 4595 . . . . . . . . . . . . . . . . 17 𝑟 ∈ {𝑟}
153 elun2 4107 . . . . . . . . . . . . . . . . 17 (𝑟 ∈ {𝑟} → 𝑟 ∈ (𝑛 ∪ {𝑟}))
154152, 153ax-mp 5 . . . . . . . . . . . . . . . 16 𝑟 ∈ (𝑛 ∪ {𝑟})
155 eleq1w 2821 . . . . . . . . . . . . . . . 16 (𝑘 = 𝑟 → (𝑘 ∈ (𝑛 ∪ {𝑟}) ↔ 𝑟 ∈ (𝑛 ∪ {𝑟})))
156154, 155mpbiri 257 . . . . . . . . . . . . . . 15 (𝑘 = 𝑟𝑘 ∈ (𝑛 ∪ {𝑟}))
157156iftrued 4464 . . . . . . . . . . . . . 14 (𝑘 = 𝑟 → if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)) = if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)))
158 iftrue 4462 . . . . . . . . . . . . . 14 (𝑘 = 𝑟 → if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)))
159151, 157, 1583eqtr4rd 2789 . . . . . . . . . . . . 13 (𝑘 = 𝑟 → if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
160159adantl 481 . . . . . . . . . . . 12 (((𝑟𝐻 ∧ ¬ 𝑘 = 𝐻) ∧ 𝑘 = 𝑟) → if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
161 iffalse 4465 . . . . . . . . . . . . . 14 𝑘 = 𝑟 → if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
162 orc 863 . . . . . . . . . . . . . . . . 17 (𝑘𝑛 → (𝑘𝑛𝑘 = 𝑟))
163 orel2 887 . . . . . . . . . . . . . . . . 17 𝑘 = 𝑟 → ((𝑘𝑛𝑘 = 𝑟) → 𝑘𝑛))
164162, 163impbid2 225 . . . . . . . . . . . . . . . 16 𝑘 = 𝑟 → (𝑘𝑛 ↔ (𝑘𝑛𝑘 = 𝑟)))
165 elun 4079 . . . . . . . . . . . . . . . . 17 (𝑘 ∈ (𝑛 ∪ {𝑟}) ↔ (𝑘𝑛𝑘 ∈ {𝑟}))
166 velsn 4574 . . . . . . . . . . . . . . . . . 18 (𝑘 ∈ {𝑟} ↔ 𝑘 = 𝑟)
167166orbi2i 909 . . . . . . . . . . . . . . . . 17 ((𝑘𝑛𝑘 ∈ {𝑟}) ↔ (𝑘𝑛𝑘 = 𝑟))
168165, 167bitr2i 275 . . . . . . . . . . . . . . . 16 ((𝑘𝑛𝑘 = 𝑟) ↔ 𝑘 ∈ (𝑛 ∪ {𝑟}))
169164, 168bitrdi 286 . . . . . . . . . . . . . . 15 𝑘 = 𝑟 → (𝑘𝑛𝑘 ∈ (𝑛 ∪ {𝑟})))
170169ifbid 4479 . . . . . . . . . . . . . 14 𝑘 = 𝑟 → if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)) = if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
171161, 170eqtrd 2778 . . . . . . . . . . . . 13 𝑘 = 𝑟 → if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
172171adantl 481 . . . . . . . . . . . 12 (((𝑟𝐻 ∧ ¬ 𝑘 = 𝐻) ∧ ¬ 𝑘 = 𝑟) → if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
173160, 172pm2.61dan 809 . . . . . . . . . . 11 ((𝑟𝐻 ∧ ¬ 𝑘 = 𝐻) → if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
174 iffalse 4465 . . . . . . . . . . . . 13 𝑘 = 𝐻 → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
175174ifeq2d 4476 . . . . . . . . . . . 12 𝑘 = 𝐻 → if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))
176175adantl 481 . . . . . . . . . . 11 ((𝑟𝐻 ∧ ¬ 𝑘 = 𝐻) → if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))
177 iffalse 4465 . . . . . . . . . . . 12 𝑘 = 𝐻 → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
178177adantl 481 . . . . . . . . . . 11 ((𝑟𝐻 ∧ ¬ 𝑘 = 𝐻) → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
179173, 176, 1783eqtr4d 2788 . . . . . . . . . 10 ((𝑟𝐻 ∧ ¬ 𝑘 = 𝐻) → if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))
180150, 179pm2.61dan 809 . . . . . . . . 9 (𝑟𝐻 → if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))
181180mpoeq3dv 7332 . . . . . . . 8 (𝑟𝐻 → (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) = (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))
182181fveq2d 6760 . . . . . . 7 (𝑟𝐻 → (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))))
18379, 182syl 17 . . . . . 6 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝑟, if(𝑙 = 𝐼, 0 , (𝑟𝑀𝑙)), if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))))
18480, 139, 1833eqtr3d 2786 . . . . 5 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))))
185184eqeq2d 2749 . . . 4 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → ((𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) ↔ (𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))))
186185biimpd 228 . . 3 ((((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) ∧ (𝑛 ⊆ (𝑁 ∖ {𝐻}) ∧ 𝑟 ∈ ((𝑁 ∖ {𝐻}) ∖ 𝑛))) → ((𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘𝑛, if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) → (𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑛 ∪ {𝑟}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))))))
187 difss 4062 . . . 4 (𝑁 ∖ {𝐻}) ⊆ 𝑁
188 ssfi 8918 . . . 4 ((𝑁 ∈ Fin ∧ (𝑁 ∖ {𝐻}) ⊆ 𝑁) → (𝑁 ∖ {𝐻}) ∈ Fin)
18947, 187, 188sylancl 585 . . 3 (((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) → (𝑁 ∖ {𝐻}) ∈ Fin)
1906, 12, 18, 24, 39, 186, 189findcard2d 8911 . 2 (((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) → (𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))))
191 iba 527 . . . . . . . 8 (𝑘 = 𝐻 → (𝑙 = 𝐼 ↔ (𝑙 = 𝐼𝑘 = 𝐻)))
192191ifbid 4479 . . . . . . 7 (𝑘 = 𝐻 → if(𝑙 = 𝐼, 1 , 0 ) = if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ))
193 iftrue 4462 . . . . . . 7 (𝑘 = 𝐻 → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑙 = 𝐼, 1 , 0 ))
194 iftrue 4462 . . . . . . . 8 ((𝑘 = 𝐻𝑙 = 𝐼) → if((𝑘 = 𝐻𝑙 = 𝐼), if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ), (𝑘𝑀𝑙)) = if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ))
195194orcs 871 . . . . . . 7 (𝑘 = 𝐻 → if((𝑘 = 𝐻𝑙 = 𝐼), if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ), (𝑘𝑀𝑙)) = if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ))
196192, 193, 1953eqtr4d 2788 . . . . . 6 (𝑘 = 𝐻 → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if((𝑘 = 𝐻𝑙 = 𝐼), if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ), (𝑘𝑀𝑙)))
197196adantl 481 . . . . 5 (((𝑘𝑁𝑙𝑁) ∧ 𝑘 = 𝐻) → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if((𝑘 = 𝐻𝑙 = 𝐼), if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ), (𝑘𝑀𝑙)))
198 iffalse 4465 . . . . . . 7 𝑘 = 𝐻 → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
199198adantl 481 . . . . . 6 (((𝑘𝑁𝑙𝑁) ∧ ¬ 𝑘 = 𝐻) → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))
200 neqne 2950 . . . . . . . . . 10 𝑘 = 𝐻𝑘𝐻)
201200anim2i 616 . . . . . . . . 9 ((𝑘𝑁 ∧ ¬ 𝑘 = 𝐻) → (𝑘𝑁𝑘𝐻))
202201adantlr 711 . . . . . . . 8 (((𝑘𝑁𝑙𝑁) ∧ ¬ 𝑘 = 𝐻) → (𝑘𝑁𝑘𝐻))
203 eldifsn 4717 . . . . . . . 8 (𝑘 ∈ (𝑁 ∖ {𝐻}) ↔ (𝑘𝑁𝑘𝐻))
204202, 203sylibr 233 . . . . . . 7 (((𝑘𝑁𝑙𝑁) ∧ ¬ 𝑘 = 𝐻) → 𝑘 ∈ (𝑁 ∖ {𝐻}))
205204iftrued 4464 . . . . . 6 (((𝑘𝑁𝑙𝑁) ∧ ¬ 𝑘 = 𝐻) → if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)) = if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)))
206 biorf 933 . . . . . . . 8 𝑘 = 𝐻 → (𝑙 = 𝐼 ↔ (𝑘 = 𝐻𝑙 = 𝐼)))
207 id 22 . . . . . . . . . . 11 𝑘 = 𝐻 → ¬ 𝑘 = 𝐻)
208207intnand 488 . . . . . . . . . 10 𝑘 = 𝐻 → ¬ (𝑙 = 𝐼𝑘 = 𝐻))
209208iffalsed 4467 . . . . . . . . 9 𝑘 = 𝐻 → if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ) = 0 )
210209eqcomd 2744 . . . . . . . 8 𝑘 = 𝐻0 = if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ))
211206, 210ifbieq1d 4480 . . . . . . 7 𝑘 = 𝐻 → if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)) = if((𝑘 = 𝐻𝑙 = 𝐼), if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ), (𝑘𝑀𝑙)))
212211adantl 481 . . . . . 6 (((𝑘𝑁𝑙𝑁) ∧ ¬ 𝑘 = 𝐻) → if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)) = if((𝑘 = 𝐻𝑙 = 𝐼), if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ), (𝑘𝑀𝑙)))
213199, 205, 2123eqtrd 2782 . . . . 5 (((𝑘𝑁𝑙𝑁) ∧ ¬ 𝑘 = 𝐻) → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if((𝑘 = 𝐻𝑙 = 𝐼), if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ), (𝑘𝑀𝑙)))
214197, 213pm2.61dan 809 . . . 4 ((𝑘𝑁𝑙𝑁) → if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))) = if((𝑘 = 𝐻𝑙 = 𝐼), if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ), (𝑘𝑀𝑙)))
215214mpoeq3ia 7331 . . 3 (𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙)))) = (𝑘𝑁, 𝑙𝑁 ↦ if((𝑘 = 𝐻𝑙 = 𝐼), if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ), (𝑘𝑀𝑙)))
216215fveq2i 6759 . 2 (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if(𝑘 = 𝐻, if(𝑙 = 𝐼, 1 , 0 ), if(𝑘 ∈ (𝑁 ∖ {𝐻}), if(𝑙 = 𝐼, 0 , (𝑘𝑀𝑙)), (𝑘𝑀𝑙))))) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if((𝑘 = 𝐻𝑙 = 𝐼), if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ), (𝑘𝑀𝑙))))
217190, 216eqtrdi 2795 1 (((𝑅 ∈ CRing ∧ 𝑀𝐵) ∧ 𝐼𝑁𝐻𝑁) → (𝐼(𝐽𝑀)𝐻) = (𝐷‘(𝑘𝑁, 𝑙𝑁 ↦ if((𝑘 = 𝐻𝑙 = 𝐼), if((𝑙 = 𝐼𝑘 = 𝐻), 1 , 0 ), (𝑘𝑀𝑙)))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  wo 843  w3a 1085   = wceq 1539  wcel 2108  wne 2942  Vcvv 3422  cdif 3880  cun 3881  wss 3883  c0 4253  ifcif 4456  {csn 4558   × cxp 5578  wf 6414  cfv 6418  (class class class)co 7255  cmpo 7257  m cmap 8573  Fincfn 8691  Basecbs 16840  +gcplusg 16888  .rcmulr 16889  0gc0g 17067  Mndcmnd 18300  1rcur 19652  Ringcrg 19698  CRingccrg 19699   Mat cmat 21464   maDet cmdat 21641   maAdju cmadu 21689
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879  ax-addf 10881  ax-mulf 10882
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-xor 1504  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-ot 4567  df-uni 4837  df-int 4877  df-iun 4923  df-iin 4924  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-of 7511  df-om 7688  df-1st 7804  df-2nd 7805  df-supp 7949  df-tpos 8013  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-2o 8268  df-er 8456  df-map 8575  df-pm 8576  df-ixp 8644  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-fsupp 9059  df-sup 9131  df-oi 9199  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-div 11563  df-nn 11904  df-2 11966  df-3 11967  df-4 11968  df-5 11969  df-6 11970  df-7 11971  df-8 11972  df-9 11973  df-n0 12164  df-xnn0 12236  df-z 12250  df-dec 12367  df-uz 12512  df-rp 12660  df-fz 13169  df-fzo 13312  df-seq 13650  df-exp 13711  df-hash 13973  df-word 14146  df-lsw 14194  df-concat 14202  df-s1 14229  df-substr 14282  df-pfx 14312  df-splice 14391  df-reverse 14400  df-s2 14489  df-struct 16776  df-sets 16793  df-slot 16811  df-ndx 16823  df-base 16841  df-ress 16868  df-plusg 16901  df-mulr 16902  df-starv 16903  df-sca 16904  df-vsca 16905  df-ip 16906  df-tset 16907  df-ple 16908  df-ds 16910  df-unif 16911  df-hom 16912  df-cco 16913  df-0g 17069  df-gsum 17070  df-prds 17075  df-pws 17077  df-mre 17212  df-mrc 17213  df-acs 17215  df-mgm 18241  df-sgrp 18290  df-mnd 18301  df-mhm 18345  df-submnd 18346  df-efmnd 18423  df-grp 18495  df-minusg 18496  df-mulg 18616  df-subg 18667  df-ghm 18747  df-gim 18790  df-cntz 18838  df-oppg 18865  df-symg 18890  df-pmtr 18965  df-psgn 19014  df-evpm 19015  df-cmn 19303  df-abl 19304  df-mgp 19636  df-ur 19653  df-ring 19700  df-cring 19701  df-oppr 19777  df-dvdsr 19798  df-unit 19799  df-invr 19829  df-dvr 19840  df-rnghom 19874  df-drng 19908  df-subrg 19937  df-sra 20349  df-rgmod 20350  df-cnfld 20511  df-zring 20583  df-zrh 20617  df-dsmm 20849  df-frlm 20864  df-mat 21465  df-mdet 21642  df-madu 21691
This theorem is referenced by:  madutpos  21699
  Copyright terms: Public domain W3C validator