NLA-lib Explorer

NLAlib.SmallEig.smallEigDecoupler_randomDecouplingRoutineContract

Library · theorem

This statement changed in the recorded rename: 2026-11-schur.

Standard rounding

The decoupler meets the randomized decoupling contract ([BanksGarzaVargasSrivastava2025,

Theorem 6.1], one node; [BanksGarzaVargasSrivastava2025, Lemma 6.2] carried by the composition): on a scalar machine with the standard model at \boldsymbol{u} \le NLAlib.SmallEig.uSmallEig, \mathbf{M}.\mathrm{lit}(0) = 0, index literals, exact natural literals up to n_{\max} + 1, exact comparisons and conversion, a measurable interpretation reading the tape only in its windows whose draws store the tape entry, a stream sG with the standard real Gaussian law and an exact polar sampler on a stream sU uniform on [0, 1]: for tail records with \mathbf{b}_1, \mathbf{b}_2 > 0, 1 \le n_{\max}, 0 < \delta \le \Sigma and 0 < \varphi \le 1, NLAlib.SmallEig.smallEigDecoupler with the words NLAlib.SmallEig.smallEigParams and the cap NLAlib.SmallEig.smallEigCap meets NLAlib.ShiftedQR.RandomDecouplingRoutineContract at the bottom width 1, any iteration cap, orders up to n_{\max} and norms up to 2\Sigma, on the class (2B_c, g_c/2) of the blocks (B_c, g_c = NLAlib.SmallEig.smallEigCondition, NLAlib.SmallEig.smallEigSeparation), with failure probability \varphi_D = NLAlib.SmallEig.smallEigDecouplerFailure, the level 1.5\,\omega and the backward error NLAlib.SmallEig.smallEigDecoupleError.

NLAlib.SmallEig.smallEigDecoupler_randomDecouplingRoutineContract {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]
  {M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} {u : ℝ} (hS : Ops.IsScalar M I)
  (hM : Ops.StdModel u id M) (hzero : M.lit 0 = 0) (hL : Ops.IsIndexLit M I) {nmax : ℕ}
  (hNat : Ops.IsExactNatLit id M (nmax + 1)) (hC : Ops.IsCmp id I) (hQ : Ops.IsToNat 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) {c₁ c₂ : PolyLogTail} (hb₁ : 0 < c₁.b) (hb₂ : 0 < c₂.b)
  (hn : 1 ≤ nmax) {S δ φ : ℝ} (hδ : 0 < δ) (hδS : δ ≤ S) (hφ : 0 < φ) (hφ1 : φ ≤ 1)
  (hu : u ≤ SmallEig.uSmallEig nmax S δ φ c₁ c₂) (F : ℕ) {ns ws : ℕ}
  (hns : nmax + SmallEig.smallEigCap nmax S δ φ c₁ c₂ ≤ ns) (hws : nmax ≤ ws) :
  ShiftedQR.RandomDecouplingRoutineContract law (2 * SmallEig.smallEigCondition nmax S δ φ c₂)
    (SmallEig.smallEigSeparation nmax S δ φ c₁ / 2) (SmallEig.smallEigDecouplerFailure nmax φ) 1 F
    (SmallEig.smallEigCap nmax S δ φ c₁ c₂) nmax (2 * S) (SmallEig.smallEigParams nmax S δ φ c₁ c₂)
    ns ws (1.5 * SmallEig.smallEigOmega nmax S δ φ c₁ c₂)
    (SmallEig.smallEigDecoupleError nmax S δ φ c₂ u) (SmallEig.smallEigDecoupler sG) I

Full source on GitHub

Import NLAlib.Eigensolvers.SmallEig.Decoupler.