HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Definition df-sum 6980
Description: Define the sum of a series with an index set of integers A. k is normally a free variable in B, i.e. B can be thought of as B(k). The definition is meaningful when A is a finite set of sequential integers (representing a finite sum over them) or a set of upper integers (representing an infinite sum, when the sum converges). The left-hand side of the union expresses the finite sum case, and the right-hand side expresses the infinite sum case. In either case, the other side of the union equals the empty set. Examples: sum_k e. (2...4) k means 2 + 3 + 4 = 9, and sum_k e. NN (1 / (2^k)) means 1/2 + 1/4 + 1/8 + ... = 1. Note: The restrictions to ZZ force the class abstractions to be sets.
Assertion
Ref Expression
df-sum |- sum_k e. A B = ({x | E.mE.n e. (ZZ>` m)(A = (m...n) /\ x e. ((<.m, + >. seq ({<.k, y>. | y = B} |` ZZ))` n))} u. U.{x | E.m e. ZZ (A = (ZZ>`
m) /\ (<.m, + >. seq ({<.k, y>. | y = B} |` ZZ)) ~~> x)})
Distinct variable groups:   k,m,n,x,y   A,m,n,x,y   B,m,n,x,y

Detailed syntax breakdown of Definition df-sum
StepHypRef Expression
1 cA . . 3 class A
2 cB . . 3 class B
3 vk . . 3 set k
41, 2, 3csu 6979 . 2 class sum_k e. A B
5 vm . . . . . . . . . 10 set m
65cv 955 . . . . . . . . 9 class m
7 vn . . . . . . . . . 10 set n
87cv 955 . . . . . . . . 9 class n
9 cfz 6467 . . . . . . . . 9 class ...
106, 8, 9co 3963 . . . . . . . 8 class (m...n)
111, 10wceq 956 . . . . . . 7 wff A = (m...n)
12 vx . . . . . . . . 9 set x
1312cv 955 . . . . . . . 8 class x
14 caddc 5237 . . . . . . . . . . 11 class +
156, 14cop 2411 . . . . . . . . . 10 class <.m, + >.
16 vy . . . . . . . . . . . . . 14 set y
1716cv 955 . . . . . . . . . . . . 13 class y
1817, 2wceq 956 . . . . . . . . . . . 12 wff y = B
1918, 3, 16copab 2666 . . . . . . . . . . 11 class {<.k, y>. | y = B}
20 cz 5298 . . . . . . . . . . 11 class ZZ
2119, 20cres 3172 . . . . . . . . . 10 class ({<.k, y>. | y = B} |` ZZ)
22 cseqz 6531 . . . . . . . . . 10 class seq
2315, 21, 22co 3963 . . . . . . . . 9 class (<.m, + >. seq ({<.k, y>. | y = B} |` ZZ))
248, 23cfv 3182 . . . . . . . 8 class ((<.m, + >. seq ({<.k, y>. | y = B} |` ZZ))` n)
2513, 24wcel 958 . . . . . . 7 wff x e. ((<.m, + >. seq ({<.k, y>. | y = B} |` ZZ))` n)
2611, 25wa 223 . . . . . 6 wff (A = (m...n) /\ x e. ((<.m, + >. seq ({<.k, y>. | y = B} |` ZZ))` n))
27 cuz 6417 . . . . . . 7 class ZZ>
286, 27cfv 3182 . . . . . 6 class (ZZ>`
m)
2926, 7, 28wrex 1646 . . . . 5 wff E.n e. (ZZ>` m)(A = (m...n) /\ x e. ((<.m, + >. seq ({<.k, y>. | y = B} |` ZZ))` n))
3029, 5wex 980 . . . 4 wff E.mE.n e. (ZZ>` m)(A = (m...n) /\ x e. ((<.m, + >. seq ({<.k, y>. | y = B} |` ZZ))` n))
3130, 12cab 1463 . . 3 class {x | E.mE.n e. (ZZ>`
m)(A = (m...n) /\ x e. ((<.m, + >. seq ({<.k, y>. | y = B} |` ZZ))` n))}
321, 28wceq 956 . . . . . . 7 wff A = (ZZ>` m)
33 cli 6974 . . . . . . . 8 class ~~>
3423, 13, 33wbr 2619 . . . . . . 7 wff (<.m, + >. seq ({<.k, y>. | y = B} |` ZZ)) ~~> x
3532, 34wa 223 . . . . . 6 wff (A = (ZZ>`
m) /\ (<.m, + >. seq ({<.k, y>. | y = B} |` ZZ)) ~~> x)
3635, 5, 20wrex 1646 . . . . 5 wff E.m e. ZZ (A = (ZZ>` m) /\ (<.m, + >. seq ({<.k, y>. | y = B} |` ZZ)) ~~> x)
3736, 12cab 1463 . . . 4 class {x | E.m e. ZZ (A = (ZZ>` m) /\ (<.m, + >. seq ({<.k, y>. | y = B} |` ZZ)) ~~> x)}
3837cuni 2503 . . 3 class U.{x | E.m e. ZZ (A = (ZZ>` m) /\ (<.m, + >. seq ({<.k, y>. | y = B} |` ZZ)) ~~> x)}
3931, 38cun 2045 . 2 class ({x | E.mE.n e. (ZZ>` m)(A = (m...n) /\ x e. ((<.m, + >. seq ({<.k, y>. | y = B} |` ZZ))` n))} u. U.{x | E.m e. ZZ (A = (ZZ>`
m) /\ (<.m, + >. seq ({<.k, y>. | y = B} |` ZZ)) ~~> x)})
404, 39wceq 956 1 wff sum_k e. A B = ({x | E.mE.n e. (ZZ>` m)(A = (m...n) /\ x e. ((<.m, + >. seq ({<.k, y>. | y = B} |` ZZ))` n))} u. U.{x | E.m e. ZZ (A = (ZZ>`
m) /\ (<.m, + >. seq ({<.k, y>. | y = B} |` ZZ)) ~~> x)})
Colors of variables: wff set class
This definition is referenced by:  sumex 6981  sumeq1 6982  hbsum1 6983  hbsum 6984  sumeq2 6985  cbvsum 6986  dffsum 6998  dfisum 7191
Copyright terms: Public domain