NLAlib.SpectralBisection.countedBisectionClaim
Library · def
The randomized claim of the counted spectral bisection certificate ([Shah2024, Theorem 4.2], for the rounded reference computation). The tape is the rounding to machine words, by roundUnif and roundGaussian, of a tape with independent entries whose stream of each distribution has that distribution's law (uniform and standard Gaussian). For a Hermitian input within its stated radius, a tolerance, a parameter \beta and a failure probability \theta satisfying the stated size, precision, underflow and range conditions, the counted run stores a matrix and a real vector that diagonalize the input to within 2 \varepsilon R, with the matrix within \varepsilon / 3 of unitary, except with probability at most \theta.
NLAlib.SpectralBisection.countedBisectionClaim {K : Type} [Inhabited K] [MeasurableSpace K]
[MeasurableSingletonClass K] {domain : (Fin 3 → ℕ) → Prop} {admitted : ∃ d, domain d}
(M : Ops.Machine K) (dec : K → ℝ) (mm : MatMulMap (K × K)) (qr : QRMap (K × K))
(matrixWork matrixWorkspace : Ops.MatrixOp → List ℕ → ℕ) (T : ℕ → ℕ)
(hLit : ∀ (d : Fin 3 → ℕ), domain d → Ops.IsExactNatLit dec M (max (d 0) 4))
(hN : ∀ (d : Fin 3 → ℕ), domain d → 2 ≤ d 0) (hT : Monotone T)
(hadd : ∀ (i j : ℕ), T i + T j ≤ T (i + j))
(hMatrix : ∀ (o : Ops.MatrixOp) (ds : List ℕ), matrixWork o ds ≤ T (List.foldr max 0 ds))
(roundUnif roundGaussian : ℝ → K) {u floor bound cN : ℝ} {muM muQ : ℕ → ℝ}
(hAcc :
(M.toFloatMachine dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) (M.uniformSample roundUnif)
(M.normalSample roundGaussian)).IsAccurate
dec u floor bound muM muQ cN)
(hUnif : Measurable roundUnif) (hGaussian : Measurable roundGaussian)
(hUnifRange : (Set.range roundUnif).Countable)
(hGaussianRange : (Set.range roundGaussian).Countable) (hMuM : Monotone muM) (hMuQ : Monotone muQ)
(hMuM0 : 0 ≤ muM 0) (hMuQ0 : 0 ≤ muQ 0) (hCN : 0 ≤ cN) (hFloorNonneg : 0 ≤ floor) {theta : ℝ}
(hTheta : 0 < theta) (hThetaMax : theta ≤ 1) :
Ops.RandomizedClaim
(SpectralBisection.countedBisectionAlgorithm M dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) domain
admitted matrixWork matrixWorkspace T hLit hN hT hadd hMatrix)Import NLAlib.Eigensolvers.SpectralBisection.RunTheorem.