Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(B.2), p. 39 — ∂H*/∂γ = −(H*)²/(c⁽ⁿ⁾ + 2γH*) < 0 and ∂H*/∂R = (n − 1)/(c⁽ⁿ⁾ + 2γH*) > 0

Proved
PoWMining.CapacityStatics.aggregate_derivatives

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

aggregate-hash-ratecomparative-staticsmining-gamep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let nnn active miners have costs c1≤⋯≤cnc_1\le\dots\le c_nc1​≤⋯≤cn​, all positive, with n≥2n\ge2n≥2, reward R>0R>0R>0, capacity parameter γ>0\gamma>0γ>0, and all miners active (R−ckg>0R-c_kg>0R−ck​g>0). Write c(n)=c1+⋯+cnc^{(n)} = c_1+\dots+c_nc(n)=c1​+⋯+cn​, H∗=g(c,γ,R)H^* = g(c,\gamma,R)H∗=g(c,γ,R) for the aggregate hash rate of (B.3), and S=(c(n))2+4(n−1)RγS = \sqrt{(c^{(n)})^2 + 4(n-1)R\gamma}S=(c(n))2+4(n−1)Rγ​. Then H∗H^*H∗ is differentiable in γ\gammaγ and in RRR, with

∂H∗∂γ=−(c(n))2+2(n−1)Rγ−c(n)S2γ2S=−(H∗)2c(n)+2γH∗<0,\frac{\partial H^*}{\partial\gamma} = -\frac{(c^{(n)})^2 + 2(n-1)R\gamma - c^{(n)}S}{2\gamma^2 S} = -\frac{(H^*)^2}{c^{(n)} + 2\gamma H^*} < 0,∂γ∂H∗​=−2γ2S(c(n))2+2(n−1)Rγ−c(n)S​=−c(n)+2γH∗(H∗)2​<0, ∂H∗∂R=n−1S=n−1c(n)+2γH∗>0.\frac{\partial H^*}{\partial R} = \frac{n-1}{S} = \frac{n-1}{c^{(n)} + 2\gamma H^*} > 0.∂R∂H∗​=Sn−1​=c(n)+2γH∗n−1​>0.

A tighter capacity constraint lowers the aggregate hash rate and a larger reward raises it. These derivatives are the factors ∂g/∂γ\partial g/\partial\gamma∂g/∂γ and ∂g/∂R\partial g/\partial R∂g/∂R of the indirect sensitivities in (B.4).

Formalization Note The standing assumptions (including sorting and activity, which these identities do not need) are those of the whole proof of Proposition 4.8. The cic_ici​-line of (B.2) is posed in mission 2 of this series.

Preamble
import Mathlib
import Definitions.Def_PoWMining_CapacityStatics_ClosedForms
Formal statement
namespace PoWMining.CapacityStatics
theorem aggregate_derivatives {n : ℕ} (c : Fin n → ℝ) (γ R : ℝ) (hS : Standing c γ R) :
    let C := PoWMining.CostStatics.cumCost c
    let g := PoWMining.CostStatics.gH c γ R
    let S := Real.sqrt (C ^ 2 + 4 * ((n : ℝ) - 1) * R * γ)
    HasDerivAt (fun x => PoWMining.CostStatics.gH c x R)
        (-((C ^ 2 + 2 * ((n : ℝ) - 1) * R * γ - C * S) / (2 * γ ^ 2 * S))) γ ∧
      -((C ^ 2 + 2 * ((n : ℝ) - 1) * R * γ - C * S) / (2 * γ ^ 2 * S)) = -(g ^ 2 / (C + 2 * γ * g)) ∧
      -(g ^ 2 / (C + 2 * γ * g)) < 0 ∧
    HasDerivAt (fun x => PoWMining.CostStatics.gH c γ x) (((n : ℝ) - 1) / S) R ∧
      ((n : ℝ) - 1) / S = ((n : ℝ) - 1) / (C + 2 * γ * g) ∧
      0 < ((n : ℝ) - 1) / (C + 2 * γ * g) := by sorry
end PoWMining.CapacityStatics
Source
Capponi, Ólafsson & Alsabah, Proof-of-Work Cryptocurrencies: Does Mining Technology Undermine Decentralization?, arXiv:2106.09783v1, p. 39, proof of Propositions 4.6 and 4.8, (B.2), second and third lines
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