Theorem (Schur.denseSchur_measureReal_not_spectrum_le). The dense Schur solver lists the eigenvalues of a nearby matrix. On the machine and streams of NLAlib.Schur.denseSchur_measureReal_not_schur_le (the standard model at \boldsymbol{u} \le \boldsymbol{u}_0, index literals, exact natural literals up to n + 1, exact toNat and comparisons, a measurable interpretation reading the tape only in its windows whose draws store the tape entry, a stream s_U uniform on [0, 1] with an exact polar disk sampler on it and a stream s_G with the standard real Gaussian law), for 0 < \delta \le 1, 0 < \varphi \le 1 and every complex \mathbf{A} of order n + 1, from a memory holding \mathbf{A} and the words of denseSchurParams, under a random tape with the stream laws, \mathbb{P}\bigl[\mathsf{denseSchur}(\mathbf{A}) \text{ fails, or writes outside } \mathbf{A}, \widehat{\mathbf{U}} \text{ and the flag, or stores no flag } 0 \text{ and upper triangular } \widehat{\mathbf{T}} \text{ whose diagonal lists } \operatorname{spec}(\mathbf{A} + \mathbf{E}),\ \|\mathbf{E}\|_2 \le 2\delta\|\mathbf{A}\|_2 \bigr] \le \varphi\,. Here \boldsymbol{u}_0 is NLAlib.Schur.uDenseSchur. [BanksGarzaVargasSrivastava2022, Theorem 1.4] with [BanksGarzaVargasSrivastava2025, Theorem 1.1], relative form; there the eigenvalues are the output.
Headline Standard rounding Random tape
Notes
From the Schur form by NLAlib.Schur.SchurOutput.exists_isEigenvalueListing (\|\mathbf{E}\|_2 \le (\delta + 4 \cdot 58R\boldsymbol{u}(1 + \delta))\|\mathbf{A}\|_2). General form: NLAlib.Schur.denseSchur_measureReal_not_schur_le.
Lean statement and details
NLAlib.Schur.denseSchur_measureReal_not_spectrum_le {O Q : Type} [Ops.Has Ops.ScalarOp O]
[Ops.Has Ops.IndexOp O] [Ops.Has Ops.SampleOp O] [Ops.Has ShiftedQR.DiskSampleOp O]
[Ops.Has Ops.CmpTst Q] [Ops.Has Ops.IdxTst Q] {Mch : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} {u : ℝ}
{n : ℕ} (hS : Ops.IsScalar Mch I) (hM : Ops.StdModel u id Mch) (hL : Ops.IsIndexLit Mch I)
(hNat : Ops.IsExactNatLit id Mch (n + 1)) (hQ : Ops.IsToNat id I) (hC : Ops.IsCmp id I)
(hI : I.IsMeasurable) {win : O → List ℕ → ℕ} (hloc : ∀ (o : O), I.TapeLocal o (win o))
(hSmp : Ops.IsSample I) {law : ℕ → Measure ℝ} {sU sG : ℕ}
(hDisk : ShiftedQR.IsPolarDiskSampler sU I) (hU : law sU = ℙ.restrict (Set.Icc 0 1))
(hG : law sG = gaussianReal 0 1) {A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {δ φ : ℝ} (hδ : 0 < δ)
(hδ1 : δ ≤ 1) (hφ : 0 < φ) (hφ1 : φ ≤ 1) (hu : u ≤ Schur.uDenseSchur n δ φ) {a p uo f : ℕ × ℕ}
{μ : Ops.Mem ℝ} (hin : Schur.SchurPipelineInput (Schur.denseSchurParams n δ φ) a p uo f A μ)
{Ω : Type} [MeasurableSpace Ω] {P : Measure Ω} {ξ : Ω → Ops.Tape ℝ} (hξ : Ops.IsTapeLaw law P ξ) :
P.real
{ω |
¬Ops.Writes Ops.Mode.total I (ξ ω) (Schur.denseSchur sG)
(Ops.Env.frame (Schur.denseSchurDims n δ φ) [a, p, a, uo, f]) (Schur.schurFp n a uo f)
(fun μ' ↦
μ'.store.get f.1 f.2 = some 0 ∧
∃ T E,
HoldsMatrix a T μ'.store ∧
T.IsUpperTriangular ∧
specNorm E ≤ 2 * δ * specNorm A ∧ IsEigenvalueListing (A + E) fun i ↦ T i i)
μ} ≤
φ