Left to Solve
Problems / MathOverflow (not formalized)

Algorithm to check a conjectural value for the rank of a large matrix

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

Statement

Feel free to suggest a different title, I'm not sure how to phrase this. I'm in the following somewhat specific situation:

I'm checking a conjecture which at the end of the day boils down to the computation of the rank of a large but very very sparse matrix with integer coefficients. The matrix is rectangular, of size roughly for a somewhat scary value of . Crucially, I know an upper bound for that rank, and crucially again the conjecture I'm trying to verify state that the rank is, in fact, exactly . The bad news is that the conjectural is pretty close to (ie is more than a million, while is expected to be 34...)

What is the cleverest algorithm to check this ?

A fairly usual trick is to work modulo some small prime since it can only decreases the rank (so that if I do find exactly I know I'm done). Another idea is that it would be enough to find, maybe randomly, linearly independent rows or columns, and if was much smaller than I think it would indeed be much more efficient than actually computing the rank, but in my situation I'm not entirely sure it would. In particular, I'm wondering if there's a known way to …

Posed by Adrien · linear-algebra, matrices, numerical-linear-algebra, sparse-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-342016.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-342016.lean

import Mathlib

/-!
# Algorithm to check a conjectural value for the rank of a large matrix

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_342016