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.
Global ODE and Log-density Integration Error
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Areas of Elementary Plane Figures
- Binary Operations, Monoids, Groups and Subgroups
- Compactness
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Connectedness
- 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
- Countability and Uncountability
- Determinants of Matrices over a Commutative Ring
- Euclidean Ordinary Differential Equations with Smooth Dependence
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability and the Probabilistic Method
- Foundations of the Real Numbers for Analysis
- Fubini and Change of Variables
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Lebesgue Measure on Euclidean Space
- 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
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Mixed Partials, Taylor Formulae, and Extrema
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- One-step ODE Consistency and Local Error
- Order, Zorn's Lemma, and the Axiom of Choice
- Outer Measure and the Caratheodory Extension Theorem
- Picard-Lindelöf and First-Order Ordinary Differential Equations
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Product Measures and the Fubini Tonelli Theorems
- 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
- Sigma Algebras and Borel Sets
- Subspaces, Products, and Quotients
- Suprema and Infima
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Inverse and Implicit Function Theorems
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Topology of Euclidean Space
- 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 · Summary
For a fixed finite interval and uniform step , the global ODE bound propagates a uniform one-step defect through a stability factor . It requires the exact trajectory, numerical states, and all method stages to remain in a common compact tube; the local defect and stability constants must be uniform in .
For a continuous normalizing flow, the exact log density changes by the negative divergence along the trajectory. Its numerical error has a separate state contribution and quadrature contribution: a state method of order paired with divergence quadrature of order gives terms of order and , respectively. Thus state accuracy alone does not certify log-density accuracy. The density interpretation uses Countable Choice through the library's measure change-of-variables theorem; the recurrence and quadrature estimates are choice-free. The Euler result derives both contributions on a bounded tube and makes no claim about adjoint-gradient error.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Finite geometric error bound from a one-step recurrence
Statement
Let , with , , with , and . Real powers of the positive base are as in Real powers for positive bases, with the zero-base positive-exponent convention. If nonnegative real numbers satisfy then, when , and, when ,
Facts & Assumptions
Given: The constants, step size, and nonnegative error sequence in the Statement.
, , , , , and the stated initial and recurrence inequalities hold.
The real exponential is , with and (The real exponential function and the number by a power series).
For every real , ( for every real , hence ).
If , then for every natural (Monotonicity of and of ); natural powers satisfy and (Integer powers ).
for real (The exponential addition formula ).
The real exponential is strictly increasing (The exponential function is strictly increasing).
Finite sums satisfy additivity and scaling (Laws of finite sums and finite products, Finite sums and finite products, by recursion).
Finite sums telescope as (Laws of finite sums and finite products).
Proof
Put and . By induction on , the recurrence gives for : the sum is empty at , where the bound is equality in the first term, and substituting the bound at into appends the term .
If , then and [F6, F7] give , so . By [F2], . If then ; if , [F3] gives . Induction using [F1] and [F4] gives for every natural . Since , , and [F5] gives . Substitution in step 1.1, using [F8] to simplify the real-power factor, yields . If , then and step 1.1 gives by [F8], because and . Taking the maximum proves both cases.
A continuous flow changes log density by minus its divergence
Statement
Assume the Axiom of Countable Choice. Let , be open, , and let be jointly on an open time-state domain. Suppose the ODE has a common flow whose time slices are diffeomorphisms onto open sets , with . Let be a continuous probability density with respect to Lebesgue measure, let be the pushforward of under , and define Then is a density of on , the flow Jacobian has positive determinant, and and, for , The derivative at or is understood one-sided.
Facts & Assumptions
Given: The Countable Choice axiom, the stated common C¹ flow of diffeomorphisms, and the positive continuous initial probability density.
Countable Choice is the assertion that every countable family of nonempty sets has a choice function (The Axiom of Countable Choice ()); it is used only through the change-of-variables supplier [F3].
A solution of a first-order system satisfies and on its interval (First-order systems, initial value problems, and solutions on intervals).
A measure with density relative to Lebesgue measure is defined by (The measure with density relative to ).
For a C¹ diffeomorphism between open subsets of , Countable Choice and the nonnegative change-of-variables theorem give for every nonnegative Lebesgue-measurable (A C^1 diffeomorphism satisfies the change-of-variables formula for nonnegative Lebesgue measurable functions).
If a vector field is continuous and C¹ in the state variable and the solutions through nearby initial states exist on a common compact interval for some , then the solution map is C¹ in the initial state and its derivative solves with ; endpoint derivatives are one-sided ( dependence of solutions on initial data, First-order systems, initial value problems, and solutions on intervals).
The derivative of a composite of totally differentiable maps is given by the chain rule (The chain rule for total derivatives: ).
A continuous real function on a closed interval takes every value between its endpoint values (Intermediate value theorem, by bisection with a canonical left-half rule: a continuous function on takes every value between and ).
For , is defined as the inverse of the real exponential and (The natural logarithm as the inverse of the exponential function, The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t).
The determinant of a square matrix is the finite Leibniz sum over permutations (For , the determinant over a commutative ring by the Leibniz formula, and for a real matrix).
A real square matrix is invertible if and only if its determinant is nonzero (A finite square real matrix is invertible if and only if its determinant is nonzero).
The determinant is a polynomial in its matrix entries, and polynomial functions are continuous (For every fixed finite size at least one, the determinant of a real square matrix is a polynomial in its matrix entries, Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function).
The Leibniz determinant is column-multilinear and alternating (The Leibniz determinant is column-multilinear, alternating and normalized over every commutative ring).
Sums and products of differentiable real functions obey the binary sum and product rules; repeated application over finitely many factors follows by induction (Sums, scalar multiples, products and quotients: , , , and when ).
Proof
For fixed , the inverse-flow chain rule [F5] gives , so is invertible and [F9] gives . Thus the formula for is continuous and positive on and zero outside, hence Borel measurable on . For any Borel , apply [F3] to . Change of variables gives because . Thus is a density of on all of .
Put . For define for . Each is a solution of the same ODE on the common interval , and . Apply [F4] to this family at the initial state and initial time : its derivative satisfies , where , and , with one-sided derivatives at . Since , the chain rule [F5] gives , so on and , again with one-sided endpoint derivatives. Thus is continuous. Separately, the inverse-flow chain rule [F5] and [F9] give for each ; [F10] and continuity of give continuity of . If this determinant were negative at any , [F6] on with target would give a zero, contradicting nonsingularity; since by [F11], it is positive throughout. The density formula in step 1.1 therefore becomes .
Fix an interior time, write and , and denote the columns of by . By the Leibniz formula [F8], differentiating each -factor monomial with repeated binary product rules (induction on the number of factors) and distributing the finite sum gives . Since , if is column of then . Multilinearity [F11] expands the th determinant into ; for the repeated columns make the determinant zero by alternation [F11], while gives . Hence and [F7] gives . Since , . The density formula in step 2.1 has constant numerator , so [F7] and the chain rule [F5] give . This proves the identity for .
At the endpoints, step 2.1 gives the variational equation for on , and [F1] makes its endpoint equations one-sided: and , where . To differentiate the determinant there, use its finite Leibniz polynomial [F8]: as , each matrix entry has expansion , and as it has expansion . Expanding each finite product in that polynomial, the terms linear in the increment are exactly the binary product-rule terms and all terms with at least two increments are little-oh of the increment. Thus the same finite expansion as in step 3.1 gives and . The determinants are positive by step 2.1, so one-sided differentiation of their logarithms [F7] gives and . Using the density identity in step 2.1, , therefore its right derivative at and left derivative at are respectively and . These are exactly the stated endpoint identities.
Global error from uniform one-step defect and stability
Statement
Let , , , and . Let solve an initial-value problem in an open time-state domain . Use the Euclidean norm of The Euclidean inner product on , whose triangle inequality is proved in Cauchy-Schwarz with its equality case, the triangle inequality for , the parallelogram law and polarisation. Let be a common compact time-state tube with positive margin in , and write . Suppose a one-step map is defined on , produces , and the entire exact path, all numerical grid states, and every method stage lie in . If constants , independent of and , satisfy and for every and , then, for , and, for ,
Facts & Assumptions
Given: An exact first-order initial-value problem, the stated one-step map and tube, and the local-defect, stability, and initial-error bounds.
A solution of a first-order system satisfies and on its interval (First-order systems, initial value problems, and solutions on intervals).
For a one-step map, the local defect is the difference between its exact-start output and the exact next state; uniform local order bounds its norm by , and one-step Lipschitz stability bounds changes in the output by times the input change (One-step ODE methods, local defect, uniform order, and step stability).
The Euclidean norm on satisfies (Cauchy-Schwarz with its equality case, the triangle inequality for , the parallelogram law and polarisation).
is the real exponential defined by its factorial power series, with (The real exponential function and the number by a power series).
For and with , the finite recurrence has the two bounds stated in this item's conclusion (Finite geometric error bound from a one-step recurrence).
The one-step map is defined on each stated time fiber, the entire exact path, numerical grid states and method stages remain in , and its uniform local defect and fiberwise stability inequalities in the Statement hold.
Proof
By [F1], each is a defined reference state of the exact initial-value problem; [F2] identifies the two uniform inequalities in [A1] as the one-step stability and local-defect bounds. Put . The Euclidean triangle inequality [F3] and those bounds give .
Apply [L1] to the nonnegative sequence using the recurrence from step 1.1 and the initial bound in [A1]. The two cases and give exactly the displayed conclusions, with exponential notation as in [F4].
Global divergence-integral error separates state and quadrature error
Statement
Let , with , , and . Let be compact, let be an exact path, and suppose every numerical state also belongs to . Let be a continuous scalar integrand. Define Suppose the one-step state method satisfies the hypotheses of Global error from uniform one-step defect and stability at its positive integer order , and write for its resulting constant, so . Let be the increment map in the numerical scalar update , with for with , using the real powers of Real powers for positive bases, with the zero-base positive-exponent convention. If constants and an integer satisfy, uniformly for and , then
Facts & Assumptions
Given: The exact path, continuous integrand, numerical state and scalar updates, and the uniform state-solver, sensitivity, and quadrature-defect hypotheses in the Statement.
Under the full hypotheses of Global error from uniform one-step defect and stability, the state method has a fixed-time bound with the explicit and constants. These hypotheses require a common compact time-state tube with positive margin in the open ODE domain, containing the entire exact path, all numerical grid states, and every method stage; the one-step map is defined on each grid-time fiber, with local-defect bound , fiberwise stability factor , and initial error bound , for constants independent of and .
For each step, the scalar update is Lipschitz in its starting state with constant and has exact-start quadrature defect at most ; the initial scalar error is at most .
For and , is the real power defined by (Real powers for positive bases, with the zero-base positive-exponent convention).
Proof
Let . By [F1], . The exact and numerical scalar updates, the triangle inequality, and [A1] give .
Iterating the recurrence from step 1.1 for steps yields . Since and , this is at most . Taking the maximum proves the claim.
Remarks
For a continuous normalizing flow, . This theorem bounds that divergence integral without identifying it as a probability log density; the separate identification is proved in A continuous flow changes log density by minus its divergence. The bound makes a higher-order state solver insufficient by itself: the chosen divergence quadrature must also have the required order and state sensitivity bound.
Global continuous-flow log-density error from state and quadrature bounds
Statement
Assume Countable Choice and the hypotheses of A continuous flow changes log density by minus its divergence. Let , and suppose a numerical state method and scalar quadrature satisfy the hypotheses of Global divergence-integral error separates state and quadrature error, with numerical initial value satisfying . Then the numerical scalar values approximate the actual flow log densities and with the constants and orders from that theorem.
Facts & Assumptions
Given: Countable Choice, a C¹ flow of diffeomorphisms with positive initial density, and numerical state and quadrature updates satisfying the separate error hypotheses.
Countable Choice is assumed only for the change-of-variables step that identifies the flow density (The Axiom of Countable Choice ()).
Along the flow, (A continuous flow changes log density by minus its divergence).
For the divergence integrand and numerical updates in the Statement, the grid error is at most (Global divergence-integral error separates state and quadrature error).
A solution of the scalar initial-value problem satisfies (A first-order initial value problem is equivalent to its Volterra integral equation).
Proof
By [F1], the exact log density along the trajectory solves the scalar IVP with . Applying [F3] on each step shows that its increment from to is exactly , so the exact scalar grid sequence in [F2] is .
Apply [F2] to the numerical state and scalar updates. The exact grid sequence is the log density by step 1.1, so the stated bound is precisely the numerical log-density error.
Euler global state and log-density error on a bounded C² tube
Statement
Assume Countable Choice and the flow-density hypotheses of A continuous flow changes log density by minus its divergence. Let , , , and . Let be compact and convex, and let be a bounded convex open subset of the ODE domain containing . Suppose , all partial derivatives of through order two are bounded on , and the exact path and every Euler node lie in . Thus is a compact tube with positive margin inside . Put and define where matrix and linear-functional norms are induced by Euclidean norms. These constants are finite by the hypotheses. Apply forward Euler to the state and to the continuous-flow log-density equation: If and , define and Then, for every , and This is a first-order Euler result; it asserts no adjoint-gradient error bound.
Facts & Assumptions
Given: Countable Choice, a positive initial density and C¹ diffeomorphic flow, with the stated bounded derivatives on a common convex tube, and the displayed Euler state and scalar updates.
The state and log-density initial errors are at most and , respectively; exact, numerical, and local flow segments stay in the stated tube.
Countable Choice is used only to identify the continuous flow's pushforward density (The Axiom of Countable Choice ()).
A solution of satisfies (A first-order initial value problem is equivalent to its Volterra integral equation).
The derivative of a composite is the composite of the derivatives (The chain rule for total derivatives: ).
On a convex open set, a uniform derivative bound implies a Lipschitz bound (On a convex open set, a uniform bound implies ).
A differentiable vector-valued curve with derivative norm bounded by is Lipschitz with constant ; for an integrable vector function, (If is differentiable with integrable then ; and a bounded derivative makes Lipschitz, For and integrable when , ; for , is integrable).
A uniform one-step defect and stability factor give the stated fixed-time global error bound, including the case (Global error from uniform one-step defect and stability).
If the divergence update has state sensitivity and local quadrature defect , then its global error is the sum of the initial, state, and quadrature contributions (Global continuous-flow log-density error from state and quadrature bounds).
is the real exponential defined by its factorial power series, with (The real exponential function and the number by a power series).
Proof
For fixed , the open convex fiber contains . Applying [F3] there gives for . Hence the Euler state map satisfies .
Let for . By [F2], , whose norm is at most . By [F4], . Using [F1] and the integral norm bound in [F4], the exact-start Euler defect is .
Since , is on . The open convex fiber contains , so [F3] gives for . Along the exact trajectory, [F2] gives , with absolute value at most , hence by [F4]. The left-Euler exact-start defect is , which [F4] bounds by .
The Euler state map from step 1.1 and defect from step 1.2 satisfy Global error from uniform one-step defect and stability with order , , , and initial constant . Therefore , with the stated formula when and its separate zero branch when .
Apply [F6] with state order , quadrature order , state constant from step 2.1, sensitivity , defect constant , and initial log-density error . This yields for every grid index.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Ernst Hairer and Gerhard Wanner, Introduction à l’Analyse Numérique, Chapter III: Équations Différentielles Ordinaires
- Mark Embree, Lecture Notes on Numerical Analysis
- Ricky T. Q. Chen, Yulia Rubanova, Jesse Bettencourt, and David Duvenaud, Neural Ordinary Differential Equations
- George Papamakarios, Eric Nalisnick, Danilo Jimenez Rezende, Shakir Mohamed, and Balaji Lakshminarayanan, Normalizing Flows for Probabilistic Modeling and Inference