NLAlib.SmallEig.SmallEigScratch.of_alloc
Library · theorem
This statement changed in the recorded rename: 2026-11-schur.
The scratch memory after the three allocations of NLAlib.SmallEig.smallEigProg on top of a memory holding the input and the identity accumulator.
NLAlib.SmallEig.SmallEigScratch.of_alloc {nmax n : ℕ} {S δ φ : ℝ} {c₁ c₂ : PolyLogTail}
{w q o : ℕ × ℕ} {M : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {μ : Ops.Mem ℝ} {s₁ : Ops.Store ℝ}
(hin : SmallEig.SmallEigInput nmax S δ φ c₁ c₂ w q o M μ) (hU : HoldsMatrix o 1 μ.store)
(hlen₁ : List.length s₁ = List.length μ.store + 3)
(hlens :
∀ (i : ℕ) (hi : i < [1, 1, (n + 1) * (1 + 5 * (n + 1))].length),
s₁.len (List.length μ.store + i) = [1, 1, (n + 1) * (1 + 5 * (n + 1))][i])
(hBelow : Ops.Store.Below (List.length μ.store) μ.store s₁) :
SmallEig.SmallEigScratch n (List.length μ.store) (SmallEig.smallEigParams nmax S δ φ c₁ c₂) w q o
{ store := s₁, pos := μ.pos } ∧
HoldsMatrix w M s₁Import NLAlib.Eigensolvers.SmallEig.ProgramSchur.