Alphabeta Math
ExampleConstruction: AI-generatedVerification: AI-generatedPipeline-generatedprecheck pass
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.

An implicit linear solve and its adjoint gradient

Example

Let A(θ)=[1θ01], b=(2,1)T, and define u(θ) by A(θ)u(θ)=b. For the scalar objective J(θ)=[11]u(θ), at θ=0 the exact derivative and the adjoint formula both equal −1.

Facts & Assumptions

Given: A square linear residual with an invertible state Jacobian and a scalar objective.

[F1]

Implicit differentiation and adjoint formulas under a nonsingular residual Jacobian: if Rz is nonsingular, the branch derivative is −Rz−1Rθ and the objective gradient can be computed from RzTλ=JzT as Jθ−λTRθ.

[F2]

Certified inverse defects and primal residuals bound linear-solve Jacobian and pullback errors supplies the certified fixed-map derivative discrepancy from inverse defects and primal residuals.

Verification

technique · direct solve and adjoint substitution
1.1givenalgebra

The system gives u2=1 and u1+θu2=2, hence u(θ)=(2−θ,1)T and J(θ)=3−θ. Therefore J′(0)=−1.

2.1givenstep 1.1algebra

Write R(u,θ)=A(θ)u−b. At θ=0, u=(2,1)T, Ru=A(0)=I, Rθ=Aθu=(1,0)T, and Ju=(1,1). The adjoint equation RuTλ=JuT gives λ=(1,1)T.

3.1F1step 2.1algebra

The objective has no explicit θ dependence, so Jθ=0; the adjoint formula gives Jθ−λTRθ=−(1,1)⋅(1,0)=−1.

4.1step 1.1step 3.1

The adjoint result agrees with the direct derivative in step 1.1, verifying this nonsingular linear-solve instance.

5.1F2step 1.1step 2.1step 3.1algebra∎

In any arithmetic satisfying the operationwise model and representing 0,1,2,3, with these small operations in range, at θ=0 the primal and basis solves give x^=(2,1)T and B=I exactly. Their inverse defect and primal residual are zero. The certified solve-Jacobian result Certified inverse defects and primal residuals bound linear-solve Jacobian and pullback errors therefore gives zero fixed-map discrepancy; the actual dot and product operations here are also exact, and return derivative −1.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

12 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