Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Infinite kkk-SAT: bounded variable occurrence implies a global satisfying assignment, at any cardinality

Proved
QLLL.SAT.exists_assignment_forall

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

k-satlovasz-local-lemmaquantum-lll

A clause is a disjunction of literals over boolean variables, and an assignment satisfies it if at least one literal evaluates to true. Let V\mathcal{V}V be an arbitrary set of variables and let (Ci)i∈I(C_i)_{i \in I}(Ci​)i∈I​ be clauses over V\mathcal{V}V indexed by an arbitrary set III; neither set needs to be finite or countable. Let k≥1k \ge 1k≥1 and D≥1D \ge 1D≥1 be integers such that:

  1. every clause CiC_iCi​ involves exactly kkk distinct variables;
  2. every variable occurs in at most DDD clauses of every finite subfamily (equivalently, in at most DDD clauses in total);
  3. D⋅e⋅k≤2kD \cdot e \cdot k \le 2^{k}D⋅e⋅k≤2k.

Then there is a single assignment a:V→{0,1}a : \mathcal{V} \to \{0,1\}a:V→{0,1} satisfying every clause CiC_iCi​.

This extends Corollary 2 of Ambainis, Kempe and Sattath to infinite formulas. The conclusion is a single assignment because the space of all assignments is compact; the corresponding quantum statement for subspaces fails, since subspace lattices have no such compactness.

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

open QLLL
open QLLL.SAT
open Finset Std.Sat
Formal statement
theorem QLLL.SAT.exists_assignment_forall {V ι : Type*} [DecidableEq V]
    (C : ι → CNF.Clause V) (k D : ℕ) (hk : 1 ≤ k) (hD1 : 1 ≤ D)
    (hvars : ∀ i, (clauseVars' (C i)).card = k)
    (hdeg : ∀ (v : V) (T : Finset ι),
      (T.filter fun i => v ∈ clauseVars' (C i)).card ≤ D)
    (hDk : (D : ℝ) * (Real.exp 1 * k) ≤ 2 ^ k) :
    ∃ a : V → Bool, ∀ i, CNF.Clause.eval a (C i) = true := by sorry
Source
Not in the paper; an infinite extension of Corollary 2. Formalization companion to Ambainis, Kempe and Sattath, A Quantum Lovász Local Lemma, arXiv:0911.1696; see the blueprint https://sattath.github.io/Quantum-Lovasz-Local-Lemma/blueprint/

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