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

Theorem gsum2dlem2 19839
Description: Lemma for gsum2d 19840. (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 9369 . . 3 (𝜑 → (𝐹 supp 0 ) ∈ Fin)
3 dmfi 9330 . . 3 ((𝐹 supp 0 ) ∈ Fin → dom (𝐹 supp 0 ) ∈ Fin)
42, 3syl 17 . 2 (𝜑 → dom (𝐹 supp 0 ) ∈ Fin)
5 reseq2 5977 . . . . . . . . 9 (𝑥 = ∅ → (𝐴𝑥) = (𝐴 ↾ ∅))
6 res0 5986 . . . . . . . . 9 (𝐴 ↾ ∅) = ∅
75, 6eqtrdi 2789 . . . . . . . 8 (𝑥 = ∅ → (𝐴𝑥) = ∅)
87reseq2d 5982 . . . . . . 7 (𝑥 = ∅ → (𝐹 ↾ (𝐴𝑥)) = (𝐹 ↾ ∅))
9 res0 5986 . . . . . . 7 (𝐹 ↾ ∅) = ∅
108, 9eqtrdi 2789 . . . . . 6 (𝑥 = ∅ → (𝐹 ↾ (𝐴𝑥)) = ∅)
1110oveq2d 7425 . . . . 5 (𝑥 = ∅ → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg ∅))
12 mpteq1 5242 . . . . . . 7 (𝑥 = ∅ → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = (𝑗 ∈ ∅ ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))
13 mpt0 6693 . . . . . . 7 (𝑗 ∈ ∅ ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = ∅
1412, 13eqtrdi 2789 . . . . . 6 (𝑥 = ∅ → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = ∅)
1514oveq2d 7425 . . . . 5 (𝑥 = ∅ → (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = (𝐺 Σg ∅))
1611, 15eqeq12d 2749 . . . 4 (𝑥 = ∅ → ((𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) ↔ (𝐺 Σg ∅) = (𝐺 Σg ∅)))
1716imbi2d 341 . . 3 (𝑥 = ∅ → ((𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) ↔ (𝜑 → (𝐺 Σg ∅) = (𝐺 Σg ∅))))
18 reseq2 5977 . . . . . . 7 (𝑥 = 𝑦 → (𝐴𝑥) = (𝐴𝑦))
1918reseq2d 5982 . . . . . 6 (𝑥 = 𝑦 → (𝐹 ↾ (𝐴𝑥)) = (𝐹 ↾ (𝐴𝑦)))
2019oveq2d 7425 . . . . 5 (𝑥 = 𝑦 → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝐹 ↾ (𝐴𝑦))))
21 mpteq1 5242 . . . . . 6 (𝑥 = 𝑦 → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))
2221oveq2d 7425 . . . . 5 (𝑥 = 𝑦 → (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))
2320, 22eqeq12d 2749 . . . 4 (𝑥 = 𝑦 → ((𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) ↔ (𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))))
2423imbi2d 341 . . 3 (𝑥 = 𝑦 → ((𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) ↔ (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))))
25 reseq2 5977 . . . . . . 7 (𝑥 = (𝑦 ∪ {𝑧}) → (𝐴𝑥) = (𝐴 ↾ (𝑦 ∪ {𝑧})))
2625reseq2d 5982 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → (𝐹 ↾ (𝐴𝑥)) = (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))))
2726oveq2d 7425 . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))))
28 mpteq1 5242 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))
2928oveq2d 7425 . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))
3027, 29eqeq12d 2749 . . . 4 (𝑥 = (𝑦 ∪ {𝑧}) → ((𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) ↔ (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))))
3130imbi2d 341 . . 3 (𝑥 = (𝑦 ∪ {𝑧}) → ((𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) ↔ (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))))
32 reseq2 5977 . . . . . . 7 (𝑥 = dom (𝐹 supp 0 ) → (𝐴𝑥) = (𝐴 ↾ dom (𝐹 supp 0 )))
3332reseq2d 5982 . . . . . 6 (𝑥 = dom (𝐹 supp 0 ) → (𝐹 ↾ (𝐴𝑥)) = (𝐹 ↾ (𝐴 ↾ dom (𝐹 supp 0 ))))
3433oveq2d 7425 . . . . 5 (𝑥 = dom (𝐹 supp 0 ) → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ dom (𝐹 supp 0 )))))
35 mpteq1 5242 . . . . . 6 (𝑥 = dom (𝐹 supp 0 ) → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = (𝑗 ∈ dom (𝐹 supp 0 ) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))
3635oveq2d 7425 . . . . 5 (𝑥 = dom (𝐹 supp 0 ) → (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = (𝐺 Σg (𝑗 ∈ dom (𝐹 supp 0 ) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))
3734, 36eqeq12d 2749 . . . 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 2734 . . 3 (𝜑 → (𝐺 Σg ∅) = (𝐺 Σg ∅))
40 oveq1 7416 . . . . . 6 ((𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) → ((𝐺 Σg (𝐹 ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
41 gsum2d.b . . . . . . . . 9 𝐵 = (Base‘𝐺)
42 gsum2d.z . . . . . . . . 9 0 = (0g𝐺)
43 eqid 2733 . . . . . . . . 9 (+g𝐺) = (+g𝐺)
44 gsum2d.g . . . . . . . . . 10 (𝜑𝐺 ∈ CMnd)
4544adantr 482 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → 𝐺 ∈ CMnd)
46 gsum2d.a . . . . . . . . . . 11 (𝜑𝐴𝑉)
4746resexd 6029 . . . . . . . . . 10 (𝜑 → (𝐴 ↾ (𝑦 ∪ {𝑧})) ∈ V)
4847adantr 482 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐴 ↾ (𝑦 ∪ {𝑧})) ∈ V)
49 gsum2d.f . . . . . . . . . . 11 (𝜑𝐹:𝐴𝐵)
50 resss 6007 . . . . . . . . . . 11 (𝐴 ↾ (𝑦 ∪ {𝑧})) ⊆ 𝐴
51 fssres 6758 . . . . . . . . . . 11 ((𝐹:𝐴𝐵 ∧ (𝐴 ↾ (𝑦 ∪ {𝑧})) ⊆ 𝐴) → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))):(𝐴 ↾ (𝑦 ∪ {𝑧}))⟶𝐵)
5249, 50, 51sylancl 587 . . . . . . . . . 10 (𝜑 → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))):(𝐴 ↾ (𝑦 ∪ {𝑧}))⟶𝐵)
5352adantr 482 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))):(𝐴 ↾ (𝑦 ∪ {𝑧}))⟶𝐵)
5449ffund 6722 . . . . . . . . . . . 12 (𝜑 → Fun 𝐹)
5554funresd 6592 . . . . . . . . . . 11 (𝜑 → Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))))
5655adantr 482 . . . . . . . . . 10 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))))
572adantr 482 . . . . . . . . . . 11 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐹 supp 0 ) ∈ Fin)
5849, 46fexd 7229 . . . . . . . . . . . . 13 (𝜑𝐹 ∈ V)
5942fvexi 6906 . . . . . . . . . . . . 13 0 ∈ V
60 ressuppss 8168 . . . . . . . . . . . . 13 ((𝐹 ∈ V ∧ 0 ∈ V) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ⊆ (𝐹 supp 0 ))
6158, 59, 60sylancl 587 . . . . . . . . . . . 12 (𝜑 → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ⊆ (𝐹 supp 0 ))
6261adantr 482 . . . . . . . . . . 11 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ⊆ (𝐹 supp 0 ))
6357, 62ssfid 9267 . . . . . . . . . 10 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ∈ Fin)
6458resexd 6029 . . . . . . . . . . . 12 (𝜑 → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∈ V)
65 isfsupp 9365 . . . . . . . . . . . 12 (((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∈ V ∧ 0 ∈ V) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) finSupp 0 ↔ (Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∧ ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ∈ Fin)))
6664, 59, 65sylancl 587 . . . . . . . . . . 11 (𝜑 → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) finSupp 0 ↔ (Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∧ ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ∈ Fin)))
6766adantr 482 . . . . . . . . . 10 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) finSupp 0 ↔ (Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∧ ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ∈ Fin)))
6856, 63, 67mpbir2and 712 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) finSupp 0 )
69 simprr 772 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ¬ 𝑧𝑦)
70 disjsn 4716 . . . . . . . . . . . 12 ((𝑦 ∩ {𝑧}) = ∅ ↔ ¬ 𝑧𝑦)
7169, 70sylibr 233 . . . . . . . . . . 11 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝑦 ∩ {𝑧}) = ∅)
7271reseq2d 5982 . . . . . . . . . 10 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐴 ↾ (𝑦 ∩ {𝑧})) = (𝐴 ↾ ∅))
73 resindi 5998 . . . . . . . . . 10 (𝐴 ↾ (𝑦 ∩ {𝑧})) = ((𝐴𝑦) ∩ (𝐴 ↾ {𝑧}))
7472, 73, 63eqtr3g 2796 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐴𝑦) ∩ (𝐴 ↾ {𝑧})) = ∅)
75 resundi 5996 . . . . . . . . . 10 (𝐴 ↾ (𝑦 ∪ {𝑧})) = ((𝐴𝑦) ∪ (𝐴 ↾ {𝑧}))
7675a1i 11 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐴 ↾ (𝑦 ∪ {𝑧})) = ((𝐴𝑦) ∪ (𝐴 ↾ {𝑧})))
7741, 42, 43, 45, 48, 53, 68, 74, 76gsumsplit 19796 . . . . . . . 8 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = ((𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧})))))
78 ssun1 4173 . . . . . . . . . . 11 𝑦 ⊆ (𝑦 ∪ {𝑧})
79 ssres2 6010 . . . . . . . . . . 11 (𝑦 ⊆ (𝑦 ∪ {𝑧}) → (𝐴𝑦) ⊆ (𝐴 ↾ (𝑦 ∪ {𝑧})))
80 resabs1 6012 . . . . . . . . . . 11 ((𝐴𝑦) ⊆ (𝐴 ↾ (𝑦 ∪ {𝑧})) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦)) = (𝐹 ↾ (𝐴𝑦)))
8178, 79, 80mp2b 10 . . . . . . . . . 10 ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦)) = (𝐹 ↾ (𝐴𝑦))
8281oveq2i 7420 . . . . . . . . 9 (𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦))) = (𝐺 Σg (𝐹 ↾ (𝐴𝑦)))
83 ssun2 4174 . . . . . . . . . . 11 {𝑧} ⊆ (𝑦 ∪ {𝑧})
84 ssres2 6010 . . . . . . . . . . 11 ({𝑧} ⊆ (𝑦 ∪ {𝑧}) → (𝐴 ↾ {𝑧}) ⊆ (𝐴 ↾ (𝑦 ∪ {𝑧})))
85 resabs1 6012 . . . . . . . . . . 11 ((𝐴 ↾ {𝑧}) ⊆ (𝐴 ↾ (𝑦 ∪ {𝑧})) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧})) = (𝐹 ↾ (𝐴 ↾ {𝑧})))
8683, 84, 85mp2b 10 . . . . . . . . . 10 ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧})) = (𝐹 ↾ (𝐴 ↾ {𝑧}))
8786oveq2i 7420 . . . . . . . . 9 (𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧}))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))
8882, 87oveq12i 7421 . . . . . . . 8 ((𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧})))) = ((𝐺 Σg (𝐹 ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))
8977, 88eqtrdi 2789 . . . . . . 7 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = ((𝐺 Σg (𝐹 ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
90 simprl 770 . . . . . . . . 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 19838 . . . . . . . . . 10 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) ∈ 𝐵)
9594ad2antrr 725 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) ∧ 𝑗𝑦) → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) ∈ 𝐵)
96 vex 3479 . . . . . . . . . 10 𝑧 ∈ V
9796a1i 11 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → 𝑧 ∈ V)
98 sneq 4639 . . . . . . . . . . . . . . . 16 (𝑗 = 𝑧 → {𝑗} = {𝑧})
9998imaeq2d 6060 . . . . . . . . . . . . . . 15 (𝑗 = 𝑧 → (𝐴 “ {𝑗}) = (𝐴 “ {𝑧}))
100 oveq1 7416 . . . . . . . . . . . . . . 15 (𝑗 = 𝑧 → (𝑗𝐹𝑘) = (𝑧𝐹𝑘))
10199, 100mpteq12dv 5240 . . . . . . . . . . . . . 14 (𝑗 = 𝑧 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) = (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘)))
102101oveq2d 7425 . . . . . . . . . . . . 13 (𝑗 = 𝑧 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))))
103102eleq1d 2819 . . . . . . . . . . . 12 (𝑗 = 𝑧 → ((𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) ∈ 𝐵 ↔ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) ∈ 𝐵))
104103imbi2d 341 . . . . . . . . . . 11 (𝑗 = 𝑧 → ((𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) ∈ 𝐵) ↔ (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) ∈ 𝐵)))
105104, 94chvarvv 2003 . . . . . . . . . 10 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) ∈ 𝐵)
106105adantr 482 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) ∈ 𝐵)
10741, 43, 45, 90, 95, 97, 69, 106, 102gsumunsn 19828 . . . . . . . 8 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘)))))
10898reseq2d 5982 . . . . . . . . . . . . . . 15 (𝑗 = 𝑧 → (𝐴 ↾ {𝑗}) = (𝐴 ↾ {𝑧}))
109108reseq2d 5982 . . . . . . . . . . . . . 14 (𝑗 = 𝑧 → (𝐹 ↾ (𝐴 ↾ {𝑗})) = (𝐹 ↾ (𝐴 ↾ {𝑧})))
110109oveq2d 7425 . . . . . . . . . . . . 13 (𝑗 = 𝑧 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗}))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))
111102, 110eqeq12d 2749 . . . . . . . . . . . 12 (𝑗 = 𝑧 → ((𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗}))) ↔ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
112111imbi2d 341 . . . . . . . . . . 11 (𝑗 = 𝑧 → ((𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗})))) ↔ (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))))
113 imaexg 7906 . . . . . . . . . . . . . 14 (𝐴𝑉 → (𝐴 “ {𝑗}) ∈ V)
11446, 113syl 17 . . . . . . . . . . . . 13 (𝜑 → (𝐴 “ {𝑗}) ∈ V)
115 vex 3479 . . . . . . . . . . . . . . . 16 𝑗 ∈ V
116 vex 3479 . . . . . . . . . . . . . . . 16 𝑘 ∈ V
117115, 116elimasn 6089 . . . . . . . . . . . . . . 15 (𝑘 ∈ (𝐴 “ {𝑗}) ↔ ⟨𝑗, 𝑘⟩ ∈ 𝐴)
118 df-ov 7412 . . . . . . . . . . . . . . . 16 (𝑗𝐹𝑘) = (𝐹‘⟨𝑗, 𝑘⟩)
11949ffvelcdmda 7087 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ ⟨𝑗, 𝑘⟩ ∈ 𝐴) → (𝐹‘⟨𝑗, 𝑘⟩) ∈ 𝐵)
120118, 119eqeltrid 2838 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ⟨𝑗, 𝑘⟩ ∈ 𝐴) → (𝑗𝐹𝑘) ∈ 𝐵)
121117, 120sylan2b 595 . . . . . . . . . . . . . 14 ((𝜑𝑘 ∈ (𝐴 “ {𝑗})) → (𝑗𝐹𝑘) ∈ 𝐵)
122121fmpttd 7115 . . . . . . . . . . . . 13 (𝜑 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)):(𝐴 “ {𝑗})⟶𝐵)
123 funmpt 6587 . . . . . . . . . . . . . . 15 Fun (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))
124123a1i 11 . . . . . . . . . . . . . 14 (𝜑 → Fun (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))
125 rnfi 9335 . . . . . . . . . . . . . . . 16 ((𝐹 supp 0 ) ∈ Fin → ran (𝐹 supp 0 ) ∈ Fin)
1262, 125syl 17 . . . . . . . . . . . . . . 15 (𝜑 → ran (𝐹 supp 0 ) ∈ Fin)
127117biimpi 215 . . . . . . . . . . . . . . . . . . 19 (𝑘 ∈ (𝐴 “ {𝑗}) → ⟨𝑗, 𝑘⟩ ∈ 𝐴)
128115, 116opelrn 5943 . . . . . . . . . . . . . . . . . . . 20 (⟨𝑗, 𝑘⟩ ∈ (𝐹 supp 0 ) → 𝑘 ∈ ran (𝐹 supp 0 ))
129128con3i 154 . . . . . . . . . . . . . . . . . . 19 𝑘 ∈ ran (𝐹 supp 0 ) → ¬ ⟨𝑗, 𝑘⟩ ∈ (𝐹 supp 0 ))
130127, 129anim12i 614 . . . . . . . . . . . . . . . . . 18 ((𝑘 ∈ (𝐴 “ {𝑗}) ∧ ¬ 𝑘 ∈ ran (𝐹 supp 0 )) → (⟨𝑗, 𝑘⟩ ∈ 𝐴 ∧ ¬ ⟨𝑗, 𝑘⟩ ∈ (𝐹 supp 0 )))
131 eldif 3959 . . . . . . . . . . . . . . . . . 18 (𝑘 ∈ ((𝐴 “ {𝑗}) ∖ ran (𝐹 supp 0 )) ↔ (𝑘 ∈ (𝐴 “ {𝑗}) ∧ ¬ 𝑘 ∈ ran (𝐹 supp 0 )))
132 eldif 3959 . . . . . . . . . . . . . . . . . 18 (⟨𝑗, 𝑘⟩ ∈ (𝐴 ∖ (𝐹 supp 0 )) ↔ (⟨𝑗, 𝑘⟩ ∈ 𝐴 ∧ ¬ ⟨𝑗, 𝑘⟩ ∈ (𝐹 supp 0 )))
133130, 131, 1323imtr4i 292 . . . . . . . . . . . . . . . . 17 (𝑘 ∈ ((𝐴 “ {𝑗}) ∖ ran (𝐹 supp 0 )) → ⟨𝑗, 𝑘⟩ ∈ (𝐴 ∖ (𝐹 supp 0 )))
134 ssidd 4006 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝐹 supp 0 ) ⊆ (𝐹 supp 0 ))
13559a1i 11 . . . . . . . . . . . . . . . . . . 19 (𝜑0 ∈ V)
13649, 134, 46, 135suppssr 8181 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ⟨𝑗, 𝑘⟩ ∈ (𝐴 ∖ (𝐹 supp 0 ))) → (𝐹‘⟨𝑗, 𝑘⟩) = 0 )
137118, 136eqtrid 2785 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ ⟨𝑗, 𝑘⟩ ∈ (𝐴 ∖ (𝐹 supp 0 ))) → (𝑗𝐹𝑘) = 0 )
138133, 137sylan2 594 . . . . . . . . . . . . . . . 16 ((𝜑𝑘 ∈ ((𝐴 “ {𝑗}) ∖ ran (𝐹 supp 0 ))) → (𝑗𝐹𝑘) = 0 )
139138, 114suppss2 8185 . . . . . . . . . . . . . . 15 (𝜑 → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) supp 0 ) ⊆ ran (𝐹 supp 0 ))
140126, 139ssfid 9267 . . . . . . . . . . . . . 14 (𝜑 → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) supp 0 ) ∈ Fin)
141114mptexd 7226 . . . . . . . . . . . . . . 15 (𝜑 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∈ V)
142 isfsupp 9365 . . . . . . . . . . . . . . 15 (((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∈ V ∧ 0 ∈ V) → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) finSupp 0 ↔ (Fun (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∧ ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) supp 0 ) ∈ Fin)))
143141, 59, 142sylancl 587 . . . . . . . . . . . . . 14 (𝜑 → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) finSupp 0 ↔ (Fun (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∧ ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) supp 0 ) ∈ Fin)))
144124, 140, 143mpbir2and 712 . . . . . . . . . . . . 13 (𝜑 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) finSupp 0 )
145 2ndconst 8087 . . . . . . . . . . . . . 14 (𝑗 ∈ V → (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))):({𝑗} × (𝐴 “ {𝑗}))–1-1-onto→(𝐴 “ {𝑗}))
146115, 145mp1i 13 . . . . . . . . . . . . 13 (𝜑 → (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))):({𝑗} × (𝐴 “ {𝑗}))–1-1-onto→(𝐴 “ {𝑗}))
14741, 42, 44, 114, 122, 144, 146gsumf1o 19784 . . . . . . . . . . . 12 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∘ (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))))))
148 1st2nd2 8014 . . . . . . . . . . . . . . . . . 18 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → 𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩)
149 xp1st 8007 . . . . . . . . . . . . . . . . . . . 20 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (1st𝑥) ∈ {𝑗})
150 elsni 4646 . . . . . . . . . . . . . . . . . . . 20 ((1st𝑥) ∈ {𝑗} → (1st𝑥) = 𝑗)
151149, 150syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (1st𝑥) = 𝑗)
152151opeq1d 4880 . . . . . . . . . . . . . . . . . 18 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → ⟨(1st𝑥), (2nd𝑥)⟩ = ⟨𝑗, (2nd𝑥)⟩)
153148, 152eqtrd 2773 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → 𝑥 = ⟨𝑗, (2nd𝑥)⟩)
154153fveq2d 6896 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (𝐹𝑥) = (𝐹‘⟨𝑗, (2nd𝑥)⟩))
155 df-ov 7412 . . . . . . . . . . . . . . . 16 (𝑗𝐹(2nd𝑥)) = (𝐹‘⟨𝑗, (2nd𝑥)⟩)
156154, 155eqtr4di 2791 . . . . . . . . . . . . . . 15 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (𝐹𝑥) = (𝑗𝐹(2nd𝑥)))
157156mpteq2ia 5252 . . . . . . . . . . . . . 14 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝐹𝑥)) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝑗𝐹(2nd𝑥)))
15849feqmptd 6961 . . . . . . . . . . . . . . . 16 (𝜑𝐹 = (𝑥𝐴 ↦ (𝐹𝑥)))
159158reseq1d 5981 . . . . . . . . . . . . . . 15 (𝜑 → (𝐹 ↾ (𝐴 ↾ {𝑗})) = ((𝑥𝐴 ↦ (𝐹𝑥)) ↾ (𝐴 ↾ {𝑗})))
160 resss 6007 . . . . . . . . . . . . . . . . 17 (𝐴 ↾ {𝑗}) ⊆ 𝐴
161 resmpt 6038 . . . . . . . . . . . . . . . . 17 ((𝐴 ↾ {𝑗}) ⊆ 𝐴 → ((𝑥𝐴 ↦ (𝐹𝑥)) ↾ (𝐴 ↾ {𝑗})) = (𝑥 ∈ (𝐴 ↾ {𝑗}) ↦ (𝐹𝑥)))
162160, 161ax-mp 5 . . . . . . . . . . . . . . . 16 ((𝑥𝐴 ↦ (𝐹𝑥)) ↾ (𝐴 ↾ {𝑗})) = (𝑥 ∈ (𝐴 ↾ {𝑗}) ↦ (𝐹𝑥))
163 ressn 6285 . . . . . . . . . . . . . . . . 17 (𝐴 ↾ {𝑗}) = ({𝑗} × (𝐴 “ {𝑗}))
164163mpteq1i 5245 . . . . . . . . . . . . . . . 16 (𝑥 ∈ (𝐴 ↾ {𝑗}) ↦ (𝐹𝑥)) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝐹𝑥))
165162, 164eqtri 2761 . . . . . . . . . . . . . . 15 ((𝑥𝐴 ↦ (𝐹𝑥)) ↾ (𝐴 ↾ {𝑗})) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝐹𝑥))
166159, 165eqtrdi 2789 . . . . . . . . . . . . . 14 (𝜑 → (𝐹 ↾ (𝐴 ↾ {𝑗})) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝐹𝑥)))
167 xp2nd 8008 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (2nd𝑥) ∈ (𝐴 “ {𝑗}))
168167adantl 483 . . . . . . . . . . . . . . 15 ((𝜑𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗}))) → (2nd𝑥) ∈ (𝐴 “ {𝑗}))
169 fo2nd 7996 . . . . . . . . . . . . . . . . . . 19 2nd :V–onto→V
170 fof 6806 . . . . . . . . . . . . . . . . . . 19 (2nd :V–onto→V → 2nd :V⟶V)
171169, 170mp1i 13 . . . . . . . . . . . . . . . . . 18 (𝜑 → 2nd :V⟶V)
172171feqmptd 6961 . . . . . . . . . . . . . . . . 17 (𝜑 → 2nd = (𝑥 ∈ V ↦ (2nd𝑥)))
173172reseq1d 5981 . . . . . . . . . . . . . . . 16 (𝜑 → (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))) = ((𝑥 ∈ V ↦ (2nd𝑥)) ↾ ({𝑗} × (𝐴 “ {𝑗}))))
174 ssv 4007 . . . . . . . . . . . . . . . . 17 ({𝑗} × (𝐴 “ {𝑗})) ⊆ V
175 resmpt 6038 . . . . . . . . . . . . . . . . 17 (({𝑗} × (𝐴 “ {𝑗})) ⊆ V → ((𝑥 ∈ V ↦ (2nd𝑥)) ↾ ({𝑗} × (𝐴 “ {𝑗}))) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (2nd𝑥)))
176174, 175ax-mp 5 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ V ↦ (2nd𝑥)) ↾ ({𝑗} × (𝐴 “ {𝑗}))) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (2nd𝑥))
177173, 176eqtrdi 2789 . . . . . . . . . . . . . . 15 (𝜑 → (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (2nd𝑥)))
178 eqidd 2734 . . . . . . . . . . . . . . 15 (𝜑 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) = (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))
179 oveq2 7417 . . . . . . . . . . . . . . 15 (𝑘 = (2nd𝑥) → (𝑗𝐹𝑘) = (𝑗𝐹(2nd𝑥)))
180168, 177, 178, 179fmptco 7127 . . . . . . . . . . . . . 14 (𝜑 → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∘ (2nd ↾ ({𝑗} × (𝐴 “ {𝑗})))) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝑗𝐹(2nd𝑥))))
181157, 166, 1803eqtr4a 2799 . . . . . . . . . . . . 13 (𝜑 → (𝐹 ↾ (𝐴 ↾ {𝑗})) = ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∘ (2nd ↾ ({𝑗} × (𝐴 “ {𝑗})))))
182181oveq2d 7425 . . . . . . . . . . . 12 (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗}))) = (𝐺 Σg ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∘ (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))))))
183147, 182eqtr4d 2776 . . . . . . . . . . 11 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗}))))
184112, 183chvarvv 2003 . . . . . . . . . 10 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))
185184adantr 482 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))
186185oveq2d 7425 . . . . . . . 8 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘)))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
187107, 186eqtrd 2773 . . . . . . 7 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
18889, 187eqeq12d 2749 . . . . . 6 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) ↔ ((𝐺 Σg (𝐹 ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))))
18940, 188imbitrrid 245 . . . . 5 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))))
190189expcom 415 . . . 4 ((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) → (𝜑 → ((𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))))
191190a2d 29 . . 3 ((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) → ((𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) → (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))))
19217, 24, 31, 38, 39, 191findcard2s 9165 . 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 397   = wceq 1542  wcel 2107  Vcvv 3475  cdif 3946  cun 3947  cin 3948  wss 3949  c0 4323  {csn 4629  cop 4635   class class class wbr 5149  cmpt 5232   × cxp 5675  dom cdm 5677  ran crn 5678  cres 5679  cima 5680  ccom 5681  Rel wrel 5682  Fun wfun 6538  wf 6540  ontowfo 6542  1-1-ontowf1o 6543  cfv 6544  (class class class)co 7409  1st c1st 7973  2nd c2nd 7974   supp csupp 8146  Fincfn 8939   finSupp cfsupp 9361  Basecbs 17144  +gcplusg 17197  0gc0g 17385   Σg cgsu 17386  CMndccmn 19648
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 2704  ax-rep 5286  ax-sep 5300  ax-nul 5307  ax-pow 5364  ax-pr 5428  ax-un 7725  ax-cnex 11166  ax-resscn 11167  ax-1cn 11168  ax-icn 11169  ax-addcl 11170  ax-addrcl 11171  ax-mulcl 11172  ax-mulrcl 11173  ax-mulcom 11174  ax-addass 11175  ax-mulass 11176  ax-distr 11177  ax-i2m1 11178  ax-1ne0 11179  ax-1rid 11180  ax-rnegex 11181  ax-rrecex 11182  ax-cnre 11183  ax-pre-lttri 11184  ax-pre-lttrn 11185  ax-pre-ltadd 11186  ax-pre-mulgt0 11187
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-rmo 3377  df-reu 3378  df-rab 3434  df-v 3477  df-sbc 3779  df-csb 3895  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-pss 3968  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-int 4952  df-iun 5000  df-iin 5001  df-br 5150  df-opab 5212  df-mpt 5233  df-tr 5267  df-id 5575  df-eprel 5581  df-po 5589  df-so 5590  df-fr 5632  df-se 5633  df-we 5634  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-pred 6301  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6496  df-fun 6546  df-fn 6547  df-f 6548  df-f1 6549  df-fo 6550  df-f1o 6551  df-fv 6552  df-isom 6553  df-riota 7365  df-ov 7412  df-oprab 7413  df-mpo 7414  df-of 7670  df-om 7856  df-1st 7975  df-2nd 7976  df-supp 8147  df-frecs 8266  df-wrecs 8297  df-recs 8371  df-rdg 8410  df-1o 8466  df-er 8703  df-en 8940  df-dom 8941  df-sdom 8942  df-fin 8943  df-fsupp 9362  df-oi 9505  df-card 9934  df-pnf 11250  df-mnf 11251  df-xr 11252  df-ltxr 11253  df-le 11254  df-sub 11446  df-neg 11447  df-nn 12213  df-2 12275  df-n0 12473  df-z 12559  df-uz 12823  df-fz 13485  df-fzo 13628  df-seq 13967  df-hash 14291  df-sets 17097  df-slot 17115  df-ndx 17127  df-base 17145  df-ress 17174  df-plusg 17210  df-0g 17387  df-gsum 17388  df-mre 17530  df-mrc 17531  df-acs 17533  df-mgm 18561  df-sgrp 18610  df-mnd 18626  df-submnd 18672  df-mulg 18951  df-cntz 19181  df-cmn 19650
This theorem is referenced by:  gsum2d  19840
  Copyright terms: Public domain W3C validator