Verification notes¶
Some parts of GPRidge rest on arguments that an ordinary unit test does not cover: an algebraic identity, a rounding bound, or a control-flow policy. Each note below records one such argument next to the test, script or model that checks it. The notes are written for people who change the code. They state what the argument establishes and what it does not.
Status: developer notes. Each note is kept in docs/verification/ beside
the files it refers to; the pages here include them unchanged. The
mathematics index holds the theory pages that define the model itself.
- Formal Verification of gpridge Mathematical Foundations
- Energy and derivative observation scaling
- Conditional means with a selected covariance background
- Exact contractions for tied pair lengths
- Supplied-factor CHOLMOD and precision contracts
- Exact SCG Curvature for Distributed GP Training
- TLA+ Model for SCG Curvature-Mode Policy
- TLA+ Model for GP-OIE NEB Control
- Scope of variance fitting and dimer convergence claims
- Measuring curvature outside the sampled subspace
- Selecting an additional negative-curvature probe
- Far-field list
Kernel, likelihood and observations¶
Formal verification of the mathematical foundations: SymPy checks of the likelihood, kernel, Student-t process and NEB force formulas, and Coq statements about kernel structure. The SymPy code is tangled into
python/tests/test_sympy_formal.py.Energy and derivative observation scaling: how energy rows and derivative rows differ in units and information, and why their counts alone do not fix their relative weight.
Conditional means with a selected covariance background: the conditioning and prediction identities when the covariance is conditioned on a subset of the stored observations.
Exact contractions for tied pair lengths: the derivative contractions when several pair types share one length scale.
Linear algebra and optimizers¶
Supplied-factor CHOLMOD and precision contracts: what the optional CHOLMOD backend and the explicit precision matrix promise.
Exact SCG curvature for distributed GP training: the exact directional curvature of the marginal likelihood for scaled conjugate gradient, computed from the Cholesky factor.
TLA+ model for the SCG curvature-mode policy: the rule that chooses between the exact and the finite-difference curvature oracle.
Dimer and band control¶
TLA+ model for GP-OIE NEB control: the control-loop policy of the GP-OIE band, with the model files in
docs/verification/. The design note GP-OIE NEB state-machine and OOP design describes the same loop.Scope of variance fitting and dimer convergence claims: three separate statements about the curvature-error fit, and the limits of each.
Measuring curvature outside the sampled subspace: what measured Hessian actions determine and what they leave free.
Selecting an additional negative-curvature probe: the Schur complement used to choose the next probe in the dimer index search.
Measurements¶
Far-field list measurements: the recorded comparison of the radial far-field list with the direct distance loop.