Total search subclasses: PLS, PPP, PPAD and PPA #
The subclasses PLS Johnson, Papadimitriou and Yannakakis
and PPP, PPAD, PPA Papadimitriou, Beame, Cook, Edmonds,
Impagliazzo and Pitassi classify total FNP search problems by the finite
combinatorial principle that witnesses totality on the hypercube {0, 1} ^ (n a):
Cslib.Complexity.PLS: problems search-reducible to finding a local minimum of a polynomial-time cost functionC : α × List Bool → ℕwith respect to a polynomial-time neighbor functionN : α × List Bool → List Bool(localOptRel).Cslib.Complexity.PPP: problems search-reducible to finding a preimage of0 ^ (n a)or a collision of a polynomial-time mapF : α × List Bool → List Bool(pigeonRel).Cslib.Complexity.PPAD: problems search-reducible to finding an unbalanced vertex other than the source0 ^ (n a)(or showing0 ^ (n a)itself lacks an active outgoing edge) in a directed graph of in-degree and out-degree at most1given by polynomial-time predecessor and successor mapsP, S : α × List Bool → List Bool(endOfLineRel).Cslib.Complexity.PPA: problems search-reducible to finding an odd-degree vertex other than0 ^ (n a)(or showing0 ^ (n a)has even degree) in an undirected graph of maximum degree2given by two polynomial-time neighbor mapsN₁, N₂ : α × List Bool → List Bool(leafRel).
Uniform polynomial-time families and canonical circuit problems #
Each class is defined via uniform polynomial-time families on the instance type α: the vertex
bit-length n : α → ℕ is computable in polynomial time in unary (encUnary), and the
neighbor, successor, predecessor or cost maps are computable in polynomial time on pairs
encPair enc encBits (with costs in binary encNat), in the sense of
Turing.MultiTapeTM.ComputableInPolyTime. By pulling a family back along the instance map of a
search reduction, each class is closed under SearchReducible across arbitrary encoded instance
types
(SearchReducible.mem_PLS, .mem_PPP, .mem_PPAD, .mem_PPA).
The canonical circuit-presented problems LocalOpt, Pigeon, EndOfLine and Leaf, whose
instances supply n in unary together with raw De Morgan circuit codes
(Cslib.Circuits.Boolean.encCode) evaluated via evalCode
(CslibFrontier.Computability.Circuit.Boolean.EvaluationTime), are instances of these uniform
families (LocalOpt_mem_PLS, Pigeon_mem_PPP, EndOfLine_mem_PPAD, Leaf_mem_PPA) and
therefore belong to TFNP. The companion module
CslibFrontier/Computability/Complexity/Classes/TFNP/Subclasses/Completeness.lean compiles
uniform polynomial-time family evaluations into circuit codes, proving SearchComplete for
LocalOpt, Pigeon, EndOfLine and Leaf. These reductions preserve vertex witnesses and, for
local search, the numerical cost values through fixed-width binary words with leading zeros.
Main definitions #
Cslib.Complexity.PLS,Cslib.Complexity.PPP,Cslib.Complexity.PPAD,Cslib.Complexity.PPA.Cslib.Complexity.padBits,Cslib.Complexity.evalCircuitCode: shared circuit-code evaluation normalized ton-bit strings.Cslib.Complexity.encPigeon,Cslib.Complexity.encLocalOpt,Cslib.Complexity.encEndOfLine,Cslib.Complexity.encLeaf.Cslib.Complexity.LocalOpt,Cslib.Complexity.Pigeon,Cslib.Complexity.EndOfLine,Cslib.Complexity.Leaf: the canonical circuit-presented total search problems.
Main results #
Cslib.Complexity.PLS_subset_TFNP,Cslib.Complexity.PPP_subset_TFNP,Cslib.Complexity.PPAD_subset_TFNP,Cslib.Complexity.PPA_subset_TFNP.Cslib.Complexity.PPAD_subset_PPA:PPADis contained inPPA[Pap94b]. The inclusionPPAD ⊆ PPPis derived throughPPADSinCslibFrontier/Computability/Complexity/Classes/TFNP/Subclasses/PPADS.lean.Cslib.Complexity.LocalOpt_mem_PLS,Cslib.Complexity.Pigeon_mem_PPP,Cslib.Complexity.EndOfLine_mem_PPAD,Cslib.Complexity.Leaf_mem_PPA.Cslib.Complexity.LocalOpt_mem_TFNP,Cslib.Complexity.Pigeon_mem_TFNP,Cslib.Complexity.EndOfLine_mem_TFNP,Cslib.Complexity.Leaf_mem_TFNP.
References #
Polynomial-time bit-string and binary-number primitives #
Comparing the binary values of two bit strings is polynomial-time.
A polynomial-time number-valued function C on a family of cubes {0, 1} ^ (n a) has a
polynomial-time width: some m, computed in unary, bounds the binary length of C (a, u) for
every u of length n a.
FNP and TFNP membership of the family relations #
A polynomial-time local-search family defines an FNP relation.
A polynomial-time length-preserving local-search family defines a TFNP relation.
A polynomial-time pigeonhole family defines an FNP relation.
A polynomial-time length-preserving pigeonhole family defines a TFNP relation.
A polynomial-time directed end-of-line family defines an FNP relation.
A polynomial-time length-preserving directed end-of-line family defines a TFNP relation.
A polynomial-time undirected parity family defines an FNP relation.
A polynomial-time length-preserving undirected parity family defines a TFNP relation.
Every uniform polynomial-time local-search family is in PLS.
Every uniform polynomial-time pigeonhole family is in PPP.
Every uniform polynomial-time directed end-of-line family is in PPAD.
Every uniform polynomial-time undirected parity family is in PPA.
Closure under search reductions #
PLS is closed under polynomial-time search reductions across arbitrary instance types.
PPP is closed under polynomial-time search reductions across arbitrary instance types.
PPAD is closed under polynomial-time search reductions across arbitrary instance types.
PPA is closed under polynomial-time search reductions across arbitrary instance types.
Inclusions in TFNP and between subclasses #
Every directed end-of-line family search-reduces to its associated bipartite undirected parity family.
Evaluating circuit codes into fixed-length bit strings #
Evaluate a circuit code on u and normalize the output to n bits.
On the code of a De Morgan circuit with n inputs and m outputs, evalCircuitCode m
computes the m-bit output of the circuit.
Canonical circuit-presented problems #
Encoding of Pigeon instances (n, cF): the bit-length n in unary and the circuit code
cF.
Encoding of LocalOpt instances (n, cN, cC): n in unary, neighbor circuit cN, and cost
circuit cC.
Encoding of EndOfLine instances (n, cP, cS): n in unary, predecessor circuit cP, and
successor circuit cS.
Encoding of Leaf instances (n, cN₁, cN₂): n in unary and the two neighbor circuits
cN₁, cN₂.
Circuit LocalOpt (PLS): given (n, cN, cC), find an n-bit string u whose neighbor
evalCircuitCode n cN u does not have strictly smaller cost
binaryValue (evalCircuitOutputs cC ·).
Circuit Pigeon (PPP): given (n, cF), find a 2n-bit string encoding a preimage of
0 ^ n or a collision of evalCircuitCode n cF.
Circuit EndOfLine (PPAD): given (n, cP, cS), find an n-bit end-of-line vertex of
the directed graph presented by evalCircuitCode n cP and evalCircuitCode n cS.
Circuit Leaf (PPA): given (n, cN₁, cN₂), find an n-bit leaf vertex of the
degree-≤ 2 undirected graph presented by evalCircuitCode n cN₁ and evalCircuitCode n cN₂.
EndOfLine is in TFNP.