Combinatorial principles for total search subclasses #
The classical subclasses of TFNP introduced by Johnson, Papadimitriou and Yannakakis
[JPY88] and by Papadimitriou [Pap94b] classify total
search problems by the finite combinatorial principle that guarantees a solution on the hypercube
{0, 1} ^ n (represented as bit strings u : List Bool of length n, with distinguished origin
zeroVertex n = List.replicate n false):
- Local optimality (
PLS): every finite directed graph with vertex costs has a local minimum (localOptRel,isTotalSearch_localOptRel). - Pigeonhole principle (
PPP): every mapF : {0, 1} ^ n → {0, 1} ^ neither hits0 ^ nor collides on two distinct vertices (pigeonRel,isTotalSearch_pigeonRel). - Directed parity / end-of-line (
PPAD): in a directed graph where every vertex has in-degree and out-degree at most1, if0 ^ nhas out-degree1(and in-degree0), there is another vertex that is either a sink or a proper source (endOfLineRel,isTotalSearch_endOfLineRel). - Undirected parity / handshaking (
PPA): in a simple undirected graph of maximum degree2presented by two neighbor functionsN₁, N₂, the number of odd-degree vertices is even; so either0 ^ nhas even degree or another vertex has odd degree (leafRel,isTotalSearch_leafRel).
Main definitions #
Cslib.Complexity.zeroVertex: the distinguished origin0 ^ n = List.replicate n false.Cslib.Complexity.PreservesWidth: a family of maps sendsn a-bit strings ton a-bit strings; this is the side condition on the maps of every uniform family below.Cslib.Complexity.localOptRel: the local-search relation forPLS.Cslib.Complexity.pigeonRel: the pigeonhole relation forPPP.Cslib.Complexity.hasOut,Cslib.Complexity.hasIn,Cslib.Complexity.endOfLineRel: active directed edges and the end-of-line relation forPPAD.Cslib.Complexity.undirectedEdge,Cslib.Complexity.hasOddDegree,Cslib.Complexity.leafRel: undirected edges, odd-degree test and the leaf relation forPPA.
Main results #
Cslib.Complexity.exists_localOpt,Cslib.Complexity.isTotalSearch_localOptRel.Cslib.Complexity.exists_pigeon,Cslib.Complexity.isTotalSearch_pigeonRel.Cslib.Complexity.exists_endOfLine,Cslib.Complexity.isTotalSearch_endOfLineRel,Cslib.Complexity.endOfLineRel_of_pigeonRel: the directed end-of-line principle and its reduction to the pigeonhole principle.Cslib.Complexity.exists_leaf,Cslib.Complexity.isTotalSearch_leafRel,Cslib.Complexity.endOfLineRel_tail_of_leafRel: the finite parity principle and the reduction of directed end-of-line to undirected parity.
References #
Fixed-length bit strings #
The distinguished origin vertex 0 ^ n of {0, 1} ^ n.
Local optimality (PLS) #
The search relation of a local-search family (PLS): given bit-length n a, neighbor function
N and cost function C, a vertex u of length n a is a solution if its neighbor N (a, u)
does not have strictly smaller cost.
Finite local-optimum principle: if N (a, ·) preserves length n a, some vertex of length
n a is a local minimum of C (a, ·).
localOptRel is total whenever the neighbor map preserves the vertex bit-length.
Pigeonhole principle (PPP) #
The search relation of a pigeonhole family (PPP): a candidate w of length 2 * n a encodes
the pair of n a-bit strings u = w.take (n a) and v = w.drop (n a), and is a solution if
F (a, u) = 0 ^ (n a) or u ≠ v with F (a, u) = F (a, v).
Finite pigeonhole principle: any length-preserving map F (a, ·) on {0, 1} ^ (n a) either
hits 0 ^ (n a) or collides on two distinct strings of length n a.
pigeonRel is total whenever F preserves the vertex bit-length.
Directed end-of-line principle (PPAD) #
Vertex u has an active outgoing edge to S (a, u) in the directed graph presented by
predecessor P and successor S: P points back from S (a, u) to u, and S (a, u) is neither
a self-loop nor the canonical source 0 ^ (n a).
The search relation of a directed end-of-line family (PPAD): a vertex u of length n a is a
solution if its incoming/outgoing parity is unbalanced relative to 0 ^ (n a): either
u = 0 ^ (n a) and u has no active outgoing edge (!hasOut), or u ≠ 0 ^ (n a) and u is a
sink (hasIn ∧ !hasOut) or proper source (!hasIn ∧ hasOut).
The canonical source 0 ^ (n a) solves endOfLineRel whenever it lacks an active outgoing
edge.
Any vertex u of length n a with an active incoming edge and no active outgoing edge solves
endOfLineRel.
Any solution of pigeonRel for ppadToPppMap n P S yields a solution of endOfLineRel n P S
by selecting whichever of the two n a-bit halves lacks an active outgoing edge.
endOfLineRel is total whenever the successor map preserves the vertex bit-length.
Undirected parity / handshake principle (PPA) #
Finite parity / handshake principle: if N₁ (a, ·) and N₂ (a, ·) preserve length n a,
some vertex of length n a satisfies leafRel.
leafRel is total whenever both neighbor maps preserve the vertex bit-length.
Reducing directed end-of-line (PPAD) to undirected parity (PPA) #
First neighbor map on {0, 1} ^ (n a + 1) for reducing endOfLineRel to leafRel:
false :: u is the outgoing port of u, matched with true :: S (a, u) when hasOut n P S a u
holds; true :: u is the incoming port of u, matched with false :: P (a, u) when
hasIn n P S a u holds.
Second neighbor map on {0, 1} ^ (n a + 1) for reducing endOfLineRel to leafRel:
internally pairs false :: u and true :: u for every vertex u ≠ 0 ^ (n a) that participates in
at least one active directed edge (hasOut or hasIn), leaving the ports of 0 ^ (n a) and
isolated vertices unpaired.
Any solution w of leafRel for (ppadToPpaN₁ n P S, ppadToPpaN₂ n P S) has w.tail as a
solution of endOfLineRel n P S.