NLAlib.SmallEig.oneEigMove_marked
Library · theorem
The end of a round (NLAlib.SmallEig.oneEigMove) with a marked best candidate: from the mark K[1] 1 and the best point (\mathbf{x}, y) and estimate \mathbf{b} at Bt, on a scalar machine with the literal 1 exact and exact comparisons, it writes only Lam and Tau, stores the point and the estimate there and keeps the position.
NLAlib.SmallEig.oneEigMove_marked {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)
(hCmp : Ops.IsCmp id I) {L : ℕ} {τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ} {lam f : ℕ × ℕ}
(hlam : lam.1 < L) (hlen : List.length μ.store = L + 7) (h0 : μ.store.len L = 1)
(hroom : lam.2 + 2 ≤ μ.store.len lam.1) {x y b : ℝ} (hK : μ.store.get (L + 6) 1 = some 1)
(hx : μ.store.get (L + 4) 0 = some x) (hy : μ.store.get (L + 4) 1 = some y)
(hb : μ.store.get (L + 4) 2 = some b) :
Ops.Writes Ops.Mode.total I τ SmallEig.oneEigMove
(Ops.Env.frame [] [(L + 4, 0), (L + 6, 0), lam, (L, 0), f])
(Ops.Store.inBlock lam.1 lam.2 2 ⊔ Ops.Store.inBlock L 0 1)
(fun μ' ↦
μ'.pos = μ.pos ∧ μ'.store.readBlock lam.1 lam.2 2 = some [x, y] ∧ μ'.store.get L 0 = some b)
μImport NLAlib.Eigensolvers.SmallEig.OneEigParts.