Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6.3: a list entry appears with its product probability

Proved
GenCountSampleLLL.lemma_6_3_entry_probability

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

Let T∈TD,aT\in\mathcal T_{D,a}T∈TD,a​ be a rooted 2-tree, z∈ETz\in E_Tz∈ET​ an assignment on UTU_TUT​, and e=(T,z)e=(T,z)e=(T,z). Then the random list LLL contains eee with probability exactly νUT(z)\nu_{U_T}(z)νUT​​(z). This is the first assertion of Lemma 6.3; it does not include the conditional-law assertion.

Preamble
import Definitions.Def_GenCountSampleLLL_twoTrees
noncomputable section
open scoped Classical BigOperators ENNReal
Formal statement
namespace GenCountSampleLLL
theorem lemma_6_3_entry_probability (I : Inst) (D : Finset (Fin I.m)) (a : Fin I.m)
    (T : Finset (Fin I.m)) (z : I.Assign)
    (hT : T ∈ I.twoTrees D a) (hz : z ∈ I.labelsE D a T) :
    (∑ ω : I.ExpSpace, (I.expLaw ω).toReal *
      (if (T,z) ∈ I.Llist D a ω then (1 : ℝ) else 0)) = I.nuU (I.UT D T) z := by sorry
end GenCountSampleLLL
Source
Jain, Mizgerd, Pham, A general counting and sampling Lovász local lemma, https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/702.pdf, Lemma 6.3, p.22.

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