Alphabeta Math
ExampleConstruction: AI-generatedVerification: AI-generatedPipeline-generatedprecheck passjudge pass (gpt-6-luna)
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.

Reverse-mode differentiation of an Euler trajectory tape

Example

Take two explicit Euler updates for x′=αx with step h=1/2, initial state x0=1, and scalar output J=x2: xk+1=xk+hαxk,k=0,1. At α=1, the tape has x1=3/2 and x2=9/4; reverse mode returns dJ/dα=3/2.

Facts & Assumptions

Given: The two-step Euler graph, x0=1, h=1/2, α=1, and output J=x2.

[F1]

Reverse-mode automatic differentiation for a scalar graph output: for each transition, reverse mode applies its local transpose derivative to the incoming cotangent and adds parameter contributions.

[F2]

Reverse mode computes the exact gradient of the real-arithmetic graph: the returned parameter cotangent equals the exact derivative of this scalar graph.

Verification

technique · direct recurrence and reverse tape
1.1givenalgebra

Substitution into the two Euler updates gives x1=1+(1/2)(1)(1)=3/2 and x2=(3/2)+(1/2)(1)(3/2)=9/4. As a function of α, J(α)=(1+hα)2x0, so J′(1)=2h(1+h)x0=3/2.

2.1F1step 1.1algebra

Seed xˉ2=1. At step k=1, ∂x2/∂x1=1+hα=3/2 and ∂x2/∂α=hx1=3/4, so xˉ1=3/2 and the accumulated αˉ=3/4.

3.1F1step 2.1algebra

At step k=0, ∂x1/∂x0=3/2 gives xˉ0=(3/2)(3/2)=9/4, while ∂x1/∂α=hx0=1/2 adds (1/2)(3/2)=3/4 to αˉ. Thus the total parameter cotangent is 3/2.

4.1F2step 1.1step 3.1∎

The reverse result equals the direct derivative in step 1.1, and [F2] identifies it as the derivative of the finite trajectory map.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

5 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