Left to Solve
Problems / MathOverflow (not formalized)

Given a low-rank symmetric positive semidefinite matrix and a basis of its nullspace, is there a fast way to get the nonzero eigenvalues?

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

Statement

I have a (possibly dense) real matrix , a type of combinatorial Laplacian (self-adjoint, symmetric, positive semidefinite) of rank and possibly repeated nonzero eigenvalues. Suppose I have obtained a basis for the nullspace of through other means, which has vectors.

I want the least nonzero eigenvalues of . Because is singular, many standard methods give a great deal of trouble for my computation.

For example, I have a matrix with rank (null space dimension ). Computing the eigenvalues of this with the C++ package Eigen's SelfAdjointEigenSolver for eigenvalues only, which uses a symmetric QR algorithm. This computation takes hours on a reasonable processor (HPC node, not sure of exact specs, and definitely not memory-constrained). I have tried the Spectra C++ library, which uses an implicitly restarted Arnoldi/Lanczos method, but this tends to be unstable, even when using shift-and-invert tricks (shift by small nonzero number).

Meanwhile through the matlab web interface I can compute all eigenvalues of a random matrix in about seconds. It is sometimes …

Posed by Ben Jones · linear-algebra, eigenvalues, spectral-graph-theory

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-465882.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-465882.lean

import Mathlib

/-!
# Given a low-rank symmetric positive semidefinite matrix and a basis of its nullspace, is there a fast way to get the nonzero eigenvalues?

Source: https://mathoverflow.net/questions/465882
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_465882

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

theorem main : sorry := by
  sorry

end OMA.S_mo_465882