Abstract
In computational complexity, a complexity class is given by a set of problems or functions, and a basic challenge is to show separations of complexity classes $A \not= B$ especially when $A$ is known to be a subset of $B$. In this paper we introduce a homological theory of functions that can be used to establish complexity separations, while also providing other interesting consequences. We propose to associate a topological space $S_A$ to each class of functions $A$, such that, to separate complexity classes $A \subseteq B'$, it suffices to observe a change in "the number of holes", i.e. homology, in $S_A$ as a subclass $B$ of $B'$ is added to $A$. In other words, if the homologies of $S_A$ and $S_{A \cup B}$ are different, then $A \not= B'$. We develop the underlying theory of functions based on combinatorial and homological commutative algebra and Stanley-Reisner theory, and recover Minsky and Papert's 1969 result that parity cannot be computed by nonmaximal degree polynomial threshold functions. In the process, we derive a "maximal principle" for polynomial threshold functions that is used to extend this result further to arbitrary symmetric functions. A surprising coincidence is demonstrated, where the maximal dimension of "holes" in $S_A$ upper bounds the VC dimension of $A$, with equality for common computational cases such as the class of polynomial threshold functions or the class of linear functionals in $\mathbb F_2$, or common algebraic cases such as when the Stanley-Reisner ring of $S_A$ is Cohen-Macaulay. As another interesting application of our theory, we prove a result that a priori has nothing to do with complexity separation: it characterizes when a vector subspace intersects the positive cone, in terms of homological conditions. By analogy to Farkas' result doing the same with linear conditions, we call our theorem the Homological Farkas Lemma.
Introduction
Proving that one class of functions $A$ is strictly smaller than another $B$ (separation) is a fundamental goal in computational complexity. Traditionally, this involves identifying a specific "hard" function in $B \setminus A$. This paper introduces a unifying structural theory by asking if a global geometric property of a function class changes when a new function is added. By mapping function classes to topological spaces, we can use the presence or absence of "holes" (homology) to distinguish between classes.
Methodology: The Canonical Suboplex
The core of this framework is the association of every class of boolean functions $C$ with a simplicial complex called the Canonical Suboplex ($S_C$). This complex is a subset of an orthoplex ($L_1$ unit sphere). To analyze these shapes, we employ Stanley-Reisner Theory, representing geometric shapes as sets of algebraic equations (monomials). This allows the use of combinatorial commutative algebra and cellular resolutions to compute Betti numbers, which quantify the "holes" of various dimensions within the space.
Key Insights and the Homological Farkas Lemma
A central insight is that a set of functions can be viewed as a surface where the addition of a function $f \notin A$ may "fill a hole" or create a new one. This change in homology serves as a certificate of separation.
This perspective leads to the Homological Farkas Lemma, which generalizes the classic Farkas' Lemma. It characterizes the intersection of a vector subspace with a positive cone based on the existence of holes in specific sections of the space. Furthermore, the paper demonstrates that the Vapnik-Chervonenkis (VC) dimension is upper-bounded by the "homological dimension" ($\text{dim}_{VC} C \leq \text{dim}_h C$), with equality for many common classes like linear threshold functions and conjunctions.
Results and Applications
The framework successfully recovers the Minsky-Papert (1969) result that parity cannot be computed by low-degree polynomial threshold functions by identifying the specific "hole" parity fills. It also introduces a "maximal principle" for polynomial threshold functions, extending these results to arbitrary symmetric functions. While computing these homological features is generally NP-hard, the theory provides a deep link between statistical learning theory, commutative algebra, and complexity.
Conclusion
This homological theory offers a "local-global" philosophy for complexity, where the collective structure of a function class reveals its inherent limitations. Future work aims to extend this beyond boolean functions and to use the framework to prove new complexity separations that have resisted traditional combinatorial methods.
Summary updated