Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Events depending on complementary sets of variables are independent

Proved
QLLL.SAT.card_inter_mul_card

by sattath · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

k-satprobabilistic-methodquantum-lll

Let VVV be a natural number and S⊆{1,…,V}S \subseteq \{1, \dots, V\}S⊆{1,…,V}. Let A,BA, BA,B be sets of assignments in {0,1}V\{0,1\}^{V}{0,1}V such that membership in AAA depends only on the values of the variables in SSS, and membership in BBB depends only on the values of the variables outside SSS. Then

∣A∩B∣⋅2V = ∣A∣⋅∣B∣,|A \cap B| \cdot 2^{V} \ =\ |A| \cdot |B|,∣A∩B∣⋅2V = ∣A∣⋅∣B∣,

that is, Pr⁡(A∩B)=Pr⁡(A)Pr⁡(B)\Pr(A \cap B) = \Pr(A)\Pr(B)Pr(A∩B)=Pr(A)Pr(B) under the uniform distribution.

This is the classical counterpart of Lemma 11 of Ambainis, Kempe and Sattath (constraints on disjoint sets of qubits are independent). It shows that clauses sharing no variables are mutually independent, which provides the dependency graph in the proof of Corollary 2.

Preamble
import Definitions.Def_QLLL_LocalLemma_Basic
import Definitions.Def_QLLL_Classical_KSAT
import Mathlib
import Std.Sat.CNF

open QLLL
open QLLL.SAT
open Finset Std.Sat
variable (Ω : Type*) [Fintype Ω] [DecidableEq Ω] [Nonempty Ω]
variable {V : ℕ}
Formal statement
theorem QLLL.SAT.card_inter_mul_card {S : Finset (Fin V)} {A B : Finset (Asg V)}
    (hA : DependsOn S A) (hB : DependsOn Sᶜ B) :
    (A ∩ B).card * Fintype.card (Asg V) = A.card * B.card := by sorry
Source
A. Ambainis, J. Kempe, O. Sattath, A Quantum Lovász Local Lemma, J. ACM 59(5):24 (2012), arXiv:0911.1696 (numbering of the arXiv version), classical counterpart of Lemma 11, used in Corollary 2

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me