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

Theorem nn0gsumfz 18152
Description: Replacing a finitely supported function over the nonnegative integers by a function over a finite set of sequential integers in a finite group sum. (Contributed by AV, 9-Oct-2019.)
Hypotheses
Ref Expression
nn0gsumfz.b 𝐵 = (Base‘𝐺)
nn0gsumfz.0 0 = (0g𝐺)
nn0gsumfz.g (𝜑𝐺 ∈ CMnd)
nn0gsumfz.f (𝜑𝐹 ∈ (𝐵𝑚0))
nn0gsumfz.y (𝜑𝐹 finSupp 0 )
Assertion
Ref Expression
nn0gsumfz (𝜑 → ∃𝑠 ∈ ℕ0𝑓 ∈ (𝐵𝑚 (0...𝑠))(𝑓 = (𝐹 ↾ (0...𝑠)) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ) ∧ (𝐺 Σg 𝐹) = (𝐺 Σg 𝑓)))
Distinct variable groups:   𝐵,𝑓   𝑓,𝐹,𝑠,𝑥   𝑓,𝐺   0 ,𝑓,𝑠,𝑥   𝜑,𝑓,𝑠
Allowed substitution hints:   𝜑(𝑥)   𝐵(𝑥,𝑠)   𝐺(𝑥,𝑠)

Proof of Theorem nn0gsumfz
StepHypRef Expression
1 nn0gsumfz.f . . . 4 (𝜑𝐹 ∈ (𝐵𝑚0))
2 nn0gsumfz.0 . . . . 5 0 = (0g𝐺)
3 fvex 6098 . . . . 5 (0g𝐺) ∈ V
42, 3eqeltri 2684 . . . 4 0 ∈ V
51, 4jctir 559 . . 3 (𝜑 → (𝐹 ∈ (𝐵𝑚0) ∧ 0 ∈ V))
6 nn0gsumfz.y . . 3 (𝜑𝐹 finSupp 0 )
7 fsuppmapnn0ub 12615 . . 3 ((𝐹 ∈ (𝐵𝑚0) ∧ 0 ∈ V) → (𝐹 finSupp 0 → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 )))
85, 6, 7sylc 63 . 2 (𝜑 → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ))
9 eqidd 2611 . . . . 5 (((𝜑𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 )) → (𝐹 ↾ (0...𝑠)) = (𝐹 ↾ (0...𝑠)))
10 simpr 476 . . . . 5 (((𝜑𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 )) → ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ))
11 nn0gsumfz.b . . . . . . 7 𝐵 = (Base‘𝐺)
12 nn0gsumfz.g . . . . . . . 8 (𝜑𝐺 ∈ CMnd)
1312adantr 480 . . . . . . 7 ((𝜑𝑠 ∈ ℕ0) → 𝐺 ∈ CMnd)
141adantr 480 . . . . . . 7 ((𝜑𝑠 ∈ ℕ0) → 𝐹 ∈ (𝐵𝑚0))
15 simpr 476 . . . . . . 7 ((𝜑𝑠 ∈ ℕ0) → 𝑠 ∈ ℕ0)
16 eqid 2610 . . . . . . 7 (𝐹 ↾ (0...𝑠)) = (𝐹 ↾ (0...𝑠))
1711, 2, 13, 14, 15, 16fsfnn0gsumfsffz 18151 . . . . . 6 ((𝜑𝑠 ∈ ℕ0) → (∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ) → (𝐺 Σg 𝐹) = (𝐺 Σg (𝐹 ↾ (0...𝑠)))))
1817imp 444 . . . . 5 (((𝜑𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 )) → (𝐺 Σg 𝐹) = (𝐺 Σg (𝐹 ↾ (0...𝑠))))
1914adantr 480 . . . . . . 7 (((𝜑𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 )) → 𝐹 ∈ (𝐵𝑚0))
20 fz0ssnn0 12262 . . . . . . 7 (0...𝑠) ⊆ ℕ0
21 elmapssres 7746 . . . . . . 7 ((𝐹 ∈ (𝐵𝑚0) ∧ (0...𝑠) ⊆ ℕ0) → (𝐹 ↾ (0...𝑠)) ∈ (𝐵𝑚 (0...𝑠)))
2219, 20, 21sylancl 693 . . . . . 6 (((𝜑𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 )) → (𝐹 ↾ (0...𝑠)) ∈ (𝐵𝑚 (0...𝑠)))
23 eqeq1 2614 . . . . . . . 8 (𝑓 = (𝐹 ↾ (0...𝑠)) → (𝑓 = (𝐹 ↾ (0...𝑠)) ↔ (𝐹 ↾ (0...𝑠)) = (𝐹 ↾ (0...𝑠))))
24 oveq2 6535 . . . . . . . . 9 (𝑓 = (𝐹 ↾ (0...𝑠)) → (𝐺 Σg 𝑓) = (𝐺 Σg (𝐹 ↾ (0...𝑠))))
2524eqeq2d 2620 . . . . . . . 8 (𝑓 = (𝐹 ↾ (0...𝑠)) → ((𝐺 Σg 𝐹) = (𝐺 Σg 𝑓) ↔ (𝐺 Σg 𝐹) = (𝐺 Σg (𝐹 ↾ (0...𝑠)))))
2623, 253anbi13d 1393 . . . . . . 7 (𝑓 = (𝐹 ↾ (0...𝑠)) → ((𝑓 = (𝐹 ↾ (0...𝑠)) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ) ∧ (𝐺 Σg 𝐹) = (𝐺 Σg 𝑓)) ↔ ((𝐹 ↾ (0...𝑠)) = (𝐹 ↾ (0...𝑠)) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ) ∧ (𝐺 Σg 𝐹) = (𝐺 Σg (𝐹 ↾ (0...𝑠))))))
2726adantl 481 . . . . . 6 ((((𝜑𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 )) ∧ 𝑓 = (𝐹 ↾ (0...𝑠))) → ((𝑓 = (𝐹 ↾ (0...𝑠)) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ) ∧ (𝐺 Σg 𝐹) = (𝐺 Σg 𝑓)) ↔ ((𝐹 ↾ (0...𝑠)) = (𝐹 ↾ (0...𝑠)) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ) ∧ (𝐺 Σg 𝐹) = (𝐺 Σg (𝐹 ↾ (0...𝑠))))))
2822, 27rspcedv 3286 . . . . 5 (((𝜑𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 )) → (((𝐹 ↾ (0...𝑠)) = (𝐹 ↾ (0...𝑠)) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ) ∧ (𝐺 Σg 𝐹) = (𝐺 Σg (𝐹 ↾ (0...𝑠)))) → ∃𝑓 ∈ (𝐵𝑚 (0...𝑠))(𝑓 = (𝐹 ↾ (0...𝑠)) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ) ∧ (𝐺 Σg 𝐹) = (𝐺 Σg 𝑓))))
299, 10, 18, 28mp3and 1419 . . . 4 (((𝜑𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 )) → ∃𝑓 ∈ (𝐵𝑚 (0...𝑠))(𝑓 = (𝐹 ↾ (0...𝑠)) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ) ∧ (𝐺 Σg 𝐹) = (𝐺 Σg 𝑓)))
3029ex 449 . . 3 ((𝜑𝑠 ∈ ℕ0) → (∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ) → ∃𝑓 ∈ (𝐵𝑚 (0...𝑠))(𝑓 = (𝐹 ↾ (0...𝑠)) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ) ∧ (𝐺 Σg 𝐹) = (𝐺 Σg 𝑓))))
3130reximdva 3000 . 2 (𝜑 → (∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ) → ∃𝑠 ∈ ℕ0𝑓 ∈ (𝐵𝑚 (0...𝑠))(𝑓 = (𝐹 ↾ (0...𝑠)) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ) ∧ (𝐺 Σg 𝐹) = (𝐺 Σg 𝑓))))
328, 31mpd 15 1 (𝜑 → ∃𝑠 ∈ ℕ0𝑓 ∈ (𝐵𝑚 (0...𝑠))(𝑓 = (𝐹 ↾ (0...𝑠)) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥 → (𝐹𝑥) = 0 ) ∧ (𝐺 Σg 𝐹) = (𝐺 Σg 𝑓)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383  w3a 1031   = wceq 1475  wcel 1977  wral 2896  wrex 2897  Vcvv 3173  wss 3540   class class class wbr 4578  cres 5030  cfv 5790  (class class class)co 6527  𝑚 cmap 7722   finSupp cfsupp 8136  0cc0 9793   < clt 9931  0cn0 11142  ...cfz 12155  Basecbs 15644  0gc0g 15872   Σg cgsu 15873  CMndccmn 17965
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-rep 4694  ax-sep 4704  ax-nul 4712  ax-pow 4764  ax-pr 4828  ax-un 6825  ax-cnex 9849  ax-resscn 9850  ax-1cn 9851  ax-icn 9852  ax-addcl 9853  ax-addrcl 9854  ax-mulcl 9855  ax-mulrcl 9856  ax-mulcom 9857  ax-addass 9858  ax-mulass 9859  ax-distr 9860  ax-i2m1 9861  ax-1ne0 9862  ax-1rid 9863  ax-rnegex 9864  ax-rrecex 9865  ax-cnre 9866  ax-pre-lttri 9867  ax-pre-lttrn 9868  ax-pre-ltadd 9869  ax-pre-mulgt0 9870
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-nel 2783  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4368  df-int 4406  df-iun 4452  df-br 4579  df-opab 4639  df-mpt 4640  df-tr 4676  df-eprel 4939  df-id 4943  df-po 4949  df-so 4950  df-fr 4987  df-se 4988  df-we 4989  df-xp 5034  df-rel 5035  df-cnv 5036  df-co 5037  df-dm 5038  df-rn 5039  df-res 5040  df-ima 5041  df-pred 5583  df-ord 5629  df-on 5630  df-lim 5631  df-suc 5632  df-iota 5754  df-fun 5792  df-fn 5793  df-f 5794  df-f1 5795  df-fo 5796  df-f1o 5797  df-fv 5798  df-isom 5799  df-riota 6489  df-ov 6530  df-oprab 6531  df-mpt2 6532  df-om 6936  df-1st 7037  df-2nd 7038  df-supp 7161  df-wrecs 7272  df-recs 7333  df-rdg 7371  df-1o 7425  df-oadd 7429  df-er 7607  df-map 7724  df-en 7820  df-dom 7821  df-sdom 7822  df-fin 7823  df-fsupp 8137  df-oi 8276  df-card 8626  df-pnf 9933  df-mnf 9934  df-xr 9935  df-ltxr 9936  df-le 9937  df-sub 10120  df-neg 10121  df-nn 10871  df-n0 11143  df-z 11214  df-uz 11523  df-fz 12156  df-fzo 12293  df-seq 12622  df-hash 12938  df-0g 15874  df-gsum 15875  df-mgm 17014  df-sgrp 17056  df-mnd 17067  df-cntz 17522  df-cmn 17967
This theorem is referenced by:  nn0gsumfz0  18153
  Copyright terms: Public domain W3C validator