NLAlib.Ops.Routine.separatedBlocks_of_contiguous
Library · theorem
For a routine whose operands are contiguous, separation by block is that of the blocks.
NLAlib.Ops.Routine.separatedBlocks_of_contiguous {Op Tst : Type} {R : Ops.Routine Op Tst}
(h : R.contiguous = true) (d : List ℕ) (args : List (ℕ × ℕ)) :
R.SeparatedBlocks d args ↔
Ops.Fp.Apart (R.writeArgs args) (R.writeLens d) ∧
(Ops.Fp.blocks (R.writeArgs args) (R.writeLens d)).Disj
(Ops.Fp.blocks (R.roArgs args) (R.roLens d)) ∧
Ops.Fp.Apart (R.sel Ops.Access.isIsolated args) (R.sel Ops.Access.isIsolated (R.lens d)) ∧
(Ops.Fp.blocks (R.sel Ops.Access.isIsolated args)
(R.sel Ops.Access.isIsolated (R.lens d))).Disj
(Ops.Fp.blocks (R.sel (fun c ↦ !c.isIsolated) args)
(R.sel (fun c ↦ !c.isIsolated) (R.lens d)))Import NLAlib.Ops.RoutineInterface.