NLAlib.givensReplayColumns_specNorm_sub_le
Library · theorem
Standard rounding
The column replay on every tape: the stored matrix moves from \mathbf{X} to within ((1 + 24\boldsymbol{u})^{m} - 1)\|\mathbf{X}\|_2 of \mathbf{X}\widetilde{\mathbf{V}}, where \widetilde{\mathbf{V}} acts by the log's unitary on the range [lo, lo + d) and m is the capacity ns \cdot w (each replayed rotation, padding included, costs at most 24\boldsymbol{u}; [Higham2002, Lemma 19.8]). Needs only exact naturals up to the order.
NLAlib.givensReplayColumns_specNorm_sub_le {O Q : Type} [Ops.Has Ops.ScalarOp 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) (hM : Ops.StdModel u id Mch) (hu0 : 0 ≤ u) (hu : u ≤ 1 / 100)
(hQ : Ops.IsToNat id I) (hC : Ops.IsCmp id I) {N lo d ns w : ℕ} (hN : lo + d ≤ N)
{L : List (Option (List GivensEntry))} {P : List GivensEntry}
(hpl : ∀ e ∈ slotEntries w L, e.1 + 1 < d ∨ e = (0, 0, 0))
(hlo : slotEntries w L = [] ∨ lo + 1 < N) {lg x : ℕ × ℕ} {X : Matrix (Fin N) (Fin N) ℂ}
{τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ} (hlog : HoldsSlottedLog lg ns w L P μ.store)
(hlen : L.length = ns) (hX : HoldsMatrix x X μ.store) (hl : μ.Live [lg, x])
(hd :
Ops.Fp.Disj (Ops.Store.inBlock lg.1 lg.2 (ns * (1 + 5 * w)))
(Ops.Store.inBlock x.1 x.2 (2 * (N * N)))) :
Ops.Writes Ops.Mode.total I τ givensReplayColumns (Ops.Env.frame [N, lo, 0, N, ns, w] [lg, x, x])
(Ops.Store.inBlock x.1 x.2 (2 * (N * N)))
(fun μ' ↦
∃ X',
HoldsMatrix x X' μ'.store ∧
specNorm (X' - X * embedBlock lo (givensLog d (slotEntries w L))) ≤
((1 + 24 * u) ^ (ns * w) - 1) * specNorm X)
μImport NLAlib.Matrix.FinitePrecision.GivensReplay.