Theorem (isBasisExtensionErr_of_columns). The column-wise scheme with threshold deflation satisfies the rounded contract. Let \mathbf{Q} be the basis, \mathbf{W} the block, \mathbf{W}' the reduced block, \mathbf{Q}' the new block and \mathbf{H}, \mathbf{R} the coefficients, \mathbf{R} upper triangular. For every column c assume: the step from \mathbf{w}_c to \mathbf{w}'_c with the coefficients (\mathbf{H}_c, \mathbf{R}_{<c,c}) meets the single-vector guarantee on the support with parameters (\eta_0, \varepsilon_1, \varepsilon_2, \varepsilon_3) for the basis [\mathbf{Q}, \mathbf{Q}'_{<c}]; a zero \mathbf{w}_c gives a zero \mathbf{w}'_c; the computed norms satisfy \lvert\nu_c - \|\mathbf{w}_c\|\rvert \le E\|\mathbf{w}_c\| and \lvert\beta_c - \|\mathbf{w}'_c\|\rvert \le E\|\mathbf{w}'_c\|; and either the column is dropped, \beta_c \le \tfrac32\tau\nu_c, \mathbf{q}'_c = \mathbf{0}, r_{cc} = 0, or it is kept, \tfrac12\tau\nu_c < \beta_c, r_{cc} = \beta_c, \|\beta_c\mathbf{q}'_c - \mathbf{w}'_c\| \le E\|\mathbf{w}'_c\|. The two thresholds allow for the rounding of the test. If \eta_0 \le 1/100, 0 \le \varepsilon_1, \varepsilon_2, \varepsilon_3 \le 1/10, 0 \le E \le 1/100 and \tau > 0, then (\mathbf{Q}', \mathbf{H}, \mathbf{R}) is a rounded extension of \mathbf{Q} by \mathbf{W} with parameters \eta_0, \mu = 2\varepsilon_1 + 4\varepsilon_3/\tau + 5E and \varepsilon = \varepsilon_2 + 2E + 2\tau. No printed source; docs/design/LowRank-BlockLanczos.md §3.5.
Headline
Lean statement and details
NLAlib.isBasisExtensionErr_of_columns {n : ℕ} {η₀ ε₁ ε₂ ε₃ : ℝ} {k b : ℕ} {E τ : ℝ}
{Q : Matrix (Fin n) (Fin k) ℝ} {W W' Q' : Matrix (Fin n) (Fin b) ℝ} {H : Matrix (Fin k) (Fin b) ℝ}
{R : Matrix (Fin b) (Fin b) ℝ} {ν β : Fin b → ℝ} (hη : η₀ ≤ 1 / 100) (hε₁ : 0 ≤ ε₁)
(hε₁' : ε₁ ≤ 1 / 10) (hε₂ : 0 ≤ ε₂) (hε₂' : ε₂ ≤ 1 / 10) (hε₃ : 0 ≤ ε₃) (hε₃' : ε₃ ≤ 1 / 10)
(hE : 0 ≤ E) (hE' : E ≤ 1 / 100) (hτ : 0 < τ) (hR : R.BlockTriangular id)
(hO :
∀ (c : Fin b),
IsOrthErrOnSupport η₀ ε₁ ε₂ ε₃ (Q.fromCols (colsBefore Q' c)) (W.col c)
(H.col c ⊕ᵥ (strictUpper R).col c) (W'.col c))
(hzero : ∀ (c : Fin b), W.col c = 0 → W'.col c = 0)
(hν : ∀ (c : Fin b), |ν c - ‖WithLp.toLp 2 (W.col c)‖| ≤ E * ‖WithLp.toLp 2 (W.col c)‖)
(hβ : ∀ (c : Fin b), |β c - ‖WithLp.toLp 2 (W'.col c)‖| ≤ E * ‖WithLp.toLp 2 (W'.col c)‖)
(hstep :
∀ (c : Fin b),
β c ≤ 3 / 2 * τ * ν c ∧ Q'.col c = 0 ∧ R c c = 0 ∨
τ / 2 * ν c < β c ∧
R c c = β c ∧
‖WithLp.toLp 2 (β c • Q'.col c - W'.col c)‖ ≤ E * ‖WithLp.toLp 2 (W'.col c)‖) :
IsBasisExtensionErr η₀ (cgs2ExtendMu ε₁ ε₃ E τ) (cgs2ExtendEps ε₂ E τ) Q W Q' H R