Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1 — a sub-majority active miner can make no-attack equilibrium impossible at zero private benefit

Proved
MajorityAttack.NegCost.proposition_1

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

blockchainmajority-attackp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1proof-of-worktransaction-fees

Consider finitely many miners with nonnegative incumbent hash powers totaling H>0H>0H>0. Let τ>0\tau>0τ>0 be the target block interval, L>0\mathcal L>0L>0 the expected attack duration, and RRR the common block reward. Transaction fees are independent with a common nonnegative, non-degenerate, integrable law μ\muμ. A block holds b≥1b\ge1b≥1 transactions; an honest block has n>bn>bn>b available transactions and a slower attack block has n′>nn'>nn′>n. Each miner has a nondecreasing convex cost and an attained optimizer of its attack-chain flow profit.

There is a threshold 0<h^<H/20<\widehat h<H/20<h<H/2, chosen from these model data before the incumbent allocation, such that if some active miner has hi∗>h^h_i^*>\widehat hhi∗​>h, then no no-attack equilibrium satisfies every active miner's attack incentive constraint, even when the private attack benefit is zero:

∃ h^∈(0,H/2)∀(hi∗)i with ∑ihi∗=H,(i active, hi∗>h^)⟹¬NoAttackEquilibrium⁡(V)(V≥0).\exists\,\widehat h\in(0,H/2)\quad\forall(h_i^*)_i\text{ with }\sum_i h_i^*=H,\quad \bigl(i\text{ active},\ h_i^*>\widehat h\bigr)\Longrightarrow\neg\operatorname{NoAttackEquilibrium}(V)\quad(V\ge0).∃h∈(0,H/2)∀(hi∗​)i​ with i∑​hi∗​=H,(i active, hi∗​>h)⟹¬NoAttackEquilibrium(V)(V≥0).

This is Proposition 1's conclusion that congestion can make a majority attack profitable for a miner holding less than half the incumbent hash power, with nothing to gain from double-spending.

Formalization Note The attack-chain fee is computed from the same fee law at n′n'n′ arrivals, rather than assumed larger. The natural arrival counts encode the paper's slower attack chain. The incumbent powers need not optimize pre-attack profits, making this version stronger than the stated equilibrium model.

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

/-- Proposition 1, pp. 13–14: a sub-majority active miner above the threshold
precludes a no-attack equilibrium even with zero private benefit. -/
theorem proposition_1 {ι : Type*} [Fintype ι]
    (τ H R L : ℝ) (hτ : 0 < τ) (hH : 0 < H) (hL : 0 < L)
    (μ : MeasureTheory.Measure ℝ) (hμ : FeeLaw μ)
    (b n n' : ℕ) (hb : 0 < b) (hbn : b < n) (hnn' : n < n')
    (c : ι → ℝ → ℝ) (hc : ∀ i, CostStanding (c i))
    (htil : ι → ℝ)
    (hopt : ∀ i, IsAttackOptimum (τ * H) (R + blockFees μ b n') (c i) (htil i)) :
    ∃ hhat : ℝ, 0 < hhat ∧ hhat < H / 2 ∧
      ∀ hstar : ι → ℝ, (∀ j, 0 ≤ hstar j) → (∑ j, hstar j) = H →
        ∀ i, 0 ≤ flowProfit (τ * H) (R + blockFees μ b n) (c i) (hstar i) →
          hhat < hstar i → ∀ V : ℝ, 0 ≤ V →
            ¬ NoAttackEquilibrium τ H L R (blockFees μ b n) (blockFees μ b n')
                c htil hstar V := by sorry

end MajorityAttack.NegCost
Source
Gans & Halaburda, “Zero Cost” Majority Attacks on Permissionless Blockchains, arXiv:2308.06568v1, pp. 13–14, Proposition 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