NLA-lib Explorer

NLAlib.ShiftedQR.RandomSmallEigContract

Library · def

The forward contract of a randomized small-eigenvalue routine ([BanksGarzaVargasSrivastava2025, Corollary 1.3]) with the stream laws law, the forward error β, the failure probability φ, the order bound kmax, the cap T, the norm bound S and the parameter words qs, all fixed outside the quantifiers: from an upper Hessenberg \mathbf{B} of order d \le k_{\max} with \|\mathbf{B}\|_2 \le \Sigma, stored with the words, except with probability at most \varphi, the run writes only its 2d output words and stores a family \mu with \lvert\mu_i - \lambda_i\rvert \le \beta for a listing \lambda of the eigenvalues of \mathbf{B} with multiplicity. The routine may read any number of streams, adaptively. The interface is [d, nq, T] (Bk, Q) → (Ev).

NLAlib.ShiftedQR.RandomSmallEigContract {O Q : Type} (law : ℕ → Measure ℝ) (β φ : ℝ) (kmax T : ℕ)
  (S : ℝ) (qs : List ℝ) (SE : Ops.Stmt O Q) (I : Ops.Interp O Q ℝ) : Prop

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedKernels.