Symmetric Moser–Tardos theorem and PMF.pi local-lemma bridge #
This module provides two specializations of Cslib.Probability.MoserTardos:
- Symmetric Moser–Tardos (
e * q * (d + 1) ≤ 1): when every eventA ihas probability at mostqand shares variables with at mostdother events, we obtain the asymmetric weights explicitly (1 / (d + 1)when1 ≤ d, andPr[A i]whend = 0), yielding constructive expected-resampling bounds (1 / dfor1 ≤ d,q / (1 - q)/1 / (e - 1)ford = 0), almost sure finite termination, and an avoiding assignment. PMF.pi/LocalLemmabridge: connectingMoserTardos.table (fun v => (p v).toMeasure)toCslib.Probability.PMF.pi pviaCslib.Probability.PMF.toMeasure_pi, so hypotheses stated for(PMF.pi p).toOuterMeasure(as inCslib.Probability.PMF.prod_one_sub_le_pi_iInter_complandpi_iInter_compl_pos) yield both positive avoidance probability and constructive resampling termination.
Main results #
Cslib.Probability.MoserTardos.exists_weights_of_symmetric: convertse * q * (d + 1) ≤ 1into asymmetric weightsx i ∈ [0, 1).Cslib.Probability.MoserTardos.lintegral_resamplings_le_symmetric: expected resampling count at most1 / dundere * q * (d + 1) ≤ 1with1 ≤ d.Cslib.Probability.MoserTardos.ae_exists_forall_notMem_run_symmetric,Cslib.Probability.MoserTardos.exists_forall_notMem_symmetric: almost sure termination and constructive existence undere * q * (d + 1) ≤ 1for everyd : ℕ.Cslib.Probability.MoserTardos.toReal_toOuterMeasure_pi_eq_measureReal: relates(PMF.pi p).toOuterMeasureand(Measure.pi fun v => (p v).toMeasure).real.Cslib.Probability.MoserTardos.lintegral_resamplings_le_pmfPi,Cslib.Probability.MoserTardos.lintegral_resamplings_le_pmfPi_symmetric: Moser–Tardos resampling bounds and constructive termination directly from(PMF.pi p).toOuterMeasurehypotheses.
References #
- [R. A. Moser, G. Tardos, A constructive proof of the general Lovász Local Lemma] [MT10]
Convert the symmetric Local Lemma hypothesis Real.exp 1 * q * (d + 1) ≤ 1 into asymmetric
weights x i ∈ [0, 1): constant 1 / (d + 1) when 1 ≤ d (using
Cslib.Probability.le_inv_add_one_mul_one_sub_pow), and b i when d = 0.
Convert the slack symmetric Local Lemma hypothesis Real.exp 1 * q * (d + 1) ≤ 1 - ε
(ε ∈ (0, 1]) into a dependency neighborhood Γ and asymmetric weights x i ∈ [0, 1) with total
weight ∑ i, x i / (1 - x i) bounded by card ι / d (when 1 ≤ d) and card ι.
Under e * q * (d + 1) ≤ 1 with 1 ≤ d, the expected supremum over all valid logs of
w.count i is at most 1 / d.
Under e * q * (d + 1) ≤ 1 with d = 0, the expected supremum over valid logs of
w.count i is at most q / (1 - q) (and hence at most 1 / (e - 1)).
For any d : ℕ with e * q * (d + 1) ≤ 1, every event's supremum resampling count has
finite expectation (hence the algorithm terminates almost surely).
Symmetric Moser–Tardos theorem (1 ≤ d) [MT10]: under e * q * (d + 1) ≤ 1
with 1 ≤ d, every valid selection rule resamples each event at most 1 / d times in
expectation.
Symmetric Moser–Tardos expected resampling count when d = 0 (e * q ≤ 1): at most
q / (1 - q) (which is at most 1 / (e - 1)).
Measurable rule-independent dominating bound (1 / d) under the symmetric local lemma when
1 ≤ d.
Expected total number of resamplings under the symmetric local lemma (1 ≤ d): at most
card ι / d.
Almost sure termination under e * q * (d + 1) ≤ 1, for every d : ℕ and every valid
selection rule.
Almost sure success under e * q * (d + 1) ≤ 1, for every d : ℕ and every valid stopping
rule.
Almost sure success of greedy under e * q * (d + 1) ≤ 1, for every d : ℕ.
Symmetric variable local lemma, constructively (e * q * (d + 1) ≤ 1): some assignment
avoids every event.
For a finite product of PMFs PMF.pi p, the outer measure (PMF.pi p).toOuterMeasure agrees
with (Measure.pi fun v => (p v).toMeasure).real on measurable sets via
Cslib.Probability.PMF.toMeasure_pi.
Bridge from Cslib.Probability.PMF.prod_one_sub_le_pi_iInter_compl to Moser–Tardos expected
resampling bounds on table (fun v => (p v).toMeasure). Under (PMF.pi p).toOuterMeasure
local-lemma hypotheses with x i ∈ [0, 1), every valid rule resamples A i at most
x i / (1 - x i) times in expectation.
Almost sure termination and avoidance for table (fun v => (p v).toMeasure) directly from the
asymmetric Cslib.Probability.PMF.prod_one_sub_le_pi_iInter_compl hypothesis with x i ∈ [0, 1).
Symmetric PMF.pi Moser–Tardos resampling bound (1 ≤ d): expected resamplings of A i
at most 1 / d under (PMF.pi p).toOuterMeasure (A i) ≤ q and e * q * (d + 1) ≤ 1.
Almost sure termination and avoidance for table (fun v => (p v).toMeasure) directly from the
symmetric Cslib.Probability.PMF.pi_iInter_compl_pos hypothesis e * q * (d + 1) ≤ 1.