NLA-lib Explorer

Singular directions of the inverse-free polar iteration

Library Β· Result group

Theorem (IsSVD.polarSchulzIterate_eq). Singular directions of the inverse-free polar iteration. The kth matrix iterate acts by the kth iterate of the real cubic on each supplied singular coordinate. [Higham2008, Β§8.3].

Headline (provisional)

Lean statement and details
NLAlib.IsSVD.polarSchulzIterate_eq.{u_1, u_2, u_3, u_4} {π•œ : Type u_1} {m : Type u_2} {n : Type u_3}
  {r : Type u_4} [RCLike π•œ] [Fintype m] [Fintype n] [Fintype r] [DecidableEq n] [DecidableEq r]
  {A : Matrix m n π•œ} {U : Matrix m r π•œ} {V : Matrix n r π•œ} {Οƒ : r β†’ ℝ} (h : IsSVD A U Οƒ V) (k : β„•) :
  polarSchulzIterate A k = (U * diagonal fun i ↦ ↑(newtonSchulz^[k] (Οƒ i))) * Vα΄΄

Full source on GitHub

Copy link

Other forms

Theorem (columnGramDefect_polarSchulzStep). Cubic polar-step defect. For every real or complex rectangular matrix, the Gram defect \mathbf{E}=\mathbf{I}-\mathbf{X}^{\mathsf{H}}\mathbf{X} after one cubic step obeys \mathbf{E}_+=\frac14 \mathbf{E}^2(3\mathbf{I}+\mathbf{E}). [Higham2008, Β§8.3].

Lean statement and details
NLAlib.columnGramDefect_polarSchulzStep.{u_1, u_2, u_3} {π•œ : Type u_1} {m : Type u_2} {n : Type u_3}
  [RCLike π•œ] [Fintype m] [Fintype n] [DecidableEq n] (X : Matrix m n π•œ) :
  columnGramDefect (polarSchulzStep X) =
    (1 / 4) β€’ (columnGramDefect X ^ 2 * (3 β€’ 1 + columnGramDefect X))

Full source on GitHub

Copy link

Theorem (posSemidef_columnGramDefect_polarSchulzIterate). Positivity after the first inverse-free polar step. For an arbitrary rectangular input of spectral norm at most two, every subsequent Gram defect is positive semidefinite. [Higham2008, Β§8.3].

Lean statement and details
NLAlib.posSemidef_columnGramDefect_polarSchulzIterate.{u_1, u_2, u_3} {π•œ : Type u_1} {m : Type u_2}
  {n : Type u_3} [RCLike π•œ] [Fintype m] [Fintype n] [DecidableEq n] (A : Matrix m n π•œ)
  (hA : specNorm A ≀ 2) (k : β„•) : (columnGramDefect (polarSchulzIterate A (k + 1))).PosSemidef

Full source on GitHub

Copy link

Theorem (rank_polarSchulzIterate). Rank preservation by the inverse-free polar iteration. At initial spectral norm below \sqrt{3}, every Newton–Schulz iterate has the same rank as its input, including at rank zero. In particular a full-column-rank input retains full column rank. [Higham2008, Β§8.3].

Lean statement and details
NLAlib.rank_polarSchulzIterate.{u_1, u_2, u_3} {π•œ : Type u_1} {m : Type u_2} {n : Type u_3}
  [RCLike π•œ] [Fintype m] [Fintype n] [DecidableEq n] (A : Matrix m n π•œ) (hA : specNorm A < √3)
  (k : β„•) : (polarSchulzIterate A k).rank = A.rank

Full source on GitHub

Copy link

Theorem (specNorm_columnGramDefect_polarSchulzIterate_le_pow). Polar Gram defect rate. For any rectangular input with spectral norm at most two, the defect after k+1 steps is at most the first defect norm raised to 2^k. [Higham2008, Β§8.3].

Lean statement and details
NLAlib.specNorm_columnGramDefect_polarSchulzIterate_le_pow.{u_1, u_2, u_3} {π•œ : Type u_1}
  {m : Type u_2} {n : Type u_3} [RCLike π•œ] [Fintype m] [Fintype n] [DecidableEq n]
  (A : Matrix m n π•œ) (hA : specNorm A ≀ 2) (k : β„•) :
  specNorm (columnGramDefect (polarSchulzIterate A (k + 1))) ≀
    specNorm (columnGramDefect (polarSchulzIterate A 1)) ^ 2 ^ k

Full source on GitHub

Copy link

Theorem (specNorm_columnGramDefect_polarSchulzIterate_lt_one). Polar Gram defect below one. A full-column-rank input of spectral norm below \sqrt{3} has a strict Gram defect contraction after one or more steps. [Higham2008, Β§8.3].

Lean statement and details
NLAlib.specNorm_columnGramDefect_polarSchulzIterate_lt_one.{u_1, u_2, u_3} {π•œ : Type u_1}
  {m : Type u_2} {n : Type u_3} [RCLike π•œ] [Fintype m] [Fintype n] [DecidableEq n]
  (A : Matrix m n π•œ) (hA : specNorm A < √3) (hr : Function.Injective A.mulVec) (k : β„•) :
  specNorm (columnGramDefect (polarSchulzIterate A (k + 1))) < 1

Full source on GitHub

Copy link

Theorem (specNorm_columnGramDefect_polarSchulzIterate_succ_le). Quadratic Gram defect contraction. For any rectangular input of spectral norm at most two, each subsequent defect norm is at most the square of the preceding one. [Higham2008, Β§8.3].

Lean statement and details
NLAlib.specNorm_columnGramDefect_polarSchulzIterate_succ_le.{u_1, u_2, u_3} {π•œ : Type u_1}
  {m : Type u_2} {n : Type u_3} [RCLike π•œ] [Fintype m] [Fintype n] [DecidableEq n]
  (A : Matrix m n π•œ) (hA : specNorm A ≀ 2) (k : β„•) :
  specNorm (columnGramDefect (polarSchulzIterate A (k + 2))) ≀
    specNorm (columnGramDefect (polarSchulzIterate A (k + 1))) ^ 2

Full source on GitHub

Copy link

Theorem (specNorm_polarFactor_sub_polarSchulzIterate_le). Polar error controlled by the Gram defect. At initial spectral norm at most \sqrt{3}, the Gram defect bounds the distance of each subsequent iterate from the original polar factor, including rank-deficient inputs. [Higham2008, Β§8.3].

Lean statement and details
NLAlib.specNorm_polarFactor_sub_polarSchulzIterate_le.{u_1, u_2, u_3} {π•œ : Type u_1} {m : Type u_2}
  {n : Type u_3} [RCLike π•œ] [Fintype m] [Fintype n] [DecidableEq n] (A : Matrix m n π•œ)
  (hA : specNorm A ≀ √3) (k : β„•) :
  specNorm (polarFactor A - polarSchulzIterate A (k + 1)) ≀
    specNorm (columnGramDefect (polarSchulzIterate A (k + 1)))

Full source on GitHub

Copy link

Theorem (tendsto_polarSchulzIterate). Convergence of the inverse-free polar iteration. For every real or complex rectangular matrix of spectral norm below the square root of three, the cubic iterates converge to its canonical polar factor, including rank-deficient inputs. [Higham2008, Β§8.3].

Lean statement and details
NLAlib.tendsto_polarSchulzIterate.{u_1, u_2, u_3} {π•œ : Type u_1} {m : Type u_2} {n : Type u_3}
  [RCLike π•œ] [Fintype m] [Fintype n] [DecidableEq n] (A : Matrix m n π•œ) (hA : specNorm A < √3) :
  Filter.Tendsto (polarSchulzIterate A) Filter.atTop (𝓝 (polarFactor A))

Full source on GitHub

Copy link