Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition B.1, p. 43 — at a fixed active set, ∂π*_i/∂c_i < 0 and ∂π*_i/∂c_j > 0

Proved
PoWMining.Investment.proposition_B_1

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

comparative-staticsmining-gamep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1profit

Let n≥2n\ge2n≥2 miners be active with costs c1,…,cn>0c_1,\dots,c_n>0c1​,…,cn​>0, reward R>0R>0R>0 and capacity parameter γ≥0\gamma\ge0γ≥0, and let ggg, fif_ifi​ and πi∗=Rgfi−cifi−γ2fi2\pi^*_i=\frac{R}{g}f_i-c_if_i-\frac{\gamma}{2}f_i^2πi∗​=gR​fi​−ci​fi​−2γ​fi2​ be the closed forms of (B.3). Assume all nnn miners are active, i.e. R−ckg>0R-c_kg>0R−ck​g>0 for every kkk. Then, for every miner iii and every other miner j≠ij\ne ij=i, the profit πi∗\pi^*_iπi∗​ is differentiable in cic_ici​ and in cjc_jcj​ (the other costs held fixed), and

∂πi∗∂ci<0,∂πi∗∂cj>0.\frac{\partial\pi^*_i}{\partial c_i}<0,\qquad \frac{\partial\pi^*_i}{\partial c_j}>0 .∂ci​∂πi∗​​<0,∂cj​∂πi∗​​>0.

So, as long as the set of active miners does not change, a miner's equilibrium profit falls when its own cost rises and rises when a rival's cost rises. The proof of Proposition 5.1 uses this to argue that an active miner invests to minimize its own cost.

Formalization Note Each partial derivative is the derivative of t↦πi∗(c1,…,t,…,cn)t\mapsto\pi^*_i(c_1,\dots,t,\dots,c_n)t↦πi∗​(c1​,…,t,…,cn​) at t=cit=c_it=ci​ (resp. cjc_jcj​), stated as HasDerivAt with an existentially quantified value of the stated sign, so a non-differentiable point cannot make the claim hold by Lean's junk value of deriv. The derivative is local, at a fixed active set, as printed. Lean indices are 0-based.

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

/-- Proposition B.1 (p. 43): for `n ≥ 2` active miners with costs `c : Fin n → ℝ`, all active
(`R - c_k g > 0` for every `k`), the equilibrium profit `π*_i` of (B.3) strictly decreases in
the own cost `c_i` and strictly increases in every rival cost `c_j`, `j ≠ i` (derivatives at a
fixed active set). -/
theorem proposition_B_1 {n : ℕ} (c : Fin n → ℝ) (γ R : ℝ) (hn : 2 ≤ n) (hR : 0 < R)
    (hγ : 0 ≤ γ) (hc : ∀ k, 0 < c k) (hact : ∀ k, 0 < R - c k * PoWMining.CostStatics.gH c γ R) (i : Fin n) :
    (∃ d : ℝ, HasDerivAt (fun t => profitH (Function.update c i t) γ R i) d (c i) ∧ d < 0) ∧
    (∀ j : Fin n, j ≠ i →
      ∃ d : ℝ, HasDerivAt (fun t => profitH (Function.update c j t) γ R i) d (c j) ∧ 0 < d) := by sorry

end PoWMining.Investment
Source
Capponi, Ólafsson & Alsabah, Proof-of-Work Cryptocurrencies: Does Mining Technology Undermine Decentralization?, arXiv:2106.09783v1, p. 43, Proposition B.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