NLA-lib Explorer

NLAlib.Ops.Fp.Apart.of_disj_getD

Library · theorem

A standard apart-block collection can be constructed from its indexed pairwise spatial facts. Combined with indexed projection, this supports reshaping buffer collections and refining arena blocks into scalar or matrix subviews without bespoke list inductions.

NLAlib.Ops.Fp.Apart.of_disj_getD {zs : List (ℕ × ℕ)} {ls : List ℕ}
  (h :
    ∀ i < min zs.length ls.length,
      ∀ j < min zs.length ls.length,
        i ≠ j →
          Ops.Fp.Disj (Ops.Store.inBlock (zs.getD i (0, 0)).1 (zs.getD i (0, 0)).2 (ls.getD i 0))
            (Ops.Store.inBlock (zs.getD j (0, 0)).1 (zs.getD j (0, 0)).2 (ls.getD j 0))) :
  Ops.Fp.Apart zs ls

Full source on GitHub

Import NLAlib.Ops.Logic.Footprint.