Contributors
Joshua Brakensiek (UC Berkeley), Venkatesan Guruswami (UC Berkeley), Marcin Kozik (Jagiellonian University), and Xuandi Ren (UC Berkeley)
AI disclosure
The vast majority of the proofs in this paper were devised by ChatGPT-6 Astra or in close collaboration with it. We carefully (and painfully) simplified and verified some of these proofs before presenting them here. We verified others without simplifying them. Some still await both verification and simplification. Future versions of this paper will clarify the presentation.
Parallel work
In parallel work, Yuwen Zhou [24 Corollary 1.2] proved that for every fixed odd cycle C C C and fixed 0 < δ < 1 / 3 0 < \delta< 1/3 0 < δ < 1/3 , it is NP-hard to distinguish graphs mapping to C C C from graphs with independence ratio below δ \delta δ .
Introduction
For a fixed integer n ≥ 3 n \ge3 n ≥ 3 , approximate graph coloring asks for an n n n -coloring of a graph promised to be 3-colorable. We give a direct LOGSPACE reduction from 3-SAT to this problem, together with a LOGSPACE search decoder. Thus a satisfying assignment produces a 3-coloring of the output graph, and any n n n -coloring of that graph can be decoded into a satisfying assignment. The parameters of the reduction depend on n n n , which remains fixed.
Fei, Minzer and Wang proved NP-hardness of this decision problem for every fixed n ≥ 3 n \ge3 n ≥ 3 [2 Corollary 1.7] . The starting point is the coordinate-list argument in OpenAI’s proof of hardness for finding large independent sets in three-colorable graphs [1 ] . We seek an algebraic condition that captures the part of that argument needed for coloring and supplies a general reduction theorem for promise constraint satisfaction problems. The conclusion here is the reduction to PCSP ( K 3 , K n ) \operatorname{PCSP}(K_3,K_n) PCSP ( K 3 , K n ) ; we do not recover the stronger independent-set density conclusion of [1 ] . Brakensiek and Guruswami conjectured decision hardness for every pair of finite loopless undirected graphs G → H G \to H G → H with G G G nonbipartite [23, Conjecture 1.2.
A chain homomorphism assigns a bounded list of operations to each short minor chain. On a chain with one more position, the lists of its faces have a common value after transport to the last coordinate set. The graph-coloring application satisfies this condition on every chain. For Boolean applications we also assign bounded coordinate marks to each operation. We require the same intersection on every injective chain, where successive maps preserve distinctness on all marks accumulated so far. This gives an injective chain homomorphism.
The reduction evaluates the face lists on local solutions. Its soundness requires a global solution even when some restrictions identify marked local assignments. Two distinct assignments can be kept distinct by retaining one variable on which they differ. The difficulty is that the upper scope determines these variables, whereas the lower tests must already fit inside that scope. At each lower level of our injective baby PCP theorem, an edge-coloring records which lists of tuples agree on a small set of variables. If one level has no pivot, ordinary baby PCP recovers a solution on that level. Otherwise we fix one pivot per level. Sampling the prospective lower scopes in advance lets us retain the variables needed for injectivity while avoiding all earlier lists. When lists depend on whole subchains, the same matrix argument is applied at the splits of a binary tree. Ramsey’s theorem then forces a pair of matching faces. The instance map uses logspace. Reconstruction is polynomial-time in general and uses logspace in the ordinary case.
Our hardness source pairs a tight cycle with the relation of nonconstant p p p -tuples of colors. The continuous proof represents each polymorphism by an equivariant Lipschitz map from a power of the circle to a sphere. For graphs, taking a minor changes a value by at most a right angle. For odd primes, it preserves the minimizing phases in each color column. These conditions keep the convex hull of the row values on a common input away from zero.
To choose a face list, turn one terminal coordinate by 1 / p 1/p 1/ p and measure the mean change in the row values. Only boundedly many coordinates have appreciable effect. If the face lists had empty intersection, assign every terminal coordinate to a face missing it. The cyclic Borsuk–Ulam argument forces one such block to have appreciable effect, and a Lipschitz estimate then finds a selected coordinate in that block. The combinatorial proof works directly with a finite clock and uses cyclic covering to force a color on every rotation of a cell.
The source maps to a cyclic relation exactly when the corresponding modular equations on ordered faces are inconsistent. For graphs these are the bipartiteness equations. This gives the approximate graph-coloring dichotomy, the smooth-digraph dichotomy through auxiliary constructions, and seven hypergraph-coloring applications. In each hypergraph application, a short periodic word supplies the required tight-cycle homomorphism. For Boolean templates whose polymorphisms are unate, the tractable case has block-symmetric polymorphisms on blocks of sizes t , t + 1 t,t+1 t , t + 1 for every t t t . A missing width gives a bounded direction certificate at every polymorphism. An injective chain transports these certificates and allows the increasing operations to supply the tight-cycle obstruction. This gives a PCP-free hardness proof covering both monotone polymorphisms and signed linear thresholds.
Section 1 places the algebraic condition among existing reduction criteria and proves the reduction theorem in § 3.7 . § 5 states the tight-cycle source, proves the sandwich characterization, and derives the applications. Appendix § 6 proves the source theorem. The following appendices contain the auxiliary hypergraph results, the smooth-digraph constructions, and the comparison, composition, and separation results.
Preliminaries
We write [ m ] = { 1 , … , m } [m] = \{1,\ldots,m\} [ m ] = { 1 , … , m } and P k ( X ) = { U ⊆ X : ∣ U ∣ = k } \mathcal{P}_k(X) = \{U \subseteq X : |U| = k\} P k ( X ) = { U ⊆ X : ∣ U ∣ = k } . A relational signature is a collection of relation symbols, each with a specified arity (number of arguments). All relational signatures in this paper are finite, and all relation symbols have positive arity. Unless stated otherwise, domains are finite and nonempty.
For a tuple x x x indexed by I I I and J ⊆ I J \subseteq I J ⊆ I , write x ∣ J x|_J x ∣ J for restriction to J J J . For a set S S S of such tuples, its coordinate projection onto J J J is S ∣ J = { x ∣ J : x ∈ S } S|_J = \{x|_J : x \in S\} S ∣ J = { x ∣ J : x ∈ S } .
Definition (Relational structures and promise problems). A relational structure A \mathbf{A} A consists of a set A A A and a relation R A ⊆ A r R^{\mathbf{A}} \subseteq A^r R A ⊆ A r for each r r r -ary relation symbol R R R . A homomorphism u : A → B u : \mathbf{A} \to\mathbf{B} u : A → B is a map u : A → B u : A \to B u : A → B that sends every tuple in R A R^{\mathbf{A}} R A to a tuple in R B R^{\mathbf{B}} R B , for every R R R . We write A → B \mathbf{A} \to\mathbf{B} A → B when such a map exists.
A promise template is a pair ( A , B ) (\mathbf{A}, \mathbf{B}) ( A , B ) of relational structures in the same relational signature with A → B \mathbf{A} \to\mathbf{B} A → B . An input to PCSP ( A , B ) \operatorname{PCSP}(\mathbf{A}, \mathbf{B}) PCSP ( A , B ) is a finite relational structure X \mathbf{X} X in the same signature, represented by its domain and lists of relation tuples; the template is fixed. The decision problem asks one to distinguish X → A \mathbf{X} \to\mathbf{A} X → A from X ↛ B \mathbf{X} \not\to\mathbf{B} X → B , with no requirement on inputs satisfying neither condition. The search problem asks for a homomorphism X → B \mathbf{X} \to\mathbf{B} X → B under the promise X → A \mathbf{X} \to\mathbf{A} X → A . We write CSP ( A ) = PCSP ( A , A ) \operatorname{CSP}(\mathbf{A}) = \operatorname{PCSP}(\mathbf{A}, \mathbf{A}) CSP ( A ) = PCSP ( A , A ) .
We identify an input relational structure with a instance : its elements are variables, and a tuple in one of its relations is a constraint . The constraint scope of a constraint is the set of variables occurring in its tuple. For an instance Φ \Phi Φ over a value set B B B , an assignment on U U U is a map U → B U \to B U → B . It is a local solution if it satisfies every constraint whose constraint scope is contained in U U U ; a global solution is a solution on all variables. In particular, a local A-solution on U ⊆ X U \subseteq X U ⊆ X is a homomorphism X [ U ] → A \mathbf{X}[U] \to\mathbf{A} X [ U ] → A , where the induced relational structure X [ U ] \mathbf{X}[U] X [ U ] retains exactly the relation tuples contained in U U U . A list is a finite set of candidate operations or assignments; it is unordered, and its list bound is an upper bound on its cardinality. A list assignment is a rule assigning a list to each operation or minor chain in its domain. When enumerating a list, we specify any repeated entries or extra padding symbols explicitly. A polynomial-time decision reduction from PCSP ( A , B ) \operatorname{PCSP}(\mathbf{A}, \mathbf{B}) PCSP ( A , B ) to PCSP ( C , D ) \operatorname{PCSP}(\mathbf{C}, \mathbf{D}) PCSP ( C , D ) is a polynomial-time map T T T on instances such that
X → A ⟹ T ( X ) → C , T ( X ) → D ⟹ X → B . \mathbf{X} \to\mathbf{A} \mathrel{\Longrightarrow} T(\mathbf{X}) \to\mathbf{C}, \qquad T(\mathbf{X}) \to\mathbf{D} \mathrel{\Longrightarrow} \mathbf{X} \to\mathbf{B}. X → A ⟹ T ( X ) → C , T ( X ) → D ⟹ X → B .
A LOGSPACE decision reduction is such an instance map computable by a deterministic logspace transducer: on an input of length N N N , its work tapes use O ( log N ) O(\log N) O ( log N ) workspace, with read-only input and write-only output. A search reduction additionally provides a polynomial-time procedure that constructs X → B \mathbf{X} \to\mathbf{B} X → B from a given T ( X ) → D T(\mathbf{X}) \to\mathbf{D} T ( X ) → D . This procedure is the search decoder . The complete graph K c K_c K c has vertex set [ c ] [c] [ c ] and edge relation { ( i , j ) : i ≠ j } \{(i,j) : i \ne j\} {( i , j ) : i = j } . Thus a homomorphism to K c K_c K c is a proper c c c -coloring.
Definition (Minions). A minion M \mathcal{M} M consists of sets M ( I ) \mathcal{M}(I) M ( I ) , indexed by finite nonempty sets I I I and not all empty, together with maps f ↦ f π f \mapsto f^\pi f ↦ f π from M ( I ) \mathcal{M}(I) M ( I ) to M ( J ) \mathcal{M}(J) M ( J ) for every map π : I → J \pi: I \to J π : I → J , satisfying
f id I = f , ( f π ) ρ = f ρ ∘ π . f^{\operatorname{id}_I}=f,\qquad(f^\pi)^\rho=f^{\rho\circ\pi}. f id I = f , ( f π ) ρ = f ρ ∘ π .
An element of M ( I ) \mathcal{M}(I) M ( I ) is called an I I I -ary operation . Its coordinate set is I I I , its arity is ∣ I ∣ |I| ∣ I ∣ , and a map π : I → J \pi: I \to J π : I → J is a coordinate map . The operation f π f^\pi f π is its minor along π \pi π . A surjective minor is one whose coordinate map is surjective.
For functions f : A I → B f : A^I \to B f : A I → B , the minor is defined by f π ( x ) = f ( x ∘ π ) f^\pi(x) = f(x \circ\pi) f π ( x ) = f ( x ∘ π ) for x ∈ A J x \in A^J x ∈ A J . A function minion is a nonempty family of such functions closed under all minors . Its operations are not required to be closed under composition.
The power A I A^{I} A I has domain A I A^{I} A I and coordinatewise relations. A polymorphism of ( A , B ) (\mathbf{A},\mathbf{B}) ( A , B ) with coordinate set I I I is a homomorphism A I → B A^{I} \to B A I → B . The polymorphism minion of a promise template is
Pol ( A , B ) ( I ) = { f : A I → B : f is a homomorphism } . \operatorname{Pol}(\mathbf{A},\mathbf{B})(I)=\{f:A^{I}\to B:f\text{ is a homomorphism}\}. Pol ( A , B ) ( I ) = { f : A I → B : f is a homomorphism } .
We abbreviate Pol ( A , A ) \operatorname{Pol}(\mathbf{A},\mathbf{A}) Pol ( A , A ) to Pol ( A ) \operatorname{Pol}(\mathbf{A}) Pol ( A ) . A projection is the function e i ( x ) = x i e_i(x)=x_i e i ( x ) = x i . The projection minion P \mathcal{P} P has one element e i e_i e i for each i ∈ I i\in I i ∈ I , with e i π = e π ( i ) e_i^\pi=e_{\pi(i)} e i π = e π ( i ) ; it may be realized by coordinate projections on { 0 , 1 } \{0,1\} { 0 , 1 } . Accordingly, a subset of P ( I ) \mathcal{P}(I) P ( I ) will also be regarded as a subset of I I I .
For a function f : A I → B f:A^{I}\to B f : A I → B , i ∈ I i\in I i ∈ I is an essential coordinate if there are two inputs differing only at i i i on which f f f has different values. A coordinate that is not an essential coordinate is a dummy coordinate . The minors of a family of functions form the minion generated by that family.
Definition (Minor chains and transport). A minor chain of length r r r is a sequence
C = ( f 0 → π 01 f 1 → π 12 ⋯ → π r − 1 , r f r ) , f i ∈ M ( I i ) , C=(f_0\xrightarrow{\pi_{01}}f_1\xrightarrow{\pi_{12}}\cdots\xrightarrow{\pi_{r-1,r}}f_r),\qquad f_i\in\mathcal{M}(I_i), C = ( f 0 π 01 f 1 π 12 ⋯ π r − 1 , r f r ) , f i ∈ M ( I i ) , where f i + 1 = f i π i , i + 1 f_{i+1}=f_i^{\pi_{i,i+1}} f i + 1 = f i π i , i + 1 . For i < j i<j i < j let π i j \pi_{ij} π ij be the composite of the intervening maps, and put π i i = id I i \pi_{ii}=\operatorname{id}_{I_i} π ii = id I i . Repetitions and identity maps are allowed; repeated operations still occupy distinct positions. A subchain retains a specified set of positions, together with their operations and the corresponding composite maps. A minor chain with h h h operations has h h h positions and h − 1 h-1 h − 1 arrows. A face is a subchain obtained by deleting one position. More generally, an h h h -face retains exactly h h h positions. We also write E ⊆ C E\subseteq C E ⊆ C for a selection of positions in a minor chain and the resulting subchain; then min E \min E min E and max E \max E max E refer to position indices. For a set, an h h h -face likewise means an h h h -element subset.
For L ⊆ N ( I ) L\subseteq\mathcal{N}(I) L ⊆ N ( I ) put L π = { g π : g ∈ L } L^\pi=\{g^\pi:g\in L\} L π = { g π : g ∈ L } . If a subchain F F F of C C C ends at position j j j and L ⊆ N ( I j ) L\subseteq\mathcal{N}(I_j) L ⊆ N ( I j ) , its transport to the end of C C C is L ↓ C = L π j r L\mathord{\downarrow}_{C}=L^{\pi_{jr}} L ↓ C = L π j r . A surjective minor chain is a minor chain in which all coordinate maps are surjections. A set chain is a sequence of distinct sets ordered by strict inclusion; we order its sets from largest to smallest. Subchains and faces of set chains are defined by retaining or deleting positions in the same way.
Definition (Injective chains). Given a sequence I 0 → ⋯ → I r I_0\to\cdots\to I_r I 0 → ⋯ → I r of coordinate sets and maps, with specified subsets S i ⊆ I i S_i\subseteq I_i S i ⊆ I i , call it an injective chain for these subsets if, for each i < r i<r i < r , the next map π i , i + 1 \pi_{i,i+1} π i , i + 1 is injective on
⋃ j = 0 i π j i ( S j ) . \bigcup_{j=0}^{i}\pi_{ji}(S_j). j = 0 ⋃ i π j i ( S j ) . Thus coordinates from different rows that are distinct at position i i i must also stay distinct at position i + 1 i+1 i + 1 . Every subchain is injective for its retained subsets: their images belong to the tested union at every intervening position.
For a minion, a choice of coordinate marks assigns a set S ( f ) ⊆ I S(f)\subseteq I S ( f ) ⊆ I to each f ∈ M ( I ) f\in\mathcal{M}(I) f ∈ M ( I ) , of size at most one fixed constant and possibly empty. On a minor chain use S i = S ( f i ) S_i=S(f_i) S i = S ( f i ) . The injective variant of a minor-preservation condition asks for one choice of coordinate marks and tests the same condition on all injective chains. For a single arrow f → π g f\xrightarrow{\pi}g f π g this means testing precisely the maps π \pi π injective on S ( f ) S(f) S ( f ) . Empty marks recover the test on all chains. One may independently require each coordinate map to be surjective onto its full codomain.
All bounds on list size, lengths of minor chains and set chains, and the sizes of local variable sets are constants independent of arity and instance size. In statements about reductions we use the notation
M = Pol ( C , D ) , N = Pol ( A , B ) , PCSP ( A , B ) ⟶ PCSP ( C , D ) . (1) \mathcal{M}=\operatorname{Pol}(\mathbf{C},\mathbf{D}),\qquad
\mathcal{N}=\operatorname{Pol}(\mathbf{A},\mathbf{B}),\qquad
\operatorname{PCSP}(\mathbf{A},\mathbf{B})\longrightarrow\operatorname{PCSP}(\mathbf{C},\mathbf{D}). \tag*{(1)} M = Pol ( C , D ) , N = Pol ( A , B ) , PCSP ( A , B ) ⟶ PCSP ( C , D ) . (1)
We assume that the target problem has a NO instance, that is, some finite relational structure has no homomorphism to D. Statements involving arbitrary minions do not implicitly assert that those minions are polymorphism minions of finite promise templates.
Algebraic reductions and the chain condition
In this section we prove the reduction theorem for injective chain homomorphisms between finite promise templates. Its combinatorial input reconstructs a solution from bounded lists of partial assignments even when restrictions may identify selected local assignments and only the injective chains are tested.
Figure 1. Arbitrary coordinate maps → Surjective coordinate maps. All chains; Injective chains; All chains; Injective chains. Minion homomorphism: Hom \operatorname{Hom} Hom , Hom i n j \operatorname{Hom}^{\mathrm{inj}} Hom inj , Hom s u r j \operatorname{Hom}^{\mathrm{surj}} Hom surj , Hom s u r j , i n j \operatorname{Hom}^{\mathrm{surj,inj}} Hom surj , inj . Exact set-valued: Ex d \operatorname{Ex}_{d} Ex d , Ex d i n j \operatorname{Ex}_{d}^{\mathrm{inj}} Ex d inj , Ex d s u r j \operatorname{Ex}_{d}^{\mathrm{surj}} Ex d surj , Ex d s u r j , i n j \operatorname{Ex}_{d}^{\mathrm{surj,inj}} Ex d surj , inj . d d d -homomorphism: BK d , 1 \operatorname{BK}_{d,1} BK d , 1 , BK d , 1 i n j \operatorname{BK}_{d,1}^{\mathrm{inj}} BK d , 1 inj , BK d , 1 s u r j \operatorname{BK}_{d,1}^{\mathrm{surj}} BK d , 1 surj , BK d , 1 s u r j , i n j \operatorname{BK}_{d,1}^{\mathrm{surj,inj}} BK d , 1 surj , inj . Barto–Kozik: BK d , r \operatorname{BK}_{d,r} BK d , r , BK d , r i n j \operatorname{BK}_{d,r}^{\mathrm{inj}} BK d , r inj , BK d , r s u r j \operatorname{BK}_{d,r}^{\mathrm{surj}} BK d , r surj , BK d , r s u r j , i n j \operatorname{BK}_{d,r}^{\mathrm{surj,inj}} BK d , r surj , inj . Chain homomorphism: Ch h , d \operatorname{Ch}_{h,d} Ch h , d , Ch h , d i n j \operatorname{Ch}_{h,d}^{\mathrm{inj}} Ch h , d inj , Ch h , d s u r j \operatorname{Ch}_{h,d}^{\mathrm{surj}} Ch h , d surj , Ch h , d s u r j , i n j \operatorname{Ch}_{h,d}^{\mathrm{surj,inj}} Ch h , d surj , inj . Consistency reduction.
Each entry asserts existence from M \mathcal{M} M to N \mathcal{N} N for some finite parameters, in the reduction direction (1). Here Ex d \operatorname{Ex}_{d} Ex d denotes an exact $d$-set-valued homomorphism. Each downward arrow weakens the condition on the lists. Within each panel the horizontal arrows allow bounded coordinate marks; the arrow between panel headings restricts every corresponding test to surjective maps. These restrictions are independent. The final arrow is Theorem E.8 .
The first three downward implications in the all-chains column for arbitrary maps are strict (Examples D.1 , D.2 , and D.4 ). For minion homomorphisms, restriction to surjections can also be strict (Example E.4 ). At the Barto–Kozik row, the minion ST separates the test on all chains from its injective variant (Example D.5). Even the bottom-right condition is strictly stronger than a consistency reduction for finite templates (Example D.10 ).
Ordinary minion homomorphisms characterize gadget reductions (§ 3.1 ), surjective-minor homomorphisms characterize the arc-consistency construction (Theorem E.3 ), and consistency reductions characterize Datalog-with-unions reductions (Theorem D.8 ).
Minion homomorphisms and gadget reductions
Minion homomorphisms are the minor-preserving maps used by Barto, Bulín, Krokhin, and Opršal [3 ] to characterize gadget reductions between finite promise templates.
Definition 1.1 (Minion homomorphism). A minion homomorphism ξ : M → N \xi:\mathcal{M}\to\mathcal{N} ξ : M → N is a family of maps ξ I : M ( I ) → N ( I ) \xi_I:\mathcal{M}(I)\to\mathcal{N}(I) ξ I : M ( I ) → N ( I ) satisfying
ξ J ( f π ) = ξ I ( f ) π ( f ∈ M ( I ) , π : I → J ) . \xi_J(f^\pi)=\xi_I(f)^\pi\qquad(f\in\mathcal{M}(I),\ \pi:I\to J). ξ J ( f π ) = ξ I ( f ) π ( f ∈ M ( I ) , π : I → J ) . An injective minion homomorphism chooses bounded coordinate marks and requires this equality whenever π \pi π is injective on the marks of f f f . We usually omit the coordinate-set subscripts. We write Hom ( M , N ) \operatorname{Hom}(\mathcal{M},\mathcal{N}) Hom ( M , N ) for the assertion that a minion homomorphism exists.
Precomposition of a list assignment Ξ : M → N \Xi: \mathcal{M} \to\mathcal{N} Ξ : M → N by a minion homomorphism α : L → M \alpha: \mathcal{L} \to\mathcal{M} α : L → M means applying Ξ \Xi Ξ to the images under α \alpha α of its inputs. Postcomposition by a minion homomorphism β : N → Q \beta: \mathcal{N} \to\mathcal{Q} β : N → Q means applying β \beta β to every output operation. Ordinary function composition preserves the defining equality and has the identity maps as units. A map to P \mathcal{P} P selects one coordinate of each operation compatibly with every minor.
A gadget reduction replaces each variable by a copy of a fixed finite structure with a distinguished tuple. Each relation has a fixed finite gadget with one distinguished tuple per argument. For every input constraint, glue a fresh copy of its gadget to the corresponding variable copies along these tuples. For the finite templates in (1), such a reduction exists exactly when Hom ( M , N ) \operatorname{Hom}(\mathcal{M}, \mathcal{N}) Hom ( M , N ) holds [3 Theorem 4.12] .
Consistency reductions
Dalmau and Opršal [7 ] introduced consistency reductions by pruning local solutions and gluing the corresponding powers. Barto, Hadek, and Zhuk [8 ] characterize when this construction is sound by a minion homomorphism.
Definition 1.2 (k k k -consistency construction). Fix k ≥ 1 k \ge1 k ≥ 1 and an input relational structure X \mathbf{X} X with domain V V V . For each U ⊆ V U \subseteq V U ⊆ V of size at most k k k , initially put F U = Hom ( X [ U ] , A ) F_U = \operatorname{Hom}(\mathbf{X}[U], \mathbf{A}) F U = Hom ( X [ U ] , A ) , the set of all local A \mathbf{A} A -solutions on U U U . Consistency pruning means repeatedly deleting an assignment if one of its restrictions is absent from a smaller family, or if it has no extension in a larger family under consideration. The process stops at the largest subfamilies satisfying
{ s ∣ W : s ∈ F U } = F W ( W ⊆ U , ∣ U ∣ ≤ k ) . (2) \{s|_W : s \in F_U\} = F_W \qquad(W \subseteq U,\ |U| \le k). \tag*{(2)} { s ∣ W : s ∈ F U } = F W ( W ⊆ U , ∣ U ∣ ≤ k ) . (2) Let ρ U W : F U → F W \rho_{UW} : F_U \to F_W ρ U W : F U → F W be restriction. Take the disjoint union of the powers C F U \mathbf{C}^{F_U} C F U and identify x ∈ C F W x \in\mathbf{C}^{F_W} x ∈ C F W with x ∘ ρ U W ∈ C F U x \circ\rho_{UW} \in\mathbf{C}^{F_U} x ∘ ρ U W ∈ C F U for every such inclusion. Relations on the quotient are the images of the relations on these powers. Empty families are allowed: C ∅ \mathbf{C}^{\varnothing} C ∅ is the one-element structure with every relation full. Denote the quotient by T k ( X ) T_k(\mathbf{X}) T k ( X ) .
We say that a consistency reduction exists in (1) if T k T_k T k is a decision reduction for some fixed k k k .
For fixed templates and k k k , the construction is polynomial-time computable and satisfies X → A ⟹ T k ( X ) → C \mathbf{X} \to\mathbf{A} \Longrightarrow T_k(\mathbf{X}) \to\mathbf{C} X → A ⟹ T k ( X ) → C (Proposition D.7 ). Thus the condition required for a reduction is soundness:
T k ( X ) → D ⟹ X → B for every input X . (3) T_k(\mathbf{X}) \to\mathbf{D} \quad\Longrightarrow\quad\mathbf{X} \to\mathbf{B} \qquad\text{for every input }\mathbf{X}. \tag*{(3)} T k ( X ) → D ⟹ X → B for every input X . (3)
The algebraic characterization uses the support construction ω ( M ) \omega(\mathcal{M}) ω ( M ) of (16) and the level construction lvl ℓ \operatorname{lvl}_{\ell} lvl ℓ recalled in Definition D.6 .
Theorem 1.3 (Barto–Hadek–Zhuk). For the finite templates in (1), a consistency reduction exists if and only if
Hom ( lvl ℓ ( ω ( M ) ) , N ) for some ℓ ≥ 1. \operatorname{Hom}(\operatorname{lvl}_{\ell}(\omega(\mathcal{M})), \mathcal{N}) \qquad\text{for some }\ell\ge1. Hom ( lvl ℓ ( ω ( M )) , N ) for some ℓ ≥ 1.
This is [8 Theorem 6.14] . Their formulation uses saturated powers; [8 Theorem 6.7] compares these with families of local solutions. The comparison may change the level, so the k k k in T k T_k T k and the ℓ \ell ℓ in the theorem need not agree.
All the algebraic conditions in the diagram imply a consistency reduction for finite templates. Pruning makes the restriction maps surjective; Theorem E.8 applies the injective chain argument to those maps. With arbitrary maps, the instance construction also works without pruning and uses logspace (Theorem 1.15). Consistency reductions compose by the Datalog characterization in Theorem D.8 .
Example 1.4 (Arc-digraph construction). For a digraph X \mathbf{X} X , its arc digraph δ X \delta\mathbf{X} δ X has vertices E X E^{\mathbf{X}} E X and arcs
( x , y ) ⟶ ( y , z ) (x,y) \longrightarrow(y,z) ( x , y ) ⟶ ( y , z )
whenever ( x , y ) , ( y , z ) ∈ E X (x,y),(y,z) \in E^{\mathbf{X}} ( x , y ) , ( y , z ) ∈ E X .
An edgeless input can be sent to the one-vertex edgeless graph. Put b ( t ) = ⌊ t 2 ⌋ b(t)=\left\lfloor\frac{t}{2}\right\rfloor b ( t ) = ⌊ 2 t ⌋ . For a symmetric digraph X \mathbf{X} X and t ≥ 2 t \ge2 t ≥ 2 ,
δ X ⟶ K t ⟺ X ⟶ K b ( t ) \delta\mathbf{X} \longrightarrow K_t \iff\mathbf{X} \longrightarrow K_{b(t)} δ X ⟶ K t ⟺ X ⟶ K b ( t )
by [4 Lemma 4.15] . Consequently, for 2 ≤ c ≤ d 2 \le c \le d 2 ≤ c ≤ d , the arc-digraph construction gives a reduction
PCSP ( K b ( c ) , K b ( d ) ) ⟶ PCSP ( K c , K d ) . \operatorname{PCSP}(K_{b(c)},K_{b(d)}) \longrightarrow\operatorname{PCSP}(K_c,K_d). PCSP ( K b ( c ) , K b ( d ) ) ⟶ PCSP ( K c , K d ) .
This is the specialization ( A , B , C , D ) = ( K b ( c ) , K b ( d ) , K c , K d ) (\mathbf{A},\mathbf{B},\mathbf{C},\mathbf{D})=(K_{b(c)},K_{b(d)},K_c,K_d) ( A , B , C , D ) = ( K b ( c ) , K b ( d ) , K c , K d ) of (1) . For example, c = 4 c=4 c = 4 and d = 5 d=5 d = 5 give PCSP ( K 6 , K 10 ) ⟶ PCSP ( K 4 , K 5 ) \operatorname{PCSP}(K_6,K_{10}) \longrightarrow\operatorname{PCSP}(K_4,K_5) PCSP ( K 6 , K 10 ) ⟶ PCSP ( K 4 , K 5 ) . An arbitrary input relation may first be made symmetric by adding every reversed edge; this preserves its homomorphisms to every K t K_t K t .
To see why this is covered by consistency reductions, express the arc construction by the rules
V ′ ( x , y ) ← E ( x , y ) , E ′ ( x , y , y , z ) ← E ( x , y ) ∧ E ( y , z ) . V'(x,y) \leftarrow E(x,y), \qquad E'(x,y,y,z) \leftarrow E(x,y) \land E(y,z). V ′ ( x , y ) ← E ( x , y ) , E ′ ( x , y , y , z ) ← E ( x , y ) ∧ E ( y , z ) .
These rules, together with symmetrization, form a Datalog interpretation. To enforce nonempty output domains, add an isolated copy of the input domain as a second sort and take the disjoint union of the two sorts. This preserves the existence of a homomorphism to each nonempty complete graph and gives a Datalog-with-unions reduction. The logical characterization therefore gives a consistency reduction between the same templates. This is the line-digraph example of [7 Examples 3.4 and 4.4] ; the coloring reduction is [4 Lemma 4.16] .
Exact set-valued homomorphisms
Replacing a single output by a bounded nonempty set gives the following relaxation of a minion homomorphism. The set is still required to commute exactly with every minor.
Definition 1.5 (Exact set-valued homomorphism). Let d ≥ 1 d \ge1 d ≥ 1 . An exact d d d -set-valued homomorphism ξ : M → N \xi:\mathcal{M}\to\mathcal{N} ξ : M → N assigns to every f ∈ M ( I ) f \in\mathcal{M}(I) f ∈ M ( I ) a set ∅ ≠ ξ ( f ) ⊆ N ( I ) \varnothing\ne\xi(f) \subseteq\mathcal{N}(I) ∅ = ξ ( f ) ⊆ N ( I ) of size at most d d d , and satisfies
ξ ( f π ) = ξ ( f ) π ( f ∈ M ( I ) , π : I → J ) . \xi(f^\pi)=\xi(f)^\pi\qquad(f \in\mathcal{M}(I),\ \pi:I\to J). ξ ( f π ) = ξ ( f ) π ( f ∈ M ( I ) , π : I → J ) .
An injective exact d d d -set-valued homomorphism requires this set equality on the arrows injective on the source marks. An exact list assignment is a minion homomorphism to the minion
P ≤ d ( N ) ( I ) = { L ⊆ N ( I ) : 1 ≤ ∣ L ∣ ≤ d } , \mathcal{P}_{\le d}(\mathcal{N})(I)=\{L\subseteq\mathcal{N}(I):1\le|L|\le d\}, P ≤ d ( N ) ( I ) = { L ⊆ N ( I ) : 1 ≤ ∣ L ∣ ≤ d } ,
whose minors are taken elementwise.
Singleton lists recover ordinary minion homomorphisms. For bounded list assignments ξ : M → N \xi:\mathcal{M}\to\mathcal{N} ξ : M → N and η : N → L \eta:\mathcal{N}\to\mathcal{L} η : N → L , their union composition is
( η ⋆ ξ ) ( f ) = ⋃ g ∈ ξ ( f ) η ( g ) . (\eta\star\xi)(f)=\bigcup_{g\in\xi(f)}\eta(g). ( η ⋆ ξ ) ( f ) = g ∈ ξ ( f ) ⋃ η ( g ) .
Bounds d d d and e e e give bound d e de d e . Unions are associative, and f ↦ { f } f\mapsto\{f\} f ↦ { f } is the identity. For exact lists, taking a minor commutes with each list assignment and hence with the union. Boolean conjunction on at most two coordinates shows that exact lists are strictly more general than singleton lists (Example D.1 ).
The d-homomorphism condition
We next require only that the transported set intersect the set assigned to the minor. This is the one-arrow case of the Barto–Kozik condition [5 ] .
Definition 1.6 (d d d -homomorphism). Let d ≥ 1 d \ge1 d ≥ 1 . A d d d -homomorphism ξ : M → N \xi:\mathcal{M}\to\mathcal{N} ξ : M → N assigns to every f ∈ M ( I ) f\in\mathcal{M}(I) f ∈ M ( I ) a nonempty set ξ ( f ) ⊆ N ( I ) \xi(f)\subseteq\mathcal{N}(I) ξ ( f ) ⊆ N ( I ) of size at most d d d such that
ξ ( f ) π ∩ ξ ( f π ) ≠ ∅ ( f ∈ M ( I ) , π : I → J ) . \xi(f)^{\pi}\cap\xi(f^{\pi})\ne\varnothing\qquad(f\in\mathcal{M}(I),\ \pi:I\to J). ξ ( f ) π ∩ ξ ( f π ) = ∅ ( f ∈ M ( I ) , π : I → J ) .
An injective d d d -homomorphism requires this intersection on every arrow injective on the source marks.
Equal nonempty lists intersect, and intersecting singletons coincide. Thus exact lists give d d d -homomorphisms, and d = 1 d=1 d = 1 recovers ordinary minion homomorphisms. Union composition again works. Given f → f π f\to f^{\pi} f → f π , choose g ∈ ξ ( f ) g\in\xi(f) g ∈ ξ ( f ) with g π ∈ ξ ( f π ) g^{\pi}\in\xi(f^{\pi}) g π ∈ ξ ( f π ) , then u ∈ η ( g ) u\in\eta(g) u ∈ η ( g ) with u π ∈ η ( g π ) u^{\pi}\in\eta(g^{\pi}) u π ∈ η ( g π ) . The entry u π u^{\pi} u π witnesses the intersection for the composite. Boolean majority gives a 3-homomorphism to P \mathcal{P} P and admits no exact set-valued homomorphism to P \mathcal{P} P (Example D.2 ).
Barto–Kozik homomorphisms
Barto and Kozik [5, Definition 3] introduced the following relaxation of minor preservation, in which a compatible pair may occur anywhere along a minor chain of a fixed length.
Definition 1.7 (Barto–Kozik homomorphism). Let d , r ≥ 1 d,r\ge1 d , r ≥ 1 . A ( d , r ) (d,r) ( d , r ) -Barto–Kozik homomorphism from M \mathcal{M} M to N \mathcal{N} N assigns to each f ∈ M ( I ) f\in\mathcal{M}(I) f ∈ M ( I ) a nonempty list ξ ( f ) ⊆ N ( I ) \xi(f)\subseteq\mathcal{N}(I) ξ ( f ) ⊆ N ( I ) of size at most d d d , such that every minor chain f 0 → ⋯ → f r f_0\to\cdots\to f_r f 0 → ⋯ → f r has a compatible pair: positions i < j i<j i < j with
ξ ( f i ) π i j ∩ ξ ( f j ) ≠ ∅ . (4) \xi(f_i)^{\pi_{ij}}\cap\xi(f_j)\ne\varnothing. \tag*{(4)} ξ ( f i ) π ij ∩ ξ ( f j ) = ∅ . (4)
Write B K d , r ( M , N ) \mathrm{BK}_{d,r}(\mathcal{M},\mathcal{N}) BK d , r ( M , N ) for existence of such a list assignment and B K ( M , N ) \mathrm{BK}(\mathcal{M},\mathcal{N}) BK ( M , N ) for existence with some finite d , r d,r d , r . The intersection in (4) is taken at I j I_j I j , not only at the terminal coordinate set of the minor chain.
An injective Barto–Kozik homomorphism chooses bounded coordinate marks on the source and requires (4) on every injective chain of r r r arrows. The mark bound may differ from the list bound d d d .
The case r = 1 r=1 r = 1 is a d d d -homomorphism. For finite templates, the Barto–Kozik combinatorial gap theorem gives the polynomial-time reduction in (1) for every fixed d , r d,r d , r [5 Theorem 12] . These maps compose by union (Proposition D.3 ). Example D.4 gives a ( 1 , 2 ) (1,2) ( 1 , 2 ) -Barto–Kozik homomorphism where no d d d -homomorphism exists for any d d d .
For example, Pol ( K 3 , K 5 ) \operatorname{Pol}(K_3,K_5) Pol ( K 3 , K 5 ) has a Barto–Kozik homomorphism to P \mathcal{P} P . Writing H c \mathbf{H}_c H c for the structure on [ c ] [c] [ c ] with the nonconstant triples as its relation, there is a minion homomorphism Pol ( K 3 , K 5 ) → Pol ( H 2 , H c ) \operatorname{Pol}(K_3,K_5)\to\operatorname{Pol}(\mathbf{H}_2,\mathbf{H}_c) Pol ( K 3 , K 5 ) → Pol ( H 2 , H c ) for some finite c c c [3 Theorem 6.2 and Lemma 6.4] . Wrochna’s coordinate lists give the Barto–Kozik homomorphism Pol ( H 2 , H c ) → P \operatorname{Pol}(\mathbf{H}_2,\mathbf{H}_c)\to\mathcal{P} Pol ( H 2 , H c ) → P [12 Lemmas 4–5 and the argument preceding Theorem 6] . The composition is recorded in [27 Examples 5.6–5.7] .
Injective baby PCP
We prove the layered gap theorem by edge-coloring. If one lower level has no pivot, ordinary baby PCP recovers an assignment from that level alone. If every lower level has a pivot, we construct one injective chain on which every pair of lists disagrees.
Let V V V be a finite set of variables and B B B any nonempty set of values.1 A partial assignment system of arity p p p gives a nonempty list L ( U ) ⊆ B U L(U) \subseteq B^U L ( U ) ⊆ B U on every p p p -subset U U U of V V V . An m m m -solution of a family of partial assignments is a map b : V → B b: V \to B b : V → B such that for every m m m -set X X X there is a member of the family whose domain contains X X X and whose restriction to X X X equals b ∣ X b|_X b ∣ X . For a system the family consists of all its list entries.
On each scope U U U we may also mark at most s s s assignments on U U U , with values in an auxiliary set common to all scopes. Apply the definition of an injective chain to the restriction maps on these assignments. Thus on U 0 ⊃ ⋯ ⊃ U r U_0 \supset\cdots\supset U_r U 0 ⊃ ⋯ ⊃ U r the map to U i + 1 U_{i+1} U i + 1 must distinguish all distinct assignments on U i U_i U i obtained by restricting marks from positions 0 , … , i 0,\ldots,i 0 , … , i . Banakh and Kozik’s injective layered choice is the injective Barto–Kozik condition with target P \mathcal{P} P in which the coordinate list itself is marked [10 Section 1, condition Injective layered choice] . For this target, both lists consist of coordinates. Adjoining the marked coordinates to the choice list and marking the union preserves every required compatible pair.
Theorem 1.8 (Injective baby PCP). Fix integers r , m , k ≥ 1 r,m,k \ge1 r , m , k ≥ 1 and s ≥ 0 s \ge0 s ≥ 0 . There are arities d 0 > ⋯ > d r ≥ m d_0 > \cdots> d_r \ge m d 0 > ⋯ > d r ≥ m with the following property for every finite V V V with ∣ V ∣ ≥ d 0 |V| \ge d_0 ∣ V ∣ ≥ d 0 and every nonempty value set B B B . On level i i i , let L i L_i L i be a partial assignment system of arity d i d_i d i , with at most k k k entries and s s s marks per scope. Suppose every injective chain U 0 ⊃ ⋯ ⊃ U r U_0 \supset\cdots\supset U_r U 0 ⊃ ⋯ ⊃ U r , ∣ U i ∣ = d i |U_i| = d_i ∣ U i ∣ = d i , has a pair j < i j < i j < i with
L j ( U j ) ∣ U i ∩ L i ( U i ) ≠ ∅ . L_j(U_j)|_{U_i} \cap L_i(U_i) \ne\varnothing. L j ( U j ) ∣ U i ∩ L i ( U i ) = ∅ . Then some L i L_i L i , 1 ≤ i ≤ r 1 \le i \le r 1 ≤ i ≤ r , has an m m m -solution. For fixed parameters, a level and a solution can be found in polynomial time from the explicit lists.
Edge-coloring on nested scopes. For p ≥ q p \ge q p ≥ q , the Variable-Set graph G p , q ( V ) G_{p,q}(V) G p , q ( V ) has left vertices W ∈ P q ( V ) W \in\mathcal{P}_q(V) W ∈ P q ( V ) , right vertices Z ∈ P p ( V ) Z \in\mathcal{P}_p(V) Z ∈ P p ( V ) , and an edge ( W , Z ) (W,Z) ( W , Z ) precisely when W ⊆ Z W \subseteq Z W ⊆ Z . For a finite nonempty set C C C of colors, an edge-coloring is a map Λ : E ( G p , q ( V ) ) → 2 C \Lambda: E(G_{p,q}(V)) \to2^C Λ : E ( G p , q ( V )) → 2 C . A color γ \gamma γ is allowed on ( W , Z ) (W,Z) ( W , Z ) if γ ∈ Λ ( W , Z ) \gamma\in\Lambda(W,Z) γ ∈ Λ ( W , Z ) . We also use questions indexed by a finite set Q Q Q , with a map σ : Q → V \sigma: Q \to V σ : Q → V giving the variable of each question. In this case the left vertices are W ∈ P q ( Q ) W \in\mathcal{P}_q(Q) W ∈ P q ( Q ) and ( W , Z ) (W,Z) ( W , Z ) is an edge precisely when σ ( W ) ⊆ Z \sigma(W) \subseteq Z σ ( W ) ⊆ Z . Taking Q = V Q = V Q = V and σ \sigma σ the identity gives the Variable-Set graph above.
Lemma 1.9 (Edge-coloring on nested scopes). Fix integers r ≥ 1 r \ge1 r ≥ 1 , e ≥ q ≥ 1 e \ge q \ge1 e ≥ q ≥ 1 , h ≥ 0 h \ge0 h ≥ 0 and a finite nonempty set C C C . There are p 0 > ⋯ > p r ≥ e p_0 > \cdots> p_r \ge e p 0 > ⋯ > p r ≥ e with the following property. Let V , Q V,Q V , Q be finite, ∣ V ∣ ≥ p 0 |V| \ge p_0 ∣ V ∣ ≥ p 0 , ∣ Q ∣ ≥ e |Q| \ge e ∣ Q ∣ ≥ e , and σ : Q → V \sigma: Q \to V σ : Q → V . For 1 ≤ i ≤ r 1 \le i \le r 1 ≤ i ≤ r , give the edges ( W , Z ) (W,Z) ( W , Z ) with ∣ W ∣ = q |W| = q ∣ W ∣ = q , ∣ Z ∣ = p i |Z| = p_i ∣ Z ∣ = p i and σ ( W ) ⊆ Z \sigma(W) \subseteq Z σ ( W ) ⊆ Z an edge-coloring Λ i \Lambda_i Λ i . At least one of the following holds.
For some i ≥ 1 i \ge1 i ≥ 1 one can choose f ( W ) ∈ C f(W) \in C f ( W ) ∈ C for every W ∈ P q ( Q ) W \in\mathcal{P}_q(Q) W ∈ P q ( Q ) so that each X ∈ P e ( Q ) X \in\mathcal{P}_e(Q) X ∈ P e ( Q ) has a Z ∈ P p i ( V ) Z \in\mathcal{P}_{p_i}(V) Z ∈ P p i ( V ) containing σ ( X ) \sigma(X) σ ( X ) with f ( W ) ∈ Λ i ( W , Z ) f(W) \in\Lambda_i(W,Z) f ( W ) ∈ Λ i ( W , Z ) for all W ∈ P q ( X ) W \in\mathcal{P}_q(X) W ∈ P q ( X ) .
There are fixed W 1 , … , W r ∈ P q ( Q ) W_1,\ldots,W_r \in\mathcal{P}_q(Q) W 1 , … , W r ∈ P q ( Q ) and a p 0 p_0 p 0 -set $U_0 containing all their images. At step i = 1 , … , r i = 1,\ldots,r i = 1 , … , r , after any choice of γ i ∈ C \gamma_i \in C γ i ∈ C and S i ⊆ U i − 1 S_i \subseteq U_{i-1} S i ⊆ U i − 1 , ∣ S i ∣ ≤ h |S_i| \le h ∣ S i ∣ ≤ h , one can choose U i ∈ P p i ( U i − 1 ) U_i \in\mathcal{P}_{p_i}(U_{i-1}) U i ∈ P p i ( U i − 1 ) so that
S i ∪ ⋃ j = i r σ ( W j ) ⊆ U i , γ i ≠ Λ i ( W i , U i ) . S_i \cup\bigcup_{j=i}^{r} \sigma(W_j) \subseteq U_i,
\qquad
\gamma_i \ne\Lambda_i(W_i,U_i). S i ∪ j = i ⋃ r σ ( W j ) ⊆ U i , γ i = Λ i ( W i , U i ) . The choice of $U_i works for all subsequent requests.
For fixed parameters, if (ii) is impossible, i, f and the sets Z in (i) can be found in polynomial time on explicit input.
For r = 1 r=1 r = 1 the usual local hypothesis on G p 1 , q ( V ) G_{p_1,q}(V) G p 1 , q ( V ) rules out (ii). Indeed, if every p 0 p_0 p 0 -set U U U and q q q -set W ⊆ U W\subseteq U W ⊆ U admit γ ∈ C \gamma\in C γ ∈ C and S ⊆ U S\subseteq U S ⊆ U , ∣ S ∣ ≤ h |S|\le h ∣ S ∣ ≤ h , with γ \gamma γ allowed whenever W ∪ S ⊆ Z ⊆ U W\cup S\subseteq Z\subseteq U W ∪ S ⊆ Z ⊆ U and ∣ Z ∣ = p 1 |Z|=p_1 ∣ Z ∣ = p 1 , use this request at U 0 , W 1 U_0,W_1 U 0 , W 1 . Thus (i) gives the two-level edge-coloring conclusion.
Proof of Lemma 1.9. Put b = ( e q ) b=\binom{e}{q} b = ( q e ) and δ = 1 / ( 2 b ) \delta=1/(2b) δ = 1/ ( 2 b ) . For a sufficiently large integer n n n , take p r = n p_r=n p r = n and p i − 1 = n 2 p i p_{i-1}=n^2p_i p i − 1 = n 2 p i for i = r , … , 1 i=r,\ldots,1 i = r , … , 1 . Put a i = ⌊ p i / ( 2 b ) ⌋ a_i=\lfloor p_i/(2b)\rfloor a i = ⌊ p i / ( 2 b )⌋ for i ≥ 1 i\ge1 i ≥ 1 . Then e + q + b a i ≤ p i e+q+ba_i\le p_i e + q + b a i ≤ p i . Order V V V , let F i F_i F i consist of its first p i p_i p i variables, and write E i ( B ) E_i(B) E i ( B ) for B B B filled to size p i p_i p i in this order.
At each i ≥ 1 i\ge1 i ≥ 1 , W ∈ P q ( Q ) W\in\mathcal{P}_q(Q) W ∈ P q ( Q ) and γ ∈ C \gamma\in C γ ∈ C use the matrix with rows S ⊆ V S\subseteq V S ⊆ V , ∣ S ∣ ≤ a i |S|\le a_i ∣ S ∣ ≤ a i , and columns T ⊆ V T\subseteq V T ⊆ V , ∣ T ∣ ≤ p i − q − a i |T|\le p_i-q-a_i ∣ T ∣ ≤ p i − q − a i . Its entry is one if
γ ∉ Λ i ( W , E i ( σ ( W ) ∪ S ∪ T ) ) . \gamma\notin\Lambda_i\bigl(W,E_i(\sigma(W)\cup S\cup T)\bigr). γ ∈ / Λ i ( W , E i ( σ ( W ) ∪ S ∪ T ) ) .
Apply the finite matrix alternative (Lemma D.12 in Appendix § 9 .5). It returns either a distribution on rows giving the ones in every column mass less than δ \delta δ , or a distribution on columns giving the ones in every row mass at least δ / 4 \delta/4 δ /4 . Call W W W a pivot at level i i i if no color γ \gamma γ at W W W admits such a row distribution. At a pivot every color therefore admits the stated column distribution.
No pivot at one level. At such a level i i i , choose for every W W W a color f ( W ) f(W) f ( W ) for which the row distribution exists. Fix X ∈ P e ( Q ) X\in\mathcal{P}_e(Q) X ∈ P e ( Q ) , choose a row S W S_W S W independently from each of the b b b distributions for W ∈ P q ( X ) W\in\mathcal{P}_q(X) W ∈ P q ( X ) , and put Z = E i ( σ ( X ) ∪ ⋃ W S W ) Z=E_i(\sigma(X)\cup\bigcup_W S_W) Z = E i ( σ ( X ) ∪ ⋃ W S W ) . With all other rows fixed, T = σ ( X ) ∪ ⋃ W ′ ≠ W S W ′ T=\sigma(X)\cup\bigcup_{W'\ne W}S_{W'} T = σ ( X ) ∪ ⋃ W ′ = W S W ′ is a column, since its size is at most e + ( b − 1 ) a i ≤ p i − q − a i e+(b-1)a_i\le p_i-q-a_i e + ( b − 1 ) a i ≤ p i − q − a i . The probability that Z Z Z forbids f ( W ) f(W) f ( W ) is less than δ \delta δ . Since b δ < 1 b\delta<1 b δ < 1 , some Z Z Z allows every chosen color. This gives (i).
A pivot at every level. Choose one such W i W_i W i at each i ≥ 1 i\ge1 i ≥ 1 . Sample n n n columns from each of the corresponding column distributions, with all samples independent. For 0 ≤ i ≤ r 0\le i\le r 0 ≤ i ≤ r let R i R_i R i be the union, over j > i j>i j > i , of σ ( W j ) \sigma(W_j) σ ( W j ) , F j F_j F j , and all columns sampled at level j j j . Thus R r = ∅ R_r=\varnothing R r = ∅ , and for i < r i<r i < r , ∣ R i ∣ = O ( n p i + 1 ) = O ( p i / n ) |R_i|=O(np_{i+1})=O(p_i/n) ∣ R i ∣ = O ( n p i + 1 ) = O ( p i / n ) . In particular ∣ R 0 ∣ ≤ p 0 |R_0|\le p_0 ∣ R 0 ∣ ≤ p 0 and ∣ R i ∣ + h ≤ a i |R_i|+h\le a_i ∣ R i ∣ + h ≤ a i for i ≥ 1 i\ge1 i ≥ 1 . Set U 0 = E 0 ( R 0 ) U_0=E_0(R_0) U 0 = E 0 ( R 0 ) .
We claim that the samples can be chosen so that for each i , γ i,\gamma i , γ and each S ⊆ U 0 S\subseteq U_0 S ⊆ U 0 of size at most h h h , some column sampled for ( i , γ ) (i,\gamma) ( i , γ ) has a one in row R i ∪ S R_i\cup S R i ∪ S . Each vertex of U 0 U_0 U 0 can be named by a position in F 0 F_0 F 0 , in a fixed σ ( W j ) \sigma(W_j) σ ( W j ) , or in a sampled column ordered as in V V V . There are O ( p 0 ) O(p_0) O ( p 0 ) possible positions. Fix i , γ i,\gamma i , γ and at most h h h positions. Reveal all samples at other levels and the samples at level i i i named by these positions. This fixes R i R_i R i and, if all positions exist, the set S S S they name. At least n − h n-h n − h samples for ( i , γ ) (i,\gamma) ( i , γ ) remain independent. Each has a one in that row with probability at least δ / 4 \delta/4 δ /4 . The probability that all miss it is at most ( 1 − δ / 4 ) n − h (1-\delta/4)^{n-h} ( 1 − δ /4 ) n − h . There are O ( p 0 h ) O(p_0^h) O ( p 0 h ) descriptions and only r ∣ C ∣ r|C| r ∣ C ∣ choices of i , γ i,\gamma i , γ . Their total failure probability tends to zero, since p 0 = n 2 r + 1 p_0=n^{2r+1} p 0 = n 2 r + 1 . Fix samples with the claimed property.
When γ i , S i \gamma_i,S_i γ i , S i are requested, take an answering column T T T and put
U i = E i ( σ ( W i ) ∪ R i ∪ S i ∪ T ) . U_i=E_i\bigl(\sigma(W_i)\cup R_i\cup S_i\cup T\bigr). U i = E i ( σ ( W i ) ∪ R i ∪ S i ∪ T ) .
U i − 1 U_{i-1} U i − 1 contains R i − 1 R_{i-1} R i − 1 , hence σ ( W i ) \sigma(W_i) σ ( W i ) , R i R_i R i , T T T and F i F_i F i . It also contains S i S_i S i . Thus U i ⊆ U i − 1 U_i\subseteq U_{i-1} U i ⊆ U i − 1 , U i U_i U i contains S i S_i S i and σ ( W j ) \sigma(W_j) σ ( W j ) for j ≥ i j\ge i j ≥ i , and γ i ∉ Λ i ( W i , U i ) \gamma_i\notin\Lambda_i(W_i,U_i) γ i ∈ / Λ i ( W i , U i ) by the choice of T T T . The claim applies at every step because S i ⊆ U 0 S_i\subseteq U_0 S i ⊆ U 0 . This gives (ii).
For the algorithm, run Lemma D.12 on the polynomially many matrices, each of polynomial size. If at one level the output supplies a row distribution at every W W W , read off i i i , f f f and enumerate the p i p_i p i -sets to find the witnesses Z Z Z . Otherwise the output supplies, at every level, a W i W_i W i with a column distribution for every color. These are all the second case uses to prove (ii).
Ordinary overlap. The public combinatorial gap theorem reconstructs an m m m -solution from ordinary overlap for each fixed alphabet in polynomial time [5 Theorem 8] . The following two-level version has alphabet-independent arities and a logspace decoder. Its pivot proof is included in Appendix § 9 .5.
Theorem 1.10 (Barto–Kozik [6 Theorem 3.1 and Appendices A–B] ). For m , D ≥ 1 m,D \ge1 m , D ≥ 1 there are p > q ≥ m p>q\ge m p > q ≥ m and n ≥ p n\ge p n ≥ p such that the following holds on any variable set V V V of size at least n n n . Give every p p p -set Z Z Z and q q q -set W W W nonempty lists J ( Z ) J(Z) J ( Z ) and K ( W ) K(W) K ( W ) , respectively, of at most D D D assignments on that set. If J ( Z ) ∣ W ∩ K ( W ) ≠ ∅ J(Z)|_W \cap K(W) \ne\varnothing J ( Z ) ∣ W ∩ K ( W ) = ∅ whenever W ⊆ Z W \subseteq Z W ⊆ Z , then one of the two systems has an m m m -solution. One may take n = p n=p n = p . The parameters are independent of the value set. On finite explicit input a solution can be output in LOGSPACE .
Arbitrary value sets. For Boolean values we apply ordinary baby PCP directly to the tuples read on a set of variables. For general B B B we read Boolean comparisons at those variables. Fix a finite family of input rows. At each v ∈ V v\in V v ∈ V , order the distinct values appearing there as b v , 1 , … , b v , t v b_{v,1},\ldots,b_{v,t_v} b v , 1 , … , b v , t v . If none occurs, use a one-element list from B B B and set t v = 1 t_v=1 t v = 1 . A rank question ( v , j ) (v,j) ( v , j ) asks whether the value at v v v has rank at least j j j , for 1 ≤ j ≤ t v 1\le j\le t_v 1 ≤ j ≤ t v . Let Q Q Q be the set of questions and let σ ( v , j ) = v \sigma(v,j)=v σ ( v , j ) = v . For X ⊆ Q X\subseteq Q X ⊆ Q write σ ( X ) \sigma(X) σ ( X ) for its underlying variables and τ X ( u ) \tau_X(u) τ X ( u ) for the bit tuple answered by a row u u u defined on σ ( X ) \sigma(X) σ ( X ) . Use the same notation for the set of tuples answered by a list.
Lemma 1.11. Suppose ∣ Q ∣ ≥ 2 m |Q|\ge2m ∣ Q ∣ ≥ 2 m . If a Boolean assignment on Q Q Q agrees on every 2 m 2m 2 m rank questions with one row of a family F F F of input rows, then F F F has an m m m -solution on V V V .
Proof. Support on at most 2 m 2m 2 m questions follows by extending to exactly 2 m 2m 2 m . At each v v v the first answer is yes, and support on pairs forces the yes answers to form an initial segment. Choose the value at its last yes. On an m m m -set of variables, ask for the last yes at each variable and the next answer whenever it exists. A single supporting row answers these at most 2 m 2m 2 m questions, hence takes all the chosen values.
Proof of Theorem 1.8 . For Boolean values take Q = V Q=V Q = V , take σ \sigma σ to be the identity, and let τ X \tau_X τ X be restriction to X X X . For arbitrary B B B use the rank questions for all input lists. Take e > q ≥ 2 m e>q\ge2m e > q ≥ 2 m from Theorem 1.10 for a 2 m 2m 2 m -solution and list bound r k rk r k . Fix an order on Q Q Q . Let C C C be the set of all nonempty lists of at most r k rk r k Boolean q q q -tuples, read in that order. Apply Lemma 1.9 with r r r lower levels and request bound r s rs r s . Write d i = p i d_i=p_i d i = p i for the arities it supplies. The ordinary theorem applies on Q Q Q , since ∣ Q ∣ ≥ ∣ V ∣ ≥ d 0 ≥ e |Q|\ge|V|\ge d_0\ge e ∣ Q ∣ ≥ ∣ V ∣ ≥ d 0 ≥ e . At level i ≥ 1 i\ge1 i ≥ 1 the edges are the pairs ( W , Z ) (W,Z) ( W , Z ) with ∣ W ∣ = q |W|=q ∣ W ∣ = q , ∣ Z ∣ = d i |Z|=d_i ∣ Z ∣ = d i and σ ( W ) ⊆ Z \sigma(W)\subseteq Z σ ( W ) ⊆ Z . Use the edge-coloring
Λ i ( W , Z ) = { γ ∈ C : γ ∩ τ W ( L i ( Z ) ) ≠ ∅ } . \Lambda_i(W,Z)=\{\gamma\in C:\gamma\cap\tau_W(L_i(Z))\ne\varnothing\}. Λ i ( W , Z ) = { γ ∈ C : γ ∩ τ W ( L i ( Z )) = ∅ } .
No pivot at one lower level. Let i i i be the level and f f f its choice of colors in the first alternative. At each e e e -set X X X of questions choose its common right vertex Z X Z_X Z X and give X X X the list τ X ( L i ( Z X ) ) \tau_X(L_i(Z_X)) τ X ( L i ( Z X )) . At each q q q -set W W W take f ( W ) f(W) f ( W ) , keeping only tuples realized by some L i ( Z ) L_i(Z) L i ( Z ) with σ ( W ) ⊆ Z \sigma(W)\subseteq Z σ ( W ) ⊆ Z . For every W ⊆ X W\subseteq X W ⊆ X the two lists still meet after restriction to W W W : the overlap given by Λ i ( W , Z X ) \Lambda_i(W,Z_X) Λ i ( W , Z X ) survives this deletion. Both lists are nonempty, have size at most r k rk r k , and every listed tuple comes from level i i i . The ordinary theorem gives a 2 m 2m 2 m -solution in one of these two systems. It is supported on every 2 m 2m 2 m questions by an actual row of L i L_i L i . This gives an m m m -solution of L i L_i L i directly for Boolean values and by Lemma 1.11 for general B B B .
A pivot at every lower level. Take the fixed question sets W 1 , … , W r W_1,\ldots,W_r W 1 , … , W r and the initial scope U 0 U_0 U 0 of the second alternative. Just before choosing U i U_i U i , all preceding scopes contain σ ( W i ) \sigma(W_i) σ ( W i ) . Request the color
γ i = ⋃ j < i τ W i ( L j ( U j ) ) . \gamma_i=\bigcup_{j<i}\tau_{W_i}(L_j(U_j)). γ i = j < i ⋃ τ W i ( L j ( U j )) .
It has at most i k ≤ r k ik\le r^k ik ≤ r k tuples. On U i − 1 U_{i-1} U i − 1 there are at most i s ≤ r s is\le rs i s ≤ r s distinct restrictions of marks from levels 0 , … , i − 1 0,\ldots,i-1 0 , … , i − 1 . Choose at most r s rs r s variables that distinguish them: while two restrictions coincide on the variables chosen so far, add one on which they differ. Each addition increases the number of distinct traces. Request these variables with γ i \gamma_i γ i . The returned U i U_i U i keeps them, so restriction to U i U_i U i is injective on the accumulated marks. It also rejects γ i \gamma_i γ i . Thus no row in L i ( U i ) L_i(U_i) L i ( U i ) agrees on σ ( W i ) \sigma(W_i) σ ( W i ) with a row from any earlier list. After r r r steps the chain is injective and has no agreeing pair, a contradiction.
The edge-coloring procedure therefore finds the first alternative. Enumerate the values occurring at each variable in order of first occurrence in the input, and hence enumerate the questions. All arities are fixed. The support tests and the search for each Z X Z_X Z X take polynomial time. Apply the ordinary decoder. For general B B B , read off the last yes at each variable.
Layered Label Cover. A layered functional Label Cover instance has vertex layers X 0 , … , X r X_0,\ldots,X_r X 0 , … , X r . Each vertex x x x has a finite label set A x A_x A x , and each edge from x x x to a vertex y y y of the next layer carries a map A x → A y A_x \to A_y A x → A y . A solution assigns one label to each vertex and satisfies every edge map. An injective k k k -solution assigns each vertex a nonempty set D ( x ) ⊆ A x D(x) \subseteq A_x D ( x ) ⊆ A x of at most k k k labels. On a path x 0 , … , x r x_0,\ldots,x_r x 0 , … , x r let π j i \pi_{ji} π j i be the composite from x j x_j x j to x i x_i x i , with π i i \pi_{ii} π ii the identity. Whenever the path is an injective chain for these lists, meaning that each π i , i + 1 \pi_{i,i+1} π i , i + 1 is injective on ⋃ j ≤ i π j i ( D ( x j ) ) \bigcup_{j\le i}\pi_{ji}(D(x_j)) ⋃ j ≤ i π j i ( D ( x j )) , we require
⋂ i = 0 h ( Ξ ( C ∖ { i } ) ↓ C ) ≠ ∅ . (5) \bigcap_{i=0}^{h}\left(\Xi(C\setminus\{i\})\downarrow_C\right) \ne\varnothing. \tag*{(5)} i = 0 ⋂ h ( Ξ ( C ∖ { i }) ↓ C ) = ∅ . (5)
For r = 1 r=1 r = 1 this requires a matching pair exactly on edges whose map is injective on the chosen upper labels.
Corollary 1.12 (Layered injective baby PCP). For fixed r , k ≥ 1 r,k \ge1 r , k ≥ 1 there is a bound N ( r , k ) N(r,k) N ( r , k ) on label-set size for which it is NP-hard to distinguish solvable instances on r + 1 r+1 r + 1 layers from those admitting no injective $k$-solution. The reduction from 3-SAT uses logarithmic space.
Proof. Take the arities of Theorem 1.8 with m = 3 m=3 m = 3 and s = k s=k s = k . Pad the variable set V V V with unused variables to size at least d 0 d_0 d 0 . Layer i i i consists of the d i d_i d i -subsets of V V V . A label on U U U is a Boolean assignment satisfying every clause with variables in U U U . Edges are inclusions between consecutive layers, and their maps are restrictions. Thus N ( r , k ) = 2 d 0 N(r,k)=2^{d_0} N ( r , k ) = 2 d 0 suffices. A satisfying assignment labels all scopes by restriction. Conversely, an injective $k$-solution supplies the lists and marks in the theorem. Its lower-level 3-solution satisfies every clause, since its variables extend to a 3-set.
If some scope has no label, return the same construction on a fixed odd cycle of length greater than d 0 d_0 d 0 , with Boolean disequality on each edge. Every scope then has a label, since every proper induced subgraph is a forest. The cycle has no Boolean solution, so the same soundness argument gives a NO instance. For fixed r , k r,k r , k we can enumerate all scopes, labels and inclusions and check the clauses by rescanning the formula in logarithmic work space.
Chain homomorphisms on injective chains
In this section we allow each list to depend on a short minor chain. A chain with one additional position tests whether the lists on its faces have a common entry.
Definition 1.13 (Chain homomorphisms). Fix h , d ≥ 1 h,d \ge1 h , d ≥ 1 and coordinate marks for M \mathcal{M} M . An injective ( h , d ) (h,d) ( h , d ) -chain homomorphism from M \mathcal{M} M to N \mathcal{N} N assigns to each h h h -term minor chain F F F in M \mathcal{M} M a nonempty chain list Ξ ( F ) \Xi(F) Ξ ( F ) of at most d d d operations of N \mathcal{N} N at its terminal coordinate set. Every injective chain C C C with h + 1 h+1 h + 1 positions must satisfy
{#eq:5}
This intersection of face lists uses transport to the terminal coordinate set of C C C . The integers h , d h,d h , d are the height and list bound . Write C h h , d i n j ( M , N ) \mathrm{Ch}^{\mathrm{inj}}_{h,d}(\mathcal{M},\mathcal{N}) Ch h , d inj ( M , N ) if such lists and uniformly bounded marks exist, and C h i n j ( M , N ) \mathrm{Ch}^{\mathrm{inj}}(\mathcal{M},\mathcal{N}) Ch inj ( M , N ) if some h , d h,d h , d suffice.
With empty marks the same definition gives an ordinary ( h , d ) (h,d) ( h , d ) -chain homomorphism . Write C h h , d ( M , N ) \mathrm{Ch}_{h,d}(\mathcal{M},\mathcal{N}) Ch h , d ( M , N ) and C h ( M , N ) \mathrm{Ch}(\mathcal{M},\mathcal{N}) Ch ( M , N ) for this chain condition . Restricting the coordinate maps to surjections gives the surjective chain condition and its injective variant in Appendix § 11 .3.
The reduction theorem
In this section we glue powers indexed by all local solutions. The restriction maps between these index sets may be arbitrary. The injectivity test concerns only the marked local solutions.
Definition 1.14 (Unpruned local-power construction ). Fix k ≥ 1 k \ge1 k ≥ 1 and an input relational structure X \mathbf{X} X with domain V V V . For each U ⊆ V U \subseteq V U ⊆ V of size at most k k k , put F U = Hom ( X [ U ] , A ) F_U = \operatorname{Hom}(\mathbf{X}[U],\mathbf{A}) F U = Hom ( X [ U ] , A ) , retaining every local solution. If some F U F_U F U is empty, output a fixed relational structure Z ↛ D \mathbf{Z} \not\to\mathbf{D} Z → D . Otherwise use these unpruned families in the gluing construction of Definition 1.2 : identify x ∈ C F W x \in C^{F_W} x ∈ C F W with x ∘ ρ U W ∈ C F U x \circ\rho_{UW} \in C^{F_U} x ∘ ρ U W ∈ C F U , where ρ U W : F U → F W \rho_{UW}: F_U \to F_W ρ U W : F U → F W is restriction, and take the images of the relations on the powers. Denote the resulting quotient, including the empty-family case, by T ~ k ( X ) \widetilde{T}_k(\mathbf{X}) T k ( X ) .
Theorem 1.15 (Reduction from injective chain homomorphisms). For finite promise templates as in (1), suppose C h i n j ( Pol ( C , D ) , Pol ( A , B ) ) \mathrm{Ch}^{\mathrm{inj}}(\operatorname{Pol}(\mathbf{C},\mathbf{D}),\operatorname{Pol}(\mathbf{A},\mathbf{B})) Ch inj ( Pol ( C , D ) , Pol ( A , B )) . For some fixed k k k the unpruned local-power construction T ~ k \widetilde{T}_k T k gives a L O G S P A C E \mathsf{LOGSPACE} LOGSPACE decision reduction from PCSP ( A , B ) \operatorname{PCSP}(\mathbf{A},\mathbf{B}) PCSP ( A , B ) to PCSP ( C , D ) \operatorname{PCSP}(\mathbf{C},\mathbf{D}) PCSP ( C , D ) . A homomorphism T ~ k ( X ) → D \widetilde{T}_k(\mathbf{X}) \to\mathbf{D} T k ( X ) → D can be decoded to a homomorphism X → B \mathbf{X} \to\mathbf{B} X → B in polynomial time. For a chain homomorphism with empty marks the decoder runs in L O G S P A C E \mathsf{LOGSPACE} LOGSPACE .
An m m m -solution supported by local solutions satisfies every constraint of arity at most m m m , provided ∣ V ∣ ≥ m |V| \ge m ∣ V ∣ ≥ m : extend its scope to an m m m -set and take a witnessing list entry.
Theorem 1.16 (Injective chain consistency). Fix positive integers a , h , d a,h,d a , h , d and c ≥ 0 c \ge0 c ≥ 0 . There are k 1 > ⋯ > k t ≥ a k_1 > \cdots> k_t \ge a k 1 > ⋯ > k t ≥ a and N 0 ≥ k 1 N_0 \ge k_1 N 0 ≥ k 1 with the following property for every nonempty value set B B B . Let Φ \Phi Φ be an instance over B B B of constraint arity at most a a a on a finite set V V V , ∣ V ∣ ≥ N 0 |V| \ge N_0 ∣ V ∣ ≥ N 0 . Mark at most c c c auxiliary assignments on each scope of a prescribed size. For each decreasing h h h -term chain F F F at those sizes give a nonempty list L ( F ) L(F) L ( F ) of at most d d d local solutions on min F \min F min F . Assume injective chain consistency, meaning that every injective ( h + 1 ) (h+1) ( h + 1 ) -term chain C C C at those sizes satisfies
⋂ U ∈ C L ( C ∖ { U } ) ∣ min C ≠ ∅ . \bigcap_{U \in C} L(C \setminus\{U\})|_{\min C} \ne\varnothing. U ∈ C ⋂ L ( C ∖ { U }) ∣ m i n C = ∅ .
Then Φ \Phi Φ has a global solution, computable in polynomial time from the explicit lists. With empty marks this is ordinary chain consistency. In that case existence also holds for infinite variable sets, and finite explicit input admits a L O G S P A C E \mathsf{LOGSPACE} LOGSPACE decoder.
Proof of Theorem 1.15. Fix an injective ( h , d ) (h,d) ( h , d ) -chain homomorphism Ξ \Xi Ξ with mark bound c c c . Apply Theorem 1.16 to B B B and the constraint arity bound a a a of A , B \mathbf{A},\mathbf{B} A , B , and choose k ≥ max ( k 1 , N 0 , a ) k \ge\max(k_1,N_0,a) k ≥ max ( k 1 , N 0 , a ) .
Completeness. If s : X → A s:\mathbf{X} \to\mathbf{A} s : X → A , then s ∣ U ∈ F U s|_U \in F_U s ∣ U ∈ F U for every U U U . Thus every family is nonempty, and evaluation at s ∣ U s|_U s ∣ U gives a homomorphism C F U → C C^{F_U} \to C C F U → C . These evaluations agree on the defining identifications, and hence induce T ~ k ( X ) → C \widetilde{T}_k(\mathbf{X}) \to C T k ( X ) → C .
Soundness. Let q : T ~ k ( X ) → D q:\widetilde{T}_k(\mathbf{X}) \to\mathbf{D} q : T k ( X ) → D . Every F U F_U F U is nonempty, since the empty-family case outputs Z ↛ D \mathbf{Z} \not\to\mathbf{D} Z → D . Composing q q q with the canonical map from each power to the quotient gives
f U ∈ Pol ( C , D ) ( F U ) , f U ρ U W = f W ( W ⊆ U ) , f_U \in\operatorname{Pol}(\mathbf{C},\mathbf{D})(F_U), \qquad f_U^{\rho_{UW}} = f_W \quad(W \subseteq U), f U ∈ Pol ( C , D ) ( F U ) , f U ρ U W = f W ( W ⊆ U ) ,
because the quotient identifies x ∈ C F W x \in C^{F_W} x ∈ C F W with x ∘ ρ U W ∈ C F U x \circ\rho_{UW} \in C^{F_U} x ∘ ρ U W ∈ C F U . Thus a decreasing set chain C C C of variable sets gives a minor chain C ^ \widehat{C} C . Restrictions compose, so taking a face commutes with this correspondence. Fix one enumeration of each F U F_U F U and apply Ξ \Xi Ξ and its marking in these coordinates throughout. Mark on U U U the local assignments corresponding to the marked coordinates of f U f_U f U . Consequently every injective set chain gives an injective minor chain, including the test on marks transported from different positions.
For g ∈ Pol ( A , B ) ( F U ) g \in\operatorname{Pol}(\mathbf{A},\mathbf{B})(F_U) g ∈ Pol ( A , B ) ( F U ) , define
b g ( v ) = g ( ( s ( v ) ) s ∈ F U ) ( v ∈ U ) . b_g(v) = g\left((s(v))_{s \in F_U}\right) \qquad(v \in U). b g ( v ) = g ( ( s ( v ) ) s ∈ F U ) ( v ∈ U ) .
This is a local B \mathbf{B} B -solution: for a constraint R ( v 1 , … , v m ) R(v_1,\ldots,v_m) R ( v 1 , … , v m ) contained in U U U , every s ∈ F U s \in F_U s ∈ F U gives a tuple in R A R^{\mathbf{A}} R A , and preservation by g g g gives ( b g ( v 1 ) , … , b g ( v m ) ) ∈ R B (b_g(v_1),\ldots,b_g(v_m)) \in R^{\mathbf{B}} ( b g ( v 1 ) , … , b g ( v m )) ∈ R B . Moreover,
b g ρ U W = b g ∣ W . b_g\rho_{UW}=b_g|_W. b g ρ U W = b g ∣ W .
since ρ U W ( s ) ( v ) = s ( v ) \rho_{UW}(s)(v)=s(v) ρ U W ( s ) ( v ) = s ( v ) for v ∈ W v \in W v ∈ W . For each h h h -term chain F F F of the prescribed sizes give it the list L ( F ) = { b g : g ∈ Ξ ( F ^ ) } L(F)=\{b_g:g \in\Xi(\widehat{F})\} L ( F ) = { b g : g ∈ Ξ ( F )} . It has size at most d d d . On an injective ( h + 1 ) (h+1) ( h + 1 ) -term chain the common face entry in (5) evaluates to a common restricted assignment. Thus Theorem 1.16 gives X → B \mathbf{X} \to\mathbf{B} X → B for ∣ X ∣ ≥ N 0 |X| \ge N_0 ∣ X ∣ ≥ N 0 . For ∣ X ∣ < N 0 ≤ k |X|<N_0 \le k ∣ X ∣ < N 0 ≤ k , a member of F X F_X F X composed with the promise map A → B \mathbf{A} \to\mathbf{B} A → B gives the desired solution.
Complexity. Proposition D.11 implements the instance map in LOGSPACE. The operations on the enumerated coordinate sets and their minor maps have bounded tables, so all chain lists at height h h h can be fixed in the decoder. Given the output homomorphism, evaluating the indicated operations computes the local lists in polynomial time and even in LOGSPACE. Now apply the decoder of Theorem 1.16. Appendix D.5 gives the space bound in the ordinary case.
Proof of Theorem 1.16
We prove the theorem from injective chain consistency. Here a list may depend on an entire face. At a split we must therefore avoid matches between all designated upper and lower subchains. The next lemma uses the same row and column alternatives as Lemma 1.9. Its requests also record which variables must survive later choices within a child.
Retaining variables. Split an interval of positions recursively into two nonempty consecutive intervals. In each child designate a nonempty collection of nonempty subsets of its positions. Each designated subset selects a subchain F F F and carries a nonempty list L ( F ) L(F) L ( F ) of at most d d d assignments on its last scope min F \min F min F . The list may depend on all scopes in F F F . Two separated subchains F < G F<G F < G (all positions of F F F precede those of G G G ) match if L ( F ) ∣ min G ∩ L ( G ) ≠ ∅ L(F)|_{\min G}\cap L(G)\ne\varnothing L ( F ) ∣ m i n G ∩ L ( G ) = ∅ .
Lemma 1.17 (Retaining variables). Fix the splits and designated subsets, integers m , d > 1 m,d>1 m , d > 1 and a request bound g ≥ 0 g\ge0 g ≥ 0 . There are strictly decreasing scope sizes, all at least m m m , such that for every finite V V V of at least the largest size, every nonempty value set B B B and every system of lists as above, one of the following holds.
(i) For some right child, the family of entries on its designated subchains, over all choices of scopes, has an m m m -solution.
(ii) The builder can choose the scopes successively so that no designated subchains on opposite sides of any split match. After each choice the opponent may request up to g g g variables of that scope. Every later scope must contain all variables requested so far.
For fixed parameters, a child and solution in (i) or a strategy in (ii) can be found in polynomial time from explicit lists.
Proof. Use the rank questions Q Q Q , their support map σ \sigma σ and the bit traces τ W \tau_W τ W of Lemma 1.11 for the family of all listed entries. At each split let D 0 D_0 D 0 bound the total number of designated entries in either child in one play. Take e > q ≥ 2 m e > q \ge2m e > q ≥ 2 m and the threshold n n n from Theorem 1.10 for diameter 2 m 2m 2 m and list bound D 0 D_0 D 0 . Take the initial size floor at least m m m and every such n n n . Thus ∣ Q ∣ ≥ ∣ V ∣ ≥ n |Q| \ge|V| \ge n ∣ Q ∣ ≥ ∣ V ∣ ≥ n at every split.
For an interval with size floor k k k , seed budget w w w and request bound g g g , the builder must retain a given seed S ⊆ V S \subseteq V S ⊆ V , ∣ S ∣ ≤ w |S| \le w ∣ S ∣ ≤ w , throughout. We obtain (i) or a random reserve R ⊆ V R \subseteq V R ⊆ V , independent of S S S , such that for each fixed S S S the builder can win inside S ∪ R S \cup R S ∪ R with probability 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) . Winning means honoring the requests and preventing all matches across splits in the interval. The error tends to zero in one integer N N N , uniformly in V V V , the lists and the seed. All scope sizes and reserve bounds are polynomial in N N N . At a leaf of length l l l , use consecutive sizes ending at max ( k , w + l g ) \max(k,w+lg) max ( k , w + l g ) . A fixed reserve of the largest size suffices.
At a split let U , D U,D U , D be the left and right children, l = ∣ U ∣ l=|U| l = ∣ U ∣ , b = ( e q ) b=\binom{e}{q} b = ( q e ) , δ = 1 / ( 2 b ) \delta=1/(2b) δ = 1/ ( 2 b ) and w ′ = w + l g w'=w+lg w ′ = w + l g . Prescribe D D D first, with floor k k k , seed budget e + b w ′ e+bw' e + b w ′ and request bound b g bg b g . Let M D M_D M D bound its reserve size, k D k_D k D its largest scope size, and put t = e + b w ′ + M D t=e+bw'+M_D t = e + b w ′ + M D . There are K K K subsets of { 0 , 1 } q \{0,1\}^q { 0 , 1 } q of size at most D 0 D_0 D 0 . Prescribe U U U with floor k D + 1 k_D+1 k D + 1 , seed budget w + q + K N t w+q+KNt w + q + K N t and request bound g g g . If either child gives (i), we are done.
Fix W ∈ P q ( Q ) W\in\mathcal{P}_q(Q) W ∈ P q ( Q ) and γ ⊆ { 0 , 1 } W \gamma\subseteq\{0,1\}^W γ ⊆ { 0 , 1 } W of size at most D 0 D_0 D 0 . Form a zero–one matrix with rows S 0 ⊆ V S_0\subseteq V S 0 ⊆ V of size at most w ′ w' w ′ and columns T ⊆ V T\subseteq V T ⊆ V of size at most t t t . Its entry is one if the builder can play D D D inside σ ( W ) ∪ S 0 ∪ T \sigma(W)\cup S_0\cup T σ ( W ) ∪ S 0 ∪ T , retaining σ ( W ) ∪ S 0 \sigma(W)\cup S_0 σ ( W ) ∪ S 0 , honoring g g g requests per position, preventing the internal matches and ensuring τ W ( a ) ∉ γ \tau_W(a)\notin\gamma τ W ( a ) ∈ / γ for every designated entry a a a of D D D . Apply Lemma D.12 with δ \delta δ . At a pivot W W W , no color admits the row distribution, so each γ \gamma γ admits a column distribution with
Pr T [ ( S 0 , T ) has entry one ] ≥ δ / 4 for every row S 0 . (6) \Pr_T[(S_0,T)\text{ has entry one}]\ge\delta/4 \qquad\text{for every row }S_0. \tag*{(6)} T Pr [( S 0 , T ) has entry one ] ≥ δ /4 for every row S 0 . (6)
No pivot. For each W W W take a γ W \gamma_W γ W and a row distribution giving the ones in each column mass less than δ \delta δ . Given X ∈ P e ( Q ) X\in\mathcal{P}_e(Q) X ∈ P e ( Q ) , independently draw a row S W S_W S W for each W ∈ P q ( X ) W\in\mathcal{P}_q(X) W ∈ P q ( X ) and the reserve R D R_D R D . Set S ∗ = σ ( X ) ∪ ⋃ W S W S_*=\sigma(X)\cup\bigcup_W S_W S ∗ = σ ( X ) ∪ ⋃ W S W . For the game at W W W use the column
T W = σ ( X ) ∪ R D ∪ ⋃ W ′ ≠ W S W ′ . T_W=\sigma(X)\cup R_D\cup\bigcup_{W'\ne W}S_{W'}. T W = σ ( X ) ∪ R D ∪ W ′ = W ⋃ S W ′ .
It is independent of S W S_W S W . The probability that some entry is one or the strategy for D D D fails for seed S ∗ S_* S ∗ is at most b δ + o ( 1 ) < 1 b\delta+o(1)<1 b δ + o ( 1 ) < 1 . Fix draws for which all entries are zero and the strategy succeeds. Every one of the b b b games has this same playing area. Run one winning opponent from each game against the strategy for D D D , passing it the union of their requests at each move. It can honor all b g bg b g requests and prevent every internal match. In the resulting common play each opponent therefore forces a designated entry a a a with τ W ( a ) ∉ γ W \tau_W(a)\notin\gamma_W τ W ( a ) ∈ / γ W .
Use the traces on X X X of all designated entries of this play as the upper list. On W W W retain from γ W \gamma_W γ W just the realized traces of designated entries of D D D whose domains contain σ ( W ) \sigma(W) σ ( W ) . The common play gives ordinary overlap on every inclusion. Both lists have size at most D 0 D_0 D 0 , and each entry comes from D D D . By Theorem 1.10 the same family supports a bit assignment on every 2 m 2m 2 m questions. Lemma 1.11 decodes an m m m -solution in (i).
A pivot. Fix a pivot W W W . Draw N N N columns for each γ \gamma γ using (6), all independently, and draw R U R_U R U independently. The parent reserve is R U ∪ σ ( W ) ∪ ⋃ T R_U\cup\sigma(W)\cup\bigcup T R U ∪ σ ( W ) ∪ ⋃ T , where the union runs over all draws. Fix S S S . With probability 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) the strategy for U U U succeeds with enlarged seed S ∪ σ ( W ) ∪ ⋃ T S\cup\sigma(W)\cup\bigcup T S ∪ σ ( W ) ∪ ⋃ T , by conditioning on the draws. With probability 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) every set Z Z Z of up to lg \lg lg variables requested during U U U and every γ \gamma γ have a sampled column for γ \gamma γ with a one in row S ∪ Z S\cup Z S ∪ Z . Indeed, fix R U R_U R U and name the variables of Z Z Z by positions in S S S , R U R_U R U , σ ( W ) \sigma(W) σ ( W ) or the sampled columns, ordering each set in advance. There are polynomially many descriptions in N N N , since lg \lg lg is fixed. For a fixed description expose only the samples it names. If all positions exist, this fixes S ∪ Z S\cup Z S ∪ Z . The remaining at least N − lg N-\lg N − lg independent draws for γ \gamma γ miss that row with probability at most ( 1 − δ / 4 ) N − lg (1-\delta/4)^{N-\lg} ( 1 − δ /4 ) N − l g . The union bound over descriptions and γ \gamma γ gives error o ( 1 ) o(1) o ( 1 ) .
Play U U U with its enlarged seed. Take Z Z Z to be its actual requests and γ \gamma γ the traces on W W W of its designated entries. A successful column for this γ \gamma γ gives the required play of D D D . Its entire playing area lies in the last upper scope, which contains the seed, the requests and all sampled columns. The size floor gives strict inclusion, and equality of an upper and a lower entry on the lower scope would give equal traces on W W W . This wins the interval. The recursion for sizes uses only sums and products by constants or N N N , while the request bounds are independent of N N N . The tree is fixed, so one sufficiently large N N N makes all the probability bounds hold. At the root take w = 0 w=0 w = 0 .
For the algorithm evaluate the matrices from the leaves upwards. At fixed parameters each finite game has a bounded number of moves, each with polynomially many choices. Backward induction computes its value, and Lemma D.12 supplies the distributions. At the first split whose output gives a row distribution for some color at every W W W , find the common play for each X X X by enumerating plays in D D D retaining σ ( X ) \sigma(X) σ ( X ) and checking the required hits. Decode the two lists as above. If there is no such split, at every split the output supplies a W W W with column distributions for all colors. The second case then gives (ii), and backward induction in the root game supplies the strategy.
Matching subchains
An h h h -face is a subchain at any h h h selected positions. An assignment f f f occurs on an h h h -face G G G if its domain contains min G \min G min G and f ∣ min G ∈ L ( G ) f|_{\min G}\in L(G) f ∣ m i n G ∈ L ( G ) .
The same matching argument applies to restrictions of assignments and to minors of operations. In a sequence of sets and maps S 1 → ⋯ → S n S_1\to\cdots\to S_n S 1 → ⋯ → S n , write ρ i j : S i → S j \rho_{ij}:S_i\to S_j ρ ij : S i → S j for the composite from i i i to j j j , with ρ i i \rho_{ii} ρ ii the identity.
Lemma 1.18 (Matching subchains). Fix h h h , d ≥ 1 d\ge1 d ≥ 1 and t ≥ 2 t\ge2 t ≥ 2 . For all sufficiently large n n n , consider any sequence S 1 → ⋯ → S n S_1\to\cdots\to S_n S 1 → ⋯ → S n . Give each h h h -set F ⊆ [ n ] F\subseteq[n] F ⊆ [ n ] a nonempty list L ( F ) ⊆ S max F L(F)\subseteq S_{\max F} L ( F ) ⊆ S m a x F of size at most d d d . Suppose that for every ( h + 1 ) (h+1) ( h + 1 ) -set A A A the images of its face lists in S max A S_{\max A} S m a x A intersect. Then there are h h h -sets B 1 < ⋯ < B t B_1<\cdots<B_t B 1 < ⋯ < B t and entries g j ∈ L ( B j ) g_j\in L(B_j) g j ∈ L ( B j ) such that ρ max B j , max B j + 1 ( g j ) = g j + 1 \rho_{\max B_j,\max B_{j+1}}(g_j)=g_{j+1} ρ m a x B j , m a x B j + 1 ( g j ) = g j + 1 for j < t j<t j < t .
Proof. Order each list. For each ( h + 1 ) (h+1) ( h + 1 ) -set choose one common image and a preimage in each face list. Color the set by the indices of these entries, in order of the omitted position. There are at most d h + 1 d^{h+1} d h + 1 colors. By the finite Ramsey theorem [14 ] there are h ( t + 1 ) h(t+1) h ( t + 1 ) positions on which all ( h + 1 ) (h+1) ( h + 1 ) -sets have one color ( a 0 , … , a h ) (a_0,\ldots,a_h) ( a 0 , … , a h ) . Split these positions into successive h h h -sets P , B 1 , … , B t P,B_1,\ldots,B_t P , B 1 , … , B t .
Fix B = B j B=B_j B = B j . Start with P ∪ { max B } P\cup\{\max B\} P ∪ { max B } and end with { min P } ∪ B \{\min P\}\cup B { min P } ∪ B , replacing their differing interior positions from right to left. Each replacement keeps the rank of the changed position. Deleting that position gives the same face before and after, with the same entry index. Hence the common image in S max B S_{\max B} S m a x B stays fixed. At the start it is the image of entry a h a_h a h of L ( P ) L(P) L ( P ) , and at the end it is entry a 0 a_0 a 0 of L ( B ) L(B) L ( B ) . Thus all the chosen entries of the L ( B j ) L(B_j) L ( B j ) are images of one entry of L ( P ) L(P) L ( P ) .
Proof of Theorem 1.16. Take Q Q Q from Lemma 1.18 for h , d h,d h , d and two separated matching faces. Set H = Q + d h ( Q ) H=Q+d_h^{(Q)} H = Q + d h ( Q ) and t = h 2 H t=h2^H t = h 2 H . Starting with t t t positions, split each interval into equal halves until each leaf has h h h positions. On each child designate all its h h h -faces. Use Lemma 1.17 with m = a m=a m = a and g = t c g=tc g = t c . If the first alternative holds, the resulting a a a -solution is supported by local solutions of Φ \Phi Φ and hence is a global solution. Otherwise play the second alternative, requesting, after each position, variables that distinguish all accumulated marks. At most t c tc t c variables suffice. The resulting chain and all its subchains are injective. Hence every ( h + 1 ) (h+1) ( h + 1 ) -subchain has the intersection of face lists required by Lemma 1.18 . We derive a contradiction. A block of height zero is a strictly decreasing chain of h h h variable sets. A block of height j + 1 j+1 j + 1 is a strictly decreasing chain U D UD U D whose upper and lower halves U , D U,D U , D are blocks of height j j j , such that no h h h -face of U U U matches an h h h -face of D D D . An assignment can therefore occur on h h h -faces in at most one half. If it occurred on a face in each half, its two listed restrictions would make those faces match.
The play would be a block of height H H H . To rule this out, select one position in the upper half and continue in the lower half. For every selected h h h -face F F F completed by this position and every g ∈ L ( F ) g \in L(F) g ∈ L ( F ) , descend one more level into a half where g g g has no occurrence. All later positions will lie in that half. Repeat until Q Q Q positions have been selected. The selections use Q Q Q levels, and the descents for list entries use at most d ( h ) ( Q ) d^{(Q)}_{(h)} d ( h ) ( Q ) more, since each selected h h h -face is completed once. If F < G F < G F < G are two selected h h h -faces, every entry of L ( F ) L(F) L ( F ) was excluded before the first position of G G G was chosen. Hence F F F and G G G do not match, contrary to Lemma 1.18 .
Thus the polynomial-time decoder of Lemma 1.17 applies. With empty marks the deterministic construction in Appendix § 9 .5 gives the stronger value-set and space bounds.
Composition and comparison
Composition. Chain homomorphisms are closed under composition: the parameters of a composite depend only on those of the two given maps. Precomposition and postcomposition by minion homomorphisms preserve the original height and list bound. Postcomposition is used in the approximate graph coloring application to pass from the projection minion to an arbitrary target minion. Existence of a chain homomorphism is therefore reflexive and transitive. Theorem F.2 gives the composite. Strict associativity of this construction on individual chain homomorphisms is not established.
For an injective chain homomorphism, precomposition and postcomposition by ordinary minion homomorphisms preserve both the parameters and the mark bound. More generally, the second map in Theorem F.2 may be any ordinary chain homomorphism when the first map is injective.
Position in the hierarchy. Every ( d , r ) (d,r) ( d , r ) -Barto–Kozik homomorphism gives an ( r , r d ) (r,rd) ( r , r d ) -chain homomorphism. The same implication holds with the same marks for the injective variants. At height one, chain homomorphisms are exactly d d d -homomorphisms; at list bound one, they are exactly minion homomorphisms. Proposition F.1 also gives the corresponding two equivalences when all three conditions use the injective variant. Whether the chain condition implies the BK condition with some finite parameters remains unresolved. The implication from chain homomorphisms to consistency reductions is proper even for finite templates (Example D.10 ).
Tight-cycle hardness and applications
In this section we derive hardness results for coloring from finite tight cycles. For a cyclic relation of prime arity p p p , a system of equations over F p \mathbb{F}_p F p determines whether a tight cycle of the required length maps to it. For Boolean templates with unate polymorphisms, a missing block symmetry gives bounded direction certificates. These allow the same tight cycle to be used on injective chains.
Definition (Tight cycle and coloring template). For positive integers n , q n,q n , q , write Z n = Z / n Z \mathbb{Z}_n=\mathbb{Z}/n\mathbb{Z} Z n = Z / n Z and [ q ] = { 1 , … , q } [q]=\{1,\ldots,q\} [ q ] = { 1 , … , q } . Fix an integer r ≥ 2 r\ge2 r ≥ 2 . For q ≥ 2 q\ge2 q ≥ 2 , the tight cycle C Y C L E r [ q ] \mathrm{CYCLE}_r[q] CYCLE r [ q ] has vertex set Z q \mathbb{Z}_q Z q . Its relation consists of all cyclic rotations of ( t , t + 1 , … , t + r − 1 ) (t,t+1,\ldots,t+r-1) ( t , t + 1 , … , t + r − 1 ) for t ∈ Z q t\in\mathbb{Z}_q t ∈ Z q . For q ≥ 1 q\ge1 q ≥ 1 , the coloring template N A E r [ q ] \mathrm{NAE}_r[q] NAE r [ q ] has vertex set [ q ] [q] [ q ] and its relation consists of all nonconstant r r r -tuples. We also write N A E r [ q ] \mathrm{NAE}_r[q] NAE r [ q ] for this relation.
For r = 2 r=2 r = 2 , the neighbors of x x x in C Y C L E 2 [ q ] \mathrm{CYCLE}_2[q] CYCLE 2 [ q ] are x − 1 x-1 x − 1 and x + 1 x+1 x + 1 modulo q q q , and two colors are adjacent in N A E 2 [ q ] \mathrm{NAE}_2[q] NAE 2 [ q ] exactly when they differ. Thus C Y C L E 2 [ q ] = C q \mathrm{CYCLE}_2[q]=C_q CYCLE 2 [ q ] = C q for q ≥ 3 q\ge3 q ≥ 3 , and N A E 2 [ q ] = K q \mathrm{NAE}_2[q]=K_q NAE 2 [ q ] = K q up to naming the vertices.
Theorem 2.1 (Tight-cycle source). Let p p p be prime, L > 1 L>1 L > 1 satisfy L ≡ 1 ( m o d p ) L\equiv1\pmod p L ≡ 1 ( mod p ) , and suppose C Y C L E p [ L ] → N A E p [ q ] \mathrm{CYCLE}_p[L]\to\mathrm{NAE}_p[q] CYCLE p [ L ] → NAE p [ q ] . There is a finite d = d ( p , q , L ) d=d(p,q,L) d = d ( p , q , L ) such that
C h q ( p − 1 ) , d ( Pol ( C Y C L E p [ L ] , N A E p [ q ] ) , P ) . \mathrm{Ch}_{q^{(p-1)},d}\bigl(\operatorname{Pol}(\mathrm{CYCLE}_p[L],\mathrm{NAE}_p[q]),\mathcal{P}\bigr). Ch q ( p − 1 ) , d ( Pol ( CYCLE p [ L ] , NAE p [ q ]) , P ) . Consequently 3 -SAT ≤ L PCSP ( C Y C L E p [ L ] , N A E p [ q ] ) 3\text{-SAT}\le_{\mathrm{L}}\operatorname{PCSP}(\mathrm{CYCLE}_p[L],\mathrm{NAE}_p[q]) 3 -SAT ≤ L PCSP ( CYCLE p [ L ] , NAE p [ q ]) with a LOGSPACE search decoder .
Appendix A gives two proofs for every prime p p p . Both proofs assign a coordinate list to each face and show that, in every partition of the terminal coordinates among the faces, some block meets its own face list. The continuous proof detects a block by a change in a sphere value. The combinatorial proof detects it by a change in the distance to a color class on the finite clock.
We can test whether a cyclic relation receives one of these sources by solving equations over F p \mathbb{F}_p F p . For a p p p -ary relation R R R , introduce one variable z a 1 , … , a p − 1 z_{a_1,\ldots,a_{p-1}} z a 1 , … , a p − 1 for each ordered ( p − 1 ) (p-1) ( p − 1 ) -tuple that occurs as an initial or final segment of a tuple of R R R . Let F p ( R ) \mathcal{F}_p(R) F p ( R ) be the system
z a 2 , … , a p − z a 1 , … , a p − 1 = 1 in F p , ( a 1 , … , a p ) ∈ R . (7) z_{a_2,\ldots,a_p}-z_{a_1,\ldots,a_{p-1}}=1\quad\text{in }\mathbb{F}_p,\qquad(a_1,\ldots,a_p)\in R. \tag*{(7)} z a 2 , … , a p − z a 1 , … , a p − 1 = 1 in F p , ( a 1 , … , a p ) ∈ R . (7)
For graphs this is precisely the system specifying a bipartition. For higher arities its variables belong to ordered faces, not vertices.
Theorem 2.2 (Cyclic relations). Let p p p be prime and let R ⊆ A p R\subseteq A^p R ⊆ A p be finite, nonempty, and invariant under the right rotation τ ( a 1 , … , a p ) = ( a p , a 1 , … , a p − 1 ) \tau(a_1,\ldots,a_p)=(a_p,a_1,\ldots,a_{p-1}) τ ( a 1 , … , a p ) = ( a p , a 1 , … , a p − 1 ) . The following conditions are equivalent:
F p ( R ) \mathcal{F}_p(R) F p ( R ) has no solution;
C Y C L E p [ L ] → ( A ; R ) \mathrm{CYCLE}_p[L]\to(A;R) CYCLE p [ L ] → ( A ; R ) for some L > 1 L>1 L > 1 with L ≡ 1 ( m o d p ) L\equiv1\pmod p L ≡ 1 ( mod p ) ;
some tuple a ∈ R a\in R a ∈ R can be joined to τ a \tau a τ a by a finite sequence of tuples of R R R with at least one step, changing at most one coordinate at each step; a step may leave the tuple unchanged.
If these conditions hold and ( A ; R ) → ( B ; S ) (A;R)\to(B;S) ( A ; R ) → ( B ; S ) is a finite promise template with S S S containing no constant tuple, then, for q = ∣ B ∣ q=|B| q = ∣ B ∣ and some finite d d d ,
C h q ( p − 1 ) , d ( Pol ( ( A ; R ) , ( B ; S ) ) , P ) . \mathrm{Ch}_{q^{(p-1)},d}\bigl(\operatorname{Pol}((A;R),(B;S)),\mathcal{P}\bigr). Ch q ( p − 1 ) , d ( Pol (( A ; R ) , ( B ; S )) , P ) . In particular 3 -SAT ≤ L PCSP ( ( A ; R ) , ( B ; S ) ) 3\text{-SAT}\le_{\mathrm{L}}\operatorname{PCSP}((A;R),(B;S)) 3 -SAT ≤ L PCSP (( A ; R ) , ( B ; S )) with a LOGSPACE search decoder .
Proof. Form the digraph whose vertices are the variables of (7) , with an arc from ( a 1 , … , a p − 1 ) (a_1,\ldots,a_{p-1}) ( a 1 , … , a p − 1 ) to ( a 2 , … , a p ) (a_2,\ldots,a_p) ( a 2 , … , a p ) for each tuple of R R R . Rotation invariance puts every arc on a closed directed walk of length p p p , so no arc joins different strongly connected components. The equations are solvable exactly when every closed directed walk has length divisible by p p p . Indeed, within one component choose a starting vertex and assign to each vertex the length modulo p p p of a directed path to it. A return path shows that this is well defined under the stated divisibility condition. A closed directed walk is a periodic word all of whose length-p p p windows belong to R R R . If its length ℓ \ell ℓ is not divisible by p p p , repeat it k k k times with k ℓ ≡ 1 ( m o d p ) k\ell\equiv1 \pmod p k ℓ ≡ 1 ( mod p ) , increasing k k k by a multiple of p p p if necessary to obtain L = k ℓ > 1 L=k\ell>1 L = k ℓ > 1 . The resulting word defines the homomorphism in (ii). Conversely, the image of a tight cycle of length L ≡ 1 ( m o d p ) L\equiv1\pmod p L ≡ 1 ( mod p ) is such a closed walk, which contradicts solvability of the equations. This proves (i)⇔ \Leftrightarrow ⇔ (ii).
For (ii)⇒ \Rightarrow ⇒ (iii), write w t w_t w t for the images of the vertices, periodically modulo L L L . Place w t + j w_{t+j} w t + j in position t + j ( m o d p ) t+j\pmod p t + j ( mod p ) , for 0 ≤ j < p 0\le j<p 0 ≤ j < p . These tuples belong to R R R , consecutive tuples differ only in position t ( m o d p ) t\pmod p t ( mod p ) , and after L L L steps the tuple has rotated one place to the right.
Conversely, take a path of m ≥ 1 m\ge1 m ≥ 1 steps as in (iii). Reserve time slot t t t for changing position t ( m o d p ) t\pmod p t ( mod p ) , carry out each change in the next available slot, and wait in the intervening slots. The changes fit in p m pm p m slots. Pad to L = p m + 1 L=pm+1 L = p m + 1 slots and repeat the schedule with every position rotated after each L L L slots. If a t a^t a t is the tuple before slot t t t , then a t + L = τ a t a^{t+L}=\tau a^t a t + L = τ a t . The letters w t = a t ( m o d p ) t w_t=a^t_{t\pmod p} w t = a t ( mod p ) t therefore have period L L L . Each length-p p p window is a rotation of a t a^t a t : its successive positions have not yet been updated when their letters are read. Hence t ↦ w t t\mapsto w_t t ↦ w t gives (ii).
Finally identify B B B with [ q ] [q] [ q ] . The source homomorphism gives a sandwich
C Y C L E p [ L ] ⟶ ( A ; R ) ⟶ ( B ; S ) ⟶ N A E p [ q ] . \mathrm{CYCLE}_p[L]\longrightarrow(A;R)\longrightarrow(B;S)\longrightarrow\mathrm{NAE}_p[q]. CYCLE p [ L ] ⟶ ( A ; R ) ⟶ ( B ; S ) ⟶ NAE p [ q ] .
Precomposing polymorphisms with the first map and renaming their outputs gives an ordinary minion homomorphism Pol ( ( A ; R ) , ( B ; S ) ) → Pol ( C Y C L E p [ L ] , N A E p [ q ] ) \operatorname{Pol}((A;R),(B;S))\to\operatorname{Pol}(\mathrm{CYCLE}_p[L],\mathrm{NAE}_p[q]) Pol (( A ; R ) , ( B ; S )) → Pol ( CYCLE p [ L ] , NAE p [ q ]) . Pull back the chain lists from Theorem 2.1 , then apply Theorem 1.15.
Approximate graph colouring
At arity two, the face equations are exactly the bipartiteness equations, and the sources are odd cycles.
Theorem 2.3 (Graph dichotomy). Let G → H G\to H G → H be finite undirected graphs, with H H H loopless. If G G G is bipartite, then PCSP ( G , H ) \operatorname{PCSP}(G,H) PCSP ( G , H ) is solvable in polynomial time. Otherwise 3 3 3 -SAT ≤ L PCSP ( G , H ) \leq_{\mathrm{L}} \operatorname{PCSP}(G,H) ≤ L PCSP ( G , H ) with a L O G S P A C E \mathsf{LOGSPACE} LOGSPACE search decoder, and for some finite d d d ,
Ch ∣ V ( H ) ∣ , d ( Pol ( G , H ) , P ) . \operatorname{Ch}_{|V(H)|,d}(\operatorname{Pol}(G,H),\mathcal{P}). Ch ∣ V ( H ) ∣ , d ( Pol ( G , H ) , P ) .
Proof. If G G G has no edge, test whether the input is edgeless and, if so, map all its vertices to any vertex of H H H . Otherwise, when G G G is bipartite, test and construct a bipartition of the input and map its two parts to the ends of a fixed edge of H H H . If G G G is not bipartite, it contains an odd cycle. Apply Theorem 2.2 with p = 2 p=2 p = 2 ; the height is ∣ V ( H ) ∣ |V(H)| ∣ V ( H ) ∣ .
In particular, hardness of PCSP ( K 3 , K q ) \operatorname{PCSP}(K_3,K_q) PCSP ( K 3 , K q ) for every fixed q ≥ 3 q\ge3 q ≥ 3 is the case p = 2 p=2 p = 2 , L = 3 L=3 L = 3 of Theorem 2.1 , since C Y C L E 2 [ 3 ] = K 3 \mathrm{CYCLE}_2[3]=K_3 CYCLE 2 [ 3 ] = K 3 and N A E 2 [ q ] = K q \mathrm{NAE}_2[q]=K_q NAE 2 [ q ] = K q .
Corollary 2.4 (Reduction to approximate graph coloring). For every finite promise template ( A , B ) (A,B) ( A , B ) and fixed n ≥ 3 n\ge3 n ≥ 3 , there is a L O G S P A C E \mathsf{LOGSPACE} LOGSPACE decision reduction
PCSP ( A , B ) ≤ L PCSP ( K 3 , K n ) \operatorname{PCSP}(A,B)\leq_{\mathrm{L}}\operatorname{PCSP}(K_3,K_n) PCSP ( A , B ) ≤ L PCSP ( K 3 , K n ) with a L O G S P A C E \mathsf{LOGSPACE} LOGSPACE search decoder. In particular this gives a direct L O G S P A C E \mathsf{LOGSPACE} LOGSPACE reduction from 3 3 3 -SAT to approximate graph coloring. The polymorphism minions of 3 3 3 -SAT and PCSP ( K 3 , K n ) \operatorname{PCSP}(K_3,K_n) PCSP ( K 3 , K n ) admit chain homomorphisms in both directions.
Proof. A fixed e : A → B e:\mathbf{A}\to\mathbf{B} e : A → B gives the minion homomorphism P → Pol ( A , B ) \mathcal{P}\to\operatorname{Pol}(\mathbf{A},\mathbf{B}) P → Pol ( A , B ) sending e i e_i e i to ( x j ) j ↦ e ( x i ) (x_j)_j\mapsto e(x_i) ( x j ) j ↦ e ( x i ) . Postcompose the chain homomorphism of Theorem 2.3 with this map. This preserves the chain lists. Apply Theorem 1.15; K n + 1 K_{n+1} K n + 1 is a target NO instance.
Take the Boolean structure S \mathbf{S} S for 3-SAT with the eight signed ternary clause relations. The graphs of conjunction and negation are definable by conjunctions of clauses of at most three literals, so every polymorphism of S \mathbf{S} S preserves both operations. It is therefore a Boolean algebra homomorphism { 0 , 1 } I → { 0 , 1 } \{0,1\}^{I}\to\{0,1\} { 0 , 1 } I → { 0 , 1 } . Exactly one atom maps to 1, so the operation is the projection onto that coordinate. Thus Pol ( S ) = P \operatorname{Pol}(\mathbf{S})=\mathcal{P} Pol ( S ) = P . Now Theorem 2.3 gives a chain homomorphism from Pol ( K 3 , K n ) \operatorname{Pol}(K_3,K_n) Pol ( K 3 , K n ) to P \mathcal{P} P . In the other direction, the inclusion ι : K 3 ↪ K n \iota:K_3\hookrightarrow K_n ι : K 3 ↪ K n gives the minion homomorphism P → Pol ( K 3 , K n ) \mathcal{P}\to\operatorname{Pol}(K_3,K_n) P → Pol ( K 3 , K n ) sending e i e_i e i to ( x j ) j ↦ ι ( x i ) (x_j)_j\mapsto\iota(x_i) ( x j ) j ↦ ι ( x i ) . Its singleton lists form a ( 1 , 1 ) (1,1) ( 1 , 1 ) -chain homomorphism.
For a 3-CNF input, use T ~ k \widetilde{T}_k T k from Definition 1.14: retain all local satisfying assignments, place a power of K 3 K_3 K 3 at each local variable set, and identify vertices along restriction maps. No consistency pruning is performed. A satisfying assignment gives compatible evaluation coordinates. An n n n -coloring gives the local lists decoded by Theorem 1.16. Use K n + 1 K_{n+1} K n + 1 as the fixed NO instance, and also output it if the quotient has a loop; neither case occurs on a satisfiable input. All bounds depend only on n n n , and the entire instance construction, including the loop check, is in LOGSPACE by Proposition D.11 .
Digraphs with no sources and no sinks
Barto, Kozik and Niven [16, Section 3 and Theorem 8.1] classified the CSPs of finite digraphs without sources or sinks. We consider pairs G → H G\to H G → H of such digraphs.
A digraph is smooth if every vertex has an incoming and an outgoing arc. A weak component is a component after forgetting arc directions. A walk may traverse an arc forwards or backwards; its algebraic length is
al ( W ) = # { forward steps of W } − # { backward steps of W } . \operatorname{al}(W)=\#\{\text{forward steps of }W\}-\#\{\text{backward steps of }W\}. al ( W ) = # { forward steps of W } − # { backward steps of W } .
The same convention applies to an oriented path. Vertices may repeat in a walk, and a closed walk has equal initial and terminal vertices. For a nonempty weak component A A A of a finite smooth digraph, let d A d_A d A be the positive gcd of the algebraic lengths of its closed walks. Equivalently, these lengths at any fixed vertex form the subgroup d A Z d_A\mathbb{Z} d A Z . This number is the algebraic length of A A A .
Write C ⃗ d \vec{C}_d C d for the directed cycle on Z / d Z \mathbb{Z}/d\mathbb{Z} Z / d Z , with arcs i → i + 1 i\to i+1 i → i + 1 ; C ⃗ 1 \vec{C}_1 C 1 is a loop. A cycle sandwich is a pair of homomorphisms G → C → H G\to C\to H G → C → H , where C C C is a finite disjoint union of directed cycles. For fixed digraphs G → H G\to H G → H , the input to PCSP( G , H ) (G,H) ( G , H ) is a finite digraph X X X , given by its vertices and arcs. The decision problem distinguishes X → G X\to G X → G from X ↛ H X\nrightarrow H X ↛ H ; the search problem asks for a homomorphism X → H X\to H X → H , promised X → G X\to G X → G .
The arc digraph δ X \delta X δ X has the arcs of X X X as vertices and arcs ( u , v ) → ( v , w ) (u,v)\to(v,w) ( u , v ) → ( v , w ) . Thus vertices of δ t X \delta^tX δ t X are directed walks of length t t t in X X X . We write X [ d ] X^{[d]} X [ d ] for the digraph on V ( X ) V(X) V ( X ) with an arc u → v u\to v u → v whenever X X X has a directed walk of exactly d d d steps from u u u to v v v . Finally, K n K_n K n is the loopless symmetric digraph on n n n vertices.
Theorem 2.5 (Smooth-digraph dichotomy). Let G , H G,H G , H be fixed finite nonempty smooth digraphs with G → H G\to H G → H . If H H H has a closed directed walk of length d A d_A d A for every weak component A A A of G G G , then
G → C : = ∐ A a weak component of G C ⃗ d A → H , G\to C:=\coprod_{\substack{A\ \text{a weak component of }G}}\vec{C}_{d_A}\to H, G → C := A a weak component of G ∐ C d A → H , and both decision and search PCSP( G , H ) (G,H) ( G , H ) are polynomial-time solvable through CSP( C ) (C) ( C ) . This condition is equivalent to the existence of a cycle sandwich.
Otherwise there is a reduction
3 -SAT ≤ L PCSP ( G , H ) . 3\text{-SAT} \leq_{\mathrm{L}} \operatorname{PCSP}(G,H). 3 -SAT ≤ L PCSP ( G , H ) .
It is a composition of a chain-homomorphism reduction, fixed gadget reductions, and finitely many arc-digraph reductions. Its instance map and search decoder use LOGSPACE, and no consistency-pruning algorithm is run.
When G = H G = H G = H , Barto, Kozik and Niven [16 Section 3] characterized tractability by the core being a disjoint union of directed cycles. Their proof uses a loop lemma for smooth digraphs of algebraic length one with a weak near-unanimity polymorphism [16 Theorem 8.1] . For a promise pair the condition depends instead on which closed walks exist in H H H . The chain homomorphism below comes from Theorem 2.2 . The transfer through arc digraphs is isolated in Lemma C.1 ; its construction is the one in Example 1.4.
Proof of Theorem 2.5 . For a weak component A A A , signed length from a fixed vertex, taken modulo e e e , gives
A → C ⃗ e ⟺ e ∣ d A . A \to\vec{C}_e \Longleftrightarrow e \mid d_A. A → C e ⟺ e ∣ d A .
Consequently a cycle sandwich exists exactly under the stated condition. Indeed, a map from A A A to one cycle C ⃗ e \vec{C}_e C e forces e ∣ d A e \mid d_A e ∣ d A , and a closed directed e e e -walk in H H H can be repeated to length d A d_A d A . Conversely, the displayed union C C C gives the sandwich. To solve CSP ( C ) \operatorname{CSP}(C) CSP ( C ) , test each weak input component against each of the finitely many cycles: assign a phase at one vertex and propagate the congruences c ( v ) = c ( u ) + 1 ( m o d d A ) c(v) = c(u) + 1 \pmod{d_A} c ( v ) = c ( u ) + 1 ( mod d A ) along its arcs. These tests also construct a homomorphism to C C C , whose composition with C → H C \to H C → H solves the promised search problem.
Suppose the condition fails for a weak component A A A , and put d = d A d = d_A d = d A , B = H [ d ] B = H^{[d]} B = H [ d ] . Then B B B is loopless. By Lemma C.2 , a cyclic class of A A A , with arcs given by directed walks of length d d d , is a smooth weakly connected digraph Q Q Q of algebraic length one. The given map G → H G \to H G → H restricts to Q → B Q \to B Q → B .
The construction in Subsection C.3, applied to Q Q Q , provides a finite smooth digraph D D D and an integer t t t with D ⃗ t → Q \vec{D}^{\,t} \to Q D t → Q . By Lemma C.1 , it suffices to prove hardness of PCSP ( D , K M ) \operatorname{PCSP}(D,K_M) PCSP ( D , K M ) for every sufficiently large M M M . By Lemma C.5 , there is a prime-arity promise template ( R D , R K M ) (R_D, R_{K_M}) ( R D , R K M ) satisfying the hypotheses of Theorem 2.2 , together with a fixed gadget reduction to PCSP ( D , K M ) \operatorname{PCSP}(D,K_M) PCSP ( D , K M ) . Applying that theorem and then the gadget gives
3 -SAT ≤ L PCSP ( R D , R K M ) ≤ L PCSP ( D , K M ) . 3\text{-SAT} \leq_{\mathrm{L}} \operatorname{PCSP}(R_D,R_{K_M}) \leq_{\mathrm{L}} \operatorname{PCSP}(D,K_M). 3 -SAT ≤ L PCSP ( R D , R K M ) ≤ L PCSP ( D , K M ) .
The transfer lemma now gives hardness of PCSP ( Q , B ) \operatorname{PCSP}(Q,B) PCSP ( Q , B ) . Finally replace every input arc of PCSP ( Q , B ) \operatorname{PCSP}(Q,B) PCSP ( Q , B ) by a fresh directed path of d d d edges. A map to Q Q Q extends along realizing walks to A ⊆ G A \subseteq G A ⊆ G , while a map of the subdivision to H H H restricts on its original vertices to a map to H [ d ] = B H^{[d]} = B H [ d ] = B . Hence PCSP ( Q , B ) ≤ L PCSP ( G , H ) \operatorname{PCSP}(Q,B) \leq_{\mathrm{L}} \operatorname{PCSP}(G,H) PCSP ( Q , B ) ≤ L PCSP ( G , H ) . All gadgets and iteration counts depend only on the fixed templates. Their instance maps are computable in LOGSPACE; their decoders group gadget coordinates, form the outgoing colour sets, or restrict to original vertices. Composing these with the decoder in Theorem 2.2 proves the stated LOGSPACE guarantee without consistency pruning.
Unate Boolean polymorphisms
In this section we prove a dichotomy for Boolean promise templates whose polymorphisms are unate. A Boolean operation is increasing (or monotone) if changing any one input from zero to one never decreases the output. It is unate if each coordinate separately is either increasing or decreasing, with its direction independent of the other inputs. A linear threshold operation has the form 1 [ ∑ i w i x i ≥ c ] \mathbf{1}\left[\sum_i w_i x_i \ge c\right] 1 [ ∑ i w i x i ≥ c ] for real weights w i w_i w i and c c c . Its coordinates have the directions of their weights. A symmetric threshold is an increasing Boolean operation whose value depends only on the number of ones. An operation is block-symmetric on specified blocks if their union partitions its coordinates and it is invariant under all permutations within each block.
Theorem 2.6 (Unate Boolean dichotomy). Let M = Pol ( A , B ) \mathcal{M} = \operatorname{Pol}(\mathbf{A},\mathbf{B}) M = Pol ( A , B ) for a finite Boolean promise template, and suppose all its operations are unate. If for every t ≥ 1 t \ge1 t ≥ 1 there is an operation in M \mathcal{M} M block-symmetric on two blocks of sizes t , t + 1 t,t+1 t , t + 1 , then the decision problem PCSP ( A , B ) \operatorname{PCSP}(\mathbf{A},\mathbf{B}) PCSP ( A , B ) is in P P P . Otherwise Ch i n j ( M , P ) \operatorname{Ch}^{\mathrm{inj}}(\mathcal{M},\mathcal{P}) Ch inj ( M , P ) and the decision problem is N P NP N P -hard.
The decision dichotomy includes two earlier results. For ordered Boolean templates, the relation ≤ \le ≤ on both sides makes every polymorphism increasing. Brakensiek, Guruswami and Sandeep [17 Theorem 1.1] proved their dichotomy assuming the Rich 2-to-1 Conjecture. For templates with only linear threshold polymorphisms, Banakh and Kozik [10 Theorem 1.2 and Appendix B] proved an unconditional dichotomy using the PCP-based hardness of smooth Label Cover. Here both hardness conclusions follow from the tight-cycle construction and injective chain homomorphisms. For general unate polymorphisms, Banakh and Michno [11 Theorems 5.11, 5.14 and 5.21] gave a sufficient condition for tractability and two sufficient conditions for hardness under Rich 2-to-1. Their Question 1 asks whether their analytic criteria cover every unate template. Our criterion is block symmetry.
The difficulty is that identifying coordinates of opposite directions can change the direction of their common input. For a Boolean operation f f f , call a set S S S of coordinates increasing if changing its entries together from zero to one never decreases f f f , for any fixed values outside S S S . Define a decreasing set by the reverse inequality. A direction certificate for f f f consists of disjoint coordinate sets A A A , D D D and a direction, increasing or decreasing, such that every S S S containing A A A and disjoint from D D D has that direction. Its size is ∣ A ∪ D ∣ \lvert A \cup D\rvert ∣ A ∪ D ∣ . A minor map injective on A ∪ D A \cup D A ∪ D transports the certificate to its image pair, since taking preimages preserves both containment and disjointness.
Proposition 2.7. For each t ≥ 1 t \ge1 t ≥ 1 there is b b b such that, if a minion of unate Boolean operations contains no operation block-symmetric on blocks of sizes t , t + 1 t,t+1 t , t + 1 , every operation has a direction certificate of size at most b b b .
We prove Proposition 2.7 in Appendix G. Failure of bounded certificates gives a minor in which each input, after orienting the cube, can be replaced by many disjoint pairs of other inputs. A random identification then gives the missing block symmetry. For the increasing operations, the following consequence of rotation on a tight cycle will supply the hardness source.
Lemma 2.8. For each m ≥ 2 m \ge2 m ≥ 2 there are a prime p p p and d ≥ 1 d \ge1 d ≥ 1 such that, for n = p d + 1 n=pd+1 n = p d + 1 , every increasing g : { 0 , 1 } Z n → { 0 , 1 } g:\{0,1\}^{\mathbb{Z}_n} \to\{0,1\} g : { 0 , 1 } Z n → { 0 , 1 } having no symmetric threshold minor of arity m m m or m + 1 m+1 m + 1 satisfies
g ( S ) > g ( ( S + d ) ∪ ( S + d + 1 ) ) for some S ⊆ Z n . g(S) > g\bigl((S+d) \cup(S+d+1)\bigr) \qquad\text{for some } S \subseteq\mathbb{Z}_n. g ( S ) > g ( ( S + d ) ∪ ( S + d + 1 ) ) for some S ⊆ Z n .
Here sets denote their indicator vectors and translations are modulo n n n .
Proof of Theorem 2.6 . The tractable case is the combined basic linear programming and affine integer programming algorithm of Brakensiek, Guruswami, Wrochna and Živný [18 Theorems 4.1 and 5.1] . The two block sizes are their exact criterion for this decision algorithm.
Suppose the block sizes t , t + 1 t,t+1 t , t + 1 are missing. No operation can have a constant diagonal x ↦ f ( x , … , x ) x \mapsto f(x,\ldots,x) x ↦ f ( x , … , x ) , since its constant minors have every block symmetry. Normalize each f f f by composing its output with the inverse of its diagonal. The resulting minion M ′ \mathcal{M}' M ′ consists of unate operations that send the all-zero input to zero and the all-one input to one. Normalization commutes with minors and preserves block symmetry in both directions. By Proposition 2.7 each operation of M ′ \mathcal{M}' M ′ has a bounded certificate. If ( A , D ) (A,D) ( A , D ) is decreasing then ( D , A ) (D,A) ( D , A ) is increasing. Indeed for any decreasing set S S S , f ( S c ) ≥ f ( 1 ) = 1 > f ( 0 ) f(S^{c}) \ge f(1)=1>f(0) f ( S c ) ≥ f ( 1 ) = 1 > f ( 0 ) , and identifying S c S^{c} S c gives a unate minor. This one strict increase fixes its direction in all contexts.
Put m = t ( t + 1 ) m=t(t+1) m = t ( t + 1 ) . A symmetric threshold of arity m m m would give the missing block symmetry by taking t + 1 t+1 t + 1 copies of every first-block input. At arity m + 1 m+1 m + 1 take t t t copies of each first-block input and one of each second-block input. Thus we may use p , n , d p,n,d p , n , d from Lemma 2.8 . Write E E E for the tuples of C Y C L E p [ n ] \mathrm{CYCLE}_p[n] CYCLE p [ n ] and ρ a \rho_a ρ a for the map taking entry a a a , 0 ≤ a < p 0\le a<p 0 ≤ a < p . An increasing F ∈ M ′ ( E ) F\in\mathcal{M}'(E) F ∈ M ′ ( E ) cannot have all F ρ a F^{\rho_a} F ρ a equal. Otherwise the minors F d ρ a F^{d\rho_a} F d ρ a also coincide, say with value g g g as an operation on Z n \mathbb{Z}_n Z n . Along two successive entries of each tuple, multiplication by d d d gives an increment of d d d or d + 1 d+1 d + 1 . Hence for every S ⊆ Z n S\subseteq\mathbb{Z}_n S ⊆ Z n ,
( d ρ 0 ) − 1 ( S ) ⊆ ( d ρ 1 ) − 1 ( ( S + d ) ∪ ( S + d + 1 ) ) . (d\rho_0)^{-1}(S)\subseteq(d\rho_1)^{-1}\bigl((S+d)\cup(S+d+1)\bigr). ( d ρ 0 ) − 1 ( S ) ⊆ ( d ρ 1 ) − 1 ( ( S + d ) ∪ ( S + d + 1 ) ) .
Applying F F F contradicts Lemma 2.8 . The cycle argument with the bounded certificates (Lemma G.2 , Appendix § 13 ) now gives Chinj ( M ′ , P ) \operatorname{Chinj}(\mathcal{M}',\mathcal{P}) Chinj ( M ′ , P ) . Pull back its marks and face lists along normalization to obtain Chinj ( M , P ) \operatorname{Chinj}(\mathcal{M},\mathcal{P}) Chinj ( M , P ) . Any bijection from the vertices to [ n ] [n] [ n ] is a homomorphism C Y C L E p [ n ] → N A E p [ n ] \mathrm{CYCLE}_p[n]\to\mathrm{NAE}_p[n] CYCLE p [ n ] → NAE p [ n ] . Composing projections with it gives a minion homomorphism from P \mathcal{P} P to the polymorphisms of this template. Postcompose the face lists with that map. By Theorem 1.15 the resulting injective chain homomorphism reduces PCSP ( C Y C L E p [ n ] , N A E p [ n ] ) \operatorname{PCSP}(\mathrm{CYCLE}_p[n],\mathrm{NAE}_p[n]) PCSP ( CYCLE p [ n ] , NAE p [ n ]) to PCSP ( A , B ) \operatorname{PCSP}(\mathbf{A},\mathbf{B}) PCSP ( A , B ) . The source is NP-hard by Theorem 2.1 . For each bit c c c failure of its constant polymorphism supplies a nonempty strict relation forbidding the constant c c c tuple on the weak side. Imposing both relations on one variable gives the required fixed NO instance.
For increasing polymorphisms, the criterion can be stated using symmetric thresholds alone, and the tractable case also admits polynomial-time search. If symmetric thresholds have bounded arity, the proof just given uses Lemma 2.8 directly, with the empty certificate for every operation. Indeed the maps f ↦ ( x ↦ f d x ) f\mapsto(x\mapsto f^{dx}) f ↦ ( x ↦ f d x ) give an ordinary minion homomorphism to Pol ( C Y C L E p [ n ] , N A E p [ ∣ M ( Z n ) ∣ ] ) \operatorname{Pol}(\mathrm{CYCLE}_p[n],\mathrm{NAE}_p[|\mathcal{M}(\mathbb{Z}_n)|]) Pol ( CYCLE p [ n ] , NAE p [ ∣ M ( Z n ) ∣ ]) by the same inclusion of preimages. The unary identity supplies the promise map. Thus Theorem 2.1 gives the ordinary chain homomorphism to projections. If symmetric thresholds have unbounded arity, take the relative-interior rational basic LP solution w w w and the affine integer solution a a a on its support used in [18 Section 3] . Sort the variables by their label-one marginals ( w v , a v ) (w_v,a_v) ( w v , a v ) in lexicographic order and try setting each suffix to one. Let L L L clear the denominators of w w w . For a sufficiently large admitted threshold arity N N N , put r = N m o d L r=N\bmod L r = N mod L . The tuple multiplicities ( N − r ) w + r a (N-r)w+ra ( N − r ) w + r a are nonnegative integers summing to N N N at each constraint, and their label-one marginals are nondecreasing in the chosen order. Applying the threshold to these tuples gives one of the tested suffixes and satisfies every weak constraint.
Rainbow colouring
All seven hypergraph hardness statements below follow from chain homomorphisms with finite parameters, and the reductions have LOGSPACE search decoders. They also hold for edges with distinct vertices, by Lemma B.3 .
A rainbow c c c -colouring uses all c c c colours on every edge. Guruswami and Sandeep asked whether a proper two-colouring is hard to find for a rainbow six-colourable, seven-uniform hypergraph [21 Section 5] . Write U r , c U_{r,c} U r , c for the rainbow relation.
Corollary 2.9. Let 2 ≤ c ≤ r 2\le c\le r 2 ≤ c ≤ r and q ≥ 2 q\ge2 q ≥ 2 . Then PCSP ( U r , c , N A E r [ q ] ) \operatorname{PCSP}(U_{r,c},\mathrm{NAE}_r[q]) PCSP ( U r , c , NAE r [ q ]) is in P when c = r c=r c = r and is NP-hard when c < r c<r c < r .
Any nonconstant map from [ c ] [c] [ c ] to [ q ] [q] [ q ] witnesses validity. When c = r c=r c = r , each colour occurs once, so Lemma B.2 applies. When c < r c<r c < r , take a word of length r − 1 r-1 r − 1 containing all c c c colours and repeat it periodically. Every r r r -window still contains all c c c colours, and Lemma B.1 gives hardness. For ( r , c , q ) = ( 7 , 6 , 2 ) (r,c,q)=(7,6,2) ( r , c , q ) = ( 7 , 6 , 2 ) the word 123456 gives the source map and height 12. Guruswami and Sandeep proved the two-colour-output cases through uniformity six and exhibited polymorphisms with no fixing set of bounded size at ( 7 , 6 , 2 ) (7,6,2) ( 7 , 6 , 2 ) [21 Theorem 2 and Proposition 17] . For even r ≥ 4 r\ge4 r ≥ 4 , Guruswami and Lee proved hardness for rainbow ( r / 2 ) (r/2) ( r /2 ) -colourable inputs and every fixed output palette [32 Corollary 1.2] . Brakensiek and Guruswami obtained hardness for the ( r − 1 ) (r-1) ( r − 1 ) -rainbow promise for every r ≥ 3 r\ge3 r ≥ 3 and fixed output palette under their induced V Label Cover conjecture [28 Theorem 1.2 and footnote 6] .
Strong colouring with a spare colour
A strong c c c -colouring assigns distinct colours to the r r r vertices of each edge. Write I r , c I_{r,c} I r , c for this relation.
Corollary 2.10. For c ≥ r ≥ 2 c\ge r\ge2 c ≥ r ≥ 2 , the template ( I r , c , NAE r [ q ] ) (I_{r,c},\operatorname{NAE}_{r}[q]) ( I r , c , NAE r [ q ]) is valid exactly when c ≤ q ( r − 1 ) c\le q(r-1) c ≤ q ( r − 1 ) . Among valid parameters, proper q q q -colouring is in P at c = r c=r c = r and is NP-hard at c > r c>r c > r .
Each fibre of a colour map must have size at most r − 1 r-1 r − 1 , and this is sufficient. At c = r c=r c = r , each colour occurs once, so use Lemma B.2 . At c > r c>r c > r , periodically repeat r + 1 r+1 r + 1 distinct colours; every r r r -window is injective. Apply Lemma B.1 . In particular the word 123456 proves the five-uniform, strong-six-colour case, with height 8 for Boolean output. The one-spare-colour cases were posed by Brakensiek and Guruswami [22 Conjecture 1.2] . Their Theorem 1.3 gives a bound of ⌈ 3 r / 2 ⌉ \lceil3r/2\rceil ⌈ 3 r /2 ⌉ strong colours for Boolean output when r ≥ 4 r\ge4 r ≥ 4 and proves the r + 1 r+1 r + 1 bound for r = 3 , 4 r=3,4 r = 3 , 4 . At r = 2 r=2 r = 2 , c = 3 c=3 c = 3 , q = 2 q=2 q = 2 the promise fails the fibre test.
At least a prescribed number of colours
Austrin, Bhangale and Potukuchi studied colourings with at least t t t distinct colours on every edge and proved hardness in quantitative ranges of the parameters [25 Theorem 1.7 and Corollary 1.8] . Write D r ; c , t D_{r;c,t} D r ; c , t for this strong relation.
Corollary 2.11. For 2 ≤ t ≤ min ( c , r ) 2\le t\le\min(c,r) 2 ≤ t ≤ min ( c , r ) , the template ( D r ; c , t , NAE r [ q ] ) (D_{r;c,t},\operatorname{NAE}_{r}[q]) ( D r ; c , t , NAE r [ q ]) is valid exactly when c ≤ q ( t − 1 ) c\le q(t-1) c ≤ q ( t − 1 ) . Among valid parameters, c = t = r c=t=r c = t = r gives a polynomial algorithm and every other case is NP-hard.
A fibre of size t t t can contain the colours of an entire strong edge; fibres of size at most t − 1 t-1 t − 1 therefore characterize validity. If t < r t<r t < r , periodically repeat a word of length r − 1 r-1 r − 1 containing t t t colours. If t = r < c t=r<c t = r < c , periodically repeat r + 1 r+1 r + 1 distinct colours. In either case all r r r -windows are legal, so Lemma B.1 applies. At c = t = r c=t=r c = t = r , each colour occurs once and Lemma B.2 applies. For example, D 5 ; 4 , 3 D_{5;4,3} D 5 ; 4 , 3 already contains the known hard rainbow promise U 5 , 4 U_{5,4} U 5 , 4 for Boolean output [21 Theorem 2] .
Sparse cyclic Boolean relations
Let r = 2 m + 1 ≥ 5 r=2m+1\ge5 r = 2 m + 1 ≥ 5 . The strong relation C r C_r C r consists of the rotations of 1 m 0 m + 1 1^m0^{m+1} 1 m 0 m + 1 and its bitwise complement. Its 2 r 2r 2 r words specify one cyclic interval of ones, of length m m m or m + 1 m+1 m + 1 .
Corollary 2.12. For every odd r ≥ 5 r\ge5 r ≥ 5 and q ≥ 2 q\ge2 q ≥ 2 , PCSP ( C r , NAE r [ q ] ) \operatorname{PCSP}(C_r,\operatorname{NAE}_{r}[q]) PCSP ( C r , NAE r [ q ]) is NP-hard.
Repeat 0 m 1 m 0^m1^m 0 m 1 m periodically. Each length-r r r window duplicates its first letter at the cyclic join and is therefore in C r C_r C r . Its period r − 1 r-1 r − 1 is coprime to r r r , so Lemma B.1 applies. For the ten-tuple relation R 5 = C 5 R_5 = C_5 R 5 = C 5 , at q = 2 q = 2 q = 2 the height is 8. Austrin, Håstad and Martinsson discuss both the folded SAT problem and this ordinary ten-tuple PCSP in [29 Section 8.1] . Banakh, Barsukov and Nakajima derive hardness for the latter under Rich 2-to-1 [19 discussion following Corollary 1.14] . The corollary concerns the ordinary PCSP.
The same argument allows more general restrictions on runs. Let the allowed Boolean words have Hamming weight in [ ℓ , u ] ⊆ [ 1 , r − 1 ] [\ell,u] \subseteq[1,r-1] [ ℓ , u ] ⊆ [ 1 , r − 1 ] , and let the number of cyclic runs of ones belong to J ⊆ { 1 , … , ⌊ r / 2 ⌋ } J \subseteq\{1,\ldots,\lfloor r/2\rfloor\} J ⊆ { 1 , … , ⌊ r /2 ⌋} . Assume the relation is nonempty and put t = min J t = \min J t = min J . The feasible integer weights are exactly [ ℓ , u ] ∩ [ t , r − t ] [\ell,u] \cap[t,r-t] [ ℓ , u ] ∩ [ t , r − t ] , since j j j runs require at least j j j zeros and j j j ones, and these bounds suffice. If only one weight occurs, use Lemma B.2. Otherwise choose consecutive feasible weights k , k + 1 k,k+1 k , k + 1 . Arrange k k k ones and r − 1 − k r-1-k r − 1 − k zeros in a circular word with t t t runs of each, and repeat it. Every r r r -window duplicates one letter, preserves the run count, and has weight k k k or k + 1 k+1 k + 1 . Lemma B.1 proves hardness.
Linearly ordered triples
Let L O c \mathrm{LO}_c LO c consist of the triples on { 0 , … , c − 1 } \{0,\ldots,c-1\} { 0 , … , c − 1 } whose maximum occurs once. One may ask for either a proper colouring or a colouring with a unique maximum on every edge.
Corollary 2.13. For 3 ≤ c ≤ q 3 \le c \le q 3 ≤ c ≤ q , both PCSP ( L O c , N A E 3 [ q ] ) \operatorname{PCSP}(\mathrm{LO}_c,\mathrm{NAE}_3[q]) PCSP ( LO c , NAE 3 [ q ]) and PCSP ( L O c , L O q ) \operatorname{PCSP}(\mathrm{LO}_c,\mathrm{LO}_q) PCSP ( LO c , LO q ) are N P NP N P -hard, with height 2 q 2q 2 q .
Repeat the word 0012. Each three-letter window omits one position of this word: omitting 2 leaves a unique 1, and every other omission leaves a unique 2. Thus the period-four word gives the source map for both targets, so Theorem 2.1 applies. The order-preserving injection into [ q ] [q] [ q ] , with its usual order, witnesses validity. For proper output, c = 2 c = 2 c = 2 is polynomial by Lemma B.2, since each triple contains exactly one occurrence of the higher label. For c ≥ 2 c \ge2 c ≥ 2 , the triples ( a , a , b ) (a,a,b) ( a , a , b ) , a < b a < b a < b , force a colour map to be injective, so validity requires q ≥ c q \ge c q ≥ c .
Filakovský et al. proved the case L O 3 → L O 4 \mathrm{LO}_3 \to\mathrm{LO}_4 LO 3 → LO 4 [30 Theorem 1.1] . Krokhin and Vagnozzi proved hardness for L O 2 → L O 3 \mathrm{LO}_2 \to\mathrm{LO}_3 LO 2 → LO 3 [20 Theorem 1] . Iterating the gadget in their proof of Corollary 29 gives hardness for L O c → L O c + 1 \mathrm{LO}_c \to\mathrm{LO}_{c+1} LO c → LO c + 1 for every c ≥ 2 c \ge2 c ≥ 2 [19 Theorem 1.13] . For c ≥ 4 c \ge4 c ≥ 4 and ordered output there is also a reduction from PCSP ( K c − 1 , K q − 1 ) \operatorname{PCSP}(K_{c-1},K_{q-1}) PCSP ( K c − 1 , K q − 1 ) [30 p. 34:3, footnote 2] :
∃ z R ( z , z , x ) ∧ R ( z , z , y ) ∧ R ( x , y , z ) \exists z\ R(z,z,x) \land R(z,z,y) \land R(x,y,z) ∃ z R ( z , z , x ) ∧ R ( z , z , y ) ∧ R ( x , y , z )
defines the complete graph on the nonminimum colours of L O c \mathrm{LO}_c LO c , with the minimum colour isolated. Since K 3 → K c − 1 K_3 \to K_{c-1} K 3 → K c − 1 , the graph hardness of Fei, Minzer and Wang [2, Corollary 1.7] already gives the ordered-output decision result for c ≥ 4 c \ge4 c ≥ 4 . At c = 3 c = 3 c = 3 the graph is K 2 K_2 K 2 , and for a proper-colouring target the same formula permits x = y x = y x = y . The period-four source applies in both situations. Banakh, Barsukov and Nakajima obtained the ordered-output hardness under Rich 2-to-1 [19 Corollary 1.14] . For every uniformity r ≥ 4 r \ge4 r ≥ 4 and q ≥ 3 q \ge3 q ≥ 3 , Nakajima et al. proved hardness of finding a conflict-free q q q -colouring of a linearly ordered three-colourable hypergraph [31 Theorem 17] . This also implies hardness for ordered output in those uniformities whenever 3 ≤ c ≤ q 3 \le c \le q 3 ≤ c ≤ q .
Capacity-constrained colourings
Write R k : r ( c ) R_{k:r}^{(c)} R k : r ( c ) for the relation in which a colour occurs at most b = k − 1 b = k - 1 b = k − 1 times. Assume 1 ≤ b < r 1 \le b < r 1 ≤ b < r . The relation is nonempty exactly when r ≤ c b r \le cb r ≤ c b .
Corollary 2.14. In the nonempty case, ( R k : r ( c ) , N A E r [ q ] ) (R_{k:r}^{(c)},\mathrm{NAE}_r[q]) ( R k : r ( c ) , NAE r [ q ]) is valid exactly when c ≤ q ⌊ ( r − 1 ) / b ⌋ c \le q\lfloor(r-1)/b\rfloor c ≤ q ⌊( r − 1 ) / b ⌋ . Among valid parameters, r = c b r = cb r = c b gives a polynomial algorithm and r < c b r < cb r < c b gives N P NP N P -hardness.
A fibre containing j j j colours can fill an edge exactly when j b ≥ r jb \ge r j b ≥ r ; this proves the validity criterion. At r = c b r = cb r = c b , every colour occurs exactly b b b times, so Lemma B.2 applies. If r < c b r < cb r < c b , choose r + 1 r + 1 r + 1 letters with each colour occurring at most b b b times, and repeat this word. Every r r r -window deletes one position and therefore respects the capacities. Apply Lemma B.1 . The case k = 2 k = 2 k = 2 is strong colouring. Banakh, Barsukov and Nakajima use this colouring template in their dichotomy for vertex-coloured monochromatic cliques. Their hardness direction assumes Rich 2-to-1 [19 Lemma 1.6 and Theorem 1.7] .
Discrepancy one
For r = 2 m + 1 ≥ 3 r = 2m + 1 \ge3 r = 2 m + 1 ≥ 3 , let W r W_r W r have vertex set { 0 , 1 } \{0, 1\} { 0 , 1 } and the single r r r -ary relation { x ∈ { 0 , 1 } r : ∑ i = 1 r x i ∈ { m , m + 1 } } \{x \in\{0,1\}^r : \sum_{i=1}^{r} x_i \in\{m,m + 1\}\} { x ∈ { 0 , 1 } r : ∑ i = 1 r x i ∈ { m , m + 1 }} . Thus the two colour counts differ by one.
Corollary 2.15. For every odd r ≥ 3 r \ge3 r ≥ 3 and q ≥ 2 q \ge2 q ≥ 2 , PCSP ( W r , NAE r [ q ] ) \operatorname{PCSP}(W_r,\operatorname{NAE}_r[q]) PCSP ( W r , NAE r [ q ]) is NP-hard .
The periodic word 0 m 1 m 0^m1^m 0 m 1 m again has only legal length-r r r windows, now with arbitrary orders also allowed in the relation. Apply Lemma B.1 . A single prescribed weight 0 < k < r 0 < k < r 0 < k < r , including exact balance at even arity, instead gives the polynomial algorithm of Lemma B.2 . For Boolean output, the hardness was proved by Austrin, Guruswami and Håstad [33 Theorem 1.2] . For r = 3 r = 3 r = 3 , hardness for every fixed output palette is the theorem of Dinur, Regev and Smyth [34 ] . This case also admits a Barto–Kozik certificate [12 proof of Theorem 1][27, Example 5.6] . For triples, Fei, Minzer and Wang proved the stronger statement that for every fixed 0 < δ ≤ 1 / 2 0 < \delta\le1/2 0 < δ ≤ 1/2 it is NP-hard to distinguish a two-colourable hypergraph from one with no independent set of relative size at least δ \delta δ [2 Corollary 1.10] . Guruswami and Lee proved hardness for even-uniform discrepancy two and stated the odd-uniform discrepancy-one extension under a d d d -to-1 assumption, omitting its proof [32 Corollary 1.3 and footnote 1] . The perfect-completeness 4-to-1 theorem supplies this assumption with d = 4 d = 4 d = 4 [2 Theorem 1.6] . Bhattiprolu, Guruswami and Lee obtained a conditional hardness result for near-discrepancy-one promises at large odd arities and an unconditional one for discrepancy two at even arities, both with Boolean output [26 Theorems 2 and 3] .
Two proofs of Theorem 2.1
In this section we prove the tight-cycle theorem for every prime p p p . The continuous proof represents polymorphisms by equivariant Lipschitz maps from powers of the circle to a fixed sphere. The combinatorial proof chooses terminal coordinates on a finite clock and proves their intersection by cyclic covering.
Continuous proof
In this section we factor the chain homomorphism of Theorem 2.1 through Lipschitz maps. We give the factorization first and prove the coordinate-selection theorem at the end of the section.
The graph case. Give the circle T = R / Z \mathbb{T} = \mathbb{R}/\mathbb{Z} T = R / Z its shortest-arc distance, each power T I \mathbb{T}^{I} T I the maximum of the coordinate distances, and the unit sphere S q ⊆ R q + 1 S^{q} \subseteq\mathbb{R}^{q+1} S q ⊆ R q + 1 Euclidean distance. Fix a Lipschitz constant C C C for all arities. Consider all C C C -Lipschitz maps F : T I → S q F : \mathbb{T}^{I} \to S^{q} F : T I → S q satisfying the antipodal identity
F ( x + 1 2 1 ) = − F ( x ) . F(x + \tfrac{1}{2}\mathbf{1}) = -F(x). F ( x + 2 1 1 ) = − F ( x ) .
Coordinate substitution makes these maps a minion, and this minion admits a chain homomorphism to projections.
To use this for ( C L , K k ) (C_L, K_k) ( C L , K k ) , we would like to assign such a map to each polymorphism and preserve minors exactly. For k ≥ 5 k \geq5 k ≥ 5 no such minion homomorphism exists (Proposition A.8 ). Keep the same maps and allow G G G to be a π \pi π -minor of F F F whenever their values make an angle of at most 90°, that is,
⟨ F ( x ∘ π ) , G ( x ) ⟩ ≥ 0 for every x ∈ T J , π : I → J . \langle F(x \circ\pi), G(x) \rangle\geq0 \qquad\text{for every } x \in\mathbb{T}^{J}, \quad\pi: I \to J. ⟨ F ( x ∘ π ) , G ( x )⟩ ≥ 0 for every x ∈ T J , π : I → J .
For the first arrow, place vertex 2 j m o d L 2j \bmod L 2 j mod L at j / L j/L j / L on the circle, as in Figure 1 for C 5 C_5 C 5 . At x x x take the normalized difference of the color distributions near x x x and near its antipode. Their supports are disjoint, and taking a minor can only remove available colors. Thus the difference changes by at most a right angle, giving a homomorphism to the relaxed minion. For the second arrow, put on each face list those terminal coordinates whose individual half-turn changes a sphere observation appreciably on average. If the lists had empty intersection, we could assign every terminal coordinate to a face missing it. Borsuk–Ulam on the boundary of a cube forces one of these blocks to move an observation. A Lipschitz estimate then puts a coordinate of that block on its own face list.
Figure 1 (PDF p. 29). The highlighted edges in both drawings of C 5 C_5 C 5 join 0 to its neighbors 1 and 4. In clock order, the dashed diameter ends at the midpoint of the short arc between those neighbors.
What changes for odd primes. Replace the half-turn by simultaneous rotation through 1 / p 1/p 1/ p of a turn. A sphere value now has one row for each of the p p p phases and one column for each color. Rotation cycles the rows. Under a minor, every phase minimizing a given column must still minimize that column. The vectors along a chain share a minimizing phase in each column, which keeps their convex hull away from zero. The half-turn test becomes a 1 / p 1/p 1/ p -turn test, and the interval of signed depths becomes a star with p p p arms.
Lipschitz maps and their minors
In this section we state the geometric condition that gives a chain homomorphism for both relaxations. Throughout, q q q is the dimension of the target sphere and C C C is independent of arity.
Definition A.1 (Lipschitz maps). A map F : X → Z F:X \to Z F : X → Z is C C C -Lipschitz if d Z ( F ( x ) , F ( y ) ) ≤ C d X ( x , y ) d_Z(F(x), F(y)) \le C d_X(x,y) d Z ( F ( x ) , F ( y )) ≤ C d X ( x , y ) for all x , y ∈ X x,y \in X x , y ∈ X . Fix a prime p p p and an orthogonal transformation T T T with T p = id T^p = \operatorname{id} T p = id such that T a T^a T a has no fixed point on S q S^q S q for 1 ≤ a < p 1 \le a < p 1 ≤ a < p . For finite nonempty I I I , let L i p s h i t z [ p , q ∣ C ] ( I ) \mathit{Lipshitz}[p,q \mid C](I) Lipshitz [ p , q ∣ C ] ( I ) consist of the C C C -Lipschitz maps F : T I → S q F:T^I \to S^q F : T I → S q satisfying
F ( x + 1 p 1 ) = T F ( x ) . F\left(x+\frac{1}{p}\mathbf{1}\right)=TF(x). F ( x + p 1 1 ) = T F ( x ) .
We use the metrics above and take C C C for which the family is nonempty.
Proposition A.2 (Ordinary minors). The maps L i p s h i t z [ p , q ∣ C ] \mathit{Lipshitz}[p,q \mid C] Lipshitz [ p , q ∣ C ] form a minion under F π ( x ) = F ( x ∘ π ) F^\pi(x)=F(x\circ\pi) F π ( x ) = F ( x ∘ π ) .
Proof. Coordinate substitution is 1-Lipschitz in the maximum metric, commutes with simultaneous rotation, and respects identity and composition.
Corollary A.3 (Ordinary chains). If h > q h>q h > q , then L i p s h i t z [ p , q ∣ C ] \mathit{Lipshitz}[p,q \mid C] Lipshitz [ p , q ∣ C ] admits an ( h , D ) (h,D) ( h , D ) -chain homomorphism to projections for some finite D D D .
Proof. Evaluating an ordinary chain on the pullbacks of a common terminal input gives a single unit vector. Apply Theorem A.6 below with distance one from zero.
Definition A.4 (Relaxed minion). A relaxed minion has a set of operations for each finite nonempty coordinate set I I I and, for each π : I → J \pi:I\to J π : I → J , a relation f [ π ] g f\mathrel{[\pi]}g f [ π ] g between I I I -ary and J J J -ary operations. We require f [ id ] f f\mathrel{[\operatorname{id}]}f f [ id ] f . A homomorphism preserves arities and these relations. In an ordinary minion, f [ π ] g f\mathrel{[\pi]}g f [ π ] g means g = f π g=f^\pi g = f π .
A relaxed chain requires f i [ π i j ] f j f_i\mathrel{[\pi_{ij}]}f_j f i [ π ij ] f j for every i < j i<j i < j , where π i j \pi_{ij} π ij is the composite coordinate map. Thus every subchain is again a relaxed chain. A chain homomorphism to projections assigns bounded lists to chains of h h h rows, with intersecting transported face lists on every relaxed chain of h + 1 h+1 h + 1 rows.
Definition A.5 (Relaxed minors of Lipschitz maps). Write L i p s h i t z r e l [ p , q ∣ C ] \mathit{Lipshitz}^{\mathrm{rel}}[p,q \mid C] Lipshitz rel [ p , q ∣ C ] for the same sphere maps with the following minor relations. For p = 2 p=2 p = 2 take T = − id T=-\operatorname{id} T = − id and put F [ π ] G F\mathrel{[\pi]}G F [ π ] G if ⟨ F ( x ∘ π ) , G ( x ) ⟩ ≥ 0 \langle F(x\circ\pi),G(x)\rangle\ge0 ⟨ F ( x ∘ π ) , G ( x )⟩ ≥ 0 for every x x x .
For odd p p p and k ≥ 2 k\ge2 k ≥ 2 colors, take the unit sphere of the real p p p -by-k k k matrices whose row and column sums are zero. Its dimension is q = ( p − 1 ) ( k − 1 ) − 1 q=(p-1)(k-1)-1 q = ( p − 1 ) ( k − 1 ) − 1 . Cyclic row shift acts freely, since a matrix fixed by a nontrivial shift has equal rows and hence is zero. Put F [ π ] G F\mathrel{[\pi]}G F [ π ] G if for every x x x and every color c c c ,
arg min a ∈ Z p F ( x ∘ π ) a , c ⊆ arg min a ∈ Z p G ( x ) a , c . \underset{a\in\mathbb{Z}_p}{\arg\min}\,F(x\circ\pi)_{a,c}\subseteq\underset{a\in\mathbb{Z}_p}{\arg\min}\,G(x)_{a,c}. a ∈ Z p arg min F ( x ∘ π ) a , c ⊆ a ∈ Z p arg min G ( x ) a , c .
Theorem A.6 (Relaxed chains). If h > q h > q h > q , then L i p s h i t z r e l [ p , q ∣ C ] \mathit{Lipshitz}^{\mathrm{rel}}[p,q \mid C] Lipshitz rel [ p , q ∣ C ] admits an ( h , D ) (h,D) ( h , D ) -chain homomorphism to projections for some finite D D D . More generally, the conclusion holds for any minor relations on L i p s h i t z [ p , q ∣ C ] \mathit{Lipshitz}[p,q \mid C] Lipshitz [ p , q ∣ C ] satisfying the following condition. There is a ρ > 0 \rho> 0 ρ > 0 such that for every relaxed chain of at most h + 1 h+1 h + 1 rows, with last row r r r , and every x ∈ T l r x \in\mathbb{T}^{l_r} x ∈ T l r ,
dist ( 0 , conv { F j ( x ∘ π j r ) : j in the chain } ) ≥ ρ . (8) \operatorname{dist}\left(0,\operatorname{conv}\{F_j(x \circ\pi_{jr}):j\text{ in the chain}\}\right) \ge\rho. \tag*{(8)} dist ( 0 , conv { F j ( x ∘ π j r ) : j in the chain } ) ≥ ρ . (8) Here D D D depends only on p , q , C , h , ρ p,q,C,h,\rho p , q , C , h , ρ . The list can be chosen by measuring the mean change when one terminal coordinate turns by 1 / p 1/p 1/ p .
The bound h > q h > q h > q suffices for hardness.2
For the stated relaxed minors, the margin follows directly. For p = 2 p=2 p = 2 the transported unit vectors have pairwise nonnegative inner products. Any convex combination with weights λ j \lambda_j λ j has squared norm at least ∑ j λ j 2 ≥ 1 / ( h + 1 ) \sum_j \lambda_j^2 \ge1/(h+1) ∑ j λ j 2 ≥ 1/ ( h + 1 ) .
For odd p p p , fix a terminal input and choose a minimizing phase a c a_c a c in each column of the first matrix. It minimizes that column in every transported matrix U U U . The linear functional U ↦ − ∑ c U a c , c U \mapsto-\sum_c U_{a_c,c} U ↦ − ∑ c U a c , c therefore agrees on these matrices with − ∑ c min a U a , c -\sum_c \min_a U_{a,c} − ∑ c min a U a , c . The latter function is strictly positive on the unit sphere: every column sums to zero and some column is nonzero. By compactness it has a positive minimum. The linear functional has norm at most k \sqrt{k} k , so the same positive distance bound holds for every chain, after dividing this minimum by k \sqrt{k} k .
From the tight cycle to the sphere
In this section we construct the first homomorphism by placing the tight-cycle vertices on the circle. The colors attainable near each input determine its sphere value and control how it changes under a minor.
Proposition A.7. Let L > 1 L > 1 L > 1 satisfy L ≡ 1 ( m o d p ) L \equiv1 \pmod p L ≡ 1 ( mod p ) and suppose CYCLE p [ L ] → NAE p [ k ] \operatorname{CYCLE}_p[L] \to\operatorname{NAE}_p[k] CYCLE p [ L ] → NAE p [ k ] . With q = ( p − 1 ) ( k − 1 ) − 1 q=(p-1)(k-1)-1 q = ( p − 1 ) ( k − 1 ) − 1 and some C = C ( p , k , L ) C=C(p,k,L) C = C ( p , k , L ) , there is a homomorphism of relaxed minions
Pol ( CYCLE p [ L ] , NAE p [ k ] ) ⟶ L i p s h i t z r e l [ p , q ∣ C ] . \operatorname{Pol}(\operatorname{CYCLE}_p[L],\operatorname{NAE}_p[k]) \longrightarrow\mathit{Lipshitz}^{\mathrm{rel}}[p,q \mid C]. Pol ( CYCLE p [ L ] , NAE p [ k ]) ⟶ Lipshitz rel [ p , q ∣ C ] .
Proof. Place vertex p j m o d L pj\bmod L p j mod L at the point j / L j/L j / L of T \mathbb{T} T . Measure distances temporarily in units of the spacing 1 / L 1/L 1/ L . Every point is within 1 / 2 1/2 1/2 of a vertex. Choose a radius r = ( 1 + 1 / p ) / 2 r=(1+1/p)/2 r = ( 1 + 1/ p ) /2 , and write B ( t ) B(t) B ( t ) for the cycle vertices at distance strictly less than r r r from t t t in these units.
Any choice of one vertex from each B ( t − a / p ) B(t-a/p) B ( t − a / p ) , in phase order a = 0 , … , p − 1 a=0,\ldots,p-1 a = 0 , … , p − 1 , forms a tight-cycle tuple. Indeed, write L = p ℓ + 1 L=p\ell+1 L = p ℓ + 1 . The ideal backward step is L / p = ℓ + 1 / p L/p=\ell+1/p L / p = ℓ + 1/ p spacings. The actual step is an integer differing from it by strictly less than 2 r = 1 + 1 / p 2r=1+1/p 2 r = 1 + 1/ p , so it is ℓ \ell ℓ or ℓ + 1 \ell+1 ℓ + 1 . Around one turn the steps sum to L L L , including the return step, so exactly one is longer. The labels thus increase by 1 1 1 except for a single increment 1 − p 1-p 1 − p .
For a polymorphism f f f , its color classes f − 1 ( c ) f^{-1}(c) f − 1 ( c ) are now finite subsets of T l \mathbb{T}^l T l . Give color c c c the weight max { 0 , r − dist ∞ ( x , f − 1 ( c ) ) } \max\{0,r-\operatorname{dist}_{\infty}(x,f^{-1}(c))\} max { 0 , r − dist ∞ ( x , f − 1 ( c ))} , using the same spacing units and weight zero for an empty class. A tuple of nearest vertices gives some color weight at least r − 1 / 2 r-1/2 r − 1/2 . Each weight is L L L -Lipschitz in the unit-circle metric, so normalizing them to sum to one gives a probability vector P f ( x ) P_f(x) P f ( x ) with an arity-independent Lipschitz bound. Its support is exactly the palette f ( ∏ i B ( x i ) ) f(\prod_i B(x_i)) f ( ∏ i B ( x i )) .
Let P P P have rows P f ( x − a / p ) P_f(x-a/p) P f ( x − a / p ) , a ∈ Z p a\in\mathbb{Z}_p a ∈ Z p . Every column has a zero. A color present at every phase would have witnesses forming a tight-cycle tuple in each coordinate, with constant output. Subtract2 : Using the boundary of a product of h + 1 h+1 h + 1 disks gives the sharper bound 2 h + 1 > q 2h+1>q 2 h + 1 > q . Keeping the same 1 / p 1/p 1/ p -turn test then requires an additional degree argument. the mean row from each row and normalize to unit norm. This gives Φ ( f ) ( x ) \Phi(f)(x) Φ ( f ) ( x ) on the sphere of matrices with zero row and column sums. The centered norm is bounded away from zero: on the compact set of such probability tables it could vanish only if all rows were equal, which is incompatible with a zero in each column. Thus Φ ( f ) \Phi(f) Φ ( f ) is Lipschitz with a bound depending only on p p p , k k k , L L L . Translation by 1 / p 1/p 1/ p shifts row a a a to row a + 1 a+1 a + 1 . For p = 2 p=2 p = 2 the rows are negatives of one another, so this shift is the antipodal map.
For a minor f π f^\pi f π , every witness of a color at x x x pulls back to a witness of the same color at x ∘ π x\circ\pi x ∘ π . Thus every zero in the table for f f f persists in the table for f π f^\pi f π . For odd p p p , the zero entries in each column are exactly its minimizing phases, and centering and normalization preserve those minimizers. For p = 2 p=2 p = 2 the two rows of P P P have disjoint supports. In their difference, a surviving color therefore has the same sign before and after taking the minor. The products of corresponding entries of the two sphere values are nonnegative, so their dot product is nonnegative.
Continuous proof of Theorem 2.1 . Take h = k ( p − 1 ) > q = ( p − 1 ) ( k − 1 ) − 1 h=k(p-1)>q=(p-1)(k-1)-1 h = k ( p − 1 ) > q = ( p − 1 ) ( k − 1 ) − 1 . Proposition A.7 and Theorem A.6 give the two arrows
Pol ( CYCLE p [ L ] , NAE p [ k ] ) → homomorphism L i p s h i t z r e l [ p , q ∣ C ] → chain homomorphism P . \operatorname{Pol}(\operatorname{CYCLE}_p[L],\operatorname{NAE}_p[k]) \xrightarrow{\text{homomorphism}} \mathcal{L}\!ipshitz^{\mathrm{rel}}[p,q\mid C] \xrightarrow{\text{chain homomorphism}} \mathcal{P}. Pol ( CYCLE p [ L ] , NAE p [ k ]) homomorphism L i p s hi t z rel [ p , q ∣ C ] chain homomorphism P .
Assign each source chain the list of its image. Taking a face commutes with the first arrow and leaves the transport maps unchanged, so these lists intersect as required. The constant-tuple constraint is a fixed NO instance for NAE p [ k ] \operatorname{NAE}_p[k] NAE p [ k ] , and Theorem 1.15 gives the stated reduction and search decoder.
The obstruction to preserving minors exactly
In this section we prove the obstruction motivating the relaxed relation. Exact preservation of minors and a common Lipschitz bound would identify the images of the two binary projections.
Proposition A.8. Suppose p = 2 p=2 p = 2 and k ≥ 5 k\ge5 k ≥ 5 , or p p p is an odd prime and k ≥ 3 k\ge3 k ≥ 3 . For the lengths L L L of Theorem 2.1 there is no ordinary minion homomorphism from Pol ( CYCLE p [ L ] , NAE p [ k ] ) \operatorname{Pol}(\operatorname{CYCLE}_p[L],\operatorname{NAE}_p[k]) Pol ( CYCLE p [ L ] , NAE p [ k ]) to equivariant C C C -Lipschitz maps T I → S q \mathbb{T}^{I}\to S^{q} T I → S q with ordinary coordinate substitution, for any fixed C C C , q q q and free cyclic action on the sphere.
Proof. We first join the two binary projections by recoloring one off-diagonal entry at a time in a smaller template. For p = 2 p=2 p = 2 , precomposition with a 3-coloring of C L C_L C L and inclusion of five colors into K k K_k K k let us use Pol ( K 3 , K 5 ) \operatorname{Pol}(K_3,K_5) Pol ( K 3 , K 5 ) . View its binary operations as 3-by-3 tables, numbering the colors from zero. Starting with the row projection, recolor the off-diagonal cells of row zero with color 3 and those of row one with color 4, one cell at a time. Now recolor columns zero, one, and two in order with their column indices. Each change is proper, since the new color is confined to the row or column being filled.
For p ≥ 3 p\ge3 p ≥ 3 , alternating two colors around the cycle gives a map CYCLE p [ L ] → NAE p [ 2 ] \operatorname{CYCLE}_p[L]\to\operatorname{NAE}_p[2] CYCLE p [ L ] → NAE p [ 2 ] : even across the closing edge, three consecutive vertices cannot all have the same color. Including three colors into [ k ] [k] [ k ] now lets us use Pol ( NAE p [ 2 ] , NAE p [ 3 ] ) \operatorname{Pol}(\operatorname{NAE}_p[2],\operatorname{NAE}_p[3]) Pol ( NAE p [ 2 ] , NAE p [ 3 ]) . Keep the values at 00 , 11 00,11 00 , 11 equal to 0 , 1 0,1 0 , 1 and change the pair of values at 01 , 10 01,10 01 , 10 along
( 0 , 1 ) , ( 2 , 1 ) , ( 2 , 0 ) , ( 1 , 0 ) . (0,1),\qquad(2,1),\qquad(2,0),\qquad(1,0). ( 0 , 1 ) , ( 2 , 1 ) , ( 2 , 0 ) , ( 1 , 0 ) .
Each table is a polymorphism. A tuple of Boolean pairs nonconstant in both coordinates contains either 00 , 11 00,11 00 , 11 or 01 , 10 01,10 01 , 10 , and each opposite pair receives distinct colors.
Let a , b a,b a , b be consecutive tables differing at ( u , v ) (u,v) ( u , v ) , where u ≠ v u\ne v u = v . Define H n ( x , y , z 1 , … , z n ) H_n(x,y,z_1,\ldots,z_n) H n ( x , y , z 1 , … , z n ) to use table b b b when an odd number of the switches z j z_j z j equal v v v , and table a a a otherwise. This is a polymorphism in either case. A constant output on a relation tuple would already be constant for one table: away from ( u , v ) (u,v) ( u , v ) they agree, and at every occurrence of ( u , v ) (u,v) ( u , v ) the chosen color would be the same. In particular H 1 ( x , y , x ) = a ( x , y ) H_1(x,y,x)=a(x,y) H 1 ( x , y , x ) = a ( x , y ) and H 1 ( x , y , y ) = b ( x , y ) H_1(x,y,y)=b(x,y) H 1 ( x , y , y ) = b ( x , y ) .
An exact homomorphism as in the statement would, by composition, give one on the smaller template. Denote it by Φ \Phi Φ . Equal switch pairs cancel in H n H_n H n . Fix the first two circle inputs and subdivide an arc from z 0 z_0 z 0 to z m z_m z m into m m m equal steps. By exact minor preservation, evaluating Φ ( H 2 m + 1 ) \Phi(H_{2m+1}) Φ ( H 2 m + 1 ) with the two switch lists
( z 0 , z 1 , z 1 , … , z m , z m ) , ( z 0 , z 0 , … , z m − 1 , z m − 1 , z m ) (z_0,z_1,z_1,\ldots,z_m,z_m), \qquad(z_0,z_0,\ldots,z_{m-1},z_{m-1},z_m) ( z 0 , z 1 , z 1 , … , z m , z m ) , ( z 0 , z 0 , … , z m − 1 , z m − 1 , z m )
gives Φ ( H 1 ) \Phi(H_1) Φ ( H 1 ) at z 0 z_0 z 0 and at z m z_m z m , respectively. The lists are within one arc step in the maximum metric. The common bound C C C and m → ∞ m\to\infty m → ∞ force the two values to agree. Thus the image of H 1 H_1 H 1 ignores its switch, and the two displayed minor identities give Φ ( a ) = Φ ( b ) \Phi(a)=\Phi(b) Φ ( a ) = Φ ( b ) .
Following the recolorings identifies the images of the row and column projections. Both are minors of the unary color inclusion, so its image takes the same value at every two circle points. A constant equivariant sphere map would give a fixed point of the free action.
From relaxed chains to projections
In this section we prove that the face lists intersect whenever h > q h>q h > q . Topology detects a block of coordinates whose turn changes a sphere value. A Lipschitz estimate detects a single coordinate in that block.
Definition A.9 (Score of a block of coordinates). Fix a mesh of depths 0 , 1 / N , … , 1 0,1/N,\ldots,1 0 , 1/ N , … , 1 , with N N N chosen below. On an h h h -row chain E E E , draw a uniform tuple Y Y Y on the torus of its last row. In each earlier row draw independent offsets o i ∈ [ 0 , 1 ] I i \mathbf{o}_i\in[0,1]^{I_i} o i ∈ [ 0 , 1 ] I i with uniform entries, independently of Y Y Y . Fix one mesh depth t i t_i t i for each earlier row. Starting with X max E = Y X_{\max E}=Y X m a x E = Y , set, for consecutive rows i < j i<j i < j of E E E ,
X i = X j ∘ π i j + t i o i ( m o d 1 ) . (9) X_i=X_j\circ\pi_{ij}+t_i\mathbf{o}_i\pmod{1}. \tag*{(9)} X i = X j ∘ π ij + t i o i ( mod 1 ) . (9) One test H H H is one component of F i ( X i ) F_i(X_i) F i ( X i ) in a fixed orthonormal basis of R q + 1 \mathbb{R}^{q+1} R q + 1 , for one row i i i and one choice of depths. For a set B B B of terminal coordinates, let H B H^B H B be the same test with Y Y Y replaced by Y + 1 p 1 B Y+\frac{1}{p}\mathbf{1}_B Y + p 1 1 B , keeping all offsets fixed. Put
I E ( B ) = max H E ∣ H B − H ∣ . I_E(B)=\max_H\mathbb{E}\lvert H^B-H\rvert. I E ( B ) = H max E ∣ H B − H ∣ . The number of tests depends only on h h h , q q q , N N N . The score depends only on E E E and B B B , so the same face receives the same scores in every chain.
Lemma A.10 (Some face detects its block). Consider an ( h + 1 ) (h+1) ( h + 1 ) -row chain whose prefixes satisfy (8). Partition its terminal coordinates into blocks indexed by the rows, allowing empty blocks. Delete row j j j to obtain E j E_j E j , and let B j B_j B j be the inverse image of block j j j in the last row of E j E_j E j . If h > q h>q h > q , then I E j ( B j ) ≥ c I_{E_j}(B_j)\ge c I E j ( B j ) ≥ c for some j j j , where c > 0 c>0 c > 0 and N N N depend only on p , q , C , h , ρ p,q,C,h,\rho p , q , C , h , ρ .
Proof. First fix arbitrary offsets on all rows. Form a star with p p p arms indexed by Z p \mathbb{Z}_p Z p , each subdivided at the mesh depths, and take the product of h + 1 h+1 h + 1 such stars with at least one factor at its tip. In row j j j write t j t_j t j for the depth and a j a_j a j for the arm. At depth zero the arm can be chosen freely. This space is the join of h + 1 h+1 h + 1 copies of Z p \mathbb{Z}_p Z p , with join weights t j / ∑ k t k t_j/\sum_k t_k t j / ∑ k t k . For p = 2 p=2 p = 2 it is the boundary of an ( h + 1 ) (h+1) ( h + 1 ) -cube. Adding one to every arm acts freely. Pull the block labels back to each row, writing β i ( v ) \beta_i(v) β i ( v ) for the block of π i , h + 1 ( v ) \pi_{i,h+1}(v) π i , h + 1 ( v ) . For completed arm choices, the input of row i i i has entries
x i ( v ) = a β i ( v ) p + ∑ k = i h + 1 t k o k , π i k ( v ) ( m o d 1 ) . (10) x_i(v)=\frac{a_{\beta_i(v)}}{p}+\sum_{k=i}^{h+1}t_k o_{k,\pi_{ik}(v)}\pmod{1}. \tag*{(10)} x i ( v ) = p a β i ( v ) + k = i ∑ h + 1 t k o k , π ik ( v ) ( mod 1 ) . (10)
At each vertex let i i i be the first positive-depth row. Copy its arm to all zero-depth rows and label the vertex by F i ( x i ) F_i(x_i) F i ( x i ) . Simultaneous rotation of the arms applies T T T to the label.
We claim that, for some vertex and completion, increasing one zero-depth arm a j a_j a j by one changes F i ( x i ) F_i(x_i) F i ( x i ) by at least a fixed δ > 0 \delta>0 δ > 0 . To see this, take a product cell and choose one arm for each factor, using its arm in the cell whenever that factor can have positive depth. At the lower-depth corner let k k k be the first positive row and y = x k y=x_k y = x k its input on the chosen arms. At any vertex of the cell its first positive row satisfies i ≤ k i\leq k i ≤ k . Change the copied arms of its zero-depth rows to the chosen ones. This takes at most h ⌊ p / 2 ⌋ h\lfloor p/2\rfloor h ⌊ p /2 ⌋ single turns in either direction. A backwards turn has the same absolute change as the forward turn from its endpoint. Then lower the depths to the corner. Each argument changes by at most ( h + 1 ) / N (h+1)/N ( h + 1 ) / N , since every offset lies in [ 0 , 1 ] [0,1] [ 0 , 1 ] . The resulting input in row i i i is y ∘ π i k y\circ\pi_{ik} y ∘ π ik , as all depths before k k k now vanish.
Choose δ \delta δ and N N N so that h ⌊ p / 2 ⌋ δ + C ( h + 1 ) / N < ρ h\lfloor p/2\rfloor\delta+C(h+1)/N<\rho h ⌊ p /2 ⌋ δ + C ( h + 1 ) / N < ρ . If every single turn had change less than δ \delta δ , each vertex label would be within ρ \rho ρ of its corresponding F i ( y ∘ π i k ) F_i(y\circ\pi_{ik}) F i ( y ∘ π ik ) . By the common-input margin (8), the convex hull of the cell’s labels would miss zero. Multilinearly interpolate the vertex labels on each product cell and normalize. These maps agree on common faces and give an equivariant map from the join to S q S^q S q . The join is ( h − 1 ) (h-1) ( h − 1 ) -connected, and S q S^q S q is free of dimension q < h q<h q < h , contrary to Dold’s theorem [39 ] (see also [37 Theorem 5.14] ). This proves the claim.
Now draw all offsets independently and uniformly. There are boundedly many choices of depths, arms, turned row j j j , and scalar component. For every draw one of these choices gives an absolute change at least δ / q + 1 \delta/\sqrt{q}+1 δ / q + 1 . Hence one fixed choice has mean change at least some c > 0 c>0 c > 0 depending only on the stated parameters.
For this choice let k k k be the first row of depth one. It is at or after the observed row i i i . In (10), x k x_k x k is a uniform tuple independent of the offsets before k k k , since it contains the full independent offset o k o_k o k . Turning a j a_j a j shifts this same tuple by 1 / p 1/p 1/ p precisely on block j j j in row k k k . Delete row j j j , whose depth is zero. Use the prescribed depths in (9) up to row k k k , and choose any unused depths. If k k k is now terminal, X k = Y X_k=Y X k = Y is uniform. Otherwise t k = 1 t_k=1 t k = 1 , so its full offset again makes X k X_k X k uniform. Turning B j B_j B j in Y Y Y induces exactly the same shift in row k k k , and both evaluations use the same earlier offsets. Thus the pair of values at row i i i has the law of ( H , H B j ) (H,H^{B_j}) ( H , H B j ) on the face E j E_j E j . Its mean change is at least c c c .
Lemma A.11 (A block turn detects a coordinate). Let H H H be real and L L L -Lipschitz on a finite product of unit circles and unit intervals with the maximum metric. Give the circles circumference one and all coordinates independent uniform measure. For p ≥ 2 p\geq2 p ≥ 2 an integer and B B B a set of circle coordinates, put
I B = E ∣ H ( Y + 1 B / p ) − H ( Y ) ∣ , b j = I { j } . I_B=\mathbb{E}\lvert H(Y+\mathbf{1}_B/p)-H(Y)\rvert,\qquad b_j=\mathbb{I}_{\{j\}}. I B = E ∣ H ( Y + 1 B / p ) − H ( Y )∣ , b j = I { j } . Then ∑ j b j ≤ L / p \sum_j b_j\leq L/p ∑ j b j ≤ L / p . For every c > 0 c>0 c > 0 there is τ = τ ( p , L , c ) > 0 \tau=\tau(p,L,c)>0 τ = τ ( p , L , c ) > 0 such that I B ≥ c I_B\geq c I B ≥ c implies b j ≥ τ b_j\geq\tau b j ≥ τ for some j ∈ B j\in B j ∈ B .
The threshold assertion also follows from Austin’s junta theorem [35 Theorem 1.1] . Pull circle coordinates back to [ 0 , 1 ] [0,1] [ 0 , 1 ] and approximate H H H in L 1 L^1 L 1 to error less than c / 4 c/4 c /4 by a function of a bounded set J J J of coordinates. Turning B ∖ J B\setminus J B ∖ J changes H H H in mean by less than c / 2 c/2 c /2 , so I B ≤ c / 2 + ∑ j ∈ B ∩ J b j I_B\leq c/2+\sum_{j\in B\cap J}b_j I B ≤ c /2 + ∑ j ∈ B ∩ J b j . We give a direct proof of both estimates. Proof. The maximum metric gives ∑ j ∣ ∂ j H ∣ ≤ L \sum_j \lvert\partial_j H\rvert\le L ∑ j ∣ ∂ j H ∣ ≤ L almost everywhere by testing the signs of the derivatives. Integrating along each coordinate turn gives b j ≤ p − 1 E ∣ ∂ j H ∣ b_j \le p^{-1}\mathbb{E}\lvert\partial_j H\rvert b j ≤ p − 1 E ∣ ∂ j H ∣ , proving the sum bound. We may take L > 0 L>0 L > 0 and B ≠ ∅ B\ne\varnothing B = ∅ .
Choose a multiple m m m of p p p with 4 L / m < c / 2 4L/m<c/2 4 L / m < c /2 . In each coordinate divide into m m m equal bins. Move one bin left or right with probability 1 / 4 1/4 1/4 each, keeping the bin otherwise and retaining outward steps at interval endpoints. Average uniformly within the resulting bin. The product averaging operator S S S moves no coordinate farther than 2 / m 2/m 2/ m , so ∥ H − S H ∥ ∞ ≤ 2 L / m \lVert H-SH\rVert_\infty\le2L/m ∥ H − S H ∥ ∞ ≤ 2 L / m .
We claim ∥ S f ∥ 2 ≤ ∥ f ∥ r \lVert Sf\rVert_2\le\lVert f\rVert_r ∥ S f ∥ 2 ≤ ∥ f ∥ r for some 1 < r < 2 1<r<2 1 < r < 2 depending only on m m m . The two bin matrices K K K are symmetric, lazy and connected, so their L 2 L^2 L 2 norms on mean-zero vectors are bounded by some σ < 1 \sigma<1 σ < 1 . By positivity and homogeneity it suffices in one coordinate to consider bin values v ≥ 0 v\ge0 v ≥ 0 of mean one, hence v ≤ m v\le m v ≤ m . Taylor’s inequality for x r x^r x r at 1 1 1 , using ( x r ) ′ ′ ≥ r ( r − 1 ) m r − 2 (x^r)''\ge r(r-1)m^{r-2} ( x r ) ′′ ≥ r ( r − 1 ) m r − 2 on ( 0 , m ] (0,m] ( 0 , m ] , gives
∥ v ∥ r 2 = ( E v r ) 2 / r ≥ 1 + ( r − 1 ) m r − 2 Var ( v ) ≥ ∥ K v ∥ 2 2 \lVert v\rVert_r^2=(\mathbb{E}v^r)^{2/r}\ge1+(r-1)m^{r-2}\operatorname{Var}(v)\ge\lVert Kv\rVert_2^2 ∥ v ∥ r 2 = ( E v r ) 2/ r ≥ 1 + ( r − 1 ) m r − 2 Var ( v ) ≥ ∥ K v ∥ 2 2
when r r r is close enough to 2 2 2 that ( r − 1 ) m r − 2 ≥ σ 2 (r-1)m^{r-2}\ge\sigma^2 ( r − 1 ) m r − 2 ≥ σ 2 . Bin averaging contracts L r L^r L r by Jensen. Iterating the one-coordinate bound using the mixed-norm Minkowski inequality proves the claim.
Write T j T_j T j for the coordinate turn, P j = p − 1 ∑ a = 0 p − 1 T j a P_j=p^{-1}\sum_{a=0}^{p-1}T_j^a P j = p − 1 ∑ a = 0 p − 1 T j a for its orbit average, and G = S H G=SH G = S H . Since p ∣ m p\mid m p ∣ m , T j T_j T j commutes with S S S . Telescoping the powers of T j T_j T j gives
2 ∥ G − P j G ∥ 2 ≤ ( p − 1 ) ∥ G − T j G ∥ 2 ≤ ( p − 1 ) ∥ H − T j H ∥ r ≤ ( p − 1 ) ( L / p ) 1 − 1 / r b j 1 / r . 2\lVert G-P_jG\rVert_2\le(p-1)\lVert G-T_jG\rVert_2\le(p-1)\lVert H-T_jH\rVert_r\le(p-1)(L/p)^{1-1/r}b_j^{1/r}. 2 ∥ G − P j G ∥ 2 ≤ ( p − 1 ) ∥ G − T j G ∥ 2 ≤ ( p − 1 ) ∥ H − T j H ∥ r ≤ ( p − 1 ) ( L / p ) 1 − 1/ r b j 1/ r .
The P j P_j P j are commuting orthogonal projections. Their product over B B B is fixed by the block turn, and its successive averaging differences are orthogonal. Consequently
I B ≤ 4 L / m + 2 ( ∑ j ∈ B ∥ G − P j G ∥ 2 2 ) 1 / 2 ≤ 4 L / m + ( p − 1 ) ( L / p ) 3 / 2 − 1 / r ( max j ∈ B b j ) 1 / r − 1 / 2 , I_B\le4L/m+2\left(\sum_{j\in B}\lVert G-P_jG\rVert_2^2\right)^{1/2}\le4L/m+(p-1)(L/p)^{3/2-1/r}\left(\max_{j\in B}b_j\right)^{1/r-1/2}, I B ≤ 4 L / m + 2 j ∈ B ∑ ∥ G − P j G ∥ 2 2 1/2 ≤ 4 L / m + ( p − 1 ) ( L / p ) 3/2 − 1/ r ( j ∈ B max b j ) 1/ r − 1/2 ,
where we used ∑ j b j ≤ L / p \sum_j b_j\le L/p ∑ j b j ≤ L / p . The last exponent is positive, so choosing τ \tau τ sufficiently small proves the assertion. □ \square □
Proof of Theorem A.6 . Each scalar test in (9) is h C hC h C -Lipschitz for the maximum metric on its independent inputs. By Lemma A.11 , there is a uniform threshold τ > 0 \tau>0 τ > 0 such that any block of score at least c c c contains a coordinate v v v with I E ( { v } ) > τ I_E(\{v\})>\tau I E ({ v }) > τ . Only boundedly many singletons exceed this threshold for each test, and there are boundedly many tests. Assign E E E the list of all such coordinates in its last row.
If the transported lists on an ( h + 1 ) (h+1) ( h + 1 ) -row chain had empty intersection, assign each terminal coordinate to a face whose transported list misses it. The resulting blocks have B j B_j B j disjoint from the list on E j E_j E j for every j j j , contradicting Lemma A.10 . Every list is nonempty as well, by appending a copy of the last row with the identity minor. This gives the required chain homomorphism. □ \square □
Combinatorial proof
In this section we prove the chain condition using only the finite clock. Each face tests how far one must move to see a given color. Cyclic covering forces a distance to change when one of the blocks turns, so that block must meet the list of its face. For p = 2 p = 2 p = 2 the turn is antipodal and the covering argument is Tucker’s lemma.
Reduction to the clock
In this section we map the clock to the tight cycle and deduce the restriction on the colors of rotated boxes that we will use throughout the proof.
Fix a prime p p p and L > 1 L > 1 L > 1 with L ≡ 1 ( m o d p ) L \equiv1 \pmod{p} L ≡ 1 ( mod p ) , and assume CYCLE p [ L ] → NAE p [ q ] \operatorname{CYCLE}_p[L] \to\operatorname{NAE}_p[q] CYCLE p [ L ] → NAE p [ q ] . Write s = q ( p − 1 ) + 1 s = q(p - 1) + 1 s = q ( p − 1 ) + 1 , the number of rows on which the face lists must intersect. Arrange N N N positions in L L L equal consecutive blocks around a circle, with the block size a multiple of p p p . The clock H H H has vertex set Z N \mathbb{Z}_N Z N . A tuple ( x 0 , … , x p − 1 ) (x^0,\ldots,x^{p-1}) ( x 0 , … , x p − 1 ) belongs to its relation if every step, including the last one back to the start, satisfies
x a + 1 − x a ≡ − N / p + e ( m o d N ) for some integer e with ∣ e ∣ ≤ N / ( p L ) . x^{a+1} - x^a \equiv-N/p + e \pmod{N} \qquad\text{for some integer } e \text{ with } |e| \le N/(pL). x a + 1 − x a ≡ − N / p + e ( mod N ) for some integer e with ∣ e ∣ ≤ N / ( p L ) .
Here a a a is taken modulo p p p . Each step is a backward 1 / p 1/p 1/ p turn with an error of at most 1 / p 1/p 1/ p of a block. For p = 2 p = 2 p = 2 this joins each position to the closed arc of one block length centered at its antipode.
Lemma A.12 (Clock sandwich). Number the blocks 0 , … , L − 1 0,\ldots,L-1 0 , … , L − 1 in cyclic order. Sending block j j j to p j pj p j mod L L L gives a sandwich H → CYCLE p [ L ] → NAE p [ q ] H \to\operatorname{CYCLE}_p[L] \to\operatorname{NAE}_p[q] H → CYCLE p [ L ] → NAE p [ q ] .
Proof. Write L = p ℓ + 1 L = p\ell+ 1 L = p ℓ + 1 . A backward $1/p$ turn moves ℓ + 1 / p \ell+ 1/p ℓ + 1/ p block lengths. With the allowed error it moves between ℓ \ell ℓ and ℓ + 2 / p ≤ ℓ + 1 \ell+ 2/p \le\ell+ 1 ℓ + 2/ p ≤ ℓ + 1 block lengths, so the block index decreases by ℓ \ell ℓ or ℓ + 1 \ell+ 1 ℓ + 1 . The label therefore increases by 1 1 1 or 1 − p 1 - p 1 − p modulo L L L . If m m m of the p p p steps have increment 1 − p 1 - p 1 − p , closure gives p ( 1 − m ) ≡ 0 ( m o d L ) p(1 - m) \equiv0 \pmod{L} p ( 1 − m ) ≡ 0 ( mod L ) . Since p p p is coprime to L L L and $0 \le m \le p < L$, we have m = 1 m = 1 m = 1 . Starting just after that step, the labels are p p p consecutive residues, as required. The second homomorphism is the hypothesis of the theorem.
Take at least 4 p 2 s 2 4p^2s^2 4 p 2 s 2 positions per block.3 For x ∈ Z N I x \in\mathbb{Z}_N^I x ∈ Z N I , let B ( x ) B(x) B ( x ) be the box of radius N / ( 2 p L ) N/(2pL) N / ( 2 p L ) about x x x in the maximum circle distance. Every clock polymorphism f : H I → NAE p [ q ] f : H^I \to\operatorname{NAE}_p[q] f : H I → NAE p [ q ] satisfies
⋂ a ∈ Z p f ( B ( x − a N / p ) ) = ∅ , (11) \bigcap_{a \in\mathbb{Z}_p} f\bigl(B(x - aN/p)\bigr) = \varnothing, \tag*{(11)} a ∈ Z p ⋂ f ( B ( x − a N / p ) ) = ∅ , (11)
where the shift acts in every coordinate. Indeed, choose one input from each box. In every coordinate the successive steps, including the closing step, differ from − N / p -N/p − N / p by at most twice the box radius, namely N / ( p L ) N/(pL) N / ( p L ) . Each column is therefore a clock tuple, so the p p p outputs cannot all have the same color.
Theorem A.13 (Clock). The polymorphisms of ( H , NAE p [ q ] ) (H,\operatorname{NAE}_p[q]) ( H , NAE p [ q ]) admit an ( s − 1 , d ) (s-1,d) ( s − 1 , d ) -chain homomorphism to the projections, with d d d depending only on p , q , N p,q,N p , q , N .
Proof of Theorem 2.1 . Precomposition with the sandwich map H → CYCLE p [ L ] H \to\operatorname{CYCLE}_p[L] H → CYCLE p [ L ] preserves minors, so Theorem A.13 gives the required chain homomorphism, and Theorem 1.15 gives the reduction and search decoder since a constraint on the tuple ( x , … , x ) (x,\ldots,x) ( x , … , x ) is a fixed NO instance for NAE p [ q ] \operatorname{NAE}_p[q] NAE p [ q ] .
One coordinate list per face
In this section we choose a bounded list of terminal coordinates for each face. Turning a block of coordinates outside the list rarely changes the distance to any color class by more than two clock steps per row.
Lemma A.14 (Predicting a nearby color). Let m ≥ 2 m \ge2 m ≥ 2 , q ≥ 1 q \ge1 q ≥ 1 and ε > 0 \varepsilon> 0 ε > 0 . For every finite index set I I I and coloring g : [ m ] I → [ q ] g : [m]^I \to[q] g : [ m ] I → [ q ] , there are a set J ⊂ I J \subset I J ⊂ I of size bounded in terms of m m m , q q q , ε \varepsilon ε alone and a predictor λ : [ m ] J → [ q ] \lambda: [m]^J \to[q] λ : [ m ] J → [ q ] such that, for uniform z ∈ [ m ] I z \in[m]^I z ∈ [ m ] I ,
Pr [ ∃ z ′ ∈ [ m ] I : ∣ z i ′ − z i ∣ ≤ 1 for all i ∈ I , g ( z ′ ) = λ ( z ∣ J ) ] ≥ 1 − ε . \Pr\left[ \exists z' \in[m]^I : \lvert z'_i-z_i\rvert\le1 \text{ for all } i \in I,\ g(z')=\lambda(z|_J) \right] \ge1-\varepsilon. Pr [ ∃ z ′ ∈ [ m ] I : ∣ z i ′ − z i ∣ ≤ 1 for all i ∈ I , g ( z ′ ) = λ ( z ∣ J ) ] ≥ 1 − ε .
Consider a face with h = s − 1 h=s-1 h = s − 1 rows, numbered 1 , … , h 1,\ldots,h 1 , … , h within the face. Write I i I_i I i for the coordinates of row i i i and π i j : I i → I j \pi_{ij}:I_i\to I_j π ij : I i → I j for the composite minor maps, with π i i \pi_{ii} π ii the identity. For each color c c c let d i , c ( x ) d_{i,c}(x) d i , c ( x ) be the distance from x x x to f i − 1 ( c ) f_i^{-1}(c) f i − 1 ( c ) in the maximum of the circular coordinate distances, measured in clock steps. Give an absent color distance N N N . Moving every argument by at most one step changes each distance by at most one.
Draw a uniform terminal tuple Y ∈ Z I h Y\in\mathbb{Z}^{I_h} Y ∈ Z I h and independent uniform offsets o j , w ∈ { 0 , … , N − 1 } o_{j,w}\in\{0,\ldots,N-1\} o j , w ∈ { 0 , … , N − 1 } for j < h j<h j < h and w ∈ I j w\in I_j w ∈ I j . Give each earlier row a depth t j ∈ { 0 , … , N − 1 } t_j\in\{0,\ldots,N-1\} t j ∈ { 0 , … , N − 1 } . Starting from X h = Y X_h=Y X h = Y , work backwards in the clock by
( X j ) v = ( X j + 1 ) π j , j + 1 ( v ) + min { t j , o j , v } ( m o d N ) . (X_j)_v=(X_{j+1})_{\pi_{j,j+1}(v)}+\min\{t_j,o_{j,v}\}\pmod N. ( X j ) v = ( X j + 1 ) π j , j + 1 ( v ) + min { t j , o j , v } ( mod N ) .
At zero depth a row contributes nothing. At full depth N − 1 N-1 N − 1 it adds an independent uniform tuple.
Lemma A.15 (A face test). For every ε > 0 \varepsilon>0 ε > 0 , the face has a list Ξ ⊆ I h \Xi\subseteq I_h Ξ ⊆ I h of size bounded in terms of s s s , N N N , q q q , ε \varepsilon ε . For every block B ⊆ I h B\subseteq I_h B ⊆ I h missing Ξ \Xi Ξ , compare the experiment with the same one after adding N / p N/p N / p to Y Y Y on B B B . Except with probability 2 ε 2\varepsilon 2 ε , the two readings of d i , c ( X i ) d_{i,c}(X_i) d i , c ( X i ) differ by at most 2 h 2h 2 h , simultaneously for every depth profile, row i i i and color c c c .
Proof. Color the independent parameters ( Y , o ) (Y,o) ( Y , o ) by the table of all the readings, including all choices of the depths. Its entries belong to { 0 , … , N } \{0,\ldots,N\} { 0 , … , N } and its length is at most h q N h − 1 hqN^{h-1} h q N h − 1 , independent of the arities. Apply Lemma A.14 once to this finite coloring, representing the clock positions by 0 , … , N − 1 0,\ldots,N-1 0 , … , N − 1 . At a witness for the predicted table, each parameter moves at most one path step. In row i i i the terminal entry and at most h − 1 h-1 h − 1 offset terms each change by at most one, so the predicted and actual distances differ by at most h h h .
Keep in Ξ \Xi Ξ just the terminal entries read by the predictor, adding one arbitrary terminal coordinate if needed. Turning B B B preserves the uniform law and leaves all predictor reads unchanged, including its earlier offset reads. With probability at least 1 − 2 ε 1-2\varepsilon 1 − 2 ε both tables are within h h h of the same prediction in every entry. □
The proof of the nearby-color lemma is in Section A.2.5.
Intersection of the face lists
In this section we show that every partition of the terminal coordinates has a block whose turn changes a color distance. The face test then forces that block to meet its list.
The star S S S is the union of p p p paths of N − 1 N-1 N − 1 edges with one endpoint of each path identified to a common center. The paths are its arms , indexed by Z p \mathbb{Z}_p Z p . The center has depth zero. On arm a a a , write ( a , t ) (a,t) ( a , t ) for the vertex at depth t ∈ [ N − 1 ] t\in[N-1] t ∈ [ N − 1 ] , its distance from the center. The vertex ( a , N − 1 ) (a,N-1) ( a , N − 1 ) is the tip. A cell of S S S is a product whose factors are vertices or edges of S S S . Its vertices are obtained by choosing a vertex in each factor. Let X \mathcal{X} X consist of the cells with at least one factor equal to a single tip. Rotation T T T adds one to every arm index and fixes each center. For p = 2 p=2 p = 2 , the star is a path and X \mathcal{X} X is the boundary of a subdivided s s s -cube, with T T T acting by negation about its center.
Lemma A.16 (Cyclic covering). For every coloring of the vertices of X \mathcal{X} X by [ q ] [q] [ q ] , some cell D ∈ X D \in\mathcal{X} D ∈ X has a color occurring at a vertex of each of D , T − 1 D , … , T − ( p − 1 ) D D,T^{-1}D,\ldots,T^{-(p-1)}D D , T − 1 D , … , T − ( p − 1 ) D .
We prove the cyclic covering lemma in Section A.2.4.
Conclusion of the proof of Theorem A.13 . Choose the lists of Lemma A.15 with 2 ε < ( s N s p s ) − 1 2\varepsilon< (sN^{s}p^{s})^{-1} 2 ε < ( s N s p s ) − 1 . If their transported intersection is empty, label each terminal coordinate by a row whose deletion gives a list missing that coordinate. Let β i : I i → [ s ] \beta_i:I_i\to[s] β i : I i → [ s ] be the pullback of these labels to row i i i .
Give each row independent uniform offsets o j , w o_{j,w} o j , w as in the face test, now including the last row. At a vertex of X \mathcal{X} X , an arm completion α ∈ Z p s \alpha\in\mathbb{Z}_p^s α ∈ Z p s keeps its positive-depth arms and chooses an arm at each center. For the first positive row i i i , the prescribed input is
x i ( t , α ) v = α β i ( v ) N / p + ∑ j = i s min { t j , o j , π i j ( v ) } ( m o d N ) . (12) x_i(t,\alpha)_v=\alpha_{\beta_i(v)}N/p+\sum_{j=i}^{s}\min\{t_j,o_{j,\pi_{ij}(v)}\}\pmod{N}. \tag*{(12)} x i ( t , α ) v = α β i ( v ) N / p + j = i ∑ s min { t j , o j , π ij ( v ) } ( mod N ) . (12)
Changing the arm at a center turns just its block in this same row.
Fix the offsets. Suppose adding one to the arm at any center changes each color distance by at most 2 ( s − 1 ) 2(s-1) 2 ( s − 1 ) . At each vertex choose one completion and color it by the actual value c = f i ( x i ( t , α ) ) c=f_i(x_i(t,\alpha)) c = f i ( x i ( t , α )) . Its distance to color c c c is zero. Reach any other completion by changing the missing arms one generator step at a time. At most ( s − 1 ) ( p − 1 ) (s-1)(p-1) ( s − 1 ) ( p − 1 ) steps are needed, so at the new input the distance to c c c is at most 2 ( s − 1 ) 2 ( p − 1 ) 2(s-1)^2(p-1) 2 ( s − 1 ) 2 ( p − 1 ) .
By Lemma A.16 , one cell has a color c c c on every rotation. Fix arms containing that cell, also at its centers, and use the rotated arms on its rotations. In each rotation take a vertex colored c c c and pull its color-c c c witness back along π 1 i \pi_{1i} π 1 i to get the same color in row one. Its distance from the prescribed row-one input is no greater, since pullback just repeats coordinates and all depths before i i i are zero. With the arms fixed, each depth varies by at most one across the cell, so the prescribed inputs vary by at most s s s steps. On rotation by T − a T^{-a} T − a all prescribed inputs shift by − a N / p -aN/p − a N / p . Thus for a row-one input x x x in the chosen cell, color c c c occurs within
2 ( s − 1 ) 2 ( p − 1 ) + s ≤ 2 p s 2 ≤ N / ( 2 p L ) 2(s-1)^2(p-1)+s\le2ps^2\le N/(2pL) 2 ( s − 1 ) 2 ( p − 1 ) + s ≤ 2 p s 2 ≤ N / ( 2 p L )
of x − a N / p x-aN/p x − a N / p for every a a a . This contradicts (11) .
Consequently every draw of the offsets has a turn changing some distance by more than 2 ( s − 1 ) 2(s-1) 2 ( s − 1 ) . There are at most s N s p s sN^{s}p^{s} s N s p s choices of the moved row, depths and starting arms. One fixed choice has such a change with probability at least ( s N s p s ) − 1 (sN^{s}p^{s})^{-1} ( s N s p s ) − 1 .
Delete the moved row, whose depth is zero, and keep the prescribed depths from i i i through the first full row k k k . In the last row of the face, take the inverse image of the moved block under its map to row s s s . The inputs in (12) before and after the turn have exactly the joint law of the two row-i i i inputs in the face test. Indeed the full row supplies a uniform tuple on I k I_k I k , absorbing all later contributions and the starting phases conditionally on them. If k k k ends the face, the terminal tuple Y Y Y supplies that uniform tuple directly. The offsets before k k k remain independent, and the relative turn in both experiments is the pullback of the moved block. This block misses the face list by its label. Lemma A.15 bounds the probability of such a change by 2 ε 2\varepsilon 2 ε , a contradiction. □ \square □
Cyclic covering
In this section we prove Lemma A.16 using the cyclic form of Tucker’s lemma. If each color misses a rotation of each cell, the colors give a labeling that violates Tucker’s conclusion.
Proof. The join of s s s copies of Z p \mathbb{Z}_p Z p has vertices ( j , a ) ∈ [ s ] × Z p (j,a)\in[s]\times\mathbb{Z}_p ( j , a ) ∈ [ s ] × Z p . Its simplices are the sets containing at most one vertex from each copy. Rotation adds one to a a a . On the label set Z p × [ s − 1 ] \mathbb{Z}_p\times[s-1] Z p × [ s − 1 ] , rotation adds one to the first entry and fixes the second. A map is equivariant if it commutes with these rotations.
The cyclic form of Tucker’s lemma states that on any rotation-invariant subdivision of the join, every equivariant vertex labeling by Z p × [ s − 1 ] \mathbb{Z}_p\times[s-1] Z p × [ s − 1 ] has an edge whose labels differ in their first entries and agree in their second. Otherwise the labeling would give an equivariant simplicial map to the join of s − 1 s-1 s − 1 copies of Z p \mathbb{Z}_p Z p . Such a map is excluded by [37 Corollary 5.10] , applied with d = s − 2 d=s-2 d = s − 2 and m = s − 1 m=s-1 m = s − 1 , since a sequence of s − 1 s-1 s − 1 labels has at most s − 2 s-2 s − 2 changes. For p = 2 p=2 p = 2 this is ordinary Tucker’s lemma. The subdivision used here refines the octahedral sphere and hence preserves the flag of coordinate hemispheres in [38 Theorem 2] .
Use the barycentric subdivision of X \mathcal{X} X . Its vertices are the nonempty cells, and its simplices are chains of cells under inclusion. To see that it subdivides the join, realize each arm as [ 0 , N − 1 ] [0,N-1] [ 0 , N − 1 ] . A point of X \mathcal{X} X then has depths t j ≥ 0 t_j\geq0 t j ≥ 0 with max j t j = N − 1 \max_j t_j=N-1 max j t j = N − 1 . Give vertex ( j , a ) (j,a) ( j , a ) of the join weight t j / ∑ k t k t_j/\sum_k t_k t j / ∑ k t k if the point lies on arm a a a in factor j j j , and zero otherwise. Zero depth gives zero weight on every arm. The inverse rescales the weights so that the largest is N − 1 N-1 N − 1 . These maps commute with rotation. On each simplex, normalization is radial projection from a hyperplane with one depth fixed at N − 1 N-1 N − 1 to the hyperplane where the weights sum to one. It sends the simplex onto the convex hull of its vertex images.
Suppose no cell has a color on all its rotations. For each cell D D D put
P ( D ) = { ( i , b ) ∈ Z p × [ q ] : some vertex of T − i D has color b } . P(D)=\{(i,b)\in\mathbb{Z}_p\times[q]:\text{ some vertex of }T^{-i}D\text{ has color }b\}. P ( D ) = {( i , b ) ∈ Z p × [ q ] : some vertex of T − i D has color b } .
The set is nonempty. Each color misses at least one rotation, so ∣ P ( D ) ∣ ≤ q ( p − 1 ) = s − 1 |P(D)|\leq q(p-1)=s-1 ∣ P ( D ) ∣ ≤ q ( p − 1 ) = s − 1 . Rotation of D D D adds one to the first entries of P ( D ) P(D) P ( D ) . If a nonzero shift fixed this set, primality of p p p would put any color present in all p p p rotations. Every orbit of these sets therefore has size p p p . In each orbit, number one set 0 0 0 and its successive shifts 1 , … , p − 1 1,\ldots,p-1 1 , … , p − 1 . Label D D D by the number of P ( D ) P(D) P ( D ) and by ∣ P ( D ) ∣ |P(D)| ∣ P ( D ) ∣ . This labeling is equivariant . Adjacent vertices of the subdivision represent nested cells, so their sets P ( D ) P(D) P ( D ) are nested. If their sizes agree, the sets and their numbers agree. This contradicts Tucker’s lemma. □
Predicting a nearby color
In this section we prove Lemma A.14 by placing the input in a random product of vertices and edges of a path. Every point of this product is within one step of the input in each coordinate, so it suffices to predict a color that occurs in the product. The lemma also follows from Austin’s junta theorem [35 Theorem 1.1] by representing the m m m symbols as midpoints of equal intervals and approximating the distance to each nonempty color class on the unit cube.
Proof. Let g : [ m ] I → [ q ] g:[m]^I\to[q] g : [ m ] I → [ q ] be the given coloring. When I I I is empty, g g g is constant, so assume n = ∣ I ∣ ≥ 1 n=|I|\geq1 n = ∣ I ∣ ≥ 1 . Give [ m ] [m] [ m ] the path edges { j , j + 1 } \{j,j+1\} { j , j + 1 } for j ∈ [ m − 1 ] j\in[m-1] j ∈ [ m − 1 ] . Let P P P consist of these edges and the singletons { j } \{j\} { j } for j ∈ [ m ] j\in[m] j ∈ [ m ] . A box is a product of factors z i ∈ P z_i\in P z i ∈ P for i ∈ I i\in I i ∈ I . We identify it with the tuple z ∈ P I z\in P^I z ∈ P I . We adapt Russo’s estimates for pivotal sets of increasing Bernoulli events and the sequential coupling in his proof of Proposition 2 [36 Sections 3–5] . Choose a uniform path vertex v v v and then a uniform incident edge e e e . Each incident pair has probability at least 1 / ( 2 m ) 1/(2m) 1/ ( 2 m ) . Opening a vertex replaces { v } \{v\} { v } by e e e . Open with probability t t t and otherwise keep { v } \{v\} { v } . Make these choices independently in each coordinate to obtain a random box Z Z Z . Write Pr t \Pr_t Pr t and E t E_t E t for probability and expectation under this choice. For b ∈ [ q ] b \in[q] b ∈ [ q ] , let H b H_b H b be the event that the box contains a vertex of color b b b . These events are increasing under inclusion and cover all boxes.
Finding the coordinates. For z ∈ H b z \in H_b z ∈ H b , a pivotal coordinate for b b b is an index i i i at which some replacement of z i z_i z i by an element of P P P removes the box from H b H_b H b . Let K b ( z ) K_b(z) K b ( z ) be the set of such indices, and put K b ( z ) = ∅ K_b(z)=\varnothing K b ( z ) = ∅ outside H b H_b H b . Once a growing box enters H b H_b H b , K b K_b K b can only shrink. Indeed, if every replacement at i i i leaves color b b b present, this remains true when the other factors grow. We will show that for each δ > 0 \delta> 0 δ > 0 there are t ∈ [ 1 / 4 , 1 / 2 ] t \in[1/4,1/2] t ∈ [ 1/4 , 1/2 ] and J ⊆ I J \subseteq I J ⊆ I , with size bounded in terms of m , q , δ m,q,\delta m , q , δ , such that
∑ b ∈ [ q ] Pr t ( K b ⊈ J ) ≤ δ . (13) \sum_{b \in[q]} \Pr_t(K_b \not\subseteq J) \le\delta. \tag*{(13)} b ∈ [ q ] ∑ t Pr ( K b ⊆ J ) ≤ δ . (13)
For G ⊆ P I G \subseteq P^I G ⊆ P I , define I t ( G ) I_t(G) I t ( G ) as follows. At coordinate i i i draw the incident pair ( v , e ) (v,e) ( v , e ) above, independently of the other factors of Z Z Z . Sum over i i i the probability that changing { v } \{v\} { v } to e e e changes membership in G G G .
First, suppose the events in a finite family G \mathcal{G} G change membership at most k k k times in total along any increasing sequence of boxes. Then
avg t ∑ G ∈ G I t ( G ) ≤ 8 k , t = 1 4 + j 4 n , 0 ≤ j < n . (14) \operatorname*{avg}_{t}\sum_{G \in\mathcal{G}} I_t(G) \le8k,\qquad t=\frac{1}{4}+\frac{j}{4n},\quad0\le j<n. \tag*{(14)} t avg G ∈ G ∑ I t ( G ) ≤ 8 k , t = 4 1 + 4 n j , 0 ≤ j < n . (14)
At each coordinate independently choose an incident pair and an opening round uniformly in [ 4 n ] [4n] [ 4 n ] , independently of the pair. After round 4 n t 4nt 4 n t each vertex has opened independently with probability t t t . Coordinate i i i opens in the next round with probability 1 / ( 4 n ) 1/(4n) 1/ ( 4 n ) . Conditional on the other factors at round 4 n t 4nt 4 n t , each still-closed coordinate opens in the next round with probability 1 / ( 4 n ( 1 − t ) ) ≤ 1 / ( 2 n ) 1/(4n(1-t)) \le1/(2n) 1/ ( 4 n ( 1 − t )) ≤ 1/ ( 2 n ) . Thus with probability at least 1 / 2 1/2 1/2 none of the other coordinates opens. Counting only rounds when i i i opens alone and summing over i i i gives at least ∑ G I t ( G ) / ( 8 n ) \sum_G I_t(G)/(8n) ∑ G I t ( G ) / ( 8 n ) expected changes in this round. The total over the n n n indicated rounds is at most k k k .
Second, writing a = Pr t ( G ) a=\Pr_t(G) a = Pr t ( G ) and 0 log ( 1 / 0 ) = 0 0\log(1/0)=0 0 log ( 1/0 ) = 0 , we have
a log ( 1 / a ) ≤ 2 m I t ( G ) . (15) a\log(1/a)\le2mI_t(G). \tag*{(15)} a log ( 1/ a ) ≤ 2 m I t ( G ) . (15)
Fix a coordinate i i i . For u ∈ P u\in P u ∈ P let a u a_u a u be the probability of the section of G G G obtained by setting that coordinate to u u u . Then a = E t [ a Z i ] a=E_t[a_{Z_i}] a = E t [ a Z i ] . If a > 0 a>0 a > 0 ,
a log ( 1 / a ) − E t [ a Z i log ( 1 / a Z i ) ] ≤ a log ( max u a u a ) ≤ max u a u − min u a u . a\log(1/a)-E_t[a_{Z_i}\log(1/a_{Z_i})]\le a\log\left(\max_u\frac{a_u}{a}\right)\le\max_u a_u-\min_u a_u. a log ( 1/ a ) − E t [ a Z i log ( 1/ a Z i )] ≤ a log ( u max a a u ) ≤ u max a u − u min a u .
Join a minimizing factor to a maximizing factor along the path of alternating vertices and edges. Across each incident pair the difference of section probabilities is at most the probability that their indicators differ on the same remaining factors. Each pair has probability at least 1 / ( 2 m ) 1/(2m) 1/ ( 2 m ) , so the range is at most 2 m 2m 2 m times this coordinate’s contribution to I t ( G ) I_t(G) I t ( G ) . Apply the same bound inductively to each section. Averaging over u u u gives the contributions of all remaining coordinates, proving (15) . The empty product has probability zero or one for every event, which starts the induction.
With all other factors fixed, a pivotal coordinate has a nonempty proper section of H b H_b H b . On that section at least one incident pair changes membership. Hence E t ∣ K b ∣ ≤ 2 m I t ( H b ) E_t|K_b|\le2mI_t(H_b) E t ∣ K b ∣ ≤ 2 m I t ( H b ) . A growing box enters H b H_b H b at most once, so this expectation averages at most 16 m 16m 16 m by (14) .
For an integer r ≥ 1 r \ge1 r ≥ 1 , put a b , i = Pr t ( i ∈ K b , ∣ K b ∣ ≤ r ) a_{b,i} = \Pr_t(i \in K_b,\ |K_b| \le r) a b , i = Pr t ( i ∈ K b , ∣ K b ∣ ≤ r ) . At the first box in H b H_b H b with ∣ K b ∣ ≤ r |K_b| \le r ∣ K b ∣ ≤ r , at most r r r indices remain in K b K_b K b . Each can leave only once. Thus for fixed b b b the events defining a b , i a_{b,i} a b , i change membership at most 2 r 2r 2 r times in total. Equations (14) and (15) show that ∑ i a b , i log ( 1 / a b , i ) \sum_i a_{b,i}\log(1/a_{b,i}) ∑ i a b , i log ( 1/ a b , i ) averages at most 32 m r 32mr 32 m r .
For some common t t t in (14) , summing these two estimates gives
∑ b E t ∣ K b ∣ + 1 r ∑ b , i a b , i log ( 1 / a b , i ) ≤ 48 m q . \sum_b \mathbb{E}_t |K_b| + \frac{1}{r}\sum_{b,i} a_{b,i}\log(1/a_{b,i}) \le48mq. b ∑ E t ∣ K b ∣ + r 1 b , i ∑ a b , i log ( 1/ a b , i ) ≤ 48 m q .
For 0 < τ < 1 0 < \tau< 1 0 < τ < 1 , put i i i in J J J if Pr t ( i ∈ K b ) ≥ τ \Pr_t(i \in K_b) \ge\tau Pr t ( i ∈ K b ) ≥ τ for some b b b . The first sum gives ∣ J ∣ ≤ 48 m q / τ |J| \le48mq/\tau ∣ J ∣ ≤ 48 m q / τ . A box with K b ⊈ J K_b \not\subseteq J K b ⊆ J either has at least r + 1 r+1 r + 1 pivotal coordinates or has i ∈ K b ∖ J i \in K_b \setminus J i ∈ K b ∖ J with ∣ K b ∣ ≤ r |K_b| \le r ∣ K b ∣ ≤ r . For each such i i i we have a b , i < τ a_{b,i} < \tau a b , i < τ , so a b , i log ( 1 / a b , i ) ≥ a b , i log ( 1 / τ ) a_{b,i}\log(1/a_{b,i}) \ge a_{b,i}\log(1/\tau) a b , i log ( 1/ a b , i ) ≥ a b , i log ( 1/ τ ) . Summing over colors gives
∑ b Pr t ( K b ⊈ J ) ≤ 48 m q ( 1 r + 1 + r log ( 1 / τ ) ) . \sum_b \Pr_t(K_b \not\subseteq J) \le48mq\left(\frac{1}{r+1}+\frac{r}{\log(1/\tau)}\right). b ∑ t Pr ( K b ⊆ J ) ≤ 48 m q ( r + 1 1 + log ( 1/ τ ) r ) .
Choose r r r large and then τ \tau τ small to obtain (13) .
Predicting the color. Given the input on J J J , open its vertices independently with probability t t t . For a uniform input the resulting factors have the same distribution as Z ∣ J Z|_J Z ∣ J . Given their values z z z , choose a color b b b maximizing Pr t ( H b ∣ Z ∣ J = z ) \Pr_t(H_b \mid Z|_J=z) Pr t ( H b ∣ Z ∣ J = z ) . This probability is at least 1 / q 1/q 1/ q , since every box contains a color. Condition Z Z Z on H b H_b H b and Z ∣ J = z Z|_J=z Z ∣ J = z , and couple its remaining factors with uniform input vertices outside J J J . On J J J the input already lies in the chosen factors.
For one coordinate, order P P P as { 1 } , { 1 , 2 } , { 2 } , … , { m } \{1\},\{1,2\},\{2\},\ldots,\{m\} { 1 } , { 1 , 2 } , { 2 } , … , { m } . Partition a list of equally likely tickets into consecutive blocks of sizes proportional to the probabilities of these factors before conditioning. Partition the same list into m m m equal blocks for the input vertices. The cut between input vertices j j j and j + 1 j+1 j + 1 lies inside the block for { j , j + 1 } \{j,j+1\} { j , j + 1 } . The mass of that block on either side of the cut comes from opening the incident vertex to this edge, so it is at least t / ( 2 m ) ≥ 1 / ( 8 m ) t/(2m) \ge1/(8m) t / ( 2 m ) ≥ 1/ ( 8 m ) on each side. Now change the factor law. If the mass of each initial segment of the ordered set P P P changes by at most 1 / ( 8 m ) 1/(8m) 1/ ( 8 m ) , every cut still lies in its edge block, possibly at an endpoint. Thus a single uniform ticket gives a factor with the specified law and a uniform input vertex contained in that factor. All laws used here are rational, so a finite common number of tickets suffices.
Expose the factors of Z Z Z outside J J J in a fixed order. Given the factors already exposed, let u i u_i u i be the conditional probability that the next index i i i belongs to K b ( Z ) K_b(Z) K b ( Z ) . With all other factors fixed, the factor at i i i has its original law conditioned on their section of H b H_b H b . This section is nonempty. It is proper exactly when i ∈ K b ( Z ) i \in K_b(Z) i ∈ K b ( Z ) , so only in this case can the law change. Averaging over the unexposed factors, the probability of any initial segment of P P P differs from its unconditioned probability by at most u i u_i u i . Use a fresh ticket for this law and the uniform input vertex. The new input vertex is uniform independently of all previous draws. It belongs to its factor whenever u i ≤ 1 / ( 8 m ) u_i \le1/(8m) u i ≤ 1/ ( 8 m ) .
At the first prefix with u i > 1 / ( 8 m ) u_i > 1/(8m) u i > 1/ ( 8 m ) , the conditional probability of K b ⊈ J K_b \not\subseteq J K b ⊆ J exceeds 1 / ( 8 m ) 1/(8m) 1/ ( 8 m ) . These first prefixes are disjoint. Their total probability is therefore at most 8 m Pr t ( K b ⊈ J ∣ H b , Z ∣ J = z ) 8m\Pr_t(K_b \not\subseteq J\mid H_b,Z|_J=z) 8 m Pr t ( K b ⊆ J ∣ H b , Z ∣ J = z ) . In every other outcome the whole input lies in Z Z Z , which contains a vertex of color b b b . Averaging over z z z and using Pr t ( H b ∣ Z ∣ J = z ) ≥ 1 / q \Pr_t(H_b\mid Z|_J=z) \ge1/q Pr t ( H b ∣ Z ∣ J = z ) ≥ 1/ q bounds the error by 8 m q ∑ b Pr t ( K b ⊈ J ) ≤ 8 m q 8mq\sum_b\Pr_t(K_b \not\subseteq J)\le8mq 8 m q ∑ b Pr t ( K b ⊆ J ) ≤ 8 m q . Take δ = ε / ( 8 m q ) \delta=\varepsilon/(8mq) δ = ε / ( 8 m q ) . Finally, for each fixed input on J J J , choose the color most likely to occur within one step in every coordinate of the full uniform input conditional on these values. This deterministic predictor succeeds at least as often as the randomized choice above. ∝
Auxiliary results for hypergraph colouring
The first lemma extends the tight-cycle criterion to composite arities. A periodic word need not have the specified period as its least period.
Lemma B.1 (Coprime periods). Let r ≥ 2 r \ge2 r ≥ 2 and let T ⊆ A r T \subseteq A^r T ⊆ A r be cyclically invariant, let T → S ⊆ B r T \to S \subseteq B^r T → S ⊆ B r be a finite promise template with no constant tuple in S S S , and suppose a periodic word of period s s s has all its length-r r r windows in T T T , where gcd ( r , s ) = 1 \gcd(r,s)=1 g cd( r , s ) = 1 . Then 3-SAT ≤ L \leq_{\mathrm{L}} ≤ L PCSP( T , S ) (T,S) ( T , S ) with a LOGSPACE search decoder. Moreover, for every prime p > max { 2 r , r + ( r − 1 ) s } p > \max\{2r, r+(r-1)s\} p > max { 2 r , r + ( r − 1 ) s } , there is a finite d d d with Ch ∣ B ∣ ( p − 1 ) d ( Pol ( T , S ) , P ) \operatorname{Ch}_{|B|^{(p-1)d}}(\operatorname{Pol}(T,S),\mathcal{P}) Ch ∣ B ∣ ( p − 1 ) d ( Pol ( T , S ) , P ) . If r r r itself is prime, the height can instead be ∣ B ∣ ( r − 1 ) |B|(r-1) ∣ B ∣ ( r − 1 ) .
Proof. We first construct a periodic sequence of length n = p − r n=p-r n = p − r with all its r r r -windows in T T T . Form a digraph on the tuples of T T T by joining ( a 1 , … , a r ) (a_1,\ldots,a_r) ( a 1 , … , a r ) to ( a 2 , … , a r , b ) (a_2,\ldots,a_r,b) ( a 2 , … , a r , b ) whenever the latter tuple belongs to T T T . The windows of the given sequence form a closed walk of length s s s . At the same starting tuple its successive rotations form a closed walk of length r r r . Choose 0 ≤ j < r 0 \leq j < r 0 ≤ j < r with j s ≡ n ( m o d r ) js \equiv n \pmod r j s ≡ n ( mod r ) . Since n > ( r − 1 ) s n>(r-1)s n > ( r − 1 ) s , concatenating j j j of the first walks and ( n − j s ) / r (n-js)/r ( n − j s ) / r of the second gives a closed walk of length n n n . Let a i a_i a i , indexed modulo n n n , be the first letter of its i i i -th tuple. Overlap of successive tuples gives ( a i , … , a i + r − 1 ) ∈ T (a_i,\ldots,a_{i+r-1}) \in T ( a i , … , a i + r − 1 ) ∈ T for all i i i .
For any r r r -ary relation U U U , put
V p ( U ) = { x : ( x j , x j + 1 , … , x j + r − 1 ) ∈ U for each j ∈ Z / p Z } , V_p(U)=\{x:(x_j,x_{j+1},\ldots,x_{j+r-1})\in U\text{ for each }j\in\mathbb{Z}/p\mathbb{Z}\}, V p ( U ) = { x : ( x j , x j + 1 , … , x j + r − 1 ) ∈ U for each j ∈ Z / p Z } ,
where x x x ranges over length-p p p words on the domain of U U U . Every p p p -letter window x = ( a i , … , a i + p − 1 ) x=(a_i,\ldots,a_{i+p-1}) x = ( a i , … , a i + p − 1 ) lies in V p ( T ) V_p(T) V p ( T ) . Ordinary r r r -windows inside it are legal by construction. A window crossing the end consists of the last k k k entries of x x x and its first r − k r-k r − k , for some 0 < k < r 0<k<r 0 < k < r . Since p ≡ r ( m o d n ) p\equiv r\pmod n p ≡ r ( mod n ) , these entries form a rotation of ( a i , … , a i + r − 1 ) (a_i,\ldots,a_{i+r-1}) ( a i , … , a i + r − 1 ) .
Align successive p p p -letter windows by placing the letter at position j j j in slot j m o d p j\bmod p j mod p . Consecutive tuples of V p ( T ) V_p(T) V p ( T ) now differ in at most one coordinate. After n n n steps the tuple is rotated by n n n places. Since gcd ( n , p ) = 1 \gcd(n,p)=1 g cd( n , p ) = 1 , repeating the walk gives a one-place rotation. Both V p ( T ) V_p(T) V p ( T ) and V p ( S ) V_p(S) V p ( S ) are cyclically invariant, the original homomorphism takes the first into the second, and V p ( S ) V_p(S) V p ( S ) contains no constant tuple. Apply Theorem 2.2 to this pair. Every polymorphism of ( T , S ) (T,S) ( T , S ) preserves the consecutive-window conjunction, hence belongs to Pol ( V p ( T ) , V p ( S ) ) \operatorname{Pol}(V_p(T),V_p(S)) Pol ( V p ( T ) , V p ( S )) . Restricting the certificate proves the claimed bound. Equivalently, replace each V p V_p V p -constraint by its p p p windows on the same variables. This fixed LOGSPACE replacement preserves both strong and weak solutions, including the values needed by the search decoder.
If r r r is prime, repeat the given word to a length congruent to one modulo r r r and apply Theorem 2.1 directly. This gives the height ∣ B ∣ ( r − 1 ) |B|(r-1) ∣ B ∣ ( r − 1 ) .
Lemma B.2 (A fixed colour count). Suppose every tuple of R ⊆ A r R \subseteq A^r R ⊆ A r has exactly k k k entries in a fixed set C ⊆ A C \subseteq A C ⊆ A , where 0 < k < r 0<k<r 0 < k < r . Then both decision and search for PCSP( R , N A E r [ q ] ) (R,\mathrm{NAE}_r[q]) ( R , NAE r [ q ]) , q ≥ 2 q \ge2 q ≥ 2 , are solvable in polynomial time, with two output colours.
For finite templates the decision statement also follows from the symmetric polymorphism criterion [18 Theorem 3.2] . For each n ≡ 1 ( m o d r ) n\equiv1\pmod r n ≡ 1 ( mod r ) , output 1 when more than n k / r nk/r nk / r inputs belong to C C C , and 0 otherwise. On n n n tuples of R R R the r r r column counts average n k / r nk/r nk / r , a noninteger, so some column gives each output. These symmetric polymorphisms have unbounded arity. The following proof also constructs the colouring.
Proof. For every input constraint e e e impose ∑ v ∈ e y v = 0 \sum_{v\in e} y_v=0 ∑ v ∈ e y v = 0 over Q \mathbb{Q} Q , counting repeated variables with their multiplicities. A strong colouring supplies a solution whose entries are r − k r-k r − k on C C C and $-k elsewhere. Conversely, any kernel vector with all coordinates nonzero has both signs on every constraint, so its signs give the required two-colouring.
Compute a rational kernel basis b 1 , … , b d b_1,\ldots,b_d b 1 , … , b d . If some coordinate is forced to zero, reject; such an input has no strong colouring. Otherwise, on n > 0 n > 0 n > 0 variables, one of the first n ( d − 1 ) + 1 n(d-1)+1 n ( d − 1 ) + 1 positive integers t t t makes every entry of ∑ j = 1 d t j b j \sum_{j=1}^{d} t^j b_j ∑ j = 1 d t j b j nonzero, since each coordinate polynomial excludes at most d − 1 d-1 d − 1 choices. Gaussian elimination and these evaluations have polynomial bit complexity. An input without variables is immediate.
Lemma B.3 (Distinct vertices). Let R → S ⊆ B r R \to S \subseteq B^r R → S ⊆ B r be a fixed finite promise template, with r ≥ 2 r \ge2 r ≥ 2 and B ≠ ∅ B \ne\varnothing B = ∅ . There is a LOGSPACE reduction from PCSP( R , S ) (R,S) ( R , S ) to its restriction to instances in which every constraint uses pairwise distinct variables, with a LOGSPACE search decoder.
Proof. Use the variable-copy construction of Brakensiek and Guruswami [23 Theorem 6.15] . Replace each vertex by q ( r − 1 ) + 1 q(r-1)+1 q ( r − 1 ) + 1 copies, where q = ∣ B ∣ q = |B| q = ∣ B ∣ . Replace each constraint by all versions using pairwise distinct copies in its ordered positions. Strong colourings extend by copying values. In a weak colouring, choose for each original vertex a colour occurring on at least r r r of its copies. Every original constraint can then be read on distinct copies of those colours. This construction and decoder use LOGSPACE for fixed parameters.
Constructions for smooth digraphs
The proof of Theorem 2.5 uses two constructions. First, a path power reduces one weak component to algebraic length one. We then construct a digraph D D D that both admits the cyclic certificate from Theorem 2.2 and maps to the given component after finitely many arc-digraph iterations.
Transferring hardness through arc digraphs
The palette bound is due to Harner and Entringer [15 ] . Its adjunction formulation is [4 Observation 4.14] . We give the decoder explicitly.
Lemma C.1. Let D D D , Q Q Q , B B B be finite nonempty digraphs with D D D smooth, B B B loopless, and δ ⃗ t D → Q → B \vec{\delta}^{\,t}D \to Q \to B δ t D → Q → B for some fixed t ≥ 0 t \ge0 t ≥ 0 . If PCSP ( D , K M ) \operatorname{PCSP}(D,K_M) PCSP ( D , K M ) is hard for every sufficiently large M M M , then PCSP ( Q , B ) \operatorname{PCSP}(Q,B) PCSP ( Q , B ) is hard. More precisely, a LOGSPACE reduction from 3-SAT with a LOGSPACE search decoder to each sufficiently large-palette problem transfers to PCSP ( Q , B ) \operatorname{PCSP}(Q,B) PCSP ( Q , B ) .
Proof. Choose n ≥ max ( 2 , ∣ V ( B ) ∣ , ∣ V ( D ) ∣ ) n \ge\max(2, |V(B)|, |V(D)|) n ≥ max ( 2 , ∣ V ( B ) ∣ , ∣ V ( D ) ∣ ) large enough, set n t = n n_t=n n t = n , and put n i = 2 n i + 1 n_i=2^{n_{i+1}} n i = 2 n i + 1 for i = t − 1 , … , 0 i=t-1,\ldots,0 i = t − 1 , … , 0 . If f : δ ⃗ X → K c f:\vec{\delta}X \to K_c f : δ X → K c , assign to each vertex v v v of X X X the set of colors on arcs leaving v v v . For an arc u → v u \to v u → v , its color belongs to the set at u u u and to none of the colors on arcs leaving v v v . The two sets therefore differ, giving X → K 2 c X \to K_{2^c} X → K 2 c . Together with X → D ⇒ δ ⃗ X → δ ⃗ D X \to D \Rightarrow\vec{\delta}X \to\vec{\delta}D X → D ⇒ δ X → δ D , this proves
PCSP ( D , K n 0 ) ≤ L PCSP ( δ ⃗ D , K n 1 ) ≤ L ⋯ \operatorname{PCSP}(D,K_{n_0}) \le_{\mathrm{L}} \operatorname{PCSP}(\vec{\delta}D,K_{n_1}) \le_{\mathrm{L}} \cdots PCSP ( D , K n 0 ) ≤ L PCSP ( δ D , K n 1 ) ≤ L ⋯
≤ L PCSP ( δ ⃗ t D , K n ) ≤ L PCSP ( Q , B ) . \le_{\mathrm{L}} \operatorname{PCSP}(\vec{\delta}^{\,t}D,K_n) \le_{\mathrm{L}} \operatorname{PCSP}(Q,B). ≤ L PCSP ( δ t D , K n ) ≤ L PCSP ( Q , B ) .
The last reduction is the identity, using δ ⃗ t D → Q \vec{\delta}^{\,t}D \to Q δ t D → Q and B → K n B \to K_n B → K n . All intermediate pairs are promise templates: from δ ⃗ t D → Q → B → K n \vec{\delta}^{\,t}D \to Q \to B \to K_n δ t D → Q → B → K n , the same color-set argument gives δ ⃗ i D → K n i \vec{\delta}^{\,i}D \to K_{n_i} δ i D → K n i for each i i i . To keep domains nonempty, each arc-digraph step may add an isolated vertex, which does not affect any homomorphism to the nonempty targets. All iteration counts and palettes are fixed. The instance maps enumerate walks of fixed length, and the decoder repeatedly takes outgoing color sets, so both use LOGSPACE.
:::
Reducing the algebraic length
Barto, Kozik and Niven [16, Lemma 5.1 and the proof of Theorem 3.1] use the same path power to obtain algebraic length one. We record the statement on a single cyclic class.
Lemma C.2 (Reduction of algebraic length). Let A A A be weakly connected and smooth with algebraic length d d d . Partition its vertices into classes V 0 , … , V d − 1 V_0,\ldots,V_{d-1} V 0 , … , V d − 1 using a map to C ⃗ d \vec{C}_d C d . Let P P P have vertex set V 0 V_0 V 0 and an arc for each pair joined in A A A by a directed walk of exactly d d d steps. Then P P P is weakly connected, smooth, and has algebraic length one.
Proof. For d = 1 d=1 d = 1 this is immediate. Suppose d > 1 d>1 d > 1 . Smoothness follows by taking d d d steps forwards and backwards. For x ∈ V j x \in V_j x ∈ V j , j > 0 j>0 j > 0 , let E ( x ) E(x) E ( x ) be the set of endpoints of ( d − j ) (d-j) ( d − j ) -step walks from x x x . They all lie in V 0 V_0 V 0 . Take a j j j -step walk from some z ∈ V 0 z \in V_0 z ∈ V 0 to x x x , using smoothness. Every y ∈ E ( x ) y \in E(x) y ∈ E ( x ) is a P P P -outneighbor of z z z . Thus these endpoints belong to a common weak component of P P P and have equal images in any homomorphism f : P → C ⃗ e f:P \to\vec{C}_e f : P → C e . Put E ( x ) = { x } E(x)=\{x\} E ( x ) = { x } on V 0 V_0 V 0 . For an arc x → x ′ x \to x' x → x ′ in A A A with x ∉ V 0 x \notin V_0 x ∈ / V 0 , the sets E ( x ) , E ( x ′ ) E(x),E(x') E ( x ) , E ( x ′ ) intersect. When x ∈ V 0 x \in V_0 x ∈ V 0 , x x x has a P P P -arc to every endpoint in E ( x ′ ) E(x') E ( x ′ ) . It follows from weak connectedness of A A A that P P P is weakly connected.
Given f : P → C ⃗ e f:P \to\vec{C}_e f : P → C e , define a map to Z d e \mathbb{Z}_{de} Z d e on A A A by putting F ( x ) = d f ( x ) F(x)=df(x) F ( x ) = df ( x ) on V 0 V_0 V 0 and
F ( x ) = d f ( y ) − ( d − j ) , x ∈ V j , j > 0 , y ∈ E ( x ) . F(x)=df(y)-(d-j), \qquad x \in V_j,\ j>0,\ y \in E(x). F ( x ) = df ( y ) − ( d − j ) , x ∈ V j , j > 0 , y ∈ E ( x ) .
It is well defined because all such f ( y ) f(y) f ( y ) agree. It advances by one on each arc. Inside the nonzero classes use a common endpoint. On entry to V 0 V_0 V 0 the endpoint is the vertex entered, and on departure from V 0 V_0 V 0 one has f ( y ) = f ( x ) + 1 f(y)=f(x)+1 f ( y ) = f ( x ) + 1 along the corresponding P P P -arc. Thus A → C ⃗ d e A\to\vec{C}_{de} A → C d e , forcing d e ∣ d de\mid d d e ∣ d , or e = 1 e=1 e = 1 . The algebraic length of P P P is therefore one.
Periodic walks and the auxiliary digraph
Fix a finite smooth weakly connected loopless digraph A A A of algebraic length one. Let L ≥ 2 L\ge2 L ≥ 2 be divisible by the lengths of all simple directed cycles of A A A . A track is an L L L -periodic directed walk c : Z → A c:\mathbb{Z}\to A c : Z → A . Write c ⇝ d c\rightsquigarrow d c ⇝ d if some bi-infinite directed walk in A A A agrees with c ( t ) c(t) c ( t ) for all sufficiently negative t t t and with d ( t ) d(t) d ( t ) for all sufficiently positive t t t . The same time coordinate t t t fixes the phase on both tracks.
Lemma C.3. For every track c c c and integer q q q , there is a zigzag of tracks from c ( t ) c(t) c ( t ) to c ( t − q ) c(t-q) c ( t − q ) in which consecutive tracks are related by ⇝ \rightsquigarrow ⇝ in one direction or the other.
Proof. Give F = A × C ⃗ L F=A\times\vec{C}_L F = A × C L the arcs ( x , r ) → ( y , r + 1 ) (x,r)\to(y,r+1) ( x , r ) → ( y , r + 1 ) for x → y x\to y x → y in A A A . This lift is weakly connected. In fact at a fixed vertex of A A A a closed signed walk of algebraic length one shifts the second coordinate by one, and such walks together with lifts of connecting walks reach every point of F F F .
Each track determines a directed cycle in F F F , comprising ( c ( t ) , t m o d L ) (c(t),t\bmod L) ( c ( t ) , t mod L ) . To find such a track in a strongly connected component of F F F containing a directed cycle, take a vertex ( x , r ) (x,r) ( x , r ) on that cycle. Its projection puts x x x on a positive closed walk, hence on some simple directed cycle through x x x . Traverse that simple cycle repeatedly for exactly L L L steps. The lifted closed walk is in the same component. Call these components recurrent.
For two specified tracks c , d c,d c , d , the condition c ⇝ d c\rightsquigarrow d c ⇝ d is equivalent to directed reachability from their respective recurrent components in F F F . In the forward direction lift the two-sided walk using the time coordinate. In the other direction find a directed path starting on the chosen c c c -orbit and ending on the chosen d d d -orbit, using strong connectivity inside the two components. The time coordinate increases by one on every edge. Extending the path to the left by c c c and to the right by d d d thus gives precisely the prescribed phases.
The recurrent components form a connected graph when comparable components are joined by an undirected edge. To see this, every vertex v v v of F F F has a recurrent predecessor and a recurrent successor, obtained by tracing walks backwards and forwards using smoothness. Every recurrent predecessor of v v v is comparable with every recurrent successor of v v v , so all these recurrent components belong to one connected class. An arc v → w v\to w v → w identifies the classes of v v v and w w w by comparing a recurrent predecessor of v v v with a recurrent successor of w w w . The assertion follows by weak connectedness of F F F . Apply it to the components containing the two specified tracks, with arbitrary tracks in intermediate recurrent components.
Fix a residue q ( m o d L ) q\pmod L q ( mod L ) containing arbitrarily large primes. Such a residue exists by infinitude of primes and the pigeonhole principle, and gcd ( q , L ) = 1 \gcd(q,L)=1 g cd( q , L ) = 1 . Choose a track c 0 c_0 c 0 , and use Lemma C.3 to obtain a zigzag with last term c h ( t ) = c 0 ( t − q ) c_h(t)=c_0(t-q) c h ( t ) = c 0 ( t − q ) . Record a sign for each step, according as its allowed transition follows the indexing order or goes against it. We may assume the sequence of signs alternates, including at the cyclic seam. Indeed, at any junction of equal signs, duplicate the intermediate track and insert a step of the opposite sign, using the periodic walk from the track to itself. At the last-to-first junction do the same with a duplicate of c 0 c_0 c 0 at the start, or of its shifted copy at the end. If needed insert further pairs of duplicates so h ≥ 4 h\ge4 h ≥ 4 . The result has even h h h and unchanged net displacement. Extend the tracks to all j ∈ Z j\in\mathbb{Z} j ∈ Z by c j + h ( t ) = c j ( t − q ) c_{j+h}(t)=c_j(t-q) c j + h ( t ) = c j ( t − q ) .
The auxiliary digraph. Define a finite digraph D D D with h h h distinct copies of C ⃗ L \vec{C}_L C L . Denote its vertices using
π ( j , z ) = ( j m o d h , z − ⌊ j / h ⌋ q m o d L ) ( j , z ∈ Z ) . \pi(j,z)=(j\bmod h,\ z-\lfloor j/h\rfloor q\bmod L)\qquad(j,z\in\mathbb{Z}). π ( j , z ) = ( j mod h , z − ⌊ j / h ⌋ q mod L ) ( j , z ∈ Z ) .
In particular π ( j + h , z ) = π ( j , z − q ) \pi(j+h,z)=\pi(j,z-q) π ( j + h , z ) = π ( j , z − q ) . There is always an arc π ( j , z ) → π ( j , z + 1 ) \pi(j,z)\to\pi(j,z+1) π ( j , z ) → π ( j , z + 1 ) . Write ϵ j = + 1 \epsilon_j=+1 ϵ j = + 1 at the transition between j − 1 j-1 j − 1 and j j j if its sign is forward, so that c j − 1 ⇝ c j c_{j-1}\rightsquigarrow c_j c j − 1 ⇝ c j . Write ϵ j = − 1 \epsilon_j=-1 ϵ j = − 1 otherwise, so that c j ⇝ c j − 1 c_j\rightsquigarrow c_{j-1} c j ⇝ c j − 1 . At each transition add, for every z z z ,
{ π ( j − 1 , z ) → π ( j , z + 1 ) , ϵ j = + 1 , π ( j , z ) → π ( j − 1 , z + 1 ) , ϵ j = − 1. \begin{cases}
\pi(j-1,z)\to\pi(j,z+1), & \epsilon_j=+1,\\
\pi(j,z)\to\pi(j-1,z+1), & \epsilon_j=-1.
\end{cases} { π ( j − 1 , z ) → π ( j , z + 1 ) , π ( j , z ) → π ( j − 1 , z + 1 ) , ϵ j = + 1 , ϵ j = − 1.
These definitions are consistent under j ↦ j + h j\mapsto j+h j ↦ j + h , z ↦ z + q z\mapsto z+q z ↦ z + q . In the alternating index ring, every index is a source or a sink for transitions between distinct tracks. A directed walk in D D D therefore changes tracks at most once. This generalizes the tambourine to an alternating ring of cycles with a phase change at the closing seam.
Recall that vertices of δ t X \delta^t X δ t X are directed walks of length t t t , with adjacency given by shifting one step along a walk of length t + 1 t+1 t + 1 .
Lemma C.4. For some fixed t t t , δ t D → A \delta^tD\to A δ t D → A .
Proof. On a two-sided D D D -walk without a switch, the state π ( j , z ) \pi(j,z) π ( j , z ) is read as the vertex c j ( z ) c_j(z) c j ( z ) . The phase convention makes this independent of the representation of the state. For each actual cross-edge e e e fix one two-sided A A A -walk W e W_e W e with the two required periodic tails, placing the D D D -edge e e e at times $0, 1. Such a walk exists by the oriented connection between the specified tracks and a common shift of their time parameter. For example, if e e e goes from π ( j − 1 , z ) \pi(j-1,z) π ( j − 1 , z ) to π ( j , z + 1 ) \pi(j,z+1) π ( j , z + 1 ) , the required tails are c j − 1 ( z + k ) c_{j-1}(z+k) c j − 1 ( z + k ) at time k ≪ 0 k\ll0 k ≪ 0 and c j ( z + k ) c_j(z+k) c j ( z + k ) at time k ≫ 0 k\gg0 k ≫ 0 . There are finitely many edges, so choose one T T T so large that all these walks already agree with the required tails at ∣ k ∣ ≥ T − 1 |k|\ge T-1 ∣ k ∣ ≥ T − 1 .
Decode a two-sided D D D -walk with its unique switch e e e at times u , u + 1 u,u+1 u , u + 1 by the translated walk W e ( k − u ) W_e(k-u) W e ( k − u ) at time k k k . If there is no switch use its periodic track. The value at time k k k depends only on the window [ k − T , k + T ] [k-T,k+T] [ k − T , k + T ] . A visible switch specifies its connector. If none is visible, the periodic value is correct. Every finite D D D -walk extends in both directions since its endpoints lie on directed cycles. Assign each length-2 T 2T 2 T walk the decoded value at its center. Consecutive length-2 T 2T 2 T walks extend to one common two-sided walk, so the assigned values form an A A A -arc. Take t = 2 T t=2T t = 2 T .
A cyclic relation gadget
Lemma C.5 (Cyclic relation gadget). For the digraph D D D constructed above and every M ≥ ∣ V ( D ) ∣ M\ge|V(D)| M ≥ ∣ V ( D ) ∣ , there are a prime p p p and a finite promise template ( R D , R K M ) (R_D,R_{K_M}) ( R D , R K M ) of arity p p p with the following properties:
(i) R D R_D R D is invariant under cyclic rotation and contains a tuple joined to its rotation by single-coordinate changes inside R D R_D R D ;
(ii) R K M R_{K_M} R K M contains no constant tuple;
(iii) a fixed gadget gives a LOGSPACE reduction PCSP ( R D , R K M ) ≤ L PCSP ( D , K M ) \operatorname{PCSP}(R_D,R_{K_M})\leq_L\operatorname{PCSP}(D,K_M) PCSP ( R D , R K M ) ≤ L PCSP ( D , K M ) , with a LOGSPACE decoder.
Proof. Set m = M + 1 m=M+1 m = M + 1 , λ = 2 L − 1 \lambda=2L-1 λ = 2 L − 1 and C = λ + 1 C=\lambda+1 C = λ + 1 . Pick P ≥ 4 C m + 2 λ + 2 P\ge4Cm+2\lambda+2 P ≥ 4 C m + 2 λ + 2 and a prime p ≡ q ( m o d L ) p\equiv q\pmod L p ≡ q ( mod L ) with p > h P p>hP p > h P . The gadget Y Y Y has vertices ( i , r ) (i,r) ( i , r ) , where 0 ≤ i < m 0\le i<m 0 ≤ i < m and r ∈ Z p r\in\mathbb{Z}_p r ∈ Z p , and arcs
( i , r ) ⟶ ( k , r − λ ) ( i < k ) . (i,r)\longrightarrow(k,r-\lambda)\qquad(i<k). ( i , r ) ⟶ ( k , r − λ ) ( i < k ) .
For any digraph B B B , define a p p p -ary relation R B R_B R B on B m B^m B m by taking precisely the p p p columns of every homomorphism Y → B Y \to B Y → B . The permutation r ↦ r + 1 r \mapsto r+1 r ↦ r + 1 shows cyclic invariance. A constant tuple in R K M R_{K_M} R K M would give a homomorphism from the transitive tournament on m m m rows to K M K_M K M , impossible as m = M + 1 m=M+1 m = M + 1 . A relation constraint can be replaced by its displayed arc gadget, with m m m vertices per variable. An assignment to the relation instance is exactly a homomorphism from the expanded digraph to B B B . This works for B = D B=D B = D and for B = K M B=K_M B = K M , hence gives the required reduction.
We construct a path to a rotation in R D R_D R D . Put u j = j P u_j=jP u j = j P for 0 ≤ j < h 0 \le j < h 0 ≤ j < h , extend by u j + h = u j + p u_{j+h}=u_j+p u j + h = u j + p , and for each row i i i set
b j ( i ) = u j − ϵ j C i , J i ( x ) = j when b j ( i ) ≤ x < b j + 1 ( i ) . b_j(i)=u_j-\epsilon_j C i,\qquad J_i(x)=j\quad\text{when }b_j(i)\le x<b_{j+1}(i). b j ( i ) = u j − ϵ j C i , J i ( x ) = j when b j ( i ) ≤ x < b j + 1 ( i ) .
The thresholds are strictly ordered and J i ( x + p ) = J i ( x ) + h J_i(x+p)=J_i(x)+h J i ( x + p ) = J i ( x ) + h . For any integer a a a define a labeling of Y Y Y by
w a ( i , r ) = π ( J i ( s − a ) , s ) , s ∈ Z , s ≡ r ( m o d p ) . w^a(i,r)=\pi\bigl(J_i(s-a),s\bigr),\qquad s\in\mathbb{Z},\qquad s\equiv r\pmod p. w a ( i , r ) = π ( J i ( s − a ) , s ) , s ∈ Z , s ≡ r ( mod p ) .
It is independent of the lift s s s , since adding p p p raises the track index by h h h and the phase by p ≡ q ( m o d L ) p\equiv q\pmod L p ≡ q ( mod L ) , which cancel under π \pi π .
Consider an arc from row i i i to row k > i k>i k > i and use the lifts s s s and s − λ s-\lambda s − λ . Its phases advance by one since − λ ≡ 1 ( m o d L ) -\lambda\equiv1\pmod L − λ ≡ 1 ( mod L ) . To decide which tracks are used, compare the two ordered arrays of thresholds b j ( i ) b_j(i) b j ( i ) and b j ( k ) + λ b_j(k)+\lambda b j ( k ) + λ at s − a s-a s − a . The possible motion of each threshold is confined to [ u j − C m , u j + C m + λ ] [u_j-Cm,u_j+Cm+\lambda] [ u j − C m , u j + C m + λ ] . These intervals are disjoint, so at most one threshold can change the index. Its displacement is
b j ( k ) + λ − b j ( i ) = λ − ϵ j C ( k − i ) . b_j(k)+\lambda-b_j(i)=\lambda-\epsilon_j C(k-i). b j ( k ) + λ − b j ( i ) = λ − ϵ j C ( k − i ) .
It is negative at a forward transition, allowing only a change from j − 1 j-1 j − 1 to j j j , and positive at a backward transition, allowing only a change from j j j to j − 1 j-1 j − 1 . Each possible change is an edge of D D D . Thus w a : Y → D w^a:Y\to D w a : Y → D for every a a a .
When a a a increases by one, the only columns that can change are r ≡ a + b j ( i ) ( m o d p ) r\equiv a+b_j(i)\pmod p r ≡ a + b j ( i ) ( mod p ) . For a fixed j j j , distinct such columns are at distance at least C > λ C>\lambda C > λ ; for different j j j , the cyclic gaps are also greater than λ \lambda λ . Consequently there is no Y Y Y -edge between two columns that change in this step. Changing those columns separately and in any order therefore preserves every edge, which keeps either its old assignment or its new one. This gives a reconfiguration inside R D R_D R D .
Choose a positive a a a with a ≡ 1 ( m o d p ) a\equiv1\pmod p a ≡ 1 ( mod p ) and a ≡ 0 ( m o d L ) a\equiv0\pmod L a ≡ 0 ( mod L ) . The Chinese remainder theorem applies. Now s − a s-a s − a lifts r − 1 r-1 r − 1 , and its phase equals that of s s s , so w a ( i , r ) = w 0 ( i , r − 1 ) w^a(i,r)=w^0(i,r-1) w a ( i , r ) = w 0 ( i , r − 1 ) . Concatenating the steps from 0 0 0 to a a a gives exactly the right rotation. This proves property (i). The map D → K M D\to K_M D → K M induces R D → R K M R_D\to R_{K_M} R D → R K M , so the pair is a promise template. The gadget has fixed size, and its decoder groups the m m m vertex colours belonging to each relation variable. This proves the LOGSPACE guarantees in (iii).
Proofs for the reduction criteria of Section 1
Exact lists and intersecting lists
Boolean conjunction separates ordinary from exact set-valued homomorphisms. Boolean majority separates exact set-valued homomorphisms from d d d -homomorphisms.
Example D.1 (A proper weakening). Let C 2 ( I ) \mathcal{C}_2(I) C 2 ( I ) consist of the Boolean functions f S ( x ) = ⋀ i ∈ S x i f_S(x)=\bigwedge_{i\in S}x_i f S ( x ) = ⋀ i ∈ S x i , where S ⊆ I S\subseteq I S ⊆ I and 1 ≤ ∣ S ∣ ≤ 2 1\leq|S|\leq2 1 ≤ ∣ S ∣ ≤ 2 . Since f S π = f π ( S ) f_S^\pi=f_{\pi(S)} f S π = f π ( S ) , these functions form a minion. The list assignment
ξ ( f S ) = { e i : i ∈ S } \xi(f_S)=\{e_i:i\in S\} ξ ( f S ) = { e i : i ∈ S } is an exact 2-set-valued homomorphism to P \mathcal{P} P . Binary conjunction is fixed by the transposition of its two coordinates. Neither binary projection is fixed, so there is no ordinary minion homomorphism to P \mathcal{P} P .
Example D.2 (Majority separates the two list conditions). Let T \mathcal{T} T be the minion generated by the Boolean majority function m ( x , y , z ) m(x,y,z) m ( x , y , z ) , which returns the value occurring at least twice. Every operation in T \mathcal{T} T is a projection or majority on three distinct coordinates. Selecting all essential coordinates gives a 3-homomorphism T → P \mathcal{T}\to\mathcal{P} T → P : a minor is nonconstant and every essential coordinate of the minor is the image of an essential coordinate of the original operation.
There is no exact set-valued homomorphism T → P \mathcal{T}\to\mathcal{P} T → P , for any finite bound. Such an exact set-valued homomorphism must send each projection e i e_i e i to { e i } \{e_i\} { e i } , since projections are minors of the unary projection. The invariance of m m m under all permutations forces its nonempty list to contain all three projections. Under the map π ( 1 ) = π ( 2 ) = 1 , π ( 3 ) = 2 \pi(1)=\pi(2)=1,\ \pi(3)=2 π ( 1 ) = π ( 2 ) = 1 , π ( 3 ) = 2 , that list has image { e 1 , e 2 } \{e_1,e_2\} { e 1 , e 2 } . But m π = e 1 m^\pi=e_1 m π = e 1 , whose list must be { e 1 } \{e_1\} { e 1 } , a contradiction.
Barto–Kozik homomorphisms
Barto and Kozik observed that ordinary minion homomorphisms compose on either side of a ( d , r ) (d,r) ( d , r ) -homomorphism and asked about composing two ( d , r ) (d,r) ( d , r ) -homomorphisms [5 footnote 3 after Definition 3] .
Proposition D.3 (Composition). The union composition of a ( d , r ) (d,r) ( d , r ) -Barto–Kozik homomorphism ξ \xi ξ and an ( e , s ) (e,s) ( e , s ) -Barto–Kozik homomorphism η \eta η has parameters ( d e , R ) (de,R) ( d e , R ) , where R = r ( d ( s − 1 ) + 1 ) R=r(d(s-1)+1) R = r ( d ( s − 1 ) + 1 ) .
Proof. Put χ = η ⋆ ξ \chi=\eta\star\xi χ = η ⋆ ξ . Suppose a source minor chain of R + 1 R+1 R + 1 operations has no χ \chi χ -compatible pair. Fix a position i i i and g ∈ ξ ( f i ) g\in\xi(f_i) g ∈ ξ ( f i ) . There are at most s − 1 s-1 s − 1 later positions j j j with g π i j ∈ ξ ( f j ) g^{\pi_{ij}}\in\xi(f_j) g π ij ∈ ξ ( f j ) . Otherwise g g g , followed by its images at s s s such positions, forms an actual minor chain in N \mathcal{N} N : all images come from the same g g g and the coordinate maps compose. Applying η \eta η to this minor chain produces a χ \chi χ -compatible pair, a contradiction.
Call j > i j>i j > i a neighbour of i i i if ξ ( f i ) π i j ∩ ξ ( f j ) ≠ ∅ \xi(f_i)^{\pi_{ij}}\cap\xi(f_j)\ne\varnothing ξ ( f i ) π ij ∩ ξ ( f j ) = ∅ . Each position has at most k = d ( s − 1 ) k=d(s-1) k = d ( s − 1 ) later neighbours. Select the earliest remaining position and delete it together with its later neighbours. Each selection removes at most k + 1 k+1 k + 1 positions. From r ( k + 1 ) + 1 r(k+1)+1 r ( k + 1 ) + 1 positions this gives at least r + 1 r+1 r + 1 selected positions with no compatible pair. The source subchain on these positions contradicts the ( d , r ) (d,r) ( d , r ) property of ξ \xi ξ . □ \square □
Example D.4 (Two layers are strictly more general than one). We use the minion Q \mathcal{Q} Q and its two-state selection from the project note [13 ] . Its elements are the following proper six-colorings.
Take an upward-closed family W ⊆ 2 I W \subseteq2^I W ⊆ 2 I satisfying A ∈ W ⟺ I ∖ A ∉ W A \in W \Longleftrightarrow I \setminus A \notin W A ∈ W ⟺ I ∖ A ∈ / W , and i ∈ I i \in I i ∈ I . Define f W , i : { 0 , 1 , 2 } I → { 0 , 1 , … , 5 } f_{W,i} : \{0,1,2\}^{I} \to\{0,1,\ldots,5\} f W , i : { 0 , 1 , 2 } I → { 0 , 1 , … , 5 } by
f W , i ( x ) = { a , { j : x j = a } ∈ W ( a ∈ { 0 , 1 , 2 } ) , 3 + x i , if no color class belongs to W . f_{W,i}(x)=
\begin{cases}
a, & \{j:x_j=a\}\in W\quad(a\in\{0,1,2\}),\\
3+x_i, & \text{if no color class belongs to }W.
\end{cases} f W , i ( x ) = { a , 3 + x i , { j : x j = a } ∈ W ( a ∈ { 0 , 1 , 2 }) , if no color class belongs to W .
Any two members of W W W intersect, so at most one color class belongs to W W W . Adjacent inputs cannot receive the same color in the first case; equal colors in the second case would force agreement at coordinate i i i . Thus f W , i f_{W,i} f W , i is proper. Its minors obey
f W , i π = f W π , π ( i ) , W π = { A ⊆ J : π − 1 ( A ) ∈ W } . f_{W,i}^{\pi}=f_{W^{\pi},\pi(i)},\qquad W^{\pi}=\{A\subseteq J:\pi^{-1}(A)\in W\}. f W , i π = f W π , π ( i ) , W π = { A ⊆ J : π − 1 ( A ) ∈ W } .
The family W π W^{\pi} W π has the same two properties as W W W , so Q \mathcal{Q} Q is a minion.
The family W W W is recovered from two-color inputs: the value on an input using only 0 , 1 0,1 0 , 1 is zero exactly when its zero set belongs to W W W . If W = { A ⊆ I : j ∈ A } W=\{A\subseteq I:j\in A\} W = { A ⊆ I : j ∈ A } for some j j j , then f W , i = e j f_{W,i}=e_j f W , i = e j . Otherwise the function determines i i i uniquely: any two distinct coordinates can be separated by a partition of I I I into three sets outside W W W , and the corresponding input distinguishes their functions. To construct such a partition when one coordinate i i i belongs to a minimal member A A A of W W W , use { i } , A ∖ { i } , I ∖ A \{i\}, A\setminus\{i\}, I\setminus A { i } , A ∖ { i } , I ∖ A . All three sets lie outside W W W : in particular, a singleton in W W W would force W W W to have the excluded form. If neither coordinate belongs to any minimal member of W W W , move the two coordinates into different parts of a partition just constructed. These moves preserve nonmembership in W W W , since they do not change which minimal members of W W W are contained in a part.
Select j j j for a projection e j e_j e j , and i i i for a nonprojection f W , i f_{W,i} f W , i . Assign these two cases states 0 and 1. States do not increase under minors, and selections transport exactly whenever states agree. In a two-arrow minor chain two adjacent states agree; hence B K 1 , 2 ( Q , P ) \mathrm{BK}_{1,2}(\mathcal{Q},\mathcal{P}) BK 1 , 2 ( Q , P ) holds.
Nevertheless there is no D D D -homomorphism Q → P \mathcal{Q}\to\mathcal{P} Q → P for any finite D D D , even if compatibility is tested only on surjective minors. Given proposed lists C C C , set m = D + 1 m=D+1 m = D + 1 , q = 4 D + 1 q=4D+1 q = 4 D + 1 , choose an m m m -ary projection e j e_j e j , and take f = f W , i f=f_{W,i} f = f W , i on [ q ] [q] [ q ] , where W = { A ⊆ [ q ] : ∣ A ∣ ≥ 2 D + 1 } W=\{A\subseteq[q]:|A|\ge2D+1\} W = { A ⊆ [ q ] : ∣ A ∣ ≥ 2 D + 1 } and i ∈ [ q ] i\in[q] i ∈ [ q ] is arbitrary. Choose b ∉ C ( e j ) b\notin C(e_j) b ∈ / C ( e j ) . Send C ( f ) C(f) C ( f ) to b b b , send D D D unmarked coordinates bijectively to [ m ] ∖ { j } [m]\setminus\{j\} [ m ] ∖ { j } , and send all remaining coordinates to j j j . This map π \pi π is onto, and at least 2 D + 1 2D+1 2 D + 1 source coordinates map to j j j . Therefore f π = e j f^{\pi}=e_j f π = e j , whereas π ( C ( f ) ) ∩ C ( e j ) = ∅ \pi(C(f))\cap C(e_j)=\varnothing π ( C ( f )) ∩ C ( e j ) = ∅ .
This separation is for the function minion Q \mathcal{Q} Q .
A separation at the Barto–Kozik condition
Example D.5 (A finite-template separation). Let ST be the Boolean minion generated by
g 2 m + 1 ( x 1 , … , x 2 m + 1 ) = 1 [ x 1 + ∑ j = 1 m 2 j ( x 2 j − x 2 j + 1 ) > 0 ] , m ≥ 0. g_{2m+1}(x_1,\ldots,x_{2m+1})=\mathbf{1}\left[x_1+\sum_{j=1}^{m}2^j(x_{2j}-x_{2j+1})>0\right],\qquad m\ge0. g 2 m + 1 ( x 1 , … , x 2 m + 1 ) = 1 [ x 1 + j = 1 ∑ m 2 j ( x 2 j − x 2 j + 1 ) > 0 ] , m ≥ 0.
Here 1 [ P ] \mathbf{1}[P] 1 [ P ] is one if the statement P P P holds and zero otherwise. Banakh and Kozik realize ST as the polymorphism minion of a finite Boolean promise template by naming both unary singletons [10 Theorem 3.8] . Their proof gives injective layered choice for ST [10, Observation 3.9 and the proof of Theorem 3.2 in Section 5.2]. Their hardness proof [10 Theorem 3.1 and Appendix B] uses smooth layered Label Cover. Theorem 1.15 gives a PCP-free reduction through the injective variant of the Barto–Kozik condition in § 3.6 . For every d , r d,r d , r , their counterexample to a ( d , r ) (d,r) ( d , r ) -Barto–Kozik homomorphism S T → P \mathrm{ST}\to\mathcal{P} ST → P uses only coordinate identifications, so it also excludes a surjective Barto–Kozik homomorphism [10 proof of Observation 3.7] .
Consistency reductions
We recall the level construction in Theorem 1.3 and the two properties of consistency reductions used in the comparison, namely closure under composition and their separation from the chain condition.
Definition D.6 (Levels of a minion [8 Definition 3.2] ). Fix a minion R \mathcal{R} R and k ≥ 1 k \ge1 k ≥ 1 . Choose a finite nonempty family E = ( E x ) x ∈ X \mathcal{E}=(E_x)_{x\in X} E = ( E x ) x ∈ X of finite nonempty sets. For j ≥ 0 j \ge0 j ≥ 0 and x ˉ = ( x 1 , … , x j ) ∈ X j \bar{x}=(x_1,\ldots,x_j)\in X^j x ˉ = ( x 1 , … , x j ) ∈ X j , put
E x ˉ = ∏ i = 1 j E x i ; E_{\bar{x}}=\prod_{i=1}^{j}E_{x_i}; E x ˉ = i = 1 ∏ j E x i ; the empty product is a singleton. Choose elements r x ˉ ∈ R ( E x ˉ ) r_{\bar{x}}\in\mathcal{R}(E_{\bar{x}}) r x ˉ ∈ R ( E x ˉ ) for x ˉ ∈ X k \bar{x}\in X^k x ˉ ∈ X k . For σ : [ k ] → [ k ] \sigma:[k]\to[k] σ : [ k ] → [ k ] , let
p x ˉ , σ : E x ˉ → E x ˉ ∘ σ , ( a 1 , … , a k ) ↦ ( a σ ( 1 ) , … , a σ ( k ) ) . p_{\bar{x},\sigma}:E_{\bar{x}}\to E_{\bar{x}\circ\sigma},\qquad(a_1,\ldots,a_k)\mapsto(a_{\sigma(1)},\ldots,a_{\sigma(k)}). p x ˉ , σ : E x ˉ → E x ˉ ∘ σ , ( a 1 , … , a k ) ↦ ( a σ ( 1 ) , … , a σ ( k ) ) . Require compatibility under reindexing,
r x ˉ ∘ σ = r x ˉ p x ˉ , σ ( x ˉ ∈ X k , σ : [ k ] → [ k ] ) . r_{\bar{x}\circ\sigma}=r_{\bar{x}}^{p_{\bar{x},\sigma}}\qquad(\bar{x}\in X^k,\ \sigma:[k]\to[k]). r x ˉ ∘ σ = r x ˉ p x ˉ , σ ( x ˉ ∈ X k , σ : [ k ] → [ k ]) . An I I I -ary element of the k k k -th level lvl k ( R ) \operatorname{lvl}_k(\mathcal{R}) lvl k ( R ) is a triple ( E , r , w ) (\mathcal{E},r,w) ( E , r , w ) , where w = ( w y ˉ ) y ˉ ∈ X k − 1 w=(w_{\bar{y}})_{\bar{y}\in X^{k-1}} w = ( w y ˉ ) y ˉ ∈ X k − 1 is obtained from some z ∈ X z\in X z ∈ X and β : E z → I \beta:E_z\to I β : E z → I by
w y ˉ = r ( z , y ˉ ) β × id E y ˉ ∈ R ( I × E y ˉ ) ( y ˉ ∈ X k − 1 ) . w_{\bar{y}}=r_{(z,\bar{y})}^{\beta\times\operatorname{id}_{E_{\bar{y}}}}\in\mathcal{R}(I\times E_{\bar{y}})\qquad(\bar{y}\in X^{k-1}). w y ˉ = r ( z , y ˉ ) β × id E y ˉ ∈ R ( I × E y ˉ ) ( y ˉ ∈ X k − 1 ) . The witnesses z , β z,\beta z , β are not part of the triple. For π : I → J \pi:I\to J π : I → J , define
( E , r , w ) π = ( E , r , w ′ ) , w y ˉ ′ = w y ˉ π × id E y ˉ . (\mathcal{E},r,w)^\pi=(\mathcal{E},r,w'),\qquad w'_{\bar{y}}=w_{\bar{y}}^{\pi\times\operatorname{id}_{E_{\bar{y}}}}. ( E , r , w ) π = ( E , r , w ′ ) , w y ˉ ′ = w y ˉ π × id E y ˉ . The fixed data ( E , r ) (\mathcal{E},r) ( E , r ) record a compatible table on products of k k k coordinate sets; taking minors changes only the distinguished coordinate set I I I . The witness for the π \pi π -minor is z , π ∘ β z,\pi\circ\beta z , π ∘ β , and the minor identities follow from those of R \mathcal{R} R .
Proposition D.7. For fixed templates and k k k , the map T k T_k T k is computable in polynomial time and satisfies X → A ⟹ T k ( X ) → C X\to A\Longrightarrow T_k(X)\to C X → A ⟹ T k ( X ) → C . If some surviving family F U F_U F U is empty, then T k ( X ) ↛ D T_k(X)\not\to D T k ( X ) → D .
Proof. The restrictions of a global A-solution survive pruning: they supply one another’s required restrictions and extensions, so none can be the first deleted assignment. Evaluation at these restrictions gives compatible maps C F U → C C^{F_U}\to C C F U → C , and hence a map from the quotient. If F U F_U F U is empty, the unique vertex of C F U C^{F_U} C F U belongs diagonally to every relation. Its image in D D D would have the same property, making every instance map constantly to D D D , contrary to the NO-instance assumption. There are polynomially many assignments in all families, and every pruning step deletes one. The tests, powers, and quotient can all be computed in polynomial time.
Logical characterization. A Datalog program is a finite collection of positive relational rules, without function symbols, evaluated by repeatedly adding all consequences until a fixed point is reached. A Datalog interpretation uses designated relations defined by Datalog programs as domains of tuples and as relations of an output relational structure. It may have finitely many sorts; a sort is a separately tagged domain, and each argument of a relation has a prescribed sort. A union step merges selected sorts by disjoint union and merges the corresponding relations by union. A Datalog-with-unions reduction is a Datalog interpretation followed by such a union step.
Theorem D.8 (Dalmau–Oršál). For finite promise templates, a consistency reduction exists if and only if a Datalog-with-unions reduction exists. The existence of a consistency reduction is reflexive and transitive.
The equivalence is [7 Theorem 3.12 and Corollary 3.13] . Transitivity follows from their composition theorem [7 Theorem 3.7] , and reflexivity follows from the identity interpretation.
Lemma D.9 (Small orbit). Suppose there is an i n j e c t i v e injective inj ec t i v e chain homomorphism M → N \mathcal{M} \to\mathcal{N} M → N of height h h h and list bound d d d when tested on s u r j e c t i v e surjective s u r j ec t i v e minor chains. If a finite group G G G of coordinate permutations fixes f ∈ M ( I ) f \in\mathcal{M}(I) f ∈ M ( I ) , then G G G has an orbit in N ( I ) \mathcal{N}(I) N ( I ) of size bounded in terms of h , d h,d h , d .
Proof. Choose n n n large enough for Lemma 1.18 with t = 2 t=2 t = 2 . Form a chain of n n n copies of f f f , choosing each arrow independently and uniformly in G G G . Every arrow is a bijection and hence is injective on every set of accumulated marks. Write b b b for the number of pairs of h h h -sets F < E F < E F < E among these positions. In every such chain some pair has matching entries, by the lemma applied to the lists in N ( I ) \mathcal{N}(I) N ( I ) with the minor maps given by its arrows.
Fix a pair F < E F < E F < E and fix every arrow except the one immediately after max F \max F max F . Both lists are then fixed. The composite from max F \max F max F to max E \max E max E is still uniform in G G G , so the image of each of the at most d d d entries on F F F is uniform on its orbit. If every orbit had size greater than b d 2 bd^2 b d 2 , the probability of hitting one of the at most d d d entries on E E E would be less than 1 / b 1/b 1/ b , even after summing over the entries on F F F . Summing over the b b b pairs would give probability less than one, a contradiction. □ \square □
Example D.10 (Consistency does not imply the chain condition). Let
H = ( { 0 , 1 } ; R ∧ , { 0 } , { 1 } ) , R ∧ = { ( x , y , z ) : x ∧ y = z } , H = Pol ( H ) . \mathbf{H} = (\{0,1\}; R_{\wedge}, \{0\}, \{1\}), \qquad R_{\wedge} = \{(x,y,z):x \wedge y=z\}, \qquad\mathcal{H} = \operatorname{Pol}(\mathbf{H}). H = ({ 0 , 1 } ; R ∧ , { 0 } , { 1 }) , R ∧ = {( x , y , z ) : x ∧ y = z } , H = Pol ( H ) . There is a 3-consistency reduction from CSP ( K 2 ) \operatorname{CSP}(K_2) CSP ( K 2 ) to CSP ( H ) \operatorname{CSP}(\mathbf{H}) CSP ( H ) . However, there is no chain homomorphism H → Pol ( K 2 ) \mathcal{H} \to\operatorname{Pol}(K_2) H → Pol ( K 2 ) . This remains true even if only surjective injective chains are tested, for any choice of bounded marks. This separation extends the symmetry argument of [7 Example C.9] .
Proof. The polymorphisms of H \mathbf{H} H are exactly the nonempty conjunctions. Indeed, preservation of meet makes the inverse image of one an upward-closed, meet-closed family of Boolean tuples. Preservation of the two unary relations makes it nonempty and excludes the zero tuple. On a finite Boolean cube it is therefore a principal filter generated by a nonzero tuple, which gives precisely a nonempty conjunction.
Suppose the 3-consistency procedure for two-coloring a graph has no empty family. Every surviving assignment to the endpoints of a walk, including one whose endpoints coincide, has the parity prescribed by its length. This follows by induction: extend it to the endpoints and the penultimate vertex, then restrict to the shorter walk and to the last edge. An odd cycle is therefore impossible, while a loop is detected by a local constraint. Thus a non-bipartite graph produces an empty family, whose zero power has both unary relations on its unique vertex and cannot map to H \mathbf{H} H . If the input graph X X X is bipartite, Proposition D.7 gives T 3 ( X ) → H T_3(X) \to\mathbf{H} T 3 ( X ) → H . This proves the reduction.
For the algebraic obstruction, take I = F 2 t I=\mathbb{F}_2^t I = F 2 t and let G G G be the group of translations of I I I . The conjunction of all coordinates is fixed by G G G . The operations of Pol ( K 2 ) ( I ) \operatorname{Pol}(K_2)(I) Pol ( K 2 ) ( I ) are exactly the self-dual Boolean functions, namely those satisfying g ( ¬ x ) = 1 − g ( x ) g(\neg x)=1-g(x) g ( ¬ x ) = 1 − g ( x ) . Every nonidentity translation τ \tau τ is a fixed-point-free involution. Choose x ∈ { 0 , 1 } I x \in\{0,1\}^{I} x ∈ { 0 , 1 } I with opposite bits at the two coordinates of each τ \tau τ -pair. For every self-dual g g g ,
g τ ( x ) = g ( ¬ x ) = 1 − g ( x ) ≠ g ( x ) . g^\tau(x)=g(\neg x)=1-g(x)\ne g(x). g τ ( x ) = g ( ¬ x ) = 1 − g ( x ) = g ( x ) . Consequently every G G G -orbit in Pol ( K 2 ) ( I ) \operatorname{Pol}(K_2)(I) Pol ( K 2 ) ( I ) has size 2 t 2^t 2 t . An injective chain homomorphism on these surjective chains would force an orbit of bounded size by Lemma D.9 . Taking t t t large enough gives a contradiction. □ \square □
Logspace construction and decoding
Proposition D.11 (LOGSPACE implementation). For fixed finite templates and k k k , the unpruned local-power construction T ~ k \widetilde{T}_k T k of Definition 1.14 is computable in LOGSPACE. For the coloring application, replacing a quotient with a loop by K n + 1 K_{n+1} K n + 1 preserves this bound.
Proof. Let N N N be the input length. Since the templates and k k k are fixed, each U U U can be stored in O ( log N ) O(\log N) O ( log N ) space, and ∣ F U ∣ ≤ ∣ A ∣ k |F_U| \leq|A|^k ∣ F U ∣ ≤ ∣ A ∣ k is a constant. Enumerate the assignments on U U U and check each against the input constraints by rescanning the input. This enumerates F U F_U F U , detects empty families, and computes each restriction map in logspace. Each power C F U \mathbf{C}^{F_U} C F U has constant size, so the disjoint union, its relations, and the generating identifications can also be enumerated in logspace.
Regard the generating identifications as edges of an undirected graph on this disjoint union. The graph has polynomially many vertices and logspace-computable adjacency. Two vertices are identified precisely when they are connected. Reingold’s theorem [9 Theorem 4.1] decides this in logspace. Represent each component by its least vertex in the enumeration; scanning candidate vertices and testing connectivity computes that representative in logspace. We can therefore output the quotient vertices and relation tuples in logspace, suppressing duplicate tuples by enumeration if required. The output has polynomial size. This proves the asserted bound on the instance map.
For the coloring application, a quotient has a loop precisely when some edge of the disjoint union has both endpoints in one equality component. Enumerate the edges and use the same connectivity test to detect this in logspace, before producing the output. The fixed NO instance K n + 1 K_{n+1} K n + 1 can then be output whenever required.
Lemma D.12 (Finite matrix alternative). Let M M M be a finite zero–one matrix with nonempty sets of rows and columns, and 0 < δ < 1 0 < \delta< 1 0 < δ < 1 . One can find either a distribution on the rows giving the ones in every column mass less than δ \delta δ , or a distribution on the columns giving the ones in every row mass at least δ / 4 \delta/4 δ /4 . For fixed rational δ \delta δ this takes polynomial time.
Proof. Give each of the N N N rows weight one. In a fixed order, take the first column whose ones have at least a δ \delta δ fraction of the total weight. Record it and double the weights of the rows where it has a zero. If no column qualifies, normalize the row weights and stop. Otherwise run for H = ⌈ 4 / δ ⌉ ⌈ log 2 ( 2 N ) ⌉ H = \lceil4/\delta\rceil\lceil\log_2(2N)\rceil H = ⌈ 4/ δ ⌉ ⌈ log 2 ( 2 N )⌉ rounds. The total final weight is at most N ( 2 − δ ) H N(2-\delta)^H N ( 2 − δ ) H . A row having ones in a of the recorded columns has weight 2 H − a 2^{H-a} 2 H − a . Therefore
a ln 2 ≥ − H ln ( 1 − δ / 2 ) − ln N ≥ H δ / 2 − ln N ≥ H δ / 4. a\ln2 \geq-H\ln(1-\delta/2)-\ln N \geq H\delta/2-\ln N \geq H\delta/4. a ln 2 ≥ − H ln ( 1 − δ /2 ) − ln N ≥ H δ /2 − ln N ≥ H δ /4. The uniform distribution on the recorded columns, with repetitions, has the required mass in every row. The weights have O ( H ) O(H) O ( H ) bits.
The ordinary two-level theorem.
Proof of Theorem 1.10 . We use the argument of Barto and Kozik [6 Section 3.1] . Allow separate bounds u , ℓ u,\ell u , ℓ on the upper lists J J J and lower lists K K K . Fix m m m and induct lexicographically on ( ℓ , u ) (\ell,u) ( ℓ , u ) , always taking n = p n=p n = p . For u = ℓ = 1 u=\ell=1 u = ℓ = 1 take p = 2 m p=2m p = 2 m , q = m q=m q = m . Any two lower scopes lie in a common upper scope, so their unique entries agree on the intersection. They glue to an m m m -solution of K K K .
Otherwise take arities ( a , b ) (a,b) ( a , b ) for upper and lower bounds ( ℓ , 1 ) (\ell,1) ( ℓ , 1 ) , and ( s , t ) (s,t) ( s , t ) for ( u − 1 , ℓ ) (u-1,\ell) ( u − 1 , ℓ ) if u > 1 u>1 u > 1 . Set s = t = 1 s=t=1 s = t = 1 if u = 1 u=1 u = 1 . The first call has rank ( 1 , ℓ ) (1,\ell) ( 1 , ℓ ) , which is smaller even when ℓ = 1 \ell=1 ℓ = 1 because then u > 1 u>1 u > 1 . The second call decreases u u u . Put
q = a + ( a b ) t , M = ( s t ) q , p = 1 + max { s , q + ℓ M } . q=a+\binom{a}{b}t,\qquad M=\binom{s}{t}q,\qquad p=1+\max\{s,q+\ell M\}. q = a + ( b a ) t , M = ( t s ) q , p = 1 + max { s , q + ℓ M } .
Suppose every b b b -set W W W has a tuple z W z_W z W and a t t t -set Y W Y_W Y W such that z W ∈ K ( Z ) ∣ W z_W \in K(Z)|_W z W ∈ K ( Z ) ∣ W whenever Z Z Z is a q q q -set containing W ∪ Y W W \cup Y_W W ∪ Y W . For each a a a -set X X X , choose a q q q -set Z X Z_X Z X containing X X X and all Y W Y_W Y W for W ∈ P b ( X ) W \in\mathcal{P}_b(X) W ∈ P b ( X ) . The upper lists K ( Z X ) ∣ X K(Z_X)|_X K ( Z X ) ∣ X and lower singletons { z W } \{z_W\} { z W } have ordinary overlap. All their entries are restrictions of entries of K K K , so induction gives an m m m -solution of K K K .
Otherwise fix a b b b -set W W W where every tuple can be avoided above every prescribed t t t -set. Choose a q q q -set Z 0 ⊇ W Z_0 \supseteq W Z 0 ⊇ W . Some z ∈ K ( Z 0 ) ∣ W z \in K(Z_0)|_W z ∈ K ( Z 0 ) ∣ W has the following property. For every set T T T of at most M M M variables, some p p p -set U ⊇ W ∪ T U \supseteq W \cup T U ⊇ W ∪ T has z ∈ J ( U ) ∣ W z \in J(U)|_W z ∈ J ( U ) ∣ W . Indeed, if every candidate z z z had a blocking set T z T_z T z , a p p p -set containing Z 0 Z_0 Z 0 and all the T z T_z T z would contradict ordinary overlap at Z 0 Z_0 Z 0 .
For each t t t -set Y Y Y choose a q q q -set Z Y ⊇ W ∪ Y Z_Y \supseteq W \cup Y Z Y ⊇ W ∪ Y with z ∉ K ( Z Y ) ∣ W z \notin K(Z_Y)|_W z ∈ / K ( Z Y ) ∣ W . For each s s s -set X X X , the union of the Z Y Z_Y Z Y over Y ∈ P t ( X ) Y \in\mathcal{P}_t(X) Y ∈ P t ( X ) contains X X X and has at most M M M variables. Choose a p p p -set U X U_X U X containing that union with z ∈ J ( U X ) ∣ W z \in J(U_X)|_W z ∈ J ( U X ) ∣ W . Delete from J ( U X ) J(U_X) J ( U X ) all entries restricting to z z z on W W W , then restrict the survivors to X X X . For every Y ∈ P t ( X ) Y \in\mathcal{P}_t(X) Y ∈ P t ( X ) , ordinary overlap gives an upper entry matching an entry of K ( Z Y ) K(Z_Y) K ( Z Y ) on Z Y Z_Y Z Y . It survives because K ( Z Y ) ∣ W K(Z_Y)|_W K ( Z Y ) ∣ W avoids z z z . Thus the new upper lists are nonempty, have size at most u − 1 u - 1 u − 1 , and have ordinary overlap with K ( Z Y ) ∣ Y K(Z_Y)|_Y K ( Z Y ) ∣ Y . For u = 1 u = 1 u = 1 a survivor is impossible. Otherwise induction gives an m m m -solution that lifts to the original system supplying its entries.
On finite explicit input, break ties by input order. A candidate forced tuple on W W W can be enumerated among restrictions of lower entries on scopes containing W W W . Every other test scans fixed-size sets and list entries. Store variable indices and pointers to value names, comparing names by rescanning the input. Regenerate the derived lists on demand. The induction depth and all arities are fixed, so outputting the chosen system and the assignment one variable at a time takes logarithmic work space [6 Appendix B] . □ \square □
The empty-mark case of Theorem 1.16. Under ordinary chain consistency the two children at a split can be joined by deterministic choices. We give the size bounds and choices here; they preserve the ordinary theorem for arbitrary value sets and the logspace bound for finite explicit input. For h = 1 h = 1 h = 1 use Theorem 1.10 . For h ≥ 2 h \ge2 h ≥ 2 take the full binary tree of the height excluded by the matching argument in § 3.8.1 . Prescribe sizes recursively at a node with minimum size k k k and a required set of at most ℓ \ell ℓ variables. Start with k = a k = a k = a and ℓ = 0 \ell= 0 ℓ = 0 . At a leaf use h h h consecutive sizes with smallest size max ( k , ℓ ) \max(k,\ell) max ( k , ℓ ) . If each child has m m m positions, use Theorem 1.10 with list bound d h ( m ) d_h^{(m)} d h ( m ) to obtain sizes p > q p > q p > q and a threshold n n n . Prescribe the lower child with minimum size k k k and budget ℓ + q \ell+ q ℓ + q . If its largest size is k D k_D k D , prescribe the upper child with minimum size k D + 1 k_D + 1 k D + 1 and budget p + ( q k D ) p + \binom{q}{k_D} p + ( k D q ) . Take the threshold for ∣ V ∣ |V| ∣ V ∣ to be at least the largest prescribed size and every n n n so obtained.
Choose a node of least height for which some set Z Z Z within its budget cannot be retained throughout a block. Such a node exists since no root block exists, and every leaf can retain its required set. For every q q q -set X X X , its lower child admits a block D X D_X D X retaining X ∪ Z X \cup Z X ∪ Z . For every p p p -set T T T , its upper child admits a block U T U_T U T retaining T ∪ ⋃ X ∈ P q ( T ) max D X T \cup\bigcup_{X \in\mathcal{P}_q(T)} \max D_X T ∪ ⋃ X ∈ P q ( T ) max D X . At X ⊆ T X \subseteq T X ⊆ T the concatenation U T D X U_TD_X U T D X retains Z Z Z and has the prescribed sizes. Some upper face therefore matches a lower face. Restrict all upper face entries to T T T to form J ( T ) J(T) J ( T ) , and all lower face entries to X X X to form K ( X ) K(X) K ( X ) . These lists meet the hypotheses of Theorem 1.10 . All these choices also work on an infinite variable set.
For finite explicit input, the tree and all size bounds depend only on a , h , d a,h,d a , h , d . Enumerate nodes by increasing height, from left to right at each height. For each node enumerate the permitted sets Z Z Z , and for each Z Z Z enumerate the decreasing chains of the prescribed sizes whose smallest member contains Z Z Z . Use lexicographic order on sets and chains, using the input indices of the variables. To test whether a candidate is a block, inspect each of its internal splits. For each pair of h h h -faces on opposite sides, scan their lists for entries agreeing on the smaller domain. A chain is a block exactly when no such pair matches at any split. This finds the first node and Z Z Z for which no candidate is a block.
For this node and Z Z Z , use the first qualifying lower block D X D_X D X for each X X X . On a query for U T U_T U T , recompute the D X D_X D X for X ∈ P q ( T ) X \in P_q(T) X ∈ P q ( T ) to form the required padding set, then take the first qualifying upper block. Generate J ( T ) J(T) J ( T ) and K ( X ) K(X) K ( X ) by restricting their face-list entries, suppressing duplicates by rescanning earlier entries. Each chain and padding set contains a bounded number of variables. Storing their input indices and pointers to value names, and comparing names by rescanning, uses O ( log N ) O(\log N) O ( log N ) space. The two families of lists have polynomial total size. Simulate the decoder of Theorem 1.10 on these lists, regenerating its input symbols on demand, to output a solution in O ( log N ) O(\log N) O ( log N ) space.
Proof of the LOGSPACE decoding claim in Theorem 1.15. For the ordinary chain homomorphism, the input consists of X X X and an explicitly represented homomorphism q : T ~ k ( X ) → D q : \widetilde{T}_k(X) \to D q : T k ( X ) → D . For each bounded set U U U , enumerate F U F_U F U in a fixed order. Each table f U f_U f U is obtained by evaluating q q q on the corresponding quotient representatives, which are computable in LOGSPACE by Proposition D.11 . The finite templates and k k k bound all these table sizes by a constant. The values of Ξ \Xi Ξ on the resulting bounded minor chains can therefore be fixed in the algorithm. Evaluating b g b_g b g as in the main proof gives LOGSPACE query access to each L ( C ) L(C) L ( C ) . Simulate the reconstruction algorithm just proved on the polynomial-size explicit encoding of these lists, regenerating requested symbols in LOGSPACE. This gives the required search reduction with a LOGSPACE search decoder. If ∣ X ∣ < N 0 ≤ k |X| < N_0 \le k ∣ X ∣ < N 0 ≤ k , enumerate the bounded set F X F_X F X instead and output the first member composed with a fixed promise homomorphism A → B \mathbf{A} \to\mathbf{B} A → B .
Surjective variants
In this section we prove the implications in the right panel of the diagram in § 3 . Consistency pruning makes the restriction maps between surviving local solutions surjective.
Surjective-minor homomorphisms and arc-consistency construction
Definition E.1 (Surjective-minor homomorphism). A surjective-minor homomorphism ξ : M → N \xi:\mathcal{M}\to\mathcal{N} ξ : M → N is an arity-preserving map satisfying
ξ ( f π ) = ξ ( f ) π whenever π : I → J . \xi(f^\pi)=\xi(f)^\pi\qquad\text{whenever }\pi:I\to J. ξ ( f π ) = ξ ( f ) π whenever π : I → J . The adjective refers to the coordinate map π \pi π ; no surjectivity of ξ \xi ξ is required.
To express surjective preservation as ordinary minor preservation, record a set of coordinates on which each operation is represented. An arbitrary coordinate map is surjective onto the image of this recorded set.
Definition E.2 (The minion ω ( M ) \omega(\mathcal{M}) ω ( M ) ). For a minion M \mathcal{M} M , define
ω ( M ) ( I ) = { ( S , f ) : ∅ ≠ S ⊆ I , f ∈ M ( S ) } , ( S , f ) π = ( π ( S ) , f π ∣ S ) . (16) \omega(\mathcal{M})(I)=\{(S,f):\varnothing\ne S\subseteq I,\ f\in\mathcal{M}(S)\},\qquad(S,f)^\pi=(\pi(S),f^{\pi|_S}). \tag*{(16)} ω ( M ) ( I ) = {( S , f ) : ∅ = S ⊆ I , f ∈ M ( S )} , ( S , f ) π = ( π ( S ) , f π ∣ S ) . (16) In this formula π ∣ S : S → π ( S ) \pi|_S:S\to\pi(S) π ∣ S : S → π ( S ) is surjective. The set S S S is the support of the element ( S , f ) (S,f) ( S , f ) . The support is specified as part of the element, even when f f f has dummy coordinates.
The minor identities for ω ( M ) \omega(\mathcal{M}) ω ( M ) follow immediately from those for M \mathcal{M} M . This is the construction of [7 ] , Definition 5.4.
The corresponding arc-consistency construction retains possible values at each variable and possible tuples at each constraint, then glues the associated powers. Given an input X \mathbf{X} X , start with F v = A F_v=A F v = A for every variable v v v . For each constraint c = ( R , v 1 , … , v m ) c=(R,v_1,\ldots,v_m) c = ( R , v 1 , … , v m ) put
E c = R A ∩ ( F v 1 × ⋯ × F v m ) . E_c=R^{A}\cap(F_{v_1}\times\cdots\times F_{v_m}). E c = R A ∩ ( F v 1 × ⋯ × F v m ) .
Repeatedly replace each F v i F_{v_i} F v i by its intersection with the i i i -th coordinate projection of E c E_c E c , and recompute the sets E c E_c E c , until no set changes. In the resulting relational structure, take a copy of C F v \mathbf{C}^{F_v} C F v for each v v v and a copy of C E c \mathbf{C}^{E_c} C E c for each constraint c c c . For every coordinate projection ρ c , i : E c → F v i \rho_{c,i}:E_c\to F_{v_i} ρ c , i : E c → F v i , identify x ∈ C F v i x\in C^{F_{v_i}} x ∈ C F v i with x ∘ ρ c , i ∈ C E c x\circ\rho_{c,i}\in C^{E_c} x ∘ ρ c , i ∈ C E c . Relations in the quotient are the images of the relations in these powers. This is the arc-consistency construction of [7 ] , Definition 5.1.
Theorem E.3 (Dalmau–Opršal). The arc-consistency construction is a reduction in (1) if and only if there is a surjective-minor homomorphism M → N \mathcal{M}\to\mathcal{N} M → N .
Dalmau–Opršal [7 Theorem 5.5] characterize the construction by Hom ( ω ( M ) , N ) \operatorname{Hom}(\omega(\mathcal{M}),\mathcal{N}) Hom ( ω ( M ) , N ) . Proposition E.7 below translates their condition.
Example E.4 (Preserving surjective minors). Let T \mathcal{T} T be the majority minion of Example D.2 . The map f ↦ ( I , f ) f\mapsto(I,f) f ↦ ( I , f ) from T ( I ) \mathcal{T}(I) T ( I ) to ω ( T ) ( I ) \omega(\mathcal{T})(I) ω ( T ) ( I ) preserves surjective minors. Suppose there were an ordinary minion homomorphism T → ω ( T ) \mathcal{T}\to\omega(\mathcal{T}) T → ω ( T ) . Every operation is a minor of ternary majority, so every image would have support of size at most three. Taking these supports as coordinate lists would give an exact 3-set-valued homomorphism to P \mathcal{P} P , since a minor sends a support S S S to π ( S ) \pi(S) π ( S ) . This contradicts Example D.2 .
Surjective Barto–Kozik homomorphisms
Definition E.5. A surjective ( d , r ) (d,r) ( d , r ) -Barto–Kozik homomorphism has the lists of Definition 1.7 and requires (4) for every surjective minor chain of r r r arrows. Write B K d , r s u r j ( M , N ) \mathrm{BK}^{\mathrm{surj}}_{d,r}(\mathcal{M},\mathcal{N}) BK d , r surj ( M , N ) for existence of such a map, and B K s u r j ( M , N ) \mathrm{BK}^{\mathrm{surj}}(\mathcal{M},\mathcal{N}) BK surj ( M , N ) if some finite d , r d,r d , r suffice.
Every Barto–Kozik homomorphism restricts to surjective chains. With d = r = 1 d=r=1 d = r = 1 the condition is exactly preservation of surjective minors, since intersecting singletons are equal. Example D.4 gives a surjective ( 1 , 2 ) (1,2) ( 1 , 2 ) -Barto–Kozik homomorphism to P \mathcal{P} P and rules out every one-arrow bound, already using surjections. For finite templates B K s u r j ( M , N ) \mathrm{BK}^{\mathrm{surj}}(\mathcal{M},\mathcal{N}) BK surj ( M , N ) implies a consistency reduction by [7 Corollary C.6] and Proposition E.7.
Surjective chain homomorphisms
Definition E.6 (Surjective chain homomorphism ). A surjective ( h , d ) (h,d) ( h , d ) -chain homomorphism assigns lists as in Definition 1.13 to surjective minor chains with h h h operations. The surjective chain condition requires the transported face lists to intersect on every surjective minor chain with h + 1 h+1 h + 1 operations. Write C h h , d s u r j ( M , N ) \mathrm{Ch}^{\mathrm{surj}}_{h,d}(\mathcal{M},\mathcal{N}) Ch h , d surj ( M , N ) for its existence, and C h s u r j ( M , N ) \mathrm{Ch}^{\mathrm{surj}}(\mathcal{M},\mathcal{N}) Ch surj ( M , N ) if some finite h , d h,d h , d suffice.
The injective variant uses one choice of bounded coordinate marks and tests the intersection on every chain that is both surjective and injective. For a single-output rule, exact lists, intersecting lists, or a Barto–Kozik homomorphism the same two restrictions apply to the respective defining condition.
Every chain homomorphism restricts to surjective minor chains. One support construction describes all three conditions.
Proposition E.7 (Support translation ). For each of the five rows of the diagram in § 3 , with or without the injectivity requirement, the surjective version from M \mathcal{M} M to N \mathcal{N} N exists if and only if the unrestricted version from ω ( M ) \omega(\mathcal{M}) ω ( M ) to N \mathcal{N} N exists, with the same list, height and mark bounds, where applicable.
Proof. For a surjection π : I → J \pi:I\to J π : I → J we have ( I , f ) π = ( J , f π ) (I,f)^\pi=(J,f^\pi) ( I , f ) π = ( J , f π ) . Thus a rule on ω ( M ) \omega(\mathcal{M}) ω ( M ) gives the surjective rule on M \mathcal{M} M by using full supports.
Conversely, replace each input ( S , f ) ∈ ω ( M ) ( I ) (S,f)\in\omega(\mathcal{M})(I) ( S , f ) ∈ ω ( M ) ( I ) by f ∈ M ( S ) f\in\mathcal{M}(S) f ∈ M ( S ) . On a chain restrict each arrow π \pi π to π ∣ S : S → π ( S ) \pi|_S:S\to\pi(S) π ∣ S : S → π ( S ) , which is surjective. Apply the given rule to these inputs. If the last support is S ⊆ I S\subseteq I S ⊆ I , take the minor of each output along the inclusion ι S : S ↪ I \iota_S:S\hookrightarrow I ι S : S ↪ I . Since π ∘ ι S = ι π ( S ) ∘ ( π ∣ S ) \pi\circ\iota_S=\iota_{\pi(S)}\circ(\pi|_S) π ∘ ι S = ι π ( S ) ∘ ( π ∣ S ) , extending by inclusion commutes with transport. It preserves the defining equality for single outputs, the witness for a compatible pair of operation lists, and the common entry for all face lists of a chain. It also carries equality of exact lists to equality of their images. For the injective variants, give ( S , f ) (S,f) ( S , f ) the marks of f f f viewed as elements of I I I via S ↪ I S\hookrightarrow I S ↪ I . The accumulated marks at each position are exactly the images of those on the restricted chain. A chain satisfying the test in I I I therefore satisfies it on the supports. In the converse direction take the marks at full supports. Inclusions preserve the mark bounds, and list sizes cannot increase. □ \square □
Apply Proposition F.1 to ω ( M ) \omega(\mathcal{M}) ω ( M ) and use the support translation. A surjective ( d , r ) (d,r) ( d , r ) -Barto–Kozik homomorphism gives a surjective ( r , r d ) (r,rd) ( r , r d ) -chain homomorphism. Height one gives the one-arrow condition, and singleton lists at any height give precisely the surjective-minor homomorphisms.
Theorem E.8 (Surjective chain-homomorphism reduction ). For the finite templates in (1), if there is a homomorphism on injective chains from M \mathcal{M} M to N \mathcal{N} N with the test restricted to surjective minor chains, then a consistency reduction exists with a polynomial-time search decoder.
Proof. Use the pruned construction T k T_k T k from Definition 1.2 , with the size chosen in Theorem 1.15. Proposition D.7 gives completeness, handles empty families, and bounds the construction time. The surviving families satisfy (2), so their restriction maps are surjective. Apply the soundness argument of Theorem 1.15 to these families: all induced minor chains are now surjective, so the hypothesis gives the required face intersections on the injective chains. The marks are still local assignments on the current scope. Theorem 1.16 therefore reconstructs a solution in polynomial time, including the time to obtain the pruned families.
The converse fails for finite templates by Example D.10 .
Comparison and composition of chain homomorphisms
Proposition F.1 (From Barto–Kozik to chain homomorphisms). For positive parameters,
B K d , r ( M , N ) ⟹ C h r , r d ( M , N ) , C h 1 , d ( M , N ) ⟺ B K d , 1 ( M , N ) , C h h , 1 ( M , N ) ⟺ Hom ( M , N ) . \begin{aligned}
\mathrm{BK}_{d,r}(\mathcal{M},\mathcal{N}) &\Longrightarrow\mathrm{Ch}_{r,rd}(\mathcal{M},\mathcal{N}),\\
\mathrm{Ch}_{1,d}(\mathcal{M},\mathcal{N}) &\Longleftrightarrow\mathrm{BK}_{d,1}(\mathcal{M},\mathcal{N}),\\
\mathrm{Ch}_{h,1}(\mathcal{M},\mathcal{N}) &\Longleftrightarrow\operatorname{Hom}(\mathcal{M},\mathcal{N}).
\end{aligned} BK d , r ( M , N ) Ch 1 , d ( M , N ) Ch h , 1 ( M , N ) ⟹ Ch r , r d ( M , N ) , ⟺ BK d , 1 ( M , N ) , ⟺ Hom ( M , N ) . The same three implications hold for the injective variants , with the same bound on coordinate marks . Precomposition and postcomposition by ordinary minion homomorphisms preserve the parameters of a chain homomorphism.
Proof. Given BK vertex lists , put on a minor chain with r r r operations the union of its r r r lists, transported to its end. On a minor chain with ( r + 1 ) (r+1) ( r + 1 ) operations, the compatible pair has a common terminal image. Every r r r -face retains at least one member of that pair, so its union contains this common image. The bound is r d rd r d . Height one is exactly the two-list intersection condition on an arrow.
For singleton chain lists , write v ( F ) v(F) v ( F ) for the unique value on a minor chain F F F , and define ξ ( f ) \xi(f) ξ ( f ) using the identity minor chain with h h h operations at f f f . Given f → π g f \xrightarrow{\pi} g f π g , let F j F_j F j contain h − j h-j h − j copies of f f f followed by j j j copies of g g g , for 0 ≤ j ≤ h 0 \le j \le h 0 ≤ j ≤ h . Use identity maps within each run and π \pi π between the runs. For 1 ≤ j ≤ h 1 \le j \le h 1 ≤ j ≤ h , compare the faces of the minor chain with ( h + 1 ) (h+1) ( h + 1 ) operations with h + 1 − j h+1-j h + 1 − j copies of f f f followed by j j j copies of g g g . Deleting an f f f gives F j F_j F j ; deleting a g g g gives F j − 1 F_{j-1} F j − 1 . The equality of the transported singleton entries gives v ( F 0 ) → π v ( F 1 ) v(F_0) \xrightarrow{\pi} v(F_1) v ( F 0 ) π v ( F 1 ) when j = 1 j=1 j = 1 , and v ( F j − 1 ) = v ( F j ) v(F_{j-1})=v(F_j) v ( F j − 1 ) = v ( F j ) when j > 1 j>1 j > 1 , since both endpoints are then g g g . Thus ξ ( f ) → π ξ ( g ) \xi(f) \xrightarrow{\pi} \xi(g) ξ ( f ) π ξ ( g ) . Conversely, a minion homomorphism ξ \xi ξ gives the singleton { ξ ( g ) } \{\xi(g)\} { ξ ( g )} on each chain ending at g g g . Precomposition preserves the coordinate maps of a chain, and postcomposition sends a common entry of the face lists to a common entry of their images. For the injective variants use the given marks throughout. A subchain of an injective chain is injective. In the singleton argument, inserting identity arrows and repeating either endpoint of an injective arrow preserves injectivity on the accumulated marks.
Theorem F.2 (Composition of chain homomorphisms). If Ξ : M → N \Xi:\mathcal{M}\to\mathcal{N} Ξ : M → N and η : N → Q \eta:\mathcal{N}\to\mathcal{Q} η : N → Q are chain homomorphisms with parameters ( h , d ) (h,d) ( h , d ) and ( k , e ) (k,e) ( k , e ) , then there is a chain homomorphism M → Q \mathcal{M}\to\mathcal{Q} M → Q whose parameters depend only on h , d , k , e h,d,k,e h , d , k , e .
Proof. Choose H ≥ h + k − 1 H\ge h+k-1 H ≥ h + k − 1 so that Lemma 1.18 applies to H + 1 H+1 H + 1 positions with list bound d d d , face size h h h , and t = k + 1 t=k+1 t = k + 1 . To form the list Θ ( F ) \Theta(F) Θ ( F ) on an H H H -position chain F F F , choose an h h h -subchain B B B and k − 1 k-1 k − 1 later positions of F F F . For each g ∈ Ξ ( B ) g\in\Xi(B) g ∈ Ξ ( B ) , follow g g g by its minors at those positions. Apply η \eta η to this k k k -position chain and transport its output list to the end of F F F . Take the union over all choices. These lists are nonempty, and there are at most d e ( H k − 1 ) de\binom{H}{k-1} d e ( k − 1 H ) entries in the union.
Now let C C C have H + 1 H+1 H + 1 operations on coordinate sets I i I_i I i . Apply Lemma 1.18 to S i = N ( I i ) S_i=\mathcal{N}(I_i) S i = N ( I i ) with the minor maps u ↦ u π i j u\mapsto u^{\pi_{ij}} u ↦ u π ij and lists Ξ \Xi Ξ . This gives disjoint h h h -subchains B 0 < ⋯ < B k B_0<\cdots<B_k B 0 < ⋯ < B k and entries g j ∈ Ξ ( B j ) g_j\in\Xi(B_j) g j ∈ Ξ ( B j ) forming a minor chain. Its k k k -faces have η \eta η -lists with a common image at the end of B k B_k B k . Transport that image to the end of C C C and call it z z z .
Each H H H -face F F F of C C C misses a position of at most one B j B_j B j . Discard that B j B_j B j , or any one if all lie in F F F . The first remaining subchain and the endpoints of the other k − 1 k-1 k − 1 are among the choices defining Θ ( F ) \Theta(F) Θ ( F ) . They give the corresponding k k k -face of the chain of the g j g_j g j . Its list has an entry with image z z z at the end of C C C . Thus z z z belongs to every transported face list.
The composition proof also applies when the first chain homomorphism is injective and the second is an ordinary chain homomorphism . Keep the marks of the first map. On an injective chain every subchain used to obtain the g j g_j g j is injective, and the second map can be evaluated on the resulting chain. Precomposition of an injective chain homomorphism by a minion homomorphism α \alpha α uses the marks S ( α ( f ) ) S(\alpha(f)) S ( α ( f )) on f f f .
Proofs for unate Boolean polymorphisms
In this section we prove the direction certificate bound, the rotation obstruction for increasing operations, and the passage from that obstruction to an injective chain homomorphism.
Cancellation and block symmetry
In this section we prove Proposition 2.7. For a given unate operation g g g , label each increasing coordinate positive and each decreasing coordinate negative, assigning either sign to a dummy coordinate. Write h h h for the increasing Boolean function obtained by complementing the negative inputs of g g g . Only g g g is used to take minors. For a coordinate x x x , a set B B B of other coordinates is a substitute for x x x if
h ( Z ∪ { x } ) ≤ h ( Z ∪ B ) ( Z ∩ ( B ∪ { x } ) = ∅ ) . h(Z \cup\{x\}) \le h(Z \cup B) \qquad(Z \cap(B \cup\{x\}) = \varnothing). h ( Z ∪ { x }) ≤ h ( Z ∪ B ) ( Z ∩ ( B ∪ { x }) = ∅ ) .
Write x ⪯ B x \preceq B x ⪯ B for this inequality. A collection of many disjoint substitutes lets us change all coordinates read by a predictor while controlling its output.
Lemma G.1. For each k ≥ 1 k \ge1 k ≥ 1 there is c c c such that every f f f in a minion of unate Boolean operations has a direction certificate of size at most c c c , or has a minor g g g in which every coordinate has k k k pairwise disjoint substitutes of size at most two.
Proof. For any set S S S of coordinates of f f f , identifying all inputs in S S S gives a unate minor. Thus the differences f ( Z ∪ S ) − f ( Z ) f(Z \cup S) - f(Z) f ( Z ∪ S ) − f ( Z ) for Z ∩ S = ∅ Z \cap S = \varnothing Z ∩ S = ∅ are either all nonnegative or all nonpositive. Let σ ( S ) ∈ { − 1 , 0 , 1 } \sigma(S) \in\{-1, 0, 1\} σ ( S ) ∈ { − 1 , 0 , 1 } be the sign of their average over a uniform Z Z Z outside S S S . In particular σ ( S ) = 0 \sigma(S) = 0 σ ( S ) = 0 means every difference is zero. Adding an increasing coordinate to S S S can only raise the average, since this fixes that input to one in the first term and to zero in the second. Removing a decreasing coordinate has the same effect. Consequently if P , N P, N P , N are the positive and negative coordinate sets, any S S S with σ ( S ) ≥ 0 \sigma(S) \ge0 σ ( S ) ≥ 0 gives the increasing certificate ( S ∩ P , N ∖ S ) (S \cap P, N \setminus S) ( S ∩ P , N ∖ S ) . Dually σ ( S ) ≤ 0 \sigma(S) \le0 σ ( S ) ≤ 0 gives the decreasing certificate ( S ∩ N , P ∖ S ) (S \cap N, P \setminus S) ( S ∩ N , P ∖ S ) . Disjoint unions of increasing sets are increasing, since their inputs can be changed in successive steps.
Put s = k + 1 s = k + 1 s = k + 1 and suppose that both directions lack certificates of size at most 100 s 100s 100 s . In particular both P P P and N N N have more than 100 s 100s 100 s coordinates, by applying the preceding observation to the empty set. Choose T − ⊆ N T_- \subseteq N T − ⊆ N and T + ⊆ P T_+ \subseteq P T + ⊆ P maximizing their combined size subject to the existence of s s s distinct u ∈ P ∖ T + u \in P \setminus T_+ u ∈ P ∖ T + with σ ( T − ∪ { u } ) ≥ 0 \sigma(T_- \cup\{u\}) \ge0 σ ( T − ∪ { u }) ≥ 0 and s s s distinct v ∈ N ∖ T − v \in N \setminus T_- v ∈ N ∖ T − with σ ( T + ∪ { v } ) ≤ 0 \sigma(T_+ \cup\{v\}) \le0 σ ( T + ∪ { v }) ≤ 0 . Empty sets are feasible. Retain one set U U U of the s s s positive witnesses and one set V V V of the s s s negative witnesses. At least 100 s − 1 100s - 1 100 s − 1 negatives remain outside T − T_- T − , since T − ∪ { u } T_- \cup\{u\} T − ∪ { u } gives an increasing certificate. The dual bound holds outside T + T_+ T + .
Choose 8 s 8s 8 s negative test coordinates outside T − ∪ V T_- \cup V T − ∪ V , and 8 s 8s 8 s positive test coordinates outside T + ∪ U T_+ \cup U T + ∪ U . For a negative test j j j , fewer than s s s coordinates i ∈ P ∖ T + i \in P \setminus T_+ i ∈ P ∖ T + satisfy σ ( T − ∪ { i , j } ) > 0 \sigma(T_- \cup\{i,j\}) > 0 σ ( T − ∪ { i , j }) > 0 . Otherwise j j j could be added to T − T_- T − while retaining V V V and s s s positive witnesses. Call i i i exceptional if it satisfies this strict inequality for at least 4 s 4s 4 s negative tests. Counting the pairs ( i , j ) (i,j) ( i , j ) gives fewer than 2 s 2s 2 s exceptional positives. Define the exceptional negatives by the reverse inequalities. There are fewer than 2 s 2s 2 s of these as well.
For every exceptional positive i i i , take a block B i B_i B i consisting of i i i and negative coordinates from outside T − T_- T − , V V V , the negative tests and the exceptional negatives. Choose these blocks disjoint, maximizing their total size subject to σ ( T − ∪ B i ) ≥ 0 \sigma(T_- \cup B_i) \ge0 σ ( T − ∪ B i ) ≥ 0 for each i i i . The singletons are feasible, since removing j j j from a positive test comparison can only increase its sign. If any B i B_i B i were chosen, at least s s s eligible negatives j j j remain unused. Indeed, each B i B_i B i is increasing after removing T − T_- T − from T − ∪ B i T_- \cup B_i T − ∪ B i . Thus the set T − ∪ ⋃ i B i T_- \cup\bigcup_i B_i T − ∪ ⋃ i B i is the union of T − ∪ B i T_- \cup B_i T − ∪ B i for one i i i with the other disjoint increasing blocks. It contains fewer than 2 s 2s 2 s positives. If fewer than s s s eligible negatives remained, it would miss at most s + 8 s + 2 s + s s + 8s + 2s + s s + 8 s + 2 s + s negatives, and give a certificate smaller than 100 s 100s 100 s . By maximality every unused eligible j j j satisfies
σ ( T − ∪ B i ∪ { j } ) ≤ 0 for every exceptional positive i . \sigma(T_- \cup B_i \cup\{j\}) \le0 \qquad\text{for every exceptional positive } i. σ ( T − ∪ B i ∪ { j }) ≤ 0 for every exceptional positive i .
Perform the dual construction for exceptional negatives. The two constructions use disjoint coordinates, since exceptional coordinates of either sign can enter a block only as its distinguished coordinate.
Identify T − T_- T − , T + T_+ T + and each of the enlarged blocks separately, leaving the remaining inputs single, to obtain g g g . Empty reference sets are represented by distinct dummy inputs. Denote the reference inputs by r − r_- r − , r + r_+ r + . Give each enlarged input the sign of its distinguished coordinate. This is an admissible orientation because the block itself has that weak direction. Weak direction inequalities for unions of blocks survive every one of these identifications.
Consider a positive input x ≠ r + x \ne r_+ x = r + . If x x x is an enlarged block, the preceding maximality gives at least s s s distinct untouched negatives j j j such that { x , r − , j } \{x,r_-,j\} { x , r − , j } is decreasing in g g g . If x x x is a singleton, at least 4 s 4s 4 s negative tests gave this comparison, and fewer than 2 s 2s 2 s were enlarged as exceptional negatives. Each of the s s s witnesses in U U U still gives a positive input u u u for which { u , r − } \{u,r_-\} { u , r − } is increasing, even if the witness was enlarged. In the oriented cube these inequalities are
x ⪯ { r − , j } , r − ⪯ { u } . x \preceq\{r_-,j\}, \qquad r_- \preceq\{u\}. x ⪯ { r − , j } , r − ⪯ { u } .
They imply x ⪯ { u , j } x \preceq\{u,j\} x ⪯ { u , j } whenever u ≠ x u \ne x u = x . If the outside context contains r − r_- r − , first replace r − r_- r − by u u u , then replace x x x by { r − , j } \{r_-,j\} { r − , j } . Otherwise perform the replacements in reverse order. Pairing distinct j j j with distinct u ≠ x u \ne x u = x gives k k k disjoint substitutes. The reference r − r_- r − has its s s s singleton substitutes. Reversing the signs treats the negative inputs and r + r_+ r + .
Proof of Proposition 2.7. Fix t t t . We show that for k k k sufficiently large in terms of t t t , the second conclusion of Lemma G.1 gives a minor that is block-symmetric on blocks of sizes t , t + 1 t,t+1 t , t + 1 .
Given α ∈ [ 1 / 4 , 3 / 4 ] \alpha\in[1/4,3/4] α ∈ [ 1/4 , 3/4 ] , send each positive coordinate of g g g independently to the first block with probability α \alpha α , and otherwise to the second. For a negative coordinate use probability 1 − α 1-\alpha 1 − α for the first block. In the chosen block pick a uniform input position. This defines an ordinary random minor of g g g . At an input with densities of ones a , b a,b a , b on the two blocks, the corresponding independent inputs to the oriented function h h h have probabilities
b + α ( a − b ) and 1 − a + α ( a − b ) b + \alpha(a-b) \qquad\text{and} \qquad1-a+\alpha(a-b) b + α ( a − b ) and 1 − a + α ( a − b )
of being one on the positive and negative coordinates, respectively. Both probabilities have slope a − b a-b a − b . Thus the mean F a , b ( α ) F_{a,b}(\alpha) F a , b ( α ) is monotone in α \alpha α for each density pair. For a nonconstant input, coprimality of t , t + 1 t,t+1 t , t + 1 gives ∣ a − b ∣ ≥ 1 / ( t ( t + 1 ) ) |a-b| \ge1/(t(t+1)) ∣ a − b ∣ ≥ 1/ ( t ( t + 1 )) .
Choose ε > 0 \varepsilon> 0 ε > 0 so that 3 ε 2 2 t + 1 < 1 3\varepsilon2^{2t+1} < 1 3 ε 2 2 t + 1 < 1 . Divide [ 1 / 4 , 3 / 4 ] [1/4,3/4] [ 1/4 , 3/4 ] into more than ( t + 1 ) ( t + 2 ) / ε (t+1)(t+2)/\varepsilon ( t + 1 ) ( t + 2 ) / ε equal intervals. The sum of the oscillations over all intervals is at most one for each density pair. Thus some interval has oscillation at most ε \varepsilon ε for every pair. Use its midpoint for the random minor. For a fixed nonconstant input, couple the endpoint and midpoint inputs to h h h by thresholding independent uniform ranks. In increasing order of the biases write the resulting sets as L ⊂ X ⊂ H L \subset X \subset H L ⊂ X ⊂ H . Each coordinate belongs to X ∖ L X \setminus L X ∖ L with probability at least δ \delta δ , and to H ∖ X H \setminus X H ∖ X with probability at least δ \delta δ , where δ \delta δ depends only on t t t and the interval length.
Use ranks uniform on [ M ] [M] [ M ] , taking a common denominator for all biases at endpoints and midpoints of the original partition, with 1 / M ≤ δ 1/M \le\delta 1/ M ≤ δ . At a witness for a nearby color, each midpoint rank moves by at most one step, so the resulting set lies between L L L and H H H . By Lemma A.14 there is a predictor reading at most b = b ( M , ε ) b=b(M,\varepsilon) b = b ( M , ε ) ranks, on a set J J J , whose answer lies between h ( L ) h(L) h ( L ) and h ( H ) h(H) h ( H ) except with probability ε \varepsilon ε . Independently refresh the ranks on J J J to obtain X ′ X' X ′ . The predictor and h ( X ′ ) h(X') h ( X ′ ) are independent.
To bracket h ( X ′ ) h(X') h ( X ′ ) by the same endpoints, choose l l l disjoint sets outside J J J , each containing a separate substitute for every j ∈ J j \in J j ∈ J . Use disjoint substitutes across all these choices. Greedy selection works when k > b + 2 b l k > b + 2bl k > b + 2 b l , since a previously occupied coordinate meets at most one candidate in the disjoint family for the next j j j . Each chosen set has size at most 2 b 2b 2 b . The probability that one specified gap contains none of the l l l sets is at most ( 1 − δ 2 b ) l (1-\delta^{2b})^l ( 1 − δ 2 b ) l , by independence across the sets. Choose l l l so twice this probability is at most ε \varepsilon ε . All these bounds are independent of g g g and its arity. For J J J empty the bracketing is immediate.
If each gap contains a chosen set, then h ( L ) ≤ h ( X ′ ) ≤ h ( H ) h(L) \le h(X') \le h(H) h ( L ) ≤ h ( X ′ ) ≤ h ( H ) for every filling of J J J . Indeed every occupied member of J J J in L L L can be replaced by its fresh substitute in X ∖ L X \setminus L X ∖ L to yield a subset of X ∖ J X \setminus J X ∖ J . The same replacement in X ′ X' X ′ using the upper gap gives a subset of H ∖ J H \setminus J H ∖ J . Finally Pr [ h ( L ) ≠ h ( H ) ] ≤ ε \Pr[h(L) \ne h(H)] \le\varepsilon Pr [ h ( L ) = h ( H )] ≤ ε by the choice of interval. The independent predictor and h ( X ′ ) h(X') h ( X ′ ) therefore agree with probability at least 1 − 3 ε 1-3\varepsilon 1 − 3 ε . Since h ( X ′ ) h(X') h ( X ′ ) has mean F a , b F_{a,b} F a , b at the midpoint, that mean lies within 3 ε 3\varepsilon 3 ε of an endpoint of [ 0 , 1 ] [0,1] [ 0 , 1 ] .
Round each midpoint mean to that endpoint. The two constant inputs already have deterministic outputs. On every input the random minor disagrees with the rounded table with probability at most 3 ε 3\varepsilon 3 ε . A union bound over all 2 2 t + 1 2^{2t+1} 2 2 t + 1 inputs gives one minor agreeing everywhere with this table of the two densities.
Rotation for increasing operations
In this section we prove Lemma 2.8 . Suppose that g ( S ) ≤ g ( ( S + d ) ∪ ( S + d + 1 ) ) g(S) \le g((S+d) \cup(S+d+1)) g ( S ) ≤ g (( S + d ) ∪ ( S + d + 1 )) for every S S S . We evaluate g g g on random unions of cyclic intervals. First we find a bias at which a bounded number of intervals predicts the output, while both outputs occur with positive probability. The assumed inequality will allow us to rotate the predictor away from all its coordinates.
Fix a prime p ≥ 3 p \ge3 p ≥ 3 . Partition the cycle of length n = p d + 1 n=pd+1 n = p d + 1 at cuts i d + t i id+t_i i d + t i , 0 ≤ i < p 0 \le i < p 0 ≤ i < p , where the t i t_i t i are independent and uniform on { 0 , … , W − 1 } \{0,\ldots,W-1\} { 0 , … , W − 1 } and d = W + 2 d=W+2 d = W + 2 . Give interval i i i , from cut i i i up to cut i + 1 i+1 i + 1 in the cyclic order, an independent bit x i x_i x i of mean u u u . Let H H H be the value of g g g on the union of the intervals with bit one, and Q ( u ) = E H Q(u)=\mathbb{E}H Q ( u ) = E H . The function Q Q Q is nondecreasing.
Put a = 2 − m − 2 a=2^{-m-2} a = 2 − m − 2 . For each s ∈ { m , m + 1 } s \in\{m,m+1\} s ∈ { m , m + 1 } there is an interior j / s j/s j / s with a < Q ( j / s ) < 1 − a a<Q(j/s)<1-a a < Q ( j / s ) < 1 − a . Otherwise round all the values Q ( j / s ) Q(j/s) Q ( j / s ) to the nearer endpoint of [ 0 , 1 ] [0,1] [ 0 , 1 ] . They specify a symmetric threshold by monotonicity. Indeed, choose the cuts once and send each interval independently to a uniform label in [ s ] [s] [ s ] . On every input of weight j j j the resulting minor has mean Q ( j / s ) Q(j/s) Q ( j / s ) , so a union bound gives positive probability of agreeing everywhere with the rounded threshold. Constants are also symmetric thresholds, so g ( ∅ ) = 0 g(\varnothing)=0 g ( ∅ ) = 0 and g ( Z n ) = 1 g(\mathbb{Z}_n)=1 g ( Z n ) = 1 under the hypothesis. The two interior grid points differ by at least 1 / ( m ( m + 1 ) ) 1/(m(m+1)) 1/ ( m ( m + 1 )) . On the interval between them Q ∈ [ a , 1 − a ] Q \in[a,1-a] Q ∈ [ a , 1 − a ] and min ( u , 1 − u ) ≥ 1 / ( m + 1 ) \min(u,1-u) \ge1/(m+1) min ( u , 1 − u ) ≥ 1/ ( m + 1 ) . This is the random identification argument of Brakensiek, Guruswami and Sandeep [17 Lemma 3.4] .
To use the nearby-color predictor, we represent H H H by independent parameters in which it is increasing. At boundary i i i , the W − 1 W-1 W − 1 sites i d , … , i d + W − 2 id,\ldots,id+W-2 i d , … , i d + W − 2 may be assigned to either neighboring interval. When the adjacent bits are 10 take a prefix of these sites, and when they are 01 take a suffix, in each case of length L i L_i L i uniform on { 0 , … , W − 1 } \{0,\ldots,W-1\} { 0 , … , W − 1 } . At 00 take none and at 11 take all. The other sites are fixed by their interval bits. With independent L i L_i L i this gives the original law conditional on the bits, since at a 10 boundary t i = L i t_i=L_i t i = L i and at a 01 boundary t i = W − 1 − L i t_i=W-1-L_i t i = W − 1 − L i . At equal bits we may take t i = L i t_i=L_i t i = L i . The selected set now increases in each x i x_i x i and each L i L_i L i .
Fix a large integer M M M in terms of m m m only and let W W W be a power of M M M . Encode x i x_i x i by thresholding a uniform rank on [ M ] [M] [ M ] at M u Mu M u , for u ∈ { 0 , 1 / M , … , 1 } u \in\{0,1/M,\ldots,1\} u ∈ { 0 , 1/ M , … , 1 } . Encode L i L_i L i in base M M M by fresh uniform digits. Moving every rank and digit by at most one allows bit bias changes of 1 / M 1/M 1/ M in either direction. The perturbed length lies between L i − D L_i-D L i − D and L i + D L_i+D L i + D clipped to [ 0 , W − 1 ] [0,W-1] [ 0 , W − 1 ] , where D = ( W − 1 ) / ( M − 1 ) D=(W-1)/(M-1) D = ( W − 1 ) / ( M − 1 ) . Each clipped length law has total variation distance at most θ = D / W ≤ 1 / ( M − 1 ) \theta=D/W\le1/(M-1) θ = D / W ≤ 1/ ( M − 1 ) from the uniform length law.
We bound the effect of changing all these length laws. Freeze all bits and lengths except the two adjacent bits at one boundary and its length. Write H i j H_{ij} H ij for the output with adjacent bits i , j i,j i , j . The values H 00 , H 11 H_{00},H_{11} H 00 , H 11 are independent of this length. At fixed bit probabilities, changing the length law changes the conditional mean by at most θ ( H 11 − H 00 ) \theta(H_{11}-H_{00}) θ ( H 11 − H 00 ) . Raising both bit probabilities by θ / η \theta/\eta θ / η increases the mean by at least this amount, as long as they stay in [ η , 1 − η ] [\eta,1-\eta] [ η , 1 − η ] . Indeed, for each fixed length first raise the left probability and then the right. The pivotal edges of 00 , 10 , 11 00,10,11 00 , 10 , 11 contribute at least
( θ / η ) η [ ( H 10 − H 00 ) + ( H 11 − H 10 ) ] . (\theta/\eta)\eta[(H_{10}-H_{00})+(H_{11}-H_{10})]. ( θ / η ) η [( H 10 − H 00 ) + ( H 11 − H 10 )] .
The same comparison in reverse bounds a downward change. Restoring one length law at a time and compensating its two neighbors uses each bit twice. Thus the means of the lower and upper parameter bounds for all neighboring inputs lie between Q ( u − γ ) Q(u-\gamma) Q ( u − γ ) and Q ( u + γ ) Q(u+\gamma) Q ( u + γ ) , where γ = 1 / M + 2 / ( η ( M − 1 ) ) \gamma=1/M+2/(\eta(M-1)) γ = 1/ M + 2/ ( η ( M − 1 )) and η = 1 / ( 2 ( m + 1 ) ) \eta=1/(2(m+1)) η = 1/ ( 2 ( m + 1 )) , whenever [ u − γ , u + γ ] ⊆ [ η , 1 − η ] [u-\gamma,u+\gamma]\subseteq[\eta,1-\eta] [ u − γ , u + γ ] ⊆ [ η , 1 − η ] .
For M M M sufficiently large the balanced interval found above contains more than 32 / a 32/a 32/ a disjoint intervals [ u − γ , u + γ ] [u-\gamma,u+\gamma] [ u − γ , u + γ ] centered at grid points u u u . Since Q Q Q increases by at most one, one of these intervals has variation at most a / 32 a/32 a /32 . At its midpoint the upper and lower parameter bounds give the same output except with probability at most a / 32 a/32 a /32 , by monotonicity. Apply Lemma A.14 with error a / 32 a/32 a /32 to the Boolean coloring of the uniform ranks and digits. Its predictor J J J thus agrees with H H H except with probability a / 16 a/16 a /16 . It reads digits or ranks from at most b = b ( m ) b=b(m) b = b ( m ) interval indices, independently of W W W and p p p .
Let R R R rotate the bits and lengths forward by one interval. For the chosen set S S S , the translated cut positions in S + d S+d S + d are the rotated cut positions except that cut zero lies one site earlier, since n = p d + 1 n=pd+1 n = p d + 1 . Passing from S + d S+d S + d to ( S + d ) ∪ ( S + d + 1 ) (S+d)\cup(S+d+1) ( S + d ) ∪ ( S + d + 1 ) extends each run of ones by one site at its right end. Thus the latter union differs from the rotated union by at most p + 1 p+1 p + 1 single-site cut moves. Conditional on the bits the raw cuts are independent and uniform, and the required shifts depend only on the bits. For fixed other cuts, moving one cut along its window changes the output at most once by monotonicity of g g g . Each unit move therefore changes the output with probability at most 1 / W 1/W 1/ W , including when the window has already been shifted one site. The spacing d = W + 2 d=W+2 d = W + 2 keeps adjacent windows disjoint during the comparison. By our assumed inequality, Pr [ H = 1 , H ∘ R = 0 ] ≤ ( p + 1 ) / W \Pr[H=1,H\circ R=0]\le(p+1)/W Pr [ H = 1 , H ∘ R = 0 ] ≤ ( p + 1 ) / W . Since both have the same law,
Pr [ H ≠ H ∘ R j ] ≤ 2 j ( p + 1 ) / W ( 0 ≤ j < p ) . \Pr[H\ne H\circ R^j]\le2j(p+1)/W \qquad(0\le j<p). Pr [ H = H ∘ R j ] ≤ 2 j ( p + 1 ) / W ( 0 ≤ j < p ) .
Choose p > b 2 + 2 p>b^2+2 p > b 2 + 2 prime and then W W W a large enough power of M M M to make $2p(p+1)/W\le a/8$. Some rotation by j j j moves all indices of the predictor off themselves, since there are at most b 2 b^2 b 2 differences between them. Then J , J ∘ R j J,J\circ R^j J , J ∘ R j are independent with common mean in [ a − a / 16 , 1 − a + a / 16 ] [a-a/16,1-a+a/16] [ a − a /16 , 1 − a + a /16 ] , so their disagreement probability exceeds a / 2 a/2 a /2 . The two prediction errors and the rotation estimate bound it by $a/4. This contradiction proves Lemma 2.8 .
Direction certificates on an injective chain
In this section we use direction certificates to apply the tight-cycle proof to injective chains .
Lemma G.2. Let p p p be prime and L > 1 L > 1 L > 1 satisfy L ≡ 1 ( m o d p ) L \equiv1 \pmod{p} L ≡ 1 ( mod p ) . Let E E E be the set of tuples of CYCLE p [ L ] \operatorname{CYCLE}_{p}[L] CYCLE p [ L ] , and let ρ a : E → Z L \rho_a : E \to\mathbb{Z}_L ρ a : E → Z L read entry a a a , for 0 ≤ a < p 0 \leq a < p 0 ≤ a < p . Suppose every operation of a Boolean function minion M \mathcal{M} M has an increasing direction certificate of size at most b b b . If no increasing F ∈ M ( E ) F \in\mathcal{M}(E) F ∈ M ( E ) satisfies
F ρ 0 = ⋯ = F ρ p − 1 , F^{\rho_0} = \cdots= F^{\rho_{p-1}}, F ρ 0 = ⋯ = F ρ p − 1 , then Ch i n j ( M , P ) \operatorname{Ch}^{\mathrm{inj}}(\mathcal{M},\mathcal{P}) Ch inj ( M , P ) .
Proof. Use the clock of Appendix § 6 , with block labeling λ : Z N → Z L \lambda: \mathbb{Z}_N \to\mathbb{Z}_L λ : Z N → Z L from Lemma A.12. For f ∈ M ( I ) f \in\mathcal{M}(I) f ∈ M ( I ) color x ∈ Z N I x \in\mathbb{Z}_N^I x ∈ Z N I by c f ( x ) = f λ ∘ x c_f(x) = f^{\lambda\circ x} c f ( x ) = f λ ∘ x . These colorings commute with minors. The palette has size q = ∣ M ( Z L ) ∣ q = |\mathcal{M}(\mathbb{Z}_L)| q = ∣ M ( Z L ) ∣ . Put s = q ( p − 1 ) + 1 s = q(p - 1) + 1 s = q ( p − 1 ) + 1 and R = 2 p s 2 R = 2ps^2 R = 2 p s 2 , the distance bound in the intersection argument of Section A.2.3. Choose N N N divisible by p L pL p L with N / ( p L ) > 4 R + 4 N/(pL) > 4R + 4 N / ( p L ) > 4 R + 4 .
For every e ∈ E e \in E e ∈ E there is an interval J e J_e J e of starting positions z ∈ Z N z \in\mathbb{Z}_N z ∈ Z N for which the p p p readings λ ( z − a N / p ) \lambda(z - aN/p) λ ( z − a N / p ) give e e e , even when each position is independently moved by at most R R R steps. Indeed, write L = p ℓ + 1 L = p\ell+ 1 L = p ℓ + 1 . In units of clock blocks the turn is − ℓ − 1 / p -\ell- 1/p − ℓ − 1/ p . The starting block specifies the initial label, and its p p p equal subintervals specify which step crosses an extra block boundary. The extra crossing gives the increment 1 − p 1 - p 1 − p in the labels, and all other increments are 1 1 1 modulo L L L . This specifies all tuples of E E E . Take J e J_e J e to be the middle half of the corresponding subinterval, rounding inwards to clock positions. Put γ = min e ∣ J e ∣ / N > 0 \gamma= \min_e |J_e|/N > 0 γ = min e ∣ J e ∣/ N > 0 .
Fix r r r large enough that
N s p s ∣ E ∣ ( 1 − γ b ) r < 1 / 4. N^s p^s |E|(1-\gamma^b)^r < 1/4. N s p s ∣ E ∣ ( 1 − γ b ) r < 1/4.
For an increasing operation take an empty mark. For each other operation, take a maximal family of bounded increasing certificates with pairwise disjoint supports, stopping at r r r certificates. Here and below the bound on each certificate is b b b . Mark the union of the chosen supports. These marks have size at most r b rb r b .
First consider an injective chain of s s s operations, each increasing or having r r r disjoint certificates. For its faces use the coordinate lists of Lemma A.15 for the colorings c f c_f c f , with 2 ε s N s p s < 1 / 4 2\varepsilon sN^s p^s < 1/4 2 ε s N s p s < 1/4 . The face test applies to arbitrary finite colorings. We verify the intersection of these transported lists by the same cyclic covering. Suppose their intersection is empty. Label the terminal coordinates by missing faces and use the random offsets and the prescribed row-one input x = x 1 ( t , α ) x = x_1(t,\alpha) x = x 1 ( t , α ) of (12) , for all depth profiles and arm completions on the star product with at least one full row.
For a fixed profile and completion, the coordinates of x x x on the first mark are independent and uniform. Indeed, condition on all offsets except those of one full row k k k . Each marked coordinate v v v then receives the independent uniform offset at π k ( v ) \pi_k(v) π k ( v ) , and injectivity makes these indices distinct. If the first operation has r r r chosen certificates, fix e ∈ E e \in E e ∈ E and choose e ′ ≠ e e' \ne e e ′ = e . Each certificate ( A , D ) (A,D) ( A , D ) has probability at least γ b \gamma^b γ b of putting all x v x_v x v , v ∈ A v \in A v ∈ A , in J e J_e J e and all x v x_v x v , v ∈ D v \in D v ∈ D , in J e ′ J_{e'} J e ′ . The r r r events are independent. The choice of r r r therefore gives probability greater than 3 / 4 3/4 3/4 that every e e e receives such a certificate at every tested input. For an increasing first operation its empty certificate already has this property.
On this event choose arbitrary inputs y a y^a y a at distance at most R R R from x − a N / p x - aN/p x − a N / p . The columns θ ( v ) = ( λ ( y a ) ) 0 ≤ a < p \theta(v) = (\lambda(y^a))_{0 \leq a < p} θ ( v ) = ( λ ( y a ) ) 0 ≤ a < p belong to E E E by the clock sandwich, since 2 R ≤ N / ( p L ) 2R \leq N/(pL) 2 R ≤ N / ( p L ) . Each fiber θ − 1 ( e ) \theta^{-1}(e) θ − 1 ( e ) contains the required coordinates of a certificate and avoids its forbidden coordinates. Hence F = f 1 θ F = f^\theta_1 F = f 1 θ is increasing in every coordinate. The phase colors are F ρ a F^{\rho_a} F ρ a , so the hypothesis excludes a common color in the p p p boxes of radius R R R .
On the other hand, with probability greater than 3 / 4 3/4 3/4 every turn at a zero-depth row changes each color distance by at most 2 ( s − 1 ) 2(s - 1) 2 ( s − 1 ) . Indeed, deletion of that row gives exactly the face-test distribution: the first remaining full row supplies the uniform tuple, and the turned block misses its face list. Sum the face-test error over the at most s N s p s sN^s p^s s N s p s choices of row, depths and arms, as in Section A.2.3. Choose offsets for which both events hold. By Lemma A.16 , some cell has the same color on all rotations. Changing the arms at its centers and pulling witnesses back to row one uses at most 2 ( s − 1 ) 2 ( p − 1 ) + s ≤ R 2(s-1)^2(p-1)+s \le R 2 ( s − 1 ) 2 ( p − 1 ) + s ≤ R steps, by the intersection argument in that section. This gives the excluded common color. Thus the face lists intersect.
It remains to allow operations with fewer than r r r disjoint certificates. Use s + 1 s+1 s + 1 rows. On each s s s -row face list the transported marks of its rows with such a maximal family, excluding increasing rows. Also list the transported face-test lists of all ( s − 1 ) (s-1) ( s − 1 ) -row subchains consisting of the other rows. Add an arbitrary coordinate if the list is empty. The sizes are uniformly bounded. If two rows i < j i<j i < j with small maximal families occur, a certificate at row i i i transports to a bounded increasing certificate at j j j : injectivity on its support keeps the two parts disjoint, and pulling a block back proves the direction inequality. This support meets the mark at j j j by maximality. A common coordinate transported to the last row thus appears on every face, since each face retains one of these two rows. Otherwise choose s s s rows of the type already treated. Their subchain is injective, and its face lists have a common transported coordinate. Every face of the full chain contains at least one of those shorter faces, so the same coordinate works there. This gives the required injective chain homomorphism.