Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3(i): optimal size expansion

Proved
LNChannels.SmallRate.theorem_3_i_size

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

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

Fix B,λ>0B,\lambda>0B,λ>0. For every positive rrr, the size l2∗l_2^*l2∗​ displayed after equation (2) is positive and attains the minimal unidirectional cost. As r↓0r\downarrow0r↓0,

l2∗=(Bλr)1/2+O(r1/2).l_2^*=\left(\frac{B\lambda}{r}\right)^{1/2}+O(r^{1/2}).l2∗​=(rBλ​)1/2+O(r1/2).

This gives the capital scale associated with Theorem 3(i)'s cost. Formalization Note The explicit size is used to express the paper's attainment claim; the Big-O constant is uniform in rrr.

Preamble
import Definitions.Def_LNChannels_SmallRate_minUniCost
import Definitions.Def_LNChannels_SmallRate_uniOptimalSize

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

/-- Theorem 3(i), the channel-size clause following equation (7). -/
theorem theorem_3_i_size (lam B : ℝ) (hlam : 0 < lam) (hB : 0 < B) :
    (∀ r : ℝ, 0 < r → 0 < uniOptimalSize lam r B ∧
      LNChannels.Exact.uniCost lam r B (uniOptimalSize lam r B) = minUniCost lam r B) ∧
    (fun r : ℝ => uniOptimalSize lam r B - (B * lam / r) ^ (1 / 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), pp. 6–7 (PDF 7–8), Theorem 3(i), size clause following equation (7), and the size following equation (2)
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