NLA-lib Explorer

NLAlib.Ops.Routine.separatedBlocks_of_noIsolated

Library · theorem

Operands of a routine without isolated operands are separated by block when the written blocks are pairwise disjoint and disjoint from the blocks that are only read.

NLAlib.Ops.Routine.separatedBlocks_of_noIsolated {Op Tst : Type} {R : Ops.Routine Op Tst}
  {d : List ℕ} {args : List (ℕ × ℕ)} (hiso : ∀ q ∈ R.ports, q.access.isIsolated = false)
  (hw : Ops.Fp.Apart (R.writeArgs args) (R.writeLens d))
  (hro :
    (Ops.Fp.blocks (R.writeArgs args) (R.writeLens d)).Disj
      (Ops.Fp.blocks (R.roArgs args) (R.roLens d)))
  (hcontig : R.contiguous = true := by rfl) : R.SeparatedBlocks d args

Full source on GitHub

Import NLAlib.Ops.RoutineInterface.