NLAlib.SmallEig.oneEigPoint_writes
Library · theorem
This statement changed in the recorded rename: 2026-11-schur.
One candidate point (NLAlib.SmallEig.oneEigPoint) with the scratch of NLAlib.SmallEig.oneEig from L: on a scalar machine with the literal 0 exact, index literals and exact comparisons, from any matrix of order n + 1 at h, words at the cells read and the mark K[1] 0 or the best point stored, it writes only Pt, Tc, Bt and K[1], keeps the tape position, and keeps the best estimate and the mark stored. Shared by the trees of NLAlib.ShiftedQR.shqrSmallEigRoutine and NLAlib.SmallEig.smallEigRoutine, on their scratch.
NLAlib.SmallEig.oneEigPoint_writes {O Q : Type} [Ops.Has Ops.ScalarOp O] [Ops.Has Ops.IndexOp 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) {n m q j L : ℕ}
(hNat : Ops.IsExactNatLit id M n) (hj : j < 6) {H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ}
{τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ} {h lam : ℕ × ℕ} (hh : h.1 < L) (hlam : lam.1 < L)
(hlen : List.length μ.store = L + 7) (h2 : μ.store.len (L + 2) = 2) (h3 : μ.store.len (L + 3) = 1)
(h4 : μ.store.len (L + 4) = 3) (h6 : μ.store.len (L + 6) = 2) (hH : HoldsMatrix h H μ.store)
(hw : Ops.HoldsWords μ.store ((L + 1, 0) :: (L + 1, 1) :: SmallEig.oneEigCells L lam))
(hb2 : ∃ v, μ.store.get (L + 4) 2 = some v)
(hK :
μ.store.get (L + 6) 1 = some 0 ∨
Ops.HoldsWords μ.store [(L + 6, 1), (L + 4, 2), (L + 4, 1), (L + 4, 0)]) :
Ops.Writes Ops.Mode.total I τ SmallEig.oneEigPoint
(Ops.Env.frame [n + 1, m, q, j]
[h, (L, 0), (L + 5, 0), lam, (L + 1, 0), (L + 2, 0), (L + 3, 0), (L + 4, 0), (L + 6, 0)])
(Ops.Store.inBlock (L + 2) 0 2 ⊔ Ops.Store.inBlock (L + 3) 0 1 ⊔ Ops.Store.inBlock (L + 4) 0 3 ⊔
Ops.Store.inBlock (L + 6) 1 1)
(fun μ' ↦
μ'.pos = μ.pos ∧
(∃ v, μ'.store.get (L + 4) 2 = some v) ∧
(μ'.store.get (L + 6) 1 = some 0 ∨
Ops.HoldsWords μ'.store [(L + 6, 1), (L + 4, 2), (L + 4, 1), (L + 4, 0)]))
μImport NLAlib.Eigensolvers.SmallEig.OneEigParts.