NLAlib.SmallEig.bottomScan_writes_lastScan
Library · theorem
Standard rounding
The scan of the last subdiagonal entry (NLAlib.ShiftedQR.bottomScan at k = 1) of an order-(n + 2) matrix stores the scan state NLAlib.SmallEig.LastScan. Shared by the trees of NLAlib.ShiftedQR.shqrSmallEigRoutine and NLAlib.SmallEig.smallEigRoutine, on their scratch.
NLAlib.SmallEig.bottomScan_writes_lastScan {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 ℝ} {u : ℝ}
{n : ℕ} (hS : Ops.IsScalar M I) (hM : Ops.StdModel u id M) (hu : 0 ≤ u) (hu1 : u ≤ 1)
(hL : Ops.IsIndexLit M I) (hNat : Ops.IsExactNatLit id M (n + 2)) (hC : Ops.IsCmp id I)
{τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ} {a t r : ℕ × ℕ} {H : Matrix (Fin (n + 2)) (Fin (n + 2)) ℂ}
{thr : ℝ} (hH : HoldsMatrix a H μ.store) (ht : μ.store.get t.1 t.2 = some thr)
(hl : μ.Live [a, t, r]) (hroom : r.2 + 5 ≤ μ.store.len r.1)
(hA :
Ops.Fp.Disj (Ops.Store.inBlock r.1 r.2 5) (Ops.Store.inBlock a.1 a.2 (2 * ((n + 2) * (n + 2)))))
(hT : Ops.Fp.Disj (Ops.Store.inBlock r.1 r.2 5) (Ops.Store.inBlock t.1 t.2 1)) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.bottomScan (Ops.Env.frame [n + 2, 1] [a, t, r])
(Ops.Store.inBlock r.1 r.2 5) (fun μ' ↦ μ'.pos = μ.pos ∧ SmallEig.LastScan u thr r H μ'.store) μImport NLAlib.Eigensolvers.SmallEig.Decouple.