ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  df-gsumfi Unicode version

Definition df-gsumfi 14128
Description: Define the finite group sum (iterated sum) over an unordered finite set.

Given  G  gsumg  F where  F : A --> ( Base `  G ), the set of indices is  A and the values are given by  F at each index. For this notation,  A is a finite set and  G is a commutative monoid, and the sum adds up these elements in some order (the sum does not depend on the order).

For a sum indexed by consecutive integers (and thus defining an order for the sum), see df-gzsum 13590. (Contributed by Jim Kingdon, 23-Mar-2026.)

Assertion
Ref Expression
df-gsumfi  |-  gsumg  =  ( w  e. CMnd ,  f  e.  _V  |->  ( iota x ( dom  f  e.  Fin  /\  E. g ( g : ( 1 ... ( ` 
dom  f ) ) -1-1-onto-> dom  f  /\  x  =  ( w  gzsumgz  ( f  o.  g
) ) ) ) ) )
Distinct variable group:    w, f, x, g

Detailed syntax breakdown of Definition df-gsumfi
StepHypRef Expression
1 cgsu 14127 . 2  class  gsumg
2 vw . . 3  setvar  w
3 vf . . 3  setvar  f
4 ccmn 14064 . . 3  class CMnd
5 cvv 2821 . . 3  class  _V
63cv 1401 . . . . . . 7  class  f
76cdm 4769 . . . . . 6  class  dom  f
8 cfn 7012 . . . . . 6  class  Fin
97, 8wcel 2209 . . . . 5  wff  dom  f  e.  Fin
10 c1 8170 . . . . . . . . 9  class  1
11 chash 11192 . . . . . . . . . 10  class
127, 11cfv 5372 . . . . . . . . 9  class  ( `  dom  f )
13 cfz 10390 . . . . . . . . 9  class  ...
1410, 12, 13co 6075 . . . . . . . 8  class  ( 1 ... ( `  dom  f ) )
15 vg . . . . . . . . 9  setvar  g
1615cv 1401 . . . . . . . 8  class  g
1714, 7, 16wf1o 5371 . . . . . . 7  wff  g : ( 1 ... ( ` 
dom  f ) ) -1-1-onto-> dom  f
18 vx . . . . . . . . 9  setvar  x
1918cv 1401 . . . . . . . 8  class  x
202cv 1401 . . . . . . . . 9  class  w
216, 16ccom 4773 . . . . . . . . 9  class  ( f  o.  g )
22 cgzsu 13588 . . . . . . . . 9  class  gzsumgz
2320, 21, 22co 6075 . . . . . . . 8  class  ( w 
gzsumgz  ( f  o.  g
) )
2419, 23wceq 1402 . . . . . . 7  wff  x  =  ( w  gzsumgz  ( f  o.  g
) )
2517, 24wa 104 . . . . . 6  wff  ( g : ( 1 ... ( `  dom  f ) ) -1-1-onto-> dom  f  /\  x  =  ( w  gzsumgz  ( f  o.  g ) ) )
2625, 15wex 1545 . . . . 5  wff  E. g
( g : ( 1 ... ( `  dom  f ) ) -1-1-onto-> dom  f  /\  x  =  (
w  gzsumgz  ( f  o.  g
) ) )
279, 26wa 104 . . . 4  wff  ( dom  f  e.  Fin  /\  E. g ( g : ( 1 ... ( ` 
dom  f ) ) -1-1-onto-> dom  f  /\  x  =  ( w  gzsumgz  ( f  o.  g
) ) ) )
2827, 18cio 5330 . . 3  class  ( iota
x ( dom  f  e.  Fin  /\  E. g
( g : ( 1 ... ( `  dom  f ) ) -1-1-onto-> dom  f  /\  x  =  (
w  gzsumgz  ( f  o.  g
) ) ) ) )
292, 3, 4, 5, 28cmpo 6077 . 2  class  ( w  e. CMnd ,  f  e. 
_V  |->  ( iota x
( dom  f  e.  Fin  /\  E. g ( g : ( 1 ... ( `  dom  f ) ) -1-1-onto-> dom  f  /\  x  =  (
w  gzsumgz  ( f  o.  g
) ) ) ) ) )
301, 29wceq 1402 1  wff  gsumg  =  ( w  e. CMnd ,  f  e.  _V  |->  ( iota x ( dom  f  e.  Fin  /\  E. g ( g : ( 1 ... ( ` 
dom  f ) ) -1-1-onto-> dom  f  /\  x  =  ( w  gzsumgz  ( f  o.  g
) ) ) ) ) )
Colors of variables: wff set class
This definition is referenced by:  gsumvalfi  14129
  Copyright terms: Public domain W3C validator