Nonuniform Deterministic Finite Automata
over Finite Algebraic Structures
Abstract
Nonuniform deterministic finite automata (NUDFA) over monoids were invented by Barrington in [2] to study boundaries of nonuniform constant-memory computation. Later, results on these automata helped to identify interesting classes of groups for which equation satisfiability problem () is solvable in (probabilistic) polynomial time [13, 26]. Based on these results, we present a full characterization of groups, for which the identity checking problem (called ) has a probabilistic polynomial-time algorithm. We also go beyond groups, and propose how to generalise the notion of NUDFA to arbitrary finite algebraic structures. We study satisfiability of these automata in this more general setting. As a consequence, we present a full description of finite algebras from congruence modular varieties for which testing circuit equivalence can be solved by a probabilistic polynomial-time procedure. In our proofs we use two computational complexity assumptions: randomized Expotential Time Hypothesis and Constant Degree Hypothesis.
Keywords and phrases:
program satisfiability, circuit equivalence, identity checkingCategory:
Track B: Automata, Logic, Semantics, and Theory of ProgrammingFunding:
Piotr Kawałek: This research was funded in whole or in part by National Science Centre, Poland #2021/41/N/ST6/03907. For the purpose of Open Access, the author has applied a CC-BY public copyright licence to any Author Accepted Manuscript (AAM) version arising from this submission. Funded by the European Union (ERC, POCOCOP, 101071674). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.For the purpose of Open Access, the author has applied a CC-BY public copyright licence to any Author Accepted Manuscript (AAM) version arising from this submission.
Copyright and License:
![[Uncaptioned image]](x1.png)
2012 ACM Subject Classification:
Theory of computation Design and analysis of algorithms ; Theory of computation Complexity classesAcknowledgements:
The second and third authors would like to express their deep gratitude to Paweł Idziak, who passed away during the preparation of this paper. It was thanks to him that we met and collaborated for many years on problems related to satisfiability and equivalence in finite algebraic structures. His contributions to Algebra, Logic, and Computer Science will be remembered by many. Rest in peace, Paweł.Editors:
Keren Censor-Hillel, Fabrizio Grandoni, Joël Ouaknine, and Gabriele PuppisSeries and Publisher:

1 Introduction
There are many interactions between mathematics and (theoretical) computer science. Many branches of these sciences influence each other, sometimes in quite surprising ways. A relatively recent example of such an influence is the so-called algebraic approach to Constraint Satisfaction Problem (CSP) which led to a complete classification of computational complexity of CSP [8, 36]. It is really impressive how in this case (universal) algebra, combinatorics, logic, computational complexity and algorithmic work together to give new results in each of these fields.
Another example of synergy between different fields of mathematics and theoretical computer science can be observed on the borderline of circuit complexity, automata theory and (universal) algebra. The most significant example here is the role of monoids played in automata theory and formal languages.
Usually a deterministic finite automaton (DFA) is determined by an alphabet acting over a set of states by a function . This action can be extended (in an obvious way) to the action of the free monoid . To decide if a word is accepted by a particular DFA we need to endow it with a starting state and a set of accepting states. Then gets accepted if . For our purposes we prefer, first to treat the set of functions as the monoid with , and then to treat the action as a function given by . Now, the word gets accepted if , where consists of transitions determined by the words satisfying .
Before restating Barrington’s definition of Non-uniform Deterministic Finite Automata (NUDFA) over monoids [3] we note that is nothing else but , where . In a NUDFA over the monoid to accept the word from we are going to relax the term to an arbitrary semigroup term and replace one action by a bunch of functions , one for each variable of . Now a -program (with inputs from represented by an -variable word ) consists of:
-
a set of -instructions, one for each variable of , of the form , where is one of the variables ,
-
and a set of accepting values.
Finally, a NUDFA over is a sequence (possibly even nonrecursive) of programs
with being some terms of ,
and being the instructions for the variables of .
A word gets accepted by such a NUDFA if
.
Example 1.
Let , and for every let
-
,
-
, where
-
.
Now, to determine the language accepted by the NUDFA consisting of the sequence of programs note that is the sum of:
-
values , where is the number of occurrences of letters ’a’ and ’b’ in the input word,
-
values , where is the number of occurrences of letters ’b’ and ’c’ in the input word,
-
some number of values .
This sum is equal , and hence the word is accepted by the NUDFA, iff the following holds:
-
parities of the numbers of occurrences of letters ’a’ and ’b’ in word are equal,
-
parities of the numbers of occurrences of letters ’b’ and ’c’ in word are not equal.
Originally Barrington considered mainly the Boolean case where to study computational boundaries of non-uniform constant-memory computation. Such automata can be used to compute the Boolean functions of the form . They also give an interesting algebraic insight into the internal structure of the class [6]. Note that in the Boolean case the function is given by the pair of values . In such a case, for simplicity we write .
A natural question that arises here is whether the language accepted by a particular NUDFA over is nonempty. This problem reduces to:
-
: Decide if a given program over accepts at least one word.
The problem proved itself to be extremely useful in studying groups (and monoids) for which determining if an equation has a solution () is in P. In fact the proof of Goldmann and Russell in [13] that each nilpotent group has tractable modifies a polynomial time algorithm for . A study of connections between and for finite monoids is given in [5]. Recently a complete classification of finite groups with , together with its consequences for has been provided by Idziak, Kawałek and Krzaczkowski in [26].
Now the results of [26] allow us to complete the long term extensive investigations [9, 20, 17, 18, 11, 35, 25] on equivalence problem of polynomials (i.e. terms with some variables already evaluated) over finite groups.
The lower bound in our characterization relies on the randomized version of the Exponential Time Hypothesis (rETH), while the upper bounds explore the so-called Constant Degree Hypothesis (CDH). This hypothesis, introduced in [6], can be rephrased to state that for a fixed integer , a prime and an integer which is not just a power of , any 3-level circuit of the form requires exponential size to compute of arbitrary large arity (in which gates are in the input layer, gates are in the middle layer, and there is one gate in the output layer). The best known lower bound, due to Chattopadhyay et al. [10], for the size of computing is only superlinear. Much earlier CDH has been considered in many different contexts. Already in [6] the case , i.e. no layer, has been confirmed. Also restrictions put either on the number of used locally, or on the local structure of fragments, allowed Grolmusz and Tardos [15, 14] to confirm CDH. Very recently Kawałek and Weiß [30] confirmed CDH for symmetric circuits.
In this paper, under these two complexity hypotheses (i.e. rETH and CDH), the characterization of finite groups with tractable from [26] is applied to obtain an unexpectedly different characterization for tractable .
Theorem 1.1.
Let be a finite group. Assuming rETH and CDH the problem is in coRP if and only if is solvable and has a nilpotent normal subgroup with the quotient being also nilpotent.
A surprising part of these investigations is that such characterization can not only be done, but that it can be stated, in terms of algebraic structure of the groups. In fact this reveals another connection between (universal) algebra and circuit complexity theory.
The goal of this paper is to leave the group realm and generalize ˜1.1 to a much broader setting of algebras. As we will see shortly this generalization is two-fold. First we generalize the concept of NUDFAs to cover automata working over arbitrary finite algebraic structure . This requires to define a program over and can be done by simply replacing the monoid by the algebra and assume that this time is a term of the algebra .
Second, in general algebraic context it is not clear which operations are to be chosen to be the basic ones.
And this choice may be extremely important from computational point of view.
Recall after [27], that adding the binary commutator operation
to the language of a group may exponentially shorten the size of the input.
Indeed the term has linear size if the commutator operation is allowed, while after writing this term in the pure group language (of multiplication and the inverse) we see that the size of is
, as
,
so that is exponential in .
Actually for the alternating group it is shown in [19] that
is in P, while after endowing with the commutator operation
(and therefore shortening the size of inputs) the problem becomes NP-complete.
A solution to this phenomenon has been proposed by Idziak and Krzaczkowski in [27] by presenting a term by the algebraic circuit that computes it.
For example can be computed by the circuit of size as shown by Figure 1.
Representing polynomials of an algebra with algebraic circuits leads to a modified version of which we explore in this paper.
-
: Decide if a given program over accepts at least one word, where is given by a circuit over .
Measuring the size of the input, i.e. the expression of the form by the lengths of the polynomials and or by the sizes of their algebraic circuits used to compute and give rise to either or in the satisfiability setting or to or in the equivalence setting. Note here that [27] argues that the complexity of and is independent of which term operations of the algebra are chosen to be the basic ones. This independence gives a hope for a characterization of algebras with tractable or in terms of algebraic structure of . Actually already a series of papers [21, 35, 23, 26, 27, 33] enforces a bunch of such necessary algebraic conditions for an algebra to have or tractable. Not surprisingly solvability and nilpotency are among these conditions.
To define these two notions of solvability and nilpotency outside the group realm we need a notion of a commutator. However we need to work with a commutator of two congruences (that in the group setting correspond to normal subgroups) instead of a commutator of elements of an algebra. For more details on the definition and the properties of commutator, we refer to the book [12] and Section 2. Here we only note that this concepts of commutator of congruences works smoothly only in some restricted setting of the so-called congruence modular varieties, i.e. equationally definable classes of algebras with modular congruence lattices. Fortunately this setting includes groups, rings, quasigroups, loops, Boolean algebras, Heyting algebras, lattices and almost all algebras related to logic. In groups, rings or Boolean/Heyting algebras the congruences are determined by normal subgroups, ideals or filters respectively. Obviously this new concept of commutator of normal subgroups coincides with the old one. The commutator of two ideals of a commutative ring is simply their algebraic product , while the commutator of filters in a Boolean/Heyting algebra is their intersection. Now we can say that a congruence is abelian, nilpotent or solvable if , or respectively (for some number of nested commutators). Here, is the identity relation/congruence of . The algebra itself is said to be abelian, nilpotent or solvable if the total congruence collapsing everything is abelian, nilpotent or solvable, respectively.
Note that, for nilpotent groups, Boolean programs (of NUDFAs) compute functions only of bounded arity, i.e. for each nilpotent group there is a constant such that is computable by no program over [6]. This nonexpressibility phenomenon does not transfer to nilpotent algebras in general congruence modular context. The most natural example here is the algebra , i.e. the group endowed with the unary operation computing the parity. In this algebra all the circuits of the form can be modeled so that can be expressed for all (however by exponential size of the circuits). This action of the prime acting over prime cannot occur in nilpotent groups. Indeed, due to the Sylow theorem, each finite nilpotent group is a product of -groups. This decomposition prevents interaction between different primes, as they occur on different stalks/coordinates. And the lack of such interactions is crucial in bounding the arity of expressible ’s. Also in our considerations the finite nilpotent algebras that decompose into a product of algebras of prime power order occur naturally. They are known as supernilpotent algebras [7, 1]. We will return to this concept of supernilpotent algebras and its relativization to supernilpotent congruences in Section 2.
Now we are ready to state the other two main results of the paper.
Theorem 1.2.
Let be a finite algebra from a congruence modular variety. Assuming rETH and CDH the problem is in RP if and only if is nilpotent and has a supernilpotent congruence with supernilpotent quotient and such that all cosets of have sizes that are powers of the same prime number .
Theorem 1.3.
Let be a finite algebra from a congruence modular variety. Assuming rETH and CDH the problem is in coRP if and only if is nilpotent and has a supernilpotent congruence with supernilpotent quotient .
Results from [26] that we use in the proof of ˜1.1 heavily rely on a method of representing terms/polynomials of finite solvable group by bounded-depth circuits that use only modular gates. Besides the obvious requirement that the circuit representing a group-polynomial has to compute the very same function as does, we also want to control the size of the circuit to be polynomial in terms of the size (length) of .
A very similar approach can be found in [32], where M. Kompatscher considers generalizations of finite nilpotent groups, i.e. nilpotent algebras from the congruence modular varieties. He provides a method to rewrite circuits over such algebras to constant-depth circuits which, again, use only modulo-counting gates. These modular circuits, which appear in both of the mentioned cases, are known as CC-circuits. However, since [32] does not use the notion of a program/NUDFA, the author formulates his results for circuits over representing only some specific functions. For those functions, it is natural how to interpret Boolean values in the non-Boolean algebra . In our paper, the notion of a program/NUDFA provides us with a formal framework which helps to relate the expressive power of algebraic structures to some standard circuit complexity classes. Here, we present a very precise characterization of functions computable by programs over algebras corresponding to polynomial-time cases of .
Theorem 1.4.
Let be a finite nilpotent algebra from a congruence modular variety with supernilpotent congruence of such that cosets of are of prime power size and is supernilpotent. Then the function computable by a Boolean program of size over the algebra can be also computed by an -circuits of size with being natural numbers depending only on , and being relatively prime to .
This theorem not only is an interesting result on its own, but also is crucial in proving ˜1.2 and 1.3. Quite a technical proof of ˜1.4 can be found in the full version of the paper on arXiv [24]. It combines advanced tools of commutator theory [12], as well as many combinatorial lemmas on how to compose / compress circuits using gates . This is in line (and in some parts extends) with some of the earlier works on these circuits (see for instance [14, 15, 22]).
2 Algebraic preliminaries
An algebra is a set called a universe together with a finite set of operations acting on it called basic operations of the algebra. We usually use boldface letter to denote the algebra and the very same letter, but with a regular font, to denote its universe. is the polynomial clone of , that is the set of all polynomial operations of . An algebra is polynomially equivalent to an algebra if it is isomorphic to an algebra which has the same set of polynomial operations as . An induced algebra is a set with all polynomial operations of closed on (or in other word polynomial operations that produce values in when applied to arguments from ). An idempotent function is a function such that .
In proofs of intractability of and for algebras from congruence modular varieties the crucial role is played by Tame Congruence Theory (see [16] for details). This is a deep algebraic tool describing local behavior of finite algebras. TCT shows that locally finite algebras behave in one of following five ways:
-
1.
a finite set with a group action on it,
-
2.
a finite vector space over a finite field,
-
3.
a two-element Boolean algebra,
-
4.
a two-element lattice,
-
5.
a two-element semilattice.
By , let us denote a subset of which describes the local behaviours we can find in an algebra . Note that in a case of algebra from a congruence modular variety only three types can appear in , that is types 2, 3 and 4. In case of types 3 and 4 there has to be a two-element set (whose elements we call and ) such that
-
there is a polynomial of fulfilling ,
-
there are polynomials of which behaves on like and ,
-
in case of type 3 there is also unary polynomial of which is a negation on .
If we can find type 3 or 4 in , the complexity of both and is relatively easy to determine, as we shall see in forthcoming chapters. For this reason the most of the volume of the paper is devoted to algebras with . In the congruence modular variety those are precisely the solvable algebras [12, 16]. In fact, some of the earlier papers already dealt with algebras that are solvable but not nilpotent, so we will be mostly concerned with the notion of nilpotency and its properties.
Every solvable (so in particular - nilpotent) algebra in the congruence modular variety is Malcev, i.e. it possesses a polynomial operation satisfying the following identity: . A standard example of Malcev algebras are groups with a Malcev term of the form . Unlike for groups, nilpotent algebras do not necessarily decompose into a direct product of algebras of prime power order. However, the technique contained in this paper splits an algebra into slices on which such nice decomposition can be observed.
To define this slicing properly, we need to consider congruences. Recall that congruence of an algebra is an equivalence relation which is preserved by the operations of . Such relations are naturally associated with surjective homomorphisms from to mapping to (equivalence class of in ), so congruences are essentially generalization of normal subgroups of a group. Similarly as normal subgroups, congruences of an algebra form a lattice. From now on, we write for the set of all congruences of . Every element of a finite lattice can be written as a meet (join) of meet-irreducible (join-irreducible) elements, i.e. elements which cannot be written as a meet (join) of any other two elements of the lattice. These special elements, generating , will play a significant role in our analysis.
For , by we mean a set of congruences such that . In case when , i.e. there are no congruences between and , we call a cover of , we call a subcover of , and we call a covering pair. To highlight such a situation we write for short. Whenever is meet-irreducible (join-irreducible) congruence, then there is a unique congruence () such that (). For a nilpotent algebra from a congruence modular variety whenever its congruences satisfy , the cosets (congruence classes) of in have equal sizes, being a power of some prime (this is a consequence of the results contained in the fifth and seventh chapters of [12]). We later denote this prime by and call it a characteristic of a congruence cover . Moreover for arbitrary , we write for the set of all possible prime characteristics of covering pairs, which are fully contained in . We say that a pair of congruences of a nilpotent algebra forms a Prime Uniform Product Interval (PUPI), if there are congruences such that
-
-
, for ,
-
For every we have .
We call a congruence supernilpotent whenever it is nilpotent and the interval is a PUPI, and we call an algebra supernilpotent, whenever is supernilpotent. Each supernilpotent algebra is isomorphic to a direct product of nilpotent algebras of prime power size. In this sense supernilpotence generalizes nilpotence for groups. Note that this definition is equivalent to a standard definition of supernilpotent algebras in congruence modular varieties [34].
We say that a nilpotent algebra has supernilpotent rank whenever is the smallest number for which we can find sequence of congruences such that interval is a PUPI for each . Note that for a finite nilpotent algebra we can always find such a finite sequence, since each covering pair forms a PUPI. This notion of supernilpotent rank of an algebra, later denoted by , proved to be extremely useful in some very recent results on the computation complexity of circuit satisfiability problem [21, 33]. In fact, results for we present in this paper, are essentially about nilpotent algebras with .
3 Polynomial equivalence
Our characterization of polynomial time cases of is achieved through a reduction to some special instances of . It was already noticed in [13] that for finite group reduces in polynomial time to . Very recently, the full characterization of groups for which can be solved in randomized polynomial time was shown under the assumptions of rETH and CDH in [26].
Theorem 3.1.
Let be a finite group. Assuming rETH and CDH the problem is in RP if and only if is nilpotent for some normal -subgroup of (with being prime).
Proof.
We start with recalling that [25, Theorem 1] tells us that under ETH, forces to have a normal nilpotent subgroup with nilpotent quotient . The very same proof actually gives the same structure of under rETH and .
For the converse we start by observing that the nilpotent normal subgroup of is a product of its Sylow subgroups, say with being a -group. Each such subgroup is isomorphic to the quotient for the normal subgroup of consisting of all elements in with the order not divisible by . In particular . Moreover for an inner automorphism of we have not only but also , as has to preserve the order of elements. This means that is normal also in .
Now we know that the quotient has a nilpotent normal subgroup with a nilpotent quotient . Thus CDH and Theorem 3.1 give us that and consequently are in RP. Consequently as deciding whether holds in reduces to check if none of the equations of the form , with has a solution.
Finally, tells us that an equation holds in iff it holds in all the quotients , so that .
4 Program satisfiability
The goal of this section is to prove ˜1.2. First we observe in ˜4.1 that if a nilpotent algebra has a Malcev term then and for this algebra reduce to . Thus, intractability of or implies intractability of and conversely if is in RP, then is in RP and is in coRP.
Fact 4.1.
For a finite nilpotent Malcev algebra the problems and are many-to-one reducible to and the complement of respectively.
Proof.
To prove the fact we start with fixing and enumerating to form . Using Malcev term we define the -ary polynomial by putting
Obviously . To see that the other ’s are in simply evaluate by and the rest of the ’s by .
Observe that if is a nilpotent algebra with a Malcev term and then, by [12, Lemma 7.3] we have iff . This immediately shows that in nilpotent Malcev algebras only equations of the form (i.e. equations in which one side is a constant polynomial) need to be considered in satisfiability or equivalence problems.
Thus we start with an instance of [or ] and define -ary polynomial
Due to we easily get that has a solution in [holds identically in ] iff has a solution with restricted to be taken from [or holds for all evaluations of the ’s in , respectively].
We define the reduction which for a given instance of [] in the form returns -ary Boolean -program (over the variables ) with the instructions . One can easily see that these reductions work, after setting the accepting values to be in case of , and for . In the proof of Theorem 1.2 we will use Fact 4.1 to show that, under our assumptions, nilpotent Malcev algebra with tractable has supernilpotent rank equal at most . We use advanced tools of Tame Congruence Theory and Commutator Theory to prove the following lemma which shows that not for every algebra with supernilpotent rank equal is tractable. The proof of the lemma can be found in the full version of the paper on arXiv [24].
Lemma 4.2.
Let be a finite nilpotent algebra from a congruence modular variety with and tractable .
Then has a supernilpotent congruence with cosets of prime power order such that quotient algebra is also supernilpotent, or rETH fails.
The important ingredient of the proof of above lemma is an idea of Barrington et al [4] heavily explored in [22] and [26] resulting in the following lemma.
Lemma 4.3.
Let be a prime number and be an integer. Then for each 3-CNF formula with variables there is a polynomial over of degree at most such that for all we have
Moreover, computing from can be done in steps.
The power of ˜4.3 can be observed when we use it simultaneously for two different primes, say and . Then if for a given 3-CNF formula with clauses we will choose positive integers , such that , we will get, by Chinese Remainder Theorem, that is satisfied by iff . Moreover, the lengths of and are subexponential in the size of . The core of the proof of ˜4.2 is showing (with heavilly use of Tame Congruence Theory and Commutator Theory) that if nilpotent Malcev algebra with supernilpotent rank has supernilpotent congruence which cosets are not of prime power size and such that is supernilpotent then we can simulate by programs over systems of equations in the form:
Now we are ready to prove ˜1.2
Proof of Theorem 1.2:.
We start with the following observation:
-
(4.1)
is NP-complete.
To see that we start with an -ary CNF-formula ,
treat it as a function , and convert to -ary program over the lattice
.
First, by introducing the variables and
we produce a new -ary formula
by simply replacing each positive literal by and negative literal by .
This leads to a function
and allows us to transform the formula
to the program
by putting and .
Using (4.1) we can exclude TCT types and
from the typeset so that:
-
(4.2)
Either is NP-complete or is solvable.
Actually we can force to be nilpotent. Indeed, Lemma 2.2 of [23] supplies us with an element and a partition of into two nonempty disjoint subsets which allows to associate (in linear time ) with a -CNF-formula (with clauses and variables) a -ary circuit(polynomial) of such that for and with we have
Thus fixing and we end up with a program over , where . This reduction from 3-CNF-SAT to shows that:
-
(4.3)
Either is NP-complete or is nilpotent.
To enforce that tractability of enforces to have supernilpotent rank we refer to [21], where gives a chain of primes occurring as characteristics in consecutive PUPI in . Moreover [21] shows how to use one alternation of characteristics to represent -ary by a polynomial/circuit of size , and further how to use two alternations of characteristics to compose such created -ary functions to represent -ary by a polynomial/circuit of size . From this one expects that under (r)ETH is not in (R)P if . In fact [21] provides examples of such algebras, while [33] contains a nice proof of this expectation. This, together with ˜4.1, gives us that:
-
(4.5)
If then there exists supernilpotent congruence of with cosets of prime power size and such that is supernilpotent, or (r)ETH fails.
Finally, let be a nilpotent algebra of supernilpotent rank having supernilpotent congruence of with costes of prime power size and such that is supernilpotent. In such the case programs over computing -ary functions have size at least , or (r)ETH and CDH fails. This is an immediate consequence of ˜1.4, for if not, the function computed by a program of size can be also computed by a -circuit of size for the constants depending only of the algebra . But then CDH tells us that , and therefore itself, has to dominate . Now, to prove that is in RP recall that the second part of [26, Proposition 9] tells that a set of binary words accepted by a program of size is either empty or has the size at least , for some constant . Thus checking at least random Boolean words of length finds a word accepted by the program (if there is one at all) with probability at least . This obviously puts into RP.
5 Circuit equivalence
In this section we will prove ˜1.3. To do it we will show that solving for an algebra can be reduced to solving the very same problem for quotients of by a meet-irreducible congruences. Obviously, every quotient algebra by a meet-irreducible congruence has the smallest congruence bigger than the identity relation. This observation plays a crucial role in the proof of ˜1.3.
Proof of ˜1.3.
First suppose that is tractable to eliminate types and from the . It should be obvious how to do it for type . For the lattice type we first note that the existence of a solution (in the two element lattice) to the systems of two equations of the form is NP-complete, where is in CNF and is in DNF, both with only positive literals. But obviously this system has no solutions iff holds identically in . To put this into the minimal set of type simply replace each variable by (where is an idempotent polynomial of with the range ) and the operations by the corresponding polynomials of turning into the two element lattice. This shows that (i.e. is solvable) or is co-NP-complete.
Now the discussion made in [23, Section 4] between Problems 2 and 3 shows that (under (r)ETH) in fact has to be nilpotent and that . This shows the “only if” direction of our theorem.
To prove the converse note that an identity holds in an algebra iff it holds in all quotients of by meet-irreducible congruences (as the intersection of all meet-irreducible congruences is the identity relation ). Let be a meet-irreducible congruence of . To complete the proof it suffices to show that (under CDH) .
Observe that if is nilpotent and then each quotient of has these two properties as well. Moreover, identity relation in (i.e. ) has the unique cover. Since congruence classes for covering pairs have equal sizes [12, Colloraly 7.5], it is clear from definition of supernilpotency that every supernilpotent congruences of has cosets of prime power sizes (as for every , if , then ). Therefore by ˜1.2, . Finally ˜4.1 gives us , as required.
6 Final Remarks
The Constant Degree Hypothesis plays a crucial role in our proofs of the existence of randomized polynomial-time algorithms. One can ask if this assumption is really needed. In fact, there are some unconditional results. For example very recent paper [29] shows that is in P whenever from a congruence modular variety is -nilpotent, i.e. it has abelian congruence with abelian quotient. Also supernilpotent algebras admit (unconditional) polynomial-time algorithm for / [1, 31, 27], and if we allow random bits the time complexity drops down to linear [28]. Unfortunately, it is not hard to construct for a given , , an algebra with supernilpotent rank equal such that functions computable by -circuit are exactly functions computable by, not too long, programs over . This, together with our results, shows that (under ETH) showing unconditional algorithms solving for algebras from congruence modular variety with supernilpotent rank equal is equivalent to proving CDH. Hence, the natural question is if CDH holds.
Problem 1.
Prove or disprove the Constant Degree Hyphothesis.
The natural next step in our investigations is to go outside of the congruence modular realm. The first problem in such a case is that Tame Congruence Theory and Commutator Theory (our heavily used tools) for arbitrary algebras do not work as well as for algebras from congruence modular varieties. Moreover [27, Example 2.8] shows that there is an algebra (not contained in congruence modular variety) and its congruence such that is in P, while is NP-complete. This suggests that we cannot expect a nice characterization of polynomial-time cases for outside congruence modular setting. On the other hand, we are not aware of any such examples for and . In fact we saw that the hardness of implies the hardness for . This gives hope for characterization of tractable cases of for general finite algebras.
Problem 2.
Characterize finite algebras with tractable /.
References
- [1] Erhard Aichinger and Nebojša Mudrinski. Some applications of higher commutators in Mal’cev algebras. Algebra universalis, 63(4):367–403, 2010. doi:10.1007/s00012-010-0084-1.
- [2] David A. Mix Barrington. Width-3 permutation branching programs. Technical Report TM-293, MIT Laboratory for Computer Science, 1985.
- [3] David A. Mix Barrington. Bounded-Width Polynomial-Size Branching Programs Recognize Exactly Those Languages in NC1. In Proceedings of the 18th Annual ACM Symposium on Theory of Computing (STOC’86), pages 1–5, 1986. doi:10.1145/12130.12131.
- [4] 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.
- [5] David A. Mix Barrington, Pierre McKenzie, Cristopher Moore, Pascal Tesson, and Denis Thérien. Equation Satisfiability and Program Satisfiability for Finite Monoids. In Proceedings of the 25th International Symposium on Mathematical Foundations of Computer Science (MFCS’2000), pages 172–181, 2000. doi:10.1007/3-540-44612-5_13.
- [6] 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.
- [7] Andrei Bulatov. On the number of finite Mal’tsev algebras. Contributions to general algebra, 13:41–54, 2000.
- [8] Andrei A. Bulatov. A Dichotomy Theorem for Nonuniform CSPs. In Proceedings of the 58th Annual IEEE Symposium on Foundations of Computer Science (FOCS’17), pages 319–330, 2017. doi:10.1109/FOCS.2017.37.
- [9] Stanley Burris and John Lawrence. Results on the equivalence problem for finite groups. Algebra Universalis, 52(4):495–500, 2005. doi:10.1007/s00012-004-1895-8.
- [10] Arkadev Chattopadhyay, Navin Goyal, Pavel Pudlak, and Denis Thérien. Lower bounds for circuits with MODm gates. In Proceedings of the 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS’06), pages 709–718, 2006. doi:10.1109/FOCS.2006.46.
- [11] Attila Földvári and Gábor Horváth. The complexity of the equation solvability and equivalence problems over finite groups. International Journal of Algebra and Computation, 30(03):607–623, 2020. doi:10.1142/S0218196720500137.
- [12] Ralph Freese and Ralph McKenzie. Commutator Theory for Congruence Modular Varieties. London Mathematical Society Lecture Notes, No. 125. Cambridge University Press, 1987.
- [13] Mikael Goldmann and Alexander Russell. The complexity of solving equations over finite groups. Information and Computation, 178(1):253–262, 2002. doi:10.1006/inco.2002.3173.
- [14] Vince Grolmusz. A degree-decreasing lemma for (MODp-MODm) circuits. Discrete Mathematics & Theoretical Computer Science, 4(2):247–254, 2001. doi:10.46298/dmtcs.289.
- [15] 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.
- [16] David Hobby and Ralph McKenzie. Structure of Finite Algebras. Contemporary Mathematics vol. 76. American Mathematical Society, 1988. doi:10.1090/conm/076.
- [17] Gábor Horváth. The complexity of the equivalence and equation solvability problems over nilpotent rings and groups. Algebra Universalis, 66(4):391–403, 2011. doi:10.1007/s00012-011-0163-y.
- [18] Gábor Horváth. The complexity of the equivalence and equation solvability problems over meta-Abelian groups. Journal of Algebra, 433:208–230, 2015. doi:10.1016/j.jalgebra.2015.03.015.
- [19] Gábor Horváth and Csaba Szabó. Equivalence and equation solvability problems for the alternating group . Journal of Pure and Applied Algebra, 216(10):2170–2176, 2012. doi:10.1016/j.jpaa.2012.02.007.
- [20] Gábor Horváth and Csaba A. Szabó. The complexity of checking identities over finite groups. International Journal of Algebra and Computation, 16(5):931–940, 2006. doi:10.1142/S0218196706003256.
- [21] Paweł M. Idziak, Piotr Kawałek, and Jacek Krzaczkowski. Intermediate Problems in Modular Circuits Satisfiability. In Proceedings of the 35th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS’20), pages 578–590, 2020. doi:10.1145/3373718.3394780.
- [22] Pawel M. Idziak, Piotr Kawałek, and Jacek Krzaczkowski. Complexity of Modular Circuits. In Proceedings of the 37th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS’22), pages 32:1–32:11, 2022. doi:10.1145/3531130.3533350.
- [23] Pawel M. Idziak, Piotr Kawałek, and Jacek Krzaczkowski. Satisfiability of circuits and equations over finite Malcev algebras. In Proceedings of the 39th International Symposium on Theoretical Aspects of Computer Science (STACS’22), pages 37:1–37:14, 2022. doi:10.4230/LIPIcs.STACS.2022.37.
- [24] Paweł M Idziak, Piotr Kawałek, and Jacek Krzaczkowski. Nonuniform deterministic finite automata over finite algebraic structures. arXiv eprint, 2025. arXiv:2501.12260. doi:10.48550/arXiv.2501.12260.
- [25] Pawel M. Idziak, Piotr Kawałek, Jacek Krzaczkowski, and Armin Weiß. Equation satisfiability in solvable groups. Theory of Computing Systems, 68:740–757, 2022.
- [26] Paweł M. Idziak, Piotr Kawałek, Jacek Krzaczkowski, and Armin Weiß. Satisfiability Problems for Finite Groups. In Proceedings of the 49th International Colloquium on Automata, Languages, and Programming (ICALP’22), volume 229, pages 127:1–127:20, 2022. doi:10.4230/LIPIcs.ICALP.2022.127.
- [27] Paweł M. Idziak and Jacek Krzaczkowski. Satisfiability in MultiValued Circuits. SIAM Journal on Computing, 51(3):337–378, 2022. doi:10.1137/18M1220194.
- [28] Piotr Kawałek and Jacek Krzaczkowski. Even Faster Algorithms for CSAT Over supernilpotent Algebras. In Proceedings of the 45th International Symposium on Mathematical Foundations of Computer Science (MFCS’20), volume 170, pages 55:1–55:13, 2020. doi:10.4230/LIPIcs.MFCS.2020.55.
- [29] Piotr Kawałek, Michael Kompatscher, and Jacek Krzaczkowski. Circuit equivalence in 2-nilpotent algebras. In Proceedings of the 41st International Symposium on Theoretical Aspects of Computer Science (STACS’24), volume 289, pages 45:1–45:17, 2024. doi:10.4230/LIPIcs.STACS.2024.45.
- [30] Piotr Kawałek and Armin Weiß. Violating Constant Degree Hypothesis Requires Breaking Symmetry. In Proceedings of the 42nd International Symposium on Theoretical Aspects of Computer Science (STACS’25), volume 327, pages 58:1–58:21, 2025. doi:10.4230/LIPIcs.STACS.2025.58.
- [31] Michael Kompatscher. The equation solvability problem over supernilpotent algebras with Mal’cev term. International Journal of Algebra and Computation, 28:1005–1015, 2017. doi:10.1142/S0218196718500443.
- [32] Michael Kompatscher. CC-circuits and the expressive power of nilpotent algebras. Logical Methods in Computer Science, 18(2):12:1–12:15, 2022. doi:10.46298/lmcs-18(2:12)2022.
- [33] Michael Kompatscher. CSAT and CEQV for nilpotent Maltsev algebras of Fitting length > 2. arXiv eprint, 2023. arXiv:2105.00689.
- [34] Peter Mayr and Ágnes Szendrei. Algebras from congruences. Algebra universalis, 82(55), 2021. doi:10.1007/s00012-021-00740-7.
- [35] Armin Weiß. Hardness of equations over finite solvable groups under the exponential time hypothesis. In Proceedings of the 47th International Colloquium on Automata, Languages, and Programming (ICALP’20), pages 102:1–102:19, 2020. doi:10.4230/LIPIcs.ICALP.2020.102.
- [36] Dmitriy Zhuk. A Proof of the CSP Dichotomy Conjecture. Journal of the ACM, 67(5), 2020. doi:10.1145/3402029.