NLA-lib Explorer

NLAlib.Ops.Dense.functionalModel

Library · def

A canonical functional access model for the standard dense signature. Every operation contract is generated from its declared local block function. A single reference interpretation realizes all operations and queries at every supplied input. Numerical accuracy of these same functions is supplied by separate mathematical hypotheses; no whole-program predicate appears.

NLAlib.Ops.Dense.functionalModel {K E : Type} [Inhabited K] {r b : ℕ} (P : Ops.Problem K r b)
  (M : Ops.Machine K) (dec : K → ℝ) (C : Ops.EntryCodec K E)
  (mm :
    {l m n : ℕ} → Matrix (Fin l) (Fin m) E → Matrix (Fin m) (Fin n) E → Matrix (Fin l) (Fin n) E)
  (qr : {m n : ℕ} → Matrix (Fin m) (Fin n) E → Matrix (Fin m) (Fin m) E × Matrix (Fin m) (Fin n) E)
  (R : Ops.ResourceModel Ops.DenseOp (Ops.CmpTst ⊕ Ops.IdxTst)) :
  Ops.AccessModel Ops.DenseOp (Ops.CmpTst ⊕ Ops.IdxTst) P

Full source on GitHub

Import NLAlib.Ops.Profiles.Dense.