Description: Define the group sum (also called "iterated sum") for the structure G of a finite sequence of elements whose values are defined by the expression B and whose set of indices is A . It may be viewed as a product (if G is a multiplication), a sum (if G is an addition) or any other operation. The variable k is normally a free variable in B (i.e., B can be thought of as B ( k ) ). The definition is meaningful in different contexts, depending on the size of the index set A and each demanding different properties of G .
1. If A = (/) and G has an identity element, then the sum equals this identity. See gsum0 .
2. If A = ( M ... N ) and G is any magma, then the sum is the sum of the elements, evaluated left-to-right, i.e., ( B ( 1 ) + B ( 2 ) ) + B ( 3 ) , etc. See gsumval2 and gsumnunsn .
3. If A is a finite set (or is nonzero for finitely many indices) and G is a commutative monoid, then the sum adds up these elements in some order, which is then uniquely defined. See gsumval3 .
4. If A is an infinite set and G is a Hausdorff topological group, then there is a meaningful sum, but gsum cannot handle this case. See df-tsms .
Remark: this definition is required here because the symbol gsum is already used in df-prds and df-imas . The related theorems are provided later, see gsumvalx . (Contributed by FL, 5-Sep-2010) (Revised by FL, 17-Oct-2011) (Revised by Mario Carneiro, 7-Dec-2014)
Ref | Expression | ||
---|---|---|---|
Assertion | df-gsum |
Step | Hyp | Ref | Expression |
---|---|---|---|
0 | cgsu | ||
1 | vw | ||
2 | cvv | ||
3 | vf | ||
4 | vx | ||
5 | cbs | ||
6 | 1 | cv | |
7 | 6 5 | cfv | |
8 | vy | ||
9 | 4 | cv | |
10 | cplusg | ||
11 | 6 10 | cfv | |
12 | 8 | cv | |
13 | 9 12 11 | co | |
14 | 13 12 | wceq | |
15 | 12 9 11 | co | |
16 | 15 12 | wceq | |
17 | 14 16 | wa | |
18 | 17 8 7 | wral | |
19 | 18 4 7 | crab | |
20 | vo | ||
21 | 3 | cv | |
22 | 21 | crn | |
23 | 20 | cv | |
24 | 22 23 | wss | |
25 | c0g | ||
26 | 6 25 | cfv | |
27 | 21 | cdm | |
28 | cfz | ||
29 | 28 | crn | |
30 | 27 29 | wcel | |
31 | vm | ||
32 | vn | ||
33 | cuz | ||
34 | 31 | cv | |
35 | 34 33 | cfv | |
36 | 32 | cv | |
37 | 34 36 28 | co | |
38 | 27 37 | wceq | |
39 | 11 21 34 | cseq | |
40 | 36 39 | cfv | |
41 | 9 40 | wceq | |
42 | 38 41 | wa | |
43 | 42 32 35 | wrex | |
44 | 43 31 | wex | |
45 | 44 4 | cio | |
46 | vg | ||
47 | 21 | ccnv | |
48 | 2 23 | cdif | |
49 | 47 48 | cima | |
50 | 46 | cv | |
51 | c1 | ||
52 | chash | ||
53 | 12 52 | cfv | |
54 | 51 53 28 | co | |
55 | 54 12 50 | wf1o | |
56 | 21 50 | ccom | |
57 | 11 56 51 | cseq | |
58 | 53 57 | cfv | |
59 | 9 58 | wceq | |
60 | 55 59 | wa | |
61 | 60 8 49 | wsbc | |
62 | 61 46 | wex | |
63 | 62 4 | cio | |
64 | 30 45 63 | cif | |
65 | 24 26 64 | cif | |
66 | 20 19 65 | csb | |
67 | 1 3 2 2 66 | cmpo | |
68 | 0 67 | wceq |