LeanPool.AsymptoticTrianglePacking.Internal — the SHARP one-round covering probabilities #
Standalone, Mathlib-only. This file supplies the sharp first-moment brick of one nibble round,
the one the loose brackets residual_degree_expectation_lower (deg·(1 − rΔp)) and
residual_degree_expectation_upper (deg·(1 − p(1−p)^{rΔ})) fail to give: the covering probability
of a vertex is computed EXACTLY, and the survival probability of an edge is sandwiched between two
expressions that agree to second order.
coverRate H p x— the exact one-round covering rate∑_{f ∋ x} p(1−p)^{c(f)}of a vertex.prob_vertex_covered_eq—ℙ(x covered) = coverRate H p x. The point: the events "fis in the round matching", for the edgesf ∋ x, are pairwise DISJOINT (a matching has at most one edge atx), so the union boundprob_vertex_coveredis in fact an equality.measureReal_biUnion_ge_bonferroni— the second Bonferroni inequality for aFinset-indexed family (not in Mathlib):ℙ(⋃ᵢ Aᵢ) ≥ ∑ᵢ ℙ(Aᵢ) − ∑ᵢ∑_{j≠i} ℙ(Aᵢ ∩ Aⱼ).prob_two_vertices_covered_le—ℙ(x covered ∧ y covered) ≤ deg(x)·deg(y)·p² + codeg(x,y)·pforx ≠ y: the second-order term is quadratically small in the nibble regimep ≈ γ/(rd)as soon as the codegree iso(d).
placeholder-free and axiom-clean [propext, Classical.choice, Quot.sound].
The exact covering rate of a vertex #
The exact one-round covering rate of a vertex. ∑_{f ∋ x} p·(1−p)^{c(f)}, where c(f) is
the number of edges conflicting with f. By prob_vertex_covered_eq this is exactly the
probability that x is covered by the round matching.
Equations
- LeanPool.AsymptoticTrianglePacking.Internal.coverRate H p x = ∑ f ∈ H with x ∈ f, p * (1 - p) ^ (Hypergraph.conflicts H f).card
Instances For
The covering rate is at most deg(x)·p.
The covering event of a vertex is the (disjoint) union of the matching events of the edges through it.
The exact per-vertex covering probability. ℙ(x covered) = ∑_{f ∋ x} p(1−p)^{c(f)}.
Equality (not just the union bound prob_vertex_covered) because the matching events of the edges
through x are pairwise disjoint.
A Bonferroni inequality #
The second Bonferroni inequality for a Finset-indexed family of measurable sets:
ℙ(⋃ᵢ Aᵢ) ≥ ∑ᵢ ℙ(Aᵢ) − ∑ᵢ ∑_{j ≠ i} ℙ(Aᵢ ∩ Aⱼ). (Mathlib has the union bound but not this
complementary direction.)
Two vertices covered simultaneously #
Two distinct edges are retained simultaneously with probability p² (pairwise independence).
A second-order bound on the joint covering probability. For x ≠ y,
ℙ(x covered ∧ y covered) ≤ deg(x)·deg(y)·p² + codeg(x,y)·p. In the nibble regime p = γ/(r d)
with degrees ≈ d and codegree ≤ μd this is O(γ²/r² + μγ/r), i.e. genuinely of second order
against the first-order covering rate ≈ γ/r.