Theorem 38: normalized power iteration converges
OpenQAlgorithms.Papers.Independent.Extend50.P27.theorem38Let be a real matrix on a nonempty finite index set. Assume is symmetric positive semidefinite and primitive, including entrywise nonnegativity. Let and , and define
Every output coordinate and normalization denominator is strictly positive. There is a positive sum-normalized Perron vector , with , and
This gives convergence of both the approximate eigenvector and approximate spectral radius, with the source's sum normalization.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P27
noncomputable section
open scoped Matrix ComplexConjugate ComplexOrder
open Filter Topology
open QAlgorithms.Schur
namespace QAlgorithms.Papers.Independent.Extend50.P27
open QAlgorithms.Papers.Independent.Renew46.P26 (deleteLast)
open QAlgorithms.Papers.Independent.Gap20.P01 (spechtMatrix)
open QAlgorithms.Papers.Independent.Claimed50.P28 (traceInput)
attribute [local instance] Classical.propDecidable
/-- Theorem 38, both convergence claims and well-definedness of every normalization
(PDF pp.27–28). PSD includes symmetry; primitive includes nonnegativity. The
printed r(M) is r(A), and v_(m+1) avoids the undefined initial v_0. -/
theorem theorem38 {I : Type*} [Fintype I] [DecidableEq I] [Nonempty I]
(A : Matrix I I ℝ) (hPSD : A.PosSemidef) (hprimitive : A.IsPrimitive)
(w0 : I → ℝ) (hw0pos : ∀ i, 0 < w0 i) (hw0sum : ∑ i, w0 i = 1) :
∃ x : I → ℝ,
(∀ i, 0 < x i) ∧ (∑ i, x i) = 1 ∧ A *ᵥ x = topValue A • x ∧
(spectralRadius ℝ A).toReal = topValue A ∧
(∀ m, (∀ i, 0 < powerOutput A w0 m i) ∧ 0 < ∑ i, powerOutput A w0 m i) ∧
Tendsto (powerIterate A w0) atTop (nhds x) ∧
Tendsto (fun m => ∑ j, powerOutput A w0 m j) atTop (nhds (topValue A)) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P27
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every finite, nonempty index type with decidable equality, every real matrix indexed by that is positive semidefinite and primitive, and every real vector satisfying for all and , define
where is the spectrum over , and division is total, with division by zero equal to . Then there exists a real vector such that
For every natural number , including , every coordinate is strictly positive and . Furthermore,
Here the spectral radius is initially an extended nonnegative real number, and its conversion to a real number sends to .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.