NLA-lib Explorer

NLAlib.SpectralBisection.stmtPeak_downNode_zero_le

Library · theorem

The one-dimensional leaf branch allocates nothing; every other active slot shares the root-size node scratch reservation. Guarded trip counts do not accumulate stored scratch.

NLAlib.SpectralBisection.stmtPeak_downNode_zero_le {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.IndexOp Op] [Ops.Has Ops.MatrixOp Op] [Ops.Has Ops.CmpTst Tst]
  [Ops.Has Ops.IdxTst Tst] (n L cap d lo k : ℕ) (offs : List ℕ) (hn : 2 ≤ n) (hk : k ≤ n) :
  Ops.stmtPeak (fun x x_1 ↦ 0) (SpectralBisection.downNode SpectralBisection.node)
      ([n, L, cap, d, lo, k] ++ offs) ≤
    18 * (n * n) + 9

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.LevelWorkspace.