NLA-lib Explorer

NLAlib.Deflation.deflateAlgorithm

Library · def

Uniform model Work: program manifest

Primitive functional contracts and the requested-rank bound imply total canonical deflation with the exact sample-dependent stored result and every resource bound. Numerical accuracy and a tape distribution are separate mathematical assumptions about that result.

NLAlib.Deflation.deflateAlgorithm {K : Type} [Inhabited K] (M : Ops.Machine K) (dec : K → ℝ)
  (mm : MatMulMap (K × K)) (qr : QRMap (K × K)) (domain : (Fin 2 → ℕ) → Prop)
  (admitted : ∃ d, domain d) (matrixWork matrixWorkspace : Ops.MatrixOp → List ℕ → ℕ)
  (hRank : ∀ (d : Fin 2 → ℕ), domain d → d 1 ≤ d 0) :
  Ops.Algorithm
    (Ops.Dense.functionalModel (Deflation.problem domain admitted) M dec (Ops.EntryCodec.pair K)
      (fun {l m n} ↦ mm) (fun {m n} ↦ qr) (Ops.Dense.resources matrixWork matrixWorkspace))
    (Deflation.wordSpecification (fun {l m n} ↦ mm) (fun {m n} ↦ qr) domain admitted matrixWork
      matrixWorkspace)

Full source on GitHub

Import NLAlib.Eigensolvers.Deflation.Certification.