Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6 — lim⁡NVar(π1,∞)=0\lim_N \mathrm{Var}(\pi_{1,\infty}) = 0limN​Var(π1,∞​)=0 implies lim⁡NP(∣π1,∞−π1∣≥ε)=0\lim_N \mathbb{P}(|\pi_{1,\infty}-\pi_1| \ge \varepsilon) = 0limN​P(∣π1,∞​−π1​∣≥ε)=0

Proved
PoSShares.Stability.lemma_6

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

chebyshevp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1proof-of-stake

Consider PoS models indexed by the initial number of coins N∈NN \in \mathbb{N}N∈N, all on one probability space, where model N≥1N \ge 1N≥1 has initial supply N0=NN_0 = NN0​=N and investor 1 starts with the fixed share π1\pi_1π1​ (endowment n0=π1Nn_0 = \pi_1 Nn0​=π1​N). Let π1,∞\pi_{1,\infty}π1,∞​ (depending on NNN) be a measurable almost-sure limit of her share. The rewards are arbitrary. If

lim⁡N→∞Var(π1,∞)=0,(A27)\lim_{N \to \infty} \mathrm{Var}(\pi_{1,\infty}) = 0, \qquad \text{(A27)}N→∞lim​Var(π1,∞​)=0,(A27)

then for every ε>0\varepsilon > 0ε>0,

lim⁡N→∞P(∣π1,∞−π1∣≥ε)=0.(A28)\lim_{N \to \infty} \mathbb{P}\big(|\pi_{1,\infty} - \pi_1| \ge \varepsilon\big) = 0. \qquad \text{(A28)}N→∞lim​P(∣π1,∞​−π1​∣≥ε)=0.(A28)

This is the Chebyshev step that turns a vanishing variance into concentration of the limiting share at the initial share.

Formalization Note. The model with index 000 is constrained only by n0=π1N0n_0 = \pi_1 N_0n0​=π1​N0​. The limit π1,∞\pi_{1,\infty}π1,∞​ is bounded, so its variance is the true variance.

Preamble
import Mathlib
import Definitions.Def_PoSShares_Stability_Model

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace PoSShares.Stability

/-- **Lemma 6, (A27)–(A28)**, p. 23. Roşu, Saleh, *Evolution of Shares in a Proof-of-Stake Cryptocurrency*, author's manuscript of
July 30, 2020 (sha256 90d9c06b…2b35eb).

Consider the family of models indexed by the initial number of coins `N`, with the tracked
investor's initial share fixed at `π_1` (endowment `π_1 N`), and let `π_{1,∞}` be the
almost-sure limit of her share (Proposition 1). The condition `lim_{N→∞} Var(π_{1,∞}) = 0` implies
that for any `ε > 0`, `lim_{N→∞} P(|π_{1,∞} − π_1| ≥ ε) = 0`.

**Formalization Note.** All models of the family live on one probability space; the model with
index `N ≥ 1` has `N_0 = N` (the index-0 model is constrained only by `n_0 = π_1 N_0`). The
endowment `π_1 N` is real. The limit `π_{1,∞}` is any measurable almost-sure limit of the shares;
it is bounded, so its variance is the true variance. Rewards are arbitrary (Lemma 6 does not use the
reward rule). -/
theorem lemma_6 {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
    (π₁ : ℝ) (M : ℕ → Model Ω) (hPoS : ∀ N, IsPoS μ (M N))
    (hN : ∀ N : ℕ, 1 ≤ N → (M N).N₀ = N) (hn : ∀ N, (M N).n₀ = π₁ * (M N).N₀)
    (πinf : ℕ → Ω → ℝ) (hmeas : ∀ N, Measurable (πinf N))
    (hlim : ∀ N, ∀ᵐ ω ∂μ, Tendsto (fun t => share (M N) t ω) atTop (𝓝 (πinf N ω)))
    (hvar : Tendsto (fun N => variance (πinf N) μ) atTop (𝓝 0)) :
    ∀ ε : ℝ, 0 < ε →
      Tendsto (fun N => μ.real {ω | ε ≤ |πinf N ω - π₁|}) atTop (𝓝 0) := 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), p. 23, Lemma 6, (A27)–(A28)
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