Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3 — the recursion (A16) stays in [0,1][0,1][0,1] and is nondecreasing

Proved
PoSShares.Stability.lemma_3

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1recursion

Let ν>0\nu > 0ν>0 and θn≥0\theta_n \ge 0θn​≥0 for all n≥1n \ge 1n≥1. Define

α1=(θ1ν+θ1)2,αn+1=αn+(θn+1ν+∑k=1n+1θk)2(1−αn).\alpha_1 = \Big(\frac{\theta_1}{\nu + \theta_1}\Big)^2, \qquad \alpha_{n+1} = \alpha_n + \Big(\frac{\theta_{n+1}}{\nu + \sum_{k=1}^{n+1}\theta_k}\Big)^2 (1 - \alpha_n).α1​=(ν+θ1​θ1​​)2,αn+1​=αn​+(ν+∑k=1n+1​θk​θn+1​​)2(1−αn​).

Then for all n≥1n \ge 1n≥1,

αn∈[0,1]andαn≤αn+1.\alpha_n \in [0, 1] \quad \text{and} \quad \alpha_n \le \alpha_{n+1}.αn​∈[0,1]andαn​≤αn+1​.

Applied with ν=N0\nu = N_0ν=N0​ and θ=R\theta = Rθ=R, it shows that the variance sequence ata_tat​ is bounded and has a limit.

Preamble
import Mathlib
import Definitions.Def_PoSShares_Stability_Model
import Definitions.Def_PoSShares_Stability_VarianceSeq

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace PoSShares.Stability

/-- **Lemma 3, (A16)**, pp. 20–21. Roşu, Saleh, *Evolution of Shares in a Proof-of-Stake Cryptocurrency*, author's manuscript of
July 30, 2020 (sha256 90d9c06b…2b35eb).

Let `ν > 0` and `θ_n ≥ 0` for all `n ∈ ℕ₊`. Define `α_1 = (θ_1/(ν + θ_1))^2` and
`α_{n+1} = α_n + (θ_{n+1}/(ν + Σ_{k=1}^{n+1} θ_k))^2 (1 − α_n)` (`alphaSeq`). Then for all
`n ∈ ℕ₊`, `α_n ∈ [0, 1]` and `α_n ≤ α_{n+1}`. -/
theorem lemma_3 (ν : ℝ) (θ : ℕ → ℝ) (hν : 0 < ν) (hθ : ∀ n : ℕ, 1 ≤ n → 0 ≤ θ n) :
    ∀ n : ℕ, 1 ≤ n →
      alphaSeq ν θ n ∈ Set.Icc (0 : ℝ) 1 ∧ alphaSeq ν θ n ≤ alphaSeq ν θ (n + 1) := by sorry

end PoSShares.Stability
Source
Roşu, Saleh, Evolution of Shares in a Proof-of-Stake Cryptocurrency, author's manuscript of July 30, 2020 (sha256 90d9c06b…2b35eb), pp. 20–21, Lemma 3, (A16)
Human review
  • Endorsed by Shuze Chen · Oct 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 18, 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