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 (von Neumann)
Addition of natural numbers
Multiplication of natural numbers
Left identity for addition
Zero and one under multiplication
On the order is membership:
Order on the natural numbers
Addition is commutative
Addition is cancellative
Trichotomy of the order on
Finite sums and finite products, by recursion