Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Near and distant free-constraint independence

Proved
CountingLLL.DetCount.free_near_far_independence

by wcysai · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsprobability

For any rooted 2-tree T, the satisfaction event of all free constraints factors into the satisfaction events of the nearby free constraints free^1(T) and the remaining distant free constraints. The underlying variable scopes are disjoint, so this identity holds under the product measure without any local-lemma or positivity assumption. It is the factorization used in Lemma 5.1.

Preamble
import Definitions.Def_CountingLLL_DetCount_Expansion
open CountingLLL.DetCount
Formal statement
theorem CountingLLL.DetCount.free_near_far_independence (Φ : CSP) (E T : Finset (Fin Φ.m)) (r : Fin Φ.m)
    (hT : T ∈ Φ.twoTrees E r) :
    Φ.prob (Φ.SatAll (Φ.free E r T)) =
      Φ.prob (Φ.SatAll (Φ.free1 E r T)) *
      Φ.prob (Φ.SatAll (Φ.free E r T \ Φ.free1 E r T)) := by sorry
Source
Liu, Wang, Yin, Zhang, Zhou, A Counting and Sampling Lovasz Local Lemma, STOC submission #442, proof of Lemma 5.1, Section 5.1, PDF p.16, https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/442.pdf

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me