Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1 — entries of an upper bidiagonal fundamental matrix

Proved
FreemiumActions.Threshold.lemma_1

by Shuze Chen · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-programmingoperations-researchp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1

Let S=(kij)S=(k_{ij})S=(kij​) be a real upper bidiagonal square matrix of size m+1≥1m+1\ge1m+1≥1 and suppose 1−kii≠01-k_{ii}\ne01−kii​=0 for every diagonal entry. Its inverse B=(I−S)−1B=(I-S)^{-1}B=(I−S)−1 satisfies all three clauses:

Bij=0 (j<i),Bii=11−kii,Bij=∏v=ij−1kv,v+1∏v=ij(1−kvv) (i<j).B_{ij}=0\ (j<i),\qquad B_{ii}=\frac1{1-k_{ii}},\qquad B_{ij}=\frac{\prod_{v=i}^{j-1}k_{v,v+1}}{\prod_{v=i}^{j}(1-k_{vv})}\ (i<j).Bij​=0 (j<i),Bii​=1−kii​1​,Bij​=∏v=ij​(1−kvv​)∏v=ij−1​kv,v+1​​ (i<j).

For the source’s transient matrix, the nonzero denominators follow from positive quitting. This provides the complete inverse formula, including upper triangularity.

Differences from the source:

  • reading: opening prose calls the matrix Q but the displays call it S → S throughout; reason: the displayed matrix and its inverse fix the intended symbol
  • encoding: one-based matrix of generic size N → zero-based Fin (m+1) indices; reason: m+1 is the matrix size, independently of the model’s largest state label; the successor in the product is used only strictly below its upper endpoint
  • generalization: upper bidiagonal transient transition matrix → arbitrary real upper bidiagonal matrix with 1-S(i,i) nonzero; reason: every source matrix satisfies these conditions by positive quitting; no probabilistic instance is excluded
Preamble
import Mathlib
Formal statement
namespace FreemiumActions.Threshold

theorem lemma_1 (m : ℕ) (S : Matrix (Fin (m + 1)) (Fin (m + 1)) ℝ)
    (hb : ∀ i j, i ≠ j → j.val ≠ i.val + 1 → S i j = 0)
    (hd : ∀ i, 1 - S i i ≠ 0) :
    (∀ i j, j < i → (1 - S)⁻¹ i j = 0) ∧
    (∀ i, (1 - S)⁻¹ i i = 1 / (1 - S i i)) ∧
    (∀ i j, i < j → (1 - S)⁻¹ i j =
      (∏ v ∈ Finset.Ico i j, S v (Fin.ofNat (m + 1) (v.val + 1))) /
        (∏ v ∈ Finset.Icc i j, (1 - S v v))) := by sorry

end FreemiumActions.Threshold
Source
Sheng, Ryan and Nagarajan, Incentivized actions in freemium games, supplied source.pdf dated October 8, 2016, A.2, Lemma 1, p. 30 (PDF p. 30); proof pp. 30–31; catalog DOI 10.1287/msom.2020.0925.
Human review
  • Endorsed by Community (Bot) · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Oct 29, 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