Abstract 1 Introduction 2 Preliminaries 3 Size lower bound for fully symmetric circuits 4 Size lower bound for nested block symmetry 5 Symmetric circuit upper bounds 6 Concluding remarks References Appendix A Details on symmetry groups and circuits

Optimal Lower Bounds for Symmetric Modular Circuits

Benedikt Pago ORCID University of Cambridge, UK
Abstract

A notorious open question in circuit complexity is whether Boolean operations of arbitrary arity can efficiently be expressed using modular counting gates only. Håstad’s celebrated switching lemma yields exponential lower bounds for the dual problem – realising modular arithmetic with Boolean gates – but, a similar lower bound for modular circuits computing the Boolean AND function has remained elusive for almost 30 years.

We solve this problem for the restricted model of symmetric circuits: We consider MODm-circuits of arbitrary depth, and for an arbitrary modulus m, and obtain subexponential lower bounds for computing the n-ary Boolean AND function, under the assumption that the circuits are syntactically symmetric under all permutations of their n input gates. This lower bound is matched precisely by a construction due to (Idziak, Kawałek, Krzaczkowski, LICS’22), leading to the surprising conclusion that the optimal symmetric circuit size is already achieved with depth 2.

Motivated by another construction from (LICS’22), which achieves smaller size at the cost of greater depth, we also prove tight size lower bounds for circuits with a more liberal notion of symmetry characterised by a nested block structure on the input variables.

Keywords and phrases:
symmetric circuits, modular counting, lower bounds, CC0
Category:
Track B: Automata, Logic, Semantics, and Theory of Programming
Copyright and License:
[Uncaptioned image] © Benedikt Pago; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Circuit complexity
Related Version:
Full Version: https://arxiv.org/abs/2604.04760 [29]
Funding:
The author was funded by UK Research and Innovation (UKRI) under the UK government’s Horizon Europe funding guarantee: grant number EP/X028259/1.
Acknowledgements:
I am grateful to Piotr Kawałek for posing this question to me, and for his invaluable help in learning and presenting the research context.
Editors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele Puppis

1 Introduction

There are many long-standing open questions in circuit complexity that are surprisingly simple in their formulation, yet no solution to them has been found in decades. Among them there is the following: Can the n-ary Boolean ANDn-function be represented with a polynomial-size circuit of depth two using only MOD6-gates? A MOD6-gate is a Boolean gate which takes an arbitrary number of inputs and returns 1 if and only if their sum modulo 6 belongs to an accepting set S6 (where S can vary for different gates).

More generally, a CCh[m]-circuit is a depth-h Boolean circuit consisting only of MODm-gates. The question is: For fixed positive integers h and m, what is the asymptotic size of the smallest possible CCh[m]-circuit that computes ANDn? Is it polynomial in n? In common complexity-theoretic terms, this question is phrased as “CC0=ACC0?”. The class CC0 consists of all constant depth circuits that only use modular counting gates, while in ACC0, the circuits may additionally contain Boolean disjunction, conjunction and negation gates. It is stunning that very little progress has been made despite the fact that this problem was first raised almost 30 years ago [3].

As of today, only slightly superlinear lower bounds are known, and only for the number of wires, not gates [7], both for general CCh[m]-circuits as well as for the most restricted open case CC2[6]. The lack of strong lower bounds is even more surprising when one compares it with the dual question: Can modulo counting be performed efficiently by constant depth circuits using only the Boolean operations ,,¬? This question was famously answered in the negative by Håstad [21] already in the 1980s. Indeed, his switching lemma yields an asymptotically optimal exponential lower bound against constant depth Boolean circuits computing the parity function. More generally, it has been shown that MODq is not in AC0[p] (the extension of AC0 with MODp gates), whenever pq are distinct primes [30]. To sum up: We have known for a long time that Boolean operations cannot simulate modulo counting, but it is notoriously hard to settle whether modulo counting can simulate Boolean operations.

Common belief is in favour of a negative answer: Barrington, Straubing and Thérien first conjectured an exponential lower bound in [3], and since the work by Barrington, Beigel and Rudich in 1994 [2], a 2Ω(nε) size lower bound for CCh[m]-circuits computing ANDn is considered likely (where 0<ε<1). Some refer to this conjecture as the Exponential Size Hypothesis (ESH). For the very restricted setting of two layers with two different prime moduli, that is, MODqMODp-circuits where pq, an even stronger lower bound has been established unconditionally: Such circuits require size 2Ω(n) to compute ANDn [20, 19, 31].

In this paper we study a circuit restriction of a different nature: Since the function ANDn is symmetric under all permutations of its inputs, it admits a symmetric circuit representation. Such symmetric constructions are typically natural and intuitive, and it is also reasonable to assume that they are not too far from optimal. Formally, we say that a circuit C is fully symmetric (or 𝐒𝐲𝐦n-symmetric) if for every π𝐒𝐲𝐦n, there exists an automorphism of C that permutes its input gates x1,,xn according to π. We completely determine the CCh[m]-circuit complexity of ANDn, for any depth h2, and any modulus m with at least two prime divisors 111The case where m is a prime power can be ignored. It is known that then, CCh[m]-circuits cannot compute ANDn for arbitrarily large n, see [24, Proposition 2.1] , as far as fully symmetric circuits are concerned.

Theorem 1.

Fix an integer m6 with at least r2 distinct prime divisors. For every family of 𝐒𝐲𝐦n-symmetric MODm-circuits (Cn)n computing the Boolean function ANDn, the circuit size is at least |Cn|2Ω(n1/rlogn). There exists a family of CC2[m]-circuits that achieves this bound.

The new contribution is the lower bound; the upper bound was presented by Idziak, Kawałek, Krzaczkowski in 2022 [24, Proposition 3.1], and independently by Chapman and Williams [6], based on an idea from [2]. For completeness, we review the upper bound in Section 5. The most surprising insight from Theorem 1 is the discovery that the natural and elegant depth-2 construction from [24, Proposition 3.1] is in fact optimal under the assumption of 𝐒𝐲𝐦n-symmetry. Thus, one can never gain savings in the asymptotic size by increasing circuit depth beyond 2, except by breaking symmetries. This answers a question implicitly posed by Kawałek and Weiß in [27], which is detailed below.

Interestingly, a more involved construction from [24] demonstrates that (partially) breaking symmetries does indeed allow to build smaller circuits, at the expense of greater depth: For every constant h>2, there exist CCh[m]-circuits for ANDn whose size is strictly smaller than 2Θ(n1/rlogn), and the savings in size increase with h.

Examining this depth-h construction [24, Proposition 4.3], one finds that it is not 𝐒𝐲𝐦n-symmetric (which it cannot be by Theorem 1), but respects a smaller group of symmetries, that we call nested block symmetry. This notion of symmetry is naturally exhibited by recursive circuit constructions that follow a divide-and-conquer approach; another such example can be found in [6].

The symmetry group is best described as the automorphism group of a tree whose leaves correspond to the input variables x1,,xn of the circuit. We formalise this idea by fixing an h-tuple 𝒌=(k1(n),,kh(n)) of functions in n such that i[h]ki(n)=n, which defines for each n a tree 𝒯n𝒌: This tree has h levels and on the i-th level, every node has ki(n) many children. The leaves of the tree are identified with the variables x1,,xn (for this to be possible, we need that the product over the ki(n) is n). The automorphism group 𝐀𝐮𝐭(𝒯n𝒌) is the group of all permutations of the nodes of 𝒯n𝒌 that preserve the edges and non-edges of the tree. A circuit is 𝐀𝐮𝐭(𝒯n𝒌)-symmetric circuit if for every π𝐀𝐮𝐭(𝒯n𝒌), there is an automorphism of the circuit that permutes the inputs x1,,xn precisely as π permutes the leaves of 𝒯n𝒌 (see Section 2 for details). Note that not for every permutation π𝐒𝐲𝐦n, there is a tree automorphism in 𝐀𝐮𝐭(𝒯n𝒌) that acts like π on the leaves. Hence, 𝐀𝐮𝐭(𝒯n𝒌)-symmetry is a laxer requirement of circuits than 𝐒𝐲𝐦n-symmetry.

Our next result extends Theorem 1 to the nested block symmetric setting and pins down the asymptotic circuit size exactly, depending only on the choice of symmetry group 𝐀𝐮𝐭(𝒯n𝒌). Theorem 1 is in fact a special case of Theorem 2, when 𝒯n𝒌 is taken to be the depth-1 tree with n leaves. Nevertheless, Theorem 1 is important enough to be stated separately, and its proof is more instructive.

Theorem 2.

Fix an integer m6 with at least r2 distinct prime divisors. Moreover, fix a constant depth h, and a tuple 𝐤=(k1(n),,kh(n)) of block sizes such that iki(n)=n for all n. Assume that ki(n)>8 for each i[h] and all large enough n. Let kmax(n)maxi[h]ki(n).
Every 𝐀𝐮𝐭(𝒯n𝐤)-symmetric MODm-circuit that computes the Boolean function ANDn has size at least 2Ω(kmax(n)1/rlog(kmax(n))), and there exists a CC2h[m]-circuit that achieves this bound.

The upper bound is achieved by applying the construction from Theorem 1 in a recursive fashion, which requires 2 circuit layers for each nested block of the symmetry group. An immediate consequence of the theorem is that one cannot gain savings in size by varying the block sizes on different levels of the symmetry group. Thus, the symmetric circuit complexity is just controlled by the choice of h in this setting:

Corollary 3.

For h fixed, the choice of 𝐤 which optimizes the size of an 𝐀𝐮𝐭(𝒯n𝐤)-symmetric MODm-circuit for ANDn is k1(n)=k2(n)==kh(n)=n1/h. For this 𝐤, there exists such a depth-2h circuit of size 2Θ(n1/(hr)logn).

Proof.

Since i[h]ki(n)=n for all n, the smallest value that kmax(n) can attain is n1/h, in case that all ki(n) are equal. Strikingly, the 𝐀𝐮𝐭(𝒯n𝒌)-symmetric construction from [24, Proposition 4.3] is slightly larger than this. It achieves only size (approximately) 2Θ(n1/(h(r1))logn) instead of 2Θ(n1/(hr)logn) as in Corollary 3. This is because [24, Proposition 4.3] aims at an optimized depth: Indeed, the authors manage to compress the circuits down to only h+1 layers, which is essentially just one layer per nesting depth of the symmetry group and likely optimal under 𝐀𝐮𝐭(𝒯n𝒌)-symmetry. In view of our Corollary 3, we consider it an important open problem to improve the size of this depth-(h+1) construction so that it matches our lower bound, or to show that this is impossible.

Our results confirm the 2Ω(nε) lower bound conjectured by ESH for fully symmetric and nested block symmetric circuits. Since much of the literature focuses on the ANDn-function, we have chosen to do the same, but our results can be proved for every symmetric function that is aperiodic (for a definition, see Section 2.3), such as ORn or MAJn.

Our work raises the following immediate open questions:

  1. 1.

    Is there a size-depth tradeoff for nested block symmetric circuits?
    The current knowledge suggests this: We have size-optimal constructions that are at least a factor of 2 away from the optimal depth (Corollary 3), and we have (likely) depth-optimal circuits of slightly suboptimal size [24, Proposition 4.3].

  2. 2.

    What is the smallest possible symmetry group for which our method works? Do lower bounds for symmetric circuits inform the search for general (non-symmetric) lower bounds? For example, can every non-symmetric CC0-circuit for ANDn be symmetrized at only a small cost?

Related work on modular circuits

The complexity of low-depth CC0-circuits has particular relevance because of its various connections to other questions, of which we can only mention a few here. For example, it is known that strong lower bounds against low-depth CC0-circuits would imply faster algorithms for solving equations over solvable groups [26], for circuit satisfiability problems over algebras [23, 25], and for constraint satisfaction problems with global modular constraints [5]. Another surprising application is in coding theory. Techniques from the construction of small CC0-circuits for Boolean functions have been used to obtain explicit Ramsey-style graphs [17, 18]. These are crucial for example in the design of particularly good locally decodable error-correcting codes [16, 13] and private information retrieval schemes [14].

Related work on symmetric circuits

The idea to study symmetric circuits to facilitate lower bounds has been employed successfully in many different contexts in recent years. To name only a few examples, there are symmetry-based lower bounds for constant depth formulas with Boolean and majority gates [22], lower bounds for uniform symmetric Boolean (threshold) circuit families via a connection to fixed-point logics from finite model theory [1], and a recent research strand on symmetry in algebraic complexity theory [10, 11, 9, 15], notably proving the permanent polynomials to be exponentially hard for symmetric circuits.

For our purposes, the most relevant related work is a very recent paper by Kawałek and Weiß [27]. They seem to be the first to consider symmetry in the context of CC0, but with a scope limited to MODqMODpANDd-circuits (where d is some fixed integer), and 𝐒𝐲𝐦n as the symmetry group. Our lower bounds cover that case (when m has p and q as prime divisors) and apply to a much more general circuit model. In particular, Kawałek and Weiß suggest that to obtain smaller symmetric circuits for ANDn, one may have to increase the depth. Our Theorem 1 surprisingly refutes this, and shows that a depth greater than 2 yields no size improvement, unless also the symmetry constraint is relaxed as in Theorem 2.

Our techniques

The key challenge we solve is to overcome the obstacles that prevent the technique in [27] from generalising to symmetric circuits of arbitrary depth and with MODm-gates for composite numbers m. We accomplish this by using a very different technical framework, based on the group-theoretic notion of supports. This is the central tool in the aforementioned articles by Dawar and others, and we use it in an inductive approach vaguely similar to the one in [9]. The lower bound for ANDn is then based on a periodicity argument as in [27]: Our main technical result, Lemma 12, shows that symmetric MODm-circuits of small (support) size necessarily compute periodic functions – but ANDn is aperiodic.

Another contribution of this work is the extension of the group-theoretic toolkit for dealing with the smaller symmetry groups 𝐀𝐮𝐭(𝒯n𝒌). Thus far, the literature has mostly focused on direct products of symmetric or alternating groups, which are technically easier to handle.

2 Preliminaries

We write [n]={1,,n}. For a tuple x¯=(x1,,xn) indexed by [n], and a subset I[n] of the indices, we use the notation x¯I to refer to the subtuple (xi)iI of x¯ consisting of the entries with indices in I. In this notation, we also sometimes merge subtuples: For I,J[n], we denote by x¯Ix¯J the subtuple x¯IJ of x¯. In all these cases, the ordering of the respective subtuple of x¯ is inherited from x¯.

The depth of a rooted tree or DAG is the maximum number of edges on any path from the root to a leaf.

2.1 Permutation groups and supports

We write 𝐒𝐲𝐦n for the symmetric group acting on the set [n], and if A is a set, then 𝐒𝐲𝐦(A) denotes the symmetric group acting on A. For S[n], we write 𝐒𝐭𝐚𝐛(S)𝐒𝐲𝐦n for the setwise stabiliser subgroup of S in 𝐒𝐲𝐦n, and 𝐒𝐭𝐚𝐛(S)𝐒𝐲𝐦n for the pointwise stabiliser of S. The setwise stabiliser is the subgroup of permutations π such that π(S)=S, whereas the pointwise stabiliser is the subgroup consisting of all π𝐒𝐲𝐦n such that π(s)=s for every sS. This notion can be restricted to subgroups Γ𝐒𝐲𝐦n as well: 𝐒𝐭𝐚𝐛Γ(S)Γ and 𝐒𝐭𝐚𝐛Γ(S)Γ denote the respective subgroups of Γ that fix S setwise or pointwise.

For a group Γ𝐒𝐲𝐦n, and an element a[n], the Γ-orbit of a is the set 𝐎𝐫𝐛Γ(a){π(a)πΓ} of all possible images of a. By the well-known Orbit-Stabiliser Theorem, |𝐎𝐫𝐛Γ(a)|=|Γ||𝐒𝐭𝐚𝐛Γ(a)|. The notion of an orbit also applies to subsets of [n], or more generally, other objects, such as gates of a circuit, that Γ may be acting on.

A set S[n] is a support of a group Γ𝐒𝐲𝐦n if 𝐒𝐭𝐚𝐛(S)Γ. It is known that every Γ𝐒𝐲𝐦n that has a support of size <n/2 has a unique minimal support, denoted sup(Γ) [4, Lemma 26]. This notion will be of central importance in our analysis of symmetric circuits: In symmetric circuits of bounded size, also the minimal supports of the stabiliser groups of the gates will have bounded size. The function computed by a gate can then be described in terms of this small support.

Nested symmetric groups

Besides 𝐒𝐲𝐦n, we deal with nested symmetric groups. These are best described as the automorphism groups of rooted trees. Fix a depth h and let 𝒌=(k1(n),,kh(n)), where for each i[h], ki: is a function such that i[h]ki(n)=n for every n. The tuple 𝒌 defines a family of rooted symmetric trees, one for each n: The n-th tree 𝒯n𝒌 has h levels, and ki(n) is the number of children of every node on level i. The n leaf nodes are on level 0, and the root of the tree is the only node on level h. The automorphism group of 𝒯n𝒌 is denoted 𝐀𝐮𝐭(𝒯n𝒌). It acts on the vertex set V(𝒯n𝒌). Each π𝐀𝐮𝐭(𝒯n𝒌) maps every subtree of 𝒯n𝒌 to a subtree rooted at the same level, possibly permuting subtrees further down. Because in each level, all nodes have the same number of children, every node can be mapped to every other node on the same level by an automorphism in 𝐀𝐮𝐭(𝒯n𝒌). Formally, 𝐀𝐮𝐭(𝒯n𝒌) is isomorphic to an iterated wreath product of symmetric groups, defined inductively as follows. Let T be a subtree of 𝒯n𝒌 of depth 1, having k1(n) leaves. Then 𝐀𝐮𝐭(T)𝐒𝐲𝐦k1(n). Now assume T is a subtree of 𝒯n𝒌 of depth i>1. Then the root v of T has ki(n) children, and 𝐀𝐮𝐭(T)𝐀𝐮𝐭(T)𝐒𝐲𝐦ki(n), where T is isomorphic to the subtree rooted at any/every child of v.

The group 𝐀𝐮𝐭(𝒯n𝒌) embeds into 𝐒𝐲𝐦n by identifying every π𝐀𝐮𝐭(𝒯n𝒌) with the permutation that it induces on the leaves of the tree. Note that every σ𝐒𝐲𝐦n is induced by at most one π𝐀𝐮𝐭(𝒯n𝒌).

For the analysis, it will be helpful to speak of the action of 𝐀𝐮𝐭(𝒯n𝒌) on blocks: For a node vV(𝒯n𝒌),B(v)V(𝒯n𝒌) denotes the block of v, by which we mean the set of all nodes (including v) that have the same parent as v. Every π𝐀𝐮𝐭(𝒯n𝒌) stabilises a block setwise or moves it to another block on the same level. The set of all blocks is denoted (𝒯n𝒌){B(v)vV(𝒯n𝒌)}.

For i[h]{0}, we denote by LiV(𝒯n𝒌) the nodes in the i-th level of the tree. For a set of nodes WV(𝒯n𝒌), we denote by L0(W)L0 the set of all leaves w that have an ancestor (i.e. node on a path from the root to w) in W.

Supports for nested symmetric groups

Any group Γ𝐀𝐮𝐭(𝒯n𝒌) can be embedded into 𝐒𝐲𝐦n (via its action on the leaves) and thus admits a notion of support in the sense described previously. However, when Γ is explicitly presented as a subgroup of 𝐀𝐮𝐭(𝒯n𝒌), we use a more refined notion, that we call blockwise support. It breaks up the support according to the different copies of symmetric groups in 𝐀𝐮𝐭(𝒯n𝒌). For a block B(𝒯n𝒌), let Γ|B𝐒𝐲𝐦(B) denote the permutation group on B consisting of all π𝐒𝐲𝐦(B) such that there exists a σΓ that fixes B setwise and satisfies σ|B=π, i.e. σ permutes the nodes in B like π does.

A set SB is a B-support of Γ𝐀𝐮𝐭(𝒯n𝒌) if 𝐒𝐭𝐚𝐛𝐒𝐲𝐦(B)(S)Γ|B. In other words, this means that for every π𝐒𝐭𝐚𝐛𝐒𝐲𝐦(B)(S), there exists at least one permutation σΓ that acts like π on B.

2.2 (Symmetric) modular circuits

A circuit is a DAG, possibly with multiedges, and a single designated root. Its nodes are called gates and its edges are also called wires. Edges are directed from a gate where a value is computed towards the next gate that uses this value as an input. The nodes with no incoming edges are called input gates, and each input gate g is labelled with a variable (g){x1,,xn}, where n is the arity of the function to be computed by the circuit. Each internal gate is labelled with an operation. In this paper, we only consider circuits with modular counting gates: For m, and Rm, the operation MODmR is of arbitrary fan-in k, and satisfies

MODmR(x1,,xk)={1 if (i[k]ximodm)R0 otherwise

A MODm-circuit is one where every internal gate is labelled with the operation MODmR for an arbitrary Rm. The computation result is the Boolean value that is computed at the root.

We assume throughout that for every variable xi, there exists exactly one input gate with label xi. This is not a restriction since distinct input gates labelled with the same variable can always be identified.

The size of a circuit C is |C||V(C)|+|E(C)|, the total number of gates plus wires, counted with multiplicities. For a gate g, we write g(x¯) to denote the function from {x1,,xn} to {0,1} that is computed by the subcircuit of C rooted at g.

Symmetric circuits

Let n, and Γ𝐒𝐲𝐦n be a subgroup of 𝐒𝐲𝐦n. A MODm-circuit C is called Γ-symmetric if its set of input variables is {x1,,xn} and every πΓ acting on the input gates extends to an automorphism of C. That is, for every πΓ, there exists a σ𝐒𝐲𝐦(V(C)) such that π((g))=(σ(g)) for all inputs gates gV(C), and σ is an automorphism of C. This means that for every internal gate g, (g)=(σ(g)) (i.e., the gates compute the same operation MODmR, for the same R), and for any two gates g,hV(C), the multiplicity of the directed edge (g,h) is the same as of (σ(g),σ(h)). We call C rigid if for every πΓ, the circuit automorphism σ extending π is unique. This is equivalent to C not having any non-trivial automorphism that fixes every input gate. Fortunately, w.l.o.g. we can always assume our symmetric circuits to be rigid (see e.g. [8, Lemma 4.3] or Lemma 25 in the appendix).

The advantage of working with rigid Γ-symmetric circuits is that for every πΓ, and gV(C), we may write π(g) to mean the well-defined gate σ(g), for the unique circuit automorphism σ that extends π. In this sense, if C is rigid, then Γ has a well-defined (faithful) action on V(C).

With respect to this action, we can speak about the orbits of gates. Their size is an important complexity measure of Γ-symmetric rigid circuits, called orbit size, by which we mean the maximum size of a Γ-orbit of any gate:

maxOrbΓ(C)maxgV(C)|𝐎𝐫𝐛Γ(g)|.

Note that for any gate g, 𝐎𝐫𝐛Γ(g)V(C), so to establish lower bounds on the circuit size |V(C)|, it is sufficient to prove lower bounds for maxOrbΓ(C).

By induction on the circuit structure, it is not difficult to verify the following fact about the interplay between symmetry and the semantics of the gates (see Appendix A).

Lemma 4.

Let C be a Γ-symmetric rigid circuit, for Γ𝐒𝐲𝐦n. Let δ:{x1,,xn}{0,1} be an assignment to the variables, let gV(C) be a gate, and let πΓ. Then

g(δ(x1),,δ(xn))=π(g)(δ(π1(x1)),,δ(π1(xn))).

Supports in symmetric circuits

We apply the previously introduced notions of supports to stabiliser groups of gates in symmetric circuits. We have already seen that the concept of a support can be defined differently for different permutation groups. Therefore, from here on, we restrict the symmetry group Γ of our circuits and always assume that Γ{𝐒𝐲𝐦n,𝐀𝐮𝐭(𝒯n𝒌)}, for some n or some symmetric n-leaf tree 𝒯n𝒌.

We are interested in the support of a gate g in a given Γ-symmetric rigid circuit C. Let 𝐒𝐭𝐚𝐛(g)Γ be the stabiliser group of the gate, that is, 𝐒𝐭𝐚𝐛(g){πΓπ(g)=g}.

Definition 5 (Supports of gates).

Let gV(C) be a gate in a Γ-symmetric rigid circuit, for Γ{𝐒𝐲𝐦n,𝐀𝐮𝐭(𝒯n𝐤)}.

  • If Γ=𝐒𝐲𝐦n, then the support of g is sup(g)sup(𝐒𝐭𝐚𝐛𝐒𝐲𝐦n(g))[n], i.e., the unique minimal support of 𝐒𝐭𝐚𝐛𝐒𝐲𝐦n(g) in 𝐒𝐲𝐦n.

  • If Γ=𝐀𝐮𝐭(𝒯n𝒌), then we consider the blockwise support of g: For every B(𝒯n𝒌), we denote by supB(g)B the unique minimal B-support of the group 𝐒𝐭𝐚𝐛𝐀𝐮𝐭(𝒯n𝒌)(g).

In either case, the support of g is undefined if the respective minimal (B-)support of 𝐒𝐭𝐚𝐛(g) is not uniquely defined.

We still need to argue that in the scenarios we study in this paper, the respective minimal supports exist and are unique, so that sup(g) and supB(g) are indeed always defined when we need them.

Lemma 6.
  1. 1.

    Let n>8 and C be a 𝐒𝐲𝐦n-symmetric rigid circuit. Let k be such that 1kn4 and maxOrb𝐒𝐲𝐦n(C)(nk). Then for every gV(C), 𝐒𝐭𝐚𝐛𝐒𝐲𝐦n(g) has a support of size less than k.

  2. 2.

    Let C be an 𝐀𝐮𝐭(𝒯n𝒌)-symmetric rigid circuit, for some h-tuple 𝒌 such that kminmini[h]ki(n)>8. For every block B(𝒯n𝒌), let kB be such that 1kB|B|4 and maxOrb𝐒𝐭𝐚𝐛(B)(C)(|B|kB). Then for every gV(C), 𝐒𝐭𝐚𝐛𝐀𝐮𝐭(𝒯n𝒌)(g) has a B-support SB with |S|<kB.

The first part of the lemma is shown in [12, Theorem 14] for symmetric Boolean circuits, and the set-up here is very similar. The second item follows from the first with an additional argument. The proof details are given in Appendix A.

As already mentioned, by [4, Lemma 26], every subgroup of 𝐒𝐲𝐦n that has a support of size <n/2 also has a unique minimal support. This holds in particular whenever the conditions of the above lemma are satisfied, both in case (1) and (2). In the set-up in the following sections, this will always be the case because if the conditions of the lemma are not satisfied for a circuit C, then maxOrb(C), and hence |V(C)|, is anyway at least as large as the circuit size lower bounds we have to prove for Theorem 1 and Theorem 2. For a circuit C where the respective supports are defined, we write

maxSup(C) maxgV(C)|sup(g)|, if C is 𝐒𝐲𝐦n-symmetric.
maxSupB(C) maxgV(C)|supB(g)|, if C is 𝐀𝐮𝐭(𝒯n𝒌)-symmetric and B(𝒯n𝒌).

Another known fact about supports of gates in symmetric circuits is that they are moved by permutations in the expected way:

Lemma 7 ([8, Lemma 4.2]).

Let C be a 𝐒𝐲𝐦n-symmetric rigid circuit in which the supports of all gates are defined. Let gV(C) be a gate. Then for every π𝐒𝐲𝐦n, sup(π(g))=π(sup(g)).

Analogously, in every 𝐀𝐮𝐭(𝒯n𝒌)-symmetric circuit C, supπ(B)(π(g))=π(supB(g)) for every gate g, every block B(𝒯n𝒌), and every π𝐀𝐮𝐭(𝒯n𝒌).

2.3 Periodic functions

A function f: is called periodic with a period of length if f(x)=f(x+) for every x. An analogous definition applies if f is only defined on an initial segment of . A particular periodic function that will be of high importance for us is the binomial coefficient modulo m. Its period length is known exactly:

Theorem 8 ([28, Theorem 2.3]).

Let m be fixed, and let p1,,pr be its prime divisors. Fix x. The function a(n)(nx)modm has a period of minimal length (m,x)=mi[r]pilogpi(x).

Let f:{0,1}n{0,1} be an n-ary Boolean function. If for every π𝐒𝐲𝐦n, and every x¯{0,1}n, f(x1,,xn)=f(π(x¯))f(xπ1(1),,xπ1(n)), then we say that f is 𝐒𝐲𝐦n-symmetric. The value f(x¯) of a 𝐒𝐲𝐦n-symmetric n-ary function f only depends on the number of 1-entries in x¯, denoted |x¯|1. Thus, we may view f(x¯) as a unary function f(|x¯|1) defined on {0,,n}, and as such, we can speak of its period.

Lemma 9.

The 𝐒𝐲𝐦n-symmetric Boolean function ANDn does not have a period of any length n.

Proof.

For a contradiction, assume that 0<n was the period length of ANDn. Then ANDn(x¯)=1 also in case that |x¯|1=n. But 0n<n, so ANDn(x¯)=0 in this case. Contradiction.

3 Size lower bound for fully symmetric circuits

In this section, we prove the size lower bound from Theorem 1 for 𝐒𝐲𝐦n-symmetric MODm-circuits computing ANDn. The technical core, from which the size lower bound follows, is a lower bound on the support size maxSup(C) required to compute ANDn:

Theorem 10.

Fix a positive integer m>3 and let r be the number of distinct prime divisors of m. Let (Cn)n be a family of 𝐒𝐲𝐦n-symmetric rigid MODm-circuits. If maxSup(Cn)<(n/m)1/r for all n, then Cn does not compute ANDn.

Corollary 11.

In the setting of the theorem, if Cn computes ANDn for an n>8, then |V(Cn)|(n(n/m)1/r).

Proof.

If Cn computes ANDn, then by Theorem 10, maxSup(Cn)(n/m)1/r. Suppose for a contradiction that |V(Cn)|<(n(n/m)1/r). Then in particular, maxOrb(Cn)<(n(n/m)1/r). Because n>8 and m>3, the conditions of Lemma 6 (1) are fulfilled for k=(n/m)1/r, so maxSup(Cn)<(n/m)1/r, which is a contradiction.

By replacing factorials with their Stirling approximations, we can compute that (n(n/m)1/r)
(f1(m,r)nf2(m,r))n1/r, where f1,f2 are functions depending on m,r, so we can treat them as constants. Thus, Corollary 11 indeed yields the asymptotic circuit size lower bound of 2Ω(n1/rlogn) that is claimed in Theorem 1.

It remains to prove Theorem 10. This is done by showing that if maxSup(Cn)<(n/m)1/r, then the function computed by Cn is periodic with a period of length <n.

The proof rests on the upper bound on the period length shown in Corollary 13. Before we can state and prove that corollary, we need to introduce a refined notion of period, for not fully symmetric functions:

Let S[n], and let f(x1,,xn) be a 𝐒𝐭𝐚𝐛(S)-symmetric function. Let XS{xiiS}. Then the value of f is fully determined by the assignment α:XS{0,1} and by the number of 1-entries in the variables {xii[n]S}. Formally, let us write fα:X[n]S{0,1} for the function obtained from f by fixing the variables in XS to the values given by α. That is,

fα(x¯[n]S)f(α(x¯S)x¯[n]S).

When we say that a 𝐒𝐭𝐚𝐛(S)-symmetric function f has a period, we mean that for every α:XS{0,1}, the function fα(x¯[n]S), whose value only depends on the number of 1-entries in its input, has a period. This period may be of different length for different assignments α:XS{0,1}, but when we say that f has a period of length at most , then we mean that for each α:XS{0,1}, the period length of fα is at most .

Now let gV(C) be a gate. The function g(x¯) computed by g is always 𝐒𝐭𝐚𝐛(g)-symmetric by Lemma 4. Because 𝐒𝐭𝐚𝐛(sup(g))𝐒𝐭𝐚𝐛(g), it is also 𝐒𝐭𝐚𝐛(sup(g))-symmetric. So when we say that g(x¯) has a period of length at most , we mean that gα(x¯) has such a period for every α:Xsup(g){0,1}. Now the technical lemma that we want to show reads as follows.

Lemma 12.

Let s: be a function in o(n). Fix a number m. Let (Cn)n be a family of 𝐒𝐲𝐦n-symmetric rigid MODm-circuits in which all supports have size at most s(n). Fix n. Let g be a gate in Cn. Then the 𝐒𝐭𝐚𝐛(sup(g))-symmetric function g(x¯) has a period of length at most q(m,s)mi[r]pilogpi(s(n)), where the product ranges over the prime factors p1,,pr of m.

Note that this bound on the period length does not depend on the depth of the gate – this also explains why it is possible already for depth-2 circuits to achieve the optimal size. All that matters is the size of the supports.

Corollary 13.

In the setting of Lemma 12, the 𝐒𝐲𝐦n-symmetric function computed at the output gate of Cn has a period of length at most ms(n)r, where r denotes the number of distinct prime divisors of m.

The proof of Lemma 12 is given in the full version [29]. It proceeds by induction from the input gates to the root of the circuit. The periodic behaviour of the function computed at each gate is essentially shown by reducing the evaluation of the gate to an expression that involves binomial coefficients modulo m. This is possible because the children of the gate are symmetric to each other in a certain precise sense. The period length claimed in Lemma 12 comes from the periodicity of the binomial coefficients, as given by Theorem 8.

Proof of Theorem 10.

If maxSup(Cn)<(n/m)1/r, then by Corollary 13, the 𝐒𝐲𝐦n-symmetric function computed by Cn has a period of length at most m((n/m)1/r)r=n. But then, this function cannot be ANDn by Lemma 9.

4 Size lower bound for nested block symmetry

In this section, fix h and a tuple 𝒌=(k1(n),,kh(n)) such that i[h]ki(n)=n for each n. For every n, let kmin(n)mini[h]ki(n) and kmax(n)maxi[h]ki(n) denote the smallest and largest block sizes in the tree 𝒯n𝒌.

We now show how to adapt the proof from the previous section to obtain the circuit size lower bound claimed in Theorem 2 for 𝐀𝐮𝐭(𝒯n𝒌)-symmetric circuits. The main technical result from which the lower bound can be derived is the following variation of Theorem 10:

Theorem 14.

Fix a positive integer m>3 and let r be the number of distinct prime divisors of m. Let (Cn)n be a family of 𝐀𝐮𝐭(𝒯n𝐤)-symmetric MODm-circuits. Let B(𝒯n𝐤) be a block that has size |B|=kj(n), for some j[h]. 222Note that we can fix the block B independently of n since the structure of 𝒯n𝐤 only depends on 𝐤, and n just controls the size of B. If maxSupB(Cn)<(kj(n)/m)1/r, then Cn does not compute ANDn.

Corollary 15.

In the setting of the theorem, if Cn computes ANDn for an n such that kmin(n)>8, then |V(Cn)|(kmax(n)(kmax(n)/m)1/r).

Proof.

If CCn computes ANDn, then by Theorem 14, for every block B(𝒯n𝒌), maxSupB(C)(|B|/m)1/r. Then for every B(𝒯n𝒌), maxOrb𝐒𝐭𝐚𝐛(B)(C)(|B|(|B|/m)1/r) by Lemma 6 (2). Since |maxOrb𝐒𝐭𝐚𝐛(B)(C)||V(C)|, for every B(𝒯n𝒌), we can pick a block of maximal size and obtain |V(C)|(kmax(n)(kmax(n)/m)1/r). Just like in the last section, the size lower bound from this corollary translates into

|V(Cn)|2Ω(kmax(n)1/rlog(kmax(n))),

which is what is stated in Theorem 2. Similarly as in the previous section, Theorem 14 is proved by showing that if the supports are not big enough, then the functions computed by the gates have a certain periodic behaviour. However, the notion of period is different now because it has to match the different notion of symmetry.

Recall from Section 2.1 that for a tree 𝒯n𝒌, and a set WV(𝒯n𝒌) of nodes, L0(W) denotes the set of leaves in subtrees rooted at nodes in W.

Definition 16 (Block-periodic functions).

Let B(𝒯n𝐤). Let Γ𝐀𝐮𝐭(𝒯n𝐤) be a group such that for every π𝐒𝐲𝐦(B), there is a σΓ that fixes B setwise and satisfies σ|B=π. Let f(x1,,xn) be a Γ-symmetric function. Let β:{x1,,xn}{0,1} be an assignment such that for each vB, β(x¯L0(v)){0¯,1¯}, i.e., β is constant on each set XL0(v), for each vB. Then by Γ-symmetry of f, the value of f(β(x¯)) depends only on β(x¯[n]L0(B)) and on the number

|β(x¯)|1B|{vBβ(x¯L0(v))=1¯}|.

We say that f has a B-period of length if

f(β(x¯))=f(β(x¯)),

for any two assignments β,β that are constant on XL0(v), for each vB, and satisfy |β(x¯)|1B=|β(x¯)|1B+, and β(x¯[n]L0(B))=β(x¯[n]L0(B)){0¯,1¯}.

Lemma 17.

Let B,Γ and f be as in Definition 16. If f(x1,,xn) has a B-period of length 1|B|, then fANDn.

Proof.

Suppose for a contradiction that f=ANDn. Then f(1¯)=1. Consider an assignment β:{x1,,xn}{0,1}, which is 1 everywhere except that precisely for nodes vB, β(x¯L0(v))=0¯. Then f(β(x¯))=1 because f has a B-period of length . But this is a contradiction because ANDn(β(x¯))1.

Again, it remains to prove the key technical ingredient, Corollary 19, and again, this requires to adjust the notion of periodicity to stabiliser groups of gates that fix the support pointwise.

Let SB, let Γ𝐀𝐮𝐭(𝒯n𝒌) be a group such that for every π𝐒𝐭𝐚𝐛𝐒𝐲𝐦(B)(S), there is a σ𝐀𝐮𝐭(𝒯n𝒌) that fixes B setwise and satisfies σ|B=π. We now consider 𝐒𝐭𝐚𝐛Γ(S)Γ, the pointwise stabiliser of S in Γ. Let f(x1,,xn) be a 𝐒𝐭𝐚𝐛Γ(S)-symmetric function. Fix an assignment α:X[n]L0(BS){0,1} which is constant on each set XL0(v) for each vS, and constant on X[n]L0(B). Now when α is regarded as fixed, then for assignments β:XL0(BS){0,1} that are constant on each set XL0(v) for each vBS, the value of f(αβ(x¯)) only depends on |β(x¯)|1B.

Analogously to the previous section, we write fα:XL0(BS){0,1} for the function obtained from f by fixing the variables in X[n]L0(BS) to the values given by α. That is,

fα(x¯L0(BS))f(α(x¯[n]L0(BS))x¯L0(BS)).

When we say that a 𝐒𝐭𝐚𝐛Γ(S)-symmetric function f has a B-period, we mean that for every α:X[n]L0(BS){0,1} that is constant on XL0(v) for each vS, and constant on X[n]L0(B), the function fα(x¯L0(BS)) has a B-period.

Now let gV(C) be a gate and let Γ𝐒𝐭𝐚𝐛𝐀𝐮𝐭(𝒯n𝒌)(g). By the definition of supB(g), we know that for every π𝐒𝐭𝐚𝐛𝐒𝐲𝐦(B)(S), there is a σ𝐒𝐭𝐚𝐛𝐀𝐮𝐭(𝒯n𝒌)(g) that fixes the set B setwise and satisfies σ|B=π. Therefore, Γ has the properties we are assuming in the above paragraph. The function g(x¯) computed by g is always Γ-symmetric by Lemma 4. Because 𝐒𝐭𝐚𝐛Γ(supB(g))Γ, it is also 𝐒𝐭𝐚𝐛Γ(supB(g))-symmetric. So when we say that g(x¯) has a B-period of length at most , we mean that gα(x¯L0(BS)) has such a period for every α:X[n]L0(BsupB(g)){0,1} that is constant on each XL0(v) for each vsupB(g), and constant on X[n]L0(B). Now the technical lemma that we want to show reads as follows.

Lemma 18.

Let B(𝒯n𝐤) be a block of size kj(n), for some j[h]. Let s: be a function in o(n). Fix a number m. Let (Cn)n be a family of 𝐀𝐮𝐭(𝒯n𝐤)-symmetric rigid MODm-circuits such that maxSupB(Cn)<s(kj(n)) for all n. Let g be a gate in Cn and let Γ𝐒𝐭𝐚𝐛𝐀𝐮𝐭(𝒯n𝐤)(g). Then the 𝐒𝐭𝐚𝐛Γ(supB(g))-symmetric function g(x¯) has a B-period of length at most

q(m,s)mi[r]pilogpi(s(kj(n))),

where the product ranges over the prime factors p1,,pr of m.

Corollary 19.

In the setting of Lemma 18, the 𝐀𝐮𝐭(𝒯n𝐤)-symmetric function computed at the output gate of Cn has a B-period of length at most ms(kj(n))r, where r denotes the number of distinct prime divisors of m.

The proof of Lemma 18 is analogous to the proof of Lemma 12, where we essentially “zoom in” on the group 𝐒𝐲𝐦(B) instead of performing the calculation for the symmetry group 𝐒𝐲𝐦n. Details can be found in [29].

Proof of Theorem 14.

Assume the setting of Theorem 14, so in particular, maxSupB(Cn)<(|B|/m)1/r for some block B(𝒯n𝒌). By Corollary 19, the 𝐀𝐮𝐭(𝒯n𝒌)-symmetric function computed by Cn has a B-period of length at most m((|B|/m)1/r)r=|B|. But then, this function cannot be ANDn by Lemma 17.

5 Symmetric circuit upper bounds

In this section, we present the upper bound constructions matching the lower bounds in Theorem 1 and Theorem 2. The fully symmetric depth-2 construction for Theorem 1 is entirely due to [24] and we include a summary of their proof for completeness in Section 5.1. The construction for Theorem 2 in Section 5.2 does not appear elsewhere in the literature but it is simply a recursive application of the depth-2 construction. In [24], a similar but more sophisticated recursive construction is presented, leading to a smaller depth at the cost of greater asymptotic size. Our construction here is a more naive variant of this, which is possibly not depth-optimal, but matches the size lower bound from Theorem 2.

5.1 Fully symmetric depth-2 construction

Theorem 20 ([24, Proposition 3.1]).

Fix m with at least r2 distinct prime divisors of m. For every n, there is a 𝐒𝐲𝐦n-symmetric depth-2 MODm-circuit with 2𝒪(n1/rlogn) gates which computes ANDn.

This symmetric construction was first provided for depth-3 circuits by Barrington, Beigel and Rudrich [2], and improved to depth 2 by Idziak, Kawałek, Krzaczkowski [24], and independently by Chapman and Williams [6]. We outline the proof from [24]. The main building block is what the authors call pq-expressions.

Definition 21 (pq-expressions).

Let p,q be two distinct primes. Let n. Let b:pq be the function that maps 0 to 0 and every xp{0} to 1q. An n-ary pq-expression is of the form

βpn,cαβ,cb(i=1nβixi+cmodp)modq,

where the coefficients αβ,c are in q, the outer sum and the multiplications with the αβ,c are evaluated in q, while the expression inside b is evaluated in p.

It is straightforward to see that pq-expressions can be computed by modular counting circuits of depth 2, in a certain sense: Since the output of any MODmR-gate is always Boolean, and the result of a pq-expression is in q, the only way in which we can realise such expressions as MODm-circuits is to have multiple output wires. The semantics is that the sum over the output wires modulo q is equal to the result of the pq-expression. Such a MODm-circuit with a set of designated output wires that are to be interpreted as a sum in q is called a MODm-circuit of output type q henceforth. The depth of a circuit of output type q refers to the maximum number of wires along any path, so the layer consisting of the output wires counts towards the depth. With this definition it is straightforward to write pq-expressions as modular circuits:

Lemma 22.

Let p,q,m be integers such that m has p and q as prime factors. Every pq-expression can be realised by a depth-2 MODm-circuit of output type q.

For a Boolean assignment β to variables x1,,xn, we write β(x¯) for the tuple (β(x1),,
β(xn)). By |β(x¯)|0, we denote the number of 0s in this tuple. A particular pq-expression that is central for the proof of Theorem 20 is the following.

Lemma 23.

Let ν and let q be a prime. The function tqν(x1,,xn) which satisfies for all β:{x1,,xn}{0,1}:

tqν(β(x¯)){0 if |β(x¯)|0 is divisible by qν1 else

is expressible as a pq-expression, for every prime pq. Moreover, for every m that has p and q as prime factors, this pq-expression can be realised as a depth-2 𝐒𝐲𝐦n-symmetric circuit of output type q and of size at most 2𝒪(qνlogn).

Proof.

This follows from [24, Lemma 3.5]. The fact that the circuit can be realised in a 𝐒𝐲𝐦n-symmetric way is not stated explicitly there, but can be seen by inspection of the proof. To be precise, the proof of [24, Fact 3.4] shows that tqν is effectively expressed as a linear combination of elementary symmetric polynomials. Each of these polynomials is by definition 𝐒𝐲𝐦n-symmetric, and this carries over to the pq-expression representing them.

To prove the upper bound result, we summarise the proof of [24, Proposition 3.1]:

Proof of Theorem 20.

Let p1,,pr be the prime factors of m. Fix integers ν1,,νr such that for each j[r], we have pjνj1n1/r<pjνj. Let

T(x¯)j=1rmpjtpjνj(x¯)modm.

One can show that T(β(x¯))=0 if and only if β(xi)=1 for every i[n]: If all β(xi) are equal to 1, then |β(x¯)|0=0 is divisible by every prime power, so each tpjνj will evaluate to 0, and hence T(β(x¯))=0. Conversely, assume that T(β(x¯))=0. This can only be the case if for all j[r], tpjνj(β(x¯))=0. Then |β(x¯)|0 is divisible by j[r]pjνj>n. Since |β(x¯)|0n, it follows that |β(x¯)|0=0, which is what we had to show.

By Lemma 23, each tpjνj can be expressed as a depth-2 𝐒𝐲𝐦n-symmetric MODm-circuit Cj of output type pj and of size at most 2𝒪(n1/rlogn). Thus, to compute ANDn, we connect the outgoing wires of the depth-2 symmetric circuits C1,,Cr to an output gate MODm{0} that sums up the values tpjνj modulo m, with the respective coefficients mpj realised by appropriate wire multiplicities, and outputs 1 if and only if T(β(x¯))=0. Let this circuit be C. Recall that we defined the depth of a modular circuit of output type q in such a way that it includes its outgoing wires. Thus, the outgoing wires of the Cj are already accounted for in their depth, and adding one more output gate on top does not increase the depth of the resulting circuit. Hence, C also has depth 2.

5.2 Nested block-symmetric construction

Now we present the construction that achieves the upper bound in Theorem 2. It simply applies Theorem 20 to recursively compute the AND over each block defined by the tree 𝒯n𝒌.

Theorem 24.

Let m be a number with r2 distinct prime factors. Fix an h and an h-tuple 𝐤=(k1(n),,kh(n)) such that i[h]ki(n)=n for all n. Let kmax(n)maxi[h]ki(n). For every n there is an 𝐀𝐮𝐭(𝒯n𝐤)-symmetric MODm-circuit Cn of size 2𝒪(kmax(n)1/rlogkmax(n)) and depth 2h that computes ANDn.

Proof.

The inductive circuit construction follows the structure of 𝒯n𝒌. Recall that the tree 𝒯n𝒌 defines a set (𝒯n𝒌) of blocks of siblings in the tree. The AND over each such block can be computed via a circuit from Theorem 20. Below is a schematic visualisation of the top two levels of 𝒯n𝒌 where ki(n)=n1/h for each i[h].

Figure 1: An n1/h-ary tree of depth h.

Each blue cone in this picture corresponds to a block B(𝒯n𝒌). On the level of leaves, such a block is a subset of the input variables of size n1/h. A block B on a higher level bundles n1/h blocks from the level below. In this example, our circuit will contain one instance of the ANDn1/h-circuit from Theorem 20 for each B(𝒯n𝒌). The output of such a circuit will be the AND over L0(B), that is, the set of all input variables that sit below the block B.

Formally, we construct our ANDn-circuit by induction from level 0 to h of 𝒯n𝒌: On level 0, every block B(𝒯n𝒌) is a subset of leaves. For each such B, we invoke Theorem 20 to obtain a 𝐒𝐲𝐦(B)-symmetric circuit CB that computes the AND over all variables xi with iB.

Next, we consider an arbitrary level i>0 and assume by induction that for all blocks B(𝒯n𝒌) with BLi1, a circuit CB with the following properties has been constructed:

  1. 1.

    CB computes the AND over all variables xi such that iL0(B).

  2. 2.

    CB is symmetric under the subgroup of 𝐀𝐮𝐭(𝒯n𝒌) that stabilises B setwise.

Now let B(𝒯n𝒌) be a block with BLi. To obtain the circuit CB for this block, we invoke Theorem 20 on the outputs of the circuits CB for all blocks B=B(v) for every node v that is a child of some node in B. That is, CB simply computes the AND over the results of all the blocks on level i1 that are bundled in B. It is not difficult to check that this circuit CB again satisfies the two properties above (using the fact that the construction from Theorem 20 is symmetric). For the unique block B on level h1, the circuit CB is the desired 𝐀𝐮𝐭(𝒯n𝒌)-symmetric circuit that computes the AND over all n input variables. The total depth of the construction is 2h because the circuit from Theorem 20 has depth 2, and we use this on h levels. For each block, the subcircuit that Theorem 20 gives us has size at most 2𝒪(kmax(n)1/rlogkmax(n)). The number of blocks is |(𝒯n𝒌)|n, so the total size of the constructed circuit is at most n2𝒪(kmax(n)1/rlogkmax(n))=2𝒪(kmax(n)1/rlogkmax(n)+logn). The additive logn term vanishes in the 𝒪 because kmax(n)n1/h.

6 Concluding remarks

Using a clean group-theoretic framework, we have determined the exact size complexity of ANDn for fully symmetric and nested block-symmetric CC0-circuits. For fully symmetric circuits, it turns out that the depth-2 construction from [24] is already optimal. For nested block-symmetric circuits, the optimal size is achieved by recursively nesting that construction. This approach is of course somewhat naive, and we know from [24, Proposition 4.3] that one can in fact compress its depth down to h+1. This is done via a trick that lets the authors chain consecutive pq-expressions together without explicitly having to compute the AND over each block. Strangely, the implementation of this trick in [24, Proposition 4.3] achieves only 1/(r1) in the exponent of the circuit size, rather than (1/r), which we have shown to be optimal for symmetric circuits. After a thorough examination of the depth reduction trick, it seems that this increase in size is perhaps inherent and cannot be avoided if one wishes to achieve a lower depth than 2h. Thus, our results motivate further efforts to improve the size of the depth-(h+1) construction, or to show that this is impossible (at least under symmetry assumptions).

Beyond that, we hope that our techniques will provide a basis for proving lower bounds under even less restrictive symmetry assumptions in the future, so that one day, the 30 year old problem CC0 versus ACC0 may be settled.

References

  • [1] Matthew Anderson and Anuj Dawar. On Symmetric Circuits and Fixed-Point Logics. Theory of Computing Systems, 60(3):521–551, 2017. doi:10.1007/s00224-016-9692-2.
  • [2] David A. Mix Barrington, Richard Beigel, and Steven Rudich. Representing Boolean functions as polynomials modulo composite numbers. Computational Complexity, 4:367–382, 1994. doi:10.1007/BF01263424.
  • [3] David A. Mix Barrington, Howard Straubing, and Denis Thérien. Non-uniform automata over groups. Information and Computation, 89(2):109–132, 1990. doi:10.1016/0890-5401(90)90007-5.
  • [4] Andreas Blass, Yuri Gurevich, and Saharon Shelah. Choiceless polynomial time. Annals of Pure and Applied Logic, 100(1-3):141–187, 1999. doi:10.1016/S0168-0072(99)00005-6.
  • [5] Joshua Brakensiek, Sivakanth Gopi, and Venkatesan Guruswami. Constraint Satisfaction Problems with Global Modular Constraints: Algorithms and Hardness via Polynomial Representations. SIAM Journal on Computing, 51(3):577–626, 2022. doi:10.1137/19M1291054.
  • [6] Brynmor Chapman and R. Ryan Williams. Smaller ACC0 circuits for symmetric functions. In 13th Innovations in Theoretical Computer Science Conference, ITCS 2022, volume 215 of LIPIcs, pages 38:1–38:19. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPIcs.ITCS.2022.38.
  • [7] Arkadev Chattopadhyay, Navin Goyal, Pavel Pudlak, and Denis Therien. Lower bounds for circuits with MODm gates. In 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS’06), pages 709–718, 2006. doi:10.1109/FOCS.2006.46.
  • [8] Anuj Dawar, Benedikt Pago, and Tim Seppelt. Symmetric Algebraic Circuits and Homomorphism Polynomials, 2025. doi:10.48550/arXiv.2502.06740.
  • [9] Anuj Dawar, Benedikt Pago, and Tim Seppelt. Symmetric Algebraic Circuits and Homomorphism Polynomials. In 17th Innovations in Theoretical Computer Science Conference (ITCS 2026), 2026. doi:10.4230/LIPIcs.ITCS.2026.46.
  • [10] Anuj Dawar and Gregory Wilsenach. Symmetric Arithmetic Circuits. In 47th International Colloquium on Automata, Languages, and Programming, ICALP 2020, volume 168 of LIPIcs, pages 36:1–36:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPIcs.ICALP.2020.36.
  • [11] Anuj Dawar and Gregory Wilsenach. Lower Bounds for Symmetric Circuits for the Determinant. In 13th Innovations in Theoretical Computer Science Conference, ITCS 2022, January 31 - February 3, 2022, Berkeley, CA, USA, volume 215 of LIPIcs, pages 52:1–52:22, 2022. doi:10.4230/LIPIcs.ITCS.2022.52.
  • [12] Anuj Dawar and Gregory Wilsenach. Symmetric Arithmetic Circuits, 2024. arXiv:2002.06451.
  • [13] Zeev Dvir, Parikshit Gopalan, and Sergey Yekhanin. Matching Vector Codes. SIAM Journal on Computing, 40(4):1154–1178, 2011. doi:10.1137/100804322.
  • [14] Zeev Dvir and Sivakanth Gopi. 2-Server PIR with Sub-Polynomial Communication. In Proceedings of the Forty-Seventh Annual ACM Symposium on Theory of Computing, STOC ’15, pages 577–584, 2015. doi:10.1145/2746539.2746546.
  • [15] Prateek Dwivedi, Benedikt Pago, and Tim Seppelt. Lower Bounds in Algebraic Complexity via Symmetry and Homomorphism Polynomials, 2026. To appear at STOC 2026. doi:10.48550/arXiv.2601.09343.
  • [16] Klim Efremenko. 3-Query Locally Decodable Codes of Subexponential Length. SIAM Journal on Computing, 41(6):1694–1703, 2012. doi:10.1137/090772721.
  • [17] Parikshit Gopalan. Constructing Ramsey graphs from Boolean function representations. Comb., 34(2):173–206, 2014. doi:10.1007/S00493-014-2367-1.
  • [18] Vince Grolmusz. Superpolynomial size set-systems with restricted intersections mod 6 and explicit Ramsey graphs. Combinatorica, 20(1):71–86, 2000. doi:10.1007/s004930070032.
  • [19] Vince Grolmusz. A degree-decreasing lemma for (MODp-MODm) circuits. Discrete Mathematics and Theoretical Computer Science, 4(2):247–254, 2001. doi:10.46298/dmtcs.289.
  • [20] Vince Grolmusz and Gábor Tardos. Lower bounds for (MODp-MODm) circuits. SIAM Journal on Computing, 29(4):1209–1222, 2000. doi:10.1137/S0097539798340850.
  • [21] Johan Håstad. Computational limitations for small depth circuits. PhD thesis, Massachusetts Institute of Technology, 1986.
  • [22] William He and Benjamin Rossman. Symmetric formulas for products of permutations. In 14th Innovations in Theoretical Computer Science Conference, ITCS 2023, January 10-13, 2023, MIT, Cambridge, Massachusetts, USA, volume 251 of LIPIcs, pages 68:1–68:23, 2023. doi:10.4230/LIPIcs.ITCS.2023.68.
  • [23] Paweł M. Idziak, Piotr Kawałek, and Jacek Krzaczkowski. Intermediate Problems in Modular Circuits Satisfiability. In Proceedings of LICS’20: 35th Annual ACM/IEEE Symposium on Logic in Computer Science, pages 578–590, 2020. doi:10.1145/3373718.3394780.
  • [24] Paweł M. Idziak, Piotr Kawałek, and Jacek Krzaczkowski. Complexity of modular circuits. In Proceedings of LICS ’22: 37th Annual ACM/IEEE Symposium on Logic in Computer Science, pages 32:1–32:11. ACM, 2022. doi:10.1145/3531130.3533350.
  • [25] Paweł M. Idziak, Piotr Kawałek, and Jacek Krzaczkowski. Nonuniform Deterministic Finite Automata over Finite Algebraic Structures. In 52nd International Colloquium on Automata, Languages, and Programming (ICALP 2025), volume 334 of Leibniz International Proceedings in Informatics (LIPIcs), pages 161:1–161:14, Dagstuhl, Germany, 2025. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ICALP.2025.161.
  • [26] Paweł M. Idziak, Piotr Kawałek, Jacek Krzaczkowski, and Armin Weiß. Satisfiability Problems for Finite Groups. In 49th International Colloquium on Automata, Languages, and Programming (ICALP 2022), volume 229 of LIPIcs, pages 127:1–127:20. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPIcs.ICALP.2022.127.
  • [27] Piotr Kawałek and Armin Weiß. Violating Constant Degree Hypothesis Requires Breaking Symmetry. In 42nd International Symposium on Theoretical Aspects of Computer Science (STACS 2025), volume 327 of Leibniz International Proceedings in Informatics (LIPIcs), pages 58:1–58:21, Dagstuhl, Germany, 2025. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.STACS.2025.58.
  • [28] Alexandre Laugier and Manjil Saikia. Periodic sequences modulo m, 2015. arXiv:1209.2371.
  • [29] Benedikt Pago. Optimal Lower Bounds for Symmetric Modular Circuits, 2026. doi:10.48550/arXiv.2604.04760.
  • [30] Roman Smolensky. Algebraic methods in the theory of lower bounds for Boolean circuit complexity. In Proceedings of the Nineteenth Annual ACM Symposium on Theory of Computing, STOC ’87, pages 77–82, New York, NY, USA, 1987. Association for Computing Machinery. doi:10.1145/28395.28404.
  • [31] Howard Straubing and Denis Thérien. A Note on MODp-MODm Circuits. Theory of Computing Systems, 39(5):699–706, 2006. doi:10.1007/s00224-004-1210-2.

Appendix A Details on symmetry groups and circuits

We first give a detailed proof of the claim that symmetric MODm-circuits can always be assumed to be rigid.

Lemma 25 (Rigidification).

Let Γ𝐒𝐲𝐦n. If C is a Γ-symmetric circuit MODm-circuit, then there exists a rigid Γ-symmetric MODm-circuit C that computes the same function as C and satisfies |C||C|.

Proof.

We construct C by merging equivalent gates in C. It may be necessary to repeat the following procedure more than once to accomplish rigidity. Formally, we define C and a surjective map δ:V(C)V(C) inductively from the input gates of C to the root. The map δ keeps track of which gates of C have been merged into which gates of C and just simplifies the presentation. Let 𝐒𝐭𝐚𝐛in𝐒𝐲𝐦(V(C)) denote the group consisting of all circuit automorphisms of C that fix every input gate of C. As long as C is not rigid, there is at least one 𝐒𝐭𝐚𝐛in-orbit of gates that is not a singleton set.

By our convention, for every variable, there is a unique input gate with that label in C, so input gates never violate rigidity. Thus, we let the input gates of C be the same as in C, and define δ as the identity map on them. Now assume by induction that we have constructed C and δ up to layer d. We describe the construction on layer d+1. Let Vd+1V(C) be the set of gates in layer d+1. For each 𝐒𝐭𝐚𝐛in-orbit OVd+1, we introduce a new gate gO in layer d+1 of C, and we let δ(g)gO for every gO. The operation type of gO is the same as that of each gate in O.

To define the connections between layer d+1 and layer d in C, we first note:

Claim 26.

Let g,gV(C) be in the same 𝐒𝐭𝐚𝐛in-orbit. Then there is a bijection γ:gE(C)gE(C) such that for each hgE(C), h and γ(h) are in the same 𝐒𝐭𝐚𝐛in-orbit.

Proof.

Since g,g are in the same orbit, there exists π𝐒𝐭𝐚𝐛in such that π(g)=g, and the action of π on gE(C) defines a bijection γ:gE(C)gE(C) with the claimed property. By the claim, for any two gates g,gO, it holds that {δ(h)hgE(C)}={δ(h)hgE(C)}. Therefore we can pick an arbitrary gO and define the set of children of gO in C as

gOE(C){δ(h)hgE(C)}.

For each child δ(h) of gO in C, we let the multiplicity of the edge between gO and δ(h) be defined as follows. Let m(g,h) denote the multiplicity of the edge between g and h in C. Then in C, the multiplicity of the edge (gO,δ(h)) is

hδ1(δ(h))gEm(g,h).

This finishes the construction of C. Note that by construction, two gates g1,g2V(C) are in the same 𝐒𝐭𝐚𝐛in-orbit if and only if δ(g1)=δ(g2). Clearly, |C||C|.

Claim 27.

C computes the same function as C.

Proof.

We show by induction that for every gate gV(C), δ(g) computes the same function as g. For the input gates this is clear. Now consider the inductive step for layer d+1. Let gV(C) be a gate on layer d+1, labelled with the operation MODmR, and let h1,,hk be its children in C. Then it computes

g(x¯)={1 if (i[k]m(g,hi)hi(x¯)modm)R0 otherwise

Now the children of δ(g) in C are defined as the δ-images of the children of some gate g in the same orbit of g that was used in the construction. Hence, there exists a π𝐒𝐭𝐚𝐛in that maps g to g and the children of g to the children of g (preserving edge multiplicities). It is generally true for every π𝐒𝐭𝐚𝐛in and any hV(C) that π(h) and h compute the same function. Thus, we have

i[k]m(g,hi)hi(x¯) =i[k]m(g,hi)π(hi)(x¯)
=i[k]m(g,hi)δ(π(hi))(x¯),

where the last equality holds by induction hypothesis. In the construction of C, the edge multiplicities between δ(g)=δ(g) and its children {δ(π(hi))i[k]} are chosen such that δ(g) indeed computes the above sum modulo m, and checks for membership in R. This finishes the inductive step.

Claim 28.

Every πΓ extends to a circuit automorphism of C, that is, C is Γ-symmetric.

Proof.

Let πΓ. Since C is Γ-symmetric, there is an automorphism σ of C that π extends to. The σ-image of every 𝐒𝐭𝐚𝐛in-orbit OV(C) is again a 𝐒𝐭𝐚𝐛in-orbit. Thus, we can define a bijection σ:V(C)V(C) by setting σ(gO)gσ(O) for every 𝐒𝐭𝐚𝐛in-orbit OV(C). By construction of C and because σ is an automorphism of C, σ is an automorphism of C. The construction is iterated until the resulting circuit C is rigid, which has to happen at some point, because as long as there is a non-singleton 𝐒𝐭𝐚𝐛in-orbit, the construction strictly reduces the number of gates.

Lemma 4. [Restated, see original statement.]

Let C be a Γ-symmetric rigid circuit, for Γ𝐒𝐲𝐦n. Let δ:{x1,,xn}{0,1} be an assignment to the variables, let gV(C) be a gate, and let πΓ. Then

g(δ(x1),,δ(xn))=π(g)(δ(π1(x1)),,δ(π1(xn))).
Proof.

By induction on the circuit structure. Let g be an input gate labelled with a variable xi. Let jπ(i). Then gπ(g) is an input gate labelled with xj. It holds g(δ(x1),,δ(xn))=δ(xi) and g(δ(x1),,δ(xn))=δ(xj). In other words, g(x1,,xn) is the i-th projection, and g(x1,,xn) is the j-th projection. So, as desired, we have

g(δ(x1),,δ(xn))=δ(xi)=g(δ(π1(x1)),,δ(π1(xn))).

For the inductive step, let g be an internal gate of the circuit and assume that the statement holds for all children of g. Let h1,,hk denote the children of g. Let f denote the operation computed by g, which is the same as the operation of π(g). The proof works for every fully symmetric operation f, in particular for f=MODmR. Then

g(δ(x1),,δ(xn)) =f(h1(δ(x1),,δ(xn)),,hk(δ(x1),,δ(xn)))
=f(π(h1)(δ(π1(x1)),,δ(π1(xn))),,π(hk)(δ(π1(x1)),,
δ(π1(xn))))=π(g)(δ(π1(x1)),,δ(π1(xn))).

The second equality is the induction hypothesis for h1,,hk. The third equality is true because the gate π(g) computes f applied to the outputs of the gates π(h1),,π(hk), and the order of the arguments of f is irrelevant by symmetry.

Lemma 6. [Restated, see original statement.]
  1. 1.

    Let n>8 and C be a 𝐒𝐲𝐦n-symmetric rigid circuit. Let k be such that 1kn4 and maxOrb𝐒𝐲𝐦n(C)(nk). Then for every gV(C), 𝐒𝐭𝐚𝐛𝐒𝐲𝐦n(g) has a support of size less than k.

  2. 2.

    Let C be an 𝐀𝐮𝐭(𝒯n𝒌)-symmetric rigid circuit, for some h-tuple 𝒌 such that kminmini[h]ki(n)>8. For every block B(𝒯n𝒌), let kB be such that 1kB|B|4 and maxOrb𝐒𝐭𝐚𝐛(B)(C)(|B|kB). Then for every gV(C), 𝐒𝐭𝐚𝐛𝐀𝐮𝐭(𝒯n𝒌)(g) has a B-support SB with |S|<kB.

Proof.

The first result is stated in [12, Theorem 14] for Boolean circuits symmetric under the action of 𝐒𝐲𝐦n on variables 𝒳{xiji,j[n]}. The symmetric circuits we consider here can be viewed as circuits in the variables {xiii[n]}𝒳, and thus, [12, Theorem 14] also applies here (the particular operation type of the gates is irrelevant for this).

With some more work, (2) follows from (1). Fix a gate gV(C). We can assume that g is an internal gate, as for input gates, there always exists a B-support of size 0 or 1, depending whether the index of the variable that g is labelled with is in B or not. Let B(𝒯n𝒌). Define a new circuit CB from C as follows. Remove all input variables xi such that iL0(B). Then, for every vB, identify all input gates labelled with variables xi, for every iL0(v). This leaves us with a circuit with one input variable for every vB. By Lemma 25, we may again assume that it is rigid. This is the circuit CB. The original circuit C is in particular symmetric under 𝐒𝐭𝐚𝐛(B), the setwise stabiliser of B in 𝐀𝐮𝐭(𝒯n𝒌); hence CB is also 𝐒𝐭𝐚𝐛(B)-symmetric. The action of 𝐒𝐭𝐚𝐛(B) on B is that of 𝐒𝐲𝐦(B), so CB can really be seen as a 𝐒𝐲𝐦(B)-symmetric circuit. By the assumption on orbit size in (2), maxOrb𝐒𝐲𝐦(B)(CB)(|B|kB), and we have assumed that 1kB|B|4. Moreover, we are assuming that |B|>8. Hence, (1) can be applied to CB, where we just rename B to [n]. This means that in CB, the gate g has a support SB of size at most kB. We now show that this is also a B-support of g in C. We have to show that

𝐒𝐭𝐚𝐛𝐒𝐲𝐦(B)(S)𝐒𝐭𝐚𝐛𝐀𝐮𝐭(𝒯n𝒌)(g)|B.

So let π𝐒𝐭𝐚𝐛𝐒𝐲𝐦(B)(S) and choose an arbitrary σ𝐀𝐮𝐭(𝒯n𝒌) that fixes B setwise and permutes the elements of B according to π. Since C is 𝐀𝐮𝐭(𝒯n𝒌)-symmetric, σ extends to a circuit automorphism θC of C. This also induces a circuit automorphism θCB𝐒𝐲𝐦(V(CB)) of CB, which behaves like θC on the internal gates (noting that except for the input gates and the connections to them, C and CB are identical circuits). Now by definition of support, θCB fixes g: Indeed, θCB acts on the inputs of CB as π, and π fixes the support S of g pointwise. But since θCB and θC agree on g, also θC(g)=g. Hence, σ𝐒𝐭𝐚𝐛𝐀𝐮𝐭(𝒯n𝒌)(g), and its restriction to B is π, so π𝐒𝐭𝐚𝐛𝐀𝐮𝐭(𝒯n𝒌)(g)|B, which is what we had to show.