Left to Solve
Problems / MathOverflow (not formalized)

Non-singular matrix with restricted entries

Open, not yet stated in LeanMathOverflow (not formalized)Number TheoryCombinatoricsdifficulty55/100

Statement

Given a set of integers with , let us consider the set of all the symmetric matrices , such that:

• All the diagonal entries of are equal to .

• All the off-diagonal entries of are from .

Obviously, if only consists of numbers divisible by a prime number , then a is always non-singular. This can be seen by either analyzing its rank over , or just expanding its determinant.

Now, the question is, is it true that every such that all satisfiable are non-singular must be a subset of for some prime ?

I feel that this must have been studied in the literature but was not able to find it after extensive search. A natural thing to try first is for , one can actually construct the following singular (symmetric) matrix:

\begin{bmatrix} (k+1)J_k-kI_k & kJ_k\\ kJ_k & (k+1)J_k-kI_k\\ \end{bmatrix}

It is singular because the sum of the first rows is equal to the sum of the last rows.

Posed by Hao · nt.number-theory, co.combinatorics, linear-algebra, 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-376135.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-376135.lean

import Mathlib

/-!
# Non-singular matrix with restricted entries

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_376135