NLA-lib Explorer

NLAlib.Ops.ExactScalarLinear.laws

Library Β· theorem

Scalar field arithmetic, conjugation, explicit-data matvec, draws, dimension literals and comparisons hold jointly for every interpretation of the generated model.

NLAlib.Ops.ExactScalarLinear.laws {π•œ : Type} [RCLike π•œ] [Inhabited π•œ] {r b : β„•}
  {P : Ops.Problem π•œ r b} {dataLength : β„• β†’ β„• β†’ β„•}
  {matrix : (m n : β„•) β†’ List π•œ β†’ Matrix (Fin m) (Fin n) π•œ}
  {work workspace : Ops.ExactScalarLinear.Operation β†’ List β„• β†’ β„•} {d : Fin r β†’ β„•} {x : P.Input d}
  {I : Ops.Interp Ops.ExactScalarLinear.Operation Ops.CmpTst π•œ}
  (h : (Ops.ExactScalarLinear.model P dataLength matrix work workspace).contracts d x I) :
  Ops.IsScalar Ops.RCLikeBlas.machine I ∧
    Ops.RCLikeStar.IsExact I ∧
      Ops.StoredOperator.IsExact dataLength matrix I ∧
        Ops.IsSample I ∧ Ops.IsIndexLit Ops.RCLikeBlas.machine I ∧ Ops.IsCmp (⇑RCLike.re) I

Full source on GitHub

Import NLAlib.Ops.Profiles.ExactScalarLinear.