The Power of the Combined Basic LP and Affine Relaxation for Promise CSPs II: BLP+Affine Solves PCSP(A, B) Exactly When Pol(A, B) Has Block-Symmetric Polymorphisms of Arbitrarily High WidthResearch Paper
Motivation
A promise constraint satisfaction problem asks to distinguish instances that are satisfiable in a structure from instances that are not even satisfiable in a weaker structure . Approximate graph colouring (tell 3-colourable graphs from graphs that are not 5-colourable) and are standard examples. The algebraic approach to CSPs explains the complexity of such problems through polymorphisms, the multi-argument maps that preserve every relation.
Two polynomial-time relaxations dominate the algorithmic side: the Basic LP relaxation, solved over , and the affine relaxation, the same linear system solved over . Barto, Bulín, Krokhin and Opršal (BBKO19) characterized each one separately: BLP solves exactly when has symmetric polymorphisms of all arities, and the affine relaxation exactly when it has alternating polymorphisms of all odd arities. Brakensiek and Guruswami (BG19) used ad hoc combinations of the two. Brakensiek, Guruswami, Wrochna and Živný (arXiv:1907.04383) combine them into a single algorithm, BLP+Affine, and characterize its power exactly. This mission formalizes that characterization, Theorem 4 of the paper.
Setting
A signature assigns to each symbol an arity . A relational structure on a finite domain fixes relations . A homomorphism is a map sending every tuple of into , and is a promise template if one exists. An instance has variables and constraints ; it is satisfiable in (written ) if some assignment sends each into .
A map is a polymorphism if applying column-wise to any matrix whose rows are in gives a tuple of . It is block-symmetric for a partition if it is invariant under permutations of its arguments that preserve every block, and its width is the largest minimum block size over such partitions.
The Basic LP has a probability distribution on for each variable and on for each constraint, with the marginal of at each position of equal to the distribution of the variable in that position. The affine relaxation is the same system over with unknowns , and no sign constraints. BLP+Affine (Figure 1) takes a relative interior point of the LP, keeps only the integer solutions that vanish wherever does, and accepts iff one remains. It correctly solves if it accepts every and rejects every .
The minor of along is . The minion has as -ary objects the pairs with , , both summing to , and ; the minor along sums both over fibres of . A minion homomorphism sends -ary objects to -ary polymorphisms and commutes with minors. The free structure has the -ary objects as its domain, and a tuple is in iff it is the family of coordinate minors of one -ary object.
Formalization targets
Goal: Theorem 4
For a promise template on finite domains, the following are equivalent:
Milestones
The paper proves Theorem 4 through Lemmas 7, 8 and 9. The milestones follow that proof:
- is a minion (p. 10);
- Lemma 8: a minion homomorphism yields the -ary two-block polymorphisms;
- the finite-subset construction in the proof of Lemma 9: a symmetric polymorphism of arity , , gives a minion homomorphism on the finite set by repeating coordinate exactly times;
- Lemma 9: block-symmetric polymorphisms of arbitrarily high width yield a minion homomorphism;
- Observation 15, Lemma 16 (compactness for structures) and Lemma 17 (free structures versus minion homomorphisms, for ), which together give
- Lemma 7: BLP+Affine correctly solves iff .
A companion item, Example 10, records that the disjoint union of a directed 2-cycle and a directed 3-cycle has no block-symmetric polymorphism of width at least .
Significance
Theorem 4 is an exact criterion: the power of an algorithm is read off from the polymorphisms of the template. Its sufficiency direction (Theorem 3, the subject of the companion mission) says that one fixed algorithm decides every PCSP with block-symmetric polymorphisms of unbounded width, which covers nearly all tractable Boolean PCSPs known at the time, including those with threshold and alternating-threshold polymorphisms. The necessity direction, new in Theorem 4, gives a method for proving that BLP+Affine fails on a template: exhibit, for some , the absence of a -ary polymorphism with blocks of sizes and . Example 10 is an instance: a tractable template that the algorithm does not solve. The minion and its free structure are the template for later characterizations of relaxation hierarchies.
The result is proved in the paper. As far as is known it has not been machine-checked. A formalization adds a checked development of minions, minion homomorphisms and free structures for PCSPs, a compactness theorem for relational structures, and a checked version of the one-block argument whose many-block extension the paper only asserts.
Difficulty
The equivalence passes through three different kinds of object: an algorithm, an infinite algebraic object (a homomorphism defined on all of ), and finite families of polymorphisms. From polymorphisms one obtains homomorphisms only on finite pieces , each from a different polymorphism, and these do not agree with one another; a single homomorphism on the whole minion needs a compactness argument over the finitely many restrictions, which uses the finiteness of and . The passage from "every instance satisfiable in the free structure is satisfiable in " to a homomorphism from the infinite free structure is a second compactness step. The relative interior point of Figure 1 must be kept: accepting whenever both relaxations are merely feasible is a different, weaker algorithm.
Formalization scope
All objects are in the definitions file PCSPBLPAff.Characterization.Setting, built on Mathlib only.
- Signatures are
(τ : Type) (ar : τ → ℕ), with no finiteness of ; the paper's requirement that arities be positive is dropped, and no statement needs it. Domains are finite types; instance variables areFin nand aritiesFin L. - The LP is over and the affine system over . Constraint distributions are functions on all tuples that vanish outside , and marginal conditions are imposed per position of a constraint's scope.
- The relative interior point is encoded by the only property the algorithm uses: a solution whose zero coordinates are exactly those that vanish on the whole polytope. The algorithm is formalized by its acceptance condition; the polynomial-time claims are out of scope.
- Width requires at least one block, so a nullary function does not have every width.
- There is no abstract minion structure. A minion homomorphism is spelled out as a family of maps from objects of each arity to polymorphisms of that arity, commuting with minors. Lemma 17 is stated for . Free-structure objects are indexed by and by tuples, identifying with .
- Lemma 16 drops the hypothesis that is infinite, which is unnecessary.
Two trivializing formalizations are ruled out: the acceptance condition keeps the maximal-support requirement, and the free structure's relation requires the witnessing pair to be an object of supported in .
A complete development needs finite sums over fibres, transport of objects along Fintype.equivFin, Tychonoff or König's lemma (Mathlib.Order.KonigLemma, Mathlib.Combinatorics.Compactness), and the existence of a maximal-support point of a rational polytope. The compactness theorem for relational structures and the free-structure lemma are reusable beyond this mission. Proofs of any milestone, and of the general Lemma 17 for an abstract minion, are welcome.
Selected references
- J. Brakensiek, V. Guruswami, M. Wrochna, S. Živný, The Power of the Combined Basic LP and Affine Relaxation for Promise CSPs, arXiv:1907.04383v3, 2020 (also SIAM J. Comput., 2020, https://doi.org/10.1137/20M1312745). https://arxiv.org/abs/1907.04383
- L. Barto, J. Bulín, A. Krokhin, J. Opršal, Algebraic approach to promise constraint satisfaction, arXiv:1811.00970, 2019; J. ACM 68(4), 2021. https://arxiv.org/abs/1811.00970
- J. Brakensiek, V. Guruswami, An Algorithmic Blend of LPs and Ring Equations for Promise CSPs, SODA 2019, pp. 436–455. https://arxiv.org/abs/1807.05194
- R. Diestel, Graph Theory, 5th ed., Springer, 2016, Theorem 8.1.3 (de Bruijn–Erdős compactness). https://doi.org/10.1007/978-3-662-53622-3