Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(5.2), p. 22 — investing min{1/η,1} reduces the cost by (c̃_i − c̃_0)/(2η) or (1 − η/2)(c̃_i − c̃_0), and min{1/η,1} uniquely minimizes c_i on [0,1]

Proved
PoWMining.Investment.eq_5_2

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

cost-reductioninvestmentp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Under the standing assumptions of the investment model, let βˉ=min⁡{1/η,1}\bar\beta=\min\{1/\eta,1\}βˉ​=min{1/η,1} (equal to 111 when η=0\eta=0η=0) and let ci(βi)c_i(\beta_i)ci​(βi​) be the cost (3.1)–(3.2). Then the reduction in miner iii's cost-per-hash from investing βˉ\bar\betaβˉ​ is

Ii:=ci(0)−ci(βˉ)={12η(c~i−c~0),η>1,(1−η2)(c~i−c~0),η≤1.I_i:=c_i(0)-c_i(\bar\beta)=\begin{cases}\dfrac{1}{2\eta}(\tilde c_i-\tilde c_0), & \eta>1,\\[6pt] \Big(1-\dfrac{\eta}{2}\Big)(\tilde c_i-\tilde c_0), & \eta\le1.\end{cases}Ii​:=ci​(0)−ci​(βˉ​)=⎩⎨⎧​2η1​(c~i​−c~0​),(1−2η​)(c~i​−c~0​),​η>1,η≤1.​

Moreover βˉ∈[0,1]\bar\beta\in[0,1]βˉ​∈[0,1], and βˉ\bar\betaβˉ​ is the unique minimizer of b↦ci(b)b\mapsto c_i(b)b↦ci​(b) over [0,1][0,1][0,1]: ci(βˉ)<ci(b)c_i(\bar\beta)<c_i(b)ci​(βˉ​)<ci​(b) for every b∈[0,1]b\in[0,1]b∈[0,1] with b≠βˉb\ne\bar\betab=βˉ​.

The second part is the cost minimization the proof of Proposition 5.1 invokes on p. 44 ("the optimal investment of an active miner iii is obtained by minimizing the cost ci(βi)c_i(\beta_i)ci​(βi​)").

Formalization Note The cost after investment is evaluated at the constant profile βj=βˉ\beta_j=\bar\betaβj​=βˉ​; cic_ici​ depends only on βi\beta_iβi​. The uniqueness of the minimizer uses the standing addition c~0<c~i\tilde c_0<\tilde c_ic~0​<c~i​; without it cic_ici​ would be constant.

Preamble
import Mathlib
import Definitions.Def_PoWMining_Investment_Model
Formal statement
namespace PoWMining.Investment

/-- (5.2), p. 22: investing `min{1/η, 1}` reduces miner `i`'s cost-per-hash by
`(c̃_i - c̃_0)/(2η)` if `η > 1` and by `(1 - η/2)(c̃_i - c̃_0)` if `η ≤ 1`; moreover
`min{1/η, 1} ∈ [0, 1]` is the unique minimizer of `b ↦ c_i(b)` on `[0, 1]` (the cost
minimization used on p. 44). -/
theorem eq_5_2 {N : ℕ} (P : InvParams N) (hP : P.Standing) (i : Fin N) :
    cost P 0 i - cost P (fun _ => betaBar P) i =
        (if 1 < P.η then (P.ct i - P.c0) / (2 * P.η) else (1 - P.η / 2) * (P.ct i - P.c0)) ∧
      betaBar P ∈ Set.Icc (0 : ℝ) 1 ∧
      ∀ b ∈ Set.Icc (0 : ℝ) 1, b ≠ betaBar P →
        cost P (fun _ => betaBar P) i < cost P (fun _ => b) i := by sorry

end PoWMining.Investment
Source
Capponi, Ólafsson & Alsabah, Proof-of-Work Cryptocurrencies: Does Mining Technology Undermine Decentralization?, arXiv:2106.09783v1, p. 22, (5.2); p. 44, proof of Proposition 5.1
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

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