Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3(i): square-root cost law

Proved
LNChannels.SmallRate.theorem_3_i_cost

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

asymptoticsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1payment-channels

Fix a positive reset cost BBB and payment rate λ\lambdaλ. As the discount rate rrr decreases to zero through positive values, the minimal unidirectional channel cost satisfies

copt(0,λ)=2(Bλr)1/2−B2+O(r1/2).c^{\mathrm{opt}}(0,\lambda)=2\left(\frac{B\lambda}{r}\right)^{1/2}-\frac B2+O(r^{1/2}).copt(0,λ)=2(rBλ​)1/2−2B​+O(r1/2).

This is the unidirectional comparison for the symmetric channel's cube-root law. Formalization Note The Big-O constant may depend on fixed BBB and λ\lambdaλ, but is uniform in rrr near zero. Sizes range over positive reals.

Preamble
import Definitions.Def_LNChannels_SmallRate_minUniCost

set_option autoImplicit false
open Filter Asymptotics
Formal statement
namespace LNChannels.SmallRate

/-- Theorem 3(i), equation (7), cost clause; r tends to zero from above. -/
theorem theorem_3_i_cost (lam B : ℝ) (hlam : 0 < lam) (hB : 0 < B) :
    (fun r : ℝ => minUniCost lam r B -
      (2 * (B * lam / r) ^ (1 / 2 : ℝ) - B / 2)) =O[nhdsWithin 0 (Set.Ioi 0)]
      (fun r : ℝ => r ^ (1 / 2 : ℝ)) := by sorry

end LNChannels.SmallRate
Source
Guasoni, Huberman & Shikhelman, Lightning Network Economics: Channels, Management Science (Articles in Advance, Nov. 6, 2023), p. 7 (PDF 8), Theorem 3(i), equation (7), cost clause
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