Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Balance at state 2

Proved
BitcoinSelfishMining.balance_two

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

bitcoineyal-sirerformal-verificationgame-theorymarkov-chainmathlibminingselfish-mining

For 0<α<1/20 < \alpha < 1/20<α<1/2: p2=αp1+(1−α)p3p_2 = \alpha p_1 + (1-\alpha)p_3p2​=αp1​+(1−α)p3​.

Preamble
import Definitions.Def_BitcoinSelfishMining
Formal statement
theorem BitcoinSelfishMining.balance_two (α : ℝ) (h0 : 0 < α) (h1 : α < 1 / 2) :
    BitcoinSelfishMining.stationary α (.lead 1) =
      α * BitcoinSelfishMining.stationary α (.lead 0)
        + (1 - α) * BitcoinSelfishMining.stationary α (.lead 2) := by sorry
Source
I. Eyal, E. G. Sirer, Majority is not Enough: Bitcoin Mining is Vulnerable, Financial Cryptography 2014, arXiv:1311.0243, Section 4 (Figure 1, equations (7)-(11)): https://arxiv.org/abs/1311.0243
Read-back

What the Lean code literally says, in plain math · claude-fable-5-1 (independent sub-agent, blind: Lean code + auditor instructions only)

Read-back: BitcoinSelfishMining.balance_two

Let α\alphaα be a real number with 0<α0<\alpha0<α and α<12\alpha<\tfrac12α<21​ (both hypotheses named and usable). Then

πα(lead1)  =  α⋅πα(lead0)  +  (1−α)⋅πα(lead2).\pi_\alpha(\mathrm{lead}_1) \;=\; \alpha\cdot\pi_\alpha(\mathrm{lead}_0) \;+\; (1-\alpha)\cdot\pi_\alpha(\mathrm{lead}_2).πα​(lead1​)=α⋅πα​(lead0​)+(1−α)⋅πα​(lead2​).

Here πα\pi_\alphaπα​ is the custom family stationary α\alphaα, whose lead values are

πα(leadm)=(α1−α)m⋅α−2α2D(α),D(α)=2α3−4α2+1,\pi_\alpha(\mathrm{lead}_m) = \left(\frac{\alpha}{1-\alpha}\right)^{m}\cdot\frac{\alpha-2\alpha^2}{D(\alpha)},\qquad D(\alpha)=2\alpha^3-4\alpha^2+1,πα​(leadm​)=(1−αα​)m⋅D(α)α−2α2​,D(α)=2α3−4α2+1,

with real division by zero equal to 000 (if D(α)=0D(\alpha)=0D(α)=0 every term is 000). Writing c=(α−2α2)/D(α)c=(\alpha-2\alpha^2)/D(\alpha)c=(α−2α2)/D(α) and ρ=α/(1−α)\rho=\alpha/(1-\alpha)ρ=α/(1−α) (well defined as a genuine quotient since α<12\alpha<\tfrac12α<21​ gives 1−α≠01-\alpha\neq 01−α=0), the statement unfolds to

ρ c  =  α⋅c  +  (1−α) ρ2 cfor every α∈(0,12).\rho\,c \;=\; \alpha\cdot c \;+\; (1-\alpha)\,\rho^{2}\,c \qquad\text{for every }\alpha\in(0,\tfrac12).ρc=α⋅c+(1−α)ρ2cfor every α∈(0,21​).

No transition probabilities and no γ\gammaγ appear.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by pitimespi · 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