Counting LLL accuracy from marginal moments and two cutoffs
ProvedCountingLLL.RandomRAM.source_moment_to_counting_accuracyAssume the counting-and-sampling condition 4 e p (D+1)^2 <= 1, D>=1, and a sample count L satisfying L(D+1)^2 epsilon^2 >= 8m. Suppose independent square-integrable factors X_i have means 1-r_i, with 0<=r_i<=1.2p, and variances at most 3p/L. For any positive deterministic multiplier a, and any two measurable nonnegative costs with positive finite expectation bounds B_f and B_g, the scaled product is within relative error epsilon of a product of the means and both costs are below the corresponding thresholds 16 B_f and 16 B_g with probability at least 13/16. This is the conditional probabilistic reduction in Section 5.3 of the paper. Establishing the source-specific marginal estimators, their moment and cost bounds, and a concrete implementation remains separate.
import Mathlib open MeasureTheory ProbabilityTheory open scoped ENNReal BigOperators
theorem CountingLLL.RandomRAM.source_moment_to_counting_accuracy {Ω ι : Type} [MeasurableSpace Ω] [Fintype ι]
(μ : Measure Ω) [IsProbabilityMeasure μ] (X : ι → Ω → ℝ) (r : ι → ℝ)
(a p D L ε : ℝ)
(ha : 0 < a) (hp : 0 ≤ p) (hD : 1 ≤ D) (hL : 0 < L) (he : 0 < ε) (he1 : ε ≤ 1)
(hcondition : 4 * Real.exp 1 * p * (D + 1) ^ 2 ≤ 1)
(hr0 : ∀ i, 0 ≤ r i) (hr : ∀ i, r i ≤ (6 / 5) * p)
(hind : iIndepFun X μ) (hL2 : ∀ i, MemLp (X i) 2 μ)
(hmean : ∀ i, (∫ ω, X i ω ∂μ) = 1 - r i)
(hvar : ∀ i, variance (X i) μ ≤ 3 * p / L)
(hLbound : 8 * (Fintype.card ι : ℝ) ≤ L * (D + 1) ^ 2 * ε ^ 2)
(f g : Ω → ℝ≥0∞) (Bf Bg : ℝ≥0∞)
(hBf0 : Bf ≠ 0) (hBg0 : Bg ≠ 0) (hBft : Bf ≠ ⊤) (hBgt : Bg ≠ ⊤)
(hf : Measurable f) (hg : Measurable g)
(hEf : ∫⁻ ω, f ω ∂μ ≤ Bf) (hEg : ∫⁻ ω, g ω ∂μ ≤ Bg) :
(13 / 16 : ℝ≥0∞) ≤ μ {ω |
((1 - ε) * (a * (∏ i, (1 - r i))) ≤ a * (∏ i, X i ω) ∧
a * (∏ i, X i ω) ≤ (1 + ε) * (a * (∏ i, (1 - r i)))) ∧
f ω < 16 * Bf ∧ g ω < 16 * Bg} := by sorry