Skip to content

Fix Perron-Frobenius index nonemptiness#139

Open
A-M-Berns wants to merge 1 commit intoleanprover:mainfrom
A-M-Berns:fix-perron-frobenius-nonempty
Open

Fix Perron-Frobenius index nonemptiness#139
A-M-Berns wants to merge 1 commit intoleanprover:mainfrom
A-M-Berns:fix-perron-frobenius-nonempty

Conversation

@A-M-Berns
Copy link
Copy Markdown

Fixes a statement issue in the Perron-Frobenius benchmark.

As currently stated, the theorem is false for n = Empty. In that case, (0 : Matrix Empty Empty ℝ).IsIrreducible is provable because the nonnegativity and strong-connectivity fields are vacuous. But the conclusion asks for a Module.End.HasEigenvector, and HasEigenvector requires the vector to be nonzero; no function Empty → ℝ can be nonzero.

This PR adds [Nonempty n], matching the intended finite nonempty matrix statement.

Verified with:

lake build LeanEval.LinearAlgebra.PerronFrobenius

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant