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

Theorem gsum2dlem2 19487
Description: Lemma for gsum2d 19488. (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 9065 . . 3 (𝜑 → (𝐹 supp 0 ) ∈ Fin)
3 dmfi 9027 . . 3 ((𝐹 supp 0 ) ∈ Fin → dom (𝐹 supp 0 ) ∈ Fin)
42, 3syl 17 . 2 (𝜑 → dom (𝐹 supp 0 ) ∈ Fin)
5 reseq2 5875 . . . . . . . . 9 (𝑥 = ∅ → (𝐴𝑥) = (𝐴 ↾ ∅))
6 res0 5884 . . . . . . . . 9 (𝐴 ↾ ∅) = ∅
75, 6eqtrdi 2795 . . . . . . . 8 (𝑥 = ∅ → (𝐴𝑥) = ∅)
87reseq2d 5880 . . . . . . 7 (𝑥 = ∅ → (𝐹 ↾ (𝐴𝑥)) = (𝐹 ↾ ∅))
9 res0 5884 . . . . . . 7 (𝐹 ↾ ∅) = ∅
108, 9eqtrdi 2795 . . . . . 6 (𝑥 = ∅ → (𝐹 ↾ (𝐴𝑥)) = ∅)
1110oveq2d 7271 . . . . 5 (𝑥 = ∅ → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg ∅))
12 mpteq1 5163 . . . . . . 7 (𝑥 = ∅ → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = (𝑗 ∈ ∅ ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))
13 mpt0 6559 . . . . . . 7 (𝑗 ∈ ∅ ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = ∅
1412, 13eqtrdi 2795 . . . . . 6 (𝑥 = ∅ → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = ∅)
1514oveq2d 7271 . . . . 5 (𝑥 = ∅ → (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = (𝐺 Σg ∅))
1611, 15eqeq12d 2754 . . . 4 (𝑥 = ∅ → ((𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) ↔ (𝐺 Σg ∅) = (𝐺 Σg ∅)))
1716imbi2d 340 . . 3 (𝑥 = ∅ → ((𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) ↔ (𝜑 → (𝐺 Σg ∅) = (𝐺 Σg ∅))))
18 reseq2 5875 . . . . . . 7 (𝑥 = 𝑦 → (𝐴𝑥) = (𝐴𝑦))
1918reseq2d 5880 . . . . . 6 (𝑥 = 𝑦 → (𝐹 ↾ (𝐴𝑥)) = (𝐹 ↾ (𝐴𝑦)))
2019oveq2d 7271 . . . . 5 (𝑥 = 𝑦 → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝐹 ↾ (𝐴𝑦))))
21 mpteq1 5163 . . . . . 6 (𝑥 = 𝑦 → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))
2221oveq2d 7271 . . . . 5 (𝑥 = 𝑦 → (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))
2320, 22eqeq12d 2754 . . . 4 (𝑥 = 𝑦 → ((𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) ↔ (𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))))
2423imbi2d 340 . . 3 (𝑥 = 𝑦 → ((𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) ↔ (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))))
25 reseq2 5875 . . . . . . 7 (𝑥 = (𝑦 ∪ {𝑧}) → (𝐴𝑥) = (𝐴 ↾ (𝑦 ∪ {𝑧})))
2625reseq2d 5880 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → (𝐹 ↾ (𝐴𝑥)) = (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))))
2726oveq2d 7271 . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))))
28 mpteq1 5163 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))
2928oveq2d 7271 . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))
3027, 29eqeq12d 2754 . . . 4 (𝑥 = (𝑦 ∪ {𝑧}) → ((𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) ↔ (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))))
3130imbi2d 340 . . 3 (𝑥 = (𝑦 ∪ {𝑧}) → ((𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) ↔ (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))))
32 reseq2 5875 . . . . . . 7 (𝑥 = dom (𝐹 supp 0 ) → (𝐴𝑥) = (𝐴 ↾ dom (𝐹 supp 0 )))
3332reseq2d 5880 . . . . . 6 (𝑥 = dom (𝐹 supp 0 ) → (𝐹 ↾ (𝐴𝑥)) = (𝐹 ↾ (𝐴 ↾ dom (𝐹 supp 0 ))))
3433oveq2d 7271 . . . . 5 (𝑥 = dom (𝐹 supp 0 ) → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ dom (𝐹 supp 0 )))))
35 mpteq1 5163 . . . . . 6 (𝑥 = dom (𝐹 supp 0 ) → (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))) = (𝑗 ∈ dom (𝐹 supp 0 ) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))
3635oveq2d 7271 . . . . 5 (𝑥 = dom (𝐹 supp 0 ) → (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = (𝐺 Σg (𝑗 ∈ dom (𝐹 supp 0 ) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))
3734, 36eqeq12d 2754 . . . 4 (𝑥 = dom (𝐹 supp 0 ) → ((𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) ↔ (𝐺 Σg (𝐹 ↾ (𝐴 ↾ dom (𝐹 supp 0 )))) = (𝐺 Σg (𝑗 ∈ dom (𝐹 supp 0 ) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))))
3837imbi2d 340 . . 3 (𝑥 = dom (𝐹 supp 0 ) → ((𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑥))) = (𝐺 Σg (𝑗𝑥 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) ↔ (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ dom (𝐹 supp 0 )))) = (𝐺 Σg (𝑗 ∈ dom (𝐹 supp 0 ) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))))
39 eqidd 2739 . . 3 (𝜑 → (𝐺 Σg ∅) = (𝐺 Σg ∅))
40 oveq1 7262 . . . . . 6 ((𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) → ((𝐺 Σg (𝐹 ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
41 gsum2d.b . . . . . . . . 9 𝐵 = (Base‘𝐺)
42 gsum2d.z . . . . . . . . 9 0 = (0g𝐺)
43 eqid 2738 . . . . . . . . 9 (+g𝐺) = (+g𝐺)
44 gsum2d.g . . . . . . . . . 10 (𝜑𝐺 ∈ CMnd)
4544adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → 𝐺 ∈ CMnd)
46 gsum2d.a . . . . . . . . . . 11 (𝜑𝐴𝑉)
4746resexd 5927 . . . . . . . . . 10 (𝜑 → (𝐴 ↾ (𝑦 ∪ {𝑧})) ∈ V)
4847adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐴 ↾ (𝑦 ∪ {𝑧})) ∈ V)
49 gsum2d.f . . . . . . . . . . 11 (𝜑𝐹:𝐴𝐵)
50 resss 5905 . . . . . . . . . . 11 (𝐴 ↾ (𝑦 ∪ {𝑧})) ⊆ 𝐴
51 fssres 6624 . . . . . . . . . . 11 ((𝐹:𝐴𝐵 ∧ (𝐴 ↾ (𝑦 ∪ {𝑧})) ⊆ 𝐴) → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))):(𝐴 ↾ (𝑦 ∪ {𝑧}))⟶𝐵)
5249, 50, 51sylancl 585 . . . . . . . . . 10 (𝜑 → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))):(𝐴 ↾ (𝑦 ∪ {𝑧}))⟶𝐵)
5352adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))):(𝐴 ↾ (𝑦 ∪ {𝑧}))⟶𝐵)
5449ffund 6588 . . . . . . . . . . . 12 (𝜑 → Fun 𝐹)
5554funresd 6461 . . . . . . . . . . 11 (𝜑 → Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))))
5655adantr 480 . . . . . . . . . 10 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))))
572adantr 480 . . . . . . . . . . 11 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐹 supp 0 ) ∈ Fin)
5849, 46fexd 7085 . . . . . . . . . . . . 13 (𝜑𝐹 ∈ V)
5942fvexi 6770 . . . . . . . . . . . . 13 0 ∈ V
60 ressuppss 7970 . . . . . . . . . . . . 13 ((𝐹 ∈ V ∧ 0 ∈ V) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ⊆ (𝐹 supp 0 ))
6158, 59, 60sylancl 585 . . . . . . . . . . . 12 (𝜑 → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ⊆ (𝐹 supp 0 ))
6261adantr 480 . . . . . . . . . . 11 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ⊆ (𝐹 supp 0 ))
6357, 62ssfid 8971 . . . . . . . . . 10 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ∈ Fin)
6458resexd 5927 . . . . . . . . . . . 12 (𝜑 → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∈ V)
65 isfsupp 9062 . . . . . . . . . . . 12 (((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∈ V ∧ 0 ∈ V) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) finSupp 0 ↔ (Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∧ ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ∈ Fin)))
6664, 59, 65sylancl 585 . . . . . . . . . . 11 (𝜑 → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) finSupp 0 ↔ (Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∧ ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ∈ Fin)))
6766adantr 480 . . . . . . . . . 10 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) finSupp 0 ↔ (Fun (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ∧ ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) supp 0 ) ∈ Fin)))
6856, 63, 67mpbir2and 709 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) finSupp 0 )
69 simprr 769 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ¬ 𝑧𝑦)
70 disjsn 4644 . . . . . . . . . . . 12 ((𝑦 ∩ {𝑧}) = ∅ ↔ ¬ 𝑧𝑦)
7169, 70sylibr 233 . . . . . . . . . . 11 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝑦 ∩ {𝑧}) = ∅)
7271reseq2d 5880 . . . . . . . . . 10 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐴 ↾ (𝑦 ∩ {𝑧})) = (𝐴 ↾ ∅))
73 resindi 5896 . . . . . . . . . 10 (𝐴 ↾ (𝑦 ∩ {𝑧})) = ((𝐴𝑦) ∩ (𝐴 ↾ {𝑧}))
7472, 73, 63eqtr3g 2802 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐴𝑦) ∩ (𝐴 ↾ {𝑧})) = ∅)
75 resundi 5894 . . . . . . . . . 10 (𝐴 ↾ (𝑦 ∪ {𝑧})) = ((𝐴𝑦) ∪ (𝐴 ↾ {𝑧}))
7675a1i 11 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐴 ↾ (𝑦 ∪ {𝑧})) = ((𝐴𝑦) ∪ (𝐴 ↾ {𝑧})))
7741, 42, 43, 45, 48, 53, 68, 74, 76gsumsplit 19444 . . . . . . . 8 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = ((𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧})))))
78 ssun1 4102 . . . . . . . . . . 11 𝑦 ⊆ (𝑦 ∪ {𝑧})
79 ssres2 5908 . . . . . . . . . . 11 (𝑦 ⊆ (𝑦 ∪ {𝑧}) → (𝐴𝑦) ⊆ (𝐴 ↾ (𝑦 ∪ {𝑧})))
80 resabs1 5910 . . . . . . . . . . 11 ((𝐴𝑦) ⊆ (𝐴 ↾ (𝑦 ∪ {𝑧})) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦)) = (𝐹 ↾ (𝐴𝑦)))
8178, 79, 80mp2b 10 . . . . . . . . . 10 ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦)) = (𝐹 ↾ (𝐴𝑦))
8281oveq2i 7266 . . . . . . . . 9 (𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦))) = (𝐺 Σg (𝐹 ↾ (𝐴𝑦)))
83 ssun2 4103 . . . . . . . . . . 11 {𝑧} ⊆ (𝑦 ∪ {𝑧})
84 ssres2 5908 . . . . . . . . . . 11 ({𝑧} ⊆ (𝑦 ∪ {𝑧}) → (𝐴 ↾ {𝑧}) ⊆ (𝐴 ↾ (𝑦 ∪ {𝑧})))
85 resabs1 5910 . . . . . . . . . . 11 ((𝐴 ↾ {𝑧}) ⊆ (𝐴 ↾ (𝑦 ∪ {𝑧})) → ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧})) = (𝐹 ↾ (𝐴 ↾ {𝑧})))
8683, 84, 85mp2b 10 . . . . . . . . . 10 ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧})) = (𝐹 ↾ (𝐴 ↾ {𝑧}))
8786oveq2i 7266 . . . . . . . . 9 (𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧}))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))
8882, 87oveq12i 7267 . . . . . . . 8 ((𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg ((𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧}))) ↾ (𝐴 ↾ {𝑧})))) = ((𝐺 Σg (𝐹 ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))
8977, 88eqtrdi 2795 . . . . . . 7 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = ((𝐺 Σg (𝐹 ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
90 simprl 767 . . . . . . . . 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 19486 . . . . . . . . . 10 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) ∈ 𝐵)
9594ad2antrr 722 . . . . . . . . 9 (((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) ∧ 𝑗𝑦) → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) ∈ 𝐵)
96 vex 3426 . . . . . . . . . 10 𝑧 ∈ V
9796a1i 11 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → 𝑧 ∈ V)
98 sneq 4568 . . . . . . . . . . . . . . . 16 (𝑗 = 𝑧 → {𝑗} = {𝑧})
9998imaeq2d 5958 . . . . . . . . . . . . . . 15 (𝑗 = 𝑧 → (𝐴 “ {𝑗}) = (𝐴 “ {𝑧}))
100 oveq1 7262 . . . . . . . . . . . . . . 15 (𝑗 = 𝑧 → (𝑗𝐹𝑘) = (𝑧𝐹𝑘))
10199, 100mpteq12dv 5161 . . . . . . . . . . . . . 14 (𝑗 = 𝑧 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) = (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘)))
102101oveq2d 7271 . . . . . . . . . . . . 13 (𝑗 = 𝑧 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))))
103102eleq1d 2823 . . . . . . . . . . . 12 (𝑗 = 𝑧 → ((𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) ∈ 𝐵 ↔ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) ∈ 𝐵))
104103imbi2d 340 . . . . . . . . . . 11 (𝑗 = 𝑧 → ((𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) ∈ 𝐵) ↔ (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) ∈ 𝐵)))
105104, 94chvarvv 2003 . . . . . . . . . 10 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) ∈ 𝐵)
106105adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) ∈ 𝐵)
10741, 43, 45, 90, 95, 97, 69, 106, 102gsumunsn 19476 . . . . . . . 8 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘)))))
10898reseq2d 5880 . . . . . . . . . . . . . . 15 (𝑗 = 𝑧 → (𝐴 ↾ {𝑗}) = (𝐴 ↾ {𝑧}))
109108reseq2d 5880 . . . . . . . . . . . . . 14 (𝑗 = 𝑧 → (𝐹 ↾ (𝐴 ↾ {𝑗})) = (𝐹 ↾ (𝐴 ↾ {𝑧})))
110109oveq2d 7271 . . . . . . . . . . . . 13 (𝑗 = 𝑧 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗}))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))
111102, 110eqeq12d 2754 . . . . . . . . . . . 12 (𝑗 = 𝑧 → ((𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗}))) ↔ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
112111imbi2d 340 . . . . . . . . . . 11 (𝑗 = 𝑧 → ((𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗})))) ↔ (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))))
113 imaexg 7736 . . . . . . . . . . . . . 14 (𝐴𝑉 → (𝐴 “ {𝑗}) ∈ V)
11446, 113syl 17 . . . . . . . . . . . . 13 (𝜑 → (𝐴 “ {𝑗}) ∈ V)
115 vex 3426 . . . . . . . . . . . . . . . 16 𝑗 ∈ V
116 vex 3426 . . . . . . . . . . . . . . . 16 𝑘 ∈ V
117115, 116elimasn 5986 . . . . . . . . . . . . . . 15 (𝑘 ∈ (𝐴 “ {𝑗}) ↔ ⟨𝑗, 𝑘⟩ ∈ 𝐴)
118 df-ov 7258 . . . . . . . . . . . . . . . 16 (𝑗𝐹𝑘) = (𝐹‘⟨𝑗, 𝑘⟩)
11949ffvelrnda 6943 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ ⟨𝑗, 𝑘⟩ ∈ 𝐴) → (𝐹‘⟨𝑗, 𝑘⟩) ∈ 𝐵)
120118, 119eqeltrid 2843 . . . . . . . . . . . . . . 15 ((𝜑 ∧ ⟨𝑗, 𝑘⟩ ∈ 𝐴) → (𝑗𝐹𝑘) ∈ 𝐵)
121117, 120sylan2b 593 . . . . . . . . . . . . . 14 ((𝜑𝑘 ∈ (𝐴 “ {𝑗})) → (𝑗𝐹𝑘) ∈ 𝐵)
122121fmpttd 6971 . . . . . . . . . . . . 13 (𝜑 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)):(𝐴 “ {𝑗})⟶𝐵)
123 funmpt 6456 . . . . . . . . . . . . . . 15 Fun (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))
124123a1i 11 . . . . . . . . . . . . . 14 (𝜑 → Fun (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))
125 rnfi 9032 . . . . . . . . . . . . . . . 16 ((𝐹 supp 0 ) ∈ Fin → ran (𝐹 supp 0 ) ∈ Fin)
1262, 125syl 17 . . . . . . . . . . . . . . 15 (𝜑 → ran (𝐹 supp 0 ) ∈ Fin)
127117biimpi 215 . . . . . . . . . . . . . . . . . . 19 (𝑘 ∈ (𝐴 “ {𝑗}) → ⟨𝑗, 𝑘⟩ ∈ 𝐴)
128115, 116opelrn 5841 . . . . . . . . . . . . . . . . . . . 20 (⟨𝑗, 𝑘⟩ ∈ (𝐹 supp 0 ) → 𝑘 ∈ ran (𝐹 supp 0 ))
129128con3i 154 . . . . . . . . . . . . . . . . . . 19 𝑘 ∈ ran (𝐹 supp 0 ) → ¬ ⟨𝑗, 𝑘⟩ ∈ (𝐹 supp 0 ))
130127, 129anim12i 612 . . . . . . . . . . . . . . . . . 18 ((𝑘 ∈ (𝐴 “ {𝑗}) ∧ ¬ 𝑘 ∈ ran (𝐹 supp 0 )) → (⟨𝑗, 𝑘⟩ ∈ 𝐴 ∧ ¬ ⟨𝑗, 𝑘⟩ ∈ (𝐹 supp 0 )))
131 eldif 3893 . . . . . . . . . . . . . . . . . 18 (𝑘 ∈ ((𝐴 “ {𝑗}) ∖ ran (𝐹 supp 0 )) ↔ (𝑘 ∈ (𝐴 “ {𝑗}) ∧ ¬ 𝑘 ∈ ran (𝐹 supp 0 )))
132 eldif 3893 . . . . . . . . . . . . . . . . . 18 (⟨𝑗, 𝑘⟩ ∈ (𝐴 ∖ (𝐹 supp 0 )) ↔ (⟨𝑗, 𝑘⟩ ∈ 𝐴 ∧ ¬ ⟨𝑗, 𝑘⟩ ∈ (𝐹 supp 0 )))
133130, 131, 1323imtr4i 291 . . . . . . . . . . . . . . . . 17 (𝑘 ∈ ((𝐴 “ {𝑗}) ∖ ran (𝐹 supp 0 )) → ⟨𝑗, 𝑘⟩ ∈ (𝐴 ∖ (𝐹 supp 0 )))
134 ssidd 3940 . . . . . . . . . . . . . . . . . . 19 (𝜑 → (𝐹 supp 0 ) ⊆ (𝐹 supp 0 ))
13559a1i 11 . . . . . . . . . . . . . . . . . . 19 (𝜑0 ∈ V)
13649, 134, 46, 135suppssr 7983 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ ⟨𝑗, 𝑘⟩ ∈ (𝐴 ∖ (𝐹 supp 0 ))) → (𝐹‘⟨𝑗, 𝑘⟩) = 0 )
137118, 136eqtrid 2790 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ ⟨𝑗, 𝑘⟩ ∈ (𝐴 ∖ (𝐹 supp 0 ))) → (𝑗𝐹𝑘) = 0 )
138133, 137sylan2 592 . . . . . . . . . . . . . . . 16 ((𝜑𝑘 ∈ ((𝐴 “ {𝑗}) ∖ ran (𝐹 supp 0 ))) → (𝑗𝐹𝑘) = 0 )
139138, 114suppss2 7987 . . . . . . . . . . . . . . 15 (𝜑 → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) supp 0 ) ⊆ ran (𝐹 supp 0 ))
140126, 139ssfid 8971 . . . . . . . . . . . . . 14 (𝜑 → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) supp 0 ) ∈ Fin)
141114mptexd 7082 . . . . . . . . . . . . . . 15 (𝜑 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∈ V)
142 isfsupp 9062 . . . . . . . . . . . . . . 15 (((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∈ V ∧ 0 ∈ V) → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) finSupp 0 ↔ (Fun (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∧ ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) supp 0 ) ∈ Fin)))
143141, 59, 142sylancl 585 . . . . . . . . . . . . . 14 (𝜑 → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) finSupp 0 ↔ (Fun (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∧ ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) supp 0 ) ∈ Fin)))
144124, 140, 143mpbir2and 709 . . . . . . . . . . . . 13 (𝜑 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) finSupp 0 )
145 2ndconst 7912 . . . . . . . . . . . . . 14 (𝑗 ∈ V → (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))):({𝑗} × (𝐴 “ {𝑗}))–1-1-onto→(𝐴 “ {𝑗}))
146115, 145mp1i 13 . . . . . . . . . . . . 13 (𝜑 → (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))):({𝑗} × (𝐴 “ {𝑗}))–1-1-onto→(𝐴 “ {𝑗}))
14741, 42, 44, 114, 122, 144, 146gsumf1o 19432 . . . . . . . . . . . 12 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∘ (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))))))
148 1st2nd2 7843 . . . . . . . . . . . . . . . . . 18 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → 𝑥 = ⟨(1st𝑥), (2nd𝑥)⟩)
149 xp1st 7836 . . . . . . . . . . . . . . . . . . . 20 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (1st𝑥) ∈ {𝑗})
150 elsni 4575 . . . . . . . . . . . . . . . . . . . 20 ((1st𝑥) ∈ {𝑗} → (1st𝑥) = 𝑗)
151149, 150syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (1st𝑥) = 𝑗)
152151opeq1d 4807 . . . . . . . . . . . . . . . . . 18 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → ⟨(1st𝑥), (2nd𝑥)⟩ = ⟨𝑗, (2nd𝑥)⟩)
153148, 152eqtrd 2778 . . . . . . . . . . . . . . . . 17 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → 𝑥 = ⟨𝑗, (2nd𝑥)⟩)
154153fveq2d 6760 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (𝐹𝑥) = (𝐹‘⟨𝑗, (2nd𝑥)⟩))
155 df-ov 7258 . . . . . . . . . . . . . . . 16 (𝑗𝐹(2nd𝑥)) = (𝐹‘⟨𝑗, (2nd𝑥)⟩)
156154, 155eqtr4di 2797 . . . . . . . . . . . . . . 15 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (𝐹𝑥) = (𝑗𝐹(2nd𝑥)))
157156mpteq2ia 5173 . . . . . . . . . . . . . 14 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝐹𝑥)) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝑗𝐹(2nd𝑥)))
15849feqmptd 6819 . . . . . . . . . . . . . . . 16 (𝜑𝐹 = (𝑥𝐴 ↦ (𝐹𝑥)))
159158reseq1d 5879 . . . . . . . . . . . . . . 15 (𝜑 → (𝐹 ↾ (𝐴 ↾ {𝑗})) = ((𝑥𝐴 ↦ (𝐹𝑥)) ↾ (𝐴 ↾ {𝑗})))
160 resss 5905 . . . . . . . . . . . . . . . . 17 (𝐴 ↾ {𝑗}) ⊆ 𝐴
161 resmpt 5934 . . . . . . . . . . . . . . . . 17 ((𝐴 ↾ {𝑗}) ⊆ 𝐴 → ((𝑥𝐴 ↦ (𝐹𝑥)) ↾ (𝐴 ↾ {𝑗})) = (𝑥 ∈ (𝐴 ↾ {𝑗}) ↦ (𝐹𝑥)))
162160, 161ax-mp 5 . . . . . . . . . . . . . . . 16 ((𝑥𝐴 ↦ (𝐹𝑥)) ↾ (𝐴 ↾ {𝑗})) = (𝑥 ∈ (𝐴 ↾ {𝑗}) ↦ (𝐹𝑥))
163 ressn 6177 . . . . . . . . . . . . . . . . 17 (𝐴 ↾ {𝑗}) = ({𝑗} × (𝐴 “ {𝑗}))
164163mpteq1i 5166 . . . . . . . . . . . . . . . 16 (𝑥 ∈ (𝐴 ↾ {𝑗}) ↦ (𝐹𝑥)) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝐹𝑥))
165162, 164eqtri 2766 . . . . . . . . . . . . . . 15 ((𝑥𝐴 ↦ (𝐹𝑥)) ↾ (𝐴 ↾ {𝑗})) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝐹𝑥))
166159, 165eqtrdi 2795 . . . . . . . . . . . . . 14 (𝜑 → (𝐹 ↾ (𝐴 ↾ {𝑗})) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝐹𝑥)))
167 xp2nd 7837 . . . . . . . . . . . . . . . 16 (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) → (2nd𝑥) ∈ (𝐴 “ {𝑗}))
168167adantl 481 . . . . . . . . . . . . . . 15 ((𝜑𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗}))) → (2nd𝑥) ∈ (𝐴 “ {𝑗}))
169 fo2nd 7825 . . . . . . . . . . . . . . . . . . 19 2nd :V–onto→V
170 fof 6672 . . . . . . . . . . . . . . . . . . 19 (2nd :V–onto→V → 2nd :V⟶V)
171169, 170mp1i 13 . . . . . . . . . . . . . . . . . 18 (𝜑 → 2nd :V⟶V)
172171feqmptd 6819 . . . . . . . . . . . . . . . . 17 (𝜑 → 2nd = (𝑥 ∈ V ↦ (2nd𝑥)))
173172reseq1d 5879 . . . . . . . . . . . . . . . 16 (𝜑 → (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))) = ((𝑥 ∈ V ↦ (2nd𝑥)) ↾ ({𝑗} × (𝐴 “ {𝑗}))))
174 ssv 3941 . . . . . . . . . . . . . . . . 17 ({𝑗} × (𝐴 “ {𝑗})) ⊆ V
175 resmpt 5934 . . . . . . . . . . . . . . . . 17 (({𝑗} × (𝐴 “ {𝑗})) ⊆ V → ((𝑥 ∈ V ↦ (2nd𝑥)) ↾ ({𝑗} × (𝐴 “ {𝑗}))) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (2nd𝑥)))
176174, 175ax-mp 5 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ V ↦ (2nd𝑥)) ↾ ({𝑗} × (𝐴 “ {𝑗}))) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (2nd𝑥))
177173, 176eqtrdi 2795 . . . . . . . . . . . . . . 15 (𝜑 → (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (2nd𝑥)))
178 eqidd 2739 . . . . . . . . . . . . . . 15 (𝜑 → (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) = (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))
179 oveq2 7263 . . . . . . . . . . . . . . 15 (𝑘 = (2nd𝑥) → (𝑗𝐹𝑘) = (𝑗𝐹(2nd𝑥)))
180168, 177, 178, 179fmptco 6983 . . . . . . . . . . . . . 14 (𝜑 → ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∘ (2nd ↾ ({𝑗} × (𝐴 “ {𝑗})))) = (𝑥 ∈ ({𝑗} × (𝐴 “ {𝑗})) ↦ (𝑗𝐹(2nd𝑥))))
181157, 166, 1803eqtr4a 2805 . . . . . . . . . . . . 13 (𝜑 → (𝐹 ↾ (𝐴 ↾ {𝑗})) = ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∘ (2nd ↾ ({𝑗} × (𝐴 “ {𝑗})))))
182181oveq2d 7271 . . . . . . . . . . . 12 (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗}))) = (𝐺 Σg ((𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)) ∘ (2nd ↾ ({𝑗} × (𝐴 “ {𝑗}))))))
183147, 182eqtr4d 2781 . . . . . . . . . . 11 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑗}))))
184112, 183chvarvv 2003 . . . . . . . . . 10 (𝜑 → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))
185184adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘))) = (𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))
186185oveq2d 7271 . . . . . . . 8 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑧}) ↦ (𝑧𝐹𝑘)))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
187107, 186eqtrd 2778 . . . . . . 7 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))))
18889, 187eqeq12d 2754 . . . . . 6 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) ↔ ((𝐺 Σg (𝐹 ↾ (𝐴𝑦)))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧})))) = ((𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))(+g𝐺)(𝐺 Σg (𝐹 ↾ (𝐴 ↾ {𝑧}))))))
18940, 188syl5ibr 245 . . . . 5 ((𝜑 ∧ (𝑦 ∈ Fin ∧ ¬ 𝑧𝑦)) → ((𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))))
190189expcom 413 . . . 4 ((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) → (𝜑 → ((𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))) → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))))
191190a2d 29 . . 3 ((𝑦 ∈ Fin ∧ ¬ 𝑧𝑦) → ((𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴𝑦))) = (𝐺 Σg (𝑗𝑦 ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘)))))) → (𝜑 → (𝐺 Σg (𝐹 ↾ (𝐴 ↾ (𝑦 ∪ {𝑧})))) = (𝐺 Σg (𝑗 ∈ (𝑦 ∪ {𝑧}) ↦ (𝐺 Σg (𝑘 ∈ (𝐴 “ {𝑗}) ↦ (𝑗𝐹𝑘))))))))
19217, 24, 31, 38, 39, 191findcard2s 8910 . 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 395   = wceq 1539  wcel 2108  Vcvv 3422  cdif 3880  cun 3881  cin 3882  wss 3883  c0 4253  {csn 4558  cop 4564   class class class wbr 5070  cmpt 5153   × cxp 5578  dom cdm 5580  ran crn 5581  cres 5582  cima 5583  ccom 5584  Rel wrel 5585  Fun wfun 6412  wf 6414  ontowfo 6416  1-1-ontowf1o 6417  cfv 6418  (class class class)co 7255  1st c1st 7802  2nd c2nd 7803   supp csupp 7948  Fincfn 8691   finSupp cfsupp 9058  Basecbs 16840  +gcplusg 16888  0gc0g 17067   Σg cgsu 17068  CMndccmn 19301
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
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  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-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-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-fsupp 9059  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-nn 11904  df-2 11966  df-n0 12164  df-z 12250  df-uz 12512  df-fz 13169  df-fzo 13312  df-seq 13650  df-hash 13973  df-sets 16793  df-slot 16811  df-ndx 16823  df-base 16841  df-ress 16868  df-plusg 16901  df-0g 17069  df-gsum 17070  df-mre 17212  df-mrc 17213  df-acs 17215  df-mgm 18241  df-sgrp 18290  df-mnd 18301  df-submnd 18346  df-mulg 18616  df-cntz 18838  df-cmn 19303
This theorem is referenced by:  gsum2d  19488
  Copyright terms: Public domain W3C validator