NLAlib.SpectralBisection.storesLevel_succ
Library · theorem
Represented parent outcomes and an exact level frame establish the next input level. Only absent size cells use the initial zeros; all occupied metadata reads come from the actual stored parent outcomes.
NLAlib.SpectralBisection.storesLevel_succ {K : Type} (M : Ops.Machine K) (F : FloatMachine K ℕ ℕ)
{n fuel d : ℕ} {R0 beta : K} {root : EighNode K} (x : ℕ → EighNode K)
(ma ua qa ea sz kd kp lv : ℕ × ℕ) {scratch : Ops.Fp} {before after : Ops.Mem K}
(hRecords : SpectralBisection.StoresRecords M F n fuel R0 beta root d ma ua qa ea sz kd kp after)
(hZero : ∀ j < n, before.store.get sz.1 (sz.2 + n * (d + 1) + j) = some (M.lit 0))
(hParams :
after.store.readBlock lv.1 (lv.2 + 2 * (d + 1)) 2 =
some
[(eighLevelParams F R0 root.ε root.ℓ (d + 1)).1,
(eighLevelParams F R0 root.ε root.ℓ (d + 1)).2])
(hReached :
∀ lo < n,
0 < (x lo).k → ∃ a, a.length = d ∧ eighLoc F n fuel R0 beta 0 0 root a = some (lo, x lo))
(hPayload :
∀ lo < n,
0 < (x lo).k →
Ops.Fp.Disj (Ops.Store.inBlock sz.1 (sz.2 + n * (d + 1)) n)
(SpectralBisection.stepPayloadFp n d lo ma ua qa ea sz kd kp
(eighStep F n fuel R0 beta (x lo).A (x lo).R (x lo).ε (x lo).ℓ
(eighTapeSample n d lo))))
(hScratch : scratch.Disj (Ops.Store.inBlock sz.1 (sz.2 + n * (d + 1)) n))
(hfr :
Ops.Store.EqOff
(Ops.Fp.loopPrefix
(fun lo ↦
SpectralBisection.activeStepFp n d lo ma ua qa ea sz kd kp
(eighStep F n fuel R0 beta (x lo).A (x lo).R (x lo).ε (x lo).ℓ
(eighTapeSample n d lo)))
n ⊔
scratch)
before.store after.store) :
SpectralBisection.StoresLevel M F n fuel R0 beta root (d + 1) ma sz lv afterImport NLAlib.Eigensolvers.SpectralBisection.LevelSuccessor.