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.
Real-arithmetic graph derivatives and rounded execution are different objects
Remarks
The exact AD identities refer to the real-arithmetic graph and its exact primitive derivatives. A floating execution uses rounded primal values and derivative arithmetic; its returned AD quantity is not asserted to be the ordinary derivative of the end-to-end rounded machine map. The theorem Local Jacobian perturbations give a pathwise bound for graph-gradient error propagates specified local Jacobian discrepancies with exact accumulation and excludes rounding in reverse accumulation additions.
For a concrete mathematical solve primitive, Certified inverse defects and primal residuals bound linear-solve Jacobian and pullback errors supplies those discrepancies. With stored primal , fixed approximate inverse assembled from basis solves, certified , , , and , the vector and matrix edges have and . Its additional explicit dot/outer-product allowances cover rounded pullback evaluation. Triangular, successful Cholesky, and QR backends are admissible once those residuals are certified; a small factorization residual alone is insufficient. The lemma includes the derivative-evaluation-point error, conditioning, arithmetic success and replay hypotheses.
For the implicit example, specify , , , and objective . Then and . At , ordinary triangular substitution for the primal and basis solves gives , , and . In Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add, assume are normal representable numbers. The solves, sequential dot products for with , and outer product have only representable results . Round-to-nearest therefore leaves every result exact. Contracting the matrix cotangent with returns . This exactness follows from the specified operations and rounding rule; zero solve defects alone only remove the fixed-map discrepancy.
A Cholesky or QR factor-output primitive is a different smooth map from the mathematical solve. Its derivative must be evaluated on one fixed strict branch, with its own local derivative errors, or its finite loop must be expanded into the scalar primitives of the graph. The solve bound does not identify a factorization residual with a factor-output derivative bound.
Depends on
- Finite straight-line computational programs and real-arithmetic tapes
- Local Jacobian perturbations give a pathwise bound for graph-gradient error
- Certified inverse defects and primal residuals bound linear-solve Jacobian and pullback errors
- Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
15 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
- MIT OpenCourseWare 18.S096, Matrix Calculus for Machine Learning and Beyond, complete lecture notes, Chapter 8 §§8.3–8.4.1 (standard reference, not scraped)
- A. Griewank, Achieving Logarithmic Growth of Temporal and Spatial Complexity in Reverse Automatic Differentiation, §2 (standard reference, not scraped)