LeanPool.AsymptoticTrianglePacking.Internal — the SAFE degree and its SHARP expectation #
The residual degree deg_res(v) of a vertex is not the right random variable for the nibble
invariant: it collapses to 0 on the event "v itself is covered", an event of constant
probability
≈ γ, so deg_res(v) has standard deviation of order d and cannot concentrate. The classical fix
is to track instead the safe degree
safeDegree H C v = #{e ∈ H : v ∈ e, (e \ {v}) ∩ C = ∅},
the number of edges at v whose OTHER vertices all survive the round. It agrees with the residual
degree exactly on the event {v ∉ C} (safeDegree_eq_residual_degree_of_not_covered), which is the
only event on which the residual degree at v matters, and — unlike the residual degree — it is a
sum of deg(v) indicators none of which is governed by a single common event.
This file computes its expectation SHARPLY, two-sidedly:
∑_{e ∋ v} (1 − ∑_{u ∈ e∖v} q_u) ≤ 𝔼[safeDeg(v)] ≤ ∑_{e ∋ v} (1 − ∑_{u ∈ e∖v} q_u + pairs),
with q_u = coverRate H p u the EXACT covering rate of u (prob_vertex_covered_eq) and pairs
the second-order Bonferroni correction, bounded by prob_two_vertices_covered_le. The two bounds
agree to second order, which is exactly what the loose brackets
residual_degree_expectation_lower/upper fail to do.
placeholder-free and axiom-clean [propext, Classical.choice, Quot.sound].
The safe degree #
The safe degree. The number of edges at v whose vertices OTHER than v all avoid C.
Equations
Instances For
On the event that v is not covered, the safe degree IS the residual degree.
The residual degree never exceeds the safe degree.
The safe-degree indicator and its expectation #
The indicator that all vertices of e other than v survive the round.
Equations
Instances For
The "all other vertices survive" event is the complement of the union of covering events.
The expectation of the safe indicator is 1 − ℙ(some other vertex of e is covered).
The safe degree is the sum of the safe indicators of the edges through v.
The expectation of the safe degree, as a sum over the edges at v.
The sharp two-sided expectation #
Sharp LOWER bound on the expected safe degree (union bound on the covering events).
𝔼[safeDeg(v)] ≥ ∑_{e ∋ v} (1 − ∑_{u ∈ e∖v} q_u).
Sharp UPPER bound on the expected safe degree (second Bonferroni inequality, with the
pairwise corrections).
𝔼[safeDeg(v)] ≤ ∑_{e ∋ v} (1 − ∑_{u} q_u + ∑_{u ≠ u'} ℙ(u,u' both covered)).