Left to Solve
Problems / MathOverflow (not formalized)

Second eigenvalue of primitive matrix

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

Statement

Let be a primitive -matrix with positive entries, that is there is such that for all . For brevity, assume the entries consist only of and .

The Perron-Frobenius theorem gives, among other things, a distinguished eigenvalue that is simple and for all the other eigenvalues it holds that .

I would like to ask if there is a characterization of matrices (or associated strongly connected graphs) for which it holds that , for every ? Thanks!

Posed by Curious · graph-theory, markov-chains, spectral-graph-theory, symbolic-dynamics

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

import Mathlib

/-!
# Second eigenvalue of primitive matrix

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_462876