Alphabeta Math
AlgorithmAlgorithm: AI-adaptedProof: Not applicablePipeline-generatedprecheck pending
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.

Forward-over-reverse Hessian-vector products

Definition

Input a C2 graph, a point x, and direction v. Run Forward-mode automatic differentiation on a finite computational graph and retain its primal tape and all input and operation tangents. If that call returns DOMAIN_ERROR or NONDIFFERENTIABLE, return the same status and stop without a Hessian-vector product. Otherwise initialize every operation and input cotangent and tangent-cotangent accumulator to zero. Seed the output by setting its cotangent/tangent-cotangent pair to (1,0): if o is an operation, set (zˉo,zˉ˙o)=(1,0); if o is input coordinate i, set (xˉi,xˉ˙i)=(1,0). In reverse topological order, for each node j and parent slot k, let Aj,k=Dkϕj(zpj,1,…,zpj,rj), compute cj,k=Aj,kTzˉj,c˙j,k=Aj,kTzˉ˙j+(DAj,k(zpj,1,…,zpj,rj)[z˙pj,1,…,z˙pj,rj])Tzˉj, and add cj,k and c˙j,k to the parent's cotangent and tangent-cotangent accumulators. Use (xˉi,xˉ˙i) for input coordinate i and (zˉℓ,zˉ˙ℓ) for operation node ℓ. If the same parent occurs in multiple slots, add every slot contribution. Return (xˉ˙1,…,xˉ˙n). Repeated parent slots receive separate additions. The admissible case requires every primitive evaluation to be in its declared domain and, for a piecewise primitive, on a unique strict active branch; a branch boundary or ambiguous selection returns NONDIFFERENTIABLE through the initial call. The transpose is the real Euclidean transpose, not a complex adjoint.

Depends on

Used by

Dependency tree · two levels

5 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