Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Perron-Frobenius for entrywise nonnegative irreducible matrices

Proved
ClassicalGaps.frobenius_irreducible

by lisamegawatts · Sep 18, 2026 · Mathlib c5ea003 (Lean v4.30.0)

linear-algebramatricesperron-frobeniusspectral-theory

For an entrywise nonnegative irreducible real n×nn \times nn×n matrix AAA there exist a real number μ>0\mu > 0μ>0 and a strictly positive vector vvv with Av=μvAv = \mu vAv=μv, and every complex eigenvalue λ\lambdaλ of AAA satisfies ∣λ∣≤μ|\lambda| \le \mu∣λ∣≤μ.

Preamble
import Mathlib.LinearAlgebra.Charpoly.Basic
import Mathlib.Data.Complex.Basic
import Mathlib.Data.Matrix.Mul
import Mathlib.LinearAlgebra.Matrix.Irreducible.Defs
Formal statement
theorem ClassicalGaps.frobenius_irreducible {n : Type*} [Fintype n] [Nonempty n] [DecidableEq n]
    (A : Matrix n n ℝ) (hA : A.IsIrreducible) :
    ∃ (μ : ℝ) (v : n → ℝ),
      0 < μ ∧ (∀ i, 0 < v i) ∧ Matrix.mulVec A v = μ • v ∧
        ∀ z : ℂ, (A.charpoly.map Complex.ofRealHom).IsRoot z → z.re * z.re + z.im * z.im ≤ μ * μ := by sorry
Source
G. Frobenius, Über Matrizen aus nicht negativen Elementen, Sitzungsber. Königl. Preuss. Akad. Wiss. (1912); see https://en.wikipedia.org/wiki/Perron%E2%80%93Frobenius_theorem

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me