NLA-lib Explorer

NLAlib.Ops.Fp.Apart.disj_select

Library · theorem

Two selections from an apart operand collection are spatially disjoint whenever their source indices are distinct across the selections. Each selection can reorder or repeat its own members; the bound premises ensure that no list default becomes an operand.

NLAlib.Ops.Fp.Apart.disj_select {zs : List (ℕ × ℕ)} {ls : List ℕ} (h : Ops.Fp.Apart zs ls)
  (left right : List ℕ) (hleft : ∀ i ∈ left, i < min zs.length ls.length)
  (hright : ∀ j ∈ right, j < min zs.length ls.length) (hcross : left.Disjoint right) :
  (Ops.Fp.blocks (List.map (fun i ↦ zs.getD i (0, 0)) left)
        (List.map (fun i ↦ ls.getD i 0) left)).Disj
    (Ops.Fp.blocks (List.map (fun i ↦ zs.getD i (0, 0)) right)
      (List.map (fun i ↦ ls.getD i 0) right))

Full source on GitHub

Import NLAlib.Ops.Logic.Footprint.