Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2, (A11) — Var(πt+1)=at+1 π0(1−π0)\mathrm{Var}(\pi_{t+1}) = a_{t+1}\,\pi_0(1-\pi_0)Var(πt+1​)=at+1​π0​(1−π0​)

Proved
PoSShares.Stability.lemma_2

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1proof-of-stakevariance

In the PoS model, for every t≥0t \ge 0t≥0 the unconditional variance of the investor's share at t+1t+1t+1 is

Var(πt+1)=at+1 π0(1−π0),π0=n0N0,\mathrm{Var}(\pi_{t+1}) = a_{t+1}\,\pi_0(1 - \pi_0), \qquad \pi_0 = \frac{n_0}{N_0},Var(πt+1​)=at+1​π0​(1−π0​),π0​=N0​n0​​,

where a1=(R1/N1)2a_1 = (R_1/N_1)^2a1​=(R1​/N1​)2 and at+1=at+(Rt+1/Nt+1)2(1−at)a_{t+1} = a_t + (R_{t+1}/N_{t+1})^2(1 - a_t)at+1​=at​+(Rt+1​/Nt+1​)2(1−at​) is the sequence (A12).

It reduces every question about the spread of the shares to the deterministic sequence ata_tat​.

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 2, (A11)–(A12)**, p. 20. Roşu, Saleh, *Evolution of Shares in a Proof-of-Stake Cryptocurrency*, author's manuscript of
July 30, 2020 (sha256 90d9c06b…2b35eb).

The unconditional variance of the investor's share at `t + 1` is
`Var(π_{t+1}) = a_{t+1} π_0 (1 − π_0)`, where `a_1 = (R_1/N_1)^2` and
`a_{t+1} = a_t + (R_{t+1}/N_{t+1})^2 (1 − a_t)` (`aSeq`).

**Formalization Note.** `π_0 = n_0 / N_0`. `Var` is Mathlib's `variance`; the shares are bounded,
so it is the true variance. -/
theorem lemma_2 {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
    (M : Model Ω) (hPoS : IsPoS μ M) (t : ℕ) :
    variance (share M (t + 1)) μ =
      aSeq M.N₀ M.R (t + 1) * (M.n₀ / M.N₀ * (1 - M.n₀ / M.N₀)) := 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. 20, Lemma 2, (A11)–(A12)
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