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.
Automatic differentiation and backpropagation — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Automatic differentiation and backpropagation
- Automatic differentiation and computational graphs
- Banach-Space Differential Calculus and Banach Manifolds
- Binary Operations, Monoids, Groups and Subgroups
- Bounded Linear Operators and Quotient Spaces
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Complex Norms and Realification
- Complexification, Realification and Real Structures
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Feedforward networks and single-hidden-layer universality
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Normed and Banach Spaces
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Subspaces, Products, and Quotients
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Inverse and Implicit Function Theorems
- The Riemann Integral: Definition and Integrability
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
None yet.
4 · Examples, counterexamples and false statements
Checkpointed reverse sweep recomputes an intermediate
Example
For , take the two-transition real-arithmetic computation , , with scalar output . Both transitions are on . Run the uniform-block checkpoint schedule with and one saved-state slot . The schedule stores the initial state, recomputes when reversing , and returns the same derivative as an uncheckpointed reverse pass: .
Facts & Assumptions
Given: The two transitions, initial state , and uniform-block schedule with and .
Uniform-block and binomial checkpoint schedules for reverse sweeps: uniform-block mode saves its scheduled checkpoints, restores a block start, replays the transitions needed to reach each step, records that step's local tape, and reverses the step.
Uniform-block and binomial checkpoint schedules preserve reverse adjoints with stated costs: when deterministic replays stay in the declared domains, uniform-block checkpointing returns the same terminal value and initial-state cotangent as the uncheckpointed reverse sweep.
The chain rule for total derivatives: : the derivative of a composition of totally differentiable maps is the ordered composition of their total derivatives.
Chain sum product and composition rules for Banach derivatives: on the real Banach space , multiplication is bounded bilinear because , and the identity map has Fréchet derivative . Applying the bounded-bilinear product rule to two identity maps gives , a continuous derivative.
The derivatives of sine and cosine are cosine and minus sine: on , and for every ; these one-dimensional derivatives are total derivatives.
Total differentiability gives a local increment bound and therefore continuity: a totally differentiable map on is continuous; in particular, is continuous because it is differentiable by [F5], so is .
Verification
Here , so the uniform-block schedule stores only and has one block . In the reverse pass it first restores and replays , obtaining before recording the local tape for ; it then restores again to process . Both transitions are defined on all of , so every replay stays in its declared domain.
Starting with output cotangent , the local derivative of gives by [F5], and the local derivative of gives by [F4]. This includes , where the derivative is , and , where it is .
The deterministic replay preserves the local inputs and reverse rules, so [F2] identifies the returned cotangent with the uncheckpointed derivative; [F3] gives , the same value. The example shows a recomputation trade-off and asserts no schedule optimality.
A ReLU kink has no classical backpropagated derivative
Example
Let , with , and consider the one-step scalar objective represented by initial state , transition , and loss . The ReLU transition is on each of the open regions and , with its value specified at . At , has no classical derivative, and the stated forward-, reverse-, and recurrence-backpropagation procedures return NONDIFFERENTIABLE with no tangent or gradient rather than selecting a subgradient.
Facts & Assumptions
Given: The one-step graph at with ReLU transition .
Finite straight-line computational programs and real-arithmetic tapes: for a piecewise- primitive, a branch-boundary input returns NONDIFFERENTIABLE; the definition does not silently choose a subgradient or generalized derivative.
Backpropagation through a finite shared-parameter recurrence: on a piecewise- map the recurrence procedure uses a derivative only on a unique strict active branch and returns NONDIFFERENTIABLE at a boundary.
Forward-mode automatic differentiation on a finite computational graph: a forward-mode input on a branch boundary returns NONDIFFERENTIABLE and no tangent.
Reverse-mode automatic differentiation for a scalar graph output: a reverse-mode input on a branch boundary returns NONDIFFERENTIABLE and no gradient.
Verification
Since , for every the difference quotient equals , while for every it equals . The two one-sided limits differ, so is not differentiable at .
The executed ReLU primitive receives , the boundary between its and branches. By [F1] this input has no selected strict branch.
At that boundary, the recurrence procedure in [F2] and the forward procedure in [F3] both return NONDIFFERENTIABLE and no derivative value.
The reverse procedure in [F4] also returns NONDIFFERENTIABLE and no gradient at this boundary.
This boundary status agrees with step 1.1: there is no classical derivative for these procedures to propagate, and their specified output does not invent one.