Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (22), p. 11 — (21) in hyperbolic form, and 1/x2−1/3<csch⁡2x<1/x21/x^2-1/3<\operatorname{csch}^2x<1/x^21/x2−1/3<csch2x<1/x2 for x>0x>0x>0

Proved
LNChannels.RateBounds.eq_22

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

hyperbolic-functionsinequalitieslightning-networkp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1
  1. Hyperbolic form of (21). For κ>0\kappa>0κ>0, m>0m>0m>0 and B,C∈RB,C\in\mathbb RB,C∈R, setting α=eκ\alpha=e^{\kappa}α=eκ,
2m+2Bαm(αm−1)2−2Cα(α−1)2=2m+B2csch⁡2(κm2)−C2csch⁡2(κ2).2m+\frac{2B\alpha^{m}}{(\alpha^{m}-1)^2}-\frac{2C\alpha}{(\alpha-1)^2}=2m+\frac B2\operatorname{csch}^2\Big(\frac{\kappa m}2\Big)-\frac C2\operatorname{csch}^2\Big(\frac{\kappa}2\Big).2m+(αm−1)22Bαm​−(α−1)22Cα​=2m+2B​csch2(2κm​)−2C​csch2(2κ​).
  1. Inequality (22). For every x>0x>0x>0,
1x2−13<csch⁡2x<1x2.\frac1{x^2}-\frac13<\operatorname{csch}^2x<\frac1{x^2}.x21​−31​<csch2x<x21​.

Together they give the tractable lower bound (23) on the excess cost of a symmetric channel.

Formalization Note csch⁡2x\operatorname{csch}^2xcsch2x is written 1/sinh⁡(x)21/\sinh(x)^21/sinh(x)2; αm\alpha^mαm with real mmm is a real power.

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

/-- p. 11: with `α = e^κ` (`κ > 0`) and `m > 0`, (21) reads
`2m + (B/2)csch²(κm/2) − (C/2)csch²(κ/2)`; and inequality (22): `1/x² − 1/3 < csch² x < 1/x²`
for `x > 0`. -/
theorem eq_22 :
    (∀ κ B C m : ℝ, 0 < κ → 0 < m →
      2 * m + 2 * B * Real.exp κ ^ m / (Real.exp κ ^ m - 1) ^ 2
          - 2 * C * Real.exp κ / (Real.exp κ - 1) ^ 2 =
        2 * m + B / 2 / Real.sinh (κ * m / 2) ^ 2 - C / 2 / Real.sinh (κ / 2) ^ 2) ∧
    ∀ x : ℝ, 0 < x →
      1 / x ^ 2 - 1 / 3 < 1 / Real.sinh x ^ 2 ∧ 1 / Real.sinh x ^ 2 < 1 / x ^ 2 := 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. 11 (PDF p. 12), proof of Theorem 2(ii), display after (21) and eq. (22)
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