Uniformity Within Parameterized Circuit Classes
Abstract
We study uniformity conditions for parameterized Boolean circuit families. Uniformity conditions require that the infinitely many circuits in a circuit family are in some sense easy to construct from one shared description. For shallow circuit families, logtime-uniformity is often desired but quite technical to prove. Despite that, proving it is often left as an exercise for the reader – even for recently introduced classes in parameterized circuit complexity, where uniformity conditions have not yet been explicitly studied. We formally define parameterized versions of linear-uniformity, logtime-uniformity, and FO-uniformity, and prove that these result in equivalent complexity classes when imposed on and . Overall, we provide a convenient way to verify uniformity for shallow parameterized circuit classes, and thereby substantiate claims of uniformity in the literature.
Keywords and phrases:
Parameterized complexity, circuit complexity, uniformity, descriptive complexityCopyright and License:
2012 ACM Subject Classification:
Theory of computation Complexity classes ; Theory of computation Circuit complexity ; Theory of computation Fixed parameter tractabilityEditors:
Akanksha Agrawal and Erik Jan van LeeuwenSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Circuit complexity theory analyzes problems through the (smallest) size and depth of Boolean circuits that solve them, linking logic, space complexity, and parallel complexity theory [16]. Because a Boolean circuit has a fixed number of inputs, the actual object of study is a circuit family, which contains a circuit for every input length .
Without restrictions, circuit families are too expressive to be used as a model of computation, as non-uniform circuit families can even express non-computable functions. Hence, uniformity conditions are often imposed to ensure that the circuits in the family are in some sense easy to construct. With uniformity conditions, circuit families are a useful model in the study of, amongst others, parallel and descriptive complexity theory [16].
The main idea behind uniformity conditions is that, for a class of circuit families , the structure of a family’s circuits themselves should be less complex than the problems that families in can solve. For the class of constant-depth circuit families, this line of thinking has led to the very restrictive logtime-uniformity condition, requiring that the edge relation of the circuits in a family must be (simultaneously) decidable in logarithmic time.
Logtime computations are difficult to analyze or work with [11, 16]. Therefore, logtime-uniformity is rarely proved directly, but instead shown using results such as those of Barrington, Immerman, and Straubing [11]. They show that if a constant-depth circuit family is describable in terms of first-order logic, there is another, logtime-uniform constant-depth circuit family equivalent with it. Using this correspondence, one can show the existence of a logtime-uniform circuit family without directly dealing with the technical intricacies of logtime computations.
Recently, the interest in circuit complexity was renewed in the setting of parameterized complexity [1, 2, 4, 12, 3]. In parameterized complexity theory, problems are classified on a finer scale with respect to an additional parameter instead of just input size. In the context of circuit complexity this spawns new circuit classes, that identify problems which are in some sense parallel constant time decidable up-to some parameter [2].
Parameterized circuit classes require new parameterized uniformity conditions. Recent works [1, 2, 4, 12, 3] have adapted the logtime-uniformity of Barrington et al., though they are not very specific in their exact definitions. They generally refer to the complexity of computing single bits in the binary encoding of circuits, but it is not specified what the binary encoding is. Additionally, though the literature cites [11], it is not clear if the equivalence results of Barrington et al. carry over to the parameterized circuit classes.
In general, the literature often leaves uniformity claims as an exercise for the reader. To the best of our knowledge, only [1, Theorem 3.2, Appendix A] sets out to prove one of its uniformity claims. However, the proof appears to erroneously assume that logtime-uniformity gives a random-access Turing machine polylogarithmic time to decide the graph structure of the circuits, while it allows only logarithmic time.
| Condition | Question (for circuit ) | Decision complexity |
|---|---|---|
| linear-BD-uniform | ||
| logtime-D-uniform | ||
| logtime-E-uniform | ||
| -D-uniform | in parameter | |
| -E-uniform | in parameter |
Contributions.
We introduce and analyze uniformity conditions for parameterized circuit complexity. Specifically, we define a suitable notion of the logtime-uniformity used in the literature, and show it to be equivalent to more natural notions when imposed on the shallow parameterized circuit classes and .
An overview of the discussed uniformity notions, formally defined in Sections 3 and 5, can be found in Table 1. We consider direct uniformity notions, which require the local structure of circuits to be easily decidable, and extended uniformity notions that also consider paths in the circuit. The direct logtime-D-uniformity is based on logtime-DCL-uniformity introduced in [11] and used in the reference work [16]. We believe our definition captures the more informal notions of parameterized logtime-uniformity found in [1, 2, 4, 12, 3]. For the classes and , we show that these notions are equivalent to linear-BD-uniformity, a parameterized variant of -uniformity from [14]. We introduce a parameterized variant of -uniformity from [11], and show that this too is equivalent to our earlier notions when applied to and . Finally, we also show this for strict adaptations of extended logtime and first-order uniformity.
Our results allow for an easier analysis of uniformity for shallow parameterized circuit classes, and address uniformity claims in the literature.
Outline.
Section 2 contains preliminaries on circuit complexity and known uniformity results. In Section 3, we formally define the direct uniformity conditions roughly described in Table 1. In Section 4, we show that imposing these different conditions leads to the same complexity class, both for and . In Section 5, we show that this also holds for strict adaptations of extended uniformity conditions. In Section 6, we show how our work can be related to the descriptive complexity-based work on uniformity for .
2 Preliminaries
In this section, unless otherwise noted, standard definitions in circuit complexity and parameterized complexity are based on the reference works [16] and [7] respectively.
2.1 Circuit families
A circuit family is a set of (Boolean) circuits such that has input gates (fan-in 0) and at least one output gate (fan-in 1, fan-out 0). The remaining (internal) gates are and, or, or not gates. A circuit’s size is the number of gates in it, and its depth the length of the longest (input to output) path it contains. The size and depth of a circuit family are functions , where are equal to the size and depth of respectively.
We generally care about circuit families in which each circuit has one output gate. We then define the language recognized by the circuit family as . That is, given some binary string , we take the circuit with input gates, set the input gates to the bits of , and evaluate it. The word is accepted if and only if the output gate evaluates to 1. More generally, a circuit with inputs and outputs induces a binary function . Circuit families induce a function .
The circuit class consists of all languages that are recognized by polynomially sized circuit families of constant depth. That is, is in if there is a circuit family with size and depth , such that . It is important to note that all gates have unbounded fan-out, and the and and or gates unbounded fan-in.
2.2 Parameterized complexity
Parameterized complexity theory studies computational problems modulo (pre)computations on some input-based parameter. The parameter function is considered part of the problem.
Definition 1.
A parameterized problem consists of a language and a polynomial-time computable parameter function .
We follow the literature on shallow parameterized circuit complexity [5, 1] in additionally requiring to be -computable [9, Definition 2.5], equivalently that can be computed by a logtime-D-uniform circuit family of polynomial size and constant depth (cf. Definition 8). This requirement can be removed by modifying the definition of to being given as a precomputed value, as discussed in the full version (Appendix A).
Parameterized classes are often defined in terms of non-parameterized classes.
Definition 2 ([6]).
Let be a complexity class. A parameterized problem is in if and only if there is a computable function with in .
Classes such as parameterized linear time can also be given more explicitly.
Definition 3.
We write for the class of parameterized problems for which there is a multitape Turing machine that solves in time.
The difference in style between these definitions lies in whether the precomputation is part of the input or given implicitly by means of extra time. In [6], it is shown that is in for some computable if and only if is in , but there are no such results for the sublinear random-access Turing machines we use later.
2.3 Parameterized circuit complexity
Parameterized circuit complexity studies classes for ordinary circuit complexity classes , as well as other classes defined in terms of parameterized circuit families.
Definition 4 ([1]).
A parameterized circuit family is a set of circuits, such that each has input gates. A parameterized problem is decided by if holds. Size and depth are now functions and .
2.4 Uniformity
Uniformity conditions for shallow circuit classes are defined in terms of connection languages. These languages express the connections between the gates in the circuit family. To achieve this goal, the gates in each circuit are first identified by a numbering.
Definition 5.
An admissible numbering of a circuit family of size assigns a number to every gate in so that:
-
1.
within each , no two gates have the same number,
-
2.
the input gates of are numbered from 0 to ,
-
3.
the output gates of are numbered from to , and,
-
4.
gates in are numbered polynomially in , that is, with numbers of bits.
To improve readability, we will assume that circuit families come with fixed admissible numberings (which we may choose freely), and often identify gates with their gate number.
Definition 6 ([11, 14]).
Let be a circuit family. The direct connection language consists of all strings of the form where, writing for :
-
1.
is a gate in ;
-
2.
if then indicates the type of (one of and, or, not);
-
3.
otherwise, the th gate feeding into is .
The binary direct connection language consists of all strings of the form satisfying the same conditions, now with written in binary. That is:
There is also an extended connection language , wherein can also be a path. We will come back to this in Section 5. The encoding of the lists in Definition 6 is addressed in Section 2.6. First, we introduce three direct uniformity notions, defined in terms of the decision complexity of direct connection languages.
Linear-time.
In [14], Ruzzo introduced uniformity conditions for shallow circuit classes. The following definition is based on Ruzzo’s -uniformity.111Ruzzo requires on a slightly different language, but this is equivalent for our cases.
Definition 7.
A circuit family is linear-BD-uniform if is in .
That is, a deterministic multitape Turing machine can decide in time .
Logtime.
Later uniformity notions were based on random-access Turing machines. A random-access Turing machine [16, Appendix A4] is a multitape Turing machine equipped with a special query tape and query state. Whenever the machine enters the query state, it obtains the value of the th bit on the input tape, where is the binary address written on the query tape, or an out-of-bounds response if is beyond the length of the input (or not a number). Importantly, the query tape is not erased on query, and the input tape is read-only.
We write for the class of problems that can be solved in time by a random-access Turing machine, and define analogously to Definition 3.
Definition 8 ([11]).
Circuit family is logtime-D-uniform if is in .
Logtime-D-uniformity is arguably the most well-known uniformity condition for . Yet not much is known about . Clearly [13], but it is to the best of our knowledge unknown whether this is strict. As far as we know, it is for example also open whether a random-access Turing machine can multiply two -bit numbers in time. What is known is that they can add -bit numbers in time, and determine the length of their input in time [11, Lemma 6.1].
First-order definable.
The class consists of the languages that are first-order definable in the predicates and . That is, they are defined by a first-order sentence using symbols from as follows [11, 9]. A word induces a first-order structure whose domain consists of the numbers 0 to , where: is interpreted as the standard order on natural numbers, is true if and only if the th bit of is 1, and is true if and only if the th bit of is 1. A sentence then defines the language .
We may assume that the language also contains ternary predicates for addition and multiplication, as they are first-order definable in and [11, 9]. We may also assume that it contains a constant symbol for the length of the input, and that we may quantify over (the binary representations of) numbers below , by using variables [11, p. 293].
Definition 9 ([11]).
A circuit family is -D-uniform if is in .
For polynomially-sized circuit families, it can be shown that linear-BD-uniformity implies logtime-D-uniformity, which in turn implies -D-uniformity. -D-uniformity is easier to work with than logtime-D-uniformity. In fact, there are many examples of languages for which the natural circuit families deciding them are quickly seen to be -D-uniform, but for which it is unknown whether they are logtime-D-uniform or linear-BD-uniform.
Example 10.
Consider problem . It is easy to see that is in : there is a circuit family where each consists of essentially one wire from the th input gate to the output gate. It has only one admissible numbering, and its direct connection language is .
The most difficult part in showing that this family is uniform is to show that we can somehow identify . For -D-uniformity, this is easy: is defined by the formula . Showing that is logtime-D-uniform appears to be more difficult, and we do not know whether this is the case. It is likely not linear-BD-uniform, as multiplication is conjectured to not be linear-time computable [8].
2.5 Uniform
Rather than the uniformity of specific circuit families, we are usually more interested in whether an equivalent uniform family exists for the same complexity class.
Convention.
Let be a uniformity condition, and a class of (parameterized) circuit families. If is defined as the class of problems solved by families in , then -uniform is the subclass of problems solved by -uniform families in .
From this perspective, uniformity conditions can be shown to be equivalent for .
Theorem 11 (Barrington, Immerman, Straubing [11]).
The following classes are equal:
-
1.
logtime-D-uniform
-
2.
-D-uniform
-
3.
On the way to our main results we prove the following folklore extension of Theorem 11.
Theorem 12.
Linear-BD-uniform equals logtime-D-uniform .
A stronger version, that logtime-D-uniformity is even equivalent with linear-BD-uniformity, is stated in [13, Section 4] and appears to be used implicitly in other work [15, Section 1.1]. However, this is not something we can prove. The argument in [13] seems to silently assume that which we believe is an open problem.
We stress that the results above do not show that the uniformity conditions are equivalent. In particular, is strictly weaker than . It merely happens to be the case that the extra power of for constant-depth circuit family descriptions does not lead to circuit families with more computational power than any logtime-uniform circuit family.
2.6 Encoding lists
We define an encoding for the lists in Definition 6 as a generalization of the 2-tuple encoding used by Barrington et al. [11]. Each element is coded as , where encodes the length of in base and acts as a separator.
Definition 13.
We encode as
and define projection functions by
For example, is encoded as
The encoding can be worked with in linear time, in random-access logarithmic time, and in first order logic with ordering and . In particular, it can be checked whether a string encodes a list, the lengths of list items can be extracted, and the projection functions can be computed, provided that the relevant item is not too long (a logtime-machine cannot retrieve items of superlogarithmic length). Details can be found in the full version (Appendix B).
2.7 Parameterized uniformity
In [3, Proposition 6], Chen and Flum prove a uniform version of . Their proof carries over to our setting of parameterized linear-BD-uniformity we define in Section 3 as follows. In our reformulation we use that parameter functions are -computable.
Theorem 14 ([3]).
Linear-BD-uniform is equal to .
3 Direct parameterized uniformity
We first define uniformity notions for parameterized circuit families. Admissible numberings (Definition 5) carry over to parameterized circuit families in the straightforward way, and we again assume each parameterized family to come with such a numbering.
Definition 15.
Let be a parameterized circuit family. The direct connection language consists of all strings of the form where, writing for and for :
-
1.
is a gate in ;
-
2.
if then and indicates the type of (one of and, or, not);
-
3.
otherwise, the th gate feeding into is the gate numbered .
The binary direct connection language consists of all strings of the form satisfying the same conditions, now with and written in binary. That is:
Example 16.
Consider the language
Figure 1 shows the circuit from the circuit family that computes the parameterized problem , where the parameter function is defined by , together with some words from the direct connection language ).
We now define uniformity conditions for parameterized circuit families. These are based on non-parameterized uniformity conditions. The difference is that parameterized uniformity conditions allow a precomputation on the same parameter function used for the circuit family. That is, where before we had time to decide connections in circuits , we now have time to decide connections in circuits , for a computable of choice.
We also adapt -D-uniformity. Write for . The motivation for -D-uniformity for parameterized circuit families is that words relating to should now be first-order expressible in terms of and , where is a computable function of choice. Again writing for the fifth projection function (so that ), this can equivalently be expressed as being in .
Definition 17.
Let be a parameterized circuit family. We call it
- linear-BD-uniform
-
if is in for some computable , that is, on inputs of the form it takes time ;
- logtime-D-uniform
-
if is in for some computable , that is, on inputs of the form it takes time ;
- -D-uniform
-
if is in .
In the following, we sometimes leave the parameter function implicit and e.g. simply state that linear-BD-uniformity is defined as being in .
For parameterized circuit families of size , linear-BD-uniformity implies logtime-D-uniformity, which in turn implies -D-uniformity. The former can be shown as follows.
Lemma 18.
Let be a parameterized circuit family of size bounded by . If is linear-BD-uniform then is logtime-D-uniform.
Proof sketch.
Let be a machine deciding in time , and consider the following random-access Turing machine : it rejects all inputs not of the form with below . Otherwise, it writes on a work tape and then acts as . Now witnesses . A full proof can be found in the full version (Appendix B).
Next we prove that logtime-D-uniformity implies -D-uniformity. It suffices to show the inclusion for all computable . We do this by first showing that is contained in linear-BD-uniform , because this will be used again in Section 4.2. Through Theorems 11 and 12, the following result (and proof) can be seen as a parameterized variant of shown in [11, Proposition 7.1].
Lemma 19.
is contained in linear-BD-uniform , for all computable .
Proof sketch.
A random-access machine can make at most queries in time, so a constant depth circuit family of size can nondeterministically branch over all series of query responses, verify which is correct (checking all queries in parallel), and propagate the output of a simulation of on the correctly guessed responses to the output gate. This can be done linear-BD-uniformly because simulating an time random-access Turing machine by answering queries from a given list of guesses takes time on a non-random-access Turing machine.
A full proof can be found in the full version (Appendix B).
We are now ready to prove that logtime-D-uniformity implies -D-uniformity. Here we can make use of the work of Barrington et al. [11] and that of Chen and Flum [3].
Lemma 20.
Let be a parameterized circuit family of size bounded by . If is logtime-D-uniform then is -D-uniform.
Proof.
Assume is logtime-D-uniform. Then, by definition, there is some computable so that is in . From the inclusions
| by Lemma 19 | ||||
| by Theorem 14 | ||||
| by Theorems 12 and 11 | ||||
| by definition |
it follows that is in para-, meaning that is -D-uniform.
4 Uniform and
In the previous section we have seen that, for parameterized circuit families of size , linear-BD-uniformity implies logtime-D-uniformity, which in turn implies -D-uniformity. It is unknown whether any of these the implications can be reversed. (See also Example 10.)
We can however show implications up-to similar-size circuit equivalence in the reverse direction, by which we mean that the uniformity conditions do not result in different complexity classes for both and . That is, for every -D-uniform -sized circuit family of depth , there is a linear-BD-uniform -sized family of depth that decides the same parameterized problem.
For , the equality of logtime-D-uniform and -D-uniform mirrors Theorem 11, and could be proved using the constant-depth techniques in [11]. This does not work for the depth circuits of (the circuits blow up). We address this by constructing logtime-uniform circuits of layers that simulate -uniform circuits by computing their connection language. A similar layered approach can be found in [10], where they simulate to prove uniformity equivalences for .
Theorem 21.
The following classes are equal:
-
1.
linear-BD-uniform ,
-
2.
logtime-D-uniform , and
-
3.
-D-uniform .
The same holds for .
Proof outline.
We will use the following structure, as visualized in Figure 2 for . In Section 3, we have already proved that
for circuit families of size , which directly gives the inclusions for both and . The next step is to prove , in particular that linear-BD-uniform is equal to logtime-D-uniform (Lemma 24). We then use this to show for both and (Lemma 25).
The new inclusions will be proved by simulation. We will show that there are linear-BD-uniform constant-depth circuit families for deciding the connection language of logtime-D-uniform and -D-uniform circuit families of size . We then compose them into larger linear-BD-uniform circuit families to simulate itself.
To prove that these compositions are indeed linear-BD-uniform, we first show that the class of linear-BD-uniform circuit families is in some sense closed under substitution.
4.1 Substitution
A main ingredient of our construction is that within linear-BD-uniformity we are able to compose circuit families. That is, given uniform circuit families and , we can uniformly replace some of the gates in by circuits from . This can be formalized as follows.
Definition 22.
Let be parameterized circuit families, let be a function marking internal gates in , and let be the fan-in of gate in . The substitution is the parameterized circuit family where consists of subcircuits for each gate in so that
-
1.
if ,
-
2.
if (input and output gates become unary or gates),
-
3.
and if is the th input of in , then is the th input of in .
That is, is obtained from by replacing all marked gates with circuits of .
It can be shown that is linear-BD-uniform if both and are, and in addition and are reasonably computable.
Lemma 23.
Let be linear-BD-uniform parameterized circuit families of size for some computable . Let be a function marking internal gates in , and let be the fan-in of gate in .
Now is linear-BD-uniform, provided that there is a computable such that:
-
(1)
is computable in time , and
-
(2)
if then is computable in time .
Proof sketch.
It suffices to define an admissible numbering for , and show that, under this numbering, is in for some computable .
Give unmarked internal gates in number in . If is a marked gate and is a gate in the circuit replacing it, number it in . This numbering based on admissible numberings of and leads to an admissible numbering of (cf. Definition 5). An -time algorithm deciding is then obtained from , , and -time algorithms for and witnessing the linear-BD-uniformity of and . A full proof can be found in the full version (Appendix B).
We do not know whether the logtime-D-uniform (parameterized) circuit families are closed under substitution, for reasonable assumptions on and . It appears that two random-access Turing machines are not easily composed without a runtime overhead. For example, computing on input seems to require offsetting each query that makes by an offset which, if done naively, adds an overhead to every query. These naive combinations of two logtime random-access Turing machines can result in -time random-access Turing machines, instead of logtime.
4.2 Simulation
We are now ready to prove Theorem 21 according to the outline given at the start of the section. The first step is the indirect inclusion from logtime-D-uniformity to linear-BD-uniformity.
Lemma 24.
Let be a parameterized circuit family of size and depth bounded by , with computable. If is logtime-D-uniform, there is an equivalent linear-BD-uniform family of size and depth , with computable.
Proof.
Let be a constant and a computable function so that for all we have that is greater than any gate number in (cf. Definition 5). Then the binary representation of is computable in time without random access for some computable .
We describe a linear-BD-uniform circuit family equivalent with . Circuit consists of its input gates, layers of subcircuits we call simgates, and one final subcircuit that forwards the correct simgate to the output gate. Every simgate of layer takes all simgates of layer as input, together with the input gates. We number the th simgate in layer with , and the idea is that simgate in approaches (monotonically) gate in , so that, by layer , simgate correctly simulates gate in .
See Figure 3 for the internals of a simgate. In order to approach gate of , simgate queries to select the simgates where feeds into in , and the input gates where input gate feeds into in . It also queries to determine whether is an and, or, or not gate, and simulates that action on its selected inputs. (By our construction in Figure 3, if is not a gate in then simgate outputs 0, but it has no influence on the output of , because it is never selected.)
Assume for now that components of simgates can directly answer membership queries for . In this case the construction shows that they select their input as described above, and perform the action of (if is a gate in ). Then by induction, for every gate in , the simgate in the final layer will have the same output as .
To see this, first observe that by our assumption, the output of is the same as that of if for all internal gates that feed into , the output of is equal to that of . Define the level of a gate to be the length of the longest path from it to an input gate. The output of simgates is the same as that of if the level of is below . This can be shown by induction based on the following: (1) If has level 1 in , then only takes input gates, and by our observation simgates have the same output as for all . (2) If has level and simgates have the same output as for all of lower level and , then by our observation has the same output as for all .
Finally, to make behave as desired, it should feed into the output gate the output of simgate for the gate that feeds into the output gate in . This is the role of the final subcircuit mentioned at the start of the proof. It takes all simgates in the final layer as input, and queries to propagate the output of the correct .
The circuits have very regular structure. Each is essentially a matrix of layers of simgates, and each simgate gets all the simgates of the previous layer as input together with the input gates. Apart from the rounded query blocks, the internals of the simgates are also easily seen to be linear-BD-uniform, using for example the admissible numbering in Figure 3. It remains to show how the queries in the simgates are implemented.
Simgate queries.
The queries represented by the dashed query blocks in Figure 3 can be implemented by plugging in linear-BD-uniform circuits for . A constant-depth linear-BD-uniform circuit family deciding exists by Lemma 19, and its circuits can be substituted in linear-BD-uniformly by 23. It is left to prove that the circuits can be given the appropriate query inputs in a linear-BD-uniform way.
For now, we work with the circuit family in which the circuits of have not yet been substituted. Here gates (cf. Figure 3) are just and gates that will be replaced with circuits from later to obtain from . We add constant circuits and to every , where has the constant output 0, and is constant 1. The circuit of replacing should decide whether gate in is an or gate. This can be achieved by giving gate the input . That is, in terms of connection languages, we want if and only if the th bit of is . It can be verified that, given such , the th bit of can be decided in time for some computable , and so these queries can be answered in time as required for linear-BD-uniformity.
This addresses the type-queries in the simgates. The other queries, those asking whether (input) gate feeds into in , are handled similarly, with a small complication: checking whether feeds into can be reduced to checking whether is the th input of for any , so the dashed blocks in Figure 3 corresponding to this type of query are actually or gates over gates that will be substituted by circuits of , where the th gate will be given an -query to determine whether is the th input of .
In summary: the queries in the simgates are implemented by hard-wiring -queries into the query blocks in a linear-BD-uniform manner, and then substituting in a linear-BD-uniform circuit family that decides to answer them. The resulting circuit family is linear-BD-uniform by Lemma 23, and is equivalent with by design.
Theorem 12 (mentioned in Section 2.5) can be proved similarly. Using simgates, we can now also prove the following.
Lemma 25.
Let be a parameterized circuit family of size and depth bounded by , with computable. If is -D-uniform, there is an equivalent linear-BD-uniform family of size and depth , with computable.
Proof.
By the -D-uniformity of , we have . Theorem 11 gives that is in , which by Theorem 14 is equal to logtime-D-uniform . Hence, by 24, is in linear-BD-uniform . The rest of the proof is now the same as for Lemma 24, using a simgate-construction of layers, and answering -queries in the simgates by substituting in a family witnessing that is in linear-BD-uniform .
We have now proved our main result.
Proof of Theorem 21.
For both and , Item (1) implies Item (2) by Lemma 18, and (2) implies (3) by Lemma 20. Finally, Item (3) implies Item (1) by 25. (For , the last implication is obtained from Lemma 25 by setting .)
We can also observe the following, which suggests that -D-uniformity is not too coarse for . (This mirrors that (-uniform )-uniform equals -uniform .)
Corollary 26.
(-D-uniform )-uniform = -D-uniform .
Proof sketch.
If is in -uniform , then by Theorem 21 it lies in linear-BD-uniform . Follow the proof of Lemma 24, now using linear-BD-uniform -families for the query blocks.
5 Extended uniformity
Thus far we considered direct uniformity notions, where the connection language only contains information on directly related gates. Extended uniformity notions, where the connection language also describes paths between gates, are of interest because logtime-E-uniform circuit classes such as logtime-E-uniform and are equal to natural alternating Turing machine classes [16]. It is unknown whether logtime-D-uniformity and logtime-E-uniformity are equivalent in general, but it has been shown that logtime-D-uniform is equal to logtime-E-uniform [16, Theorem 4.31]. We will show that this also holds for and, more interestingly, for .
Definition 27.
Let be a circuit. A path from gate to gate is a list of steps such that there exist gates in where for each , feeds into the th input wire of , with and .
In the extended connection language, the in are paths from to [16].
Definition 28.
Let be a parameterized circuit family. The extended connection language consists of all strings of the form where, writing for and for :
-
1.
is a gate in ;
-
2.
if then indicates the type of (one of and, or, not);
-
3.
otherwise, is a path from to .
In [16, p. 123], Vollmer defines logtime-E-uniformity for non-parameterized polynomial-size constant-depth circuit families as being in . We adapt this to -depth parameterized circuit families as follows.
Definition 29.
A parameterized circuit family of size and depth is logtime-E-uniform if is for a computable .
For , this definition is quite strict: there are logtime-D-uniform circuit families of size and depth that contain valid paths of steps, where every step has size . The encoding of such paths has length . No machine in Definition 28 has time to read the complete path . Nevertheless, these circuit families still have logtime-E-uniform representatives for .
Lemma 30.
Let be a parameterized circuit family of size and depth bounded by , with computable. If is linear-BD-uniform, there is an equivalent logtime-E-uniform circuit family of size and depth , with computable.
Proof sketch.
As in the proofs of Lemmas 24 and 25, will be made up of layers of simgates. The main idea is that only steps between layers are difficult, and that in order to decide to which simgate a path leads, we only need to read the last inter-layer step. We achieve this by making the number of simgates per layer exactly for some appropriate . Then, if were to consist only of these simgates, and the simgates were actual gates instead of subcircuits, it could be checked whether a path moves from simgate to by making sure that
-
1.
each step in has length at most ,
-
2.
and contains steps, and
-
3.
the last step in is .
So, only the final step in has to be read. For the others it suffices to read their lengths. From this it can be shown that the whole procedure can be performed in time for some computable . The full version contains a full proof in Appendix B.
Because logtime-E-uniform families of size and depth are by definition also logtime-D-uniform and hence (by Theorem 21) equivalent to a linear-BD-uniform family of similar dimensions, we may now conclude the following.
Corollary 31.
Logtime-E-uniform equals logtime-D-uniform , and logtime-E-uniform equals logtime-D-uniform .
We can also define -E-uniformity as being . By the same proof as Lemma 20, it can then be shown that logtime-E-uniformity implies -E-uniformity for parameterized circuit families of size , and thus (because -E-uniformity implies -D-uniformity, and by then applying Theorem 21) -E-uniform is equivalent with logtime-D-uniform . The same also holds for .
6 Relation to descriptive complexity
In this section we discuss a descriptive classification of logtime-uniform mirroring the equivalence of and logtime-uniform in Theorem 11.
For non-parameterized circuits, Barrington and Immerman [10] prove that for sufficiently constructible polynomially bounded functions , logtime-D-uniform and -D-uniform are equal to the class of languages decided by iterated first order sentences.
A similar observation can be made in the parameterized setting. Define in terms of parameterized circuit families of size and depth , so that is the union of over the computable functions . Based on the definition of in [9, Definition 4.24], we define as follows.
Write for and for . A quantifier block is a partial formula of the form , where the are quantifiers, the are (not necessarily distinct) variable letters, and the are quantifier-free formulas in the language of .
Definition 32.
A parameterized problem is in if there is a computable , a quantifier block , a quantifier-free formula , and a tuple of constants such that
where stands for the sentence obtained by concatenating copies of with , and then substituting for free occurrences of variables .
Intuitively, a parameterized problem is in if it is first-order describable in and iterations of length , that is, if holds. That this corresponds with Definition 32 can be made precise by adding constant symbols for and to the language, and extending the domain of from to .
Following the proof strategies in [10] (see also [9]) it follow that, writing for the computable functions :
thus linking logtime-D-uniform to a descriptive complexity class. Following [10, 9] further leads to an alternative, descriptive complexity-based proof for Theorem 21.
7 Conclusion
We have shown that, for and , various uniformity conditions found in ordinary circuit complexity are again equivalent in the sense that the respective induced complexity classes are equal. This can be used to repair uniformity gaps in the literature.
For example, while our result does not directly demonstrate that the circuit family mentioned in [1, Theorem 3.2] is logtime-D-uniform as claimed, it does prove that there is a suitable logtime-D-uniform circuit family equivalent with it. Since the circuits are described in terms of additions, multiplications, and modulo operations of numbers below a polynomial in and parameter , it is straightforward to show that the circuit family is -D-uniform, and so, by Theorem 21, there is an equivalent logtime-D-uniform family.
We obtain our equivalences via the stricter parameterized linear-uniformity condition, proving a substitution lemma and then explicitly constructing layered linear-uniform families for given -uniform families. In a sense this can be seen as a direct, circuit-oriented variant of the approach in [10]. Here they prove the equivalence of (direct, non-parameterized) uniformity conditions for depth- circuits via the descriptive complexity class , constructing layered logtime-uniform circuits deciding -formulas.
Our results show the equivalence between the uniformity conditions not on the circuit family level but only on the complexity class level. This suffices for theoretical applications like [1, Theorem 3.2] mentioned above, but is not fine-grained enough for questions of work efficiency. For example, the proof of Theorem 21 gives for an -D-uniform circuit family of size a logtime-D-uniform circuit family of size greater than . This gap limits the study of open problems in fine-grained parallel complexity. It would therefore be interesting to study the inherent cost of the conversion, and to also consider which uniformity condition is the most natural one from a (parameterized) parallel complexity perspective.
References
- [1] Max Bannach, Christoph Stockhusen, and Till Tantau. Fast Parallel Fixed-parameter Algorithms via Color Coding. In Leibniz International Proceedings in Informatics, IPEC ’15, page 12, 2015. Extended version at arXiv:1509.06984. doi:10.4230/LIPICS.IPEC.2015.224.
- [2] Max Bannach and Till Tantau. Parallel Multivariate Meta-Theorems. In Leibniz International Proceedings in Informatics, IPEC ’16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.IPEC.2016.4.
- [3] Yijia Chen and Jörg Flum. Some lower bounds in parameterized AC0. Information and Computation, 267:116–134, 2019. doi:10.1016/j.ic.2019.03.008.
- [4] Yijia Chen, Jörg Flum, and Xuangui Huang. Slicewise Definability in First-Order Logic with Bounded Quantifier Rank. In 26th EACSL Annual Conference on Computer Science Logic (CSL 2017), pages 19:1–19:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.CSL.2017.19.
- [5] Michael Elberfeld, Christoph Stockhusen, and Till Tantau. On the Space and Circuit Complexity of Parameterized Problems: Classes and Completeness. Algorithmica, 71(3):661–701, 2015. doi:10.1007/s00453-014-9944-y.
- [6] Jörg Flum and Martin Grohe. Describing parameterized complexity classes. Information and Computation, 187(2):291–319, 2003. doi:10.1016/S0890-5401(03)00161-5.
- [7] Jörg Flum and Martin Grohe. Parameterized complexity theory. Texts in theoretical computer science an EATCS series. Springer, Berlin Heidelberg, 2006. doi:10.1007/3-540-29953-X.
- [8] David Harvey and Joris van der Hoeven. Integer multiplication in time . Annals of Mathematics, 193(2):563–617, 2021. doi:10.4007/annals.2021.193.2.4.
- [9] Neil Immerman. Descriptive Complexity. Springer New York, New York, NY, 1999. doi:10.1007/978-1-4612-0539-5.
- [10] David A. Mix Barrington and Neil Immerman. Time, hardware, and uniformity. In Proceedings of IEEE 9th Annual Conference on Structure in Complexity Theory, pages 176–185. IEEE Comput. Soc. Press, 1994. doi:10.1109/SCT.1994.315806.
- [11] David A. Mix Barrington, Neil Immerman, and Howard Straubing. On uniformity within . Journal of Computer and System Sciences, 41(3):274–306, 1990. doi:10.1016/0022-0000(90)90022-D.
- [12] Michał Pilipczuk, Sebastian Siebertz, and Szymon Toruńczyk. Parameterized circuit complexity of model-checking on sparse structures. In Proceedings of the 33rd Annual ACM/IEEE Symposium on Logic in Computer Science, pages 789–798, 2018. doi:10.1145/3209108.3209136.
- [13] Kenneth W. Regan and Heribert Vollmer. Gap-languages and log-time complexity classes. Theoretical Computer Science, 188(1):101–116, 1997. doi:10.1016/S0304-3975(96)00288-5.
- [14] Walter L. Ruzzo. On uniform circuit complexity. Journal of Computer and System Sciences, 22(3):365–383, 1981. doi:10.1016/0022-0000(81)90038-6.
- [15] Rahul Santhanam and Ryan Williams. On Uniformity and Circuit Lower Bounds. computational complexity, 23(2):177–205, 2014. doi:10.1007/s00037-014-0087-y.
- [16] Heribert Vollmer. Introduction to Circuit Complexity: A Uniform Approach. Texts in Theoretical Computer Science. Springer, 1999. doi:10.1007/978-3-662-03927-4.
