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

Theorem gsumfsum 17901
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 4393 . . . . . . 7  |-  ( A  =  (/)  ->  ( k  e.  A  |->  B )  =  ( k  e.  (/)  |->  B ) )
2 mpt0 5559 . . . . . . 7  |-  ( k  e.  (/)  |->  B )  =  (/)
31, 2syl6eq 2491 . . . . . 6  |-  ( A  =  (/)  ->  ( k  e.  A  |->  B )  =  (/) )
43oveq2d 6128 . . . . 5  |-  ( A  =  (/)  ->  (fld  gsumg  ( k  e.  A  |->  B ) )  =  (fld 
gsumg  (/) ) )
5 cnfld0 17862 . . . . . . 7  |-  0  =  ( 0g ` fld )
65gsum0 15531 . . . . . 6  |-  (fld  gsumg  (/) )  =  0
7 sum0 13219 . . . . . 6  |-  sum_ k  e.  (/)  B  =  0
86, 7eqtr4i 2466 . . . . 5  |-  (fld  gsumg  (/) )  =  sum_ k  e.  (/)  B
94, 8syl6eq 2491 . . . 4  |-  ( A  =  (/)  ->  (fld  gsumg  ( k  e.  A  |->  B ) )  = 
sum_ k  e.  (/)  B )
10 sumeq1 13187 . . . 4  |-  ( A  =  (/)  ->  sum_ k  e.  A  B  =  sum_ k  e.  (/)  B )
119, 10eqtr4d 2478 . . 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 17844 . . . . . . 7  |-  CC  =  ( Base ` fld )
14 cnfldadd 17845 . . . . . . 7  |-  +  =  ( +g  ` fld )
15 eqid 2443 . . . . . . 7  |-  (Cntz ` fld )  =  (Cntz ` fld )
16 cnrng 17860 . . . . . . . 8  |-fld  e.  Ring
17 rngmnd 16676 . . . . . . . 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 2443 . . . . . . . . 9  |-  ( k  e.  A  |->  B )  =  ( k  e.  A  |->  B )
2321, 22fmptd 5888 . . . . . . . 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 16697 . . . . . . . . 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 16348 . . . . . . 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 5661 . . . . . . . 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 6724 . . . . . . . . 9  |-  ( ( k  e.  A  |->  B ) supp  0 )  C_  dom  ( k  e.  A  |->  B )
33 fdm 5584 . . . . . . . . . 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 3425 . . . . . . . 8  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  (
( k  e.  A  |->  B ) supp  0 ) 
C_  A )
36 f1ofo 5669 . . . . . . . . 9  |-  ( f : ( 1 ... ( # `  A
) ) -1-1-onto-> A  ->  f :
( 1 ... ( # `
 A ) )
-onto-> A )
37 forn 5644 . . . . . . . . 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 3414 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 A )  e.  NN  /\  f : ( 1 ... ( # `
 A ) ) -1-1-onto-> A ) )  ->  (
( k  e.  A  |->  B ) supp  0 ) 
C_  ran  f )
40 eqid 2443 . . . . . . 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 16406 . . . . . 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 13207 . . . . . . 7  |-  sum_ x  e.  A  ( (
k  e.  A  |->  B ) `  x )  =  sum_ k  e.  A  B
43 fveq2 5712 . . . . . . . 8  |-  ( x  =  ( f `  n )  ->  (
( k  e.  A  |->  B ) `  x
)  =  ( ( k  e.  A  |->  B ) `  ( f `
 n ) ) )
4424ffvelrnda 5864 . . . . . . . 8  |-  ( ( ( ph  /\  (
( # `  A )  e.  NN  /\  f : ( 1 ... ( # `  A
) ) -1-1-onto-> A ) )  /\  x  e.  A )  ->  ( ( k  e.  A  |->  B ) `  x )  e.  CC )
45 f1of 5662 . . . . . . . . . 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 5789 . . . . . . . . 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 13218 . . . . . . 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 2489 . . . . . 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 2478 . . . . 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 1690 . . 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 13208 . . 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 1369   E.wex 1586    e. wcel 1756   (/)c0 3658    e. cmpt 4371   dom cdm 4861   ran crn 4862    o. ccom 4865   -->wf 5435   -1-1->wf1 5436   -onto->wfo 5437   -1-1-onto->wf1o 5438   ` cfv 5439  (class class class)co 6112   supp csupp 6711   Fincfn 7331   CCcc 9301   0cc0 9303   1c1 9304    + caddc 9306   NNcn 10343   ...cfz 11458    seqcseq 11827   #chash 12124   sum_csu 13184    gsumg cgsu 14400   Mndcmnd 15430  Cntzccntz 15854  CMndccmn 16298   Ringcrg 16667  ℂfldccnfld 17840
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-rep 4424  ax-sep 4434  ax-nul 4442  ax-pow 4491  ax-pr 4552  ax-un 6393  ax-inf2 7868  ax-cnex 9359  ax-resscn 9360  ax-1cn 9361  ax-icn 9362  ax-addcl 9363  ax-addrcl 9364  ax-mulcl 9365  ax-mulrcl 9366  ax-mulcom 9367  ax-addass 9368  ax-mulass 9369  ax-distr 9370  ax-i2m1 9371  ax-1ne0 9372  ax-1rid 9373  ax-rnegex 9374  ax-rrecex 9375  ax-cnre 9376  ax-pre-lttri 9377  ax-pre-lttrn 9378  ax-pre-ltadd 9379  ax-pre-mulgt0 9380  ax-pre-sup 9381  ax-addf 9382  ax-mulf 9383
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1372  df-fal 1375  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2577  df-ne 2622  df-nel 2623  df-ral 2741  df-rex 2742  df-reu 2743  df-rmo 2744  df-rab 2745  df-v 2995  df-sbc 3208  df-csb 3310  df-dif 3352  df-un 3354  df-in 3356  df-ss 3363  df-pss 3365  df-nul 3659  df-if 3813  df-pw 3883  df-sn 3899  df-pr 3901  df-tp 3903  df-op 3905  df-uni 4113  df-int 4150  df-iun 4194  df-br 4314  df-opab 4372  df-mpt 4373  df-tr 4407  df-eprel 4653  df-id 4657  df-po 4662  df-so 4663  df-fr 4700  df-se 4701  df-we 4702  df-ord 4743  df-on 4744  df-lim 4745  df-suc 4746  df-xp 4867  df-rel 4868  df-cnv 4869  df-co 4870  df-dm 4871  df-rn 4872  df-res 4873  df-ima 4874  df-iota 5402  df-fun 5441  df-fn 5442  df-f 5443  df-f1 5444  df-fo 5445  df-f1o 5446  df-fv 5447  df-isom 5448  df-riota 6073  df-ov 6115  df-oprab 6116  df-mpt2 6117  df-om 6498  df-1st 6598  df-2nd 6599  df-supp 6712  df-recs 6853  df-rdg 6887  df-1o 6941  df-oadd 6945  df-er 7122  df-en 7332  df-dom 7333  df-sdom 7334  df-fin 7335  df-sup 7712  df-oi 7745  df-card 8130  df-pnf 9441  df-mnf 9442  df-xr 9443  df-ltxr 9444  df-le 9445  df-sub 9618  df-neg 9619  df-div 10015  df-nn 10344  df-2 10401  df-3 10402  df-4 10403  df-5 10404  df-6 10405  df-7 10406  df-8 10407  df-9 10408  df-10 10409  df-n0 10601  df-z 10668  df-dec 10777  df-uz 10883  df-rp 11013  df-fz 11459  df-fzo 11570  df-seq 11828  df-exp 11887  df-hash 12125  df-cj 12609  df-re 12610  df-im 12611  df-sqr 12745  df-abs 12746  df-clim 12987  df-sum 13185  df-struct 14197  df-ndx 14198  df-slot 14199  df-base 14200  df-sets 14201  df-plusg 14272  df-mulr 14273  df-starv 14274  df-tset 14278  df-ple 14279  df-ds 14281  df-unif 14282  df-0g 14401  df-gsum 14402  df-mnd 15436  df-grp 15566  df-minusg 15567  df-cntz 15856  df-cmn 16300  df-abl 16301  df-mgp 16614  df-ur 16626  df-rng 16669  df-cring 16670  df-cnfld 17841
This theorem is referenced by:  regsumsupp  18074  plypf1  21702  taylpfval  21852  jensen  22404  amgmlem  22405  lgseisenlem4  22713  regsumfsum  26272  esumpfinval  26546  esumpfinvalf  26547  esumpcvgval  26549  esumcvg  26557
  Copyright terms: Public domain W3C validator