NLA-lib Explorer

NLAlib.SpectralBisection.storesLevelResults_of_slot_assemblies

Library · theorem

Slot assembly results establish the recursive mathematical output for every reached node. Zero-dimensional nodes require no stored cells, so the empty root is included.

NLAlib.SpectralBisection.storesLevelResults_of_slot_assemblies {K : Type} (F : FloatMachine K ℕ ℕ)
  (n fuel budget d : ℕ) (R0 eps beta : K) (ell : ℕ) (A : Matrix (Fin n) (Fin n) (K × K))
  (ua ea : ℕ × ℕ) (s : Ops.Store K)
  (hSlots :
    ∀ lo < n,
      let x :=
        SpectralBisection.nodeAtSlot F n fuel R0 beta
          { k := n, A := A, R := R0, ε := eps, ℓ := ell } d lo;
      let step := eighStep F n fuel R0 beta x.A x.R x.ε x.ℓ (eighTapeSample n d lo);
      SpectralBisection.StoresResult n d lo ua ea
        (EighStep.assemble F step
          (SpectralBisection.eighNodeChildren F n fuel R0 beta budget d lo x))
        s) :
  SpectralBisection.StoresLevelResults F n fuel R0 beta
    { k := n, A := A, R := R0, ε := eps, ℓ := ell } (budget + 1) d ua ea s

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.UpReference.