The Power of the Combined Basic LP and Affine Relaxation for Promise CSPs I: BLP+Affine Correctly Solves Every PCSP with Symmetric Polymorphisms of Arbitrarily Large AritiesResearch Paper
Motivation
A constraint satisfaction problem (CSP) asks whether variables can be assigned values from a finite domain so that every constraint, drawn from a fixed list of allowed relations, is satisfied. A promise CSP (PCSP) relaxes the question: given two templates and with a homomorphism , distinguish instances satisfiable in from instances not even satisfiable in the weaker . Approximate graph colouring (colour a graph with more colours than its chromatic number) is the standard example. For CSPs, the resolution of the Feder–Vardi dichotomy conjecture by Bulatov and Zhuk (FOCS 2017) ties tractability to the existence of polymorphisms satisfying non-trivial identities; for PCSPs no such dichotomy is known, and the question of which polymorphism families yield algorithms is open in general.
A polymorphism of a PCSP is a function mapping tuples of rows satisfying the strict constraints to columns satisfying the weak ones. Brakensiek, Guruswami, Wrochna and Živný (arXiv:1907.04383v3, SIAM J. Comput. 2020) give a single algorithm, BLP+Affine, that decides every PCSP with infinitely many symmetric polymorphisms, and extend it to block-symmetric polymorphisms. As a corollary the same algorithm solves all tractable Boolean CSPs of Schaefer's dichotomy (2-SAT, Horn-SAT and its dual, linear equations mod 2).
Timeline, as recorded in the paper's introduction:
- 2012: Kun, O'Donnell, Tamaki, Yoshida and Zhou (ITCS 2012): with symmetric polymorphisms of all arities, the Basic LP alone decides the CSP; with only some arities (e.g. odd majorities) it does not.
- 2017: Austrin, Guruswami and Håstad classify -SAT and introduce polymorphisms for PCSPs (SIAM J. Comput. 46(5), 2017).
- 2018–2019: Brakensiek and Guruswami study PCSPs through polymorphisms; their SODA 2019 algorithm (arXiv:1807.05194) solves the search version for PCSPs with structured symmetric polymorphisms (threshold, threshold-periodic, regional), combining an LP over with an affine relaxation over a finite ring.
- 2019: Barto, Bulín, Krokhin and Opršal (arXiv:1811.00970) show that the identities satisfied by polymorphisms, captured by minion homomorphisms, determine the complexity of a PCSP.
- 2019–2020: the present paper. Theorem 2 needs only that be symmetric, with no structure beyond that; Theorem 3 handles any number of blocks; Theorem 4 characterizes exactly the PCSPs that BLP+Affine solves.
Setting
A signature is a set of symbols with arities . A relational structure on a finite domain gives, for each , a relation . A homomorphism is a map sending every tuple of , componentwise, into ; is a promise template when one exists.
An instance has variables and constraints , , where is a tuple of variables. is satisfiable in if some assignment sends every into .
A polymorphism of of arity is such that for every and every matrix whose rows lie in , applying to each column gives a tuple in . It is symmetric if it is invariant under all permutations of its arguments.
The Basic LP has rational unknowns , a distribution on for each variable, and , a distribution on for each constraint, linked by the marginal conditions when is the -th variable of . The affine relaxation is the same system of equations in integer unknowns , , with no sign constraints.
The BLP+Affine algorithm (Figure 1) finds a relative interior point of , rejecting if there is none; restricts the affine system to by forcing wherever and wherever ; and accepts if and only if the restricted system has an integer solution. It correctly solves (Definition 1) if it accepts every instance satisfiable in and rejects every instance unsatisfiable in .
Formalization targets
Goal: Theorem 2 (p. 6)
The hypothesis is a property of the template alone; the conclusion quantifies over all instances.
Milestones, in attack order
- Footnote 1 (p. 5): a feasible has a solution of maximal support.
- Completeness (p. 6): an instance satisfiable in is accepted.
- Rounding of variables (pp. 6–7): are non-negative integers with , for , .
- Rounding of constraints (p. 7): are non-negative integers with .
- Eq. (9) (p. 7): .
- Satisfying assignment (p. 7): satisfies in .
Companion: Theorem 3 (p. 8)
The same conclusion when contains block-symmetric polymorphisms of arbitrarily large width: is split into blocks, each of size at least , within which is invariant.
Significance
Theorem 2 gives one algorithm that decides every PCSP with an infinite family of symmetric polymorphisms, without knowing or evaluating the polymorphisms; it subsumes the BLP-then-AIP algorithm of Brakensiek and Guruswami for Boolean templates and applies over any finite domain. Theorem 3 extends this to block-symmetric families, which covers nearly all known tractable Boolean PCSPs, including 1-in-3-SAT versus NAE-SAT, whose alternating threshold polymorphisms are block-symmetric but not symmetric.
The results are proved in the paper. No machine-checked formalization of PCSPs, polymorphisms or the Basic LP is known to exist; Mathlib has no theory of constraint satisfaction. This mission produces a formal model of promise templates, instances, polymorphisms, the two relaxations and the algorithm's acceptance condition, together with a formal proof of the correctness theorem. The same model is the starting point for the characterization theorem (Theorem 4) treated in the companion mission.
Difficulty
Completeness is routine. Soundness is the substance: from a rational LP solution and an integer solution of the refined affine system one must produce an actual assignment in , using a polymorphism whose arity is chosen only after the instance is known. The natural first idea, clearing denominators of the LP solution and feeding the resulting multiplicities to a polymorphism, needs a polymorphism of exactly the arity the denominators dictate; with polymorphisms of only some arities it fails, and the paper's introduction notes that the LP alone does not suffice there. An integer affine solution, on the other hand, may have negative entries, which are not multiplicities. The paper stresses that the affine system must be the one refined by the support of a relative interior point: an arbitrary solution of the unrefined lattice gives no control on where the negative entries sit. In the formalization, the counting step (the columns of the matrix built from the constraint multiplicities have the variable multiplicities) and the passage from equal multiplicities to equal values of a symmetric function require explicit combinatorics on finite tuples, and the existence of a maximal-support LP solution requires an averaging argument over the finite set of coordinates.
Formalization scope
All declarations are in the namespace PCSPBLPAff.Symmetric. Conventions:
- Domains are Lean types with
FintypeandDecidableEq; variables areFin n, constraintsFin m, and a constraint's scope is a functionFin (ar R_j) → Fin n, possibly repeating variables. - Arities are any natural numbers (the page asks for positive arities; every statement remains true for arity 0).
- The LP is over and the affine system over . The weights , are total functions on required to vanish off .
- The marginal conditions (5) and (8) are imposed per position of the scope.
- The relative interior point is encoded by its only property the algorithm uses (footnote 1): a solution whose support contains the support of every solution. Acceptance requires such a solution and an affine solution vanishing outside its support.
- A block-symmetric function of width at least has at least one block, each block of size at least .
- The polynomial-time claims of the paper, and the Remark on , are out of scope: the algorithm is formalized by its acceptance condition.
The acceptance condition must not be replaced by "the LP is feasible and has a solution", nor by an affine solution vanishing outside the support of an arbitrary LP solution; the first is a different algorithm and the second bypasses footnote 1.
Contributions welcome: proofs of the milestones, in particular the combinatorial lemma that a symmetric function takes the same value on tuples with the same multiplicities, and the averaging argument for maximal-support solutions; the block-wise version for Theorem 3.
Selected references
- J. Brakensiek, V. Guruswami, M. Wrochna, S. Živný, The Power of the Combined Basic Linear Programming and Affine Relaxation for Promise Constraint Satisfaction Problems, SIAM J. Comput. 49(6), 2020; arXiv:1907.04383v3. https://arxiv.org/abs/1907.04383v3
- J. Brakensiek, V. Guruswami, An Algorithmic Blend of LPs and Ring Equations for Promise CSPs, SODA 2019. https://arxiv.org/abs/1807.05194
- J. Brakensiek, V. Guruswami, Promise Constraint Satisfaction: Structure Theory and a Symmetric Boolean Dichotomy, SODA 2018. https://arxiv.org/abs/1704.01937
- L. Barto, J. Bulín, A. Krokhin, J. Opršal, Algebraic Approach to Promise Constraint Satisfaction, J. ACM 68(4), 2021. https://arxiv.org/abs/1811.00970