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 , , and let . Then Define and, backward for , The exact gradient of the finite objective is 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 maps, objective, trajectory and parameter in the Statement.
Finite parameterized state-step graphs and objectives: and with all displayed maps .
Reverse-mode automatic differentiation for a scalar graph output: reverse mode accumulates each primitive pullback at every parent slot in reverse topological order.
Reverse mode computes the exact gradient of the real-arithmetic graph: reverse mode returns the exact gradient of the finite real-arithmetic graph.
The chain rule for total derivatives: : the derivative of a composition is the composition of its derivatives.
Proof
By the chain rule [F4] applied to , ; differentiating the initial map gives . These are the forward tangent equations for this finite composition.
Apply the reverse accumulation rule [F2] to the finite graph of states and objective summands in [F1]. The terminal contribution seeds ; at each state node , its local running-cost edge contributes , while its state-transition edge contributes . Thus the accumulated state cotangent is exactly as defined in the Statement, and the direct parameter edges contribute and . By [F3], reverse mode returns the exact derivative of this finite C1 graph.
Differentiate the objective in [F1] using the forward sensitivities in step 1.1. The chain rule gives This is the direct tangent expression, with all derivatives evaluated along the trajectory.
The adjoint equation gives . Since , rearranging yields Summing over telescopes; cancels the terminal tangent term in step 2.1 and leaves . Adding the direct parameter derivatives from step 2.1 gives the displayed adjoint formula.
Depends on
Used by
- Finite-horizon shooting and Runge–Kutta collocation transcription Algorithm
- A mismatched terminal adjoint condition changes the discrete gradient Example
- A strict tent-map itinerary has exponential finite-time sensitivity growth Example
- A two-interval shooting residual has a block-bidiagonal sensitivity Jacobian Example
- A two-observation 4DVAR objective has an exact reverse gradient Example
- Local C1 step consistency gives tangent, adjoint and gradient order Lemma
- A finite stochastic adjoint gives the discrete gradient under domination Theorem
- Discrete and continuous ODE gradients agree to order p under augmented error bounds Theorem
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
- William W. Hager, Runge-Kutta methods in optimal control and the transformed adjoint system, §3 (standard reference, not scraped)
- Michael B. Giles and Niles A. Pierce, An Introduction to the Adjoint Approach to Design, §2.4 (standard reference, not scraped)