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.

Direct transcription and numerical ode optimal control — Examples

1 · Prerequisites

2 · Summary

The examples compute an exact scalar bounded-actuator LQR minimizer and its objective, compare an explicit-midpoint chemical-dosing trajectory with its exact ODE solution, and write the same two-interval control problem in single- and multiple-shooting variables. Each calculation identifies which values are exact and which belong only to a finite transcription.

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

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

A bounded-actuator LQR control and its exact objective

Example

Take T=1, x˙=u, x(0)=0, u(t)∈[−1,1], running cost 12u(t)2, and terminal cost 12(x(1)−1)2. The unique optimal actuator signal is the constant u∗(t)=12, and its objective is J(u∗)=14.

Facts & Assumptions

Given: The scalar problem above.

[F1]

The state is xu(t)=∫0tu(s)ds; the objective is J(u)=12∥u∥22+12(∫01u−1)2 (Finite-horizon bounded-control linear-quadratic ODE problem).

[F2]

Under Countable Choice, the backward adjoint exists uniquely and satisfies −p˙=0 and p(1)=x(1)−1 (The backward LQR adjoint equation has a unique solution, Continuous adjoint equation for the linear-quadratic ODE).

[F3]

Under Countable Choice and Dependent Choice, the reduced gradient is BTp+Ru (The LQR adjoint identity gives the reduced gradient).

[A1]

Countable Choice and Dependent Choice are assumed only for the reduced-gradient verification in step 3.1 (The Axiom of Countable Choice (ACω), The axiom of dependent choice: a relation in which every element is related to something admits an N-indexed chain).

[A2]

Exact real arithmetic is used.

Verification

1.1F1A2algebra

Put m=∫01u(t)dt. Since ∫01(u−m)2dt=∫01u2dt−m2, direct expansion gives J(u)=12∥u−m∥22+12[m2+(m−1)2]=12∥u−m∥22+(m−12)2+14.

2.1step 1.1givenalgebra

Both squared terms are nonnegative, so J(u)≥14. Equality holds exactly when u=m almost everywhere and m=12, hence exactly for u∗(t)=12 almost everywhere. This control satisfies [−1,1] and direct substitution gives J(u∗)=14. Therefore it is the unique minimizer.

3.1A1F2F3step 2.1algebra∎

The state is x(t)=t/2. By [F2], the adjoint equation is −p˙=0 with terminal value p(1)=x(1)−1=−1/2. The constant curve p(t)=−1/2 solves it, and uniqueness in [F2] makes this the adjoint. Under [A1], [F3] gives the reduced gradient g=p+u∗=0. Thus g(t)(c−u∗(t))=0 for every c∈[−1,1], so the control-only pointwise variational inequality holds with equality for this example. The optimizer and objective calculation in steps 1.1–2.1 used no choice axiom.

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

A chemical-dosing model under a constant admissible dose

Example

Let x(t) be the concentration of a decaying reagent after dosing, with x˙=−x+u, x(0)=0, 0≤u≤1, and 0≤t≤1. Use zero running and terminal costs to focus on the state trajectory. For the admissible constant dose u(t)=1, the exact concentration is x(t)=1−e−t. A one-cell explicit-midpoint transcription from zero returns the stage value X2=1/2 and endpoint approximation x1=1/2, whereas the exact endpoint is 1−e−1. The controller's embedded difference alone is not an error certificate.

Facts & Assumptions

Given: The linear concentration model, constant input, one-cell mesh, and explicit midpoint tableau a21=1/2, b1=0, b2=1, c1=0, c2=1/2.

[F1]

The unique state solves its Volterra integral equation for bounded measurable linear dynamics and an L2 input (The bounded measurable linear ODE has a unique affine state map).

[F2]

The one-step stage and endpoint formulas for an explicit RK tableau are those of Explicit Runge–Kutta tableaus, stage maps, and failure status.

[F3]

Piecewise-constant controls are defined interval by interval on the mesh (Time meshes and piecewise-constant control parameterization).

[F4]

An embedded adaptive RK estimate is a local pair difference; controller termination does not certify a global exact error (Finite-budget adaptive Runge–Kutta controller, The bounded adaptive Runge–Kutta controller terminates).

[A1]

Exact real arithmetic is used for the displayed values.

Verification

1.1F1givenalgebra

The exact integral equation is x(t)=∫0t(−x(s)+1)ds. The function x(t)=1−e−t has x(0)=0 and derivative e−t=−(1−e−t)+1, so it solves the equation; uniqueness follows from [F1].

2.1F2F3A1step 1.1algebra

On the one-cell mesh, the explicit midpoint first slope is K1=−x0+u=1. The second stage is X2=x0+12K1=12, so K2=−X2+u=12. The output is x1=x0+K2=12 by [F2]; the exact endpoint is 1−e−1 by step 1.1.

3.1F4step 2.1algebra∎

The exponential series gives e=1+1+∑k≥21/k!>2, so 1−e−1>1/2 and the midpoint endpoint differs from the exact endpoint. The procedure returns the stated value, not a bound on the true error, by [F4].

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

Two-interval single and multiple shooting for x-prime equals u

Example

For x˙=u, x(0)=0, and mesh 0,1/2,1, take the compact control set Uc=[−1,1] and let the two constant controls satisfy v0,v1∈Uc. Since the dynamics are constant on each interval, every consistent explicit RK tableau with ∑ibi=1 and stage abscissae ci∈[0,1] gives the exact interval updates on this mesh. Single shooting yields x1=v0/2 and x2=(v0+v1)/2. Multiple shooting retains x1,x2 and imposes x1−v0/2=0, x2−x1−v1/2=0. The shared objective 14(v02+v12)+12(x2−1)2 therefore has the same reduced value in both formulations.

Facts & Assumptions

Given: The two-cell mesh, compact control set Uc=[−1,1], constant controls v0,v1∈Uc, exact real arithmetic, and a consistent explicit tableau with ∑ibi=1 and ci∈[0,1].

[F1]

Piecewise-constant controls assign one control value per mesh cell (Time meshes and piecewise-constant control parameterization).

[F2]

The single and multiple shooting recursions use the same deterministic interval maps (Finite-horizon shooting and Runge–Kutta collocation transcription).

[F3]

Their feasible control sets and reduced objectives agree by projection (Exact single and multiple shooting have the same reduced feasible controls).

[A1]

The explicit tableau is consistent, meaning ∑ibi=1; all arithmetic shown is exact.

Verification

1.1F1A1givenalgebra

On the first cell every stage slope equals v0, so its endpoint increment is 12v0∑ibi=12v0. The second cell adds 12v1∑ibi=12v1. Thus single shooting gives the stated x1 and x2.

2.1F2F3step 1.1algebra∎

The multiple-shooting continuity equations uniquely impose x1=12v0 and x2=x1+12v1=12(v0+v1). Substitution into its objective gives exactly the single-shooting objective. This is the concrete bijection and reduced-objective identity stated in [F3].

Sources