NLAlib.SpectralBisection.stored_upwardInputs_of_bottom_frame
Library · theorem
Bottom-result writes preserve every shallower level, node record and the scalar two. This is a storage statement: only the bottom footprint, unchanged tape position and canonical arena separation are required, independently of the program producing that frame.
NLAlib.SpectralBisection.stored_upwardInputs_of_bottom_frame {K : Type} [Inhabited K]
(M : Ops.Machine K) (dec : K → ℝ) (mm : MatMulMap (K × K)) (qr : QRMap (K × K))
{n L fuel base : ℕ} {τ : Ops.Tape K} {μ : Ops.Mem K} (R0 eps beta : K)
(A : Matrix (Fin n) (Fin n) (K × K)) {c ma ua qa ea sz kd kp lv su sg : ℕ × ℕ} {ν : Ops.Mem K}
(hAP :
Ops.Fp.Apart (SpectralBisection.arenaOperands c ma ua qa ea sz kd kp lv su sg)
(SpectralBisection.arenaLengths n L))
(hLevels :
∀ d ≤ L + 1,
SpectralBisection.StoresLevel M
(SpectralBisection.tapeMachine M dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) n base τ) n fuel R0
beta { k := n, A := A, R := R0, ε := eps, ℓ := L } d ma sz lv μ)
(hRecords :
∀ d ≤ L,
SpectralBisection.StoresRecords M
(SpectralBisection.tapeMachine M dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) n base τ) n fuel R0
beta { k := n, A := A, R := R0, ε := eps, ℓ := L } d ma ua qa ea sz kd kp μ)
(hTwo : μ.store.get c.1 (c.2 + 1) = some (M.lit 2))
(hFrame : Ops.Store.EqOff (SpectralBisection.resultLevelSpan n (L + 1) ua ea) μ.store ν.store)
(hPos : ν.pos = μ.pos) :
(∀ d ≤ L,
SpectralBisection.StoresLevel M
(SpectralBisection.tapeMachine M dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) n base τ) n fuel R0
beta { k := n, A := A, R := R0, ε := eps, ℓ := L } d ma sz lv ν) ∧
(∀ d ≤ L,
SpectralBisection.StoresRecords M
(SpectralBisection.tapeMachine M dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) n base τ) n fuel
R0 beta { k := n, A := A, R := R0, ε := eps, ℓ := L } d ma ua qa ea sz kd kp ν) ∧
ν.store.get c.1 (c.2 + 1) = some (M.lit 2)Import NLAlib.Eigensolvers.SpectralBisection.Reconstruct.