Alphabeta Math
Pipeline-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.

Global ODE and Log-density Integration Error — Examples

1 · Prerequisites

2 · Summary

The scalar linear flow x′=x has a nonzero Euler state error even though its constant divergence is integrated exactly by the Euler log-density update. For x′=tx started at zero, the state error is identically zero while left-Euler divergence quadrature has terminal error h/2; midpoint quadrature removes that error without changing the state solver. Together the examples separate state-solver error from density-quadrature error.

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedOpen item page →

Euler has state error but exact log-density quadrature for a linear flow

Example

Assume Countable Choice. Let f(t,x)=x on [0,1]×R, start at x(0)=1, take h=1/N, and use any strictly positive continuous probability density p0 on R. Initialize ℓ^0=log⁡p0(1). The exact state is x(t)=et, while Euler gives xn=(1+h)n, so its final state error is e−(1+1/N)N>0. The exact continuous-flow log-density change is −1, and the Euler divergence accumulator also gives exactly −1.

Facts & Assumptions

Given: Countable Choice, T=1, N≥1, h=1/N, f(t,x)=x on [0,1]×R, x(0)=1, a positive continuous probability density p0 on R, and the Euler state and divergence updates initialized by ℓ^0=log⁡p0(1).

[A1]

Countable Choice is the assertion that every countable family of nonempty sets has a choice function (The Axiom of Countable Choice (ACω)); it is used only for the density interpretation inherited from [F1].

[F1]

For a C¹ diffeomorphic flow, pt(Φt(x0))=p0(x0)/det⁡DΦt(x0) and the log-density derivative is −div⁡f (A continuous flow changes log density by minus its divergence).

[F2]

Under the stated C² tube and flow hypotheses, Euler state updates and the divergence accumulator have the fixed-time error bounds proved in Euler global state and log-density error on a bounded C² tube.

[F3]

The real exponential is defined by its power series, is differentiable with derivative exp⁡, and satisfies exp⁡(0)=1 (The real exponential function and the number e by a power series, The exponential function is smooth and (exp⁡)′=exp⁡).

[F4]

exp⁡(t)>0 and 1/exp⁡(t)=exp⁡(−t) (The exponential is positive and satisfies exp⁡(−x)=1/exp⁡(x)).

[F6]

exp⁡ is strictly increasing (The exponential function is strictly increasing).

[F7]
[F8]

Natural powers preserve order on nonnegative bases for exponent N≥1 (Monotonicity of x↦xn and of n↦an); they satisfy the recursive natural-power definition (Integer powers am).

[F10]

For positive u,v, log⁡(u/v)=log⁡u−log⁡v (Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm).

[F11]

The natural logarithm is the inverse of exp⁡ on positive reals, so log⁡(exp⁡u)=u (The natural logarithm as the inverse of the exponential function).

Verification

1.1givenF2F3F4F5F6F7F8F9inductionalgebra

Extend the given field to the open domain R2 by the same formula f(t,x)=x; its restriction to [0,1]×R is unchanged. Define Φt(x0):=exp⁡(t)x0 for t∈[0,1]. By [F3] and [F9], ∂tΦt(x0)=exp⁡(t)x0=f(t,Φt(x0)) and Φ0(x0)=x0; [F4] makes every slice a C¹ diffeomorphism R→R with inverse y↦y/exp⁡(t). Thus x(t)=Φt(1)=exp⁡(t) is the exact path. Euler satisfies xn+1=(1+h)xn, so induction gives xn=(1+h)n. Since h>0, [F5] gives exp⁡(h)−1=exp⁡(c)h for some c∈(0,h), and [F6] with exp⁡(0)=1 gives exp⁡(c)>1, hence 1+h<exp⁡(h). By [F8], (1+h)N<exp⁡(h)N; [F7] gives exp⁡(h)N=exp⁡(Nh)=exp⁡(1), so ∣xN−x(1)∣=exp⁡(1)−(1+h)N>0. For 1≤n≤N, [F8] and [F7] give 1≤xn≤exp⁡(nh)≤exp⁡(1), while x0=1; exact states lie in [1,exp⁡(1)] by [F6]. Therefore K=[0,exp⁡(1)] contains the exact path and Euler nodes. The bounded convex open set U=(−1,2)×(−1,exp⁡(1)+1) contains [0,1]×K, and f(t,x)=x is C² with bounded derivatives there, so [F2] applies.

2.1givenA1F1F4F10F11step 1.1algebra∎

Here DΦ1(1)=exp⁡(1), so [F1] gives p1(exp⁡(1))/p0(1)=1/exp⁡(1)=exp⁡(−1) by [F4]. Since p0(1)>0, [F10] and [F11] show that the exact log-density change is log⁡(p1(exp⁡(1)))−log⁡p0(1)=−1. Euler subtracts hdiv⁡xf=h on each of the N steps, so its computed change is −Nh=−1; with the given exact initialization, the log-density error is zero despite the positive state error from step 1.1.

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Zero state error can coexist with nonzero log-density quadrature error

Example

Assume Countable Choice. Let f(t,x)=tx on [0,1]×R, start at x(0)=0, take h=1/N, and choose any strictly positive continuous probability density p0 on R. Initialize ℓ^0=log⁡p0(0). The exact and Euler state paths are both identically zero, but the left-Euler divergence update has terminal log-density error h/2. Replacing only this scalar update by midpoint quadrature makes the terminal log density exact.

Facts & Assumptions

Given: Countable Choice, T=1, N≥1, h=1/N, f(t,x)=tx on [0,1]×R, x(0)=0, a positive continuous probability density p0 on R, and the Euler state update with scalar initialization ℓ^0=log⁡p0(0) and either left-Euler or midpoint divergence quadrature.

[A1]

Countable Choice is the assertion that every countable family of nonempty sets has a choice function (The Axiom of Countable Choice (ACω)); it is used only for the density interpretation inherited from [F1].

[F1]

Along a C¹ diffeomorphic flow, pt(Φt(x0))=p0(x0)/det⁡DΦt(x0) and the exact log-density derivative is −div⁡xf (A continuous flow changes log density by minus its divergence).

[F2]

The error bound separates the global state error, the state sensitivity of the scalar quadrature update, and its exact-start quadrature defect (Global continuous-flow log-density error from state and quadrature bounds).

[F3]

Euler on a bounded C² tube satisfies the proved state and log-density error bounds when its divergence update uses left-Euler quadrature (Euler global state and log-density error on a bounded C² tube).

[F4]
[F6]

exp⁡(t)>0 and 1/exp⁡(t)=exp⁡(−t) (The exponential is positive and satisfies exp⁡(−x)=1/exp⁡(x)).

[F7]

For positive u,v, log⁡(u/v)=log⁡u−log⁡v (Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm).

[F8]

The natural logarithm is the inverse of exp⁡ on positive reals, so log⁡(exp⁡u)=u (The natural logarithm as the inverse of the exponential function).

Verification

1.1givenF3F4F5F6algebrainduction

Define Φt(x0):=exp⁡(t2/2)x0 for t∈[0,1]. By [F5], ∂tΦt(x0)=texp⁡(t2/2)x0=tΦt(x0)=f(t,Φt(x0)), and Φ0(x0)=x0; [F6] makes each slice a C¹ diffeomorphism R→R with inverse y↦y/exp⁡(t2/2). Thus x(t)=Φt(0)=0 is the exact path. Euler has xn+1=xn+htnxn, hence xn=0 for every n by induction. The compact convex state set K=[−1,1] contains the exact and Euler states, and the bounded convex open set U=(−1,2)×(−2,2) contains [0,1]×K; f(t,x)=tx is C² with bounded derivatives there, so [F3] applies to its left-Euler density update.

2.1givenA1F1F2F6F7F8step 1.1algebrainduction∎

Since DΦ1(0)=exp⁡(1/2), [F1] gives p1(0)/p0(0)=1/exp⁡(1/2)=exp⁡(−1/2) by [F6]. Since p0(0)>0, [F7] and [F8] give the exact log-density change log⁡p1(0)−log⁡p0(0)=−1/2. The left-Euler update gives −h∑n=0N−1tn=−h2∑n=0N−1n=−h2N(N−1)/2=−1/2+h/2: the sum formula holds at N=1, and if it holds at N then adding the next term N gives (N+1)N/2. Thus its absolute log-density error is h/2>0. For midpoint quadrature, −h∑n=0N−1(tn+h/2)=−h2(N(N−1)/2+N/2)=−h2N2/2=−1/2, so its error is zero with the state solver unchanged. In [F2], state sensitivity vanishes because the integrand t is independent of x, and midpoint quadrature has zero local defect because t is affine.

Sources