Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion LeanEval/LinearAlgebra/PerronFrobenius.lean
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ A Perron-Frobenius style statement for irreducible nonnegative real matrices.
Mathlib already exposes irreducibility of nonnegative matrices via `Matrix.IsIrreducible`, and
spectral radius via `spectralRadius`.
The `[Nonempty n]` assumption is necessary: for `n = Empty`, `Matrix.IsIrreducible` is vacuous,
but `Module.End.HasEigenvector` still requires a nonzero vector.
-/

@[eval_problem]
theorem irreducible_nonnegative_matrix_has_positive_eigenvector_at_spectralRadius
{n : Type*} [Fintype n] [DecidableEq n]
{n : Type*} [Fintype n] [DecidableEq n] [Nonempty n]
(A : Matrix n n ℝ)
(hA : A.IsIrreducible) :
∃ v : n → ℝ,
Expand Down
Loading