Documentation

LeanPool.AsymptoticTrianglePacking.Internal.Tight.CoverWeightMoments

LeanPool.AsymptoticTrianglePacking.Internal — the first two moments of the loss weight #

coverWeight H v C = ∑_{u ≠ v} codeg(v,u)·1[u ∈ C] (LeanPool.AsymptoticTrianglePacking.Internal.Tight.CoverWeight) is a NONNEGATIVE LINEAR combination of the one-round covering indicators. Consequently its mean and its centred second moment are exactly computable from the two covering laws already established:

Results:

The diagonal term is O(κ·d·γ) and the off-diagonal term O(d²·ε₂); both are o(d²) in the nibble regime, which is precisely the concentration the residual degree cannot have.

placeholder-free and axiom-clean [propext, Classical.choice, Quot.sound].

The covering indicator #

noncomputable def LeanPool.AsymptoticTrianglePacking.Internal.coverInd {V : Type u_1} [DecidableEq V] {Ω : Type u_2} [MeasureTheory.MeasureSpace Ω] {H : Finset (Finset V)} {p : ℝ} (ρ : BernoulliRetention H p) (u : V) (ω : Ω) :

The indicator that u is covered by the round matching.

Equations
Instances For
    theorem LeanPool.AsymptoticTrianglePacking.Internal.coverInd_mul {V : Type u_1} [DecidableEq V] {Ω : Type u_2} [MeasureTheory.MeasureSpace Ω] {H : Finset (Finset V)} {p : ℝ} (ρ : BernoulliRetention H p) (u u' : V) :
    (fun (ω : Ω) => coverInd ρ u ω * coverInd ρ u' ω) = ({ω : Ω | u ∈ Hypergraph.covered (retainedSet H ρ ω)} ∩ {ω : Ω | u' ∈ Hypergraph.covered (retainedSet H ρ ω)}).indicator 1

    The product of two covering indicators is the indicator of the joint event.

    The centred covering indicator #

    noncomputable def LeanPool.AsymptoticTrianglePacking.Internal.coverIndC {V : Type u_1} [DecidableEq V] {Ω : Type u_2} [MeasureTheory.MeasureSpace Ω] {H : Finset (Finset V)} {p : ℝ} (ρ : BernoulliRetention H p) (u : V) (ω : Ω) :

    The centred covering indicator 1[u covered] − q_u.

    Equations
    Instances For

      The pair covariance.

      The loss weight as a linear form #

      theorem LeanPool.AsymptoticTrianglePacking.Internal.coverWeight_eq_linear {V : Type u_1} [DecidableEq V] [Fintype V] (H : Finset (Finset V)) (v : V) (C : Finset V) :
      ↑(coverWeight H v C) = ∑ u ∈ Finset.univ.erase v, ↑(Hypergraph.codegree H v u) * if u ∈ C then 1 else 0

      coverWeight written as a linear form in the covering indicators.

      noncomputable def LeanPool.AsymptoticTrianglePacking.Internal.lossWeight {V : Type u_1} [DecidableEq V] [Fintype V] {Ω : Type u_2} [MeasureTheory.MeasureSpace Ω] {H : Finset (Finset V)} {p : ℝ} (ρ : BernoulliRetention H p) (v : V) (ω : Ω) :

      The loss weight of v as a random variable.

      Equations
      Instances For

        The mean of the loss weight.

        theorem LeanPool.AsymptoticTrianglePacking.Internal.lossWeight_sub_mean {V : Type u_1} [DecidableEq V] [Fintype V] {Ω : Type u_2} [MeasureTheory.MeasureSpace Ω] {H : Finset (Finset V)} {p : ℝ} (ρ : BernoulliRetention H p) (v : V) (ω : Ω) :
        lossWeight ρ v ω - lossWeightMean H p v = ∑ u ∈ Finset.univ.erase v, ↑(Hypergraph.codegree H v u) * coverIndC ρ u ω

        The centred loss weight as a linear form in the centred indicators.

        The centred second moment of the loss weight, as an exact double sum.