Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1 — a sub-majority threshold for negative attack cost

Proved
MajorityAttack.NegCost.lemma_1

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

blockchainmajority-attackmining-costsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1proof-of-work

Let H,τ,L>0H,\tau,\mathcal L>0H,τ,L>0 and suppose the attack-chain reward per block strictly exceeds the incumbent reward, ρ~>ρ\widetilde\rho>\rhoρ​>ρ. For a nondecreasing convex mining cost on nonnegative hash powers and an attained attack-chain profit maximizer h~A\widetilde h_AhA​, there exists a threshold h^\widehat hh with 0<h^<H/20<\widehat h<H/20<h<H/2 such that every incumbent power h∗≥h^h^*\ge\widehat hh∗≥h has strictly negative net attack cost:

∃ h^∈(0,H/2)∀h∗≥h^,Cnet(h∗,h~A)<0.\exists\,\widehat h\in(0,H/2)\quad\forall h^*\ge\widehat h,\quad C_{\rm net}(h^*,\widetilde h_A)<0.∃h∈(0,H/2)∀h∗≥h,Cnet​(h∗,hA​)<0.

The threshold applies to a continuum of possible incumbent powers. It is the economic cost result combined with the fee comparison in Proposition 1.

Formalization Note Convexity on [0,∞)[0,\infty)[0,∞) and attainment of h~A\widetilde h_AhA​ are explicit additions needed for the attack-profit model. The incumbent power is a free nonnegative value, which strengthens the paper's version where h∗h^*h∗ is a pre-attack optimum.

Preamble
import Mathlib
import Definitions.Def_MajorityAttack_NegCost_Model
Formal statement
namespace MajorityAttack.NegCost

/-- Lemma 1, p. 11: a uniform sub-majority incumbent threshold for negative attack cost. -/
theorem lemma_1 (τ H L ρ ρt : ℝ) (c : ℝ → ℝ) (htil : ℝ)
    (hτ : 0 < τ) (hH : 0 < H) (hL : 0 < L) (hreward : ρ < ρt)
    (hc : CostStanding c) (hopt : IsAttackOptimum (τ * H) ρt c htil) :
    ∃ hhat : ℝ, 0 < hhat ∧ hhat < H / 2 ∧
      ∀ hstar : ℝ, hhat ≤ hstar → netCost τ H L ρ ρt c htil hstar < 0 := by sorry

end MajorityAttack.NegCost
Source
Gans & Halaburda, “Zero Cost” Majority Attacks on Permissionless Blockchains, arXiv:2308.06568v1, p. 11, Lemma 1
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

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