NLAlib.Ops.ExactLinearScalar.laws
Library Β· theorem
The scalar implementation preserves every other declared group and supplies all vector contracts through actual scalar executions. Matrix representation remains a local choice.
NLAlib.Ops.ExactLinearScalar.laws {π : Type} [RCLike π]
{I : Ops.Interp Ops.ExactScalarLinear.Operation Ops.CmpTst π} {dataLength : β β β β β}
{matrix : (m n : β) β List π β Matrix (Fin m) (Fin n) π}
(hS : Ops.IsScalar Ops.RCLikeBlas.machine I) (hStar : Ops.RCLikeStar.IsExact I)
(hA : Ops.StoredOperator.IsExact dataLength matrix I) (hDraw : Ops.IsSample I)
(hIndex : Ops.IsIndexLit Ops.RCLikeBlas.machine I) (hCmp : Ops.IsCmp (βRCLike.re) I) :
Ops.IsScalar Ops.RCLikeBlas.machine (I.link Ops.ExactLinearScalar.table) β§
Ops.RCLikeBlas.IsExact (I.link Ops.ExactLinearScalar.table) β§
Ops.StoredOperator.IsExact dataLength matrix (I.link Ops.ExactLinearScalar.table) β§
Ops.IsSample (I.link Ops.ExactLinearScalar.table) β§
Ops.IsIndexLit Ops.RCLikeBlas.machine (I.link Ops.ExactLinearScalar.table) β§
Ops.IsCmp (βRCLike.re) (I.link Ops.ExactLinearScalar.table)Import NLAlib.Ops.Profiles.ExactLinearScalar.