MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  gsumfsum Structured version   Unicode version

Theorem gsumfsum 18247
Description: Relate a group sum on ℂfld to a finite sum on the complex numbers. (Contributed by Mario Carneiro, 28-Dec-2014.)
Hypotheses
Ref Expression
gsumfsum.1  |-  ( ph  ->  A  e.  Fin )
gsumfsum.2  |-  ( (
ph  /\  k  e.  A )  ->  B  e.  CC )
Assertion
Ref Expression
gsumfsum  |-  ( ph  ->  (fld 
gsumg  ( k  e.  A  |->  B ) )  = 
sum_ k  e.  A  B )
Distinct variable groups:    A, k    ph, k
Allowed substitution hint:    B( k)

Proof of Theorem gsumfsum
Dummy variables  f  n  x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mpteq1 4522 . . . . . . 7  |-  ( A  =  (/)  ->  ( k  e.  A  |->  B )  =  ( k  e.  (/)  |->  B ) )
2 mpt0 5701 . . . . . . 7  |-  ( k  e.  (/)  |->  B )  =  (/)
31, 2syl6eq 2519 . . . . . 6  |-  ( A  =  (/)  ->  ( k  e.  A  |->  B )  =  (/) )
43oveq2d 6293 . . . . 5  |-  ( A  =  (/)  ->  (fld  gsumg  ( k  e.  A  |->  B ) )  =  (fld 
gsumg  (/) ) )
5 cnfld0 18208 . . . . . . 7  |-  0  =  ( 0g ` fld )
65gsum0 15818 . . . . . 6  |-  (fld  gsumg  (/) )  =  0
7 sum0 13494 . . . . . 6  |-  sum_ k  e.  (/)  B  =  0
86, 7eqtr4i 2494 . . . . 5  |-  (fld  gsumg  (/) )  =  sum_ k  e.  (/)  B
94, 8syl6eq 2519 . . . 4  |-  ( A  =  (/)  ->  (fld  gsumg  ( k  e.  A  |->  B ) )  = 
sum_ k  e.  (/)  B )
10 sumeq1 13462 . . . 4  |-  ( A  =  (/)  ->  sum_ k  e.  A  B  =  sum_ k  e.  (/)  B )
119, 10eqtr4d 2506 . . 3  |-  ( A  =  (/)  ->  (fld  gsumg  ( k  e.  A  |->  B ) )  = 
sum_ k  e.  A  B )
1211a1i 11 . 2  |-  ( ph  ->  ( A  =  (/)  ->  (fld 
gsumg  ( k  e.  A  |->  B ) )  = 
sum_ k  e.  A  B ) )
13 cnfldbas 18190 . . . . . . 7  |-  CC  =  ( Base ` fld )
14 cnfldadd 18191 . . . . . . 7  |-  +  =  ( +g  ` fld )
15 eqid 2462 . . . . . . 7  |-  (Cntz ` fld )  =  (Cntz ` fld )
16 cnrng 18206 . . . . . . . 8  |-fld  e.  Ring
17 rngmnd 16990 . . . . . . . 8  |-  (fld  e.  Ring  ->fld  e.  Mnd )
1816, 17mp1i 12 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->fld  e.  Mnd )
19 gsumfsum.1 . . . . . . . 8  |-  ( ph  ->  A  e.  Fin )
2019adantr 465 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  A  e.  Fin )
21 gsumfsum.2 . . . . . . . . 9  |-  ( (
ph  /\  k  e.  A )  ->  B  e.  CC )
22 eqid 2462 . . . . . . . . 9  |-  ( k  e.  A  |->  B )  =  ( k  e.  A  |->  B )
2321, 22fmptd 6038 . . . . . . . 8  |-  ( ph  ->  ( k  e.  A  |->  B ) : A --> CC )
2423adantr 465 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  (
k  e.  A  |->  B ) : A --> CC )
25 rngcmn 17011 . . . . . . . . 9  |-  (fld  e.  Ring  ->fld  e. CMnd )
2616, 25mp1i 12 . . . . . . . 8  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->fld  e. CMnd )
2713, 15, 26, 24cntzcmnf 16639 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  ran  ( k  e.  A  |->  B )  C_  (
(Cntz ` fld ) `  ran  (
k  e.  A  |->  B ) ) )
28 simprl 755 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  ( # `
 A )  e.  NN )
29 simprr 756 . . . . . . . 8  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  f : ( 1 ... ( # `  A
) ) -1-1-onto-> A )
30 f1of1 5808 . . . . . . . 8  |-  ( f : ( 1 ... ( # `  A
) ) -1-1-onto-> A  ->  f :
( 1 ... ( # `
 A ) )
-1-1-> A )
3129, 30syl 16 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  f : ( 1 ... ( # `  A
) ) -1-1-> A )
32 suppssdm 6906 . . . . . . . . 9  |-  ( ( k  e.  A  |->  B ) supp  0 )  C_  dom  ( k  e.  A  |->  B )
33 fdm 5728 . . . . . . . . . 10  |-  ( ( k  e.  A  |->  B ) : A --> CC  ->  dom  ( k  e.  A  |->  B )  =  A )
3424, 33syl 16 . . . . . . . . 9  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  dom  ( k  e.  A  |->  B )  =  A )
3532, 34syl5sseq 3547 . . . . . . . 8  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  (
( k  e.  A  |->  B ) supp  0 ) 
C_  A )
36 f1ofo 5816 . . . . . . . . 9  |-  ( f : ( 1 ... ( # `  A
) ) -1-1-onto-> A  ->  f :
( 1 ... ( # `
 A ) )
-onto-> A )
37 forn 5791 . . . . . . . . 9  |-  ( f : ( 1 ... ( # `  A
) ) -onto-> A  ->  ran  f  =  A
)
3829, 36, 373syl 20 . . . . . . . 8  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  ran  f  =  A )
3935, 38sseqtr4d 3536 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  (
( k  e.  A  |->  B ) supp  0 ) 
C_  ran  f )
40 eqid 2462 . . . . . . 7  |-  ( ( ( k  e.  A  |->  B )  o.  f
) supp  0 )  =  ( ( ( k  e.  A  |->  B )  o.  f ) supp  0
)
4113, 5, 14, 15, 18, 20, 24, 27, 28, 31, 39, 40gsumval3 16697 . . . . . 6  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  (fld  gsumg  ( k  e.  A  |->  B ) )  =  (  seq 1 (  +  ,  ( ( k  e.  A  |->  B )  o.  f ) ) `  ( # `  A ) ) )
42 sumfc 13482 . . . . . . 7  |-  sum_ x  e.  A  ( (
k  e.  A  |->  B ) `  x )  =  sum_ k  e.  A  B
43 fveq2 5859 . . . . . . . 8  |-  ( x  =  ( f `  n )  ->  (
( k  e.  A  |->  B ) `  x
)  =  ( ( k  e.  A  |->  B ) `  ( f `
 n ) ) )
4424ffvelrnda 6014 . . . . . . . 8  |-  ( ( ( ph  /\  (
( # `  A )  e.  NN  /\  f : ( 1 ... ( # `  A
) ) -1-1-onto-> A ) )  /\  x  e.  A )  ->  ( ( k  e.  A  |->  B ) `  x )  e.  CC )
45 f1of 5809 . . . . . . . . . 10  |-  ( f : ( 1 ... ( # `  A
) ) -1-1-onto-> A  ->  f :
( 1 ... ( # `
 A ) ) --> A )
4629, 45syl 16 . . . . . . . . 9  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  f : ( 1 ... ( # `  A
) ) --> A )
47 fvco3 5937 . . . . . . . . 9  |-  ( ( f : ( 1 ... ( # `  A
) ) --> A  /\  n  e.  ( 1 ... ( # `  A
) ) )  -> 
( ( ( k  e.  A  |->  B )  o.  f ) `  n )  =  ( ( k  e.  A  |->  B ) `  (
f `  n )
) )
4846, 47sylan 471 . . . . . . . 8  |-  ( ( ( ph  /\  (
( # `  A )  e.  NN  /\  f : ( 1 ... ( # `  A
) ) -1-1-onto-> A ) )  /\  n  e.  ( 1 ... ( # `  A
) ) )  -> 
( ( ( k  e.  A  |->  B )  o.  f ) `  n )  =  ( ( k  e.  A  |->  B ) `  (
f `  n )
) )
4943, 28, 29, 44, 48fsum 13493 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  sum_ x  e.  A  ( (
k  e.  A  |->  B ) `  x )  =  (  seq 1
(  +  ,  ( ( k  e.  A  |->  B )  o.  f
) ) `  ( # `
 A ) ) )
5042, 49syl5eqr 2517 . . . . . 6  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  sum_ k  e.  A  B  =  (  seq 1 (  +  ,  ( ( k  e.  A  |->  B )  o.  f ) ) `
 ( # `  A
) ) )
5141, 50eqtr4d 2506 . . . . 5  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  (fld  gsumg  ( k  e.  A  |->  B ) )  = 
sum_ k  e.  A  B )
5251expr 615 . . . 4  |-  ( (
ph  /\  ( # `  A
)  e.  NN )  ->  ( f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A  ->  (fld 
gsumg  ( k  e.  A  |->  B ) )  = 
sum_ k  e.  A  B ) )
5352exlimdv 1695 . . 3  |-  ( (
ph  /\  ( # `  A
)  e.  NN )  ->  ( E. f 
f : ( 1 ... ( # `  A
) ) -1-1-onto-> A  ->  (fld  gsumg  ( k  e.  A  |->  B ) )  = 
sum_ k  e.  A  B ) )
5453expimpd 603 . 2  |-  ( ph  ->  ( ( ( # `  A )  e.  NN  /\ 
E. f  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A )  ->  (fld  gsumg  ( k  e.  A  |->  B ) )  = 
sum_ k  e.  A  B ) )
55 fz1f1o 13483 . . 3  |-  ( A  e.  Fin  ->  ( A  =  (/)  \/  (
( # `  A )  e.  NN  /\  E. f  f : ( 1 ... ( # `  A ) ) -1-1-onto-> A ) ) )
5619, 55syl 16 . 2  |-  ( ph  ->  ( A  =  (/)  \/  ( ( # `  A
)  e.  NN  /\  E. f  f : ( 1 ... ( # `  A ) ) -1-1-onto-> A ) ) )
5712, 54, 56mpjaod 381 1  |-  ( ph  ->  (fld 
gsumg  ( k  e.  A  |->  B ) )  = 
sum_ k  e.  A  B )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    \/ wo 368    /\ wa 369    = wceq 1374   E.wex 1591    e. wcel 1762   (/)c0 3780    |-> cmpt 4500   dom cdm 4994   ran crn 4995    o. ccom 4998   -->wf 5577   -1-1->wf1 5578   -onto->wfo 5579   -1-1-onto->wf1o 5580   ` cfv 5581  (class class class)co 6277   supp csupp 6893   Fincfn 7508   CCcc 9481   0cc0 9483   1c1 9484    + caddc 9486   NNcn 10527   ...cfz 11663    seqcseq 12065   #chash 12362   sum_csu 13459    gsumg cgsu 14687   Mndcmnd 15717  Cntzccntz 16143  CMndccmn 16589   Ringcrg 16981  ℂfldccnfld 18186
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1596  ax-4 1607  ax-5 1675  ax-6 1714  ax-7 1734  ax-8 1764  ax-9 1766  ax-10 1781  ax-11 1786  ax-12 1798  ax-13 1963  ax-ext 2440  ax-rep 4553  ax-sep 4563  ax-nul 4571  ax-pow 4620  ax-pr 4681  ax-un 6569  ax-inf2 8049  ax-cnex 9539  ax-resscn 9540  ax-1cn 9541  ax-icn 9542  ax-addcl 9543  ax-addrcl 9544  ax-mulcl 9545  ax-mulrcl 9546  ax-mulcom 9547  ax-addass 9548  ax-mulass 9549  ax-distr 9550  ax-i2m1 9551  ax-1ne0 9552  ax-1rid 9553  ax-rnegex 9554  ax-rrecex 9555  ax-cnre 9556  ax-pre-lttri 9557  ax-pre-lttrn 9558  ax-pre-ltadd 9559  ax-pre-mulgt0 9560  ax-pre-sup 9561  ax-addf 9562  ax-mulf 9563
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 969  df-3an 970  df-tru 1377  df-fal 1380  df-ex 1592  df-nf 1595  df-sb 1707  df-eu 2274  df-mo 2275  df-clab 2448  df-cleq 2454  df-clel 2457  df-nfc 2612  df-ne 2659  df-nel 2660  df-ral 2814  df-rex 2815  df-reu 2816  df-rmo 2817  df-rab 2818  df-v 3110  df-sbc 3327  df-csb 3431  df-dif 3474  df-un 3476  df-in 3478  df-ss 3485  df-pss 3487  df-nul 3781  df-if 3935  df-pw 4007  df-sn 4023  df-pr 4025  df-tp 4027  df-op 4029  df-uni 4241  df-int 4278  df-iun 4322  df-br 4443  df-opab 4501  df-mpt 4502  df-tr 4536  df-eprel 4786  df-id 4790  df-po 4795  df-so 4796  df-fr 4833  df-se 4834  df-we 4835  df-ord 4876  df-on 4877  df-lim 4878  df-suc 4879  df-xp 5000  df-rel 5001  df-cnv 5002  df-co 5003  df-dm 5004  df-rn 5005  df-res 5006  df-ima 5007  df-iota 5544  df-fun 5583  df-fn 5584  df-f 5585  df-f1 5586  df-fo 5587  df-f1o 5588  df-fv 5589  df-isom 5590  df-riota 6238  df-ov 6280  df-oprab 6281  df-mpt2 6282  df-om 6674  df-1st 6776  df-2nd 6777  df-supp 6894  df-recs 7034  df-rdg 7068  df-1o 7122  df-oadd 7126  df-er 7303  df-en 7509  df-dom 7510  df-sdom 7511  df-fin 7512  df-sup 7892  df-oi 7926  df-card 8311  df-pnf 9621  df-mnf 9622  df-xr 9623  df-ltxr 9624  df-le 9625  df-sub 9798  df-neg 9799  df-div 10198  df-nn 10528  df-2 10585  df-3 10586  df-4 10587  df-5 10588  df-6 10589  df-7 10590  df-8 10591  df-9 10592  df-10 10593  df-n0 10787  df-z 10856  df-dec 10968  df-uz 11074  df-rp 11212  df-fz 11664  df-fzo 11784  df-seq 12066  df-exp 12125  df-hash 12363  df-cj 12884  df-re 12885  df-im 12886  df-sqr 13020  df-abs 13021  df-clim 13262  df-sum 13460  df-struct 14483  df-ndx 14484  df-slot 14485  df-base 14486  df-sets 14487  df-plusg 14559  df-mulr 14560  df-starv 14561  df-tset 14565  df-ple 14566  df-ds 14568  df-unif 14569  df-0g 14688  df-gsum 14689  df-mnd 15723  df-grp 15853  df-minusg 15854  df-cntz 16145  df-cmn 16591  df-abl 16592  df-mgp 16927  df-ur 16939  df-rng 16983  df-cring 16984  df-cnfld 18187
This theorem is referenced by:  regsumsupp  18420  plypf1  22339  taylpfval  22489  jensen  23041  amgmlem  23042  lgseisenlem4  23350  regsumfsum  27423  esumpfinval  27709  esumpfinvalf  27710  esumpcvgval  27712  esumcvg  27720
  Copyright terms: Public domain W3C validator