NLA-lib Explorer

NLAlib.Ops.Fp.apart_allocs

Library · theorem

The operand tuple of an allocation chain is apart, independently of buffer capacities. Every scratch handle occurs exactly once.

NLAlib.Ops.Fp.apart_allocs (L : ℕ) (ns : List ℕ) :
  Ops.Fp.Apart (List.map (fun i ↦ (L + i, 0)) (List.range ns.length)) ns

Full source on GitHub

Import NLAlib.Ops.Logic.Allocation.