NLA-lib Explorer

NLAlib.SpectralBisection.eval_upNode_leaf

Library · theorem

A stored leaf kind performs no reconstruction calls and keeps the complete memory.

NLAlib.SpectralBisection.eval_upNode_leaf {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.MatrixOp Op] [Ops.Has Ops.IdxTst Tst] {dec : K → ℝ} {I : Ops.Interp Op Tst K}
  (hQ : Ops.IsToNat dec I) {τ : Ops.Tape K} {m : Ops.Mem K} {n d lo k : ℕ}
  {ua qa ea kd kp t : ℕ × ℕ} {w : K} (hkind : m.store.get kd.1 (kd.2 + n * d + lo) = some w)
  (hdec : dec w = 1) :
  Ops.eval I τ SpectralBisection.upNode (Ops.Env.frame [n, d, lo, k] [ua, qa, ea, kd, kp, t]) m =
    some m

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.UpDispatch.