NLAlib.SmallEig.bottomScan_writes_decoupleLastCtx
Library · theorem
Standard rounding
The scan of NLAlib.SmallEig.decoupleLast from the operands of its loop (NLAlib.SmallEig.DecoupleLastCtx) stores the scan state of the matrix at h. Shared by the trees of NLAlib.ShiftedQR.shqrSmallEigRoutine and NLAlib.SmallEig.smallEigRoutine, on their scratch.
NLAlib.SmallEig.bottomScan_writes_decoupleLastCtx {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 ℝ} {L : ℕ} {h lam qw f : ℕ × ℕ} {ζ : ℂ} {t : ℝ}
{H : Matrix (Fin (n + 2)) (Fin (n + 2)) ℂ}
(hc : SmallEig.DecoupleLastCtx n L h lam qw f ζ t μ.store) (hW : HoldsMatrix h H μ.store) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.bottomScan
(Ops.Env.frame [n + 2, 1] [h, (qw.1, qw.2 + 7), (L, 0)]) (Ops.Store.inBlock L 0 5)
(fun μ' ↦ μ'.pos = μ.pos ∧ SmallEig.LastScan u t (L, 0) H μ'.store) μImport NLAlib.Eigensolvers.SmallEig.Decouple.