NLAlib.SmallEig.oneEigRound_writes
Library · theorem
This statement changed in the recorded rename: 2026-11-schur.
One round of NLAlib.SmallEig.oneEig (NLAlib.SmallEig.oneEigRound) with the scratch from L (the buffers Tau, Z, Pt, Tc, Bt, D, K at L, …, L + 6): on a scalar machine with the literal 0 exact, index literals, exact comparisons and an exact polar sampler, from any matrix of order n + 1 at h, at least six words at qw, words at NLAlib.SmallEig.oneEigCells and a flag 0 or 1 at f apart from lam, it writes only lam, f and the scratch, and keeps the words and the flag. Shared by the trees of NLAlib.ShiftedQR.shqrSmallEigRoutine and NLAlib.SmallEig.smallEigRoutine, on their scratch.
NLAlib.SmallEig.oneEigRound_writes {O Q : Type} [Ops.Has Ops.ScalarOp O] [Ops.Has Ops.IndexOp O]
[Ops.Has ShiftedQR.DiskSampleOp O] [Ops.Has Ops.CmpTst Q] {M : Ops.Machine ℝ}
{I : Ops.Interp O Q ℝ} (hS : Ops.IsScalar M I) (hzero : M.lit 0 = 0) (hL : Ops.IsIndexLit M I)
(hCmp : Ops.IsCmp id I) {sU : ℕ} (hDisk : ShiftedQR.IsPolarDiskSampler sU I) {n m q L : ℕ}
(hNat : Ops.IsExactNatLit id M n) {H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {qs : List ℝ}
(hqs : 6 ≤ qs.length) {τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ} {h qw lam f : ℕ × ℕ} (hh : h.1 < L)
(hqw : qw.1 < L) (hlam : lam.1 < L) (hf : f.1 < L) (hlen : List.length μ.store = L + 7)
(h0 : μ.store.len L = 1) (h1 : μ.store.len (L + 1) = 2) (h2 : μ.store.len (L + 2) = 2)
(h3 : μ.store.len (L + 3) = 1) (h4 : μ.store.len (L + 4) = 3) (h6 : μ.store.len (L + 6) = 2)
(hroom : lam.2 + 2 ≤ μ.store.len lam.1) (hroomf : f.2 < μ.store.len f.1)
(hlf : Ops.Fp.Disj (Ops.Store.inBlock lam.1 lam.2 2) (Ops.Store.inBlock f.1 f.2 1))
(hH : HoldsMatrix h H μ.store) (hq : μ.store.readBlock qw.1 qw.2 qs.length = some qs)
(hw : Ops.HoldsWords μ.store (SmallEig.oneEigCells L lam))
(hF : SmallEig.OneEigFlag M f μ.store) :
Ops.Writes Ops.Mode.total I τ SmallEig.oneEigRound
(Ops.Env.frame [n + 1, m, q]
[h, qw, (L + 5, 0), lam, (L, 0), f, (L + 1, 0), (L + 2, 0), (L + 3, 0), (L + 4, 0),
(L + 6, 0)])
(Ops.Store.inBlock lam.1 lam.2 2 ⊔ Ops.Store.inBlock f.1 f.2 1 ⊔ Ops.Fp.above L)
(fun μ' ↦
Ops.HoldsWords μ'.store (SmallEig.oneEigCells L lam) ∧ SmallEig.OneEigFlag M f μ'.store)
μImport NLAlib.Eigensolvers.SmallEig.OneEigParts.