NLA-lib Explorer

NLAlib.SmallEig.smallEigProg_randomSchurLeafContract

Library · theorem

Standard rounding

The small-eigenvalue program is a small-block Schur solver ([BanksGarzaVargasSrivastava2025, Theorem 1.1 and Corollary 1.3], with the Schur form): on the machine and streams of NLAlib.SmallEig.smallEigProg_pwrites_schur, with exact natural literals up to d_{\max} \le k_{\max}, 0 < \beta \le \Sigma, 0 < \varphi \le 1 and \boldsymbol{u} \le \boldsymbol{u}^{\mathrm{fwd}}_{\mathrm{SmallEig}} (NLAlib.SmallEig.uSmallEigForward), the program with the forward words NLAlib.SmallEig.smallEigForwardParams and cap meets NLAlib.Schur.RandomSchurLeafContract on the orders at most d_{\max} and norms at most \Sigma: the backward error is the backward accuracy \delta_\mathbf{b} = NLAlib.SmallEig.forwardBackwardError of \beta, the failure \varphi and the accumulator error (1 + 24\boldsymbol{u})^R - 1, R = NLAlib.SmallEig.smallEigLeafRotations at k_{\max} and the cap. Orders d \le 1 are kept with the identity accumulator.

NLAlib.SmallEig.smallEigProg_randomSchurLeafContract {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 : ℝ}
  (hS : Ops.IsScalar Mch I) (hM : Ops.StdModel u id Mch) (hL : Ops.IsIndexLit Mch I) {dmax kmax : ℕ}
  (hdk : dmax ≤ kmax) (hNat : Ops.IsExactNatLit id Mch dmax) (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) {c₁ c₂ : PolyLogTail} (hA : c₁.BoundsGinibreGap)
  (hB : c₂.BoundsGinibreCondition) (hb₁ : 0 < c₁.b) (hb₂ : 0 < c₂.b) {S β φ : ℝ} (hβ : 0 < β)
  (hβS : β ≤ S) (hφ : 0 < φ) (hφ1 : φ ≤ 1) (hu : u ≤ SmallEig.uSmallEigForward kmax S β φ c₁ c₂) :
  Schur.RandomSchurLeafContract law
    ((1 + 24 * u) ^
        SmallEig.smallEigLeafRotations kmax (SmallEig.smallEigForwardCap kmax S β φ c₁ c₂) -
      1)
    (SmallEig.forwardBackwardError kmax S β) φ dmax S
    (SmallEig.smallEigForwardParams kmax S β φ c₁ c₂) (SmallEig.smallEigForwardCap kmax S β φ c₁ c₂)
    (SmallEig.smallEigProg sG) I

Full source on GitHub

Import NLAlib.Eigensolvers.SmallEig.Theorems.