Theorem 3.9 — with power-law cost tails and a uniform cost floor, a random LN is hermetizable with probability ≥ 1 − k Σᵢ d(i) g₊(d(i))⁻ᵃ
ProvedLNTopology.RandomHerm.theorem_3_9Let , and . There is a constant , depending only on , and , with the following property.
Let be a finite set of nodes and a simple graph on with at least one edge, the set of channels. Let be a channel cost with the properties (MO), (SY), (CI), (SA), and let satisfy (SA+) for . Let be a probability space and a random Lightning Network: for every the matrix is anti-symmetric, exactly when , and each is a random variable. Assume that for all channels
- for all ;
- .
Then the LN is hermetizable with probability at least
where is the degree of in .
Since is increasing, the bound tends to when degrees are large relative to the tail exponent: under thin-tailed channel costs, cost reduction by a hub is the typical situation rather than the exception.
Formalization Note The constant is quantified after and before the network, the law, and ; a allowed to depend on the network would make the statement trivial. The constants are common to all channels. The paper's prose speaks of flows chosen independently with the same distribution, but the theorem's hypotheses are only (i) and (ii), and neither independence nor identical distribution is assumed. The channel set is fixed and deterministic, so is deterministic. The hypothesis that has at least one channel is added: with no channel the printed bound equals , yet the cost is and cannot be reduced. Isolated nodes contribute to the sum. The probability is toReal of a probability measure, evaluated on the event without assuming it measurable. (SA) and (SA+) are in their corrected forms: (SA) for all ; (SA+) for , .
import Mathlib import Definitions.Def_LNTopology_Local_Model import Definitions.Def_LNTopology_Hermetic_Model import Definitions.Def_LNTopology_RandomHerm_ChannelCost import Definitions.Def_LNTopology_RandomHerm_Hermetization open MeasureTheory
namespace LNTopology.RandomHerm
/-- Theorem 3.9 (p. 8). For tail parameters `a > 1`, `b > 0` and a floor `ε > 0` there is a
constant `k > 0`, depending only on `a, b, ε`, such that: for every finite channel graph `E`
with at least one channel, every cost `c` with (MO)–(SA+) for `g₊ = g`, and every random LN
`Λ` whose channels are exactly those of `E`, with
(i) `P(c(λ_{i,j}) > x) < b x^{-a}` for all `x > 0` and (ii) `P(c(λ_{i,j}) > ε) = 1` for every
channel `ij ∈ E`, the LN is hermetizable with probability at least
`1 − k Σ_i d(i) (g₊(d(i)))^{-a}`. -/
theorem theorem_3_9 :
∀ a b ε : ℝ, 1 < a → 0 < b → 0 < ε → ∃ k : ℝ, 0 < k ∧
∀ (V : Type) [Fintype V] [DecidableEq V] (E : SimpleGraph V) [DecidableRel E.Adj]
(Ω : Type) [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(Λ : Ω → V → V → ℝ) (c g : ℝ → ℝ),
LNTopology.Local.IsChannelCost c → LNTopology.Hermetic.SAPlus c g →
(∀ ω, LNTopology.Local.IsLN (Λ ω)) →
(∀ ω i j, Λ ω i j ≠ 0 ↔ E.Adj i j) →
(∀ i j, Measurable fun ω => Λ ω i j) →
(∀ i j, E.Adj i j → ∀ x : ℝ, 0 < x →
P {ω | x < c (Λ ω i j)} < ENNReal.ofReal (b * x ^ (-a))) →
(∀ i j, E.Adj i j → P {ω | ε < c (Λ ω i j)} = 1) →
(∃ u v, E.Adj u v) →
1 - k * ∑ i, (E.degree i : ℝ) * (g (E.degree i)) ^ (-a)
≤ (P {ω | IsHermetizableLN c (Λ ω)}).toReal := by sorry
end LNTopology.RandomHerm
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.