Documentation

LeanPool.KaltonRoberts.EpsilonRecombination

Epsilon-loss recombination theorems #

Bridge from arbitrary real-weighted collections to finite-uniform recombination, with an epsilon loss in the recombination inequality.

Auxiliary: M is nonneg, deficit helpers #

theorem KaltonRoberts.M_nonneg_of_bound {U : Type u_1} [DecidableEq U] (f : Finset U) (hf : IsApproxAdditive f 1) (M : ) (hM : ∀ (S : Finset U), |f S| M) :
0 M
theorem KaltonRoberts.deficit_nonneg_of_bound {U : Type u_1} (f : Finset U) (M : ) (hM : ∀ (S : Finset U), |f S| M) (S : Finset U) :
0 deficit f M S
theorem KaltonRoberts.deficit_empty_eq {U : Type u_1} [DecidableEq U] (f : Finset U) (hf : IsApproxAdditive f 1) (M : ) :
deficit f M = M

Floor-based approximation of weighted collections #

noncomputable def KaltonRoberts.WeightedCollection.floorCount {U : Type u_1} [DecidableEq U] (C : WeightedCollection U) (N : ) (j : C.J) :

Floor count for index j when building a uniform family with N total indices.

Equations
Instances For

    Each floor count is at most the continuous fractional value.

    The number of empty-set copies to pad up to N.

    Equations
    Instances For
      @[reducible, inline]

      Approximate index type: sigma type for set copies plus empty copies.

      Equations
      Instances For

        The approximation family: sigma part maps to sets, empty part maps to ∅.

        Equations
        Instances For
          theorem KaltonRoberts.WeightedCollection.approx_count {U : Type u_1} [DecidableEq U] (C : WeightedCollection U) (N : ) (i : U) :
          {idx : C.ApproxIdx N | i C.approxFam N idx}.card = j : C.J with i C.sets j, C.floorCount N j
          theorem KaltonRoberts.WeightedCollection.approx_freq_le {U : Type u_1} [DecidableEq U] (C : WeightedCollection U) (N : ) (i : U) (hle : j : C.J, C.floorCount N j N) (hN : 0 < N) :
          {idx : C.ApproxIdx N | i C.approxFam N idx}.card / (Fintype.card (C.ApproxIdx N)) C.itemFreq i
          theorem KaltonRoberts.WeightedCollection.approx_deficit_sum {U : Type u_1} [DecidableEq U] (C : WeightedCollection U) (N : ) (f : Finset U) (M : ) :
          idx : C.ApproxIdx N, deficit f M (C.approxFam N idx) = j : C.J, (C.floorCount N j) * deficit f M (C.sets j) + (C.emptyCount N) * deficit f M
          theorem KaltonRoberts.WeightedCollection.approx_avgDeficit_le {U : Type u_1} [DecidableEq U] (C : WeightedCollection U) (N : ) (f : Finset U) (hf : IsApproxAdditive f 1) (M : ) (hM : ∀ (S : Finset U), |f S| M) (D : ) (hdeficit : C.avgDeficit f M D) (hle : j : C.J, C.floorCount N j N) (hN : 0 < N) :
          (∑ idx : C.ApproxIdx N, deficit f M (C.approxFam N idx)) / (Fintype.card (C.ApproxIdx N)) D + (Fintype.card C.J) * M / N

          Epsilon one-sided recombination #

          theorem KaltonRoberts.one_sided_recombination_core_eps {U : Type u_1} [DecidableEq U] (f : Finset U) (hf : IsApproxAdditive f 1) (M : ) (hM : ∀ (S : Finset U), |f S| M) (α_val : ) (r_val : ) (θ_val : ) ( : 0 < θ_val) (hθ1 : θ_val < 1) (hexp : StrongExpandersExist α_val r_val θ_val) (hr : 0 < r_val) (_hα : 0 < α_val) (C : WeightedCollection U) (hfreq : ∀ (i : U), C.itemFreq i α_val) (D : ) (hD : 0 D) (hdeficit : C.avgDeficit f M D) (ε : ) ( : 0 < ε) :
          ∃ (C' : WeightedCollection U) (D' : ), 0 D' (∀ (i : U), C'.itemFreq i α_val / θ_val) C'.avgDeficit f M D' (1 - θ_val) * M D + ε - θ_val * D' + 2 * r_val - 1 - θ_val

          Lemma 3.2 (ε-version) One-sided recombination with epsilon loss. Bridges arbitrary real-weighted collections to the finite uniform theorem.

          Epsilon two-sided recombination #

          theorem KaltonRoberts.two_sided_recombination_core_eps {U : Type u_1} [DecidableEq U] (f : Finset U) (hf : IsApproxAdditive f 1) (M : ) (hM : ∀ (S : Finset U), |f S| M) (α_val : ) (r_val : ) (θ_val : ) ( : 0 < θ_val) (hθ1 : θ_val < 1) (hexp : StrongExpandersExist α_val r_val θ_val) (hr : 0 < r_val) ( : 0 < α_val) (C_def C_sur : WeightedCollection U) (hfreq_def : ∀ (i : U), C_def.itemFreq i α_val) (hfreq_sur : ∀ (i : U), C_sur.itemFreq i α_val) (D S_val : ) (hD : 0 D) (hS : 0 S_val) (hdeficit : C_def.avgDeficit f M D) (hsurplus : C_sur.avgSurplus f M S_val) (ε : ) ( : 0 < ε) :
          ∃ (C'_def : WeightedCollection U) (C'_sur : WeightedCollection U) (D' : ) (S' : ), 0 D' 0 S' (∀ (i : U), C'_def.itemFreq i α_val / θ_val) (∀ (i : U), C'_sur.itemFreq i α_val / θ_val) C'_def.avgDeficit f M D' C'_sur.avgSurplus f M S' (1 - θ_val) * M (D + S_val) / 2 + ε - θ_val * ((D' + S') / 2) + 2 * r_val - 1 - θ_val

          Lemma 3.3 (ε-version) Two-sided recombination with epsilon loss. Applies epsilon one-sided to deficit side and surplus side, then averages.