Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (24), p. 12 — the lower bound (23) is minimized at m^=(2B/κ2)1/3\hat m=(2B/\kappa^2)^{1/3}m^=(2B/κ2)1/3 with value 3(2B/κ2)1/3−B/6−2C/κ23(2B/\kappa^2)^{1/3}-B/6-2C/\kappa^23(2B/κ2)1/3−B/6−2C/κ2

Proved
LNChannels.RateBounds.eq_24

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

lightning-networkoptimizationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let B>0B>0B>0, κ>0\kappa>0κ>0, C∈RC\in\mathbb RC∈R, and consider the lower bound (23),

g(m)=2m+B(2κ2m2−16)−2Cκ2,m>0.g(m)=2m+B\Big(\frac{2}{\kappa^2m^2}-\frac16\Big)-\frac{2C}{\kappa^2},\qquad m>0 .g(m)=2m+B(κ2m22​−61​)−κ22C​,m>0.

Then m^=(2B/κ2)1/3>0\hat m=(2B/\kappa^2)^{1/3}>0m^=(2B/κ2)1/3>0 minimizes ggg over m>0m>0m>0, and

g(m^)=3(2Bκ2)1/3−B6−2Cκ2.(24)g(\hat m)=3\Big(\frac{2B}{\kappa^2}\Big)^{1/3}-\frac B6-\frac{2C}{\kappa^2}.\tag{24}g(m^)=3(κ22B​)1/3−6B​−κ22C​.(24)

Solving g(m^)>0g(\hat m)>0g(m^)>0 for CCC gives the threshold 3(Bκ4/4)1/3−(B/12)κ23(B\kappa^4/4)^{1/3}-(B/12)\kappa^23(Bκ4/4)1/3−(B/12)κ2 of Theorem 2(ii).

Formalization Note The cube root is the real power (⋅)1/3(\cdot)^{1/3}(⋅)1/3 of a positive number.

Preamble
import Mathlib
import Definitions.Def_LNChannels_RateBounds_ClosedForms
Formal statement
namespace LNChannels.RateBounds

/-- (24), p. 12: for `B, κ > 0` the function (23), `2m + B(2/(κ²m²) − 1/6) − 2C/κ²`, attains its
minimum over `m > 0` at `m̂ = (2B/κ²)^{1/3}`, where it equals `3(2B/κ²)^{1/3} − B/6 − 2C/κ²`. -/
theorem eq_24 (B κ C : ℝ) (hB : 0 < B) (hκ : 0 < κ) :
    let g : ℝ → ℝ := fun m => 2 * m + B * (2 / (κ ^ 2 * m ^ 2) - 1 / 6) - 2 * C / κ ^ 2
    let mhat := (2 * B / κ ^ 2) ^ (1 / 3 : ℝ)
    0 < mhat ∧
      g mhat = 3 * (2 * B / κ ^ 2) ^ (1 / 3 : ℝ) - B / 6 - 2 * C / κ ^ 2 ∧
      ∀ m : ℝ, 0 < m → g mhat ≤ g m := by sorry

end LNChannels.RateBounds
Source
Guasoni, Huberman & Shikhelman, Lightning Network Economics: Channels, Management Science (Articles in Advance, Nov. 6, 2023), DOI 10.1287/mnsc.2022.01664, p. 12 (PDF p. 13), proof of Theorem 2(ii), eq. (24), for the function (23) of p. 11 (PDF p. 12)
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