Status: complete. This mission records a finished formalization rather than an open call for work. Every statement below, including the goal, was uploaded together with a proof that the platform has verified, so there is nothing left to prove.
Motivation
The Lovász Local Lemma (LLL) is a basic tool of the probabilistic method. It shows that a collection of rare "bad" events can all be avoided simultaneously, even when the events are not independent, provided each event depends on only a few others. Its best-known application is to satisfiability: a k-CNF formula in which every variable appears in few clauses has a satisfying assignment.
Quantum satisfiability (k-QSAT) is the quantum analogue of k-SAT. Clauses are replaced by projectors acting on k qubits, and the question is whether some nonzero state is annihilated by all of them, equivalently whether the corresponding local Hamiltonian is frustration-free. Bravyi showed that k-QSAT is QMA1-complete for k≥4, so sufficient conditions for satisfiability are of interest in quantum complexity theory and in many-body physics. Ambainis, Kempe and Sattath (arXiv:0911.1696, J. ACM 2012) proved a quantum version of the LLL in which probability is replaced by relative dimension, and derived a sufficient condition for k-QSAT instances to be satisfiable.
Timeline
- 1975. Erdős and Lovász introduce the local lemma, in the symmetric form, to colour hypergraphs (Infinite and Finite Sets, 1975).
- 1977. Spencer publishes the general (asymmetric) form, credited to Lovász, and applies it to Ramsey numbers (Discrete Math. 20, 1977).
- 1985. Shearer determines the optimal dependency condition, in terms of the independence polynomial of the dependency graph (Combinatorica 5, 1985).
- 2009 to 2010. Moser gives a constructive proof for k-SAT (arXiv:0810.4812, STOC 2009); Moser and Tardos make the general lemma constructive (arXiv:0903.0544, J. ACM 2010).
- 2011. Kolipaka and Szegedy show that the Moser and Tardos algorithm works throughout Shearer's region, giving an algorithmic proof of Shearer's bound (Moser and Tardos meet Lovász, STOC 2011, 235 to 244).
- 2009 to 2012. Ambainis, Kempe and Sattath prove the quantum local lemma and its k-QSAT corollaries (arXiv:0911.1696, J. ACM 59(5):24, 2012).
- 2013. Arad and Sattath (arXiv:1310.7766) and, independently, Schwarz, Cubitt and Verstraete (arXiv:1311.6474) give constructive versions for commuting projectors.
- 2016. Sattath, Morampudi, Laumann and Moessner extend Shearer's criterion to the quantum setting and conjecture that it is tight (arXiv:1509.07766, PNAS 2016).
- 2017. He, Li, Liu, Wang and Xia show that the abstract and variable versions of the local lemma differ: Shearer's bound, tight for the abstract version, is not tight for the variable version (the setting of k-SAT, where events are determined by independent variables) for instance when the base graph of the event-variable graph has an induced cycle of length at least 4, while there is no gap when it is a tree (arXiv:1709.05143, FOCS 2017).
- 2017. Gilyén and Sattath give an efficient quantum algorithm for the non-commuting case under a spectral gap condition (arXiv:1611.08571, FOCS 2017).
- 2018 to 2019. He, Li, Sun and Zhang prove this conjecture: Shearer's bound is tight for the quantum local lemma, so in this respect the quantum lemma behaves like the abstract version rather than the variable one; they also show that the tight regions of the quantum lemma and of its commuting variant differ in general (arXiv:1804.07055, STOC 2019).
Setting
Let V be a nonzero finite-dimensional vector space. For a subspace X⊆V, the relative dimension is
R(X)=dimVdimX.
It plays the role of probability: subspaces replace events, intersection replaces conjunction, and R(X∣Y)=dim(X∩Y)/dimY replaces conditional probability.
Subspaces X1,…,Xn have dependency sets Γ(1),…,Γ(n)⊆{1,…,n} when, for every i and every set S of indices with i∈/S and S∩Γ(i)=∅,
R(Xi∩j∈S⋂Xj)=R(Xi)R(j∈S⋂Xj).
In words, Xi is independent, for relative dimension, of every intersection of subspaces outside its dependency set.
A k-QSAT instance on n qubits is a family of projectors Π1,…,Πm, each acting on a set of k qubits and extended by the identity on the others. It is satisfiable if a nonzero state lies in the kernel of every Πi.
The formalization proves the local lemma once, for an abstract valuation: a real function R on a bounded lattice that is nonnegative, monotone and modular, R(x)+R(y)=R(x∨y)+R(x∧y), with R(⊤)=1 and R(⊥)=0. Relative dimension on subspaces and the uniform probability on subsets of a finite set are the two instances used.
Formalization targets
Goal: the quantum local lemma (Theorem 14)
Let X1,…,Xn be subspaces with dependency sets Γ(i), and let 0≤yi<1 satisfy R(Xi)≥1−yi∏j∈Γ(i)(1−yj) for every i. Then
R(i=1⋂nXi) ≥ i=1∏n(1−yi).
Other formalized results
All of these are proved on Prove2Me and can be found by name (tag quantum-lll):
- The same statement for any valuation on a bounded lattice (Theorem 14, abstract form):
QLLL.Valuation.lll.
- The symmetric quantum local lemma: if R(Xi)≥1−p, each Xi has at most d dependencies and p⋅e⋅(d+1)≤1, then R(⋂iXi)>0 (Theorem 4):
QLLL.quantum_lll_symmetric.
- The classical Erdős and Lovász local lemma, asymmetric and symmetric (Theorems 13 and 1), for the uniform probability on a finite set:
QLLL.SAT.classical_lll, QLLL.SAT.classical_lll_symmetric.
- k-SAT: a k-CNF formula in which every variable appears in at most 2k/(ek) clauses is satisfiable (Corollary 2):
QLLL.SAT.sat_of_degree_le.
- k-QSAT: an instance of rank-≤r constraints in which every qubit appears in at most 2k/(erk) constraints is satisfiable (Corollary 16):
QLLL.PiQSAT.inf_ker_extendOp_ne_bot on Mathlib's tensor product, and QLLL.QSAT.satisfiable_of_degree_le for orthogonal projectors.
- Two results beyond the paper: infinite k-SAT (
QLLL.SAT.exists_assignment_forall), and the local lemma for infinite index sets under a continuity hypothesis (QLLL.lll_iInf).
Significance
The quantum local lemma gives a sufficient condition for k-QSAT satisfiability that depends only on the local structure of the instance: the rank of the projectors and the number of projectors per qubit. It shows that the classical criterion survives the passage from events to subspaces, even though subspaces do not form a distributive lattice. Later work on constructive and tight versions, listed in the timeline, builds on this statement.
All results of this mission are proved and machine-checked. The Lean development was written as a complete formalization of the paper, and every statement here was uploaded together with a proof verified by the platform. What the mission adds is a reusable, Mathlib-based library: the local lemma for abstract valuations, its classical and quantum instances, k-QSAT stated on Mathlib's tensor product of qubits, and linear algebra on intersections of tensor products of subspaces that Mathlib does not yet contain. Mathlib currently has no form of the Lovász Local Lemma.
Difficulty
The classical proof uses complements of events and the identity Pr(A)+Pr(Ac)=1, together with the distributive law for events. Subspaces satisfy neither in general: the lattice of subspaces is modular but not distributive, and the orthogonal complement does not distribute over intersections. The argument has to be rebuilt from the properties of relative dimension that do hold. For k-QSAT, the further difficulty is to show that constraints acting on disjoint sets of qubits are independent for relative dimension, which requires computing intersections and dimensions of tensor products of subspaces.
Formalization scope
Conventions committed to in the Lean statements:
- The local lemma is stated for n indexed subspaces (or lattice elements) and real weights 0≤yi<1. An index is never in its own dependency set's complement: independence is required from intersections over sets S that avoid both Γ(i) and i itself.
- Independence is stated in product form, R(X∩Y)=R(X)R(Y), which agrees with the conditional form of the paper whenever the conditional relative dimension is defined.
- The quantum lemma holds over any field and requires V to be nonzero and finite-dimensional.
- The classical lemmas are stated for good events (complements of bad events) under the uniform probability on a finite nonempty set.
- Qubits: the main k-QSAT statement uses Mathlib's tensor product ⨂jC2 and allows arbitrary local operators of rank at most r, since only the dimension of their kernels enters. A second form, on functions from bit strings to C, requires the constraints to be orthogonal projectors (idempotent and self-adjoint). Self-adjointness cannot yet be stated on Mathlib's n-fold tensor product, which has no inner product in the pinned Mathlib version.
- Degree conditions are integers: "at most 2k/(erk) projectors per qubit" is written as at most D′+1 with 2kr⋅e⋅(kD′+1)≤1, which the paper's hypothesis implies.
An infinite version of k-QSAT is deliberately not included. Nonzero subspaces can have all finite intersections nonzero and zero total intersection, so the infinite statement has to be phrased with compatible families of density matrices, and the current Lean formulation does not yet restrict the constraints to positive operators.
The blueprint of the formalization, linking every paper statement to its Lean declaration, is at sattath.github.io/Quantum-Lovasz-Local-Lemma/blueprint. Natural extensions, outside the scope of this mission: the orthogonal-projector form of Corollary 16 on Mathlib's tensor product once inner products on n-fold tensor products are available, Shearer-type conditions, and a measure-theoretic classical local lemma on general probability spaces.
A note from the contributor
This is my first contribution to Prove2Me, so the definitions, statements, proofs and descriptions may fall short of what an experienced contributor would produce. Some choices may be unidiomatic, some lemmas may duplicate Mathlib, and the split into entries could be better. Every proof is checked by Lean, so the theorems are correct as stated; the question is whether they are stated in the most useful way.
Selected references
- P. Erdős and L. Lovász, Problems and results on 3-chromatic hypergraphs and some related questions, Infinite and Finite Sets, Colloq. Math. Soc. János Bolyai 10, 1975, 609 to 627.
- J. Spencer, Asymptotic lower bounds for Ramsey functions, Discrete Math. 20, 1977, 69 to 76.
- J. B. Shearer, On a problem of Spencer, Combinatorica 5, 1985, 241 to 245.
- R. A. Moser, A constructive proof of the Lovász local lemma, STOC 2009. arXiv:0810.4812
- R. A. Moser and G. Tardos, A constructive proof of the general Lovász local lemma, J. ACM 57(2), 2010. arXiv:0903.0544
- A. Ambainis, J. Kempe and O. Sattath, A quantum Lovász local lemma, J. ACM 59(5):24, 2012. arXiv:0911.1696
- I. Arad and O. Sattath, A constructive quantum Lovász local lemma for commuting projectors, 2013. arXiv:1310.7766
- M. Schwarz, T. S. Cubitt and F. Verstraete, An information-theoretic proof of the constructive commutative quantum Lovász local lemma, 2013. arXiv:1311.6474
- O. Sattath, S. C. Morampudi, C. R. Laumann and R. Moessner, When a local Hamiltonian must be frustration-free, PNAS 113(23), 2016. arXiv:1509.07766
- A. Gilyén and O. Sattath, On preparing ground states of gapped Hamiltonians: an efficient quantum Lovász local lemma, FOCS 2017. arXiv:1611.08571
- K. He, Q. Li, X. Sun and J. Zhang, Quantum Lovász local lemma: Shearer's bound is tight, STOC 2019. arXiv:1804.07055