How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced — the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted — a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated — a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Finite sums and finite products of natural numbers, and in
Definition
Let , written for , with addition and multiplication of natural numbers as in Addition of natural numbers and Multiplication of natural numbers. Finite sums and finite products of inside are defined by recursion on the upper index, which is legitimate by the recursion theorem (The recursion theorem).
That theorem produces a function of one variable, so the running index has to be carried inside the value. Apply it to the set , the starting element and the function : there is a unique with
Write for its two coordinates.
The first coordinate is the index itself, and that is an induction, not an observation (The principle of mathematical induction). Indeed ; and if then , so . Only now may the second coordinates of the two displayed clauses be read off, and doing so gives
is moreover the unique function with those two properties: if also has them then satisfies the two clauses defining , hence equals by the uniqueness clause of The recursion theorem, so . We write
The same construction with starting element and , with the same induction on the first coordinate and the same uniqueness argument, gives the unique with
and we write .
The empty sum is and the empty product is , by the base clause of the recursion and by nothing else: no convention is imported from anywhere.
Notation. We abbreviate and likewise for products, using . Only finitely many values of enter , so the notation is also used for a list of naturals given without reference to any extension to all of : extend the list by (respectively ) for and apply the definition. Where the two kinds of finite sum have to be told apart, we write and for the ones defined here and , for those of Finite sums and finite products, by recursion; elsewhere the ambient set is fixed by the terms being summed.
Truncated difference, fixed here for the whole page. For we write for the unique with when , and for when . Existence in the first case is the definition of (Order on the natural numbers) and uniqueness is commutativity with cancellation (Addition is commutative, Addition is cancellative). The two cases are exhaustive and mutually exclusive, since exactly one of , , holds (Trichotomy of the order on ), so the notation names a single natural number for every and . Every use of on this page is this operation; no negative number is ever formed, and where a statement is true only under that hypothesis is written out.
Remarks
-
Why a second finite sum is needed at all. Finite sums and finite products, by recursion defines for a sequence of reals, and its value is a real number. Every count on this page is a natural number, so the sum rule, the row sums of Pascal's triangle, the condition on a multinomial coefficient and the stars-and-bars count all need a sum that stays in . The two notions are related, not rival: the bridge is proved in the next item, and it is what lets an identity between counts be read inside and back.
-
The monoid version, later. The same recursion is carried out in an arbitrary monoid in The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity ↗, which comes later in the reading order; and are instances of it, and the agreement is immediate because the recursion clauses are identical. That pointer is orientation only: nothing here depends on it, and the notion defined above is complete as it stands.
-
is an index. runs over , so and . A claim about must be checked at , where it is a claim about , and a claim about at , where it is a claim about .
Depends on
- The recursion theorem
- The principle of mathematical induction
- The natural numbers $\mathbb{N}$ (von Neumann)
- Addition of natural numbers
- Multiplication of natural numbers
- Left identity for addition
- Zero and one under multiplication
- On $\mathbb{N}$ the order is membership: $m < n \iff m \in n$
- Order on the natural numbers
- Addition is commutative
- Addition is cancellative
- Trichotomy of the order on $\mathbb{N}$
- Finite sums and finite products, by recursion
Used by
- ∑_k<n+1binomnk = 2ⁿ, and ∑_k<n+1(-1)ᵏιbinomnk = 0 for n ≥ 1 Corollary
- ι(Dₙ) = ι(n) ι(Dₙ₋₁) + (-1)ⁿ for n ≥ 1, and Dₙ = (n-1)(Dₙ₋₁ + Dₙ₋₂) for n ≥ 2 Corollary
- Cᵏ maps and multi-index derivative notation in Euclidean space Definition
- Compositions and weak compositions of a natural number into a fixed number of parts Definition
- Exponentiation of natural numbers, mⁿ, and its agreement with the integer power in ℝ Definition
- Partitions of a positive integer Definition
- The factorial n! and the falling factorial n^underlinek, defined by recursion in ℕ Definition
- The multinomial coefficient binomnk₀,…,kₘ₋₁ as the number of ordered partitions of an n-set into blocks of prescribed sizes Definition
- The sum ∑_i ∈ S aᵢ over a finite index set, and its product form Definition
- Arrangements of a word with repeated letters, counted by the multinomial coefficient Example
- For a finite symmetric irreflexive relation the sum of the neighbour counts is twice the number of unordered related pairs Example
- In a finite set with a symmetric irreflexive relation and at least two elements, two elements have equally many neighbours Example
- Pascal's triangle computed to row 6, with Pascal's rule checked at every interior entry Example
- The 15 weak compositions of 4 into 3 parts, listed and matched against stars and bars Example
- Vandermonde's identity checked at m = 4, n = 3, k = 3, both sides equal to 35 Example
- FALSE: the number of weak compositions of n into m parts is binomn+m-1m-1 for every m ∈ ℕ False statement
- ∑_i ∈ S∑_j ∈ T aᵢⱼ = ∑_(i,j) ∈ S × T aᵢⱼ = ∑_j ∈ T∑_i ∈ S aᵢⱼ for finite index sets S and T Lemma
- ∑_j<m+1(-1)ʲ ιbinomtj = (-1)ᵐ ιbinomt-1m for every t ≥ 1 and every m Lemma
- A finite sum is unchanged by a permutation of its index range: ∑_k<n a_π(k) = ∑_k<n aₖ for every bijection π : n → n Lemma
- Laws of finite sums and products in ℕ, and ι(∑_k<n aₖ) = ∑_k<n ι(aₖ) Lemma
- Conventions fixed on this page, and what counting is deliberately not done here Remark
- Euler's product formula φ(n)=n∏_p∣ n(1-1/p)=∏_pᵏ∥ n(pᵏ-pᵏ⁻¹) for n≥1, stated through a finite injective list of its prime divisors Theorem
- Every list of mn+1 pairwise distinct reals has a strictly increasing sublist of length m+1 or a strictly decreasing sublist of length n+1 Theorem
- For all m and n there is a list of mn pairwise distinct reals with no strictly increasing sublist of length m+1 and no strictly decreasing sublist of length n+1 Theorem
- For m ≥ 1 the number of weak compositions of n into m parts is binomn+m-1m-1, and the number of compositions is binomn-1m-1 for n ≥ 1 Theorem
- Pascal's rule binomn+1k+1 = binomnk + binomnk+1, and the hockey-stick identity ∑_i ≤ nbinomik = binomn+1k+1 Theorem
- The binomial theorem in ℝ: (x+y)ⁿ = ∑_k<n+1 ιbinomnk xᵏ y^ n-k Theorem
- The multinomial coefficient equals n!/∏_i<m kᵢ!, and (x₀+…+xₘ₋₁)ⁿ = ∑ ιbinomnk∏_i<m xᵢ^kᵢ in ℝ Theorem
- The number of injections from a k-element set into an n-element set is n^underlinek Theorem
- The number of surjections from an n-element set onto a k-element set is ∑_i<k+1(-1)ⁱbinomki(k-i)ⁿ, read in ℝ through ι Theorem
- The product rule: | A × B| = | A| | B|, and |∏_i<m Aᵢ| = ∏_i<m| Aᵢ| Theorem
- The sum rule: a finite disjoint union is finite with | A ∪ B| = | A| + | B| and |⋃_i ∈ I Aᵢ| = ∑_i ∈ I| Aᵢ|, and a sum over a finite index set splits along a partition Theorem
- Vandermonde's identity binomm+nk = ∑_i<k+1binommibinomnk-i Theorem
- ι(Dₙ) = ι(n!)∑_i<n+1(-1)ⁱ/ι(i!), with the term at i = 0 equal to 1 and D₀ = 1 Theorem
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 46 results over 16 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.
Sources
- Summation (Wikipedia) (standard reference, not scraped)
- Empty product (Wikipedia) (standard reference, not scraped)
- Recursive definition (Wikipedia) (standard reference, not scraped)