Lyapunov oracle #
We isolate the single oracle assumption used by TorchLean's Lyapunov/CROWN workflow:
crown_oracle.
Everything else in the Lyapunov verification workflow should reduce to ordinary theorems that depend on this axiom, but do not introduce additional axioms.
Trust-boundary policy:
- Repo linting allowlists
axiom crown_oracleonly in this file. - Downstream modules should
import NN.MLTheory.CROWN.Lyapunov.Oracle(directly or viaNN.MLTheory.CROWN.Lyapunov.Verification) rather than defining new trusted axioms.
References:
Certificate for Lyapunov verification over a boxed region.
- region : Box α (Spec.Shape.dim n Spec.Shape.scalar)
Region on which the bounds are claimed.
- V_lo : α
Lower bound for
V. - V_hi : α
Upper bound for
V. - Vdot_lo : α
Lower bound for
V̇. - Vdot_hi : α
Upper bound for
V̇.
Instances For
A neural Lyapunov function specification.
In the oracle-backed workflow, Vdot is an externally supplied decay witness; this file does not
derive it from dynamics on its own.
- V : Spec.Tensor α (Spec.Shape.dim n Spec.Shape.scalar) → α
Candidate Lyapunov scalar field.
- Vdot : Spec.Tensor α (Spec.Shape.dim n Spec.Shape.scalar) → α
Orbital derivative or decay witness associated with
V.
Instances For
Opaque witness produced by an external checker that is trusted by project policy for this workflow.
It attests that the numeric bounds packaged in cert are sound for the given lyap.
This witness is intentionally not constructible inside Lean. It represents an external artifact/checker run (e.g. α/β-CROWN) that we treat as a trust boundary.
Oracle axiom: if the trusted external witness is supplied for a certificate, then the certificate bounds hold.
This is the only trusted axiom for the Lyapunov oracle approach.