NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.exists_scalarMatvecCmp

Library · theorem

Arbitrary real scalar arithmetic, exact matvec and decoded comparisons coexist on one interpretation. Their contracts retain the same machine and matrix.

NLAlib.Krylov.CG.HSCG.Carried.exists_scalarMatvecCmp {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.OperatorOp Op] [Ops.Has Ops.CmpTst Tst] [Ops.Apart Ops.ScalarOp Ops.OperatorOp Op]
  {m n : ℕ} (M : Ops.Machine ℝ) (A : Matrix (Fin m) (Fin n) ℝ) :
  ∃ I, Ops.IsScalar M I ∧ Ops.IsExactMatvec id A I ∧ Ops.IsCmp id I

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Carried.Linked.