Theorem (Schur.verifiedSchur_algorithm_measureReal_not_accepts_le). The verified dense Schur solver, on one run. Let the machine Mch have the standard model at \boldsymbol{u}; let the tape \xi have the stream laws law, with law s_U uniform on [0, 1] and law s_G the standard real Gaussian law. Let d be admitted and the input x hold a complex \mathbf{A} of order n + 1, 0 < \delta \le 1, 0 < \varphi \le 1 with \boldsymbol{u} \le \boldsymbol{u}_0. Let I meet the model, be measurable and read the tape only in its windows. Then \mathbb{P}\bigl[\mathsf{verifiedSchurAlgorithm}(\mathbf{A}) \text{ fails, exceeds its budget, scratch, memory, work or span, writes outside } \mathbf{A}, \widehat{\mathbf{U}} \text{ and the flag, or stores no flag } 0 \text{ with a Schur output of } \mathbf{A}\bigr] \le \varphi\,, on one counted run. On every tape a flag 0 certifies the Schur form (the specification's good). Here \boldsymbol{u}_0 is NLAlib.Schur.uVerifiedSchur. [BanksGarzaVargasSrivastava2022, Theorem 1.4] with [BanksGarzaVargasSrivastava2025, Theorem 1.1] for the solver; the a posteriori check has no printed source.
Headline Standard rounding Random tape
Lean statement and details
NLAlib.Schur.verifiedSchur_algorithm_measureReal_not_accepts_le {Mch : Ops.Machine ℝ} {u : ℝ}
(hM : Ops.StdModel u id Mch) {admitted : ∃ d, Schur.VerifiedSchurSizes Mch u d}
{law : ℕ → Measure ℝ} {sU sG : ℕ} (hU : law sU = ℙ.restrict (Set.Icc 0 1))
(hG : law sG = gaussianReal 0 1) {d : Fin 6 → ℕ} (hd : Schur.VerifiedSchurSizes Mch u d)
(x : (Schur.verifiedSchurProblem Mch u admitted).Input d)
{I : Ops.Interp SmallEig.SmallEigOp ShiftedQR.Tst ℝ}
(hI : (SmallEig.smallEigModel (Schur.verifiedSchurProblem Mch u admitted) Mch sU).contracts d x I)
(hIm : I.IsMeasurable) {win : SmallEig.SmallEigOp → List ℕ → ℕ}
(hloc : ∀ (o : SmallEig.SmallEigOp), I.TapeLocal o (win o)) {Ω : Type} [MeasurableSpace Ω]
{P : Measure Ω} {ξ : Ω → Ops.Tape ℝ} (hξ : Ops.IsTapeLaw law P ξ) :
P.real
{ω |
¬(Schur.verifiedSchurSpecification Mch u admitted sG).Accepts
(Schur.verifiedSchurAlgorithm Mch hM admitted sU sG).program I
SmallEig.smallEigResources (ξ ω) d x fun x_1 m ↦
Ops.Store.EqOff (Schur.schurFp (d 0) (0, 0) (2, 0) (3, 0))
((Schur.verifiedSchurProblem Mch u admitted).initial d x).store m.store ∧
Schur.SchurOutput (0, 0) (2, 0) (3, 0) (↑x).1.matrix (↑x).1.δ
(58 *
↑(Schur.denseSchurRotations (d 0) (Schur.verifiedSchurDelta (d 0) (↑x).1.δ)
(↑x).1.φ) *
u)
m} ≤
(↑x).1.φ