NLA-lib Explorer

NLAlib.SpectralBisection.stmtPeak_downwardPass_zero_le

Library · theorem

Every downward level reuses the same five scalar cells and node buffers. The level loop does not multiply the stored workspace by the recursion depth.

NLAlib.SpectralBisection.stmtPeak_downwardPass_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] [Ops.Has Ops.SampleOp Op] (n L cap : ℕ) (offs : List ℕ)
  (hlen : offs.length = 12) (hn : 2 ≤ n) :
  Ops.stmtPeak (fun x x_1 ↦ 0) (SpectralBisection.downwardPass SpectralBisection.node)
      ([n, L, cap] ++ offs) ≤
    18 * (n * n) + 14

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.SolverWorkspace.