NLA-lib Explorer

NLAlib.Ops.StoredOperator.matvecRoutine_disj

Library · theorem

Separated operands of a matrix-vector routine: the output block is disjoint from the data and from the vector.

NLAlib.Ops.StoredOperator.matvecRoutine_disj {Op Tst : Type} {dataLength : ℕ → ℕ → ℕ}
  {body : Ops.Stmt Op Tst} {m n : ℕ} {data x y : ℕ × ℕ}
  (h : (Ops.StoredOperator.matvecRoutine dataLength body).SeparatedAt [m, n] [data, x, y]) :
  Ops.Fp.Disj (Ops.Store.inBlock y.1 y.2 m) (Ops.Store.inBlock data.1 data.2 (dataLength m n)) ∧
    Ops.Fp.Disj (Ops.Store.inBlock y.1 y.2 m) (Ops.Store.inBlock x.1 x.2 n)

Full source on GitHub

Import NLAlib.Ops.Profiles.StoredRoutine.