Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

kkk-QSAT with orthogonal projectors of rank at most rrr and bounded qubit degree is satisfiable (Corollary 16, the paper's setting)

Proved
QLLL.QSAT.satisfiable_of_degree_le

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

k-qsatquantum-informationquantum-lll

Model the state space of nnn qubits as Hn=C{0,1}n\mathcal{H}_n = \mathbb{C}^{\{0,1\}^n}Hn​=C{0,1}n. A kkk-QSAT instance on nnn qubits consists of constraints i=1,…,mi = 1, \dots, mi=1,…,m, each given by a set qiq_iqi​ of exactly kkk qubits and a matrix Πi\Pi_iΠi​ on C{0,1}qi\mathbb{C}^{\{0,1\}^{q_i}}C{0,1}qi​ that is an orthogonal projector: idempotent (Πi2=Πi\Pi_i^2 = \Pi_iΠi2​=Πi​) and self-adjoint (Πi†=Πi\Pi_i^\dagger = \Pi_iΠi†​=Πi​). The instance is satisfiable if there is a nonzero state ψ∈Hn\psi \in \mathcal{H}_nψ∈Hn​ with (Πi⊗I)ψ=0(\Pi_i \otimes I)\psi = 0(Πi​⊗I)ψ=0 for every iii, where III is the identity on the remaining qubits.

Suppose every Πi\Pi_iΠi​ has rank at most rrr, every qubit belongs to at most D′+1D' + 1D′+1 of the sets qiq_iqi​, and

r2k⋅e⋅(kD′+1) ≤ 1.\frac{r}{2^{k}} \cdot e \cdot (k D' + 1) \ \le\ 1.2kr​⋅e⋅(kD′+1) ≤ 1.

Then the instance is satisfiable.

This is Corollary 16 of Ambainis, Kempe and Sattath for kkk-QSAT instances given by projectors, the quantum analogue of Corollary 2 for kkk-SAT with the same parameters. For rank-one projectors it gives Corollary 5. It is the form in the paper's exact physical setting and the only form on the platform that states self-adjointness of the constraints. The platform has four versions of Corollary 16: on Mathlib's tensor product, the operator form QLLL.PiQSAT.inf_ker_extendOp_ne_bot and the subspace form QLLL.PiQSAT.inf_extend_ne_bot; in the function model, the subspace form QLLL.QSAT.inf_ne_bot_of_degree_le, from which the others are derived, and the orthogonal-projector form QLLL.QSAT.satisfiable_of_degree_le.

Formalization Note The paper's hypothesis "every qubit appears in at most D=2k/(erk)D = 2^k/(e r k)D=2k/(erk) projectors" implies the condition above with D′=D−1D' = D - 1D′=D−1. Qubits are modelled as functions on bit strings, ({0,1}n→C)(\{0,1\}^n \to \mathbb{C})({0,1}n→C), rather than by Mathlib's PiTensorProduct. The identification of the two models is proved in the source project (QuantumLocalLemma/Quantum/KQSAT/QubitTensor.lean) and is used for the forms on Mathlib's tensor product. The projector condition is Mathlib's IsStarProjection. Self-adjointness cannot yet be stated for the tensor-product forms because the pinned Mathlib has no inner product on PiTensorProduct.

Preamble
import Definitions.Def_QLLL_LocalLemma_Basic
import Definitions.Def_QLLL_Quantum_KQSAT_Basic
import Definitions.Def_QLLL_Quantum_KQSAT_Projector
import Mathlib

open QLLL
open QLLL.QSAT
open scoped Matrix Kronecker
open WithLp (toLp ofLp)
variable {n : ℕ}
Formal statement
theorem QLLL.QSAT.satisfiable_of_degree_le {k r D' : ℕ} (I : QSATInstance n k)
    (hrank : ∀ i, (I.proj i).rank ≤ r)
    (hdeg : ∀ v : Fin n,
      (Finset.univ.filter fun i => v ∈ I.qubits i).card ≤ D' + 1)
    (hp : ((r : ℝ) / 2 ^ k) * Real.exp 1 * (((k * D' : ℕ) : ℝ) + 1) ≤ 1) :
    I.Satisfiable := 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), Corollary 16 (and Corollary 5 for rank one)

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