NLAlib.SmallEig.oneEigDirections_writes_value
Library · theorem
NLAlib.SmallEig.oneEigDirections on a scalar machine stores its words: with room for twelve words at d and two at k in other buffers, it writes only those words, keeps the position and stores the factor \mathrm{fl}(0.66) at K[0] and the words NLAlib.SmallEig.oneEigDirWords at D. Shared by the trees of NLAlib.ShiftedQR.shqrSmallEigRoutine and NLAlib.SmallEig.smallEigRoutine, on their scratch.
NLAlib.SmallEig.oneEigDirections_writes_value {O Q : Type} [Ops.Has Ops.ScalarOp O]
{M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} (hS : Ops.IsScalar M I) {τ : Ops.Tape ℝ}
{μ : Ops.Mem ℝ} {L : ℕ} (hlen : L + 7 ≤ List.length μ.store) (h5 : μ.store.len (L + 5) = 12)
(h6 : μ.store.len (L + 6) = 2) :
Ops.Writes Ops.Mode.total I τ SmallEig.oneEigDirections
(Ops.Env.frame [] [(L + 5, 0), (L + 6, 0)])
(Ops.Store.inBlock (L + 5) 0 12 ⊔ Ops.Store.inBlock (L + 6) 0 1)
(fun μ' ↦
μ'.pos = μ.pos ∧
μ'.store.get (L + 6) 0 = some (M.lit (66 / 100)) ∧
∀ i < 12, μ'.store.get (L + 5) i = some (SmallEig.oneEigDirWords M i))
μImport NLAlib.Eigensolvers.SmallEig.OneEigParts.