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

Theorem gsumzcl2 19891
Description: Closure of a finite group sum. This theorem has a weaker hypothesis than gsumzcl 19892, because it is not required that 𝐹 is a function (actually, the hypothesis always holds for any proper class 𝐹). (Contributed by Mario Carneiro, 24-Apr-2016.) (Revised by AV, 1-Jun-2019.)
Hypotheses
Ref Expression
gsumzcl.b 𝐵 = (Base‘𝐺)
gsumzcl.0 0 = (0g𝐺)
gsumzcl.z 𝑍 = (Cntz‘𝐺)
gsumzcl.g (𝜑𝐺 ∈ Mnd)
gsumzcl.a (𝜑𝐴𝑉)
gsumzcl.f (𝜑𝐹:𝐴𝐵)
gsumzcl.c (𝜑 → ran 𝐹 ⊆ (𝑍‘ran 𝐹))
gsumzcl2.w (𝜑 → (𝐹 supp 0 ) ∈ Fin)
Assertion
Ref Expression
gsumzcl2 (𝜑 → (𝐺 Σg 𝐹) ∈ 𝐵)

Proof of Theorem gsumzcl2
Dummy variables 𝑓 𝑘 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 gsumzcl.f . . . . . . 7 (𝜑𝐹:𝐴𝐵)
2 gsumzcl.a . . . . . . 7 (𝜑𝐴𝑉)
3 gsumzcl.0 . . . . . . . . 9 0 = (0g𝐺)
43fvexi 6890 . . . . . . . 8 0 ∈ V
54a1i 11 . . . . . . 7 (𝜑0 ∈ V)
6 ssidd 3982 . . . . . . 7 (𝜑 → (𝐹 supp 0 ) ⊆ (𝐹 supp 0 ))
71, 2, 5, 6gsumcllem 19889 . . . . . 6 ((𝜑 ∧ (𝐹 supp 0 ) = ∅) → 𝐹 = (𝑘𝐴0 ))
87oveq2d 7421 . . . . 5 ((𝜑 ∧ (𝐹 supp 0 ) = ∅) → (𝐺 Σg 𝐹) = (𝐺 Σg (𝑘𝐴0 )))
9 gsumzcl.g . . . . . . 7 (𝜑𝐺 ∈ Mnd)
103gsumz 18814 . . . . . . 7 ((𝐺 ∈ Mnd ∧ 𝐴𝑉) → (𝐺 Σg (𝑘𝐴0 )) = 0 )
119, 2, 10syl2anc 584 . . . . . 6 (𝜑 → (𝐺 Σg (𝑘𝐴0 )) = 0 )
1211adantr 480 . . . . 5 ((𝜑 ∧ (𝐹 supp 0 ) = ∅) → (𝐺 Σg (𝑘𝐴0 )) = 0 )
138, 12eqtrd 2770 . . . 4 ((𝜑 ∧ (𝐹 supp 0 ) = ∅) → (𝐺 Σg 𝐹) = 0 )
14 gsumzcl.b . . . . . . 7 𝐵 = (Base‘𝐺)
1514, 3mndidcl 18727 . . . . . 6 (𝐺 ∈ Mnd → 0𝐵)
169, 15syl 17 . . . . 5 (𝜑0𝐵)
1716adantr 480 . . . 4 ((𝜑 ∧ (𝐹 supp 0 ) = ∅) → 0𝐵)
1813, 17eqeltrd 2834 . . 3 ((𝜑 ∧ (𝐹 supp 0 ) = ∅) → (𝐺 Σg 𝐹) ∈ 𝐵)
1918ex 412 . 2 (𝜑 → ((𝐹 supp 0 ) = ∅ → (𝐺 Σg 𝐹) ∈ 𝐵))
20 eqid 2735 . . . . . . 7 (+g𝐺) = (+g𝐺)
21 gsumzcl.z . . . . . . 7 𝑍 = (Cntz‘𝐺)
229adantr 480 . . . . . . 7 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → 𝐺 ∈ Mnd)
232adantr 480 . . . . . . 7 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → 𝐴𝑉)
241adantr 480 . . . . . . 7 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → 𝐹:𝐴𝐵)
25 gsumzcl.c . . . . . . . 8 (𝜑 → ran 𝐹 ⊆ (𝑍‘ran 𝐹))
2625adantr 480 . . . . . . 7 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → ran 𝐹 ⊆ (𝑍‘ran 𝐹))
27 simprl 770 . . . . . . 7 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → (♯‘(𝐹 supp 0 )) ∈ ℕ)
28 f1of1 6817 . . . . . . . . 9 (𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ) → 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1→(𝐹 supp 0 ))
2928ad2antll 729 . . . . . . . 8 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1→(𝐹 supp 0 ))
30 suppssdm 8176 . . . . . . . . . 10 (𝐹 supp 0 ) ⊆ dom 𝐹
3130, 1fssdm 6725 . . . . . . . . 9 (𝜑 → (𝐹 supp 0 ) ⊆ 𝐴)
3231adantr 480 . . . . . . . 8 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → (𝐹 supp 0 ) ⊆ 𝐴)
33 f1ss 6779 . . . . . . . 8 ((𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1→(𝐹 supp 0 ) ∧ (𝐹 supp 0 ) ⊆ 𝐴) → 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1𝐴)
3429, 32, 33syl2anc 584 . . . . . . 7 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1𝐴)
35 ssid 3981 . . . . . . . 8 (𝐹 supp 0 ) ⊆ (𝐹 supp 0 )
36 f1ofo 6825 . . . . . . . . . 10 (𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ) → 𝑓:(1...(♯‘(𝐹 supp 0 )))–onto→(𝐹 supp 0 ))
37 forn 6793 . . . . . . . . . 10 (𝑓:(1...(♯‘(𝐹 supp 0 )))–onto→(𝐹 supp 0 ) → ran 𝑓 = (𝐹 supp 0 ))
3836, 37syl 17 . . . . . . . . 9 (𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ) → ran 𝑓 = (𝐹 supp 0 ))
3938ad2antll 729 . . . . . . . 8 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → ran 𝑓 = (𝐹 supp 0 ))
4035, 39sseqtrrid 4002 . . . . . . 7 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → (𝐹 supp 0 ) ⊆ ran 𝑓)
41 eqid 2735 . . . . . . 7 ((𝐹𝑓) supp 0 ) = ((𝐹𝑓) supp 0 )
4214, 3, 20, 21, 22, 23, 24, 26, 27, 34, 40, 41gsumval3 19888 . . . . . 6 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → (𝐺 Σg 𝐹) = (seq1((+g𝐺), (𝐹𝑓))‘(♯‘(𝐹 supp 0 ))))
43 nnuz 12895 . . . . . . . 8 ℕ = (ℤ‘1)
4427, 43eleqtrdi 2844 . . . . . . 7 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → (♯‘(𝐹 supp 0 )) ∈ (ℤ‘1))
45 f1f 6774 . . . . . . . . . 10 (𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1𝐴𝑓:(1...(♯‘(𝐹 supp 0 )))⟶𝐴)
4634, 45syl 17 . . . . . . . . 9 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → 𝑓:(1...(♯‘(𝐹 supp 0 )))⟶𝐴)
47 fco 6730 . . . . . . . . 9 ((𝐹:𝐴𝐵𝑓:(1...(♯‘(𝐹 supp 0 )))⟶𝐴) → (𝐹𝑓):(1...(♯‘(𝐹 supp 0 )))⟶𝐵)
4824, 46, 47syl2anc 584 . . . . . . . 8 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → (𝐹𝑓):(1...(♯‘(𝐹 supp 0 )))⟶𝐵)
4948ffvelcdmda 7074 . . . . . . 7 (((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) ∧ 𝑘 ∈ (1...(♯‘(𝐹 supp 0 )))) → ((𝐹𝑓)‘𝑘) ∈ 𝐵)
5014, 20mndcl 18720 . . . . . . . . 9 ((𝐺 ∈ Mnd ∧ 𝑘𝐵𝑥𝐵) → (𝑘(+g𝐺)𝑥) ∈ 𝐵)
51503expb 1120 . . . . . . . 8 ((𝐺 ∈ Mnd ∧ (𝑘𝐵𝑥𝐵)) → (𝑘(+g𝐺)𝑥) ∈ 𝐵)
5222, 51sylan 580 . . . . . . 7 (((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) ∧ (𝑘𝐵𝑥𝐵)) → (𝑘(+g𝐺)𝑥) ∈ 𝐵)
5344, 49, 52seqcl 14040 . . . . . 6 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → (seq1((+g𝐺), (𝐹𝑓))‘(♯‘(𝐹 supp 0 ))) ∈ 𝐵)
5442, 53eqeltrd 2834 . . . . 5 ((𝜑 ∧ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))) → (𝐺 Σg 𝐹) ∈ 𝐵)
5554expr 456 . . . 4 ((𝜑 ∧ (♯‘(𝐹 supp 0 )) ∈ ℕ) → (𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ) → (𝐺 Σg 𝐹) ∈ 𝐵))
5655exlimdv 1933 . . 3 ((𝜑 ∧ (♯‘(𝐹 supp 0 )) ∈ ℕ) → (∃𝑓 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ) → (𝐺 Σg 𝐹) ∈ 𝐵))
5756expimpd 453 . 2 (𝜑 → (((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ ∃𝑓 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 )) → (𝐺 Σg 𝐹) ∈ 𝐵))
58 gsumzcl2.w . . 3 (𝜑 → (𝐹 supp 0 ) ∈ Fin)
59 fz1f1o 15726 . . 3 ((𝐹 supp 0 ) ∈ Fin → ((𝐹 supp 0 ) = ∅ ∨ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ ∃𝑓 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))))
6058, 59syl 17 . 2 (𝜑 → ((𝐹 supp 0 ) = ∅ ∨ ((♯‘(𝐹 supp 0 )) ∈ ℕ ∧ ∃𝑓 𝑓:(1...(♯‘(𝐹 supp 0 )))–1-1-onto→(𝐹 supp 0 ))))
6119, 57, 60mpjaod 860 1 (𝜑 → (𝐺 Σg 𝐹) ∈ 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  wo 847   = wceq 1540  wex 1779  wcel 2108  Vcvv 3459  wss 3926  c0 4308  cmpt 5201  ran crn 5655  ccom 5658  wf 6527  1-1wf1 6528  ontowfo 6529  1-1-ontowf1o 6530  cfv 6531  (class class class)co 7405   supp csupp 8159  Fincfn 8959  1c1 11130  cn 12240  cuz 12852  ...cfz 13524  seqcseq 14019  chash 14348  Basecbs 17228  +gcplusg 17271  0gc0g 17453   Σg cgsu 17454  Mndcmnd 18712  Cntzccntz 19298
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2157  ax-12 2177  ax-ext 2707  ax-rep 5249  ax-sep 5266  ax-nul 5276  ax-pow 5335  ax-pr 5402  ax-un 7729  ax-cnex 11185  ax-resscn 11186  ax-1cn 11187  ax-icn 11188  ax-addcl 11189  ax-addrcl 11190  ax-mulcl 11191  ax-mulrcl 11192  ax-mulcom 11193  ax-addass 11194  ax-mulass 11195  ax-distr 11196  ax-i2m1 11197  ax-1ne0 11198  ax-1rid 11199  ax-rnegex 11200  ax-rrecex 11201  ax-cnre 11202  ax-pre-lttri 11203  ax-pre-lttrn 11204  ax-pre-ltadd 11205  ax-pre-mulgt0 11206
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2065  df-mo 2539  df-eu 2568  df-clab 2714  df-cleq 2727  df-clel 2809  df-nfc 2885  df-ne 2933  df-nel 3037  df-ral 3052  df-rex 3061  df-rmo 3359  df-reu 3360  df-rab 3416  df-v 3461  df-sbc 3766  df-csb 3875  df-dif 3929  df-un 3931  df-in 3933  df-ss 3943  df-pss 3946  df-nul 4309  df-if 4501  df-pw 4577  df-sn 4602  df-pr 4604  df-op 4608  df-uni 4884  df-int 4923  df-iun 4969  df-br 5120  df-opab 5182  df-mpt 5202  df-tr 5230  df-id 5548  df-eprel 5553  df-po 5561  df-so 5562  df-fr 5606  df-se 5607  df-we 5608  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-pred 6290  df-ord 6355  df-on 6356  df-lim 6357  df-suc 6358  df-iota 6484  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-isom 6540  df-riota 7362  df-ov 7408  df-oprab 7409  df-mpo 7410  df-om 7862  df-1st 7988  df-2nd 7989  df-supp 8160  df-frecs 8280  df-wrecs 8311  df-recs 8385  df-rdg 8424  df-1o 8480  df-er 8719  df-en 8960  df-dom 8961  df-sdom 8962  df-fin 8963  df-oi 9524  df-card 9953  df-pnf 11271  df-mnf 11272  df-xr 11273  df-ltxr 11274  df-le 11275  df-sub 11468  df-neg 11469  df-nn 12241  df-n0 12502  df-z 12589  df-uz 12853  df-fz 13525  df-fzo 13672  df-seq 14020  df-hash 14349  df-0g 17455  df-gsum 17456  df-mgm 18618  df-sgrp 18697  df-mnd 18713  df-cntz 19300
This theorem is referenced by:  gsumzcl  19892  gsumcl2  19895
  Copyright terms: Public domain W3C validator