Alphabeta Math
AlgorithmAlgorithm: 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.

Reverse-mode automatic differentiation for a scalar graph output

Definition

Input a graph from Finite straight-line computational programs and real-arithmetic tapes and an admissible point x. Require every primitive to be C1 on its declared open domain or supplied as a piecewise-C1 primitive with the branch rules of the graph definition. Evaluate and store all primal values in topological order. Initialize every operation cotangent and every input cotangent to zero. Seed the scalar output by setting its cotangent to 1: if o is an operation, set zˉo=1; if o is input coordinate i, set xˉi=1. For j=T,T−1,…,1, and for every parent slot k=1,…,rj, compute the contribution cj,k=Dkϕj(zpj,1,…,zpj,rj)Tzˉj and add it to the cotangent accumulator of that parent: use xˉi if the parent is input coordinate i, and zˉℓ if it is operation node ℓ. If the same parent node occurs in multiple slots, add every slot contribution. Return the scalar output f(x) and the input cotangents (xˉ1,…,xˉn) as the Euclidean gradient. A point outside the admissible domain returns DOMAIN_ERROR; a branch boundary or ambiguous active branch returns NONDIFFERENTIABLE and no gradient. The procedure differentiates the real-arithmetic graph; it makes no floating-point error claim.

Depends on

Used by

Dependency tree · two levels

3 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