Alphabeta Math
DefinitionDefinition: AI-adaptedProof: Not applicablePipeline-generated
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 straight-line computational programs and real-arithmetic tapes

Definition

Fix an input dimension n≥0, finitely many operation nodes 1,…,T, and a designated output node o, either an input coordinate or an operation, whose value space is R. Give input coordinate i a label ini distinct from all operation indices, and set zini=xi and Eini=R with its standard Euclidean inner product. Operation node j has an ordered list of parent slots pj,1,…,pj,rj; each slot is either an input label ini or an operation index ℓ<j. Repeated parent slots are allowed and count separately. The graph is a finite straight-line program because every operation reads only earlier values and there are no data-dependent loops.

For each operation j, choose a dimension dj≥0, set Ej=Rdj with its standard Euclidean inner product, take an open set Uj⊆Epj,1×⋯×Epj,rj with the product inner product, and choose a primitive map ϕj:Uj→Ej. A smooth primitive is C1: it is totally differentiable and its derivative matrix is continuous. For Hessian-vector products require the primitive to be C2, meaning C1 with a continuously differentiable derivative map. Derivatives are represented in these coordinates, and every transpose is the Euclidean transpose for the stated inner products; the gradient of a scalar output is the Euclidean gradient. The real-arithmetic primal recursion is zj=ϕj(zpj,1,…,zpj,rj) whenever the parent tuple lies in Uj. Its admissible input domain is the set of x∈Rn for which every operation in this recursion is defined. The graph's scalar output function f is the value at o: it is xi when o is input coordinate i, and zj when o is operation node j.

The primal tape is the finite ordered record of input and node values, parent-slot indices, primitive identities, and (when applicable) selected branch labels. A deterministic replay starts from the identical checkpoint state and applies the identical primitive maps in the identical order, so it reproduces the same real-arithmetic values and local derivative inputs. Opaque solver calls are not primitive operations unless their complete deterministic map and derivative rule are explicitly supplied.

A piecewise-C1 primitive is specified by finitely many open branch regions and a C1 formula on each region; its primal boundary value, if any, is specified separately. If the current parent tuple lies strictly inside exactly one declared branch, the program uses that branch and its derivative. At a branch boundary or ambiguous branch selection, forward or reverse AD returns NONDIFFERENTIABLE; it does not silently choose a subgradient or generalized derivative. If no primal value is specified at a boundary, that input is outside the program's domain. All correctness theorems below apply on a fixed strict branch. The same convention applies to piecewise-C2 primitives for Hessian-vector products.

Depends on

Used by

Dependency tree · two levels

8 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources