Manuscript Offprint
arXiv:2609.08961Fitting and Learning Basis-Restricted Propositional Formulas
Abstract
For a finite set of Boolean functions, we consider the class of propositional formulas built using the functions in as connectives. We determine, for each possible choice of , the complexity of various fitting and learning problems. These include: finding a formula that fits a given labeled sample, finding a small one (an Occam algorithm), minimizing the number of misclassified examples when the sample is not realizable (empirical risk minimization), and several forms of PAC learning. Our results apply both to formulas (represented as trees) and to circuits. We also briefly discuss the status of the same questions for other kinds of propositional fragments.
1 Introduction
Fix a finite set of Boolean functions and let be the class of propositional formulas that can be built using the functions in as connectives. Varying gives a family of concept classes, and a natural question is how the difficulty of the standard learning-theoretic tasks depends on the choice of . Several such classifications are either known or implied by known results, but they are scattered across the literature. We put them side by side, focusing on four problems.
-
Fitting. Given a labeled sample, decide whether some -formula agrees with all of it, and if so produce one.
-
Occam algorithms. If the sample is realizable, find a fitting formula of near-minimal size.
-
Empirical risk minimization. When the sample need not be realizable, find a -formula minimizing the number of mistakes.
-
PAC learning. Is efficiently learnable in (variants of) the PAC model?
The four problems are not independent. Fitting is the special case of empirical risk minimization in which the sample is realizable, so an ERM algorithm is in particular a fitting algorithm. An Occam algorithm is a fitting algorithm that compresses, and compression yields a PAC learner, so hardness of PAC learning rules out Occam algorithms as well.
These questions can be studied also for , that is, the family of circuits using functions from as gates. Note that and have the same expressive power, but may differ in succinctness. In addition, in Section 9 we discuss other fragments, such as monotone CNF and Horn CNF, that do not fall under the above basis-generated regime.
Our contributions are partly organizational: we give a uniform presentation and we provide written-out proofs for results that are only sketched in the literature. Our main novel contributions are an algorithm for constructing fitting formulas efficiently based on a refinement of the classic Baker–Pixley construction, and a trichotomy theorem for empirical risk minimization, building on known results for hypergraph vertex-cover problems. We also fill a small gap, showing that the PAC-learnability dichotomy in [16] holds not only for circuits but also for formulas.
The picture that arises is as follows.
Fitting and Occam algorithms. The basic fitting problem turns out to be uniformly easy:
Theorem 1.1 (Fitting). Let be a fixed finite basis. Then has a polynomial-time fitting algorithm: given a labeled sample it decides whether the sample is realizable, and if so returns a fitting -formula of polynomial size. The same holds for .
Here, by a labeled sample we mean a finite list of labeled examples with and ; a formula fits the sample if it takes the value at for each of its examples, and the sample is realizable for if some -formula fits it. The tractability of testing existence was already observed in [40]. We give a proof in Section 3, which also shows how to construct fitting formulas efficiently, using a refinement of the Baker–Pixley theorem.
One may ask for a short fitting formula. An Occam algorithm for is a polynomial-time fitting algorithm that, on every realizable sample, returns a fitting formula of size at most for some fixed polynomial and some fixed , where is the number of examples, is the number of Boolean variables, and is the least size of a fitting -formula. An Occam algorithm compresses, as it returns something sublinear in . One may ask for more, namely an attribute-efficient Occam algorithm, whose size bound does not depend on : a fitting formula of size at most .
Theorem 1.2 (Occam algorithms, from [16]). Let be a finite basis of Boolean functions.
(a) If , or , then has an attribute-efficient Occam algorithm.
(b) If , then has an Occam algorithm, but we do not know whether it has an attribute-efficient one.
(c) Otherwise does not have an Occam algorithm, under the cryptographic assumptions of Section 6.
The same holds for .
The proof is given in Section 7; the negative part is a consequence of the classification of PAC learnability, Theorem 1.5 below, since an Occam algorithm yields a proper PAC learner [11].
Empirical risk minimization. The next problem drops the assumption that the sample is realizable and asks for a hypothesis that minimizes the empirical risk, that is, the fraction of misclassified examples. This is empirical risk minimization (ERM). Unlike the fitting problem, ERM is not always solvable in polynomial time. When it is hard, one may ask for an approximation algorithm. We say that an algorithm is a weak approximator for if there are such that, on every sample whose optimal hypothesis has empirical risk , the algorithm produces a -hypothesis of empirical risk . This is, in some sense, the lowest bar. Note that, if includes the truth constants and , then there is always a trivial solution that achieves an error fraction . Every -approximation algorithm for a constant factor is a weak approximator: it suffices to pick and .
To state the classification, for let denote the -ary threshold operation “at least of ”, that is,
Thus and are dual, and . Furthermore, in what follows, means that every function in is term-definable from , and that the two are interdefinable.
Theorem 1.3 (Empirical risk minimization). Let be a finite basis of Boolean functions. The ERM problem for falls into one of the following three regimes.
(i) If
then, unless P = NP, there is no polynomial-time weak approximator for PL_O, whatever its constants . In particular ERM for PL_O is NP-hard and has no polynomial-time constant-factor approximation.
(ii) If, for some ,
then ERM for is NP-hard; it admits a polynomial-time -approximation; and, under the Unique Games Conjecture, it admits no polynomial-time -approximation for any . The factor is therefore optimal under that conjecture.
(iii) In all other cases, ERM for is solvable in polynomial time.
The same holds for .
The proof is given in Section 4. Note that, in light of Theorem 1.1, ERM may be equivalently viewed as the problem, given a labeled sample, of finding a relabeling that is realizable and disagrees on as few examples as possible.
Learning from random examples. We now turn to learning, beginning with the combinatorial parameter that governs how many examples are needed.
Proposition 1.4 (VC dimension). Let be a finite basis of Boolean functions and let . If , or , then the VC dimension of in variables is at most . Otherwise it is .
We now consider two notions of learnability. Both are representation-sensitive: the learner is told a bound on the size of a representation of the target, and may use a number of examples polynomial in , , and . By a proper PAC learner for we mean an algorithm that, given , the bound , and sufficiently many examples drawn from an arbitrary distribution and labeled by a target in of size at most , outputs in polynomial time a hypothesis from the class whose error is at most with probability at least . A PAC predictor need not output a hypothesis: after seeing the examples it is given one further point and must predict its label, with error bounded away from by an inverse polynomial, and it may in addition ask membership queries, that is, ask for the value of the target at points of its own choosing. PAC prediction is easier than producing a hypothesis, and membership queries only help, so hardness of PAC prediction with queries is the stronger statement. Both notions, and the cryptographic assumptions, are given precisely in Section 6.
Theorem 1.5 (PAC learning and PAC prediction [16]). Let O be a finite basis. The following are equivalent.
(a) , or ;
(b) is polynomially properly PAC learnable;
(c) is polynomially PAC predictable with membership queries.
This relies on the fact that, in the concept classes we consider here, the label of a given example for a given concept can be computed in polynomial time.
The implications are unconditional; the remaining implication holds under cryptographic assumptions described in Section 6. The same equivalence holds with in place of .
Dalmau [16] states the above result for formulas and for circuits but the proof establishes it only for circuits. We supply the missing step in Section 6. Other models of learning are considered in [16] as well, namely exact learnability from membership and equivalence queries. We omit them here, but note that our proof shows that the corresponding results of [16] also hold for formulas, and not just for circuits.
A finer question is whether, in the positive cases, the number of examples can be made attribute-efficient [39]: polynomial in , , and rather than in (note that is the information theoretic content in bits of a single propositional variable). For the conjunctive and disjunctive bases this holds, as follows from Theorem 1.2 above. For the affine bases the target is a parity of at most variables, and whether such parities can be learned attribute-efficiently in polynomial time is a well-known open problem [36, 13].
The above results also yield a complete picture for agnostic learning [31], where we don’t assume that the labels are given by a target in the class: here, the examples are drawn from an arbitrary distribution on , and the learner must output a hypothesis whose error under exceeds the least error of any -ary -formula by at most . Note that, since there is no target, the bound for the running time and sample size is in , and . The learner is proper if the hypothesis is a -formula, and it is a weak agnostic learner if it is required to work only when , and then only to reach error , for some fixed . Every weak agnostic learner yields a randomized weak approximator for ERM, by running it on the uniform distribution over a given sample. Conversely, when the VC dimension of is polynomial in , every polynomial-time ERM algorithm yields a proper agnostic learner, by uniform convergence; and polynomial VC dimension is in fact necessary for weak agnostic learning, even improper [47]. It follows from Theorem 1.3 and Proposition 1.4 that is properly agnostically learnable in polynomial time when ; that in the three intervals of regime (i) of Theorem 1.3 it is not properly weak agnostically learnable in polynomial time, unless ; and that for every other basis it is not weak agnostically learnable at all, properly or not, for VC dimension reasons (cf. Proposition 1.4).
Finally, a further variant of the PAC model deserves discussion. Under random classification noise each label shown to the learner is flipped independently with a fixed probability [6]. The usual route to learning algorithms that are tolerant to such noise is Kearns's statistical query model, in which the learner sees no examples at all but may ask for the probability, under the example distribution, of any polynomial-time predicate of an example and its label, and receives it to within a tolerance of its choosing. A class learnable from polynomially many such queries of inverse-polynomial tolerance is PAC learnable under random classification noise of any rate [28]. Both notions are made precise in Section 8.
Theorem 1.6 (Statistical queries, from [28, 9]). Let be a finite basis. Under the cryptographic assumptions of Section 6, is efficiently learnable from statistical queries if and only if , or . The same holds for .
For random classification noise itself the picture is incomplete. Specifically, for the affine cases the question is open — it is known as the learning parity with noise problem [10].
Figure 1 collects these classifications. It depicts Post’s lattice. Its elements are all Boolean clones, which we can think of as the equivalence classes of the pre-order . They are colored to reflect the status of the clones in question with respect to the classifications above.
In this paper we focus on problems where a formula is to be derived from examples. For the converse direction, where a formula is given and a meaningful sample is to be generated for it — for instance one that characterizes the formula up to equivalence within the fragment — dichotomy results over Post's lattice exist as well, cf. [8].
The above results apply to fragments that are generated by sets of connectives, and that are for that reason closed under substitution. This excludes fragments such as Horn CNF, obtained by restricting the shape of clauses rather than the supply of connectives. Section 9 recalls Boolean constraint languages as the standard way of defining such fragments and records what becomes of the questions above when fragments are defined this way.
Acknowledgements
I am grateful to Victor Dalmau and Peter Mayr for fruitful discussions. Claude Fable was used in the process of writing this paper, both editorially and as a tool in the creative process. Several of the technical results were obtained with its help.
2 Preliminaries: Formulas, Circuits, Clones
A basis is a finite set of Boolean functions, each of fixed arity. A -formula over the variables is a finite tree whose leaves are labeled by variables and whose internal nodes of arity are labeled by -ary members of ; we write for the class of these formulas, and for the Boolean function computed by . A -circuit is the same object with fan-out allowed to exceed one, so that a subcomputation may be shared; we write for this class.
A clone is a set of Boolean functions that contains all projections and is closed under composition. For a set of Boolean functions, denotes the clone generated by , the least clone containing ; it consists of the functions computed by -formulas, or equivalently by -circuits. A finite set with is a basis of the clone . Post [43] determined all Boolean clones: there are countably many, each has a finite basis, and ordered by inclusion they form Post's lattice, drawn in Figure 1. For finite bases , write
and write when the two generated clones are equal.
Order coordinatewise, so that means for every . Write and for the all-zero and the all-one tuple, and for the bitwise complement of , that is, . The upward closure of a set consists of the points above some member of ; a set equal to its upward closure is an upset, and downward closure and downset are defined dually. We write for the ternary parity operation , and for the dual of a function , defined by , and a function equal to its own dual is self-dual. We use the standard notation for Post's lattice, as in [12, 38].
Table 1 lists the clones, with a description and a basis for each. The list is complete [43, 38].
An asterisk abbreviates a family of clones sharing a letter: denotes , and , , , , , and likewise denote the clone named by the letter together with all of its subscripted variants, so that is and is . On the separating side denotes and denotes , with and the corresponding degree-k families.

| Clones | ERM | VC dim. | PAC | Occam | SQ | |
|---|---|---|---|---|---|---|
| I | P | linear | yes | yes | yes | |
| II | no weak approximator | linear | yes | yes | yes | |
| III | no weak approximator | linear | yes | yes | no | |
| IV | NP-hard, k-approximable | exponential | no | none | no | |
| V | P | exponential | no | none | no |
Figure 1: Post's lattice, coloured by the regions the classifications cut it into, with the status of each problem per region. Fitting is omitted from the table because it is in P for every basis, with a fitting formula of polynomial size (Theorem 1.1). The Occam algorithms of regions I and II are attribute-efficient, that of region III is not known to be. Under random classification noise the last column is unchanged except in region III, where the question is open (Section 8). In region IV the k-approximation is optimal under the Unique Games Conjecture. The negative entries in the last three columns hold under the cryptographic assumptions of Section 6, except that in region III the entry of the last column is unconditional. Dashed edges abbreviate the infinite ascending families and .
| Clone | Description | Representative basis |
|---|---|---|
| BF | all Boolean functions | |
| 0-preserving, i.e. | ||
| 1-preserving, i.e. | ||
| M | monotone | |
| 0-separating | ||
| 0-separating of degree | ||
| 1-separating | ||
| 1-separating of degree | ||
| D | self-dual | |
| L | affine | |
| E | conjunctions and constants | |
| V | disjunctions and constants | |
| N | projections, negations and constants | |
| projections and negations | ||
| I | projections and constants | |
| : projections and | ||
| : projections and | ||
| projections only |
Table 1: The Boolean clones, with a basis for each; ranges over the integers . The bases follow those tabulated by Böhler, Creignou, Reith and Vollmer [12], up to inessential variation, and each is one choice among many.
The convention for the S-families is the following. A Boolean function is 0-separating if the set has a common zero coordinate; it is 0-separating of degree k if every list of k elements of , with repetitions allowed, has a common zero coordinate. Equivalently, every nonempty subset of at most k distinct zero inputs has a common zero coordinate. The 1-separating notions are dual.
For a formula we write for its number of nodes and depth for its depth, with a single leaf having depth 0. For a circuit , is its number of gates and inputs. Unfolding a circuit into a formula can increase size exponentially — indeed for , -circuits are super-polynomially more succinct than -formulas [26, 44] — and no converse blow-up is possible, so circuit size is the more generous measure: a statement proved for it is weaker than the corresponding one for formula size when it asserts hardness, and stronger when it asserts an upper bound. In certain cases circuits can nevertheless be translated to formulas in polynomial time. If , or , the -ary functions of are the conjunctions, the disjunctions or the affine functions of the variables, together with whichever truth constants the clone contains. Which of them a given -circuit computes is read off from its values at points, and the corresponding -formula has at most leaves.
3 Fitting
Fix a finite set of propositional variables , identified with the coordinates , and write for the tuple of them. A labeled sample is a finite multiset
which we also write as a list of labeled examples. A formula fits if for , and is realizable for if some fits it. The fitting problem for asks, given , to decide whether is realizable and, if so, to return a fitting formula. The same definitions apply also to . Note that a labeled sample is realizable for iff it is realizable for . Since this depends on only through , we also say that is realizable in the clone .
The fitting problem has an algebraic form that is well studied in the literature, and we lift our terminology to it. A finite algebra is a finite set together with a finite set of finitary operations on . Terms over are built from variables and the operations of in the usual way, and a term induces an -ary term operation on ; for the terms are the -formulas and the term operations are the functions of . A labeled sample over consists of examples , a term fits it if for every , and it is realizable if some term fits it. Read columnwise, fitting asks whether the column of labels lies in the subalgebra of generated by the columns of the variables. This is the subpower membership problem for , the subject of [40, 14], whose complexity is open in general. A near-unanimity operation of arity is one returning whenever at least of its arguments are , and a near-unanimity term of is a term inducing such an operation; on the majority operation and the thresholds and are examples of near-unanimity operations. The Baker–Pixley theorem [7] solves the subpower membership problem for algebras with a near-unanimity term. We need a slight strengthening of this result.
Proposition 3.1 (Efficient Baker–Pixley interpolation). Fix a finite algebra with a near-unanimity term of arity , and let .
-
A labeled sample over is realizable if and only if every with is, which can be tested in polynomial time.
-
From a realizable labeled sample E one can moreover compute in polynomial time a fitting term of depth logarithmic in .
Proof. Item 1 is the content of the classic Baker–Pixley theorem [7]. We prove both items here, with a slight refinement of the classic argument: we use a divide-and-conquer strategy to control the size and depth of the constructed term.
Let be a labeled sample over , consisting of the labeled examples
By a window we mean a subset , and we write for the sub-sample , so that the sub-samples of item 1 are the with . If is realizable then so is every sub-sample, by the same term; this is the easy direction of item 1.
Fix a window with . Every term induces a labeling of the points , , that is, an element of , and the labelings so induced are obtained from those induced by the variables by closing under the operations of , applied pointwise. There are at most labelings of these points altogether, so at most of the variables induce distinct ones, the closure is reached in a bounded number of rounds, and every labeling in it is induced by a term of bounded size, the bound depending only on . Hence, in time plus a constant depending on , we can test whether a term fitting exists and, if so, compute one of bounded size, which we call . There are windows with , so all of this takes time.
Suppose now that for every window with a fitting term exists. We extend the definition of to every window by recursion on , in such a way that fits . If then . Partition into nonempty blocks whose sizes differ by at most one, and let
Each is a proper subset of , so the recursion terminates, and by induction fits : an index lies in exactly one block , so the arguments with take the value at , and the near-unanimity operation returns that value whatever the remaining argument computes there. Hence fits . In particular a sample all of whose sub-samples of at most examples are realizable is realizable, which completes the proof of item 1.
It remains to show that the construction runs in polynomial time and that has depth logarithmic in . If then every block has at least elements, so , which is at most once . The recursion therefore has depth , with a constant depending only on . Each level of the recursion contributes the depth of , and the terms at the bottom have bounded depth, so has depth . The recursion tree has nodes, and the term built at a node has size at most size() times one plus the sizes of its arguments, so sizes grow by at most a factor size() per level and every term involved, included, has size . The construction therefore runs in polynomial time.
Theorem 1.1 (Fitting). Let be a fixed finite basis. Then has a polynomial-time fitting algorithm: given a labeled sample it decides whether the sample is realizable, and if so returns a fitting -formula of polynomial size. The same holds for .
Proof of Theorem 1.1. Let . Since is fixed, we may freely replace a fixed operation of by a fixed -formula defining it. The following table places every clone of Post's lattice in one of five cases; a clone may satisfy several, and only coverage is needed.
| Case | Clones |
|---|---|
| (1) | BF, R*, M*, D*, and for every |
| (2) | |
| (3) | |
| (4) | |
| (5) |
(1) C has a near-unanimity term. This includes BF, , , D, and , all of which contain maj = th , and the clones and , which contain th respectively th . Proposition 3.1, applied to the algebra ( ; O), decides fitting and in the positive case returns a fitting -formula of polynomial size and logarithmic depth.
(2) . The -ary functions of are the affine functions whose constant and support satisfy the at most two linear conditions over that single out among , , , and : that , that , or that be odd. Fitting is therefore a system of linear equations over in the unknowns and the indicator vector of , with one equation per example and those conditions, which Gaussian elimination solves in polynomial time. A solution is written as a chain of connectives of over the variables of , a -formula with at most leaves.
(3) . This is the essentially unary case. One tries the finitely many available unary functions on each variable, together with the available truth constants.
(4) or . This is the semilattice case. For conjunctions the standard greedy construction applies: keep exactly those variables whose columns are compatible with all positive labels and take their conjunction, with the appropriate truth-constant side conditions for proper subclones. Disjunctions are dual.
(5) It remains to handle the ordinary separating clones. We give the argument for the 1-separating side; the 0-separating side follows by duality. For , let be given by
\begin{array}{c|cccc}{{{\mathrm{C}}}}&{{{\mathrm{S}_{1}}}}&{{{\mathrm{S}_{12}}}}&{{{\mathrm{S}_{11}}}}&{{{\mathrm{S}_{10}}}} \\{{{\hline\mathsf{K}_{\mathsf{C}}}}}&{{{\mathsf{BF}}}}&{{{\mathsf{R}_{1}}}}&{{{\mathsf{M}}}}&{{{\mathsf{M}\cap\mathsf{R}_{1}}.}}\end{array}Write for the column of values of the variable on the sample and for the column of labels. Every is bounded above by one of its inputs. Hence a necessary condition for fitting is that some variable column dominates the label column . If no such column exists, reject. Otherwise, choose any such , discard the rows on which , and set in the remaining rows. If the original sample has a -fit , then belongs to and fits this residual sample. Conversely, if fits the residual sample, then belongs to and fits the original sample. All four clones contain the majority operation, so item (1) decides the residual problem and constructs a residual formula of polynomial size and logarithmic depth.
To translate this formula back to the original basis, fix a basis of and, for each , use the guarded gate . This operation belongs to and therefore has a fixed -formula. Replacing each residual connective by this fixed formula, and each variable by a fixed -formula for , maintains the invariant that the translated node computes . Each substitution multiplies size by at most a constant per level, and the depth is logarithmic, so the result is a -formula of polynomial size.
For the canonical basis of , the gadgets for a guarded leaf, disjunction, and conjunction are respectively , and , where are already guarded. For , a basis of , the corresponding gadgets are , for implication and for conjunction.
The bases of the four residual clones also contain truth constants, and these need guarded gates of their own. We have , with basis , and . The guarded gates for the constants are
both of which lie in and satisfy the invariant. For the two gadgets above suffice, being the basis of in Table 1. For take the basis , whose guarded gates are and , both of which lie in . The dual construction handles the ordinary 0-separating clones.
With dual cases folded in, the table above shows these cases to be exhaustive, giving a polynomial-time construction of a fitting -formula of polynomial size whenever fitting is possible. A formula is a circuit of the same size, so the statement for follows.
4 Empirical risk minimization
The empirical risk of a formula on a labeled sample is the fraction of misclassified examples,
and the empirical risk minimization problem for , ERM for for short, asks for a formula attaining the optimal value: given , return a with
The sample size is fixed within an instance, so minimizing this fraction is the same as minimizing the number of mistakes, and the arguments below count mistakes where that is more convenient. The associated decision problem asks, given and , whether there exists with at most mistakes. Since the hypothesis is part of the output, the problem depends on how that hypothesis may be written, and we distinguish two versions: ERM for , where the algorithm returns a -formula, and ERM for , where it may return a -circuit. The optimum value is the same in both, since and define the same functions; only the output differs. The same distinction applies to the weak approximators of the introduction and to the approximation algorithms below.
This section proves the classification from the introduction, which we restate.
Theorem 1.3 (Empirical risk minimization). Let be a finite basis of Boolean functions. The ERM problem for falls into one of the following three regimes.
(i) If
then, unless , there is no polynomial-time weak approximator for , whatever its constants . In particular ERM for is NP-hard and has no polynomial-time constant-factor approximation.
(ii) If, for some ,
then ERM for is NP-hard; it admits a polynomial-time -approximation; and, under the Unique Games Conjecture, it admits no polynomial-time -approximation for any . The factor is therefore optimal under that conjecture.
(iii) In all other cases, ERM for is solvable in polynomial time.
The same holds for .
For circuits it is clear that the problem depends on only through the clone : if then every member of is computed by some fixed -circuit, so replacing each gate turns a -circuit into a -circuit of size larger by at most a constant factor, and symmetrically. For formulas no such translation is known in general, so the basis, and not merely the clone, could in principle matter. Nevertheless the theorem shows that the complexity of for too depends only on . The explanation lies in Theorem 1.1, which shifts the algorithmic content of the problem from formulas to relabelings of the sample.
A relabeling of a labeled sample assigns a label to every point of that occurs in . It is realizable in a clone if some function of takes the assigned value at every sample point. Its mistakes on are the examples whose label differs from the label assigned to , and its empirical risk is the fraction of mistakes, as for formulas. Every formula in or circuit in induces, by evaluation at the sample points, a relabeling realizable in with the same mistakes. Conversely, a relabeling realizable in , read as a labeled sample, is realizable for , so Theorem 1.1 computes from it in polynomial time a -formula, or a -circuit, with exactly those mistakes. Hence ERM for and ERM for are both equivalent, in polynomial time and with every approximation ratio preserved, to what we call for the clone : given , find a relabeling of that is realizable in and has the fewest mistakes. We write for the least empirical risk of such a relabeling, so that for every basis of , and the notions of -approximation and of weak approximator carry over verbatim, with a realizable relabeling in place of the formula returned.
The rest of the section treats ERM for clones: the algorithms return realizable relabelings, and the hardness results bound the mistakes of every function of the clone on the samples they construct. No basis appears anywhere, which is why the classification depends on only through and holds for formulas and circuits alike, as the final clause of the theorem asserts.
We prove the theorem region by region, keeping algorithms, hardness results and approximation guarantees for a region together; the standard enumeration of Post's lattice shows that the families considered below are exhaustive [43, 38]. In clone names, the interval in regime (ii) is , or dually , using the bases for and from Table 1; by inspection of Post's lattice [43, 38], the clones in these intervals are exactly the eight degree- separating clones and , together with the majority clone when .
Two conventions are used throughout. First, we freely use weighted examples, that is, repeated ones. Given a labeled sample , for each point let
A relabeling that assigns 1 to makes mistakes there, and one that assigns 0 makes , so ERM for a clone is a weighted labeling problem on the finite set of sample points. Conversely, weights can be imposed by repetition: if and we add copies of , then every optimal relabeling of the enlarged instance assigns to , provided some relabeling realizable in the clone satisfies all the imposed labels. Weight always abbreviates repeated copies, and this large-penalty forcing is how boundary conditions are imposed below. Second, an algorithm is an -approximation for ERM for if it returns a relabeling realizable in of empirical risk at most . This multiplicative guarantee differs both from an additive one, , and from weak approximation. The trivial baseline behind weak approximation presumes the truth constants, which clones such as and lack. This weakens nothing, since the constant-adjunction reduction below supplies them without changing the sample size or the empirical risk.
We begin with that reduction, which lets the truth constants be assumed available. For a clone , let be the clone generated by together with and .
Lemma 4.1. For every clone , for reduces in polynomial time to for . More precisely, from a sample one constructs in polynomial time a sample with whose relabelings realizable in C correspond bijectively, with the same mistakes, to the relabelings of E realizable in C±.
Proof. Let be a sample over the variables . Introduce two fresh variables , and replace every labeled example by the extended example with
Call the transformed sample . The map is a bijection between the points of and those of , so relabelings of correspond to relabelings of with the same mistakes, and it remains to see that this correspondence respects realizability. Every function of is obtained by composing functions of , projections and the two constants. Replacing each occurrence of and by and turns an -ary such function into an -ary function with , and conversely every function of this form lies in . Since , a relabeling of is realized in by if and only if the corresponding relabeling of is realized in by .
Thus, adjoining constants cannot make ERM harder. On the other hand, adjoining constants can make ERM easier: as we will see, ERM for is NP-hard, while is tractable by Proposition 4.10 — so the lemma transfers hardness only downward, from to C.
4.1 The inapproximable cases
Each of the two results below concerns the clone at the top of one of the three intervals of regime (i), which is where its source leaves it; the passage to the smaller clones of an interval is uniform and is deferred to Section 4.4.
Theorem 4.2 (Hästad [23]). Unless P = NP, there is no polynomial-time weak approximator for the clone .
The functions of are those of the form , and the theorem is Håstad's gap hardness for Max-E3Lin read through the standard translation between linear systems and parity examples. His theorem says that, for every , it is NP-hard to distinguish systems of three-variable linear equations over for which some assignment satisfies at least a fraction of the equations from systems in which every assignment satisfies at most a fraction [23]. Since the equations have odd arity, complementing all variables turns satisfied equations into unsatisfied ones, so in the second case every assignment also satisfies at least a fraction. Translate such a system into labeled parity examples in the standard way: an equation becomes the example with coordinate vector and label . An assignment is then the linear parity , whose value on that example is , and an optional affine offset corresponds to complementing all predictions. The translation therefore gives samples for which either some affine hypothesis has empirical risk at most , or every affine hypothesis has empirical risk at least . Given , choose : a weak approximator with these constants would separate the two cases.
Theorem 4.3 (Feldman, Gopalan, Khot and Ponnuswami [21]). Unless P = NP, there is no polynomial-time weak approximator for the clone , nor for the clone .
For this is the monotone case of the agnostic-learning hardness of [21], whose proof does not pass through Håstad's but goes back to the PCP theorem through Feige's multi-prover proof system for 3SAT-5, precisely in order to avoid an intermediate optimization problem. One point of care: their monomials are conjunctions of literals, whereas contains only monotone conjunctions and the two truth constants. The result we need is therefore the monotone version, which they prove alongside the general one — it is their problem MMon-MA, treated in [21, §4.2.2 and Theorem 15]. In the terminology used here it says that, unless P = NP, no polynomial-time algorithm is a weak approximator for the class of monotone conjunctions. The clone satisfies the same statement by Boolean duality: complement all coordinates and flip all labels.
4.2 Finite-degree separating clones and the majority clone
Regime (ii) consists of the finite-degree separating clones and, as the case , the majority clone. Fix . The proofs treat the 0-separating side, and the 1-separating side follows by duality: each clone consists of the duals of the functions of the clone with the same subscript, and makes on the sample the same number of mistakes as on , so ERM for a 1-separating clone is ERM for its dual clone with all coordinates complemented and all labels flipped. By the zero set of a function we mean the set .
Fact 4.4 (Zero-set criterion). For , some function of has zero set exactly Z if and only if every nonempty subset of Z of size at most k has a common zero coordinate.
This is a restatement of the separating condition of Section 2.
The algorithm is obtained by the technique of Hochbaum [25] for weighted vertex cover: write the problem as an integer linear program, solve its linear relaxation, and round every variable of value at least up to 1 and every other variable down to 0. The following lemma will justify the rounding step. It is stated separately as it is used in two proofs.
Lemma 4.5 (Rounding). Let be fixed. Consider an integer program with variables for , whose objective is to minimize
with coefficients , and whose constraints are of three kinds: covering constraints for sets with , precedence constraints , and fixed variables or . If the program is feasible, then a feasible solution of cost at most times the optimum can be found in polynomial time.
Proof. Relax the integrality requirement to , solve the resulting linear program in polynomial time, and let be an optimal solution; its cost is at most the optimum of the integer program. Round to the 0/1-assignment with if and otherwise. The rounded assignment satisfies all constraints. In a covering constraint, at most variables sum to at least 1, so one of them has value at least and is rounded to 1. If then . And a fixed variable is unchanged by rounding.
For the cost, compare termwise. If then , so ; and if then , so . Each inequality is trivial in the other case. Hence the cost of is at most times the cost of , and that maximum is for every .
Proposition 4.6 (k-approximation). Let and let be one of the eight degree-k separating clones and , that is, or . Then ERM for admits a polynomial-time k-approximation on arbitrary samples.
Proof. By duality we may assume . We write ERM for as an integer program of the form in Lemma 4.5. For each distinct sample point introduce a variable , with meaning that is relabeled 1, so that the number of mistakes of the relabeling is
Impose a covering constraint for every nonempty set of at most sample points without a common zero coordinate; when , a precedence constraint for all sample points ; and when , the fixed variable , if is a sample point. Since is fixed, the program has polynomial size. Note that is among the covering constraints whenever is a sample point, as has no zero coordinate.
The 0/1-assignments satisfying these constraints are exactly the relabelings of realizable in . If a relabeling is realized by , then its points relabeled 0 lie in the zero set of , which satisfies the degree- condition by the zero-set criterion, so no set as above consists of points relabeled 0, and the covering constraints hold; when , the zero set of the monotone is a downset, which gives the precedence constraints; and when , gives . Conversely, let be a 0/1-assignment satisfying the constraints, and let be the set of sample points with . Let be itself, or its downward closure in when , in either case with added when . By the covering constraints every nonempty subset of of size at most has a common zero coordinate, and this passes to , since a coordinate that is zero on a point is zero on every point below it, and since is zero in every coordinate; so by Fact 4.4 some function of has zero set exactly . When this is monotone, its zero set being a downset, and when it satisfies and , as while , having no zero coordinate, is neither in nor below a point of ; so . Finally induces the relabeling : it is 0 on , and a sample point with lies outside , since , since with would violate the precedence constraint , and since would violate .
The program is feasible, because the projection onto the first coordinate lies in every clone and realizes some relabeling of , and its optimum is . Lemma 4.5 therefore returns in polynomial time a 0/1-assignment satisfying the constraints, that is, a relabeling of realizable in , with at most mistakes.
We handle the majority clone separately, as the approach of Proposition 4.6 does not go through for it. In terms of variables for the labels of the sample points, membership in imposes, besides precedence constraints, the constraints for all sample points with : if for such points then monotonicity gives , contradicting self-duality. Such packing constraints do not survive the rounding of Lemma 4.5, which may round both variables up. We therefore change variables, and let a variable record whether the relabeling gives up the majority label at a sample point, that is, the label occurring more often there; in these variables the constraints are covering constraints.
Proposition 4.7 (2-approximation, majority case). ERM for admits a polynomial-time 2-approximation on arbitrary samples.
Proof. For each distinct sample point let its majority label be 1 if and 0 otherwise, and let . A relabeling makes mistakes at if it assigns there, and more if it does not. Since , a relabeling realizable in assigns 0 to and 1 to , so its number of mistakes is , where the sum ranges over the sample points to which it does not assign , and where
does not depend on the relabeling.
Call two sample points conflicting if no function of takes the value at and at , that is, if the labeled sample is not realizable in ; this can be decided in polynomial time by Theorem 1.1. If is a set of sample points outside , no two of which conflict, then the labeled sample is realizable in . Indeed, its sub-samples of two examples are realizable by assumption, and those of one example by a projection, as a point has a coordinate equal to ; since maj is a near-unanimity term of of arity 3, Proposition 3.1 with gives the claim.
Now introduce, for each distinct sample point , a variable , with meaning that the majority label is given up at ; impose the covering constraint for every conflicting pair; and minimize . This is a program of the form in Lemma 4.5 with , and it is feasible, since setting every variable to 1 satisfies all constraints. Every gives a feasible assignment, namely exactly when : it is feasible because witnesses that two points with do not conflict, and its cost is the number of mistakes of minus . So the optimum of the program is at most . Conversely, let be a feasible 0/1-assignment and the set of points with . No two points of conflict, so by the claim the labeled sample is realizable in . Theorem 1.1 fits it in polynomial time, and evaluating the fitting formula at all sample points gives a relabeling of realizable in that assigns to every , hence makes at most mistakes.
The algorithm applies Lemma 4.5 to the program and returns the relabeling just described for the assignment obtained. Its number of mistakes is at most
The matching lower bounds for all clones of the regime come from vertex cover. A k-uniform hypergraph is a pair consisting of a finite set V of vertices and a set of hyperedges, which are k-element subsets of V; a graph is a 2-uniform hypergraph. A vertex cover of H is a set of vertices that meets every hyperedge, and denotes the least size of a vertex cover.
Theorem 4.8 (Vertex cover in k-uniform hypergraphs). Let be fixed, and consider minimum vertex cover in k-uniform hypergraphs.
(a) It can be approximated within a factor k in polynomial time [25].
(b) It is NP-hard to approximate within for every when [20], and within when [33, 34].
(c) Under the Unique Games Conjecture it is NP-hard to approximate within for every [35].
Part (a) is the case of Lemma 4.5 in which all constraints are covering constraints; we use only the lower bounds (b) and (c).
Proposition 4.9 (Vertex cover reduces to ERM). Let and let be a clone with or , that is, one of the eight degree-k separating clones and , or when . Then minimum vertex cover in -uniform hypergraphs reduces to ERM for in polynomial time, by a reduction that preserves the objective value and produces samples consisting of negative examples only, or of positive examples only on the 1-separating side. The same sample serves all clones of one side.
Proof. By duality we may assume . Let be a -uniform hypergraph. Call a set hyperedge-free if no hyperedge is a subset of . Since every hyperedge has exactly vertices, a set of at most vertices is hyperedge-free exactly when it is not itself a hyperedge. We create one point for every vertex . For every hyperedge-free with , introduce a coordinate , and define
Since is fixed, the number of coordinates is polynomial in . The construction has the following property: for every nonempty with ,
has a common zero coordinate Y is not a hyperedge of .
Indeed, a common zero coordinate of these points is a coordinate with . If one exists then is hyperedge-free, being a subset of the hyperedge-free set , and if is hyperedge-free then is such a coordinate. Label every negatively.
The two directions of the reduction are established for different clones: from a hypothesis in the largest clone we extract a vertex cover whose size is its number of mistakes, and from a vertex cover we build a hypothesis with at most that many mistakes in and, when , also in . Since contains or is , both directions apply to .
From hypotheses to covers. Let misclassify the examples indexed by , so that the correctly classified examples are indexed by . Since and is 0-separating of degree , every points among these have a common zero coordinate. If some hyperedge were contained in , then the points would have a common zero coordinate, contradicting the property above. Thus meets every hyperedge, so is a vertex cover of , of size equal to the number of mistakes of .
From covers to hypotheses. Let be a vertex cover, and put , which is hyperedge-free. Let be the downset of generated by the points with , together with :
and let be the function with zero set . We check that . First, satisfies the degree- condition. Any points of are or lie below points with and . The set is a hyperedge-free subset of , so the coordinate is zero on each , hence on every point below one of them, and on . Here we use that a coordinate that is zero on a point is zero on every point below it, so that the degree- condition passes from a set of points to the downset it generates. By the zero-set criterion, Fact 4.4, . Second, is monotone, because its zero set is a downset. Third, because , and because : every has the zero coordinate , a single vertex being hyperedge-free as , and no point below a point with a zero coordinate is . So . Finally for every , so makes at most mistakes. It may make fewer, if some with happens to lie in , and that only helps. This direction produces a hypothesis in , hence in each of the four clones .
From covers to hypotheses in . Let , so that is a graph, and let again be a vertex cover and , which is now an independent set. We need with for all , that is, the labeled sample must be realizable in . Its sub-samples of at most two examples are realizable by projections: for , distinct or not, the set is a hyperedge-free subset of , so is a common zero coordinate of and . Since maj is a near-unanimity term of of arity 3, Proposition 3.1 with gives , and it makes at most mistakes.
Conclusion. By the first direction every hypothesis in makes at least mistakes, and by the second some hypothesis in makes at most , so the optimum of the ERM instance is exactly , for each clone of the interval.
An objective-preserving reduction is in particular approximation-preserving, so parts (b) and (c) of Theorem 4.8 transfer to ERM for all clones of Proposition 4.9. The factor k is therefore optimal under the Unique Games Conjecture.
4.3 The tractable cases
Every clone outside the two hard regimes admits a polynomial-time ERM algorithm. Two elementary algorithms do all the work — pointwise majority for BF, minimum cut for M — and the remaining cases reduce to them by forcing labels or enumerating a coordinate.
Proposition 4.10 (Base ERM algorithms). ERM for BF and ERM for M are solvable in polynomial time.
Proof. For BF, every relabeling of the sample is realizable, and the values at distinct sample points are independent. Hence the relabeling that assigns to each sample point the label occurring more often at it is optimal.
For M, the positive region of a monotone function is an upset in the coordinatewise order on . After merging duplicate examples, choosing an upset U has cost
Thus the problem is the minimum-cost upset problem on the finite poset induced by the sample points. Equivalently, its complement is a minimum-cost downset, which is a standard minimum-cost closure problem [41] and can be solved by one min-cut computation. Every upset of the induced sample poset extends to an upset of the full Boolean cube by taking its upward closure, so the computed relabeling of the sample is realizable by a monotone Boolean function.
Theorem 4.11 (The tractable regime). ERM for C is solvable in polynomial time whenever C is one of BF, , , , , D, , or .
Proof. The clones BF and M are Proposition 4.10. Every other case reduces to one of these two, except the unary clones, which are solved by enumeration.
Boundary clones. For , reduce to ERM for BF by boundary forcing: add copies of for , of for , and of both for . Every optimum of the enlarged sample then satisfies the required boundary condition, and conversely consists of exactly the Boolean functions satisfying that condition, so the two instances have the same optimum value. The same argument reduces to ERM for .
Ordinary separating clones. A function lies in precisely when its zero set is contained in for some coordinate , that is, when setting to 1 forces the value 1. For a fixed , add positive copies of every sample point with , run the BF algorithm, let be a Boolean function realizing the relabeling it returns, and put . On the sample points with the two agree, and on the remaining ones both predict 1 because of the forcing. Moreover the zero set of is contained in , so and the relabeling is realizable in . Trying all and keeping the best solution puts ERM for in . Dually, for , force every sample point with to be negative and replace by .
The six remaining clones combine this coordinate enumeration with the boundary forcing. For and , add the boundary copies to the enlarged BF-instance. For the monotone ones, reduce to ERM for instead: for , fix , force the points with positive and solve the resulting -instance; for , add the boundary labels and as well; and are dual. The same extensions apply, since is monotone and 0-separating, and monotone and 1-separating, whenever is monotone.
The self-dual clones D and . Let choose a canonical representative of each complement pair, say the lexicographically smaller of and , so that and , and let if and otherwise. A self-dual function is determined by its values on the representatives: writing for its restriction to them,
and ranges over all Boolean functions on the representatives as ranges over D. Transform each labeled example into and call the resulting sample . Since if and only if , mistakes are preserved example by example, so . For , use the same normalization and force the pair to the orientation , . With the lexicographic representative this is the single forced normalized label .
Unary and projection clones. The clones and contain only constants, projections and negated projections, so there are candidate hypotheses — , , and , the admissible subset depending on the clone — and enumerating them gives the optimum.
4.4 Putting the pieces together
The hardness results of regime (i) were stated for the clones E, V and L at the top of their intervals; the passage from there to the rest of each interval is the same in all three cases, and it is the only step that is not already in the sources. Suppose C = [O] is not the clone at the top of its interval. Adjoining the truth constants then generates that clone: C± is E, V or L respectively. By Lemma 4.1, ERM for C± reduces to ERM for C by a reduction that leaves the sample size unchanged and preserves the mistakes of every relabeling, so it preserves empirical risks and promises as well, and a weak approximator for C would give one for C±. Finally, an exact ERM algorithm is a weak approximator, since on the promised instances it returns a relabeling of empirical risk at most ε. So ERM for C is NP-hard in all of these cases, and by the observation in the introduction it has no constant-factor approximation either.
Theorem 1.3 follows. Regime (i) is Theorems 4.2 and 4.3 together with the propagation just described; regime (ii) is Propositions 4.6 and 4.7 together with Proposition 4.9 applied to Theorem 4.8; and regime (iii) is Theorem 4.11, the enumeration of Post's lattice showing that the three regimes leave no clone unaccounted for. All of this is proved for ERM for the clone [O], which by the discussion at the beginning of the section is equivalent, with approximation ratios preserved, to ERM for PL_O and to ERM for CIR_O, so the theorem holds in both forms.
5 VC dimension
In preparation for the next section, where we study PAC learnability, we clarify the VC dimension of each fragment. A set A ⊆ {0,1}^n is shattered by a class F of n-ary Boolean functions if every subset of A is of the form A ∩ f⁻¹(1) with f ∈ F, and the VC dimension of F is the largest size of a shattered set.
The VC dimension of PL_O (or, equivalently, of CIR_O) grows either linearly or exponentially in the number of variables, depending on O. More precisely, the dividing line is given by the clones E, V and L.
Proposition 1.4 (VC dimension). Let O be a finite basis of Boolean functions and let n ≥ 1. If O ⊊ {∧, T, ⊥}, O ⊊ {∨, T, ⊥} or O ⊊ {⊕, T, ⊥}, then the VC dimension of PL_O in n variables is at most n + 1. Otherwise it is 2^Ω(n).
The proof uses the following basic fact about Post's lattice, which will also be used in the next section.
Fact 5.1. For all clones C, the following are equivalent:
-
C ⊄ E, C ⊄ V and C ⊄ L;
-
D_2 ⊆ C or S_{00} ⊆ C or S_{10} ⊆ C. Equivalently, C contains at least one of the three functions
Moreover, if C contains maj but neither f_{∨∧} nor f_{∧∨}, then C ⊆ D.
Proof of Proposition 1.4. For the upper bound, a class of VC dimension d has at least 2^d members, so it suffices to count. The n-ary part of E = [∧, T, ⊥] consists of the conjunctions ∧{i∈S} x_i for S ⊆ [n], with S = ∅ giving T, together with ⊥, so it has 2^n + 1 members and VC dimension at most n; dually for V. The n-ary part of L = [⊕, T, ⊥] consists of the functions c ⊕ ⊕{j∈J} x_j with c ∈ {0,1} and J ⊆ [n], so it has 2^{n+1} members and VC dimension at most n+1. Subclones only shrink these classes.
For the lower bound, VC dimension is monotone in the class, so by Fact 5.1 it suffices to exhibit, for n ≥ 2, a set of size 2^Ω(n) shattered by each of D_2, S_{00} and S_{10}. We may assume that is even, since the -ary part of a clone contains every -ary member with a dummy variable added, so that the VC dimension in variables is at least that in variables. Let and let consist of the points
Every point of has first coordinate 1, last coordinate 0 and exactly ones. The argument has three steps. First, is shattered by . Its members have the same number of ones, so none lies below another, and for the indicator function of the upset generated by is monotone and is 1 exactly on within . Second, on the coordinates and can stand in for the truth constants, since and for every . Precisely, let be a clone and . As in the proof of Lemma 4.1, for some , and is again a function of , which agrees with on . Hence is shattered by whenever it is shattered by . Third, for each of the three clones. Indeed, and for , and for , and dually for . So is shattered by all three.
6 PAC learning
We make the learnability notions of the introduction precise. For a formula or circuit over variables, let be the concept it defines, and let size be the size of the representation. Polynomially properly PAC learnable is the first notion of the introduction with these conventions. In polynomially PAC predictable with membership queries, the weaker demand of [5], the predicted label must be wrong with probability at most for a polynomial , and the learner must run in time polynomial in , and .
The VC bounds of Section 5, with the fitting algorithm of Section 3, already give the stronger, representation-insensitive form of learnability: a single learner that handles every target in , with a number of examples polynomial in , and but not permitted to grow with the size of the target's representation.
Proposition 6.1 (Learning uniformly). Let be a finite basis. There is a polynomial-time learner for using examples if and only if , or . The statement is unconditional, and in the positive cases the hypothesis returned is a -formula with at most leaves.
Proof. In the three positive cases, Proposition 1.4 bounds the VC dimension by , so a sample of size suffices for uniform convergence, and the fitting algorithm of Theorem 1.1 — cases (2) and (4) of its proof — turns such a sample into a consistent -formula in polynomial time with at most leaves, namely a conjunction, a disjunction or a parity of variables with at most two further leaves. A consistent learner for a class of polynomial VC dimension is a polynomial-time PAC learner. The hypothesis is a formula, so the positive half holds whether the learner must output a formula or may output a circuit, and in particular for proper learning.
Conversely, outside the three cases Proposition 1.4 gives VC dimension , and any learner for a class of VC dimension requires examples, hence exponential running time. This holds however the learner represents its hypotheses.
The positive half of Theorem 1.5 is contained in this proposition. Its negative half is not: the obstruction above is information-theoretic and evaporates once the running time and sample complexity are allowed to depend on the size of the target concept. The remainder of this section proves this direction.
By the cryptographic assumptions we mean throughout the assumption that at least one of the following is intractable: testing quadratic residuosity modulo a composite, inverting RSA encryption, and factoring Blum integers. The starting point is the following theorem.
Theorem 6.2 ([30, 5]). Under the cryptographic assumptions, is not polynomially PAC predictable with membership queries.
Every conditional lower bound proved in this paper — in this section and in Sections 7 and 8 — is obtained from Theorem 6.2 by reductions; the lower bounds of Section 4 rest instead on or on the Unique Games Conjecture. The reductions are of a type due to Angluin and Kharitonov [5], a membership-query variant of the prediction-preserving reductions of Pitt and Warmuth [42]. Below are fragments such as or , and ranges over the members of .
Definition 6.3 ([16, Definition 1], after [5, 42]). if there are mappings (formulas), (instances) and (queries), with , such that
(1) there is a nondecreasing polynomial with for all and all with ;
(2) is computable in time polynomial in , and iff whenever and ;
(3) and are computable in time polynomial in , and for every tuple : iff , where if and otherwise.
The relevant property of these reductions is that if and is polynomially PAC predictable with membership queries, then so is (cf. [16, Lemmas 1 and 2]).
We now prove Theorem 1.5, restated at the end of this section. Consider where O falls under none of the three positive cases. In that case [O] contains one of
by Fact 5.1 and the reductions to be constructed are those of Theorems 2–4 of [16]. Those reductions substitute a fixed gadget for each gate of the source formula. In a circuit this costs a constant factor, the gadget sharing its argument wires. In a formula it need not, since the substitution patterns duplicate arguments and the gadget may read each placeholder more than once, so size can grow by a constant factor per level. The published argument therefore yields , which is weaker than Theorem 1.5: for a fixed size bound the formula-represented concepts are a subclass of the circuit-represented ones, and hardness does not pass to subclasses. The missing step is to rebalance the source formula before substituting, since on a formula of logarithmic depth the substitution costs a polynomial factor overall. Balancing introduces the truth constants, which need not have. They are carried instead by the auxiliary variables that the instance mapping already appends, at the cost of one further such variable in two of the three cases. We record Spira's theorem in the form used.
Fact 6.4 (Balancing, [49]). Let be a formula over a finite set of Boolean connectives. There is an equivalent -formula of depth and of size polynomial in , computable from in polynomial time.
The next lemma collects everything that happens while the truth constants are still available, and does so once and for all: its hypothesis is only that [O] contains the monotone clone , which holds for every basis of and, more to the point below, for whenever [O] contains one of the three functions above. Since the basis is arbitrary, all the construction needs of are fixed formulas for , and the two truth constants.
Lemma 6.5. Let be a finite set of Boolean functions such that . Then .
Proof. Let be a -formula over the variables . By Fact 6.4 we may assume that depth() is bounded logarithmically in size(), at the cost of replacing by an equivalent formula of size polynomial in size(), computable in polynomial time. The balanced formula may contain the truth constants, which costs nothing below, both lying in . The remainder follows Lemma 3 of [16]. For the sake of completeness, we spell out the details.
Pushing negations to the leaves by de Morgan's laws turns into a monotone formula over and the variables , the variable taking the place of , so that for every . The tree is unchanged, so has the same depth as . On its own is of no use, because condition (3) of Definition 6.3 ranges over all query tuples, including those in which the are not set to the complements of the , where the value of need not be determined by at all. Two guards repair this. Let
with and written as balanced trees, so that depth() and depth() are at most . Then is again a monotone formula over . Its depth is , hence still logarithmic in size() + , and its value is determined by at every point. Indeed, write for the setting that gives the values and the values . If for some then holds and evaluates to 1; if for some and the previous case does not apply then fails and evaluates to 0; and otherwise , where fails, holds, and evaluates to .
The four connectives of lie in . Fix a -formula computing each of them, and let be the result of substituting these into , so that is equivalent to . Substituting a fixed formula for each node multiplies depth by a constant, so depth() too is logarithmic in size() + , and a formula of depth whose connectives all have arity at most has at most leaves, so size() = (size() + ), with an exponent depending only on the four formulas just chosen.
It remains to collect the mappings. They are:
-
;
-
;
-
, and
-
if for some , := if not and for some , and := otherwise.
Condition (1) of Definition 6.3 is the size bound just proved, condition (2) holds because , and condition (3) is the case distinction of the previous paragraph.
The remainder of the proof is exactly as in [16]. For completeness, we spell it out below.
Lemma 6.6. Let be a finite set of Boolean functions with or . Then .
Proof. We give the proof for the case . The argument for the other case is dual.
Since conjunction and disjunction are definable as and , respectively, we have that and Lemma 6.5 gives . By transitivity it remains to remove the truth constants, that is, to show . Recall that a pwm-reduction consists of mappings (for concepts), (for instances) and (for queries). The mappings in question are:
•
where is a -formula defining , and where is obtained from by replacing by a fresh variable and by a fresh variable .
• .
• , and
•
Here ranges over and over , the query string giving the values and the values . The conditions of Definition 6.3 are met: computes , which takes the value at , the value 0 at and the value 1 whenever — in every case but the first, independently of what computes there. The two formulas differ in size by the one copy of .
Lemma 6.7. Let be a finite set of Boolean functions with , all of whose members are self-dual; that is, let . Then .
Proof. Since conjunction and disjunction are definable as maj( ) and maj( ), respectively, we have that and Lemma 6.5 gives . By transitivity it remains to remove the truth constants, that is, to show . The mappings are:
•
where is a -formula defining maj, and where is obtained from by replacing by a fresh variable and by a fresh variable .
• .
• if and := otherwise, where is the bitwise complement of , and
•
Again the conditions of Definition 6.3 are met: computes , which is 0 at and 1 at independently of what computes there, and which is the value of itself at the two remaining settings — at that value is , and at it is , since evaluating at evaluates with and interchanged, and a formula all of whose connectives are self-dual then computes the dual function.
Theorem 1.5 (PAC learning and PAC prediction [16]). Let O be a finite basis. The following are equivalent.
(a) , or ;
(b) is polynomially properly PAC learnable;
(c) PL is polynomially PAC predictable with membership queries.
The implications (a) (b) (c) are unconditional; the remaining implication (c) (a) holds under cryptographic assumptions described in Section 6. The same equivalence holds with in place of .
Proof. That (a) implies (b) and (c) is Proposition 6.1 together with the remark after it: the learner there uses no promise on the target's size, and it certainly yields both a PAC learner and a PAC predictor. That (b) implies (c) is immediate, PAC prediction being easier than producing a hypothesis and membership queries only adding power. It remains to show that (c) implies (a), which we do by contraposition. Suppose satisfies none of the three conditions. By Fact 5.1 either contains or , and then by Lemma 6.6; or it contains neither, and then while still containing one of the three generators, necessarily maj, so that by Lemma 6.7. Either way, Theorem 6.2 shows that is not polynomially PAC predictable with membership queries. Finally \mathsf{PL}_O \leq_{\mathsf{pwm}} \mathsf{CI}_R_O by the identity reduction — a formula is a tree-shaped circuit of the same size — so the circuit class is not polynomially PAC predictable either, and the equivalence holds for it as well.
7 Occam algorithms
Recall from the introduction that an Occam algorithm for is a polynomial-time fitting algorithm returning, on every realizable sample, a fitting formula of size at most for a fixed polynomial and a fixed , attribute-efficient if the bound does not depend on . Size may be read as formula or as circuit size, the positive results producing formulas and the negative one being proved for circuits. The negative direction is a corollary of Theorem 1.5: a sufficiently compressing fitting algorithm is a proper PAC learner, so a class that is not even polynomially PAC predictable cannot have one.
Theorem 1.2 (Occam algorithms, from [16]). Let be a finite basis of Boolean functions.
(a) If , or , then has an attribute-efficient Occam algorithm.
(b) If , then has an Occam algorithm, but we do not know whether it has an attribute-efficient one.
(c) Otherwise does not have an Occam algorithm, under the cryptographic assumptions of Section 6.
The same holds for .
Proof. For (a), all three cases are handled by the standard greedy, set-cover-inspired fitting algorithm; see for instance [32]. If , the fitting hypotheses are the conjunctions with contained in the set of coordinates that are 1 on every positive example and meeting, for every negative example, the set of coordinates of on which it is 0. Minimizing is a hitting set problem with at most sets to hit, and greedy returns a set of size at most times the minimum, so the returned formula has size . When the empty conjunction is unavailable, as for , replace it by a single element of , which is nonempty on a realizable sample. The case is dual, and if then every hypothesis is a constant, a variable or a negated variable, so any fitting hypothesis has size and the fitting algorithm of Section 3 returns one. In all three cases the bound is independent of .
For (b), case (2) of the proof of Theorem 1.1 returns, by Gaussian elimination, a fitting affine function written as a -formula with at most leaves. That is a bound of the required form, with , but it depends on : what is not known is how to control , and with it the size of the formula, in terms of , and we leave that open.
For (c), an Occam algorithm for is a proper PAC learner [11], so would be polynomially properly PAC learnable, which Theorem 1.5 excludes outside the regions of (a) and (b) under the cryptographic assumptions.
8 Random label noise and statistical queries
Fix a target and a distribution on . Under random classification noise of rate [6] the learner receives examples with and flipped independently with probability , and must reach error with probability in time polynomial in , , , and , where is a given upper bound on . In the statistical query model [28] the learner sees no examples; it may ask, for any polynomial-time predicate and any tolerance , for a number within of , and it is efficient if it uses polynomially many queries, each of tolerance at least for a fixed polynomial , and polynomial time. Kearns proved that such a learner can be simulated from examples, noisy or not: every class efficiently learnable from statistical queries is PAC learnable under random classification noise of any rate , in polynomial time [28].
Theorem 1.6 (Statistical queries, from [28, 9]). Let be a finite basis. Under the cryptographic assumptions of Section 6, is efficiently learnable from statistical queries if and only if , or . The same holds for .
The positive direction is Kearns’s statistical-query algorithm for conjunctions [28]; disjunctions are dual, and for there are at most hypotheses, whose errors can be estimated one by one. For the affine bases the negative direction is unconditional and holds already under the uniform distribution: contains the parities of an odd number of variables, which are pairwise uncorrelated under that distribution, and a class with exponentially many pairwise uncorrelated members needs exponentially many statistical queries or exponentially small tolerance [28, 9]. For every other basis outside the three cases, a statistical-query learner would yield a PAC learner and hence a PAC predictor, so would be polynomially PAC predictable with membership queries, which Theorem 1.5 excludes under the cryptographic assumptions.
By Kearns’s simulation, the positive direction gives polynomial-time PAC learning under random classification noise of any rate for the conjunctive, the disjunctive and the essentially unary bases. The negative direction transfers only in part. Outside the PAC-learnable region noise is beside the point: a learner that tolerates noise of rate up to can be run on noise-free examples, so Theorem 1.5 excludes it under the cryptographic assumptions. For the affine clones, however, the statistical-query lower bound says nothing about noisy examples, and it is exactly here that the two models are known to part company: Blum, Kalai and Wasserman [10] learn parities under random classification noise in time , fewer than the statistical queries needed above, and whether polynomial time is possible — the learning parity with noise problem — is open.
9 Other kinds of fragments
Every fragment considered above is generated by a set of connectives, and is therefore closed under substitution. Several fragments of independent interest are not of this shape. These include monotone CNF, Horn CNF, and systems of linear equations over . None of the classifications of the introduction applies to such fragments. In this section, we consider a few other types of fragments.
9.1 Fragments given by constraint languages
A constraint language (also known as a template) is a set of Boolean relations. A -formula over is a conjunction of atoms with of arity ; the concept it defines is its set of satisfying assignments in , and its size is its number of atoms. Deciding whether a -formula has a model is the well-studied constraint satisfaction problem , which was classified by Schaefer's theorem [45].
Monotone CNF, Horn CNF and systems of linear equations can all be viewed as instances of for different choices of the constraint language . For instance, Horn CNF is for the set of all Horn clauses. In each of these cases, is infinite, but there are also natural fragments where is finite, such as -CNF, for a fixed value of , where is the finite set of all -ary relations over the Booleans. can also be cast as , where is the unary Boolean relation containing only the tuple (1).
For finite constraint languages , results analogous to the classifications of the introduction hold, empirical risk minimization aside. In fact the situation here is simpler: for every finite there is a fitting formula within a logarithmic factor of the smallest, and the VC dimension of is polynomial in the number of variables. Note that, since there are only finitely many Boolean relations of any given arity, every constraint language of bounded arity is finite, up to logical equivalence, and conversely a finite constraint language has bounded arity.
Proposition 9.1. Fix a finite constraint language and let be the largest arity of a relation in . Then
(1) the existence of a fitting -formula for a given labeled sample is decidable in polynomial time,
(2) given a realizable labeled sample of size , one may in addition compute in polynomial time a fitting -formula of size at most , where is the number of atoms of a smallest fitting formula,
(3) the VC dimension of in n variables is at most , and hence, together with (2), -formulas in n variables are polynomially properly PAC learnable.
Proof. First, observe that there are at most atoms over . For (1), let be the set of atoms satisfied by every positive example of . Any -formula whose concept contains all positive examples uses only atoms from , so defines the -least concept of containing them. The sample is realizable if and only if no negative example satisfies , and is then a fitting formula. For (2), observe that a -formula fits if and only if its atoms lie in and every negative example violates at least one of them: this is a set cover instance with the negative examples as ground set and as the family of sets, so the greedy set-cover algorithm [25] returns a fitting formula within a factor of the smallest. For (3), a concept of is determined by a set of atoms, so the class has at most members and its VC dimension is at most of that. Finally, the polynomial VC dimension together with (2) gives proper PAC learning.
Note also that the Occam bound in (2), measured in number of atoms, does not depend on , so the algorithm can be said to be attribute-efficient in the sense of Section 7. The fitting problem for is the structure identification problem of Dechter and Pearl [19], studied for general by Creignou, Kolaitis and Zanuttini [15]. Its variant in which only the positive examples are given, and the formula must define exactly their set, is the inverse satisfiability problem of Kavvadias and Sideri [27, 37].
When it comes to empirical risk minimization, hardness cases arise. Recall that coincides with for as described above. Therefore, Theorem 1.3 (i) applies, and there is no polynomial-time weak approximator for unless . The lower bound there is representation-independent, so it does not matter that the hypothesis is now written as a conjunction of atoms. However, we do not know where the dividing line runs, either for exact solvability or for approximability of ERM.
For infinite constraint languages , Proposition 9.1 fails as stated. Note that there are then relations of unbounded arity, and the atom count over variables is no longer polynomial. Four examples show what can happen.
Example 9.2 (Monotone CNF). The concepts of monotone CNF over variables are exactly the upsets of , since a monotone function is the conjunction of its prime implicates and these are positive clauses. Fitting is polynomial: the least concept containing the positive examples is the upset they generate, so the sample is realizable if and only if no negative example lies above a positive one. The VC dimension, on the other hand, is , hence exponential, as follows from Sperner's theorem [48]. Finally, without membership queries, PAC-learning is no easier for monotone CNF than for arbitrary CNF [29]. In particular, monotone CNF is not polynomially properly PAC learnable from random examples alone unless NP = RP [1]. Monotone CNF is polynomially properly PAC learnable with membership queries [3].
Example 9.3 (Horn CNF). Fitting is again polynomial, in both its decision and its construction form [19]. Since every monotone clause is a dual Horn clause, which can be turned into a Horn clause by complementing all coordinates, the VC dimension for monotone CNF is also a lower bound on the VC dimension of Horn CNF, and the hardness of proper PAC learning from random examples transfers from monotone CNF to Horn CNF as well. Horn CNF is polynomially properly PAC learnable with membership queries [4].
Example 9.4 (Systems of linear equations). Here consists of the relations for and , again an infinite template, and the concepts of over variables are the affine subspaces of together with . Unlike the previous two examples, this one is well behaved throughout. Fitting is polynomial in both its decision and its construction form: the least concept containing the positive examples is their affine hull, computed by Gaussian elimination, the sample is realizable exactly when no negative example lies in it, and at most equations define it, so the fitting formula has at most atoms. The VC dimension is , a set being shattered exactly when it is affinely independent. As a result, is polynomially properly PAC learnable [24].
Example 9.5 (A simple infinite template that is hard for fitting). Let , where holds when exactly one of its arguments is 1. Then fitting for is NP-hard, as can be shown by a reduction from exact cover by 3-sets [22]: given a set and a family of 3-element subsets of , is there a subfamily covering each element of exactly once? Take one variable for each , one positive example for each , namely the characteristic vector of , and the single negative example . If is an exact cover of size , the single-atom formula fits: exactly one argument is 1 under , since exactly one member of contains , while none is 1 under . Conversely, suppose some formula fits. It has at least one atom, since the empty conjunction accepts . Let be an arbitrary atom in the conjunction. Its arguments are pairwise distinct: each is nonempty, so a repeated variable would give two true arguments under for any . As every satisfies the atom, each lies in exactly one of , that is, is an exact cover.
9.2 Adding existential quantification
A classification of indexed by Post's lattice is not immediately available. The expressive power of depends on up to definability by quantifier-free conjunctive formulas, which is strictly finer than primitive positive definability — definability by conjunctions of atoms and equalities with existential quantification, the closure operation of the next paragraph — so that the usual Galois connection with the polymorphisms defined there does not apply. There is, therefore, no reason to believe that, for example, the complexity of ERM for finite-template would be determined by the polymorphisms of . What does govern quantifier-free conjunctive definability is the partial polymorphisms of [46], and the lattice of strong partial clones they give rise to is far more complicated than Post's [2]. Allowing existential quantification fixes this and restores the connection to Post's lattice.
An -formula over is a formula
where is a conjunction of atoms with and of equalities between variables; the concept it defines is the set of that extend to a satisfying assignment of , and its size is the number of atoms of . The concepts so definable are exactly the -ary relations of the co-clone generated by . Here an operation of arity preserves a relation if applying coordinatewise to tuples of again gives a tuple of . Then is the clone of operations preserving every relation of , and is the set of relations preserved by every operation of . A set of relations of the form is a co-clone, and is the least co-clone containing , namely the closure of under exactly the constructs used above: conjunction, existential quantification, equality and identification of variables. Co-clones are to conjunctive existential definability what clones are to substitution, and Pol and Inv match the two lattices antitonically. We briefly describe the situation for two of our main questions in this setting.
Fitting. The existence of a fitting -formula can be tested in polynomial time, regardless of the choice of . The concepts of over variables are the subsets of preserved by , so the closure of the set of positive examples under the operations of , applied coordinatewise, is the least concept containing , and the sample is realizable exactly when no negative example lies in that closure. That is again a two-element subpower membership problem in the algebraic form of Section 3, with the positive examples in place of the columns of the variables and a negative example in place of the column of labels, and it is therefore polynomial by the same case analysis over Post's lattice as in the proof of Theorem 1.1, applied to . Unlike there, this route does not provide a fitting -formula of polynomial size: the witness it produces is a term of , not an -formula.
PAC learning. For finite the learnability of was classified by Dalmau [17] and rederived from the polymorphisms of by Dalmau and Jeavons [18, Theorem 15]. In the terminology of Section 6, exactly one of the following holds.
(a) contains a near-unanimity operation or the affine operation . Then is polynomially PAC predictable, even without membership queries, and in the near-unanimity case it is polynomially properly PAC learnable [18, Corollary 1].
(b) Otherwise is not polynomially PAC predictable with membership queries, under the cryptographic assumption of [18], the existence of public-key cryptosystems secure against chosen-ciphertext attack.
Dalmau and Jeavons state the positive half as polynomial learnability from equivalence queries, with -formulas as hypotheses in the near-unanimity case. A polynomial equivalence-query learner yields a polynomial PAC learner with the same hypotheses [3], which is proper when these are -formulas and in any case a PAC predictor, the hypotheses being evaluable
The fact that the expressive power of does not solely depend on the polymorphisms of , can be seen by taking and . The two templates have the same polymorphisms, since every operation preserves equality. But the -formula is not expressible in .
in polynomial time. In the affine case their learner is not proper, and proper PAC learnability is not addressed there.
Some unbounded-arity can be recast as finite-arity . In particular, Horn CNF is equivalent in expressive power to for the finite template . To see this, note that for the Horn clause is equivalent to
the constraints on the being themselves Horn, so that the least choice of makes equal to and the last conjunct is then exactly the clause. Clauses with are already atoms, and a clause with no positive literal is treated the same way, with in place of . Since contains the clause , it falls under case (b) [18, Theorem 11]: is not polynomially PAC predictable with membership queries under the cryptographic assumption above. Horn CNF itself, by contrast, is polynomially properly PAC learnable with membership queries [4], though from random examples alone it is not properly PAC learnable unless NP = RP [29, 1], as discussed above, and whether it is polynomially PAC predictable from random examples alone is open, a PAC predictor settling the DNF problem by the same reduction. There is no conflict between the two statements: a Horn CNF of clauses translates into an -formula of atoms, but the converse translation can be exponential — existential quantification acts on Horn clauses as fan-out does on circuits — and hardness of the more succinct class says nothing about the less succinct one. A similar situation holds for monotone CNF.
Open questions
Several questions are left open above. For the affine interval , Theorem 1.2 gives an Occam algorithm whose bound depends on , and we do not know whether the support of the fitted parity can be controlled in terms of the size of the smallest fitting formula, that is, whether the algorithm can be made attribute-efficient; nor, for the same interval, whether is PAC learnable under random classification noise in polynomial time, which is the learning parity with noise problem (Section 8). And for fragments given by a finite constraint language we do not know where the line runs for empirical risk minimization, either for exact solvability or for approximability.
References
[1] Michael Alekhnovich, Mark Braverman, Vitaly Feldman, Adam R. Klivans, and Toniann Pitassi. The complexity of properly learning simple concept classes. Journal of Computer and System Sciences, 74(1):16–34, 2008.
[2] V. B. Alekseev and A. A. Voronenko. On some closed classes in partial two-valued logic. Discrete Mathematics and Applications, 4(5):401–419, 1994.
[3] Dana Angluin. Queries and concept learning. Machine Learning, 2(4):319–342, 1988.
[4] Dana Angluin, Michael Frazier, and Leonard Pitt. Learning conjunctions of Horn clauses. Machine Learning, 9(2):147–164, 1992.
[5] Dana Angluin and Michael Kharitonov. When won’t membership queries help? Journal of Computer and System Sciences, 50(2):336–355, 1995.
[6] Dana Angluin and Philip Laird. Learning from noisy examples. Machine Learning, 2(4):343–370, 1988.
[7] Kirby A. Baker and Alden F. Pixley. Polynomial interpolation and the Chinese remainder theorem for algebraic systems. Mathematische Zeitschrift, 143(2):165–174, 1975.
[8] Nick Bezhanishvili, Balder ten Cate, Arunavo Ganguly, and Arne Meier. Modal fragments. arXiv:2603.05055, 2026.
[9] Avrim Blum, Merrick Furst, Jeffrey Jackson, Michael Kearns, Yishay Mansour, and Steven Rudich. Weakly learning DNF and characterizing statistical query learning using Fourier analysis. In Proceedings of the 26th Annual ACM Symposium on Theory of Computing (STOC 1994), pages 253–262. ACM, 1994.
[10] Avrim Blum, Adam Kalai, and Hal Wasserman. Noise-tolerant learning, the parity problem, and the statistical query model. Journal of the ACM, 50(4):506–519, 2003.
[11] Anselm Blumer, Andrzej Ehrenfeucht, David Haussler, and Manfred K. Warmuth. Occam's razor. Information Processing Letters, 24(6):377–380, 1987.
[12] Elmar Böhler, Nadia Creignou, Steffen Reith, and Heribert Vollmer. Playing with Boolean blocks, part I: Post's lattice with applications to complexity theory. SIGACT News, 34(4):38–52, 2003.
[13] Nader H. Bshouty and George Haddad. Approximating the number of relevant variables in a parity implies proper learning. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2024), volume 317 of LIPIcs, pages 38:1–38:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024.
[14] Andrei Bulatov, Peter Mayr, and Ágnes Szendrei. The subpower membership problem for finite algebras with cube terms. Logical Methods in Computer Science, 15(1):11:1–11:48, 2019.
[15] Nadia Creignou, Phokion G. Kolaitis, and Bruno Zanuttini. Structure identification of Boolean relations and plain bases for co-clones. Journal of Computer and System Sciences, 74(7):1103–1115, 2008.
[16] Víctor Dalmau. Boolean formulas are hard to learn for most gate bases. In Algorithmic Learning Theory (ALT 1999), volume 1720 of Lecture Notes in Computer Science, pages 301–312. Springer, 1999.
[17] Víctor Dalmau. A dichotomy theorem for learning quantified Boolean formulas. Machine Learning, 35(3):207–224, 1999.
[18] Víctor Dalmau and Peter Jeavons. Learnability of quantified formulas. Theoretical Computer Science, 306(1–3):485–511, 2003.
[19] Rina Dechter and Judea Pearl. Structure identification in relational data. Artificial Intelligence, 58(1–3):237–270, 1992.
[20] Irit Dinur, Venkatesan Guruswami, Subhash Khot, and Oded Regev. A new multilayered PCP and the hardness of hypergraph vertex cover. SIAM Journal on Computing, 34(5):1129–1146, 2005.
[21] Vitaly Feldman, Parikshit Gopalan, Subhash Khot, and Ashok Kumar Ponnuswami. On agnostic learning of parities, monomials, and halfspaces. SIAM Journal on Computing, 39(2):606–645, 2009.
[22] Michael R. Garey and David S. Johnson. Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman, 1979.
[23] Johan Håstad. Some optimal inapproximability results. Journal of the ACM, 48(4):798–859, 2001.
[24] David Helmbold, Robert Sloan, and Manfred K. Warmuth. Learning nested differences of intersection-closed concept classes. Machine Learning, 5(2):165–196, 1990.
[25] Dorit S. Hochbaum. Approximation algorithms for the set covering and vertex cover problems. SIAM Journal on Computing, 11(3):555–556, 1982.
[26] Mauricio Karchmer and Avi Wigderson. Monotone circuits for connectivity require super-logarithmic depth. SIAM Journal on Discrete Mathematics, 3(2):255–265, 1990.
[27] Dimitris J. Kavvadias and Martha Sideri. The inverse satisfiability problem. SIAM Journal on Computing, 28(1):152–163, 1998.
[28] Michael Kearns. Efficient noise-tolerant learning from statistical queries. Journal of the ACM, 45(6):983–1006, 1998.
[29] Michael Kearns, Ming Li, Leonard Pitt, and Leslie G. Valiant. On the learnability of Boolean formulae. In Proceedings of the 19th Annual ACM Symposium on Theory of Computing (STOC 1987), pages 285–295. ACM, 1987.
[30] Michael Kearns and Leslie Valiant. Cryptographic limitations on learning Boolean formulae and finite automata. Journal of the ACM, 41(1):67–95, 1994.
[31] Michael J. Kearns, Robert E. Schapire, and Linda M. Sellie. Toward efficient agnostic learning. Machine Learning, 17(2):115–141, 1994.
[32] Michael J. Kearns and Umesh V. Vazirani. An Introduction to Computational Learning Theory. MIT Press, 1994.
[33] Subhash Khot, Dor Minzer, and Muli Safra. On independent sets, 2-to-2 games, and Grassmann graphs. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing (STOC 2017), pages 576–589. ACM, 2017.
[34] Subhash Khot, Dor Minzer, and Muli Safra. Pseudorandom sets in Grassmann graph have near-perfect expansion. Annals of Mathematics, 198(1):1–92, 2023.
[35] Subhash Khot and Oded Regev. Vertex cover might be hard to approximate to within . Journal of Computer and System Sciences, 74(3):335–349, 2008.
[36] Adam R. Klivans and Rocco A. Servedio. Toward attribute efficient learning of decision lists and parities. Journal of Machine Learning Research, 7:587–602, 2006.
[37] Victor Lagerkvist and Magnus Wahlström. A dichotomy theorem for the inverse satisfiability problem. In Proceedings of the 37th IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS 2017), volume 93 of LIPIcs, pages 39:1–39:14, 2017.
[38] Dietlinde Lau. Function Algebras on Finite Sets: A Basic Course on Many-Valued Logic and Clone Theory. Springer Monographs in Mathematics. Springer, 2006.
[39] Nick Littlestone. Learning quickly when irrelevant attributes abound: A new linear-threshold algorithm. Machine Learning, 2(4):285–318, 1988.
[40] Peter Mayr. The subpower membership problem for Mal'cev algebras. International Journal of Algebra and Computation, 22(7):1250075, 2012.
[41] Jean-Claude Picard. Maximal closure of a graph and applications to combinatorial problems. Management Science, 22(11):1268–1272, 1976.
[42] Leonard Pitt and Manfred K. Warmuth. Prediction-preserving reducibility. Journal of Computer and System Sciences, 41(3):430–467, 1990.
[43] Emil L. Post. The Two-Valued Iterative Systems of Mathematical Logic, volume 5 of Annals of Mathematics Studies. Princeton University Press, 1941.
[44] Ran Raz and Pierre McKenzie. Separation of the monotone NC hierarchy. Combinatorica, 19(3):403–435, 1999.
[45] Thomas J. Schaefer. The complexity of satisfiability problems. In Proceedings of the 10th Annual ACM Symposium on Theory of Computing (STOC 1978), pages 216–226. ACM, 1978.
[46] Henning Schnoor and Ilka Schnoor. Partial polymorphisms and constraint satisfaction problems. In Complexity of Constraints, volume 5250 of Lecture Notes in Computer Science, pages 229–254. Springer, 2008.
[47] Shai Shalev-Shwartz and Shai Ben-David. Understanding Machine Learning: From Theory to Algorithms. Cambridge University Press, 2014.
[48] Emanuel Sperner. Ein Satz über Untermengen einer endlichen Menge. Mathematische Zeitschrift, 27(1):544–548, 1928.
[49] Philip M. Spira. On time-hardware complexity tradeoffs for Boolean functions. In Proceedings of the 4th Hawaii Symposium on System Sciences, pages 525–527, 1971.