Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedPipeline-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.

The reverse recursion is the exact gradient of a finite state-step objective

Statement

Use the setting of Finite parameterized state-step graphs and objectives. Write An=DxΨn(xn,θ), Bn=DθΨn(xn,θ), and let Sn=Dθxn. Then S0=Dx0(θ),Sn+1=AnSn+Bn. Define pN=Dxϕ(xN,θ)T and, backward for n=N−1,…,0, pn=Dxℓn(xn,θ)T+AnTpn+1. The exact gradient of the finite objective is ∇θJ=Dθϕ(xN,θ)T+S0Tp0+∑n=0N−1(Dθℓn(xn,θ)T+BnTpn+1). The recursion is the reverse derivative of the finite graph in exact real arithmetic; it makes no convergence claim about an iteration used to choose θ.

Facts & Assumptions

Given: The open finite state-step graph, its C1 maps, objective, trajectory and parameter in the Statement.

[F1]

Finite parameterized state-step graphs and objectives: xn+1=Ψn(xn,θ) and J=ϕ(xN,θ)+∑n<Nℓn(xn,θ) with all displayed maps C1.

[F2]

Reverse-mode automatic differentiation for a scalar graph output: reverse mode accumulates each primitive pullback DkϕjTzˉj at every parent slot in reverse topological order.

[F3]

Reverse mode computes the exact gradient of the real-arithmetic graph: reverse mode returns the exact gradient of the finite C1 real-arithmetic graph.

[F4]

The chain rule for total derivatives: D(g∘f)(a)=Dg(f(a))∘Df(a): the derivative of a composition is the composition of its derivatives.

Proof

1.1F1F4

By the chain rule [F4] applied to xn+1(θ)=Ψn(xn(θ),θ), Sn+1=AnSn+Bn; differentiating the initial map gives S0=Dx0(θ). These are the forward tangent equations for this finite composition.

1.2F1F2F3

Apply the reverse accumulation rule [F2] to the finite graph of states and objective summands in [F1]. The terminal contribution seeds pN=DxϕT; at each state node xn, its local running-cost edge contributes DxℓnT, while its state-transition edge contributes AnTpn+1. Thus the accumulated state cotangent is exactly pn as defined in the Statement, and the direct parameter edges contribute DθϕT and DθℓnT+BnTpn+1. By [F3], reverse mode returns the exact derivative of this finite C1 graph.

2.1F1F4step 1.1

Differentiate the objective in [F1] using the forward sensitivities in step 1.1. The chain rule gives ∇θJ=DθϕT+SNTDxϕT+∑n=0N−1(DθℓnT+SnTDxℓnT). This is the direct tangent expression, with all derivatives evaluated along the trajectory.

3.1F1step 1.1step 2.1algebra∎

The adjoint equation gives pnTSn=DxℓnSn+pn+1TAnSn. Since Sn+1=AnSn+Bn, rearranging yields DxℓnSn=pnTSn−pn+1TSn+1+pn+1TBn. Summing over n telescopes; pN=DxϕT cancels the terminal tangent term in step 2.1 and leaves S0Tp0+∑nBnTpn+1. Adding the direct parameter derivatives from step 2.1 gives the displayed adjoint formula.

Depends on

Used by

Dependency tree · two levels

11 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