Left to Solve
Problems / MathOverflow (not formalized)

Special considerations when using the Woodbury matrix identity numerically

Open, not yet stated in LeanMathOverflow (not formalized)General Algebradifficulty55/100

Statement

Are there any special considerations when using the Woodbury matrix identity numerically? What is the best metric for numerical stability in this case? Can anyone point me to a good reference?

The special case of the identity that I'm using is:

I'm using the identity to speed up a matrix inverse. In my case is diagonal, and is rectangular by a factor that varies between 10 and 200. I'm using a sparse form for .

This is failing catastrophically for me. Normal inversion seems stable for condition number of the LHS well beyond , while the identity is failing around condition number of (everything in double precision). However, condition number of the LHS doesn't seem to be the best metric for when things fail, as I can arrange cases where the failure happens at much higher or lower condition number.

Also, if there is another way to compute this inverse fast, I'm open to suggestions.

Thanks in advance!

Update:

To answer a few questions: yes the dimensions of are much less than the dimensions of and both are symmetric and positive definite.

I've checked and the matrices …

Posed by Kiyo · linear-algebra, na.numerical-analysis, matrices

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-80340.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-80340.lean

import Mathlib

/-!
# Special considerations when using the Woodbury matrix identity numerically

Source: https://mathoverflow.net/questions/80340
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_80340

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_80340