The Hairy Ball Problem is PPAD-Complete
Paul W. Goldberg, Alexandros Hollender

TL;DR
This paper proves that finding approximate zeros of the Hairy Ball problem is PPAD-complete and exact zeros are FIXP-hard, establishing the computational complexity of this topological problem.
Contribution
It introduces the first proof of PPAD-completeness for the Hairy Ball problem and develops new tools involving multiple-source END-OF-LINE variants.
Findings
Approximate zero computation is PPAD-complete.
Exact zero computation is FIXP-hard.
New variants of END-OF-LINE are introduced and analyzed.
Abstract
The Hairy Ball Theorem states that every continuous tangent vector field on an even-dimensional sphere must have a zero. We prove that the associated computational problem of (a) computing an approximate zero is PPAD-complete, and (b) computing an exact zero is FIXP-hard. We also consider the Hairy Ball Theorem on toroidal instead of spherical domains and show that the approximate problem remains PPAD-complete. On a conceptual level, our PPAD-membership results are particularly interesting, because they heavily rely on the investigation of multiple-source variants of END-OF-LINE, the canonical PPAD-complete problem. Our results on these new END-OF-LINE variants are of independent interest and provide new tools for showing membership in PPAD. In particular, we use them to provide the first full proof of PPAD-completeness for the IMBALANCE problem defined by Beame et al. in 1998.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
The Hairy Ball problem is PPAD-complete††thanks: A preliminary version of this paper appeared in the proceedings of the 46th International Colloquium on Automata, Languages, and Programming (ICALP 2019).
Paul W. Goldberg
Department of Computer Science, University of Oxford [email protected]
Alexandros Hollender
Department of Computer Science, University of Oxford [email protected]
Abstract
The Hairy Ball Theorem states that every continuous tangent vector field on an even-dimensional sphere must have a zero. We prove that the associated computational problem of (a) computing an approximate zero is PPAD-complete, and (b) computing an exact zero is FIXP-hard. We also consider the Hairy Ball Theorem on toroidal instead of spherical domains and show that the approximate problem remains PPAD-complete. On a conceptual level, our PPAD-membership results are particularly interesting, because they heavily rely on the investigation of multiple-source variants of End-of-Line, the canonical PPAD-complete problem. Our results on these new End-of-Line variants are of independent interest and provide new tools for showing membership in PPAD. In particular, we use them to provide the first full proof of PPAD-completeness for the Imbalance problem defined by Beame et al. in 1998.
Keywords: Computational Complexity, TFNP, PPAD, End-of-Line
Contents
1 Introduction
The Hairy Ball Theorem (HBT) is a well-known topological theorem stating that there is no non-vanishing continuous tangent vector field on an even-dimensional -sphere. It has various informal statements such as “you can’t comb a hairy ball flat without creating a cowlick”111https://en.wikipedia.org/wiki/Hairy_ball_theorem, or “there is a point on the surface of the earth with zero horizontal wind velocity”. The HBT is superficially reminiscent of the Borsuk-Ulam Theorem, stating that given any continuous mapping from the 2-sphere to the plane, there are two antipodal points that map to the same value. (Informally, “there are two antipodal points on the surface of the earth where the temperature and pressure are the same”). As we shall see, the present paper highlights a fundamental difference between the two, in terms of the complexity class naturally associated with each of them.
The HBT was first proved in 1885 by Poincaré [31] for the case . The theorem as stated for all even was proved in 1912 by Brouwer [5]. Accordingly, this result is sometimes also called the Poincaré-Brouwer theorem. In fact, the result proved by Poincaré [31] is stronger than stated above. It follows from it that for any (sufficiently well-behaved) 2-dimensional manifold with genus , any continuous tangent vector field must have a zero. In particular, this means that the HBT also holds for the torus of genus for , i.e. the 2-dimensional torus with holes. It is easy to see that it does not hold for the standard single-hole torus.
Over the years, various papers in the American Mathematical Monthly have presented alternative proofs of the Hairy Ball Theorem and variants, for example [23, 27, 4, 14, 25, 9].
Topological existence results (such as the HBT, Borsuk-Ulam, and the Brouwer and Banach fixpoint theorems) have a very interesting relationship with complexity classes of search problems in which any instance has a guaranteed solution. Any such theorem has a corresponding computational challenge, of searching for such a solution, given a circuit that computes an appropriate function. The assumption that these complexity classes are distinct from each other (the ones of main interest here being PPAD and PPA, discussed below in more detail) provides a taxonomy of these theorems. Our results highlight a fundamental distinction between the HBT and Borsuk-Ulam, by showing that the corresponding search problem for the HBT is characterised by the complexity class PPAD, in contrast to Borsuk-Ulam, which is characterised by PPA [1]. The complexity-theoretic analysis of topological search problems provides a well-defined sense in which the HBT is “Brouwer-like” rather than “Borsuk-Ulam-like”. It has previously been noted that the HBT may be used to prove Brouwer’s fixed point theorem [27], but not the other way around. Indeed, the existing proof of HBT using Sperner’s Lemma [23] actually uses a generalisation of Sperner’s Lemma, which was not known to be equivalent to Brouwer’s fixed point theorem prior to our work.
1.1 Background on NP total search and PPAD
The complexity class TFNP is the set of all total function computation problems in NP: functions where every input has an efficiently-checkable solution (in Section 2.2 we give a precise definition). Many problems in TFNP appear to be computationally difficult, notably Factoring, the problem of computing a prime factorisation of a given number, also Nash, the problem of computing a Nash equilibrium of a game. However, such problems are unlikely to be NP-hard, due to the 1991 result of Megiddo and Papadimitriou [26] showing that TFNP problems cannot be NP-hard unless NP is equal to co-NP. This basic fact, that hard TFNP problems are in a very strong sense “NP-intermediate”, provides TFNP’s strong theoretical appeal. This has led to the classification of these problems in terms of certain syntactic subclasses of TFNP, whose problems are shown to be total due to some basic combinatorial principle. The best-known of these classes are PLS, PPP, PPAD, and PPA, identified by Papadimitriou in 1994 [30].
- •
PPAD consists of problems whose totality is based on the principle that given a source in a directed graph whose vertices have in-degree and out-degree at most 1, there exists another degree-1 vertex. Its canonical problem End-of-Line consists of an exponentially-large graph of this kind, presented concisely via a circuit.
- •
PPA differs from PPAD in that the graph need not be directed; being a more general principle, PPA is thus a superset of PPAD. Its canonical problem Leaf is similar, only the graph is undirected.
Subsequently, many TFNP problems of interest were shown PPAD-complete [10, 7, 24, 13], while more recently others were shown PPA-complete [18, 19]. Despite their similar definitions, PPAD and PPA are usually conjectured to be different, and (along with other syntactic TFNP subclasses) are separated by oracles [3].
1.2 Our results and their significance
Given the long-standing interest in the Hairy Ball Theorem, it is natural to study the corresponding computational search problem. In this paper, we prove that computing an approximate zero of a Hairy Ball vector field is PPAD-complete. While many PPAD-completeness results already exist, a noteworthy novelty of our results is that we find that computing HBT solutions corresponds with multiple-source variants of the End-of-Line problem: given a large directed graph implicitly represented by a circuit, suppose you are shown several sources and told to find another degree-1 vertex. This is in contrast with previous PPAD-complete problems that naturally reduce to standard single-source End-of-Line.
In Section 8 we prove that these multiple-source End-of-Line variants are PPAD-complete (membership of PPAD being the tricky aspect). Our results make progress on the general question (studied in [20]) of whether there exist combinatorial principles indicating totality of search problems, that are fundamentally different from the known ones that give rise to complexity classes such as PPAD. In particular, in Section 8.2, we note that a proof of PPAD-completeness for the Imbalance problem by Beame et al. [3] is incomplete and provide a full proof using our results.
The generalisation of Poincaré’s result to higher dimensions is called the Poincaré-Hopf theorem (see e.g. [21]). This theorem relates the number and types of zeros of a vector field on a manifold with its Euler characteristic, a topological invariant. In particular, if the Euler characteristic of a manifold is not [math], then any continuous tangent vector field on the surface must have a zero. The Euler characteristic of even-dimensional spheres is , while it is for 2-dimensional toruses of genus . For odd-dimensional spheres it is [math].
We believe that the reduction to multiple-source End-of-Line is not an artefact of our techniques, but instead intrinsically related to the Euler characteristic of the domain. Indeed, the reduction from the HBT problem on even-dimensional spheres to End-of-Line yields sources (Section 4). On the other hand, if we consider the HBT problem on the 2-dimensional torus of genus , then we obtain sources (Section 7). The connection between HBT and directed graph problems has previously only appeared in a proof for the 2-dimensional sphere case [23].
Finally, we note that PPAD-hardness is obtained by constructing a HBT vector field from multiple copies of a discrete Brouwer fixpoint problem. The usage of multiple copies is a new conceptual feature, closely related to the multi-source aspect. Using the same high-level idea, we also provide a FIXP-hardness result for the problem of computing an exact solution (Section 5.2).
1.3 Other related work
Banach’s Fixed Point Theorem [2] says that a contraction map has a unique fixpoint. Its corresponding computational problem Contraction, is to find a fixed point of a given contraction map. Some versions of Contraction have been shown complete for CLS, a subclass222A very recent result [16] shows that, in fact, CLS = PPAD PLS. of PPAD [11, 12, 17]. The search for Brouwer fixpoints (including discretised versions of Brouwer functions) is PPAD-complete for most variants of the problem [30, 7], which is why we say the HBT is “Brouwer-like”. Finally — in contrast — the computational problem of searching for a Borsuk-Ulam solution is PPA-complete [1]. Other topological existence results that have PPA-complete search problems include the Hobby-Rice theorem [18] and the Ham Sandwich Theorem [19].
1.4 Future research directions
We have obtained a satisfying answer to the question of the computational complexity of the Hairy Ball Theorem, if we are looking for an approximate solution. For other solution concepts related to exact solutions, we have provided a FIXP-hardness result. This leaves open the question of whether the problem is FIXP-complete in this case. A first step in that direction would be to try to reduce Hairy Ball to Borsuk-Ulam, even though no such (fully constructive) mathematical proof seems to be known.
Our reduction from approximate Hairy Ball to approximate Brouwer cannot be used on the exact versions of these problems, because the step where we reduce from multi-source End-of-Line to standard End-of-Line corresponds to a discontinuous mapping between the corresponding topological structures. This raises the question of whether continuous mappings are an important subclass of reductions and motivates further study on this topic.
Our results on multiple-source variants of the End-of-Line problem open the way for two new research directions. First, they provide a new tool for showing membership of PPAD, which can be used to put further problems in this class. It seems very unlikely that the Hairy Ball Theorem should be the only “natural” application of these results. Furthermore, a second interesting research direction is investigating the complexity of End-of-Line with a super-polynomial number of known sources (implicitly given in the input).
2 Preliminaries
Let be a positive integer. For , , and denote the standard -norm, -norm and -norm respectively. For , denotes the inner product.
The -dimensional unit sphere in (or -sphere) is denoted . A continuous tangent vector field on is a continuous function such that for all we have . The Hairy Ball Theorem can be stated as follows:
Theorem 1** (Poincaré [31]–Brouwer [5]).**
If is even, then for any continuous tangent vector field , there exists such that .
2.1 Model of Computation
We work in the standard Turing machine model. All numbers appearing in computations are rational numbers where the numerator and denominator are integers represented in binary. For a rational number , denotes the size of the representation of , i.e. the sum of the representation length of its numerator and denominator in binary. For an arithmetic circuit , denotes the number of gates in the circuit added to the representation length of any rational constants used by the circuit.
2.2 Formal definition of TFNP
A computational search problem is given by a binary relation , interpreted as follows: is a solution to instance , if and only if . The search problem is in FNP (Functions in NP), if is polynomial-time computable (i.e. can be decided in polynomial time in ) and there exists some polynomial such that . Here denotes all finite length bit-strings and is the length of bit-string .
The class TFNP (Total Functions in NP [26]) contains all search problems that are in FNP and are total, i.e. every instance has at least one solution. Formally, this corresponds to requiring that for every there exists such that .
Let and be total search problems in TFNP. We say that (many-one) reduces to , if there exist polynomial-time computable functions such that
[TABLE]
Note that if is polynomial-time solvable, then so is . We say that two problems and are (polynomial-time) equivalent, if reduces to and reduces to .
2.3 The End-of-Line problem
To be PPAD-complete, a problem must be equivalent to End-of-Line. The End-of-Line problem is informally defined as follows: given a directed graph where each vertex has in- and out-degree at most and given a known source of this graph, find a sink or another source. The problem is computationally challenging, because the graph is not given explicitly in the input. Instead, we are given an implicit concise representation of the graph through circuits that compute the predecessor and successor of a vertex in the graph. In what follows, we sometimes interpret the input and output of the circuits, which are elements in , as the numbers .
Definition 1** (End-of-Line [10]).**
The End-of-Line problem is defined as: given Boolean circuits with input bits and output bits and such that , find such that or .
The circuits define a graph as follows. There is a directed edge from vertex to (), if and only if and . Note that any badly defined edge, i.e. and , or and , qualifies as a solution of End-of-Line as defined above (because or respectively). Note that [math] is a source of the graph, unless , in which case [math] is a valid solution to the problem as stated above.
It is easy to check that this formal definition of the problem is computationally equivalent to the informal description given above. By definition, End-of-Line is PPAD-complete [30]. Furthermore, reduction from End-of-Line is a very common technique to show PPAD-hardness (e.g. [10, 7]). In Section 8 we show that the multiple-source version MS-EoL (Definition 9) is equivalent to End-of-Line.
3 The Hairy-Ball Problem
3.1 The D-Hairy-Ball problem
The Hairy Ball Theorem naturally yields a corresponding computational problem. We are given a continuous tangent vector field on the unit sphere and have to find a point where it is zero. In trying to formalise this, some issues need to be addressed. First, one has to decide how the vector field should be represented in the input. Here we take the usual approach of assuming that it is represented as an arithmetic circuit.
Before we discuss the types of gates that we want to allow in the circuit, let us briefly handle the second issue: the vector field might not have a rational zero. Indeed, consider the following example: at the vector field is simply the vector projected onto the tangent space of at . In this case, the only solutions are . Thus, we cannot hope to always output an exact solution. We bypass this problem by asking for an approximate solution instead, i.e. a point such that for some provided in the input. This notion of approximate solution is the standard one used when studying topological existence theorems in the context of TFNP (e.g. Brouwer’s fixed point theorem or the Borsuk-Ulam theorem).
As mentioned above, the vector field will be represented as an arithmetic circuit. In the case of , the circuit will have three input gates and three output gates. The arithmetic circuit will be allowed to use gates and rational constants. All the gates have fan-in 2, except which has fan-in 1 and corresponds to multiplication by a rational constant . Note that such a circuit is polynomially equivalent to a circuit only using gates and rational constants, since the other gates can be efficiently simulated using these. These circuits correspond to LINEAR-FIXP-type circuits that are known to be sufficient to obtain PPAD-hardness of Brouwer [15]. A discussion about why we don’t use more powerful gates in our definition can be found in the next section.
This type of circuit yields piece-wise affine functions that are continuous. Furthermore, it has the following nice property: for any such arithmetic circuit , and any rational , we can compute exactly in polynomial time in and . One potential issue is that might not be tangent to the sphere, but this is easy to fix by simply considering the vector field given by the projection of onto the corresponding tangent space to the sphere. Thus, we define the computational problem as follows:
Definition 2** (D-Hairy-Ball).**
Let be even. The D-Hairy-Ball problem is defined as: given and an arithmetic circuit with inputs and outputs, using gates and rational constants, find such that .
Here denotes the projection onto the tangent space to the sphere at . Note that for any , we have , because . Thus, the projection of any rational vector onto the tangent space at rational can be computed exactly in polynomial time in and . Note that we are looking for a solution with respect to the -norm, but we could also have used the - or -norm, since all these versions are computationally equivalent.
D-Hairy-Ball lies in TFNP. Clearly, any solution can be checked in polynomial time. Totality of D-Hairy-Ball will immediately follow when we prove that it lies in PPAD (Corollary 5).
Lemma 2**.**
Let be even. Let be an arithmetic circuit with inputs and outputs, using gates and rational constants. Then, the function , is Lipschitz-continuous with Lipschitz constant (w.r.t. -norm).
Proof.
It is easy to see that if functions and are - and -Lipschitz respectively, then is -Lipschitz and is -Lipschitz. Since any rational constant used in has absolute value bounded by , it follows that is -Lipschitz. Using the fact that each input gate corresponds to a -Lipschitz function, it follows that must be -Lipschitz.
Using the same kind of argument it is easy to show that for we always have . Using the fact that is -Lipschitz and the definition , we obtain that is Lipschitz-continuous on with constant . ∎
Our main result is Theorem 3. Containment in PPAD, which turns out to be the most challenging part of this result, is presented in Section 4 (using the multiple-source End-of-Line results of Section 8). PPAD-hardness is presented in Section 5.
Theorem 3**.**
For all even , D-Hairy-Ball is PPAD-complete.
3.2 About the power of the arithmetic circuit
The main disadvantage of defining D-Hairy-Ball as in Definition 2 is that the type of circuit used seems quite restrictive. Clearly, it would be natural to also allow -gates that compute the product of two intermediate outputs (as opposed to just multiplication by a fixed constant). Unfortunately, allowing the -gate leads to technical complications in the definition of the problem because of repeated squaring (see below). These technicalities would make Definition 2 more cumbersome and less intuitive overall. In the interest of simplicity and clarity of exposition we have thus decided to use the simpler definition that only allows gates.
From the standpoint of computational complexity, this restriction turns out to be irrelevant. Indeed, in Section 4 we prove that a very abstract formulation of the Hairy-Ball problem lies in PPAD. Namely, we only require that the tangent vector field be polynomially computable and polynomially continuous (Definition 3). These two assumptions are very natural and desirable in any TFNP-style definition of the problem. In particular, properly defining the problem with the additional -gates would also yield a problem that lies in PPAD. Furthermore, in Section 5 we prove that D-Hairy-Ball is PPAD-hard. It immediately follows that formulations with more powerful circuits are also PPAD-hard. Thus, it turns out that allowing -gates yields a problem that is polynomially equivalent to this more restricted version that we use.
Before we close this section, we give some details about the complication that arises when allowing the -gates and how this can be circumvented in order to define a TFNP-problem. The main issue is that if the circuit is allowed to use -gates, then we might not be able to evaluate the function it represents efficiently. For example, consider the arithmetic circuit that does repeated squaring, i.e. it has a sequence of -gates that multiply the output of the previous gate by itself. On input , this circuit outputs , which is doubly exponential in the size of the circuit and input to the circuit. Even putting aside the fact that we cannot efficiently represent this number in our model, this also causes the Lipschitz-constant to be doubly exponential. In order to solve this we can enforce an upper bound on all computations of the circuit. This means that every gate would have an output in . would have representation size polynomial in the size of the circuit. Without loss of generality we can take . However, we still might not be able to compute the output of the (bounded) circuit exactly. Indeed, the same circuit as earlier, on input , would output . We would need an exponential (w.r.t. the number of bits of the input and the size of the circuit) number of bits to represent this.
As a result, we would have to settle for approximate computation of the circuit’s output. Let be a circuit with computation bounded in . For any and any , we can compute , which is up to error , in time polynomial in the size of the circuit, and . This can be achieved by computing the output of every gate up to some error. Thus, when defining the Hairy-Ball problem, a solution would be required to satisfy for . Note that this implies that .
One nice property of this kind of circuit is that the condition that be tangential to can be enforced syntactically. Indeed, we can extend the circuit to output , instead of . Some care is required here, because the computations of the circuit are bounded in , but this can be solved by multiplying by before projecting and using instead of . Thus, we could always assume that the circuit given in the input describes a tangential vector field on the sphere.
As mentioned above, we do not use this kind of circuit because it introduces unnecessary complications and clutter.333Another more elegant option would be to consider well-behaved circuits, as defined in [16]. However, a closer inspection of the proof of Theorem 4 yields that this problem also lies in PPAD and thus turns out to be equivalent to D-Hairy-Ball.
4 The Hairy-Ball Problem is in PPAD
In this section we present our main result: the problem of computing an approximate Hairy Ball solution reduces to End-of-Line, the canonical PPAD-complete problem.
From a purely mathematical standpoint, our proof can be used to provide a (fairly cumbersome) proof of the Hairy Ball theorem by using Brouwer’s fixed point theorem. Indeed, it is known [30] that End-of-Line reduces to Brouwer (in fact, even 2D-Brouwer [7]). Thus, given a Hairy Ball function , using our reduction and Brouwer’s fixed point theorem, one can prove the existence of a point such that for any (using the fact that must be uniformly continuous since the sphere is compact). Then, since any sequence in a compact set must have a converging subsequence it follows that there must exist such that . Finding a more direct way to deduce the Hairy Ball theorem from Brouwer’s fixed point theorem is an interesting open question.
4.1 A general version of the Hairy-Ball problem
Our goal is to prove that the Hairy Ball problem lies in PPAD in a setting that is as general and encompassing as possible. The way the function is represented, as a circuit or otherwise, should not play a role. Thus, we are only going to make two assumptions about the tangent vector field: that it can be evaluated in polynomial time and that it is polynomially continuous in some well-defined sense. The first assumption is very natural: if we are given a Hairy Ball function, we expect to be able to evaluate it efficiently. The motivation for the second assumption is that if we omit it, then there is no guarantee that there will exist an approximate solution with representation size that is polynomial in the input size.
We now define these assumptions formally, following the analogous definitions by Etessami and Yannakakis [15] for Brouwer fixed point problems. Let be a class of Hairy Ball functions (i.e. continuous tangent vector fields) with even. Note that here is not fixed for all , but we assume that . For any , denotes the length of the representation of in . In the case of D-Hairy-Ball, is fixed and is the class of all such functions represented using arithmetic circuits with gates (with the projection onto the tangent space at the end). In that case, is the size of the circuit representing . Recall that for rational vector , is the length of the representation of .
Definition 3** ([15]).**
Let be a class of Hairy Ball functions.
- •
is polynomially computable, if there exists some polynomial such that for any and any rational input , can be computed in time .
- •
is polynomially continuous, if there exists some polynomial such that for any and any rational , there exists a rational with such that for all we have .
Note that D-Hairy-Ball yields a class that is both polynomially computable and polynomially continuous (by Lemma 2).
Definition 4**.**
Let be a class of Hairy Ball functions. The problem Hairy-Ball() is defined as: given and , find such that .
For simplicity we assume that we can recognise whether some string in represents an element in polynomial time. If this does not hold, then Hairy-Ball() has to be studied as a promise problem. The reduction to End-of-Line given in the proof below still holds. However, this does not imply that the problem lies in PPAD, because TFNP requires the problem to be total without any promise.
4.2 The general problem lies in PPAD
Theorem 4**.**
Let be a class of Hairy Ball functions that is polynomially computable and polynomially continuous. Then, Hairy-Ball() lies in PPAD.
Corollary 5**.**
For all even , D-Hairy-Ball lies in PPAD.
Proof Overview for Theorem 4.
The proof can be subdivided into two parts. In the first part, we reduce D-Hairy-Ball to a 2-source End-of-Line problem. In the second part, we show that the 2-source version reduces to the standard version of End-of-Line, where a single source is known. Surprisingly, the reduction from 2 sources to 1 is non-trivial. The proof for this is presented separately in Section 8. In fact, we prove the more general result: as long as the number of known sources in an End-of-Line instance is polynomial, we can reduce to standard End-of-Line. Various implications of this result are also presented in Section 8.
We now give some details about the first part of the proof, in which we reduce D-Hairy-Ball to 2-source End-of-Line through a Sperner argument. The inspiration for this comes from a proof of the 2-dimensional Hairy Ball Theorem via a generalisation of Sperner’s Lemma, given by Jarvis and Tanton [23]. Our contribution here is two-fold: we extend their proof to any higher (even) dimension and we turn it into a polynomial-time reduction. Even though Sperner’s Lemma is known to be PPAD-complete [30], this result does not apply to the general version of Sperner’s Lemma that is used here. Indeed, by using standard techniques, this general version can only be reduced to a 2-source instance of End-of-Line. This is why we then require our technical results about multiple-source End-of-Line from Section 8.
In order to turn the ideas of Jarvis and Tanton into a polynomial-time reduction, instead of working directly on the sphere, we use a stereographic projection to “unfold” the sphere () into the space , along with the vector field. Then, we consider a sufficiently large cross-polytope of and prove that the “unfolded” vector field satisfies certain boundary conditions. In the case , this corresponds to the vector field making two full rotations when we move along the boundary of (see Fig. 1(a)). Next, we pick an efficient triangulation of and a suitable colouring of its nodes. The last step then requires us to prove that this colouring yields exactly two starting points (on the boundary) for Sperner paths (see Fig. 1(b)) that lead to panchromatic simplices. Using standard Sperner-arguments this yields a 2-source End-of-Line instance. The full proof for any even can be found below. Note that, as expected, the proof does not work if is odd. Indeed, the construction then yields a starting point and an ending point on the boundary, instead of two starting points. ∎
Proof of Theorem 4.
Let be an instance of Hairy-Ball() with .
Stereographic projection. Consider the unit sphere in . For convenience, we let the coordinate index start at [math] in , i.e. . Let . The stereographic projection with respect to the pole is defined as
[TABLE]
and its inverse is
[TABLE]
Note that the stereographic projection and its inverse can be computed exactly in polynomial time in the representation size of the rational input point. In particular, rational points are always mapped to rational points. Furthermore, it is easy to check that the inverse stereographic projection is -Lipschitz continuous (w.r.t. -norm).
Unfolding: changing the domain and range of . We want to “transform” the function into a function , which is more convenient. Changing the domain of is easy: the stereographic projection “unfolds” into . To change the range of we would like to also “unfold” the tangent vector field so that it now outputs a vector in instead of . One way to achieve this is to find continuous vector fields , , such that for every , is a basis of the tangent space of at . Expressing in this local basis then yields an element in , as desired. We can explicitly construct such vector fields by using and to map the standard basis of into the tangent space at each . We obtain
[TABLE]
where indicates the th coordinate for . It is straightforward to check that are continuous tangent vector fields that yield an orthonormal basis of the tangent space of at every .
“Unfolding” yields which is defined as follows for
[TABLE]
where we define for convenience. Intuitively, corresponds to the function that first maps to a point on the sphere using the inverse stereographic projection, computes and then expresses in the local basis . Note that can be computed in polynomial time in and .
Since the always form an orthonormal basis, it follows that we always have . Thus, in order to find some with , it suffices to find some with .
Continuity of . Clearly, is continuous. Moreover, since is polynomially continuous, we can extend this to in the following sense.
Claim 1*.*
There exists a polynomial (that only depends on ) such that for any , there exists with such that for any we have .
Proof.
First, let us prove a bound on for all . Let be such that if . Recall that is polynomially bounded in . Since is continuous on the sphere , there exists some such that . The arc distance between and is at most and we pick points along the arc such that and . We can take (assuming ). Then, we have
[TABLE]
For any we have for all
[TABLE]
Note that for all , is Lipschitz-continuous with a Lipschitz constant of the form for some constant ( is enough). This can be checked by direct computation. Recalling that is short for , the fact that is -Lipschitz and is polynomially continuous, the claim then follows. ∎
The colouring. The function induces a colouring on . Every is assigned a colour as follows. First, compute . If for all , then assign colour [math]. Otherwise assign colour (break ties by picking the smallest such index).
Pick so that implies
[TABLE]
By 1, it is possible to pick such with .
A panchromatic -fine -simplex in is a -simplex in , such that has colour and for all .
Claim 2*.*
Any panchromatic -simplex in yields a solution.
Proof.
Let the -fine -simplex be panchromatic. Since for all , there exists such that . However, it must hold that and thus . Since , it follows by (2) that , i.e. yields a solution. ∎
Sperner. The next step is to show that we can locate a panchromatic -simplex by using a Sperner-like argument. We explain the intuition in the case . If , then we have found a solution. If this is not the case, then we consider a sufficiently large region in centred at [math]. We can show that on the boundary of , (approximately) behaves as in Fig. 1(a), which yields a colouring similar to Fig. 1(b). The colouring on the boundary of the domain in Fig. 1(b) has a very special structure. First of all, it is antipodally symmetric, namely, points lying on opposite sides have the same colour. Furthermore, if we start from any point on the boundary and “move” along the boundary in anti-clockwise direction, then we will see colour 1 change into colour 2 exactly twice. However, we will never see colour 2 change into colour 1; there will always be colour 0 in-between.
Intuitively, we want to pick a -fine triangulation of the ball and construct a directed graph on the triangles. There is a directed edge between two triangles if they share a facet coloured and the edge is directed such that it crosses the facet with the colour on its left-hand side and the colour is on its right-hand side. Then, because of the structure of the colouring on the boundary, we obtain two known sources and any sink or other source of this directed graph corresponds to a panchromatic simplex, i.e. a solution.
This intuition is formalised in the following lemma, which is proved below.
Lemma 6**.**
The problem of finding a -fine panchromatic -simplex in reduces to -source End-of-Line.
By Theorem 14 in Section 8 it then follows that the problem lies in PPAD, which concludes the proof of Theorem 4. ∎
Proof of Lemma 6.
If , then we have found a solution. Thus, assume that this is not the case. To simplify the analysis we assume that the standard coordinate system is such that , . If this is not the case then we perform a rotation such that this holds (at least approximately; a small error can be tolerated). Let be the th unit vector in .
In order to investigate the colouring, we first prove some properties of an ideal colouring that we define below and then show that the actual colouring is “close” enough to the ideal colouring and also satisfies these properties.
The ideal colouring. The ideal colouring is a function . For it is given by for . For , we set . The ideal colour of is the colour corresponding to (using the same procedure as for the actual colouring), instead of .
Claim 3*.*
The following properties of are easy to check by direct computation.
is antipodally symmetric, i.e. for all . 2. 2.
For all , . 3. 3.
If , then or . 4. 4.
For any subset of the indices , if is such that for and otherwise, then for all and there exists such that . In particular, any colour-direction with yields a colour in .
The ideal colouring is “close” to the actual colouring. We now show that if is sufficiently large, then the ideal colouring is very close to the actual colouring. Namely, we will show that is almost equal to , a “normalisation” of defined by , where . Note that and yield the exact same colour for any .
Claim 4*.*
There exists with such that for all with
[TABLE]
Proof.
Since is polynomially continuous, there exists such that with . Using the definition of it is easy to check that . Thus, we can construct with such that for all with .
Let denote the colour-direction obtained at if we use , instead of , i.e. . Then, for all with , we have
[TABLE]
Recalling that and using equation (1) and the definition of , we can write for all
[TABLE]
We obtain that for any with
[TABLE]
where we used (3), and . ∎
The cross-polytope . Instead of working on a ball in , we define our Sperner instance on a different region that is easier to triangulate efficiently while still behaving nicely with respect to the colouring. Let . The cross-polytope of radius is defined as .
The unit cross-polytope can be triangulated efficiently by using a standard efficient triangulation of the -simplex (see e.g. [33]) and then extending it to the rest of the cross-polytope by mirroring along each axis. Thus, using a -fine efficient triangulation of the simplex, extending it to the cross-polytope and then scaling to , yields an efficient -fine triangulation of . We call this triangulation . In particular, given a simplex of and one of its facets, we can compute the other simplex of that shares this facet in polynomial time (or decide that it does not exist, if the facet lies on the boundary of ). Note that is polynomial in the size of the input.
The boundary of . The boundary of is denoted . Note that for any we have . Let and denote the intersection of with the all-positive and all-negative orthant respectively. Note that and are the -simplices and . Furthermore, by construction, induces a triangulation on and . We now prove two key properties of the actual colouring on .
Claim 5*.*
satisfies the standard Sperner boundary conditions. Namely, any face (, ) of only contains colours in in the actual colouring. The same also holds for .
Proof.
By 3 (Item 4), it suffices to show that for all on the face , which holds by 4 and the choice of . ∎
Claim 6*.*
The restriction of the triangulation to does not contain any -simplex coloured (in the actual colouring).
Proof.
Let be a -fine -simplex on such that has colour . By 3 (Item 3) it suffices to show that for all . Note that since , it follows by (2)
[TABLE]
since and .
Now assume that there exists such that . (4) and 4 imply that and thus also for all , since has colour in the actual colouring. On the other hand, since it follows that using (4). Thus, we get . Using 4 again, it follows that , which implies , a contradiction to 3. ∎
Orientation of and . The following simple observation is crucial.
Claim 7*.*
The -simplices and have the same orientation with respect to the Sperner boundary conditions.
Proof.
Consider the linear function , and note that maps to while preserving the Sperner boundary conditions (5). Furthermore, the determinant of is , since is even. It follows that and have the same orientation with respect to the Sperner boundary conditions. ∎
This is the only point in the proof where we use the fact that is even. However, it is indeed crucial, since this ensures that the two ends of line that we know are both sources (or both sinks), as we will see below. If is odd, our reduction yields an instance with a known source and sink. In this case, there is no guarantee that a solution – another end of line – even exists.
2-source End-of-Line. We now explain how the problem of finding a panchromatic -simplex in the triangulation of reduces to a 2-source End-of-Line problem. Let us briefly recall how a standard -dimensional Sperner instance reduces to End-of-Line. A fully detailed and formal presentation of this is given in [15, Proposition 2.2]. In the standard -dimensional Sperner problem, we have a big -simplex triangulated into -simplices and a colouring that satisfies the Sperner boundary conditions. The End-of-Line graph is constructed as follows. Every -simplex of the triangulation is a node in the graph. There is an edge between two nodes if the corresponding -simplices have a common facet coloured (called a door-facet). The edge is directed by considering the orientation of the -simplices with respect to the common facet. This yields an End-of-Line graph where every degree-1 node is either a panchromatic -simplex or a -simplex that has a door-facet lying on the boundary of the instance, i.e. on the boundary of the big -simplex. Note that all the door-facets lying on the boundary of the instance lie on the -facet of the big -simplex. In order to obtain a single source, there are various standard tricks, see e.g. [33, Chapter 4]. If we use the so-called “artificial start” trick, then as shown in [33, 15], we obtain a slightly larger Sperner instance that has a single door-facet “exposed” to the outside, i.e. lying on the boundary of the instance.
We can use these standard techniques on our problem. The boundary of our instance is . By 6, all door-facets on the boundary are contained in or . By applying the trick mentioned above on (interpreted as a facet of a -dimensional Sperner instance) we obtain a single door-facet that is “exposed” in this whole region. Applying the exact same trick on also yields a single door-facet that is “exposed” in this whole region. Thus, overall we only have two door-facets that lie on the boundary of our instance. Fig. 2 shows how the “artificial start” trick is used on a 2-dimensional example.
Finally, the important observation here is that the orientation of the “exposed” door-facet obtained by using the trick only depends on the orientation of the big facet on which it is used. Since and have the same orientation (7), the two “exposed” door-facets have the same orientation. This means that we have two “entrances” for the standard Sperner path-following algorithm. By applying the formal arguments in the reduction from Sperner to End-of-Line this yields a two-source End-of-Line instance. ∎
5 Computational Hardness for Hairy Ball Problems
It is possible to prove Brouwer’s fixed point theorem using the Hairy Ball Theorem as follows (see [27] for the full details). Let be the unit ball. If we assume that a function does not have any fixed point, then we can construct a Hairy Ball function that does not have a zero. Brouwer’s theorem follows by contradiction. The main idea for the construction of is the following. Consider and assume that it points directly inward on the boundary of . Take one copy of with the vector field and one copy with the vector field , and glue their boundaries together. The resulting object can be deformed to yield the sphere and the vector fields will perfectly match on the glued region. Thus, assuming that has no zero, will have no zero either.
By making this idea fully constructive and efficient, we obtain reductions from Brouwer problems to Hairy Ball problems. Thus, existing PPAD- and FIXP-hardness results for Brouwer also hold for the corresponding Hairy Ball problems. We note that these reductions always involve using two copies of a Brouwer instance to obtain a single Hairy Ball instance. This further supports our claim that the fact that we obtain two sources when reducing D-Hairy-Ball to End-of-Line (Section 4) is not an artefact of our reduction, but intrinsic to the problem.
5.1 PPAD-hardness
Theorem 7**.**
For all even , D-Hairy-Ball is PPAD-hard.
Note that this result is particularly strong, because the type of circuit allowed in the definition of D-Hairy-Ball (Definition 2) is particularly weak. Furthermore, the hardness is proved for inversely exponential (where is the Lipschitz constant of the function), which is the best we can hope for in the fixed dimension case. Indeed, if is inversely polynomial, then the following is a polynomial time algorithm that solves the problem: divide the domain into a sufficiently small (but polynomial) number of regions and check an arbitrary point in each region.
Our reduction essentially shows that some hardness results known for the Brouwer problem also hold for the Hairy Ball problem. One direction that we do not explore here is the hardness of approximation when the dimension is not fixed. It seems quite likely that the problem should be hard even for constant in that case, since this is known to hold for the Brouwer problem [32].
Proof Overview.
One way to prove this result is to take an instance of a 2D-Brouwer problem, which is known to be PPAD-complete [7], and embed a copy and a copy on the south and north hemisphere of respectively. However, since our D-Hairy-Ball circuit can only use gates in , we first shrink the domain of so that we embed it in a small region around the south pole. This ensures that even after projection onto the tangent space, no bogus solutions will appear. We do the same for in the north pole and then define on the rest of the sphere in such a way that no solution appears there.
In spirit, we follow this general proof idea, but take a slight detour, because it gives us the chance to define and study a discrete analog to D-Hairy-Ball: the D-Hairy-Cube problem. Intuitively, this problem is obtained from D-Hairy-Ball the same way that discrete 2D-Brouwer is obtained from continuous 2D-Brouwer. The domain is discretised by a grid and a circuit computes the local direction of the function in every grid-square. The natural way to discretise the sphere is to replace it by a cube with a grid on each face. The advantage of D-Hairy-Cube is that PPAD-hardness is easy to prove: just put a (slightly modified) discrete 2D-Brouwer instance on one face, and the inverse instance on the opposite face. Defining the instance on the remaining faces is trivial in this case. Section 6 defines the problem and proves PPAD-hardness.
The next step is reducing D-Hairy-Cube to D-Hairy-Ball. Even though it seems natural that this should hold, the reduction is technically tedious. In particular, we have to simulate a Boolean circuit using an arithmetic circuit, but the input bits cannot always be computed exactly. Thus, we need to use an averaging trick (see [10, 8]). The details are in Appendix A.
This yields PPAD-hardness for D-Hairy-Ball. The final step is to extend this to D-Hairy-Ball, by showing that D-Hairy-Ball reduces to D-Hairy-Ball. The proof can be found in Appendix B. ∎
5.2 FIXP-hardness
Up to this point we have only considered the problem of computing an approximate Hairy Ball solution. However, there are other computational problems one could consider, e.g. computing a point that is close to an exact solution, or computing the first bits of an exact solution.
The corresponding problems for Brouwer fixed points have been studied by Etessami and Yannakakis [15]. In particular, they define the class FIXP that captures the complexity of computing an exact fixed point of a function given by an arithmetic circuit and mapping the unit cube into itself. They prove that computing an exact Nash equilibrium of a 3-player game is FIXP-complete. In doing so, they use a special type of reduction, called an SL-reduction, that ensures that the reduction also holds for three problems that can be studied in the standard Turing machine model: the “strong approximation problem” (i.e. find a point close to an exact solution), the “partial computation” problem (i.e. compute the first bits of an exact solution) and various decision problems. This means that computing a strong approximation for 3-player Nash is as hard as computing a strong approximation of a Brouwer function given by an arithmetic circuit. We prove that the corresponding problems for the Hairy Ball Theorem are at least as hard as their Brouwer counterparts. For the formal definition of the class FIXP, see [15, p. 2570, Lemma 4.1, Theorem 4.7], and for the formal definition of SL-reductions, see [15, p. 2540]. We define our exact computation problem for the Hairy Ball Theorem as follows:
Definition 5**.**
The Exact-Hairy-Ball problem is defined as: given an arithmetic circuit (with gates , rational constants and that never divides by [math]) that computes a tangent vector field , even, find such that .
Note that the vector field will be continuous since we never divide by [math]. The vector field can be syntactically forced to be tangent to the sphere because we can compute the projection exactly using this kind of circuit.
Theorem 8**.**
Exact-Hairy-Ball* is FIXP-hard. Furthermore, the corresponding strong approximation, partial computation and decision problems are also hard for the corresponding versions of FIXP (as defined in [15]).*
Following Etessami and Yannakakis, we could define a class HB that captures the complexity of computing an exact Hairy Ball solution (and corresponding versions of the class for the related problems) by taking the set of all problems that reduce to Exact-Hairy-Ball. Then, Theorem 8 is saying that FIXP HB. Note that the three discrete problems that can be studied in the Turing machine model lie in PSPACE, by using the same technique as in [15, Proposition 4.2].
Proof of Theorem 8.
The proof is based on an idea used by Milnor [27] to show that the Hairy Ball theorem implies Brouwer’s fixed point theorem. Note, however, that Milnor’s proof proceeds by contradiction, whereas our proof is fully constructive.
We embed two copies of a Brouwer instance (after some preprocessing) on the sphere such that any exact Hairy Ball solution yields an exact Brouwer fixed point. Note that this reduction makes use of the and gates and cannot be used to prove PPAD-hardness of D-Hairy-Ball.
Let be an arithmetic circuit with gates (and rational constants) that maps the unit cube into itself and does not divide by [math]. Computing a fixed point of is a FIXP-complete problem and we will reduce this to Exact-Hairy-Ball. At the end, we also explain why our reduction is indeed an SL-reduction.
Step 1: Preprocessing. First of all, note that we can assume that is even. Indeed, we can always consider , . Note that fixed points are mapped one-to-one by dropping the first coordinate. Let be large enough such that . For any integer let . We construct the circuit that on input does:
Compute 2. 2.
Output
It is easy to check that the fixed points of are exactly the zeros of . Furthermore, if , then . Next, we change the domain from to . The circuit is constructed such that . The zeros of are exactly the zeros of scaled by . Note that if , we have .
Step 2: From Brouwer to Hairy Ball. The high-level idea in order to construct a Hairy Ball vector field is to use the output of as coordinates in some continuous tangent basis on . However, as noted before, it is impossible to define a continuous tangent basis on all of . As a result, we use two different bases (namely and ) and obtain two tangent vectors at : and . The final output is then obtained by taking a convex combination of and , according to a parameter . This parameter ensures that we do not use a tangent basis when we are close to the pole where it is not a basis. Furthermore, it also ensures that the case where is obtained as a strict convex combination (namely ) can only occur at points where , which makes this case easier to analyse.
Formally, we construct the circuit that does the following on input
Compute 2. 2.
Compute and 3. 3.
Compute 4. 4.
Output
where
[TABLE]
is the non-normalised version of the tangent basis used in the proof of Theorem 4. In particular, the form an orthogonal basis of the tangent space at (as long as ) and we have . Note that the output of the circuit is always tangent to the sphere at .
If , then , and thus, using the fact that the form an orthogonal basis, we obtain
[TABLE]
Since , this implies that , i.e. . This means that any zero of yields a zero of by dropping the first coordinate.
If , then , and the analogous computation yields that . Since , we again obtain that , and the same conclusion follows.
The last remaining case is when . If we let , then, since , it must be that , which implies that . It follows that
[TABLE]
which implies that has no zero in this region.
The reduction we have provided is an SL-reduction, since a solution of the original instance can be obtained by applying a separable linear transformation (with rational coefficients that are computable in polynomial time from the original instance) to any solution of the final instance. Furthermore, the coefficients of the separable linear transformation are always powers of . It follows (see [15]) that the corresponding strong approximation, partial computation and decision problems are also hard for the corresponding FIXP classes. ∎
6 The 2D-Hairy-Cube Problem
In this section we define the 2D-Hairy-Cube problem: a discretised version of 2D-Hairy-Ball. As the name suggests, one of the main differences is that 2D-Hairy-Cube is defined on the surface of a cube instead of the surface of a ball. It will follow from our results that this discretised problem is indeed computationally equivalent to the continuous formulation.
We consider this problem mainly for two reasons. First of all, we believe it is nice to have a corresponding discrete version of 2D-Hairy-Ball that might easier to work with in some cases. This is similar to Brouwer, where the discrete version is often very useful. Another more technical point is that 2D-Hairy-Cube also serves as an intermediate step to prove PPAD-hardness of 2D-Hairy-Ball. Indeed, as we will see below, proving PPAD-hardness for 2D-Hairy-Cube is pretty straightforward using a result by Chen and Deng [7] on a 2-dimensional Brouwer fixpoint problem.
6.1 Definition
The 2D-Hairy-Cube problem is defined on the surface of the unit cube. Every face of the cube is subdivided into identical small squares, that we call squarelets. Every squarelet contains one of four possible axis-aligned arrows tangential to its face. A solution is given by two adjacent squarelets that contain arrows going into opposite directions. Here adjacent is taken to mean that the squarelets touch, even in a single point. However, we need one additional type of solution, namely at corners. Three squarelets adjacent at a corner form a solution, if the three arrows all point towards the corner or all three point away from the corner. An arrow points towards the corner if it points towards an edge that contains the corner. Thus, for any corner squarelet, out of the four possible arrows that it can contain, two point towards the corner and two point away from it.
Note that any two adjacent faces of the cube can be thought of as being one big plane, because we can rotate one of the faces so that this is the case. This is the interpretation that is used when deciding whether two adjacent squarelets, lying on two different but adjacent faces, form a solution: we rotate one of the two faces until it is on the same plane as the other one, and then proceed as if the two squarelets were on the same face. Fig. 3 shows a 2D-Hairy-Cube instance with various solutions.
For any integer , we let . Note that we can interpret elements in as elements in .
For the definition of the computational problem we assume that we are given a Boolean circuit that represents a function . The input in is interpreted as an element in that determines a face of the cube. The input in determines a squarelet on that face. The output in is interpreted as an element in , which yields one of the four arrows allowed on this face. We say that computes a discrete field on the cube surface.
Definition 6** (2D-Hairy-Cube).**
The 2D-Hairy-Cube problem is defined as: given a Boolean circuit that computes a discrete field on the cube surface, find:
- •
two adjacent squarelets that contain arrows going in opposite directions, or
- •
three adjacent corner squarelets, such that all three arrows point towards the corner, or all three point away from the corner.
In Appendix A we prove that this problem reduces to 2D-Hairy-Ball (Proposition 18). Thus, it also lies in PPAD by Corollary 5. Below we prove that it is also PPAD-hard (Proposition 11), which yields:
Theorem 9**.**
2D-Hairy-Cube* is PPAD-complete.*
6.2 PPAD-hardness
In this section we prove that 2D-Hairy-Cube is PPAD-hard. The proof uses the PPAD-hardness of the discrete 2D-Brouwer problem [7] by embedding an instance of a slightly modified discrete 2D-Brouwer problem on two opposite faces of the cube. We start by defining the modified discrete 2D-Brouwer problem and proving that it is PPAD-hard.
The 2-dimensional discrete Brouwer fixpoint problem we will consider is defined on a big square that is partitioned into squarelets. Every squarelet contains one of four possible cardinal direction arrows: right, left, up, down. A solution is given by two adjacent squarelets that contain arrows pointing in opposite directions. Two squarelets are adjacent if they have at least one point in common (in particular, squarelets can also be adjacent diagonally).
The input is a Boolean circuit that computes the cardinal arrow in a given input squarelet. We say that satisfies the Brouwer boundary conditions, if , , and , for all and . This corresponds to requiring that, in squarelets forming the boundary of the domain, the arrows point inwards. Note that this condition can be enforced syntactically on the circuit. If satisfies the Brouwer boundary conditions, then there must exist a solution. Otherwise, we could use the instance to define a continuous function from the square to itself which does not have a fixpoint, a contradiction to Brouwer’s Fixpoint theorem. We now give the formal definition of the problem.
Definition 7** (2D-Variant-Brouwer).**
The problem 2D-Variant-Brouwer is defined as: given a Boolean circuit such that , , and , for all and , find and such that and .
The main difference to the standard discrete 2D-Brouwer problem [7] is that we have possible arrows instead of the three and we are looking for a place where two opposite arrows meet, instead of a place where all three types of arrows meet. Any 2D-Variant-Brouwer instance can also be interpreted as a 2D-Tucker instance [1]. Indeed, if we interpret as , then the boundary satisfies the Tucker conditions (i.e. two boundary squarelets that are diametrically opposite each other with respect to the centre of the domain, contain opposite numbers). Furthermore, 2D-Variant-Brouwer-solutions exactly correspond to 2D-Tucker-solutions. Thus, one might think that 2D-Variant-Brouwer could be PPA-complete instead of PPAD-complete. However, the corresponding 2D-Tucker instances have the specificity of having monochromatic sides (except for the corners) and this puts the problem in PPAD. Indeed, the proof of PPA-hardness of 2D-Tucker uses instances with non-monochromatic sides [1].
Lemma 10**.**
2D-Variant-Brouwer* is PPAD-complete.*
Proof.
Membership in PPAD follows from the fact that 2D-Variant-Brouwer reduces to 2D-Hairy-Cube (Proposition 11), which reduces to 2D-Hairy-Ball (Proposition 18) which is in PPAD (Corollary 5). Alternatively, one could also reduce 2D-Variant-Brouwer to the continuous 2D-Brouwer problem (by interpolating between centres of the squarelets) which takes a continuous function as input (represented as an arithmetic circuit) and is known to lie in PPAD [30].
It remains to show that 2D-Variant-Brouwer is PPAD-hard. This is done by using the same idea as for the standard 2D-Brouwer problem [7], namely by embedding a 2-dimensional End-of-Line instance on the grid into a 2D-Variant-Brouwer instance. Since the 2-dimensional End-of-Line problem is PPAD-hard [7], the result follows.
The only difference with [7] is that in our case, paths are implemented using an “upward” arrow at the centre of the path, a “right” arrow on the left side of the path, and a “left” arrow on the right side of the path. The environment, where there is no path, is filled with “downward” arrows. As a result, a solution, i.e., a point where two opposite arrows meet, can only occur when a path starts or stops in the environment. The same type of construction for the paths (if we interpret labels as arrows) was used to show that 2D-Tucker is PPAD-hard [28]. The correctness of the reduction follows by the arguments presented in [7].
We provide a few more details about the construction for the interested reader. Consider any 2-dimensional End-of-Line instance on the grid. We will construct a 2D-Variant-Brouwer instance on the grid. Every grid node in the original End-of-Line instance corresponds to a region of squarelets. In this region, the End-of-Line path is represented by squarelets containing the “upward” arrow . Thus, if the path comes into the grid node from the left neighbour and leaves towards the bottom neighbour, then the region will contain a width-2 path of squarelets that starts at the centre of the left side of the region, makes a right angle at the centre of the region and then goes to the centre of the bottom side of the region. All the squarelets on this width- path get the arrow . Any squarelets that are adjacent to the path from the left side (with respect to the direction of the path) get the arrow . Any squarelets that are adjacent to the path from the right side get the arrow . All other squarelets get the arrow .
If a grid node is isolated, then we just assign the arrow to all of its squarelets. If a grid node is a source or a sink, then there will be a solution, since the path of arrows will touch the environment of arrows. The 2D-Variant-Brouwer boundary conditions can be enforced without changing the solutions. We just need to be careful at the bottom side, since the boundary has arrow and we don’t want them to touch the environment of arrows. To avoid this we also require that the stripe of width just above the bottom boundary be filled with arrows. It is easy to see that a careful construction of the region corresponding to the origin of the grid (the known source of the End-of-Line instance) ensures that no solution occurs there. It follows that any solution to the 2D-Variant-Brouwer instance must yield a solution to the 2-dimensional End-of-Line instance. Furthermore, the circuit computing the arrow in each squarelet can be constructed efficiently. ∎
Proposition 11**.**
2D-Hairy-Cube* is PPAD-hard.*
Proof.
We reduce from 2D-Variant-Brouwer. By Lemma 10 the result then follows. Consider an instance of 2D-Variant-Brouwer. We construct an instance of 2D-Hairy-Cube as follows. The top face of the cube is identical to the instance represented by . The bottom face is identical to the negation of the instance represented by , i.e. all arrows are negated (in particular, on the boundary they point outwards, instead of inwards). The other four faces of the cube are uniformly filled with an arrow pointing towards the top face. It is easy to check that a solution can only appear on the top or bottom face and corresponds to a solution to the original problem. Furthermore, the circuit computing the arrow in any squarelet of the surface of the cube can be constructed efficiently from . ∎
7 The Hairy-Ball Problem on the Torus of Genus
In this section we consider the 2-dimensional torus of genus (also called -holed torus, or -torus) instead of the sphere. The Hairy Ball theorem does not hold on the torus of genus , i.e. the standard torus. It is straightforward to define a continuous tangent field that never vanishes. However, as proved by Poincaré [31], the theorem does hold for the 2-dimensional torus of genus for all .
We prove that the corresponding computational problem is again PPAD-complete. Even though the general techniques are very similar to those seen in previous sections, the interesting point is that the reduction to End-of-Line yields sources instead of . Thus, we can make full use of the multiple-source End-of-Line results of Section 8. We believe that the reduction to a -source End-of-Line instance is a natural and necessary step in the reduction and that this multiple source aspect is intrinsic to the problem, since the torus of genus has Euler characteristic [21].
7.1 The -torus and the Hairy--Torus problem
We use the term “-torus” to refer to the torus of genus , i.e. the 2-dimensional torus with holes, embedded in -dimensional space. This should not be confused with the 1-holed torus embedded in -dimensional space. We mainly work with the 2-torus, since all the arguments generalise to the -torus in a straightforward way. We define the 2-torus as follows: lies on the 2-torus if it satisfies the equation
[TABLE]
where is the distance of to , is the distance to , and is the distance to the segment -. Fig. 4 provides an illustration of this 2-torus.
Using the expression above, one can always efficiently check whether a given lies on the 2-torus. However, it is not always possible to exactly compute the projection of a vector onto the tangent space at some point on the 2-torus.
This construction is easy to generalise to the -hole torus, for any . We call the corresponding object the -torus and denote it by .
Both of our reductions will use a base field , which is defined everywhere except on the two flat regions of the 2-torus. If or if and , then . If or if and , then . If and , then . This partial field is continuous and does not have any zeros. Note that the field does not depend on and is always contained in the -plane.
The computational problem is defined as follows:
Definition 8** (Hairy--Torus).**
Let . The Hairy--Torus problem is defined as: given and an arithmetic circuit with 3 inputs and outputs, using gates and rational constants, find such that .
Here denotes the projection onto the tangent space to at with error at most , i.e. , where is the exact projection.
Theorem 12**.**
For any , Hairy--Torus is PPAD-complete.
Proof.
In Proposition 13 below, we show that Hairy--Torus reduces to -source End-of-Line. Using the results in Section 8 (Theorem 14), it follows that the problem lies in PPAD. PPAD-hardness is proved in Appendix C by embedding modified copies of a 2D-Variant-Brouwer instance. ∎
7.2 Hairy--Torus is in PPAD
Proposition 13**.**
For any , Hairy--Torus reduces to -source End-of-Line.
Proof.
We will prove the result for . The proof immediately generalises to any other larger value of .
For this proof we need a sufficiently fine triangulation of the -torus that is also locally efficiently computable. For any point on the -torus, we should be able to efficiently compute all nearby triangles. In particular, given a triangle we should be able to efficiently obtain all adjacent triangles. Moreover, the triangulation should be sufficiently fine, meaning that, given some , we should have a triangulation such that all corners of a triangle are within distance of each other. We call this a -fine triangulation.
We can construct such a triangulation as follows. We start with a fixed triangulation of the -torus, such that the curved region delimited by each triangle is sufficiently flat. Then, we can easily construct a fine triangulation of every triangle. Finally, we compute the (approximate) projection of the points of this fine triangulation on the surface of the -torus. By taking a fine enough triangulation of the triangles and a good enough approximation of the projection, we can ensure that the triangulation is -fine. Note that when we take the approximate projection, we compute a point that exactly lies on the -torus and is close to the true projection. Thus, all the points of the triangulation lie exactly on .
Let be an instance of Hairy--Torus. Using similar arguments to the proof of Lemma 2, it is straightforward to show that is -Lipschitz continuous on the -torus, for a similar value of . Pick a -fine triangulation of the -torus as described above with . We will now colour every node of the triangulation with one of three colours and use a Sperner argument on this colouring. To construct the colouring we will use the base field , defined earlier. We just need to decide how to extend the base field to also be defined on the two flat regions (at and ). Here, the simplest way to do this is to draw an X-shape on the flat region and assign one of the four cardinal flat vectors to each of the four regions (see Fig. 5). Then, the base field is defined for any point on (if the point lies on a boundary, resolve ties arbitrarily), even though it is no longer continuous.
For any node of the triangulation, its colour depends on : the angle between and the base field at . The angle is measured from to the base field vector in counter-clockwise direction when looking from outside the -torus. If then the colour is , if it is , and if it is . Unfortunately, we cannot exactly compute , nor the angle between two vectors. Thus, we compute a sufficiently good approximation of and of the angle and choose the colour based on this approximation. Specifically, we compute a good enough approximation such that if , then the angle has error at most .
We can assume that at the centre of the cross in the top flat region (), the triangulation is such that there are four points such that each lies in one of the four regions, and they form two triangles of the triangulation. Let be those four points. Note that the pairwise distance between any of those four points is at most . Thus, by the choice of , we must have that , for any . Note that since we are in the flat region, we can project exactly, i.e. . If there exists such that , then we are done. If this is not the case, then the angle of varies by at most one degree for . It follows that the angle computed for each of the four points is equal to the angle between the base field and some fixed vector, with an error of at most . Since the four points’ base vectors correspond to the four cardinal flat vectors, it is easy to check that the four points get the colours in clockwise order (and one of the colours is repeated, i.e. or or ). The segment is our first Sperner-source. Applying the same arguments to the bottom flat region () yields four points that again get the colours in clockwise order. Thus, we get a second segment that is another Sperner-source. Each of those sources is the beginning of a Sperner path that will eventually lead to a trichromatic triangle. Since the -torus is orientable, the two paths cannot cancel each other out.
It remains to show that any trichromatic triangle yields a solution to the Hairy--Torus instance. Consider any trichromatic triangle with three vertices . Assuming we have picked smaller than some constant, the base field can vary at most by an angle of on these three vertices. If for some , then we are done. Assume that this is not the case. For all we also have that and thus the angle between those two vectors is at most (because ). Thus, the can vary by at most for (because every is computed with error at most in this case). It follows that it is impossible to get all three colours.
For larger , we define the base field by just repeating the same pattern and the rest works as before. Note that we obtain two sources for every region between two adjacent holes, i.e. sources. ∎
8 End-of-Line: One Source to Rule Them All
End-of-Line is the canonical problem used to define PPAD. Investigating variants of the problem is of independent interest, in particular in order to gain a better understanding of PPAD and how it relates to other similar subclasses of TFNP. An additional motivation for studying these variants is given by this paper, since a multiple-source variant of End-of-Line is used to prove that finding an approximate Hairy Ball solution lies in PPAD (Section 4).
This section is an improved version of the corresponding content in the technical report [22]. In [22] we use these results to show that a computational problem related to the Mutilated Chessboard puzzle is PPAD-complete.
8.1 Multiple-Source End-of-Line
Recall that in the End-of-Line problem (Definition 1), we are given a directed graph where each vertex has in- and out-degree at most and a known source of this graph, and we wish to find a sink or another source. But, what if, instead of just one, we already know two sources of an End-of-Line instance? We are still interested in finding any sink or any other source. Intuitively, the problem might seem easier, because the existence of two sources implies the existence of at least two sinks, hence more potential solutions. In fact, it is easy to see that this problem is actually at least as hard as End-of-Line: just duplicate the whole End-of-Line instance.
The other direction, however, is not trivial. Indeed, if we interpret our 2-source End-of-Line instance as a standard End-of-Line instance (and pick one of the two sources as the standard source), then the other known source is a valid solution to End-of-Line, but not a valid solution to our original problem. In other words, it is not clear how to solve this problem if we are given access to an oracle solving End-of-Line, because the oracle could just return the other known source. We consider the following more general problem, where we are given an End-of-Line graph and an explicit list of known sources.
Definition 9** (MS-EoL).**
The Multiple-Source End-of-Line problem, abbreviated MS-EoL, is defined as: given circuits with inputs and outputs and such that for all , find such that or such that .
In passing, let us note that in the undirected case this kind of generalisation is trivial. The undirected analogue of End-of-Line is Leaf: given an undirected graph where every vertex has degree at most and given a vertex of degree , find another vertex of degree , i.e. another leaf. Assume that we know leaves instead of just one. If is even, then the problem is not even in TFNP. If is odd, then we can add edges between known leaves until exactly one is left. Thus, the problem is equivalent to Leaf. This kind of reduction does not work for the directed case. Nevertheless, we obtain444This problem was discussed in an online thread (https://cstheory.stackexchange.com/q/37481). E. Jeřábek proved membership in PPADS and PPA- for every prime (but not membership in PPAD).:
Theorem 14**.**
Multiple-Source End-of-Line* is equivalent to End-of-Line.*
Remark* (Multiple Known Sources and Sinks).*
A natural generalisation of Multiple-Source End-of-Line is the following problem: given an End-of-Line graph and a list of known sources and known sinks, find another source or sink. Note that for this problem to be in TFNP, we must require . Using Theorem 14, it is easy to see that this problem is equivalent to End-of-Line. If , then we add an edge from each of the known sinks to some corresponding known source and obtain an instance with known sources and no known sinks. Similarly, if , then we first reverse all directed edges and then apply the same trick.
We now give the proof of Theorem 14. The next two sections then present additional consequences of this result.
Proof of Theorem 14.
The reduction from End-of-Line to MS-EoL is trivial. The challenging step is the reduction from MS-EoL to End-of-Line.
Let be an instance of MS-EoL with a list of known sources, where the vertex set is , also interpreted as . Without loss of generality, we assume that the known sources are . This is easy to achieve by applying an efficient bijection on the vertex set.
For simplicity, we are going to assume that for all . We also assume that for all we have unless , and unless . The first assumption corresponds to requiring that the first vertices indeed be sources. Note that we can check this using evaluations of the circuits, i.e. in polynomial time in , and any “false” source is a solution to the MS-EoL instance. Here, denotes the size of the input, i.e. the sum of the sizes of the two circuits and the length of the list of known sources given in the input. The second assumption corresponds to requiring that the graph is in some sense well-defined. This requirement can be enforced by a slight modification of the circuits that can be done in time polynomial in . Any solution of the modified instance is a solution of the original instance.
Let be the following subsets of :
- •
. This corresponds to all the sources of the graph.
- •
. This corresponds to all the sinks of the graph.
- •
. This corresponds to all the vertices that are not isolated, but are neither sources nor sinks. We call those path vertices.
Note that members of all those subsets are recognisable in polynomial time in . Let . Note that isolated vertices are not contained in .
Let be the graph represented by circuits (without isolated vertices). Below we will give an inductive construction of the graph that will have the following properties:
- •
The sources of are all the sets of the form , where are distinct sources of the original graph.
- •
The sinks of are all the sets of the form , where are distinct sinks of the original graph.
- •
Every vertex of can be represented using at most bits. There exists a polynomial algorithm that for each such bit-string decides whether it represents a vertex of or not.
- •
The successor and predecessor circuits have polynomial size with respect to and can be constructed in polynomial time.
Note that the only known source of is . Any other source or any sink of contains at least one unknown source or sink of the original graph. Thus, if we can construct (in polynomial time in ) circuits that represent this graph, then we have a polynomial reduction from MS-EoL to End-of-Line.
We now give a formal inductive construction of . For , itself already satisfies these properties (if we interpret any vertex as ). Let . Assume that we know how to construct for all . We then construct as follows. For any set and any , let , i.e. the set of all subsets of with cardinality exactly . The set of vertices of is defined as
[TABLE]
Let us investigate the number of bits needed to represent an element in . We need bits to represent an element in . By induction hypothesis, bits suffice to represent an element in . Thus, for any , at most bits suffice to represent an element in . We add another bits to explicitly store the value of . Thus, we can represent any element in using at most bits. We add one more bit to decide whether the element is in or not. We only need bits to represent an element in . Putting everything together, we get an upper bound on the number of bits needed to represent an element in
[TABLE]
Furthermore, given a bit-string, it is easy to “decode” it and decide whether it is a vertex of or not (and if it is not, then treat it as an isolated vertex).
We now give the construction of the predecessor and successor circuits. First, consider the case . Assume that we have reordered the elements in the set such that for some we have , and .
- •
If (i.e. only sources and path vertices), then we define
[TABLE]
Furthermore, if we also have (i.e. at least one path vertex and source), then we define
[TABLE]
- •
If and (i.e. only path vertices and sinks), then we define
[TABLE]
Furthermore, if we also have (i.e. at least one path vertex and sink), then we define
[TABLE]
(recall that we are in the case ).
- •
If and (i.e. both sources and sinks, as well as path vertices potentially), then is an isolated vertex.
Now consider the case for some .
- •
We define , except if and , in which case (by induction hypothesis) and we then define . Note that the two sets in this union are disjoint, because are path vertices of , whereas only contains sinks of .
- •
We define , except if and , in which case (by induction hypothesis) and we then define .
It is straightforward to check that in the graph represented by every vertex has in- and out-degree at most . Furthermore, by construction we also get that the sources of are exactly the vertices in and the sinks of are exactly the vertices in . By induction it follows that we can construct (in polynomial time in ) circuits that represent . ∎
8.2 The Imbalance problem
Up to this point, we have only considered graphs where every vertex has in- and out-degree at most . However, the principle that guarantees the existence of a solution in an End-of-Line graph can be generalised to higher degree graphs. If we are given a directed graph and an unbalanced vertex, i.e. a vertex with in-degree out-degree, then there must exist another unbalanced vertex.
Beame et al. [3] defined the corresponding problem Imbalance, which is seemingly more general than End-of-Line. In this problem, every vertex is not constrained to have in- and out-degree at most . Instead, in- and out-degree are bounded by some polynomial of the input length555Note that this trivially holds, if the input consists of circuits that explicitly output the predecessor and successor list.. We are given a vertex that is unbalanced and have to find another unbalanced vertex (which is guaranteed to exist). The problem can be informally defined as follows:
Definition 10** (Imbalance [3], informal).**
The Imbalance problem is defined as: given a directed graph (represented concisely by predecessor and successor functions) and a vertex that has in-degree out-degree, find a vertex that also has in-degree out-degree.
Beame et al. [3] claim that Imbalance reduces to End-of-Line, using the same argument as for the corresponding problems on undirected graphs. However, if the graph is directed, a complication arises (that is not an issue in the undirected case). Indeed, their proof idea is incomplete, because they overlook the fact that their reduction yields an End-of-Line instance with multiple known sources. Using Theorem 14 we can provide a full proof of their claim.
Theorem 15**.**
Imbalance* is PPAD-complete.*
Let us now define the problem formally. Similarly to End-of-Line, the graph is provided implicitly through circuits computing successors and predecessors respectively. For , encodes the successors of as follows: if , then it is a potential successor of . Thus, if , then is the only potential successor of . We abuse notation and let denote the set of all potential successors of (i.e. turn into the set ). We use the same interpretation and notation for the predecessor circuit . Thus, a directed edge exists, if and only if and .
Using this notation we can formally define the problem as follows.
Definition 11** (Imbalance).**
The Imbalance problem is defined as: given circuits and a vertex with , find
such that 2. 2.
or such that or .
Note that the number of incoming and outgoing edges at a vertex is bounded by a polynomial in the size of the input, because is bounded by the size of the circuits. Beame et al. [3] defined this problem in a black box model, namely the predecessor and successor functions are oracles. Since our reductions do not make use of the white box aspect of the input circuits (they don’t look inside the circuit, but just use it as a black box), the results also hold in their model.
Proof of Theorem 15.
PPAD-hardness is trivial, since Imbalance generalises End-of-Line. To show membership in PPAD we follow the proof idea given by Beame et al. [3].
The undirected analogue of End-of-Line is Leaf: given an undirected graph where every vertex has degree at most and given a vertex of degree , find another vertex of degree , i.e. another leaf. The generalisation of Leaf is called Odd: given an undirected graph and a vertex of odd degree, find another vertex of odd degree. It is quite straightforward to show that Odd is equivalent to Leaf. Clearly, Leaf trivially reduces to Odd. To show that Odd reduces to Leaf, Papadimitriou [29, 30] and Beame et al. [3] use the chessplayer algorithm (which is based on an Euler tour argument). Intuitively, the idea is to separate vertices into multiple copies such that every copy has degree at most 2.
As claimed by Papadimitriou [29] and Beame et al. [3], the chessplayer algorithm can also be applied to the directed case. Let be an instance of Imbalance, where . First of all, note that we can assume wlog that all edges are well-defined, i.e. we have . This can be achieved by a simple modification of the circuits: the modified circuit outputs instead of . Along with the analogous modification for , this yields an instance where the solutions can only be of the first type, and any such solution yields a solution (of the first or second type) of the original instance.
Note that for any , the successor and predecessor lists can be ordered lexicographically. For any and , let denote the th successor of , if is ordered lexicographically. If has less than successors, then let . Finally, let correspond to the index of in the successor list of , i.e. . Define and analogously.
Let . We construct an End-of-Line instance on the vertex set . For convenience, we use the notation to denote elements in . The End-of-Line circuits are constructed as follows. On input the circuit first computes . If , then it outputs . Otherwise, it outputs . Similarly, on input , computes and outputs if , and otherwise. Note that can be constructed in polynomial time in the size of and .
It is easy to see that for any balanced vertex in the graph given by , all of its versions in the graph given by will either have in- and out-degree one, or be isolated. Thus, if is a source or sink, then is unbalanced in the graph given by . Furthermore, all edges are well-defined.
Beame et al. claim that this reduction is sufficient to prove that Imbalance reduces to End-of-Line (which they call SOURCE-OR-SINK). However, consider the case where the imbalance in the known unbalanced vertex is strictly greater than one, i.e. . Then, there exist such that and are both sources or both sinks. For example, if and , then and are sources, and all the other are isolated vertices. If we consider this as an End-of-Line instance and pick as the known source, then is a valid solution. However, note that it does not yield a solution to the Imbalance instance.
Using our results on multiple-source End-of-Line we can complete the proof. First of all, we can make sure that is in deficiency and not in excess, i.e. , simply by inverting the role of and . Then, the reduction described above yields an End-of-Line instance with known sources , , where and . Note that all other are neither sources, nor sinks. Since we can efficiently produce an explicit list of all the known sources, we obtain an instance of MS-EoL, which lies in PPAD by Theorem 14. ∎
8.3 Looking for multiple solutions
If we are given an End-of-Line instance with known sources, then we can ask for sinks or unknown sources. The problem is total, because at least sinks are guaranteed to exist.
Definition 12** (-EoL).**
Let . The -Ends-of-Line problem, abbreviated -EoL, is defined as: given circuits with inputs and outputs and such that for all , find distinct such that for all or for all .
Intuitively, this problem seems harder than End-of-Line or MS-Eol, because we are now looking for more than one solution. However, using Theorem 14 we can show:
Theorem 16**.**
For any , -Ends-of-Line is PPAD-complete.
Proof.
The non-trivial direction is the reduction to End-of-Line. Buss and Johnson [6] have shown that PPAD, PPADS, PPA and PLS are closed under Turing reductions, by providing a way to transform a Turing reduction (to a complete problem of each of those classes) into a many-one reduction. Thus, it suffices to provide a Turing reduction from -Ends-of-Line to End-of-Line. By Theorem 14 we can efficiently simulate an oracle for MS-EoL, using an oracle for End-of-Line. We can solve an instance of -EoL by making repeated calls to MS-EoL oracles, with a list of all the currently known sources. If the oracle call returns a new source, then we add it to our list. If the oracle returns a sink, then we add an edge from this sink to one of the known sources, and remove that source from the list. It is easy to see that after at most oracle calls we will have obtained at least sinks or at least new sources. Note that the list of known sources will have length at most . ∎
Remark*.*
Note that the proof still works if we are given an explicit list of the known sources in the input (as in the definition of MS-EOL), i.e. does not have to be fixed. Furthermore, the same proof also yields PPAD-completeness for the following problem. Fix some polynomial . The problem is: given sources, find sinks or sources. This seems quite surprising, as one might have expected this problem to be closer to PPADS.
We close this section by giving some analogous results for the class PPADS and its canonical complete problem Sink [29, 3]. Sink is identical to End-of-Line, except that we only accept a sink as a solution and are not interested in other sources. In this case the results are easier to obtain, because there is no need for an analogue of Theorem 14.
Definition 13** (Sink [29, 3]).**
The Sink problem is defined as: given circuits with inputs and outputs and such that , find such that .
Unlike End-of-Line, it is easy to prove that multiple source Sink is equivalent to Sink. Consider the problem MS-Sink, where we are given a graph and a list of known sources and are looking to find a sink. It is easy to see that this problem is equivalent to Sink. A reduction from Sink to MS-Sink is given by simply taking copies of the original Sink instance graph. The reduction in the other direction is even more trivial. Indeed, we can just ignore the extra sources we know, because we are only interested in sinks.
We can define the analogous problem to -EOL, where we look for multiple sinks.
Definition 14** (-Sinks).**
Let . The -Sinks problem is defined as: given circuits with inputs and outputs and such that for all , find distinct such that for all .
Theorem 17**.**
For any , -Sinks is PPADS-complete.
Proof.
Sink easily reduces to -Sinks by taking copies of the graph. The other direction can again be proved by using the result by Buss and Johnson [6]. A Turing reduction from -Sinks to Sink is obtained by doing the following: given an instance of -Sinks, use the oracle to solve the Sink problem on this instance, then add an edge from the sink we just obtained to one of the known sources. Doing this times yields distinct sinks of the original instance. ∎
Remark*.*
Just like Theorem 16, this result also holds if there is a polynomial number of sources, in particular if they are given explicitly in the input.
Acknowledgements
This work was supported by an EPSRC doctoral studentship (Reference 1892947).
Appendix A Reduction from 2D-Hairy-Cube to 2D-Hairy-Ball
In this section we prove the following result.
Proposition 18**.**
2D-Hairy-Cube* reduces to 2D-Hairy-Ball.*
The main idea of the proof is simple: first we obtain a continuous field on the surface of the cube by interpolation. Then, we transfer the field onto the sphere. Various technical difficulties arise, but they can all be overcome. One difficulty is that in order to simulate the Boolean circuit describing the discrete field, the arithmetic circuit first has to do “bit extraction”, but this cannot be done exactly. This issue can be resolved by using a standard technique called the averaging trick.
Proof of Proposition 18.
The reduction works by constructing an arithmetic circuit that will (among other things) simulate the Boolean circuit. To do this we need to do “bit extraction” on a rational input of the arithmetic circuit, i.e. compute the most significant bits in its binary representation. However, this is impossible to do exactly using an arithmetic circuit with gates , , , because this kind of circuit can only compute continuous functions. As a result, any bit extraction method will make mistakes in some small regions. To circumvent this obstacle, we will simulate the evaluation of the Boolean circuit at multiple points close to the actual input. By choosing those points wisely we can ensure that at most three of them can result in a bogus bit extraction. Thus, if we output the average value obtained from all those points, the mistakes will have a very limited impact on the final result. This averaging technique is a standard tool in the field, see [10, 8].
Let be an instance of 2D-Hairy-Cube. We interpret the cube as being the unit cube . In particular, every squarelet has side-length . The first step of the reduction is to perform a series of transformations on the input circuit . First of all, we modify the instance by subdividing every squarelet on the surface of the cube into four small squarelets (of side-length ). Any small squarelet that is not adjacent to an edge of the cube is assigned the same arrow as the original squarelet containing it. Any small squarelet that is adjacent to an edge of the cube is assigned the average of the arrow in its original squarelet and the original squarelet on the other side of the edge. If a small squarelet is adjacent to two edges of the cube (i.e. it lies in the corner of a face), then it is assigned the average of the arrows in the three original squarelets adjacent to this corner. From now on, when we talk about squarelets we mean the small squarelets, which have now replaced the original grid.
Next, we move from squarelets to cubelets. We place cubelets of side-length around the surface of the unit cube, both outside and inside. Namely, every squarelet on the surface of the cube yields two cubelets: one on each side of the face containing the squarelet. Thus, the squarelet is a common face of its two cubelets. The two cubelets corresponding to a squarelet are assigned the same arrow as the squarelet. Note that this is well-defined, since for any cubelet that has multiple faces that lie on the unit cube, all the corresponding squarelets contain the same arrow by construction. We also add cubelets on the outside of the unit cube along its edges, i.e. such that one edge of the cubelet is part of an edge of the unit cube. Such a cubelet is assigned the arrow of the squarelets it has a common edge with. Finally, for every corner of the unit cube, we add a cubelet outside the unit cube, such that the cubelet has a corner in common with the unit cube. This cubelet is assigned the same arrow as the three corresponding corner squarelets. Note that again all the cubelets are assigned an arrow in a unique and well-defined way. Furthermore, any point with lies in a cubelet (it might lie on the boundary between multiple cubelets).
Following the description above we can construct the circuit . The input in describes a cubelet in the subdivision of the cube into cubelets of side-length . Note that the input is actually of the type , but we interpret it as an integer in (and we are only interested in inputs in ). For cubelets that do not correspond to the ones described above, the circuit can have an arbitrary output. For the cubelets we described above, the circuit outputs the corresponding arrow. Note that there are cardinal arrows overall. The circuit has output bits and for every valid cubelet input, exactly one of those output bits will be set to . Note that is large enough to ensure that we can also output the average of two or three cardinal arrows. This circuit can be constructed in polynomial time from .
Now consider a point on the surface of the unit cube and let . Let
[TABLE]
Note that since lies on the surface of the cube, all the points in lie in at least one of the cubelets we defined above. Furthermore, note that any two cubelets that each contain a point in , have to be adjacent, i.e. they have a non-empty intersection.
It is easy to see that the kind of arithmetic circuit we consider here can simulate any single gate of a Boolean circuit and thus the whole circuit . However, it needs to somehow obtain the input bits. Since any output (and intermediate output) of the arithmetic circuit depends continuously on the inputs, it is impossible to construct a circuit that extracts bits correctly for all inputs. Thus, we will have to take into account the fact that on some inputs, the bit extraction will not output [math] or . In this case, the simulated Boolean circuit will have some “bogus” output. In particular, there might not be exactly one bit in the output that is set to . However, we can ensure that the output gates of the simulated circuit always output some number in by adding adequate and gates at the end. Furthermore, we can also ensure that those numbers add up to something that it at most , which ensures that even the bogus outputs will yield a vector that has -norm at most . This is done by computing the sum of all “fake” output bits and then subtracting from all fake output bits (and then taking the with [math]). It is easy to see that this ensures that the sum of outputs is at most , while also not changing the output if it is valid (i.e. exactly one bit set to ).
The simulated Boolean circuit will output values, corresponding to the output bits of . As mentioned above, we can ensure that these values lie in and sum up to at most . The output vector is then computed by taking the weighted average of the possible arrows, where the weights are given by the output values. This is achieved by hard-coding every coordinate of every arrow as a constant in the arithmetic circuit. The cardinal arrows are taken to be the unit vectors in the corresponding direction. The other arrows are taken to be all the averages of two or three of the cardinal vectors. Note that if exactly one output value is (which will be the case whenever is simulated with correct input bits), then the output will be the correct vector that outputs. Also note that, in any case, the output vector will have -norm at most .
We now describe how to perform bit extraction using an arithmetic circuit. Let . The arithmetic circuit can compute
[TABLE]
using a number of gates that is polynomial in . If , we obtain . If , then we obtain . For intermediate values of , we obtain a number that is not a bit. Performing the same operation on will extract the second bit, etc. Consider any with . If we extract the first bits of
[TABLE]
for then we will obtain the input bits we need for . In particular, if lies in one of our cubelets and is at (-norm) distance at least from the boundary of the cubelet, then this extraction correctly recovers the cubelet in which it lies. From the construction of above, it follows that at most points in can suffer from incorrect extraction. Thus, for at least points we will correctly determine the cubelet in which they lie. The bit extraction above can be done using an arithmetic circuit of polynomial size in . In particular, note that all constants that we use have a number of bits that can be bounded by a polynomial in .
We are now ready to describe the arithmetic circuit with three inputs and outputs, using gates , that will be the output of the reduction. Let be the (rational) input to the circuit. The circuit does the following:
Project onto the surface of the -cube (i.e. the set of points such that ) and then map it to the surface of the unit cube. Namely, compute where . 2. 2.
Compute the coordinates of the points in . 3. 3.
For each point in : perform the bit extraction described above, then simulate with those bits as input. (Ensure output vector has -norm at most using trick described above.) 4. 4.
Output the average of all output vectors.
We now show that there exists some constant such that any solution to the 2D-Hairy-Ball instance yields a solution to the discrete instance. For now we assume that the bit extraction is always correct and thus the vector output for each point in is computed correctly by the simulated circuit. Let denote the average of all these vectors. This is what the arithmetic circuit outputs at the end. We start with some key observations. First of all, every cubelet obtained its arrow from some squarelets in the original instance. A cubelet lying next to a face of the cube (but not right next to an edge), obtained its arrow from the squarelet containing its intersection with the face of the cube. A cubelet lying at an edge of the cube, obtained its arrow by taking the average of the arrows of two squarelets lying on either side of the edge. Finally, a corner cubelet obtained its arrow by taking the average of the arrows of the three corner squarelets. The key observation here is that if two cubelets are adjacent (i.e. have at least one point in common), then the corresponding original squarelets must all be pairwise adjacent. The second observation is that all the cubelets touched by our sample are adjacent. When we take the average of all outputs over , this actually corresponds to taking some weighted average over all cardinal vectors present in the corresponding original squarelets. If there is no nearby solution in the original discrete instance, then all these cardinal vectors have to lie in the same orthant of . This is easy to see, because if they don’t lie in the same orthant, then two of them have to be opposite, which yields a solution (since all the corresponding original squarelets are adjacent). From this it follows that the weighted average of all these cardinal vectors will have -norm equal to , if there is no nearby solution in the original discrete instance.
The next step is to show that if there is no discrete solution close to the point corresponding to , then is lower-bounded by a constant. Recall that denotes the projection onto the tangent space to the unit sphere at . We consider three cases depending on the type of cubelet involved. A face cubelet is one that only has one corresponding original squarelet. An edge cubelet has two corresponding original squarelets and a corner cubelet has three corresponding original squarelets.
Consider any such that there is no discrete solution close to (namely: no solution involving squarelets that are adjacent to a squarelet containing ).
- •
Case 1: is such that all points in lie in face cubelets.
Note that in this case, all the corresponding original squarelets lie on the same face. As a result, the average will lie in the plane parallel to this face and going through the origin. Furthermore, note that cannot lie too close to any edge of the cube, otherwise we would get edge cubelets. Assume wlog that lies on the face . It follows that must be such that . As stated above we have . One can check that in this case a (very crude) bound is .
- •
Case 2: is such that at least one point in lies in an edge cubelet and no point lies in a corner cubelet
Note that there is a special case where can have points contained in edge cubelets from two different edges. This special case is handled exactly as in case 3 below. Here we only consider the case where all edge cubelets come from the same edge denoted . Assume wlog that is the edge given by . is the weighted average of the cardinal vectors contained in all the corresponding original squarelets. All those squarelets must be adjacent to on either side (and they are all adjacent to each other as noted earlier). Observe that cannot lie in the interior of the two quadrants given by and . Otherwise, we would have two cardinal vectors forming an edge solution.
Since is at distance at most from , it follows that satisfies . One can check that for , we get that the angle between and must satisfy . It follows that
[TABLE]
- •
Case 3: is such that at least one point in lies in a corner cubelet
Assume wlog that the corner is the one given by . is the weighted average of the cardinal vectors contained in all the corresponding original squarelets. It is easy to see that the original squarelets concerned are exactly the original corner squarelets. By inspection one can check that cannot lie in the two orthants given by and . Since is at distance at most from the corner, it follows that satisfies . Similarly to the previous case, we again obtain that the angle between and must satisfy (for ). Thus, the same bound holds for this case too.
Unfortunately, all output vectors for points in might not be computed correctly. Fortunately, at most of them might yield bogus outputs. Thus we can write , where and are the averages of the good and bad outputs, respectively (assume wlog that there are exactly 3 bad outputs). The arguments in the previous paragraphs yield . By construction of the arithmetic circuit , we have , which implies , and thus . Putting everything together we get
[TABLE]
Thus picking yields the result. ∎
Appendix B Reduction from D-Hairy-Ball to D-Hairy-Ball
Since 2D-Hairy-Cube is PPAD-hard (Proposition 11) and it reduces to 2D-Hairy-Ball (Proposition 18), it follows that 2D-Hairy-Ball is also PPAD-hard. In order to prove Theorem 7, we reduce D-Hairy-Ball to D-Hairy-Ball for all even .
Proposition 19**.**
For all even , D-Hairy-Ball reduces to D-Hairy-Ball.
If all computations could be performed exactly with infinite precision, then we would just use the following idea. Assume that we are given that is a Lipschitz-continuous tangent vector field on . We define as follows. For , let
[TABLE]
and if . It is easy to check that is a Lipschitz-continuous tangent vector field on . Furthermore, given such that , it holds that is a well-defined point on and satisfies .
Proof.
Since we cannot perform all these computations exactly, the reduction we construct is slightly more cumbersome. Assume that we are given an instance of D-Hairy-Ball. We construct an arithmetic circuit with inputs and outputs, using gates as follows. From the proof of Lemma 2 we know that is -Lipschitz and for , where . Let denote the input. Pick . The circuit performs the following steps:
Compute 2. 2.
Compute 3. 3.
Compute 4. 4.
Output
In the last expression, the and operations are applied component-wise on the vector . Let . is an instance of D-Hairy-Ball. Let be a solution, i.e. such that .
The two last coordinates of are and respectively, where . Since , it follows that and . From this we get . It follows that . Similarly we also get .
Let and . We have and thus . It follows that . From we get , which implies .
Note that . Thus, the first coordinates of are . Since is a solution we have . We also have
[TABLE]
Thus, it follows that . Compute such that (e.g. by using the stereographic projection technique). By Lemma 2 it follows that . ∎
Appendix C Hairy--Torus is PPAD-hard
Proposition 20**.**
For any , Hairy--Torus is PPAD-hard.
Proof.
We reduce from the PPAD-complete problem 2D-Variant-Brouwer (Section 6.2). Let be an instance of 2D-Variant-Brouwer. Note that we can slightly change the boundary conditions in the definition of the problem without changing its complexity. Specifically, as long as opposite sides of the square have opposite arrows, the problem remains the same. In this proof we use 2D-Variant-Brouwer instances where the top boundary contains right-arrows and the right boundary contains up-arrows (and the rest of the boundary is diametrically opposite). The boundary conditions are chosen this way to be compatible with the base field .
We give the proof for . The same arguments work for . We are going to pick an and construct an arithmetic circuit that computes a field on the -torus, such that any -approximate zero of the projection of yields a solution to the 2D-Variant-Brouwer instance. will compute a close approximation of the base field (defined in Section 7) and we will embed an interpolation of the 2D-Variant-Brouwer instance in each of the two flat regions. Thus, any approximate zero will have to lie in one of the regions corresponding to the embedded Brouwer instance.
We now describe how to construct . In the two embedding regions, we will use the averaging trick to ensure that is small only if a 2D-Variant-Brouwer solution is nearby. Since this has been explained in detail in the proof of Proposition 18 (Appendix A), we now treat this as a subroutine that we know how to implement efficiently. If one of the sampling points lies outside of the unit square, then we naturally extend the Brouwer instance there. This can be done by adding an extra layer of squarelets around the unit square and assigning the same arrow as the closest squarelet. Here we use the averaging trick with equiangle sampling of points. In this case, we get that if no solution is nearby. Thus, as long as , any -approximate zero yields a 2D-Variant-Brouwer solution.
Given input the arithmetic circuit does the following:
Compute , and 2. 2.
Use the averaging trick on with input . Obtain average 3. 3.
Compute indicators and (see below) 4. 4.
Output
where outputs for each of the three coordinates of . The -variables are indicator functions for various regions of the -torus. Since the arithmetic circuit can only compute continuous functions, we have to use approximate indicator functions, i.e. their value goes from 0 to 1 continuously in some small region close to the boundary of the region. The indicator bits are computed as follows:
[TABLE]
Note that by construction, for any we have . Using , it follows that . Moreover, always lies in the -plane (i.e. ). Note also that lies in the same quadrant as and for .
Consider any that does not lie in any of the two embedding regions, i.e. is in , or . If lies in the (or ) region, then . If lies in , but away from the boundary with or , then we have . If lies close to the boundary between and (or ), then is the sum of two vectors that have length at least and respectively. Furthermore, it is easy to check that these vectors lie in the same quadrant. It follows that . Using , one can check that in this case we must have . By choosing , we can ensure that , i.e. . Thus, if , then we must have . Thus, if no solution can occur anywhere, except in the embedding region.
Now consider any that lies in one of the two embedding regions. Note that here. Away from the boundary (i.e. away from it), the averaging trick ensures that a solution can only occur if (at least) two of the averaging points lie in squarelets with opposite arrows (assuming we have chosen ). It remains to figure out what happens close to the boundary. Pick . Consider a point that lies in the upper left part of the boundary, i.e. or . For now assume that there are no bogus points in the average trick. Then, , and all lie in the same quadrant (). Furthermore, we have , and . Thus, . There are at most bogus points out of samples and they all yield vectors with -norm at most . Thus, taking into account bogus points, we get , which implies . The same argument applies to the other parts of the boundary.
Thus, by picking and , from any with , we can efficiently find a solution to the 2D-Variant-Brouwer instance. ∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. Aisenberg, M. L. Bonet, and S. Buss. 2-D Tucker is PPA complete. Journal of Computer and System Sciences , 108:92–103, 2020.
- 2[2] S. Banach. Sur les opérations dans les ensembles abstraits et leur application aux équations intégrales. Fundamenta Mathematicae , 3(1):133–181, 1922.
- 3[3] P. Beame, S. Cook, J. Edmonds, R. Impagliazzo, and T. Pitassi. The relative complexity of NP search problems. Journal of Computer and System Sciences , 57(1):3–19, 1998.
- 4[4] W. M. Boothby. On two classical theorems of algebraic topology. The American Mathematical Monthly , 78(3):237–249, 1971.
- 5[5] L. E. J. Brouwer. Über Abbildung von Mannigfaltigkeiten. Mathematische Annalen , 71:97–115, 1912.
- 6[6] S. R. Buss and A. S. Johnson. Propositional proofs and reductions between NP search problems. Annals of Pure and Applied Logic , 163(9):1163–1182, 2012.
- 7[7] X. Chen and X. Deng. On the complexity of 2d discrete fixed point problem. Theoretical Computer Science , 410(44):4448–4456, 2009.
- 8[8] X. Chen, X. Deng, and S.-H. Teng. Settling the complexity of computing two-player Nash equilibria. Journal of the ACM , 56(3):1–57, 2009.
