NLA-lib Explorer

The symmetric backward model

Library · Result group

Theorem (LanczosReorthRun.exists_backward). The symmetric backward model: under \eta_0 \le 1/100, the fixed-point condition \sqrt{3(k+1)}\,\mu \le \eta_0, \mu + \varepsilon + \varepsilon_2 \le 1/100 and \tau \le 1, with \mathbf{U} = NLAlib.polarFactor \mathbf{V}_{k+1} and \mathbf{U}_k its first k columns, some symmetric \mathbf{E} with \|\mathbf{E}\|_{\mathsf{F}} \le NLAlib.LanczosReorthRun.backwardRadius satisfies (\mathbf{H} + \mathbf{E})\mathbf{U}_k = \mathbf{U}_k\mathbf{T}_k + (\beta_k\mathbf{u}_{k+1})\mathbf{e}_{k-1}^{\mathsf{T}} exactly. [Paige1971, §6.1] (the backward form (\mathbf{A} + \delta\mathbf{P})\mathbf{V} = \mathbf{V}\mathbf{T} there); the completion is that of Kahan, Parlett and Jiang (1982).

Headline (provisional)

Lean statement and details
NLAlib.LanczosReorthRun.exists_backward {n k : ℕ} (L : LanczosReorthRun n k) (hη : L.η₀ ≤ 1 / 100)
  (hsmall : √(3 * (↑k + 1)) * L.orthLevel ≤ L.η₀) (hrec : L.recLevel ≤ 1 / 100) (hτ : L.τ ≤ 1) :
  ∃ E,
    Eᵀ = E ∧
      frobNorm E ≤ L.backwardRadius ∧
        (L.H + E) * (polarFactor (LanczosReorthRun.basisOf L.v (k + 1))).submatrix id Fin.castSucc =
          (polarFactor (LanczosReorthRun.basisOf L.v (k + 1))).submatrix id Fin.castSucc *
              L.toLanczosData.tridiagonal +
            vecMulVec
              (L.β k • fun i ↦ polarFactor (LanczosReorthRun.basisOf L.v (k + 1)) i (Fin.last k))
              (Pi.single L.toLanczosData.lastIndex 1)

Full source on GitHub

Copy link

Other forms

Theorem (LanczosReorthRun.exists_lanczosState_backward). Exact Lanczos on the backward model computes the run: under \eta_0 \le 1/100, the fixed-point condition \sqrt{3(k+1)}\,\mu \le \eta_0, \mu + \varepsilon + \varepsilon_2 \le 1/100 and \tau \le 1, some symmetric \mathbf{E} with \|\mathbf{E}\|_{\mathsf{F}} \le NLAlib.LanczosReorthRun.backwardRadius has the following property. With \mathbf{u}_j the columns of the polar factor of \mathbf{V}_{k+1} (NLAlib.LanczosReorthRun.colSeq), the exact Lanczos recurrence on (\mathbf{H} + \mathbf{E}, \mathbf{u}_1) has states (\mathbf{u}_j, \mathbf{u}_{j+1}, \beta_j) for j < k and tridiagonal \mathbf{T}_k; the start vector is within 2\sqrt{3(k+1)}\,\mu of \mathbf{v}_1. [Paige1971, §6.1] in substance.

Lean statement and details
NLAlib.LanczosReorthRun.exists_lanczosState_backward {n k : ℕ} (L : LanczosReorthRun n k)
  (hη : L.η₀ ≤ 1 / 100) (hsmall : √(3 * (↑k + 1)) * L.orthLevel ≤ L.η₀)
  (hrec : L.recLevel ≤ 1 / 100) (hτ : L.τ ≤ 1) :
  ∃ E,
    Eᵀ = E ∧
      frobNorm E ≤ L.backwardRadius ∧
        (∀ j < k,
            lanczosState (L.H + E)
                (LanczosReorthRun.colSeq (polarFactor (LanczosReorthRun.basisOf L.v (k + 1))) 1) j =
              {
                prev :=
                  LanczosReorthRun.colSeq (polarFactor (LanczosReorthRun.basisOf L.v (k + 1))) j,
                cur :=
                  LanczosReorthRun.colSeq (polarFactor (LanczosReorthRun.basisOf L.v (k + 1)))
                    (j + 1),
                beta := L.β j }) ∧
          lanczosTridiagonal (L.H + E)
                (LanczosReorthRun.colSeq (polarFactor (LanczosReorthRun.basisOf L.v (k + 1))) 1) k =
              L.toLanczosData.tridiagonal ∧
            ‖WithLp.toLp 2
                  (LanczosReorthRun.colSeq (polarFactor (LanczosReorthRun.basisOf L.v (k + 1))) 1 -
                    L.v 1)‖ ≤
              2 * √(3 * (↑k + 1)) * L.orthLevel

Full source on GitHub

Copy link

Theorem (LanczosReorthRun.exists_pure_backward). The backward model with the exact start vector: under \eta_0 \le 1/100, the fixed-point condition \sqrt{3(k+1)}\,\mu \le \eta_0, \mu + \varepsilon + \varepsilon_2 \le 1/100 and \tau \le 1, if \mathbf{b} \ne \mathbf{0} and the computed \mathbf{v}_1 is within \delta_\mathbf{b} of \mathbf{b}/\|\mathbf{b}\|, some symmetric \mathbf{H}' with \|\mathbf{H}' - \mathbf{H}\|_{\mathsf{F}} \le e + 3\|\mathbf{H}\|_2\, (\delta_\mathbf{b} + 2\sqrt{3(k+1)}\,\mu) (e = NLAlib.LanczosReorthRun.backwardRadius) has Lanczos tridiagonal \mathbf{T}_k from \mathbf{b} itself. No printed source.

Lean statement and details
NLAlib.LanczosReorthRun.exists_pure_backward {n k : ℕ} (L : LanczosReorthRun n k)
  (hη : L.η₀ ≤ 1 / 100) (hsmall : √(3 * (↑k + 1)) * L.orthLevel ≤ L.η₀)
  (hrec : L.recLevel ≤ 1 / 100) (hτ : L.τ ≤ 1) {b : Fin n → ℝ} (hb : b ≠ 0) {δb : ℝ}
  (hδ : ‖WithLp.toLp 2 (‖WithLp.toLp 2 b‖⁻¹ • b - L.v 1)‖ ≤ δb) :
  ∃ H',
    H'ᵀ = H' ∧
      frobNorm (H' - L.H) ≤
          L.backwardRadius + 3 * specNorm L.H * (δb + 2 * √(3 * (↑k + 1)) * L.orthLevel) ∧
        lanczosTridiagonal H' b k = L.toLanczosData.tridiagonal

Full source on GitHub

Copy link