AIMS Mathematics Math-31332: corrected-model local interval verification
======================================================================

This directory contains freshly regenerated verification records after restoring
electron spin degeneracy. No certificate or frozen assembly from the earlier
spin-omitting implementation is used as evidence here.

Physical multiplicities
-----------------------
Spin multiplicity is g_s = 2. The Si(100) valley multiplicities remain g_v = 2
(Delta2) and g_v = 4 (Delta4). The sheet occupation prefactor is

    g_s g_v m_d k_B T / (2 pi hbar^2).

The shared physics kernel supplies this prefactor to the reference solver,
reduced model, reliability model, and verification assembly. Frozen assemblies
contain spin_degeneracy=2; the corrected verification engine refuses legacy
assemblies without that metadata.

What is verified
----------------
The target is the exact real nonlinear system defined by each supplied binary64
assembly, interpreted as exact constants. It contains 81 silicon potentials and
24 retained full-grid eigenpairs (12 per valley), each with 119 interior
eigenvector components and one eigenvalue: 2961 unknowns in total. The quantum
grid has 121 nodes. Poisson rows, interpolation maps, quantum operators,
normalization, silicon quadrature, occupations, and material constants are
included in this frozen discrete target.

The verifier applies outward-rounded Arb arithmetic to the full bordered
eigenpair blocks and the electrostatic Schur complement. Strict interval-Newton
inclusion verifies a local solution, and interval Sturm checks identify the
retained eigenpairs. The implicit tangent enclosure yields the exact common-gate
bias derivative of the frozen discrete equations, with Fermi level fixed.

The returned binary64 ROM charge (M=12 reliability charge) and capacitance
(M=10 reported tangent output) are compared directly with the reference
enclosures. Classification is:

  certified_accept: both relative errors <= 0.005 and 0.01, respectively;
  certified_fail:   at least one relative error is provably above its budget;
  inconclusive:     neither conclusion follows from the computed intervals.

These are output-specific local certificates. They do not certify the empirical
online controller uniformly, all parameter inputs, continuum accuracy, physical
model accuracy, or deployment risk. Full-model initial guesses aid computation
but do not constitute proof evidence. This procedure is full-model-assisted and
is excluded from the online latency benchmark.

Pilot points and verified results
--------------------------------
The three profile points have tSi=4 nm, tox=0.9 nm, EF=0.11 eV and gate biases
0.15, 0.35, and 0.80 V. A fourth point reuses the historically targeted physical
tuple:
  (7.580246014520526 nm, 0.7486026995815337 V,
   1.0051022045314313 nm, 0.096555833145976 eV).
It is called historical_target here; its earlier error values are not retained.
Each point is evaluated at ranks Kp=1,2,3,4 with one and two stages.

Point                  Within both   Violation   Inconclusive
low_bias                   8             0            0
transition                 2             6            0
high_bias                  6             2            0
historical_target          5             3            0
TOTAL                     21            11            0

Both 128-bit/radius 1e-9 and 192-bit/radius 1e-10 proofs give these classifications.
The field transition denotes the fixed intermediate-bias profile; it does not
define a physical threshold voltage. The final counts must be read from
results/pilots_classifications.csv, which contains both precision runs.

Independent numerical checks
----------------------------
results/validation.json records:
  - kernel versus interval-system charge relative difference <= 5.92e-12;
  - Richardson versus analytic-derivative relative difference <= 1.94e-10;
  - block-Jacobian random-direction inverse check <= 5.45e-10;
  - overlapping reference output intervals and identical classifications at the
    two precisions;
  - refusal of an insufficient 1e-30 box and a singular interval matrix;
  - correct inconclusive classification of a tolerance-straddling interval.
These numerical comparisons support implementation consistency. They do not
replace the interval proofs or prove equivalence to a continuum model.

Files and reproduction
----------------------
run_corrected_certificates.py is the authoritative entry point. It imports the
corrected verifier from ../certification/work/certification/verified_sp.py and
the corrected, retrained offline assets in ../certification/work/.

Requirements: Python 3.12, NumPy 2.3.5, SciPy 1.17.0, pandas 2.2.3, python-flint 0.9.0.
Install these in an isolated environment if necessary. From the package root:

  OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 python corrected_certification/run_corrected_certificates.py pilots
  OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 python corrected_certification/run_corrected_certificates.py validate

The pilot initial reference guesses use the frozen kernel's documented damping
schedule 0.10,0.05,0.025, restarting from gate potential at each attempt, with
requested residual tolerance 2e-13 V and up to 4000 iterations per attempt.
The interval proof is independent of convergence claims for these guesses.

To verify newly selected near-threshold rows or primary-controller false accepts:

  OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 python corrected_certification/run_corrected_certificates.py near PATH_TO_CANDIDATE_CSV
  OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 python corrected_certification/run_corrected_certificates.py false_acceptances PATH_TO_FALSE_ACCEPTANCE_CSV

These commands regenerate assemblies; they do not copy old proof outcomes.
Near-threshold proofs use 128-bit/radius 1e-12 and 192-bit/radius 1e-13 settings.
The input CSV must contain tsi_nm,Vg_V,tox_nm,Ef_eV and, when relevant,
Kcoarse,stage. Their full records and summaries are created below results/.

Every proof JSON records source and assembly hashes, the reference enclosures,
all 2961 correction bounds, spectral-index checks, and the ROM classifications.
Fields named empirical_zero_accept and empirical_historical_accept refer to
the specified inherited-constant comparators evaluated on the corrected model;
they are not the newly selected primary controller. Primary-controller decisions
come from ../corrected_campaign/results/ and can be matched by physical tuple,
rank, and stage.
