NLA-lib Explorer

NLAlib.Ops.Fp.blocks_le_of_forall_getD

Library · theorem

A finite block collection lies inside a footprint when every indexed block does.

NLAlib.Ops.Fp.blocks_le_of_forall_getD {zs : List (ℕ × ℕ)} {ls : List ℕ} {F : Ops.Fp}
  (h :
    ∀ i < min zs.length ls.length,
      Ops.Store.inBlock (zs.getD i (0, 0)).1 (zs.getD i (0, 0)).2 (ls.getD i 0) ≤ F) :
  Ops.Fp.blocks zs ls ≤ F

Full source on GitHub

Import NLAlib.Ops.Logic.BlockPartition.