Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1(b) — rank(I − Q) + rank Q* = S

Proved
BlackwellDiscreteDP.NearOne.lemma_1b

by mikedeng1 · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

limiting-matrixmarkov-chainp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let QQQ be any S×SS\times SS×S Markov matrix and Q∗Q^*Q∗ its Cesàro limit matrix. Then

rank⁡(I−Q)+rank⁡Q∗=S.\operatorname{rank}(I-Q)+\operatorname{rank}Q^*=S.rank(I−Q)+rankQ∗=S.

Equivalently, the dimension of the space of vectors fixed by QQQ equals the rank of Q∗Q^*Q∗; this is the linear-algebraic fact behind the unique solvability in Lemma 1(c).

Preamble
import Mathlib
import Definitions.Def_BlackwellDiscreteDP_NearOne_LimitMatrix
open Filter Topology Matrix
Formal statement
namespace BlackwellDiscreteDP.NearOne

/-- **Lemma 1(b).** For any `S × S` Markov matrix `Q`, `rank (I − Q) + rank Q* = S`.

Blackwell, Discrete Dynamic Programming, Ann. Math. Statist. 33(2):719–726 (1962),
DOI 10.1214/aoms/1177704593, p. 721, Lemma 1(b).

**Formalization Note.** `S = Fintype.card n`; ranks are `Matrix.rank` over `ℝ`. -/
theorem lemma_1b {n : Type*} [Fintype n] [DecidableEq n] [Nonempty n]
    (Q : Matrix n n ℝ) (hQ : IsMarkovMatrix Q) :
    (1 - Q).rank + (limitMatrix Q).rank = Fintype.card n := by sorry

end BlackwellDiscreteDP.NearOne
Source
Blackwell, Discrete Dynamic Programming, Ann. Math. Statist. 33(2):719–726 (1962), DOI 10.1214/aoms/1177704593, p. 721, Lemma 1(b)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 2026

    Confirmed by the mission captain (proposal self-audit).

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me