NLA-lib Explorer

NLAlib.SpectralBisection.certifies_manifest

Library · theorem

The fixed spectral-bisection program satisfies its actual word output specification and all transparent manifest bounds under the generated dense functional model.

NLAlib.SpectralBisection.certifies_manifest {K : Type} [Inhabited K] (M : Ops.Machine K)
  (dec : K → ℝ) (mm : MatMulMap (K × K)) (qr : QRMap (K × K)) (domain : (Fin 3 → ℕ) → Prop)
  (admitted : ∃ d, domain d) (matrixWork matrixWorkspace : Ops.MatrixOp → List ℕ → ℕ)
  (hLit : ∀ (d : Fin 3 → ℕ), domain d → Ops.IsExactNatLit dec M (max (d 0) 4)) :
  SpectralBisection.bisectionProgram.Certifies
    (Ops.Dense.functionalModel (SpectralBisection.problem domain admitted) M dec
      (Ops.EntryCodec.pair K) (fun {l m n} ↦ mm) (fun {m n} ↦ qr)
      (Ops.Dense.resources matrixWork matrixWorkspace))
    (SpectralBisection.manifestSpecification M dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) domain
      admitted matrixWork matrixWorkspace)

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.Certification.