Alphabeta Math
DefinitionDefinition: AI-adaptedProof: Not applicableSession-authored (Fable 5 assisted)judge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)
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, by recursion

Definition

Throughout this page R\mathbb{R} is the complete ordered field (Complete ordered field (least-upper-bound property)), in particular an ordered field (Ordered field) and a field (Field), and N\mathbb{N} is the set of natural numbers (The natural numbers N\mathbb{N} (von Neumann)) with successor σ(n)=n+1\sigma(n) = n + 1 (Addition of natural numbers).

Let a:NRa : \mathbb{N} \to \mathbb{R} be a sequence of reals, written aka_k for a(k)a(k). Finite sums and finite products of aa are defined by recursion on the upper index, which is legitimate because of the recursion theorem (The recursion theorem). That theorem produces a function of one variable, so the running index has to be carried along inside the value: applying it to the set A=N×RA = \mathbb{N} \times \mathbb{R}, the starting element (0,0)(0, 0) and the function f(n,s)=(σ(n),s+an)f(n, s) = (\sigma(n),\, s + a_n) gives a unique g:NN×Rg : \mathbb{N} \to \mathbb{N} \times \mathbb{R} with

g(0)=(0,0),g(σ(n))=f(g(n))(nN).g(0) = (0, 0), \qquad g(\sigma(n)) = f(g(n)) \quad (n \in \mathbb{N}).

Write g(n)=(π1(g(n)),Σn)g(n) = \big(\pi_1(g(n)),\, \Sigma_n\big) for its two coordinates.

The first coordinate is the index itself, and that is a small induction, not an observation (The principle of mathematical induction). Indeed π1(g(0))=0\pi_1(g(0)) = 0; and if π1(g(n))=n\pi_1(g(n)) = n, then g(σ(n))=f(π1(g(n)),Σn)=(σ(π1(g(n))),Σn+aπ1(g(n)))=(σ(n),Σn+an)g(\sigma(n)) = f\big(\pi_1(g(n)), \Sigma_n\big) = \big(\sigma(\pi_1(g(n))),\, \Sigma_n + a_{\pi_1(g(n))}\big) = \big(\sigma(n),\, \Sigma_n + a_n\big), so π1(g(σ(n)))=σ(n)\pi_1(g(\sigma(n))) = \sigma(n). By induction π1(g(n))=n\pi_1(g(n)) = n for every nNn \in \mathbb{N}. Only now may the second coordinate of the two displayed clauses be read off, and doing so gives

Σ0=0,Σσ(n)=Σn+an.\Sigma_0 = 0, \qquad \Sigma_{\sigma(n)} = \Sigma_n + a_n .

Σ\Sigma is moreover the unique function NR\mathbb{N} \to \mathbb{R} with those two properties: if Σ\Sigma' also has them then n(n,Σn)n \mapsto (n, \Sigma'_n) satisfies the two clauses defining gg, hence equals gg by the uniqueness clause of The recursion theorem, so Σ=Σ\Sigma' = \Sigma.

We write k<nak:=Σn\sum_{k < n} a_k := \Sigma_n. The same construction with starting element (0,1)(0, 1) and f(n,p)=(σ(n),pan)f(n, p) = (\sigma(n),\, p \cdot a_n), with the same induction on the first coordinate and the same uniqueness argument, gives the unique Π:NR\Pi : \mathbb{N} \to \mathbb{R} with

Π0=1,Πσ(n)=Πnan,\Pi_0 = 1, \qquad \Pi_{\sigma(n)} = \Pi_n \cdot a_n ,

and we write k<nak:=Πn\prod_{k < n} a_k := \Pi_n.

Notation. For m,nNm, n \in \mathbb{N} we abbreviate

k=0nak:=k<n+1ak,k=0nak:=k<n+1ak,\sum_{k=0}^{n} a_k := \sum_{k < n+1} a_k, \qquad \prod_{k=0}^{n} a_k := \prod_{k < n+1} a_k,

and, for a general lower index mm with mn+1m \le n + 1, writing d=n+1md = n + 1 - m for the number of terms,

k=mnak:=j<dam+j,k=mnak:=j<dam+j.\sum_{k=m}^{n} a_k := \sum_{j < d} a_{m+j}, \qquad \prod_{k=m}^{n} a_k := \prod_{j < d} a_{m+j} .

When m=n+1m = n + 1 we have d=0d = 0 and the sum is empty, with value 00, while the empty product has value 11. In the same spirit k=01ak\sum_{k=0}^{-1} a_k is notation for the empty sum Σ0=0\Sigma_0 = 0 and k=01ak\prod_{k=0}^{-1} a_k for the empty product Π0=1\Pi_0 = 1; the index 1-1 never occurs as an element of N\mathbb{N} and is only a way of writing "no terms".

Only finitely many values of aa enter k<nak\sum_{k<n} a_k, so the notation k<nak\sum_{k<n} a_k and k<nak\prod_{k<n} a_k is also used for a list a0,,an1a_0, \dots, a_{n-1} of reals given without reference to any extension of the list to all of N\mathbb{N}: extend the list by ak=0a_k = 0 (respectively ak=1a_k = 1) for knk \ge n and apply the definition above.

Remarks

  • Why recursion and not "a0+a1++an1a_0 + a_1 + \cdots + a_{n-1}". The dots are not a definition: they presuppose that the displayed pattern determines a value for every nn, which is exactly what the recursion theorem (The recursion theorem) supplies, and its uniqueness clause is what makes k<nak\sum_{k<n} a_k a single well-determined real rather than a family of choices. Associativity and commutativity of addition are not used in the definition; they are used in the laws proved from it (Laws of finite sums and finite products).
  • Naturals and rationals inside R\mathbb{R} (a convention used on the whole page). A natural number nn and a rational number rr are not literally elements of R\mathbb{R}: they enter R\mathbb{R} through the canonical embedding ι:QR\iota : \mathbb{Q} \to \mathbb{R}, which is an injective, order-preserving field homomorphism (The unique embedding of ℚ into an ordered field), restricting on positive naturals to nn1R=1R++1Rn \mapsto n \cdot 1_{\mathbb{R}} = 1_\mathbb{R} + \cdots + 1_\mathbb{R} (Canonical naturals are positive and strictly increasing). Following ordinary practice, and only where no confusion is possible, we write nn for ι(n)\iota(n) and rr for ι(r)\iota(r); so, for instance, 1nk<nak\frac{1}{n}\sum_{k<n} a_k means ι(n)1k<nak\iota(n)^{-1} \cdot \sum_{k<n} a_k, which makes sense because ι(n)>0\iota(n) > 0 for n1n \ge 1. Exponents are the one place where the identification is deliberately NOT made: in ana^n and ara^r the exponent stays a natural, an integer or a rational (Integer powers ama^m, Rational powers ara^r of a positive base), never a real.
  • The two indexings are related by k=0nak=k<n+1ak\sum_{k=0}^{n} a_k = \sum_{k < n+1} a_k, so a statement proved for one is available for the other. Sums over k<nk < n are the primitive form here because Σ0\Sigma_0, the empty sum, is then the base case of every induction, and no index outside N\mathbb{N} is ever needed.

Depends on

Used by

…and 180 more results.

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 37 results over 10 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