Proof of Theorem 3.9, (8)–(10) — P(hermetizable) ≥ 1 − Σᵢ P(g₊(d(i)) ≤ 2c(S(i))/c(s(i)))
ProvedLNTopology.RandomHerm.eq_8_10_union_boundLet be a simple graph on the finite node set with at least one edge, the set of channels. Let be a probability space and a random Lightning Network whose channels are exactly the edges of : for every , is anti-symmetric and if and only if . Let be a channel cost with (MO)–(SA) and satisfy (SA+). Write for the degree of in and , for the smallest and largest channel sizes at in . Then
This is the union-bound step (8)–(10) of the proof of Theorem 3.9, combined with Lemma B.1: on the event that every node with a channel satisfies Lemma B.1's inequality, the set of such nodes is hermetizable.
Formalization Note The sum runs over nodes with at least one channel: for an isolated node is undefined, and isolated nodes play no role in the hermetized set. The event is written (see Lemma B.1). Probabilities are real numbers via toReal of a probability measure; no measurability of the event is assumed (a lower bound on the outer measure). The hypotheses (i), (ii) of Theorem 3.9 are not needed for this step and are omitted. The paper writes for in (8)–(10). (SA) and (SA+) are in their corrected forms.
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
/-- Displays (8)–(10) (proof of Theorem 3.9, p. 13): by Lemma B.1 applied to the set of nodes
that have a channel, the random LN is hermetizable with probability at least
`1 − Σ_{i : d(i) ≥ 1} P(g₊(d(i)) ≤ 2 c(S(i)) / c(s(i)))`. -/
theorem eq_8_10_union_bound {V : Type} [Fintype V] [DecidableEq V] (E : SimpleGraph V)
[DecidableRel E.Adj] {Ω : Type} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(Λ : Ω → V → V → ℝ) (c g : ℝ → ℝ) (hc : LNTopology.Local.IsChannelCost c) (hg : LNTopology.Hermetic.SAPlus c g)
(hLN : ∀ ω, LNTopology.Local.IsLN (Λ ω)) (hE : ∀ ω i j, Λ ω i j ≠ 0 ↔ E.Adj i j)
(hchan : ∃ u v, E.Adj u v) :
1 - ∑ i ∈ Finset.univ.filter (fun i => 0 < E.degree i),
(P {ω | g (E.degree i) ≤
2 * c (maxChanOn (Λ ω) Finset.univ i) / c (minChanOn (Λ ω) Finset.univ i)}).toReal
≤ (P {ω | IsHermetizableLN c (Λ ω)}).toReal := by sorry
end LNTopology.RandomHerm
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.