NLAlib.ShiftedQR.roundedDecoupleWith_randomDecouplingRoutineContract_of_le_uShQR_at
Library · theorem
This statement changed in the recorded rename: 2026-11-schur.
Standard rounding
The rounded decoupling loop with a small-eigenvalue routine satisfies the randomized decoupling contract at the headline's parameters, with the routine's words qs (none, or 12) after the words of NLAlib.ShiftedQR.roundedDecoupleParams and the routine meeting NLAlib.ShiftedQR.RandomSmallEigContractAt on orders at most k and norms at most 4\Sigma (the iterate norm): the merged statement is the case of the kernel. The rounded decoupling loop meets the randomized decoupling contract at the headline's parameters ([BanksGarzaVargasSrivastava2022, Lemma 6.4] in floating point, corrected): on a machine with the standard model at \boldsymbol{u} \le \boldsymbol{u}_{\mathrm{ShQR}}, e\mathbf{x}act natural literals up to n + 1, a measurable interpretation reading the tape only in its windows, a SmallEig kernel on a stream uniform on [0, 1] with forward error 0 \le \beta \le shqrSmallEigAccuracy and failure \varphi_{\mathrm{se}} \ge 0, and an exact polar disk sampler on it, for B \ge 1, \Gamma > 0, 0 < \delta \le \Sigma, 0 < \varphi \le 1 and k the degree of (eqn:setk) at 4B, the loop NLAlib.ShiftedQR.roundedDecoupleWith with the words of NLAlib.ShiftedQR.roundedDecoupleParams at the parameter choices of NLAlib.Eigensolvers.ShiftedQR.RoundedParameters meets NLAlib.ShiftedQR.RandomDecouplingRoutineContract on the class (condition 2B, separation \Gamma/2) for orders up to n_c + 1, any n_c \le n with a log width w \ge kn_c, and norms up to 2\Sigma, with the cap F, failure probability F(\varphi_{\mathrm{se}} + \varphi_R/2 + \varphi_1) (\varphi_1 = \varphi/(12F(n + 1)), \varphi_R = 2\varphi_1), the le\mathbf{v}el \omega_D and the backward error F(1 + C) \cdot 4\Sigma((1 + 300(n + 1)^2\boldsymbol{u})^k - 1). No printed source.
NLAlib.ShiftedQR.roundedDecoupleWith_randomDecouplingRoutineContract_of_le_uShQR_at {O Q : Type}
[Ops.Has Ops.ScalarOp O] [Ops.Has Ops.IndexOp O] [Ops.Has ShiftedQR.DiskSampleOp O]
[Ops.Has Ops.CmpTst Q] [Ops.Has Ops.IdxTst Q] {M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} {u : ℝ}
(hI : I.IsMeasurable) {win : O → List ℕ → ℕ} (hloc : ∀ (o : O), I.TapeLocal o (win o))
(hS : Ops.IsScalar M I) (hM : Ops.StdModel u id M) (hL : Ops.IsIndexLit M I) {n : ℕ}
(hNat : Ops.IsExactNatLit id M (n + 1)) (hC : Ops.IsCmp id I) (hQ : Ops.IsToNat id I)
{law : ℕ → Measure ℝ} {s₀ : ℕ} {β φse : ℝ} (hDisk : ShiftedQR.IsPolarDiskSampler s₀ I)
(hU : law s₀ = ℙ.restrict (Set.Icc 0 1)) {k : ℕ} {B Γ S δ φ : ℝ} (hB : 1 ≤ B) (hΓ : 0 < Γ)
(hδ : 0 < δ) (hδS : δ ≤ S) (hφ : 0 < φ) (hφ1 : φ ≤ 1) (hk : k = ShiftedQR.shqrDegree (4 * B))
(hβ0 : 0 ≤ β) (hβ : β ≤ ShiftedQR.shqrSmallEigAccuracy n B Γ S δ) (hφse : 0 ≤ φse)
(hu : u ≤ ShiftedQR.uShQR n k B Γ S δ φ) {T : ℕ} {qs : List ℝ} {SE : Ops.Stmt O Q}
(hSE : ShiftedQR.RandomSmallEigContractAt law β φse k 12 T (4 * S) qs SE I)
(hq12 : qs = [] ∨ qs.length = 12) {ps : List ℝ}
(hps :
ps =
ShiftedQR.roundedDecoupleParams (ShiftedQR.shqrLoopThreshold n k B Γ S δ φ)
(ShiftedQR.shqrRadius n B Γ S δ) (ShiftedQR.shqrScanThreshold n k B Γ S δ φ) 0.2 (4 * B)
(ShiftedQR.shqrAlpha k (4 * B)) (ShiftedQR.shqrEps k (4 * B)) k (Nat.log 2 k) ++
qs)
{ns ws : ℕ} (hns : ShiftedQR.shqrCap n B Γ S δ * (k + 1 + ps.length) ≤ ns) {nc : ℕ} (hnc : nc ≤ n)
(hws : k * nc ≤ ws) :
ShiftedQR.RandomDecouplingRoutineContract law (2 * B) (Γ / 2)
(↑(ShiftedQR.shqrCap n B Γ S δ) *
(φse + ShiftedQR.shqrRegularizeFailure n B Γ S δ φ / 2 +
ShiftedQR.shqrSmallEigFailure n B Γ S δ φ))
k (ShiftedQR.shqrCap n B Γ S δ) T nc (2 * S) ps ns ws (ShiftedQR.shqrDecoupled n k B Γ S δ φ)
(fun x ↦
↑(ShiftedQR.shqrCap n B Γ S δ) *
((1 + ShiftedQR.shqrC k (4 * B)) * (4 * S) * ((1 + 300 * (↑n + 1) ^ 2 * u) ^ k - 1)))
(ShiftedQR.roundedDecoupleWith SE) IImport NLAlib.Eigensolvers.ShiftedQR.RoundedDecoupleSpec.