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

Theorem gsum2dlem2 19581
Description: Lemma for gsum2d 19582. (Contributed by Mario Carneiro, 28-Dec-2014.) (Revised by AV, 8-Jun-2019.)
Hypotheses
Ref Expression
gsum2d.b 𝐵 = (Base‘𝐺)
gsum2d.z 0 = (0g𝐺)
gsum2d.g (𝜑𝐺 ∈ CMnd)
gsum2d.a (𝜑𝐴𝑉)
gsum2d.r (𝜑 → Rel 𝐴)
gsum2d.d (𝜑𝐷𝑊)
gsum2d.s (𝜑 → dom 𝐴𝐷)
gsum2d.f (𝜑𝐹:𝐴𝐵)
gsum2d.w (𝜑𝐹 finSupp 0 )
Assertion
Ref Expression
gsum2dlem2 (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ dom (𝐹 supp 0 )))) = (𝐺 Σg (𝑗 ∈ dom (𝐹 supp 0 ) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))
Distinct variable groups:   𝑗,𝑘,𝐴   𝑗,𝐹,𝑘   𝑗,𝐺,𝑘   𝜑,𝑗,𝑘   𝐵,𝑗,𝑘   𝐷,𝑗,𝑘   0 ,𝑗,𝑘
Allowed substitution hints:   𝑉(𝑗,𝑘)   𝑊(𝑗,𝑘)

Proof of Theorem gsum2dlem2
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 gsum2d.w . . . 4 (𝜑𝐹 finSupp 0 )
21fsuppimpd 9144 . . 3 (𝜑 → (𝐹 supp 0 ) ∈ Fin)
3 dmfi 9106 . . 3 ((𝐹 supp 0 ) ∈ Fin → dom (𝐹 supp 0 ) ∈ Fin)
42, 3syl 17 . 2 (𝜑 → dom (𝐹 supp 0 ) ∈ Fin)
5 reseq2 5889 . . . . . . . . 9 (𝑥 = ∅ → (𝐴𝑥) = (𝐴 ↾ ∅))
6 res0 5898 . . . . . . . . 9 (𝐴 ↾ ∅) = ∅
75, 6eqtrdi 2795 . . . . . . . 8 (𝑥 = ∅ → (𝐴𝑥) = ∅)
87reseq2d 5894 . . . . . . 7 (𝑥 = ∅ → (𝐹 ↾ (𝐴𝑥)) = (𝐹 ↾ ∅))
9 res0 5898 . . . . . . 7 (𝐹 ↾ ∅) = ∅
108, 9eqtrdi 2795 . . . . . 6 (𝑥 = ∅ → (𝐹 ↾ (𝐴𝑥)) = ∅)
1110oveq2d 7300 . . . . 5 (𝑥 = ∅ → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg ∅))
12 mpteq1 5168 . . . . . . 7 (𝑥 = ∅ → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = (𝑗 ∈ ∅ ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))
13 mpt0 6584 . . . . . . 7 (𝑗 ∈ ∅ ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = ∅
1412, 13eqtrdi 2795 . . . . . 6 (𝑥 = ∅ → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = ∅)
1514oveq2d 7300 . . . . 5 (𝑥 = ∅ → (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = (𝐺 Σg ∅))
1611, 15eqeq12d 2755 . . . 4 (𝑥 = ∅ → ((𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) ↔ (𝐺 Σg ∅) = (𝐺 Σg ∅)))
1716imbi2d 341 . . 3 (𝑥 = ∅ → ((𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) ↔ (𝜑 → (𝐺 Σg ∅) = (𝐺 Σg ∅))))
18 reseq2 5889 . . . . . . 7 (𝑥 = 𝑦 → (𝐴𝑥) = (𝐴𝑦))
1918reseq2d 5894 . . . . . 6 (𝑥 = 𝑦 → (𝐹 ↾ (𝐴𝑥)) = (𝐹 ↾ (𝐴𝑦)))
2019oveq2d 7300 . . . . 5 (𝑥 = 𝑦 → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝐹 ↾ (𝐴𝑦))))
21 mpteq1 5168 . . . . . 6 (𝑥 = 𝑦 → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))
2221oveq2d 7300 . . . . 5 (𝑥 = 𝑦 → (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))
2320, 22eqeq12d 2755 . . . 4 (𝑥 = 𝑦 → ((𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) ↔ (𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))))
2423imbi2d 341 . . 3 (𝑥 = 𝑦 → ((𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) ↔ (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))))
25 reseq2 5889 . . . . . . 7 (𝑥 = (𝑦 ∪ {𝑧}) → (𝐴𝑥) = (𝐴 ↾ (𝑦 ∪ {𝑧})))
2625reseq2d 5894 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → (𝐹 ↾ (𝐴𝑥)) = (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))))
2726oveq2d 7300 . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))))
28 mpteq1 5168 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))
2928oveq2d 7300 . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))
3027, 29eqeq12d 2755 . . . 4 (𝑥 = (𝑦 ∪ {𝑧}) → ((𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) ↔ (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))))
3130imbi2d 341 . . 3 (𝑥 = (𝑦 ∪ {𝑧}) → ((𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) ↔ (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))))
32 reseq2 5889 . . . . . . 7 (𝑥 = dom (𝐹 supp 0 ) → (𝐴𝑥) = (𝐴 ↾ dom (𝐹 supp 0 )))
3332reseq2d 5894 . . . . . 6 (𝑥 = dom (𝐹 supp 0 ) → (𝐹 ↾ (𝐴𝑥)) = (𝐹 ↾ (𝐴 ↾ dom (𝐹 supp 0 ))))
3433oveq2d 7300 . . . . 5 (𝑥 = dom (𝐹 supp 0 ) → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ dom (𝐹 supp 0 )))))
35 mpteq1 5168 . . . . . 6 (𝑥 = dom (𝐹 supp 0 ) → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = (𝑗 ∈ dom (𝐹 supp 0 ) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))
3635oveq2d 7300 . . . . 5 (𝑥 = dom (𝐹 supp 0 ) → (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = (𝐺 Σg (𝑗 ∈ dom (𝐹 supp 0 ) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))
3734, 36eqeq12d 2755 . . . 4 (𝑥 = dom (𝐹 supp 0 ) → ((𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) ↔ (𝐺 Σg (𝐹 ↾ (𝐴 ↾ dom (𝐹 supp 0 )))) = (𝐺 Σg (𝑗 ∈ dom (𝐹 supp 0 ) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))))
3837imbi2d 341 . . 3 (𝑥 = dom (𝐹 supp 0 ) → ((𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) ↔ (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ dom (𝐹 supp 0 )))) = (𝐺 Σg (𝑗 ∈ dom (𝐹 supp 0 ) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))))
39 eqidd 2740 . . 3 (𝜑 → (𝐺 Σg ∅) = (𝐺 Σg ∅))
40 oveq1 7291 . . . . . 6 ((𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) → ((𝐺 Σg (𝐹 ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
41 gsum2d.b . . . . . . . . 9 𝐵 = (Base‘𝐺)
42 gsum2d.z . . . . . . . . 9 0 = (0g𝐺)
43 eqid 2739 . . . . . . . . 9 (+g𝐺) = (+g𝐺)
44 gsum2d.g . . . . . . . . . 10 (𝜑𝐺 ∈ CMnd)
4544adantr 481 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → 𝐺 ∈ CMnd)
46 gsum2d.a . . . . . . . . . . 11 (𝜑𝐴𝑉)
4746resexd 5941 . . . . . . . . . 10 (𝜑 → (𝐴 ↾ (𝑦 ∪ {𝑧})) ∈ V)
4847adantr 481 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐴 ↾ (𝑦 ∪ {𝑧})) ∈ V)
49 gsum2d.f . . . . . . . . . . 11 (𝜑𝐹:𝐴𝐵)
50 resss 5919 . . . . . . . . . . 11 (𝐴 ↾ (𝑦 ∪ {𝑧})) ⊆ 𝐴
51 fssres 6649 . . . . . . . . . . 11 ((𝐹:𝐴𝐵 ∧ (𝐴 ↾ (𝑦 ∪ {𝑧})) ⊆ 𝐴) → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))):(𝐴 ↾ (𝑦 ∪ {𝑧}))⟶𝐵)
5249, 50, 51sylancl 586 . . . . . . . . . 10 (𝜑 → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))):(𝐴 ↾ (𝑦 ∪ {𝑧}))⟶𝐵)
5352adantr 481 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))):(𝐴 ↾ (𝑦 ∪ {𝑧}))⟶𝐵)
5449ffund 6613 . . . . . . . . . . . 12 (𝜑 → Fun 𝐹)
5554funresd 6484 . . . . . . . . . . 11 (𝜑 → Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))))
5655adantr 481 . . . . . . . . . 10 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))))
572adantr 481 . . . . . . . . . . 11 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐹 supp 0 ) ∈ Fin)
5849, 46fexd 7112 . . . . . . . . . . . . 13 (𝜑𝐹 ∈ V)
5942fvexi 6797 . . . . . . . . . . . . 13 0 ∈ V
60 ressuppss 8008 . . . . . . . . . . . . 13 ((𝐹 ∈ V ∧ 0 ∈ V) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ⊆ (𝐹 supp 0 ))
6158, 59, 60sylancl 586 . . . . . . . . . . . 12 (𝜑 → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ⊆ (𝐹 supp 0 ))
6261adantr 481 . . . . . . . . . . 11 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ⊆ (𝐹 supp 0 ))
6357, 62ssfid 9051 . . . . . . . . . 10 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ∈ Fin)
6458resexd 5941 . . . . . . . . . . . 12 (𝜑 → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∈ V)
65 isfsupp 9141 . . . . . . . . . . . 12 (((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∈ V ∧ 0 ∈ V) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) finSupp 0 ↔ (Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∧ ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ∈ Fin)))
6664, 59, 65sylancl 586 . . . . . . . . . . 11 (𝜑 → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) finSupp 0 ↔ (Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∧ ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ∈ Fin)))
6766adantr 481 . . . . . . . . . 10 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) finSupp 0 ↔ (Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∧ ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ∈ Fin)))
6856, 63, 67mpbir2and 710 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) finSupp 0 )
69 simprr 770 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ¬ 𝑧𝑦)
70 disjsn 4648 . . . . . . . . . . . 12 ((𝑦 ∩ {𝑧}) = ∅ ↔ ¬ 𝑧𝑦)
7169, 70sylibr 233 . . . . . . . . . . 11 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝑦 ∩ {𝑧}) = ∅)
7271reseq2d 5894 . . . . . . . . . 10 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐴 ↾ (𝑦 ∩ {𝑧})) = (𝐴 ↾ ∅))
73 resindi 5910 . . . . . . . . . 10 (𝐴 ↾ (𝑦 ∩ {𝑧})) = ((𝐴𝑦) ∩ (𝐴 ↾ {𝑧}))
7472, 73, 63eqtr3g 2802 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐴𝑦) ∩ (𝐴 ↾ {𝑧})) = ∅)
75 resundi 5908 . . . . . . . . . 10 (𝐴 ↾ (𝑦 ∪ {𝑧})) = ((𝐴𝑦) ∪ (𝐴 ↾ {𝑧}))
7675a1i 11 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐴 ↾ (𝑦 ∪ {𝑧})) = ((𝐴𝑦) ∪ (𝐴 ↾ {𝑧})))
7741, 42, 43, 45, 48, 53, 68, 74, 76gsumsplit 19538 . . . . . . . 8 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = ((𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧})))))
78 ssun1 4107 . . . . . . . . . . 11 𝑦 ⊆ (𝑦 ∪ {𝑧})
79 ssres2 5922 . . . . . . . . . . 11 (𝑦 ⊆ (𝑦 ∪ {𝑧}) → (𝐴𝑦) ⊆ (𝐴 ↾ (𝑦 ∪ {𝑧})))
80 resabs1 5924 . . . . . . . . . . 11 ((𝐴𝑦) ⊆ (𝐴 ↾ (𝑦 ∪ {𝑧})) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦)) = (𝐹 ↾ (𝐴𝑦)))
8178, 79, 80mp2b 10 . . . . . . . . . 10 ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦)) = (𝐹 ↾ (𝐴𝑦))
8281oveq2i 7295 . . . . . . . . 9 (𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦))) = (𝐺 Σg (𝐹 ↾ (𝐴𝑦)))
83 ssun2 4108 . . . . . . . . . . 11 {𝑧} ⊆ (𝑦 ∪ {𝑧})
84 ssres2 5922 . . . . . . . . . . 11 ({𝑧} ⊆ (𝑦 ∪ {𝑧}) → (𝐴 ↾ {𝑧}) ⊆ (𝐴 ↾ (𝑦 ∪ {𝑧})))
85 resabs1 5924 . . . . . . . . . . 11 ((𝐴 ↾ {𝑧}) ⊆ (𝐴 ↾ (𝑦 ∪ {𝑧})) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧})) = (𝐹 ↾ (𝐴 ↾ {𝑧})))
8683, 84, 85mp2b 10 . . . . . . . . . 10 ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧})) = (𝐹 ↾ (𝐴 ↾ {𝑧}))
8786oveq2i 7295 . . . . . . . . 9 (𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧}))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))
8882, 87oveq12i 7296 . . . . . . . 8 ((𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧})))) = ((𝐺 Σg (𝐹 ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))
8977, 88eqtrdi 2795 . . . . . . 7 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = ((𝐺 Σg (𝐹 ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
90 simprl 768 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → 𝑦 ∈ Fin)
91 gsum2d.r . . . . . . . . . . 11 (𝜑 → Rel 𝐴)
92 gsum2d.d . . . . . . . . . . 11 (𝜑𝐷𝑊)
93 gsum2d.s . . . . . . . . . . 11 (𝜑 → dom 𝐴𝐷)
9441, 42, 44, 46, 91, 92, 93, 49, 1gsum2dlem1 19580 . . . . . . . . . 10 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) ∈ 𝐵)
9594ad2antrr 723 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) ∧ 𝑗𝑦) → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) ∈ 𝐵)
96 vex 3437 . . . . . . . . . 10 𝑧 ∈ V
9796a1i 11 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → 𝑧 ∈ V)
98 sneq 4572 . . . . . . . . . . . . . . . 16 (𝑗 = 𝑧 → {𝑗} = {𝑧})
9998imaeq2d 5972 . . . . . . . . . . . . . . 15 (𝑗 = 𝑧 → (𝐴 “ {𝑗}) = (𝐴 “ {𝑧}))
100 oveq1 7291 . . . . . . . . . . . . . . 15 (𝑗 = 𝑧 → (𝑗𝐹𝑘) = (𝑧𝐹𝑘))
10199, 100mpteq12dv 5166 . . . . . . . . . . . . . 14 (𝑗 = 𝑧 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) = (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘)))
102101oveq2d 7300 . . . . . . . . . . . . 13 (𝑗 = 𝑧 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))))
103102eleq1d 2824 . . . . . . . . . . . 12 (𝑗 = 𝑧 → ((𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) ∈ 𝐵 ↔ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) ∈ 𝐵))
104103imbi2d 341 . . . . . . . . . . 11 (𝑗 = 𝑧 → ((𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) ∈ 𝐵) ↔ (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) ∈ 𝐵)))
105104, 94chvarvv 2003 . . . . . . . . . 10 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) ∈ 𝐵)
106105adantr 481 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) ∈ 𝐵)
10741, 43, 45, 90, 95, 97, 69, 106, 102gsumunsn 19570 . . . . . . . 8 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘)))))
10898reseq2d 5894 . . . . . . . . . . . . . . 15 (𝑗 = 𝑧 → (𝐴 ↾ {𝑗}) = (𝐴 ↾ {𝑧}))
109108reseq2d 5894 . . . . . . . . . . . . . 14 (𝑗 = 𝑧 → (𝐹 ↾ (𝐴 ↾ {𝑗})) = (𝐹 ↾ (𝐴 ↾ {𝑧})))
110109oveq2d 7300 . . . . . . . . . . . . 13 (𝑗 = 𝑧 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗}))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))
111102, 110eqeq12d 2755 . . . . . . . . . . . 12 (𝑗 = 𝑧 → ((𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗}))) ↔ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
112111imbi2d 341 . . . . . . . . . . 11 (𝑗 = 𝑧 → ((𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗})))) ↔ (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))))
113 imaexg 7771 . . . . . . . . . . . . . 14 (𝐴𝑉 → (𝐴 “ {𝑗}) ∈ V)
11446, 113syl 17 . . . . . . . . . . . . 13 (𝜑 → (𝐴 “ {𝑗}) ∈ V)
115 vex 3437 . . . . . . . . . . . . . . . 16 𝑗 ∈ V
116 vex 3437 . . . . . . . . . . . . . . . 16 𝑘 ∈ V
117115, 116elimasn 6000 . . . . . . . . . . . . . . 15 (𝑘 ∈ (𝐴 “ {𝑗}) ↔ ⟨𝑗, 𝑘⟩ ∈ 𝐴)
118 df-ov 7287 . . . . . . . . . . . . . . . 16 (𝑗𝐹𝑘) = (𝐹‘⟨𝑗, 𝑘⟩)
11949ffvelrnda 6970 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ ⟨𝑗, 𝑘⟩ ∈ 𝐴) → (𝐹‘⟨𝑗, 𝑘⟩) ∈ 𝐵)
120118, 119eqeltrid 2844 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ⟨𝑗, 𝑘⟩ ∈ 𝐴) → (𝑗𝐹𝑘) ∈ 𝐵)
121117, 120sylan2b 594 . . . . . . . . . . . . . 14 ((𝜑𝑘 ∈ (𝐴 “ {𝑗})) → (𝑗𝐹𝑘) ∈ 𝐵)
122121fmpttd 6998 . . . . . . . . . . . . 13 (𝜑 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)):(𝐴 “ {𝑗})⟶𝐵)
123 funmpt 6479 . . . . . . . . . . . . . . 15 Fun (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))
124123a1i 11 . . . . . . . . . . . . . 14 (𝜑 → Fun (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))
125 rnfi 9111 . . . . . . . . . . . . . . . 16 ((𝐹 supp 0 ) ∈ Fin → ran (𝐹 supp 0 ) ∈ Fin)
1262, 125syl 17 . . . . . . . . . . . . . . 15 (𝜑 → ran (𝐹 supp 0 ) ∈ Fin)
127117biimpi 215 . . . . . . . . . . . . . . . . . . 19 (𝑘 ∈ (𝐴 “ {𝑗}) → ⟨𝑗, 𝑘⟩ ∈ 𝐴)
128115, 116opelrn 5855 . . . . . . . . . . . . . . . . . . . 20 (⟨𝑗, 𝑘⟩ ∈ (𝐹 supp 0 ) → 𝑘 ∈ ran (𝐹 supp 0 ))
129128con3i 154 . . . . . . . . . . . . . . . . . . 19 𝑘 ∈ ran (𝐹 supp 0 ) → ¬ ⟨𝑗, 𝑘⟩ ∈ (𝐹 supp 0 ))
130127, 129anim12i 613 . . . . . . . . . . . . . . . . . 18 ((𝑘 ∈ (𝐴 “ {𝑗}) ∧ ¬ 𝑘 ∈ ran (𝐹 supp 0 )) → (⟨𝑗, 𝑘⟩ ∈ 𝐴 ∧ ¬ ⟨𝑗, 𝑘⟩ ∈ (𝐹 supp 0 )))
131 eldif 3898 . . . . . . . . . . . . . . . . . 18 (𝑘 ∈ ((𝐴 “ {𝑗}) ∖ ran (𝐹 supp 0 )) ↔ (𝑘 ∈ (𝐴 “ {𝑗}) ∧ ¬ 𝑘 ∈ ran (𝐹 supp 0 )))
132 eldif 3898 . . . . . . . . . . . . . . . . . 18 (⟨𝑗, 𝑘⟩ ∈ (𝐴 ∖ (𝐹 supp 0 )) ↔ (⟨𝑗, 𝑘⟩ ∈ 𝐴 ∧ ¬ ⟨𝑗, 𝑘⟩ ∈ (𝐹 supp 0 )))
133130, 131, 1323imtr4i 292 . . . . . . . . . . . . . . . . 17 (𝑘 ∈ ((𝐴 “ {𝑗}) ∖ ran (𝐹 supp 0 )) → ⟨𝑗, 𝑘⟩ ∈ (𝐴 ∖ (𝐹 supp 0 )))
134 ssidd 3945 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝐹 supp 0 ) ⊆ (𝐹 supp 0 ))
13559a1i 11 . . . . . . . . . . . . . . . . . . 19 (𝜑0 ∈ V)
13649, 134, 46, 135suppssr 8021 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ⟨𝑗, 𝑘⟩ ∈ (𝐴 ∖ (𝐹 supp 0 ))) → (𝐹‘⟨𝑗, 𝑘⟩) = 0 )
137118, 136eqtrid 2791 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ ⟨𝑗, 𝑘⟩ ∈ (𝐴 ∖ (𝐹 supp 0 ))) → (𝑗𝐹𝑘) = 0 )
138133, 137sylan2 593 . . . . . . . . . . . . . . . 16 ((𝜑𝑘 ∈ ((𝐴 “ {𝑗}) ∖ ran (𝐹 supp 0 ))) → (𝑗𝐹𝑘) = 0 )
139138, 114suppss2 8025 . . . . . . . . . . . . . . 15 (𝜑 → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) supp 0 ) ⊆ ran (𝐹 supp 0 ))
140126, 139ssfid 9051 . . . . . . . . . . . . . 14 (𝜑 → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) supp 0 ) ∈ Fin)
141114mptexd 7109 . . . . . . . . . . . . . . 15 (𝜑 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∈ V)
142 isfsupp 9141 . . . . . . . . . . . . . . 15 (((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∈ V ∧ 0 ∈ V) → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) finSupp 0 ↔ (Fun (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∧ ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) supp 0 ) ∈ Fin)))
143141, 59, 142sylancl 586 . . . . . . . . . . . . . 14 (𝜑 → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) finSupp 0 ↔ (Fun (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∧ ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) supp 0 ) ∈ Fin)))
144124, 140, 143mpbir2and 710 . . . . . . . . . . . . 13 (𝜑 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) finSupp 0 )
145 2ndconst 7950 . . . . . . . . . . . . . 14 (𝑗 ∈ V → (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))):({𝑗} × (𝐴 “ {𝑗}))–1-1-onto→(𝐴 “ {𝑗}))
146115, 145mp1i 13 . . . . . . . . . . . . 13 (𝜑 → (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))):({𝑗} × (𝐴 “ {𝑗}))–1-1-onto→(𝐴 “ {𝑗}))
14741, 42, 44, 114, 122, 144, 146gsumf1o 19526 . . . . . . . . . . . 12 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∘ (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))))))
148 1st2nd2 7879 . . . . . . . . . . . . . . . . . 18 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → 𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩)
149 xp1st 7872 . . . . . . . . . . . . . . . . . . . 20 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (1st𝑥) ∈ {𝑗})
150 elsni 4579 . . . . . . . . . . . . . . . . . . . 20 ((1st𝑥) ∈ {𝑗} → (1st𝑥) = 𝑗)
151149, 150syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (1st𝑥) = 𝑗)
152151opeq1d 4811 . . . . . . . . . . . . . . . . . 18 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → ⟨(1st𝑥), (2nd𝑥)⟩ = ⟨𝑗, (2nd𝑥)⟩)
153148, 152eqtrd 2779 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → 𝑥 = ⟨𝑗, (2nd𝑥)⟩)
154153fveq2d 6787 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (𝐹𝑥) = (𝐹‘⟨𝑗, (2nd𝑥)⟩))
155 df-ov 7287 . . . . . . . . . . . . . . . 16 (𝑗𝐹(2nd𝑥)) = (𝐹‘⟨𝑗, (2nd𝑥)⟩)
156154, 155eqtr4di 2797 . . . . . . . . . . . . . . 15 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (𝐹𝑥) = (𝑗𝐹(2nd𝑥)))
157156mpteq2ia 5178 . . . . . . . . . . . . . 14 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝐹𝑥)) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝑗𝐹(2nd𝑥)))
15849feqmptd 6846 . . . . . . . . . . . . . . . 16 (𝜑𝐹 = (𝑥𝐴 ↦ (𝐹𝑥)))
159158reseq1d 5893 . . . . . . . . . . . . . . 15 (𝜑 → (𝐹 ↾ (𝐴 ↾ {𝑗})) = ((𝑥𝐴 ↦ (𝐹𝑥)) ↾ (𝐴 ↾ {𝑗})))
160 resss 5919 . . . . . . . . . . . . . . . . 17 (𝐴 ↾ {𝑗}) ⊆ 𝐴
161 resmpt 5948 . . . . . . . . . . . . . . . . 17 ((𝐴 ↾ {𝑗}) ⊆ 𝐴 → ((𝑥𝐴 ↦ (𝐹𝑥)) ↾ (𝐴 ↾ {𝑗})) = (𝑥 ∈ (𝐴 ↾ {𝑗}) ↦ (𝐹𝑥)))
162160, 161ax-mp 5 . . . . . . . . . . . . . . . 16 ((𝑥𝐴 ↦ (𝐹𝑥)) ↾ (𝐴 ↾ {𝑗})) = (𝑥 ∈ (𝐴 ↾ {𝑗}) ↦ (𝐹𝑥))
163 ressn 6192 . . . . . . . . . . . . . . . . 17 (𝐴 ↾ {𝑗}) = ({𝑗} × (𝐴 “ {𝑗}))
164163mpteq1i 5171 . . . . . . . . . . . . . . . 16 (𝑥 ∈ (𝐴 ↾ {𝑗}) ↦ (𝐹𝑥)) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝐹𝑥))
165162, 164eqtri 2767 . . . . . . . . . . . . . . 15 ((𝑥𝐴 ↦ (𝐹𝑥)) ↾ (𝐴 ↾ {𝑗})) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝐹𝑥))
166159, 165eqtrdi 2795 . . . . . . . . . . . . . 14 (𝜑 → (𝐹 ↾ (𝐴 ↾ {𝑗})) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝐹𝑥)))
167 xp2nd 7873 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (2nd𝑥) ∈ (𝐴 “ {𝑗}))
168167adantl 482 . . . . . . . . . . . . . . 15 ((𝜑𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗}))) → (2nd𝑥) ∈ (𝐴 “ {𝑗}))
169 fo2nd 7861 . . . . . . . . . . . . . . . . . . 19 2nd :V–onto→V
170 fof 6697 . . . . . . . . . . . . . . . . . . 19 (2nd :V–onto→V → 2nd :V⟶V)
171169, 170mp1i 13 . . . . . . . . . . . . . . . . . 18 (𝜑 → 2nd :V⟶V)
172171feqmptd 6846 . . . . . . . . . . . . . . . . 17 (𝜑 → 2nd = (𝑥 ∈ V ↦ (2nd𝑥)))
173172reseq1d 5893 . . . . . . . . . . . . . . . 16 (𝜑 → (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))) = ((𝑥 ∈ V ↦ (2nd𝑥)) ↾ ({𝑗} × (𝐴 “ {𝑗}))))
174 ssv 3946 . . . . . . . . . . . . . . . . 17 ({𝑗} × (𝐴 “ {𝑗})) ⊆ V
175 resmpt 5948 . . . . . . . . . . . . . . . . 17 (({𝑗} × (𝐴 “ {𝑗})) ⊆ V → ((𝑥 ∈ V ↦ (2nd𝑥)) ↾ ({𝑗} × (𝐴 “ {𝑗}))) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (2nd𝑥)))
176174, 175ax-mp 5 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ V ↦ (2nd𝑥)) ↾ ({𝑗} × (𝐴 “ {𝑗}))) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (2nd𝑥))
177173, 176eqtrdi 2795 . . . . . . . . . . . . . . 15 (𝜑 → (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (2nd𝑥)))
178 eqidd 2740 . . . . . . . . . . . . . . 15 (𝜑 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) = (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))
179 oveq2 7292 . . . . . . . . . . . . . . 15 (𝑘 = (2nd𝑥) → (𝑗𝐹𝑘) = (𝑗𝐹(2nd𝑥)))
180168, 177, 178, 179fmptco 7010 . . . . . . . . . . . . . 14 (𝜑 → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∘ (2nd ↾ ({𝑗} × (𝐴 “ {𝑗})))) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝑗𝐹(2nd𝑥))))
181157, 166, 1803eqtr4a 2805 . . . . . . . . . . . . 13 (𝜑 → (𝐹 ↾ (𝐴 ↾ {𝑗})) = ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∘ (2nd ↾ ({𝑗} × (𝐴 “ {𝑗})))))
182181oveq2d 7300 . . . . . . . . . . . 12 (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗}))) = (𝐺 Σg ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∘ (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))))))
183147, 182eqtr4d 2782 . . . . . . . . . . 11 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗}))))
184112, 183chvarvv 2003 . . . . . . . . . 10 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))
185184adantr 481 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))
186185oveq2d 7300 . . . . . . . 8 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘)))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
187107, 186eqtrd 2779 . . . . . . 7 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
18889, 187eqeq12d 2755 . . . . . 6 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) ↔ ((𝐺 Σg (𝐹 ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))))
18940, 188syl5ibr 245 . . . . 5 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))))
190189expcom 414 . . . 4 ((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) → (𝜑 → ((𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))))
191190a2d 29 . . 3 ((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) → ((𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) → (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))))
19217, 24, 31, 38, 39, 191findcard2s 8957 . 2 (dom (𝐹 supp 0 ) ∈ Fin → (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ dom (𝐹 supp 0 )))) = (𝐺 Σg (𝑗 ∈ dom (𝐹 supp 0 ) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))))
1934, 192mpcom 38 1 (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ dom (𝐹 supp 0 )))) = (𝐺 Σg (𝑗 ∈ dom (𝐹 supp 0 ) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396   = wceq 1539  wcel 2107  Vcvv 3433  cdif 3885  cun 3886  cin 3887  wss 3888  c0 4257  {csn 4562  cop 4568   class class class wbr 5075  cmpt 5158   × cxp 5588  dom cdm 5590  ran crn 5591  cres 5592  cima 5593  ccom 5594  Rel wrel 5595  Fun wfun 6431  wf 6433  ontowfo 6435  1-1-ontowf1o 6436  cfv 6437  (class class class)co 7284  1st c1st 7838  2nd c2nd 7839   supp csupp 7986  Fincfn 8742   finSupp cfsupp 9137  Basecbs 16921  +gcplusg 16971  0gc0g 17159   Σg cgsu 17160  CMndccmn 19395
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2710  ax-rep 5210  ax-sep 5224  ax-nul 5231  ax-pow 5289  ax-pr 5353  ax-un 7597  ax-cnex 10936  ax-resscn 10937  ax-1cn 10938  ax-icn 10939  ax-addcl 10940  ax-addrcl 10941  ax-mulcl 10942  ax-mulrcl 10943  ax-mulcom 10944  ax-addass 10945  ax-mulass 10946  ax-distr 10947  ax-i2m1 10948  ax-1ne0 10949  ax-1rid 10950  ax-rnegex 10951  ax-rrecex 10952  ax-cnre 10953  ax-pre-lttri 10954  ax-pre-lttrn 10955  ax-pre-ltadd 10956  ax-pre-mulgt0 10957
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-nel 3051  df-ral 3070  df-rex 3071  df-rmo 3072  df-reu 3073  df-rab 3074  df-v 3435  df-sbc 3718  df-csb 3834  df-dif 3891  df-un 3893  df-in 3895  df-ss 3905  df-pss 3907  df-nul 4258  df-if 4461  df-pw 4536  df-sn 4563  df-pr 4565  df-op 4569  df-uni 4841  df-int 4881  df-iun 4927  df-iin 4928  df-br 5076  df-opab 5138  df-mpt 5159  df-tr 5193  df-id 5490  df-eprel 5496  df-po 5504  df-so 5505  df-fr 5545  df-se 5546  df-we 5547  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-pred 6206  df-ord 6273  df-on 6274  df-lim 6275  df-suc 6276  df-iota 6395  df-fun 6439  df-fn 6440  df-f 6441  df-f1 6442  df-fo 6443  df-f1o 6444  df-fv 6445  df-isom 6446  df-riota 7241  df-ov 7287  df-oprab 7288  df-mpo 7289  df-of 7542  df-om 7722  df-1st 7840  df-2nd 7841  df-supp 7987  df-frecs 8106  df-wrecs 8137  df-recs 8211  df-rdg 8250  df-1o 8306  df-er 8507  df-en 8743  df-dom 8744  df-sdom 8745  df-fin 8746  df-fsupp 9138  df-oi 9278  df-card 9706  df-pnf 11020  df-mnf 11021  df-xr 11022  df-ltxr 11023  df-le 11024  df-sub 11216  df-neg 11217  df-nn 11983  df-2 12045  df-n0 12243  df-z 12329  df-uz 12592  df-fz 13249  df-fzo 13392  df-seq 13731  df-hash 14054  df-sets 16874  df-slot 16892  df-ndx 16904  df-base 16922  df-ress 16951  df-plusg 16984  df-0g 17161  df-gsum 17162  df-mre 17304  df-mrc 17305  df-acs 17307  df-mgm 18335  df-sgrp 18384  df-mnd 18395  df-submnd 18440  df-mulg 18710  df-cntz 18932  df-cmn 19397
This theorem is referenced by:  gsum2d  19582
  Copyright terms: Public domain W3C validator