NLAlib.ShiftedQR.roundedSplitUpdate_core
Library · theorem
The split after a decoupled block and its update keep the core: on a scalar machine with the standard model at \boldsymbol{u} \le 1/100, exact natural literals up to n + 1 and exact toNat and comparisons, with the stack holding rs after the popped (lo, d + 1), a closed log at (lgb, 0) whose entries are inside the block, some matrix of order d + 1 in the work matrix and the index i < d of a cut, writeAndSplit and roundedDecoupleUpdate reach the core of round j + 1.
NLAlib.ShiftedQR.roundedSplitUpdate_core {O Q : Type} [Ops.Has Ops.ScalarOp O]
[Ops.Has Ops.IndexOp O] [Ops.Has Ops.CmpTst Q] [Ops.Has Ops.IdxTst Q] {Mch : Ops.Machine ℝ}
{I : Ops.Interp O Q ℝ} {u : ℝ} (hS : Ops.IsScalar Mch I) {P : Prop}
(hP : P → Ops.StdModel u id Mch ∧ u ≤ 1 / 100) (hL : Ops.IsIndexLit Mch I) {n : ℕ}
(hNat : Ops.IsExactNatLit id Mch (n + 1)) (hQ : Ops.IsToNat id I) (hC : Ops.IsCmp id I)
{k F T ns w m : ℕ} (hm : ns * w ≤ m) {np : ℕ} {tape : Ops.Tape ℝ} {μ : Ops.Mem ℝ}
{lo d i j ℓ lgb : ℕ} {a t p uo f st wk ub r : ℕ × ℕ} {rs : List (ℕ × ℕ)}
{A U : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {H' : Matrix (Fin (d + 1)) (Fin (d + 1)) ℂ}
{x εL : ℝ} (hεL : P → 0 ≤ εL) {L : List (Option (List GivensEntry))}
(hG : ShiftedQR.SchurGeometry (n + 1) np a t p uo f st wk ub r μ)
(hf : μ.store.get f.1 f.2 = some x) (hA : HoldsMatrix a A μ.store)
(hW : HoldsMatrix wk H' μ.store) (hSt : ShiftedQR.StackHolds st rs μ.store)
(hfit : ShiftedQR.RangesFit (n + 1) ((lo, d + 1) :: rs))
(hℓ : ℓ + (d + 1) + (List.map Prod.snd rs).sum ≤ n + 1) (hi : i < d)
(hacc : ShiftedQR.AccumIf P U ((1 + 24 * u) ^ (j * m) * (1 + εL) ^ ℓ) uo μ)
(hlog : HoldsSlottedLog (lgb, 0) ns w L [] μ.store) (hlen : L.length = ns)
(hpl : ∀ e ∈ slotEntries w L, e.1 + 1 < d + 1) (hlgb : lgb < List.length μ.store)
(hlgv : ∀ v ∈ [a, t, p, uo, f, st, wk, ub, r], v.1 < lgb) :
Ops.Writes Ops.Mode.total I tape
((Ops.Stmt.frame [Ops.IExp.var 0, Ops.IExp.var 7, Ops.IExp.var 8, Ops.IExp.var 17]
[{ buf := 0, off := Ops.IExp.var 9 }, { buf := 3, off := Ops.IExp.var 12 },
{ buf := 5, off := Ops.IExp.var 14 }]
ShiftedQR.writeAndSplit).seq
(Ops.Stmt.frame
[Ops.IExp.var 0, Ops.IExp.var 7, Ops.IExp.var 8, Ops.IExp.var 17, Ops.IExp.var 5,
Ops.IExp.var 6]
[{ buf := 8, off := Ops.IExp.const 0 }, { buf := 0, off := Ops.IExp.var 9 },
{ buf := 4, off := Ops.IExp.var 13 }]
ShiftedQR.roundedDecoupleUpdate))
({
idx :=
(Ops.Env.frame [n + 1, k, np, F, T, ns, w, lo, d + 1] [a, t, p, st, uo, wk, r, f]).idx,
buf :=
(Ops.Env.frame [n + 1, k, np, F, T, ns, w, lo, d + 1]
[a, t, p, st, uo, wk, r, f]).buf ++
[lgb] }.pushIdx
i)
(ShiftedQR.schurRoundFp (n + 1) a uo f st wk ub r)
(ShiftedQR.SchurStoredCore n P U u εL m a uo f st (j + 1)) μImport NLAlib.Eigensolvers.ShiftedQR.RoundedWorklistTermination.