Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Pointwise tree expansion intersected with an arbitrary event

Proved
CountingLLL.DetCount.violation_event_tree_expansion

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

combinatoricsprobability

For every event A and every root constraint r in E, the product-measure probability of A together with violation of r and satisfaction of E without r is the signed sum over rooted 2-trees T of the probability of A together with violation of every constraint in T and satisfaction of every free constraint. This is the eventwise form of equation (36), before division by any satisfaction probability; no feasibility or LLL assumption is needed.

Preamble
import Definitions.Def_CountingLLL_DetCount_Expansion
open CountingLLL.DetCount
Formal statement
theorem CountingLLL.DetCount.violation_event_tree_expansion (Φ : CSP) (E : Finset (Fin Φ.m)) (r : Fin Φ.m)
    (hr : r ∈ E) (A : Φ.Config → Prop) :
    Φ.prob (fun σ => A σ ∧ (¬ Φ.Sat r σ ∧ Φ.SatAll (E.erase r) σ)) =
      ∑ T ∈ Φ.twoTrees E r, (-1 : ℝ) ^ (T.card - 1) *
        Φ.prob (fun σ => A σ ∧ (Φ.ViolAll T σ ∧ Φ.SatAll (Φ.free E r T) σ)) := by sorry
Source
Liu, Wang, Yin, Zhang, Zhou, A Counting and Sampling Lovasz Local Lemma, STOC submission #442, equation (36) in proof of Lemma 6.1, PDF p.22, 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