NLA-lib Explorer

NLAlib.SpectralBisection.bisectionRoutine_meets

Library · theorem

Spectral bisection meets its specification for every interpretation satisfying the local primitive contracts.

NLAlib.SpectralBisection.bisectionRoutine_meets {K Op Tst : Type} [Inhabited K]
  [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.IndexOp Op] [Ops.Has Ops.SampleOp Op]
  [Ops.Has Ops.MatrixOp Op] [Ops.Has Ops.CmpTst Tst] [Ops.Has Ops.IdxTst Tst] (M : Ops.Machine K)
  (dec : K → ℝ) (mm : MatMulMap (K × K)) (qr : QRMap (K × K)) (R0 eps beta : K) {n : ℕ}
  (A : Matrix (Fin n) (Fin n) (K × K)) {I : Ops.Interp Op Tst K} (hS : Ops.IsScalar M I)
  (hL : Ops.IsIndexLit M I) (hC : Ops.IsCmp dec I)
  (hMM : Ops.IsMatrixMul (Ops.EntryCodec.pair K) (fun {l m n} ↦ mm) I)
  (hQR : Ops.IsMatrixQR (Ops.EntryCodec.pair K) (fun {m n} ↦ qr) I) (hQ : Ops.IsToNat dec I)
  (hSample : Ops.IsSample I) :
  SpectralBisection.bisectionRoutine.Meets I
    (SpectralBisection.bisectionSpec M dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) R0 eps beta A)

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.Solve.