NLAlib.CGS2.isOrthErrOnSupport_of_passOut
Library · theorem
Two rounded classical passes against a stored basis with zero columns. Let two passes against the k stored columns \mathbf{V} of length n have dot errors e_d \ge 0 and update errors e_a \ge 0, the first from \mathbf{w} to \mathbf{w}_1 with coefficients \mathbf{h}_1 and the second from \mathbf{w}_1 to \mathbf{w}_2 with coefficients \mathbf{h}_2, and let \mathbf{h} be their sum computed with relative error u, \lvert h_j - (h_{1,j} + h_{2,j})\rvert \le u\lvert h_{1,j} + h_{2,j}\rvert. If 0 \le \eta \le 1/100, c \le 1/100, u \ge 0, 4u \le c and (k+1)e_d(1+\eta)^2 + ((1+e_a)^k - 1)(1 + k(1+e_d)(1+\eta)^2) \le c, then (\mathbf{h}, \mathbf{w}_2) meets the single-vector guarantee on the support for \mathbf{w} and \mathbf{V} with parameters (\eta, 2c, 3c, 2(\eta + c)^2). The stored columns may be zero: the budget counts all k columns.
NLAlib.CGS2.isOrthErrOnSupport_of_passOut {K : Type} [Inhabited K] {dec : K → ℝ} {ed ea η c u : ℝ}
{n k : ℕ} {qs ws mid ws' h₁ h₂ : List K} {h : Fin k → ℝ}
(hp₁ : Krylov.Lanczos.Reorth.PassOut dec ed ea n k qs ws mid h₁)
(hp₂ : Krylov.Lanczos.Reorth.PassOut dec ed ea n k qs mid ws' h₂) (hd : 0 ≤ ed) (ha : 0 ≤ ea)
(hη₀ : 0 ≤ η) (hη : η ≤ 1 / 100) (hc : c ≤ 1 / 100) (hu : 0 ≤ u) (hu₁ : 4 * u ≤ c)
(hbudget :
(↑k + 1) * ed * (1 + η) ^ 2 + ((1 + ea) ^ k - 1) * (1 + ↑k * (1 + ed) * (1 + η) ^ 2) ≤ c)
(hsum :
∀ (j : Fin k),
|h j - (dec (Ops.vec h₁ ↑j) + dec (Ops.vec h₂ ↑j))| ≤
u * |dec (Ops.vec h₁ ↑j) + dec (Ops.vec h₂ ↑j)|) :
IsOrthErrOnSupport η (2 * c) (3 * c) (2 * (η + c) ^ 2) (Ops.decodeMatrix dec n k qs)
(Ops.decv dec n ws) h (Ops.decv dec n ws')Import NLAlib.Krylov.Orthogonalization.CGS2.ExtendRounded.