Proposition 2 (i)–(ii), p. 9 — the ratio tends to l₁ as q ↓ 0 and to l₁l₂ as q → 1
ProvedLNChannels.Walk.proposition_2_limitslightning-networklimitsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be integers, and let
be the long-run number of channel transactions per on-chain transaction of Proposition 2, as a function of . Then:
- (unidirectional channel) as ;
- (symmetric bidirectional channel) as , .
A unidirectional channel thus reduces on-chain traffic in proportion to its size, and a symmetric bidirectional channel in proportion to the product of the two sizes.
Formalization Note The paper writes "(q ↓ 0)" and "(q → 1)", and both statements are limits of the closed form. The limit at is taken along , where the formula is defined. The walks at or are not involved.
Preamble
import Mathlib
Formal statement
namespace LNChannels.Walk
open Filter Topology
/-- Proposition 2 (i)–(ii), p. 9: the closed form
`R(q) = (q + 1)((l₂(q^{l₁} − 1) − l₁) q^{l₂} + l₁)/((q − 1)(q^{l₁+l₂} − 1))` tends to `l₁` as
`q ↓ 0` (unidirectional channel) and to `l₁ l₂` as `q → 1` (symmetric channel). -/
theorem proposition_2_limits (l₁ l₂ : ℕ) (hl₁ : 1 ≤ l₁) (hl₂ : 1 ≤ l₂) :
Tendsto (fun q : ℝ => (q + 1) * (((l₂ : ℝ) * (q ^ l₁ - 1) - l₁) * q ^ l₂ + l₁) /
((q - 1) * (q ^ (l₁ + l₂) - 1))) (𝓝[>] 0) (𝓝 (l₁ : ℝ)) ∧
Tendsto (fun q : ℝ => (q + 1) * (((l₂ : ℝ) * (q ^ l₁ - 1) - l₁) * q ^ l₂ + l₁) /
((q - 1) * (q ^ (l₁ + l₂) - 1))) (𝓝[≠] 1) (𝓝 ((l₁ : ℝ) * l₂)) := by sorry
end LNChannels.Walk
Source
Guasoni, Huberman & Shikhelman, Lightning Network Economics: Channels, Management Science (Articles in Advance, Nov. 6, 2023), p. 9 (PDF 10), Proposition 2 (i)–(ii)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.