Circuit 2D-SPERNER is in PPAD #
An instance inst : Sperner2DInstance of Sperner2D consists of a unary size parameter
inst.gridExp (m) and a Boolean circuit code inst.circuit (C). It colours the points of the
2 ^ m × 2 ^ m grid (Sperner2D.color): boundary points receive the Sperner boundary colour
Cslib.Sperner.boundaryColor, and an interior point (x, y) receives the colour read off the
outputs of C on the m-bit codes of x and y (Sperner2D.outputColor). A solution is the
2m + 1-bit code of a trichromatic triangle (Sperner2D.encodeTriangle). Every instance colours
the grid by a Sperner colouring, so every instance has a solution by Sperner's lemma
(Cslib.Sperner.IsSpernerColoring.exists_trichromatic).
The proof of Sperner's lemma by following doors is the PPAD argument. Transported to triangle
codes, the door graph Cslib.Sperner.next, Cslib.Sperner.prev is computed in polynomial time
(Sperner2D.succ, Sperner2D.pred), its distinguished source Cslib.Sperner.start has code
zeroVertex (2m + 1), and Sperner2D is equal to the end-of-line relation of this graph
(Sperner2D.eq_endOfLineRel). Membership in PPAD and the search reduction to EndOfLine follow
from the general results for endOfLineRel.
Sperner2D is the two-dimensional discrete Brouwer problem of Chen, Deng and Teng
[CDT09] (Section 4.1, Definitions 4.2, 4.4 and 4.5 with d = 2), up to the following
presentation choices.
- The grid has the points
0, …, 2 ^ min each coordinate rather than0, …, 2 ^ m - 1, so that the2 ^ (2m + 1)triangle codes are exactly the triangles. The circuit receives them-bit codes of the coordinates of interior points only, rather than codes of all grid points. - The boundary colouring is imposed by the problem rather than promised by the circuit, and the
outputs of the circuit are decoded into a colour on every input: colour
1if output bit0is set, otherwise colour2if output bit2is set, otherwise colour0(their colour3). With their output orderΔ₁⁺, Δ₁⁻, Δ₂⁺, Δ₂⁻, outputs in their Caseidecode to colouri. Hence there is no promise: every instance is valid andSperner2Dis a total search problem. - Solutions are the trichromatic triangles of the triangulation cutting each unit square along its main diagonal. For a given colouring, each such triangle is a panchromatic simplex in the sense of their Definition 4.2.
Because of the different grid size and input encoding, an instance of Sperner2D is not literally
an instance of their problem.
The membership in PPAD is due to Papadimitriou [Pap94b]; this file formalizes the
door-following reduction to EndOfLine for this presentation.
Main definitions #
Cslib.Complexity.Sperner2DInstance,Cslib.Complexity.encSperner2D: instances of circuit2D-SPERNERand their encoding.Cslib.Complexity.Sperner2D: circuit2D-SPERNER.Cslib.Complexity.Sperner2D.color: the Sperner colouring presented by an instance.Cslib.Complexity.Sperner2D.succ,Cslib.Complexity.Sperner2D.pred: the door graph on triangle codes.
Main results #
Cslib.Complexity.Sperner2D.eq_endOfLineRel:Sperner2Dis the end-of-line relation of the door graph.Cslib.Complexity.Sperner2D_mem_PPAD:Sperner2D ∈ PPAD.Cslib.Complexity.Sperner2D_mem_TFNP:Sperner2D ∈ TFNP.Cslib.Complexity.Sperner2D_searchReducible_EndOfLine:Sperner2Dreduces toEndOfLine.
References #
An instance of circuit 2D-SPERNER: the unary grid exponent gridExp (m, for the
2 ^ m × 2 ^ m grid) and the Boolean colouring circuit circuit.
- gridExp : ℕ
Binary logarithm
mof the2 ^ m × 2 ^ mgrid side length, encoded in unary. - circuit : CircuitCode
Boolean circuit code computing interior grid colours from
m-bit coordinates.
Instances For
Encoding of a Sperner2DInstance: the grid exponent gridExp in unary (framed), followed by
the Boolean circuit code circuit.
The colour read off the output bits of a colouring circuit: colour 1 if output bit 0 is set,
otherwise colour 2 if output bit 2 is set, otherwise colour 0. On outputs in the case encoding
Δ₁⁺, Δ₁⁻, Δ₂⁺, Δ₂⁻ of Chen, Deng and Teng, Case i decodes to colour i (Case 3 to 0).
The 2m + 1-bit code of a triangle: its orientation bit, then the m-bit codes of x and y
(least significant bit first).
Decode a 2m + 1-bit word as a triangle; inverse to encodeTriangle on the grid.
The successor function of the door graph on triangle codes.
The predecessor function of the door graph on triangle codes.
Circuit 2D-SPERNER. A solution of inst : Sperner2DInstance is the
2 * inst.gridExp + 1-bit code of a trichromatic triangle of Sperner2D.color inst on the
2 ^ inst.gridExp × 2 ^ inst.gridExp grid.
Instances For
Decoding inverts encoding on the triangles of the grid.
The distinguished source start has the all-zero code.
Every instance presents a Sperner colouring.
A triangle code has an outgoing edge exactly when the triangle has an exit door.
A triangle code has an incoming edge exactly when the triangle has an entry door and is not
start.
Sperner2D is the end-of-line problem of the door graph on triangle codes.
Polynomial-time door graph #
The successor function of the door graph is computable in polynomial time.
The predecessor function of the door graph is computable in polynomial time.
The length 2m + 1 of triangle codes is computable in polynomial time, in unary.
Circuit 2D-SPERNER is in PPAD.
Circuit 2D-SPERNER is a total search problem in FNP.
Circuit 2D-SPERNER reduces to EndOfLine, mapping the colouring circuit to circuits for the
door graph and returning the vertex found.