NLA-lib Explorer

NLAlib.Ops.Fp.blocks_subviews_le

Library · theorem

A finite family of bounded subviews writes only cells of its parent block collection. Parent indices may repeat and the views need not be disjoint.

NLAlib.Ops.Fp.blocks_subviews_le {zs : List (ℕ × ℕ)} {ls : List ℕ} {q : ℕ}
  (parent : Fin q → Fin (min zs.length ls.length)) (offset len : Fin q → ℕ)
  (hsub : ∀ (i : Fin q), offset i + len i ≤ ls.getD (↑(parent i)) 0) :
  Ops.Fp.blocks
      (List.ofFn fun i ↦
        ((zs.getD ↑(parent i) (0, 0)).1, (zs.getD ↑(parent i) (0, 0)).2 + offset i))
      (List.ofFn len) ≤
    Ops.Fp.blocks zs ls

Full source on GitHub

Import NLAlib.Ops.Logic.BlockPartition.