NLA-lib Explorer

Preconditioned MINRES

Definition (Preconditioned MINRES). For Hermitian \mathbf{A} and a positive-definite inverse preconditioner \mathbf{M}, apply mathematical MINRES to \mathbf{M}^{1/2}\mathbf{A}\mathbf{M}^{1/2}\mathbf{y}=\mathbf{M}^{1/2}\mathbf{b} and recover \mathbf{x}=\mathbf{M}^{1/2}\mathbf{y}. The corresponding original residual is measured in the \mathbf{M}-norm. The transformed spectrum, rather than the original spectrum alone, enters convergence bounds.

Copy link

Results

Theorem (The Chebyshev bound for preconditioned MINRES).

in \kappa = a'/a: for Hermitian \mathbf{A}, positive definite \mathbf{M} and the spectrum of \mathbf{M}\mathbf{A} in [a, a'], 0 < a, \|\mathbf{b} - \mathbf{A}\,\mathsf{pminresIterate}(\mathbf{A}, \mathbf{M}, \mathbf{b}, \mathbf{x}_0, q)\|_{\mathbf{M}}^2 \le 4\Bigl(\frac{\sqrt{a'/a} - 1}{\sqrt{a'/a} + 1}\Bigr)^{2q} \|\mathbf{r}_0\|_{\mathbf{M}}^2 \,. [ElmanSilvesterWathen2014, ยง4.2]; locator to verify.

Lean statement and details
Matrix.IsHermitian.re_quadForm_sub_mulVec_pminresIterate_le_four_mul_pow.{u_1, u_2} {๐•œ : Type u_1}
  [RCLike ๐•œ] {n : Type u_2} [Fintype n] [DecidableEq n] {A M : Matrix n n ๐•œ} (hA : A.IsHermitian)
  (hM : M.PosDef) {a a' : โ„} (ha : 0 < a) (hs : spectrum โ„ (M * A) โІ Set.Icc a a') (b xโ‚€ : n โ†’ ๐•œ)
  (q : โ„•) :
  RCLike.re (quadForm M (b - A *แตฅ pminresIterate A M b xโ‚€ q)) โ‰ค
    4 * ((โˆš(a' / a) - 1) / (โˆš(a' / a) + 1)) ^ (2 * q) * RCLike.re (quadForm M (b - A *แตฅ xโ‚€))

Full source on GitHub

Copy link

Theorem (Finite termination for preconditioned MINRES).

for invertible \mathbf{A} and positive definite \mathbf{M} and \mathbf{A}\mathbf{x}_\star = \mathbf{b}, the iterate is the solution once q is at least the grade of \mathbf{M}\mathbf{r}_0 for \mathbf{M}\mathbf{A}, \mathbf{r}_0 = \mathbf{b} - \mathbf{A}\mathbf{x}_0: \mathsf{pminresIterate}(\mathbf{A}, \mathbf{M}, \mathbf{b}, \mathbf{x}_0, q) = \mathbf{x}_\star.

Lean statement and details
NLAlib.pminresIterate_eq_of_krylovGrade_le.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2}
  [Fintype n] [DecidableEq n] {A M : Matrix n n ๐•œ} (hA : IsUnit A) (hM : M.PosDef) {b xs : n โ†’ ๐•œ}
  (hxs : A *แตฅ xs = b) (xโ‚€ : n โ†’ ๐•œ) {q : โ„•} (h : krylovGrade (M * A) (M *แตฅ (b - A *แตฅ xโ‚€)) โ‰ค q) :
  pminresIterate A M b xโ‚€ q = xs

Full source on GitHub

Copy link

Theorem (The preconditioned Lanczos recurrence yields preconditioned MINRES).

for invertible Hermitian \mathbf{A}, positive definite \mathbf{M} and every q, \mathsf{pminresIterate}(\mathbf{A}, \mathbf{M}, \mathbf{b}, \mathbf{x}_0, q) = \mathbf{x}_0 + \|\mathbf{r}_0\|_{\mathbf{M}}\,\mathbf{Z}_q\underline{\mathbf{T}}_q^{+}\mathbf{e}_0 with \mathbf{Z}_q and \underline{\mathbf{T}}_q computed by the preconditioned recurrence from \mathbf{r}_0, with no grade hypothesis. [ElmanSilvesterWathen2014, Algorithm 4.1]; locator to verify.

Lean statement and details
Matrix.IsHermitian.pminresIterate_eq_preconditionedLanczosMatrix.{u_1, u_2} {๐•œ : Type u_1}
  [RCLike ๐•œ] {n : Type u_2} [Fintype n] [DecidableEq n] {A M : Matrix n n ๐•œ} (hA : A.IsHermitian)
  (hAu : IsUnit A) (hM : M.PosDef) (b xโ‚€ : n โ†’ ๐•œ) (q : โ„•) :
  pminresIterate A M b xโ‚€ q =
    xโ‚€ +
      โ†‘โˆš(RCLike.re (quadForm M (b - A *แตฅ xโ‚€))) โ€ข
        preconditionedLanczosMatrix A M (b - A *แตฅ xโ‚€) q *แตฅ
          pinv
              ((preconditionedLanczosTridiagonal A M (b - A *แตฅ xโ‚€) (q + 1)).submatrix id
                Fin.castSucc) *แตฅ
            Pi.single 0 1

Full source on GitHub

Copy link

Theorem (Preconditioned MINRES minimises the residual in the \mathbf{M}-norm).

over \mathbf{x}_0 + \mathcal{K}_q(\mathbf{M}\mathbf{A}, \mathbf{M}\mathbf{r}_0), for positive definite \mathbf{M} and every \mathbf{A}, with \mathbf{r}_0 = \mathbf{b} - \mathbf{A}\mathbf{x}_0: \|\mathbf{b} - \mathbf{A}\,\mathsf{pminresIterate}(\mathbf{A}, \mathbf{M}, \mathbf{b}, \mathbf{x}_0, q)\|_{\mathbf{M}}^2 \le \|\mathbf{b} - \mathbf{A}\mathbf{y}\|_{\mathbf{M}}^2 for every such \mathbf{y}. [ElmanSilvesterWathen2014, ยง4.2]; locator to verify.

Lean statement and details
Matrix.PosDef.isMinOn_pminresIterate.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n]
  [DecidableEq n] {M : Matrix n n ๐•œ} (hM : M.PosDef) (A : Matrix n n ๐•œ) (b xโ‚€ : n โ†’ ๐•œ) (q : โ„•) :
  IsMinOn (fun y โ†ฆ RCLike.re (quadForm M (b - A *แตฅ y)))
    (โ†‘(AffineSubspace.mk' xโ‚€ (krylovSpace (M * A) (M *แตฅ (b - A *แตฅ xโ‚€)) q)))
    (pminresIterate A M b xโ‚€ q)

Full source on GitHub

Copy link

Theorem (The polynomial bound for preconditioned MINRES).

for Hermitian \mathbf{A}, positive definite \mathbf{M}, the spectrum of \mathbf{M}\mathbf{A} in s and a real p with \deg p \le q, p(0) = 1, \lvert p \rvert \le \eta on s, \|\mathbf{b} - \mathbf{A}\,\mathsf{pminresIterate}(\mathbf{A}, \mathbf{M}, \mathbf{b}, \mathbf{x}_0, q)\|_{\mathbf{M}}^2 \le \eta^2\|\mathbf{r}_0\|_{\mathbf{M}}^2 \,. No invertibility: the comparison is with the candidate \mathbf{x}_0 + s(\mathbf{M}\mathbf{A}) \mathbf{M}\mathbf{r}_0, p = 1 - Xs, through Matrix.PosDef.isMinOn_pminresIterate; its residual is p(\mathbf{A}\mathbf{M})\mathbf{r}_0.

Lean statement and details
Matrix.IsHermitian.re_quadForm_sub_mulVec_pminresIterate_le.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A M : Matrix n n ๐•œ} (hA : A.IsHermitian)
  (hM : M.PosDef) {s : Set โ„} (hs : spectrum โ„ (M * A) โІ s) (b xโ‚€ : n โ†’ ๐•œ) {q : โ„•}
  {p : Polynomial โ„} (hp : p.degree โ‰ค โ†‘q) (hpโ‚€ : Polynomial.eval 0 p = 1) {ฮท : โ„}
  (hฮท : โˆ€ x โˆˆ s, |Polynomial.eval x p| โ‰ค ฮท) :
  RCLike.re (quadForm M (b - A *แตฅ pminresIterate A M b xโ‚€ q)) โ‰ค
    ฮท ^ 2 * RCLike.re (quadForm M (b - A *แตฅ xโ‚€))

Full source on GitHub

Copy link

Theorem (Preconditioned MINRES is MINRES on the split system).

for invertible \mathbf{A} and \mathbf{C} with \mathbf{M} = \mathbf{C}\mathbf{C}^{\mathsf{H}} and \mathbf{C}\mathbf{y}_0 = \mathbf{x}_0, \mathsf{pminresIterate}(\mathbf{A}, \mathbf{M}, \mathbf{b}, \mathbf{x}_0, q) = \mathbf{C}\,\mathsf{gmresIterate}(\mathbf{C}^{\mathsf{H}}\mathbf{A}\mathbf{C}, \mathbf{C}^{\mathsf{H}}\mathbf{b}, \mathbf{y}_0, q). Invertibility of \mathbf{A} makes both minimisers unique; for singular \mathbf{A} the two least-norm choices differ.

Lean statement and details
NLAlib.pminresIterate_eq_mulVec_gmresIterate.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2}
  [Fintype n] [DecidableEq n] {A M C : Matrix n n ๐•œ} (hA : IsUnit A) (hC : IsUnit C)
  (hM : M = C * Cแดด) {b xโ‚€ yโ‚€ : n โ†’ ๐•œ} (hyโ‚€ : C *แตฅ yโ‚€ = xโ‚€) (q : โ„•) :
  pminresIterate A M b xโ‚€ q = C *แตฅ gmresIterate (Cแดด * A * C) (Cแดด *แตฅ b) yโ‚€ q

Full source on GitHub

Copy link

Theorem (The preconditioned recurrence is the split recurrence).

for Hermitian \mathbf{A} and any \mathbf{C} with \mathbf{M} = \mathbf{C}\mathbf{C}^{\mathsf{H}}, the computed \mathbf{z}_j are \mathbf{C}\mathbf{q}_j for the canonical Lanczos basis of \mathbf{C}^{\mathsf{H}}\mathbf{A}\mathbf{C} from \mathbf{C}^{\mathsf{H}}\mathbf{b}, every q, with no breakdown hypothesis and no invertibility of \mathbf{C}: the matrix of the \mathbf{z}_j computed by q steps from \mathbf{b} is \mathbf{C}\,\mathsf{arnoldiMatrix}(\mathbf{C}^{\mathsf{H}}\mathbf{A}\mathbf{C}, \mathbf{C}^{\mathsf{H}}\mathbf{b}, q). [ElmanSilvesterWathen2014, Algorithm 4.1]; locator to verify.

Lean statement and details
Matrix.IsHermitian.preconditionedLanczosMatrix_eq.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A M : Matrix n n ๐•œ} (hA : A.IsHermitian)
  {C : Matrix n n ๐•œ} (hM : M = C * Cแดด) (b : n โ†’ ๐•œ) (q : โ„•) :
  preconditionedLanczosMatrix A M b q = C * arnoldiMatrix (Cแดด * A * C) (Cแดด *แตฅ b) q

Full source on GitHub

Copy link

Mathematical background

Appears under these tasks

Family