Abstract 1 Introduction 2 Preliminaries 3 Isomorphism Testing of Small Graphs in Parallel 4 Linear Code Equivalence for Small Codes in Parallel 5 Isomorphism Testing of Coprime Extensions in Parallel 6 Isomorphism Testing of Central-Radical Groups in Parallel References

Parallel Algorithms for Group Isomorphism via Code Equivalence

Michael Levet ORCID Department of Computer Science, College of Charleston, SC, USA
Abstract

In this paper, we exhibit AC3 isomorphism tests for coprime extensions HN where H is elementary Abelian and N is Abelian; and groups where Rad(G)=Z(G) is elementary Abelian and G=Soc(G). The fact that isomorphism testing for these families is in P was established respectively by Qiao, Sarma, and Tang (STACS 2011), and Grochow and Qiao (CCC 2014, SIAM J. Comput. 2017).

The polynomial-time isomorphism tests for both of these families crucially leveraged small (size O(log|G|)) instances of Linear Code Equivalence (Babai, SODA 2011). Here, we combine Luks’ group-theoretic method for Graph Isomorphism (FOCS 1980, J. Comput. Syst. Sci. 1982) with the fact that G is given by its multiplication table, to implement the corresponding instances of Linear Code Equivalence in AC3.

As a byproduct of our work, we show that isomorphism testing of arbitrary central-radical groups is decidable using AC circuits of depth O(log3n) and size nO(loglogn). This improves upon the previous bound of nO(loglogn)-time due to Grochow and Qiao (ibid.).

Keywords and phrases:
Group Isomorphism, Circuit Complexity, Code Equivalence
Copyright and License:
[Uncaptioned image] © Michael Levet; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Circuit complexity
; Theory of computation Parallel algorithms ; Mathematics of computing Combinatorial algorithms
Related Version:
Full Version: https://arxiv.org/abs/2604.13953
Acknowledgements:
I wish to thank Peter Brooksbank, Edinah Gnang, Joshua A. Grochow, Takunari Miyazaki, and James B. Wilson for helpful discussions, as well as the anonymous referees for their helpful feedback. Parts of this work began at Tensors Algebra-Geometry-Applications (TAGA) 2024. I wish to thank Elina Robeva, Christopher Voll, and James B. Wilson for organizing this conference.
Funding:
This work was partially supported by CRC 358 Integral Structures in Geometry and Number Theory at Bielefeld and Paderborn, Germany; the Department of Mathematics at Colorado State University; James B. Wilson’s NSF grant DMS-2319370; and travel support from the Department of Computer Science at the College of Charleston.
Editor:
Pierre Fraigniaud

1 Introduction

The Group Isomorphism problem (GpI) takes as input two finite groups G and H, and asks if there exists an isomorphism φ:GH. When the groups are given by their multiplication (Cayley) tables, it is known that GpI belongs to NPcoAM. The generator-enumeration strategy has time complexity nlog(n)+O(1), where n is the order of the group [24, 44]. The parallel complexity of generator-enumeration has been gradually improved – see [20]. Algorithmically, the best known bound for GpI is n(1/4)log(n)+O(1) [47, 41] (see [37, Sec. 2.2]). Even the substantial work on practical algorithms in more succinct input models (e.g., [13, 23, 12, 18]) still results in an nΘ(logn)-time algorithm in the general case [55].

The Cayley model is impractical when working with computer algebra software. Instead, the groups are given by generators as permutations or matrices, or as black-boxes. For permutation groups, GpI belongs to NP [39]. For matrix groups or black-box groups, GpI belongs to PromiseΣ2p [9]; it is open whether GpI belongs to NP or coNP in such succinct models. In the past several years, there have been significant advances on algorithms with worst-case guarantees on the serial runtime for special cases of this problem – see [30, 21, 28] for a survey.

Key motivation for GpI comes from its relationship to the Graph Isomorphism problem (GI). When the groups are given verbosely by their Cayley tables, GpIm𝖠𝖢𝟢GI [56]. There is no 𝖠𝖢𝟢-Treduction from GI to GpI [19]. In light of Babai’s breakthrough result that GIQuasiP [4], GpI is a key barrier to improving the complexity of GI. There is considerable evidence suggesting that GI, and hence GpI, is not NP-complete [48, 17, 32, 4, 35, 1].

In this paper, we will investigate the parallel complexity of GpI. There are two key motivations for this. The first comes from GI, whose best known lower bound is DET [53], which is a subclass of TC1. There is a large body of work spanning almost 40 years on NC algorithms for GI – see [38] for a survey. In contrast, the work on NC algorithms for GpI is very new (see [26] for a survey), and GpI is strictly easier than GI under 𝖠𝖢𝟢-reductions [19]. So it is surprising that we know more about parallelizing subclasses of GI than subclasses of GpI. The second key motivation comes from the fact that complexity-theoretic lower bounds for GpI remain open, even against depth-2 AC circuits. In contrast, GpI is solvable using depth-4 𝗊𝗎𝖺𝗌𝗂𝖠𝖢𝟢 circuits [20]. Isomorphism testing is in P for a number of families of groups, and closing the gap between P and 𝖠𝖢𝟢 for special cases is a key stepping stone in trying to characterize the complexity of the general GpI problem. We now turn to stating our main results.

Isomorphism Testing of Coprime Extensions.

We will first recall the following notation [46]. Let (𝒜,) be the class of coprime extensions HN, where N is Abelian and H is elementary Abelian.

Theorem 1 (cf. [46]).

There exists a uniform AC3 algorithm that, given groups G1,G2 by their multiplication tables, decides if G1,G2(𝒜,); and if so, decides if G1G2.

There has been considerable work on polynomial-time isomorphism tests for coprime [36, 46, 8, 28, 14] and tame extensions [29]. In [46], polynomial-time isomorphism tests were given for coprime extensions HN where (i) H was O(1)-generated and N was Abelian, and (ii) (𝒜,). The parallel complexity for isomorphism testing of coprime extensions was first investigated by Grochow and Levet [28], who showed that some constant-dimensional Weisfeiler–Leman (WL) algorithm identifies, in O(1)-rounds, all coprime extensions HN, where N is Abelian and H is O(1)-generated. Consequently, they obtained that the isomorphism problem for this family belongs to L. In his thesis, Brachter [14] showed that the more general class of groups with Abelian Sylow towers has WL-dimension O(loglogn). Consequently, Brachter’s work yields nO(loglogn)-time bounds for isomorphism testing of this class. It remains open whether even the class (𝒜,) has bounded Weisfeiler–Leman dimension. Prior to this paper, it was open whether isomorphism testing of groups in (𝒜,) was in NC.

Methods.

The polynomial-time isomorphism test for (𝒜,) [46] crucially leveraged small (size O(log|G|)) instances of Linear Code Equivalence (CodeEq). Thus, in order to obtain our parallel bounds, we will establish the following.

Theorem 2.

Let mO(logn), and let C1,C2 be linear codes of length m given by their generator matrices. We can decide equivalence between C1 and C2, as well as compute the coset of equivalences, using an AC circuit of depth O((log2n)poly(loglogn)) and size poly(n).

In establishing the bound of (2+o(1))m-time for CodeEq, Babai reduces to isomorphism testing of graphs with O(m) vertices [6]. When mO(logn), applying Babai’s quasipolynomial GI procedure [4] would only yield bounds of mO(log2m)=(logn)O((loglogn)2) runtime, which is not sufficient to obtain bounds of NC. Instead, we utilize Luks’ group-theoretic method [40] to handle these small graphs. While Luks’ claims of polynomial-time isomorphism testing are for graphs of bounded valence, the graphs we will consider need not satisfy this condition. However, our graphs are small, having only O(logn) many vertices. Thus, we bring to bear a standard suite of NC algorithms for permutation groups [3, 43]. As the group G is specified by its multiplication table and our graphs have O(logn)=O(log|G|) many vertices, we can implement solutions for each subroutine of [3, 43] using an AC circuit of depth poly(loglogn) and size poly(n). Grochow, Johnson, and Levet [26] introduced the notation FOLLO(1) to refer to the class of languages decidable by uniform AC circuits of depth poly(loglogn) and size poly(n). We combine this suite of FOLLO(1)permutation group algorithms, as well as the FOLLO(1)procedure for small instances of Coset Intersection (CosetInt) from [26].

Isomorphism Testing of Central-Radical Groups.

We now turn to our second main result. Recall that the solvable radical is the unique maximal solvable normal subgroup of G. We will denote the solvable radical of G as Rad(G). Here, we will consider central-radical groups, which are precisely those groups where the solvable radical Rad(G)=Z(G).

Theorem 3 (cf. [30, Thm. C]).

Let G1,G2 be groups given by their multiplication tables. Suppose that G1,G2 have central, elementary Abelian radicals. Then isomorphism can be decided in AC3, if either:

  1. (a)

    G1/Rad(G1) is a direct product of non-Abelian simple groups; or

  2. (b)

    G1/Rad(G1) is a direct product of perfect groups, each of order O(1).

This improves upon the previous polynomial-time bounds due to Grochow and Qiao [30].

Key motivation for isomorphism testing of central-radical groups comes from the following series of characteristic subgroups, known as the Babai–Beals filtration [5]: 1Rad(G)Soc(G)PKer(G)G. We will now explain the terms on this chain. Let π:GG/Rad(G) be the natural projection map. Soc(G) is the preimage of the socle111The socle of a group H is the direct product of the minimal normal subgroups of H. Soc(G/Rad(G)), under π. The group Soc(G)/Rad(G)=Soc(G/Rad(G)) is the direct product of non-Abelian simple groups T1,,Tk. The conjugation action of G on Soc(G/Rad(G)) induces a permutation action φ on T1,,Tk. Now PKer(G):=Ker(φ). Note that Thm. 3(a) considers precisely those groups where Rad(G)=Z(G) is elementary Abelian, and G=Soc(G). While these assumptions might feel restrictive, Grochow and Qiao essentially leveraged the full weight of [30] in order to obtain a polynomial-time isomorphism test, combining deep mathematical insights (group cohomology) with demanding algorithmic techniques (see under Methods, below).

The class of Fitting-free groups consists precisely of those groups G where Rad(G) is trivial. There has been considerable work on isomorphism testing of Fitting-free groups. In the Cayley table model, it took a series of two papers [6, 7] to obtain a polynomial-time isomorphism test, and this bound was only recently improved this bound from P to AC3 [26]. Fitting-free groups have also received significant attention, from the perspective of the Weisfeiler–Leman algorithm [15, 14, 28, 27, 26].

In light of the efficient isomorphism tests for Fitting-free groups [6, 7, 26], the next step is to consider groups where Rad(G) is non-trivial. In [6], the authors posed the problem of handling isomorphism for central-radical groups. Grochow and Qiao [30] exhibited an nO(loglogn)-time algorithm to decide isomorphism of arbitrary central-radical groups, as well as groups where Rad(G) was elementary Abelian (not necessarily central). For additional complexity-theoretic work on isomorphism testing for groups where Rad(G) is non-trivial, see [29, 16, 37, 14].

Methods.

We will now outline the key ideas and techniques involved in proving Thm. 3. As a conceptual starting point, let us first consider the setting of direct products. The Remak–Krull–Schmidt theorem provides that two direct products G=G1××Gk and H=H1××H are isomorpic if and only if k=, and for some permutation σSym(k), GiHσ(i) for all i[k]. Grochow and Qiao established that for the groups in Thm. 3, an analogous result holds [30, Lem. 7.4] (recalled as Lem. 27).

Let G1,G2 be two groups under consideration in Thm. 3. For i=1,2, write Gi/Rad(Gi)=j=1kTi,j. Let πi:GiGi/Rad(Gi) be the natural projection map. Rather than considering the isomorphism type of the Ti,j, we will need to consider the isomorphism type of each πi1(Ti,j). It is then necessary to determine whether there exists a permutation σSym(k) such that π11(T1,j) and π21(T2,σ(j)) are isomorphic. However, there is an additional complication, in that we require a single isomorphism α:Z(G1)Z(G2), such that for all j[k], α can be extended to an isomorphism of π11(T1,j) and π21(T2,σ(j)). Grochow and Qiao handled this step using small (size O(log|G|)) instances of CodeEq and CosetInt. In these places, we will use our parallel implementation for CodeEq (Thm. 2), as well as the FOLLO(1)procedure for small instances of CosetInt from [26].

Still, we will need an additional ingredient. In order to determine the isomorphism types of the πi1(Ti,j) (i=1,2; j[k]), Grochow and Qiao utilized [30, Thm. 6.1]. Note that [30, Thm. 6.1] is quite powerful. Grochow and Qiao obtained one of their main results [30, Thm. A/Cor. 6.2] as a corollary: a bound of nO(loglogn)-time for isomorphism testing of central-radical groups, as well as the same bound for computing the coset of isomorphisms when Rad(Gi)=Z(Gi) was elementary Abelian. We will parallelize [30, Thm. 6.1]; for readability, we refer to Thm. 22, rather than stating the exact theorem here. As a byproduct, we obtain the following complexity-theoretic improvement in isomorphism testing of arbitrary central-radical groups.

Theorem 4 (cf. [30, Thm. A]).

Isomorphism of central-radical groups of order n, given by their Cayley tables, can be decided by AC circuits of depth O(log3n) and size nO(loglogn).

2 Preliminaries

2.1 Groups and Codes

Groups.

All groups will be assumed to be finite. A Hall subgroup of a group G is a subgroup N such that |N| and |G/N| are coprime. When a Hall subgroup is normal, we refer to G as a coprime extension. We will consider the following classes of finite groups, using the notation of Qiao, Sarma, and Tang [46]. Let be the class of elementary Abelian groups, and 𝒜 the class of Abelian groups. For classes of finite groups 𝒳,𝒴, let (𝒳,𝒴) denote the class of coprime extensions HN, where N𝒳 and H𝒴.

Let G be a group. Given g,hG, the commutator [g,h]:=ghg1h1. For sets X,YG, the commutator subgroup [X,Y]:={[g,h]:gX,hY}. We say that G is perfect if G=[G,G], and that G is centerless if Z(G)=1. Let d(G) be the minimum size taken over all generating sets of G. A basis of an Abelian group A is a set of generators {a1,,ak} such that A=a1××ak.

Codes.

Let 𝔽 be a field. Let Matn×m(𝔽) denote the set of n×m matrices over the field 𝔽. GLm(𝔽) denotes the set of m×m invertible matrices over 𝔽. A linear code of length m is a subspace U𝔽m. A d×m matrix A over 𝔽 generates the code U if the rows of A span U. Let U,W be d–dimensional codes of length m over 𝔽, generated by d×m matrices A,B, respectively. Then U and V are equivalent if and only there exists a permutation matrix PGLm(𝔽) and a matrix TGLd(𝔽) such that B=TAP. If A1,A2 are generator matrices for two codes U1,U2 respectively, we write CodeEq(A1,A2) for the coset of code equivalences taking U1 to U2.

2.2 Group Extensions and Cohomology

We recall preliminaries concerning group extensions and Abelian cohomology from [30]. Given a finite group G, we will consider an Abelian normal subgroup AG when considering G as an extension of A by Q:=G/A. Here, we denote this as A𝜄G𝜋Q, where ι:AG is an injection and Im(ι)=ker(π). As A is Abelian, we write the group operation of A additively, even though we denote the group operation of G multiplicatively – this is standard in this area. Despite that AG, we will use these notations in different contexts, and so it should not cause confusion. We refer to G as the total group.

Let π:GG/AQ be the natural projection map. Any function s:QG such that π(s(q))=q for all qQ is called a section of π. Any such section gives rise to a function fs:Q×QA defined by fs(p,q)=s(p)s(q)s(pq)1. We are free to choose s(1)=idG, and then f(1,q)=f(q,1)=0 for all qQ. Such sections are called normalized. We will assume that all sections are normalized, unless otherwise stated.

For gG, the conjugation action θg:GG is defined by θg(x)=gxg1. As the operation of G is associative, we have that for all p,q,rQ: fs(p,q)+fs(pq,r)=θp(fs(q,r))+fs(p,qr). This is the 2-cocycle identity. Any function f:Q×QA is called a 2-cochain. If f satisfies the 2-cocycle identity with respect to θ, then f is called a 2-cocycle with respect to θ. Given any homomorphism θ:QAut(A), every 2-cocycle with respect to θ arises as fs for some section s of some extension AGQ with respect to θ. Given any function u:QA, the 2-coboundary associated to u is the function bu:Q×QA defined by bu(p,q)=u(p)+θp(u(q))u(pq). Any two 2-cocycles associated to the same extension differ by a coboundary. The 2-cochains form an Abelian group C2(Q,A) defined by pointwise addition: (f+g)(p,q)=f(p,q)+g(p,q). Observe that the 2-cocycle identity is -linear. Thus, the 2-cocycles form a subgroup of C2(Q,A), denoted by Z2(Q,A,θ). Similarly, the 2-coboundaries form a subgroup of Z2(Q,A,θ), denoted by B2(Q,A,θ). A 2-cohomology class is a coset of H2(Q,A,θ):=Z2(Q,A,θ)/B2(Q,A,θ). If fZ2(Q,A,θ), we denote the corresponding cohomology class by [f]. It follows from the above discussion that each extension AGQ determines a single cohomology class [f]H2(Q,A,θ).

Definition 5 ([30, Def. 2.1]).

Let A be an Abelian group, and Q an arbitrary group. Let θ:QAut(A) be an action, and f:Q×QA a 2-cocycle (fZ2(Q,A,θ)). The pair (θ,f) is called extension data. Two extension data for the pair (Q,A) are equivalent if they have the exact same action and if the two 2-cocycles are cohomologous.

Given an extension AGQ, the associated extension data are the action θ as defined above, and any 2-cocycle fs for any section s:QG. The extension data are in general not unique – we may choose any representative of the corresponding 2-cohomology class. Furthermore, if the action is trivial, then this extension is called central. If the 2-cohomology class is trivial, then this extension is called split, and G=PA for some subgroup PG isomorphic to Q.

We now turn to discussing when two different extension data (θ1,f1),(θ2,f2) yield isomorphic total groups. We first recall additional notation and terminology. Recall that a subgroup NG is characteristic if for all φAut(G), φ(N)=N. The analogous notion for isomorphisms (rather than automorphisms) is a function 𝒮 that assigns to each group G a subgroup 𝒮(G) such that any isomorphism φ:G1G2 restricts to an isomorphism φ|𝒮(G1):𝒮(G1)𝒮(G2). We call such a function 𝒮 a characteristic subgroup function. Most natural characteristic subgroups encountered are characteristic subgroup functions – for instance, the center Z(G), the commutator [G,G], and the solvable radical Rad(G).

Definition 6 ([30, Definition 2.2]).

Let A be an Abelian group, and let Q be an arbitrary group. Let (θ1,f1),(θ2,f2) be extension data for A-by-Q. Then the extension data are pseudo-congruent if there exists (α,β)Aut(A)×Aut(Q) such that:

θ1(q)(a)=α1(θ2(β(q))(α(a)))=:θ2α,β(q)(a). (1)

for all qQ,aA; and f1(p,q)=α1(f2(β(p),β(q)))+bu(p,q), for all p,qQ and for some coboundary bu. In this case, we write (θ1,f1)(θ2,f2).

Lemma 7 (see e.g., [30, Lem. 2.3] and [31, Sec. 2.7.4]).

Let 𝒮 be a characteristic subgroup function. Let G1,G2 be groups, such that 𝒮(G1) and 𝒮(G2) are both Abelian. Then G1G2 if and only if both of the following conditions hold:

  1. 1.

    𝒮(G1)𝒮(G2) and G1/𝒮(G1)G2/𝒮(G2).

  2. 2.

    (θ1,f1)(θ2,f2), where (θi,fi) is the extension data of AGiQ (i=1,2).

Note that if the 2-cohomolohy class is trivial (in which case, the extension splits), Lem. 7 yields Taunt’s Lemma as a corollary:

Lemma 8 (Taunt [52]).

Let G=HθN and G^=H^θ^N^. If α:HH^ and β:NN^ are isomorphisms such that for all hH and all nN, θ^α(h)(n)=(βθhβ1)(n), then the map (h,n)(α(h),β(n)) is an isomorphism of GG^. Conversely, if G and G^ are isomorphic and |H| and |N| are coprime, then there exists an isomorphism of this form.

2.3 Computational Complexity

We assume that the reader is familiar with standard complexity classes such as P,NP,L, and NL. Denote by 𝖥𝖫 the class of logspace computable functions. For a standard reference on circuit complexity, see [54]. We consider Boolean circuits using the gates AND, OR, NOT, and Majority, where Majority(x1,,xn)=1 if and only if n/2 of the inputs are 1. Otherwise, Majority(x1,,xn)=0. In this paper, we will consider DTIME(logcn)-uniform circuit families (Cn)n, for some fixed c1. For this, one encodes the gates of each circuit Cn by bit strings of length O(logcn). Then the circuit family (Cn)n0 is called DTIME(logcn)-uniform if (i) there exists a deterministic Turing machine that computes for a given gate u{0,1} of Cn (|u|O(logcn)) in time O(logcn) the type of gate u, where the types are x1,,xn, NOT, AND, OR, or Majority gates, and (ii) there exists a deterministic Turing machine that decides for two given gates u,v{0,1} of Cn (|u|,|v|O(logcn)) and a binary encoded integer i with O(logcn) many bits in time O(logcn) whether u is the i-th input gate for v. When c=1, this notion of uniformity is referred to as DLOGTIME-uniformity. For circuit families of size poly(n), we will use DLOGTIME-uniformity.

Definition 9.

Fix k0. We say that a language L belongs to (uniform) NCk if there exist a (uniform) family of circuits (Cn)n over the AND,OR,NOT gates such that the following hold: (i) The AND and OR gates take exactly 2 inputs. That is, they have fan-in 2; (ii) Cn has depth O(logkn) and uses (has size) nO(1) gates. Here, the implicit constants in the circuit depth and size depend only on L; and (iii) xL if and only if C|x|(x)=1.

The complexity class 𝖠𝖢k is defined analogously as NCk, except that the AND,OR gates are permitted to have unbounded fan-in. That is, a single AND gate can compute an arbitrary conjunction, and a single OR gate can compute an arbitrary disjunction. The complexity class TCk is defined analogously as 𝖠𝖢k, except that our circuits are now permitted Majority gates of unbounded fan-in. We also allow circuits to compute functions by using multiple output gates. For every k, the following containments are well-known: NCk𝖠𝖢kTCkNCk+1. We also have that NC1𝖫NL𝖠𝖢1.

The complexity class FOLL is the set of languages decidable by uniform AC circuits of depth O(loglogn) and polynomial-size [11]. We will use a slight generalization of this: we use FOLLO(1) to denote the class of languages L decidable by uniform AC circuits of depth O((loglogn)c) for some c that depends only on L [26]. It is known that AC0FOLLO(1)AC1, the former by a simple diagonalization argument on top of Sipser’s result [50], and the latter because the Parity function is in 𝖠𝖢1 but not FOLLO(1) (nor any depth o(logn/loglogn)). FOLLO(1) cannot contain any complexity class that can compute Parity, such as 𝖳𝖢0,𝖭𝖢1,𝖫, or 𝖭𝖫, and it remains open whether any of these classes contain FOLLO(1).

We will also be interested in 𝖭𝖢 circuits of quasipolynomial size (i. e., 2O(logkn) for some constant k). For a circuit class 𝒞𝖭𝖢, the analogous class permitting a quasipolynomial number of gates is denoted 𝗊𝗎𝖺𝗌𝗂𝒞. Note that 𝖣𝖫𝖮𝖦𝖳𝖨𝖬𝖤 uniformity does not make sense for quasiNC, as we cannot encode gate indices using O(logn) bits. Instead, we will use DPOLYLOGTIME-uniformity for 𝗊𝗎𝖺𝗌𝗂𝖭𝖢 [10, 25].

2.4 Permutation Group Algorithms

We will consider the permutation group model, in which groups are specified succinctly by a sequence of permutations from Sym(m). The computational complexity for this model will be measured in terms of m. We will first recall some key concepts concerning permutation groups – see [22] for a general reference. A permutation group GSym(m) is transitive if the permutation domain [m] is a single G-orbit. An equivalence relation on [m] is G-invariant if xyxgyg for all x,y[m],gG. The discrete equivalence – in which all elements are pairwise inequivalent – and indiscrete equivalence – in which all elements are equivalent – are considered trivial. The equivalence classes of any G-invariant equivalence relation are called blocks of G. The singleton sets and the whole set [m] are considered trivial blocks; any other blocks, if they exist, are non-trivial. G is primitive if it has no non-trivial blocks, or equivalently, has no non-trivial G-invariant equivalence relations.

Equivalently, a block for G is a subset Δ[m] such that for every gG, Δg is either disjoint from Δ or equal to Δ. A system of imprimitivity for G is a collection of blocks that partition [m] (equivalently, the equivalence classes of a G-invariant equivalence relation). If G is transitive, every system of imprimitivity arises as {Δg:gG} for some block Δ. A block is minimal if it is non-trivial and contains no proper subset that is also a non-trivial block. Two distinct minimal blocks can intersect in at most one point.

We will now recall a standard suite of problems with known NC solutions in the setting of permutation groups. In our setting, m will be small (mO(polylog(n))) relative to the overall input size n, which will yield FOLLO(1) bounds for these problems.

Lemma 10.

Let c+, and let mO(logcn). Let GSym(m) be given by a sequence S of generators. The following problems are in FOLLO(1) relative to n, that is, they have uniform 𝖠𝖢 circuits of depth poly(loglogn) and poly(n) size:

  1. (a)

    Compute the order of G.

  2. (b)

    Decide whether a given permutation σ is in G; and if so, exhibit a word ω such that σ=ω(S).

  3. (c)

    Find the kernel of any action of G.

  4. (d)

    Find the pointwise stabilizer of B[m].

  5. (e)

    Given a list of generators S for G, compute a minimal (non-redundant) of generators S for G of size poly(m).

  6. (f)

    Computing a non-trivial, minimal block system for G, if one exists; otherwise, a report that G is primitive.

  7. (g)

    Computing the orbits of G.

  8. (h)

    CosetInt: Given G,HSym(m) and x,ySym(m), compute GxHy.

Proof.

Each of these problems in (a)–(g) is known to be solvable using a circuit of depth O(polylog(m)) and size O(poly(m)): see [3] for (a)–(e), [43] for (f)–(g). The FOLLO(1) bound follows from the fact that mO(logcn). For (h), the FOLLO(1)bound was established in [26]. Finally, we consider the Transversal problem, which takes as input H<GSym(m) such that [G:H]mO(1) and asks for a left transversal for H in G. An NC algorithm was given when |G|mO(logm) [34, Prop. 3.13]. We will instead consider Transversal when mO(logn) and [G:H](logn)O(loglogn). A careful analysis of [34, Prop. 3.13] yields the following:

Lemma 11 (cf. [34, Prop. 3.13]).

Let mO(logn), and let H<GSym(m). Suppose that [G:H](logn)O(loglogn). We can solve Transversal using an AC circuit of depth O((logn)poly(loglogn)).

2.5 Representation Theory of Finite Groups

We recall key preliminaries concerning the representation theory of finite groups. For a general reference, see [49]. Let G be a finite group, and let V be a vector space. A representation of G over V is a group homomorphism φ:GGL(V). The trivial representation maps every group element to the identity matrix in GL(V). If V𝔽d, for some field 𝔽 and some d, a homomorphism φ:GGLd(𝔽) is called a representation of G over 𝔽 of dimension d. Let φ:GGL(V) be a representation. A subspace LV is invariant with respect to φ if for all gG, φg(L)=L. Note that 0,V are the trivial invariant subspaces. A representation without any non-trivial invariant subspaces is called an irreducible representation.

Fix a field 𝔽. For the rest of this section, we consider representations over 𝔽. Let φ:GGL(V) and ρ:GGL(W) be representations. The direct sum φρ is a representation of G over VW, defined as (φρ)g(u+v)=φg(u)+ρg(v), for all gG. A representation is completely reducible if it is the direct sum of irreducible representations. Maschke’s theorem states that if the characteristic of 𝔽 is 0 or coprime to |G|, then any representation of G over 𝔽 is completely reducible.

Two representations φ,ψ:GGL(V) are equivalent if there exists an invertible linear transformation T:VV such that φ(g)=Tψ(g)T1 for all gG. Suppose that φ,ψ are completely reducible. Write φ=ι1d1ιd and ψ=ι1e1ιe, where the ιi’s are irreducible and pairwise inequivalent, and each di,ei0. We have that φ and ψ are equivalent if and only if di=ei for each i[].

Proposition 12.

Let p,q be distinct primes. Let G=qφpk be given by its multiplication table. In AC1, we can list the irreducible components of φ and group them by equivalence type. In particular, each irreducible component is returned as a function of the form τ:qGLkτ(p), where kτ is the dimension of τ.

3 Isomorphism Testing of Small Graphs in Parallel

In this section, we will establish the following.

Theorem 13 (cf. [40]).

Fix n. Let X,Y be graphs with mO(logn) vertices. We can decide whether X and Y are isomorphic, using an AC circuit of depth O((logn)2poly(loglogn)) and size poly(n).

In order to establish Thm. 13, we essentially parallelize the previous work of Luks for isomorphism testing for graphs of bounded valence [40]. While our graphs here need not have bounded valence, they are small. We will crucially take advantage of this, in tandem with a suite of efficient parallel algorithms for permutation groups (see Section 2.4).

Fix an edge e of X. We compute Aute(X), the automorphism group of X that fixes e. Following [40], define Xr to be the subgraph of X consisting of all vertices and all edges of X, which appear in paths of length r through e. So X1=e and Xm1=X. We will compute Aute(Xr) for each r=1,,m1. The groups are related via the homomorphisms: πr:Aute(Xr+1)Aute(Xr), where πr(σ) is the restriction of σ to Xr. Thus, given (generators for) Aute(Xr), determining generators for Aute(Xr+1) reduces to two problems: find a set of generators for Ker(πr), and find a set 𝒮 of generators for Im(πr). A careful analysis of [40] shows that we can compute in 𝖠𝖢𝟢. It remains to compute 𝒮.

Proposition 14.

Take the same assumptions as Thm. 13 and fix r[m1]. Suppose we are given generators for Aute(Xr). We can compute 𝒮 using an AC circuit of depth O((logn)poly(loglogn)) and size poly(n).

Prop. 14 immediately yields Thm. 13.

Proof of Thm. 13.

We proceed for m1O(logn) times iterations. At each iteration, we compute generators for the corresponding kernel () and use Prop. 14 to compute generators for the corresponding image (𝒮). The result now follows.

The remainder of this section will be devoted to the proof of Prop. 14. Let Δ(X) be the maximum degree of X. Let A2V(Xr){} contain those subsets of size at most Δ. Define f:V(Xr+1)V(Xr)A by: f(v):={wV(Xr):vwE(X)}. Luks [40] previously established that σAute(Xr) is in Im(πr) if and only if, for each 0sm1, σ stabilizes the set of fathers of s-tuples: As:={aA:|f1(a)|=s}, as well as the set A of new edges. Color A accordingly with 2m colors (see e.g., [40, p. 49]). We need to now find the automorphisms in G=Aute(Xr) acting on A, that preserve the edge colors. We now recall some notions from Luks [40]. Let A be a colored set, with coloring χ. Let BA and KSym(A). The set of permutations in K that preserve the colors in B is: 𝒞B(K):={σK:for all bB,χ(σ(b))=χ(b)}. Observe that: 𝒞B(KK)=𝒞B(K)𝒞B(K), and 𝒞BB(K)=𝒞B(K)𝒞B(K). Note that if 𝒞B(σB) is non-empty, then it is a left-coset of the subgroup 𝒞B(G)K [40, Lem. 2.4]. We now turn to solving the Color Automorphism problem. For k, let Γk be the class of groups G where all the non-Abelian composition factors of G are subgroups of Sym(k).

The Color Automorphism takes as input generators for a subgroup GSym(A) with GΓk, a G-stable subset B, and σSym(A). The solution is 𝒞B(σG). We will consider the Color Automorphism problem in the case when k=mO(logn). In order to solve the Color Automorphism problem, we proceed via a divide-and-conquer procedure. We have the following cases in the recursion:

Case 1 (Base Case).

The recursion bottoms out when |B|=1. In this case, we compute the Pointwise Stabilizer of 𝒞Bσ1(G) in FOLLO(1)using Lem. 10(d). Now σ𝒞Bσ1(G)=𝒞B(σG).

Case 2 (Intransitive Case).

Suppose that B is the disjoint union of G-stable subsets Z1,,Zk. We use Lem. 10(g) to, in FOLLO(1), break B up into orbits Z1,,Zk. We now have that: 𝒞B(σG)=i=1k𝒞Zi(σG). We may thus compute each 𝒞Zi(σG) in parallel. As G acts transitively on each Zi, the recursive calls for 𝒞Zi(σG) fall under Cases 1 or 3. In order to compute the intersection, we use a binary tree circuit of depth O(logk)O(log|X|)O(loglogn). At each node of the binary tree, we utilize the FOLLO(1) algorithm for CosetInt (Lem. 10h). Thus, the total non-recursive work in this case is FOLLO(1).

Case 3 (Transitive Case).

If |B|>1 and B is not the disjoint union of at least two G-stable subsets, then we find a minimal G-block system in B, which we call Φ. As |X|O(logn), such a block system is FOLLO(1)-computable (Lem. 10(f)). Furthermore, by Lem. 10(c), we may compute the kernel K of the G-action on Φ in FOLLO(1). From [2], we have that [G:K](logn)O(loglogn). Thus, we may write G as a union of (logn)O(loglogn) cosets: G=i=1[G:K]τiK, using an AC circuit of depth O((logn)poly(loglogn)) and size poly(n) (Lem. 11). Now the problem breaks up as follows: 𝒞B(σG)=i=1[G:K]𝒞B(στiK).

In parallel, we recursively compute 𝒞B(στiK) for each 1i[G:K]. As K fixes (setwise) each block of Φ, the computation for each 𝒞B(στiK) falls under Case 1 or Case 2. We may, in parallel, recursively compute each 𝒞B(στiK). Each recursive call deals with subsets of size |B|/. When we recombine the cosets, we must take care to ensure that we only have poly(n) generators. We accomplish this in FOLLO(1)using Lem. 10(e). We use a binary tree circuit of depth log[G:K]O((loglogn)2) to compute 𝒞B(σG) from the 𝒞B(στiK) (1i[G:K]). This yields a circuit of depth poly(loglogn) and size poly(n) to compute 𝒞B(σG).

Complexity Analysis.

A recursive call at the intransitive case (Case 2) results in either the base case (Case 1) or the transitive case (Case 3). Similarly, a recursive call at the transitive case (Case 3) results in either the base case (Case 1) or the intransitive case (Case 3). The recursive calls in the transitive case reduce the size of the problem by at least 1/2. Thus, the recursion tree thus has height O(logm)=O(loglogn). Each level of the recursion tree is computable using an AC circuit of depth O((logn)poly(loglogn)) and size poly(n). Thus, in total, we require an AC circuit of depth O((logn)poly(loglogn)) and size poly(n), as desired. This completes the proof of Prop. 14.

4 Linear Code Equivalence for Small Codes in Parallel

In this section, we establish Thm. 2.

Proof Sketch of Thm. 2.

Babai [6] exhibited an algorithm that tests the equivalence of two linear codes of length m in time (2+o(1))m. He accomplished this by reducing to (md) instances of Graph Isomorphism – precisely, isomorphism testing of d×(md) bipartite graphs with colored edges. A careful analysis shows that Babai’s reduction is computable using an NC circuit of depth O(log2m) and size poly(m). As mO(logn), we obtain that this reduction is FOLLO(1)-computable. By Thm. 13, we can decide isomorphism of such graphs using an AC circuit of depth O((log2n)poly(loglogn)) and size poly(n). The result now follows.

5 Isomorphism Testing of Coprime Extensions in Parallel

In this section, we will establish Thm. 1. We begin by recalling some additional preliminaries concerning coprime extensions. We note that coprime extensions are determined entirely by the isomorphism types of N, H and their actions (Lem. 8). We will now show how to compute a decomposition G=HN, where N is Abelian, H is elementary Abelian, and gcd(|H|,|N|)=1, if such a decomposition exists.

Lemma 15.

Let G be a group given by its multiplication table. We can, in FL, decide if there exists an Abelian normal Hall subgroup NG such that G/N is elementary Abelian and gcd(|N|,|G/N|)=1, as well as compute such an N, if one exists, and G/N in FL.

Let p,q be distinct primes. We recall key facts regarding representations of q over p, as well as additional background from [46, Section 5.2]. For n, the cyclotomic polynomial Φn(x) is the unique irreducible polynomial that is a divisor of xn1, but for all k<n, is not a divisor of xk1. Suppose that Φq(x) factors as g1(x)gr(x), where g1(x),,gr(x)p[x] are monic polynomials of degree d=(q1)/r. Note that d=|q×|. Let MGLd(p) be the companion matrix of g1(x). For vq with v0, define v:qq by mapping v(u)=(v,u) (the inner product of v and u).

For uq, let 0hu<q such that huv(u)(modq). Now define fv:qGLd(p) by sending uMhu. We write Mv(u) in place of Mhu. Let f0:qGLd(p) be the trivial representation. Now {fv:vq} forms the set of all irreducible representations of q over p. Note that for distinct and non-zero u,vq, fu and fv might be equivalent.

Lemma 16 ([46, Claim 1]).

Let u,vq be distinct and both non-zero. Let fu,fv be the corresponding irreducible representations. We have that fu and fv are equivalent if and only if there exists some sq such that u=sv, and Ms and M are conjugate (by abuse of notation, we associate s with the least non-negative integer belonging to the equivalence class sq).

Let τ:qGLk(p). As p,q are distinct primes, we have by Maschke’s theorem that τ is completely reducible. Write τ=fv1k1fvtkt, where each viq, and k1k2kt1. For a given multiplicity w[k], define Lτ(w) to be the set of irreducible representations with multiplicity w appearing in τ. Now define Lτ:=(Lτ(w))w[k]. We have that Lτ determines τ up to equivalence. In order to deal with the concrete form of the representations, Qiao, Sarma, and Tang introduced the following.

Definition 17 ([46, Definition 5.4]).

Let τ:qGLk(p), and let w[k]. Define τ(w) to be a set of vectors such that for every irreducible representation fLτ(w), there exists a unique vτ(w) such that f and fv are equivalent. Now define τ:=(τ(w))w[k]. We refer to such a tuple τ as an indexing tuple of Lτ.

A representation τ:qGLk(p) has at most 2k indexing tuples [46].

Proposition 18 ([46, Claim 2]).

Let τ,γ:qGLk(p) be two representations. We have that τ and γ are equivalent if and only if there exist indexing tuples of τ and γ, τ and γ, such that τ=γ.

Lemma 19.

Let p,q be distinct primes, and let G=qφpk be given by its multiplication table. We can list all indexing tuples of φ in NC3.

Theorem 20 (cf. [46, Thm. 1.3]).

Given groups G1,G2 by their multiplication tables, there exists a uniform AC3 algorithm that decides if G1,G2(,); and if so, decides if G1G2.

Proof.

We first use Lem. 15 to, in FL, find decompose Gi=HiτiNi (i=1,2). We may then, in L, decide whether: (i) the Ni and Hi are elementary Abelian groups of coprime order, (ii) N1N2, and (iii) H1H2 [11]. Suppose that N1N2pk and H1H2q. It remains to decide whether τ1,τ2:qGLk(p) are equivalent. By Prop. 12, we may in AC1, decompose τ1,τ2 into their irreducible components and group them by equivalence type. Write τ1=fv1k1fvtkt and τ2=fu11futt. Now in NC3 (using Lem. 19), we may obtain indexing tuples τ1,τ2. We may check in L that t=t; as well as that for all w[k], whether |τ1(w)|=|τ2(w)|. If these conditions are not satisfied, then τ1 and τ2 are not equivalent; in which case, G1 and G2 are not isomorphic.

We now consider our fixed indexing tuple τ1 for τ1. By Prop. 18, it suffices to decide if there exists an indexing tuple τ2 of τ2 and φGL(p) such that τ1φ=τ2. In parallel, we will consider all indexing tuples of τ2. Note that we can list all such indexing tuples of τ2 in NC3 (using Lem. 19). For clarity, fix such an indexing tuple τ2. Deciding whether such a φ exists reduces to CodeEq for a code of length mO(logn) followed by taking an intersection of the code equivalences with w=1kSym(|τ1(w)|) [46, Prop. 5]. We can write down standard 2-element generating sets for Sym(|τ1(w)|) in 𝖠𝖢𝟢. By Thm. 2, we can solve this instance of CodeEq using an AC circuit of depth O((log2n)poly(loglogn)) and size poly(n). The requisite instance of CosetInt is FOLLO(1)-computable (Lem. 10(h)). In order to handle the case of (𝒜,), we use the following to reduce to the case of (,).

Proposition 21 (cf. [36, 8]).

Let A be an Abelian p-group given by its multiplication table. Let S=(g1,,gs) be a basis for A. Let φ1,φ2Aut(A) be given as matrices with respect to S. Suppose that |φ1|=|φ2|. If p does not divide |φ1|=|φ2|, then there exists an FL-computable map Ψp:Aut(A)GLs(p) such that φ1 and φ2 are conjugate if and only if Ψp(φ1) and Ψp(φ2) are conjugate.

Following the strategy of [36, 46, 8], we will later use Prop. 21 to reduce isomorphism testing of (𝒜,) to the case of (,). Le Gall [36] established Prop. 21 in the case when the complement was cyclic. He also showed that this reduction is NC-computable relative to |A|. Babai and Qiao [8] subsequently showed that Le Gall’s reduction holds for arbitrary complements. In the full version, we will carefully analyze this reduction, to show that Ψp is FL-computable. This is a critical step in order to establish the AC3 bounds in Thm. 1. We will now prove Thm. 1.

Proof of Thm. 1.

Using Lem. 15, we write Gi=HiφiNi. Now in L, we test whether Hi is elementary Abelian, N1N2, and H1H2 [11, 19]. Otherwise, we reject. For i[2], let Ai,pNi be the Sylow p-subgroup of Ni (and hence, Gi). Let φi,p:HiAut(Ai,p) be the projection of φi to Ai,p. Let Gi,p=Hiφi,pAi,p. By [46, Section 5.3], we have that G1G2 if and only if, for all primes p dividing |N1|=|N2|, G1,p:=H1φ1,pA1,p and G2,p:=H2φ2,pA2,p are isomorphic. We have shown that, in FL, we can construct each G1,p,G2,p. By [33, Prop. 4.5], we may in AC1 compute a basis β for A1,p, as well as A2,p, and thus fix an isomorphism ϕp:A1,pA2,p. Let Ψp be as defined in Prop. 21. By Prop. 21 (applied with β), we have that φ1,p,φ2,p are conjugate if and only if Ψp(φ1,p) and Ψp(φ2,p) are conjugate. Furthermore, Ψp is FL-computable. Thus, given G1,p and G2,p, we may in AC1 write down Gi,p:=H1Ψp(φi,p)psp (i=1,2). As H1H2 and A1,pA2,p, we have that the following are equivalent: (i) G1,pG2,p, (ii) G1,pG2,p, and (iii) Ψp(φ1) and Ψp(φ2) are conjugate. Thus, it suffices to test for isomorphism between G1,pG2,p, which is AC3-computable using Thm. 20. The result now follows.

6 Isomorphism Testing of Central-Radical Groups in Parallel

6.1 When Enumerating Aut(𝑸) is Allowed

In this section, we will establish the following.

Theorem 22 (cf. [30, Thm. 6.1]).

Let 𝒮 be a logspace-computable characteristic subgroup function. Fix functions d(n)Ω(log2n) and s(n). Let G1,G2 be two groups of order n given by their multiplication tables, and suppose that (i) 𝒮(G1)Z(G1) and (ii) Aut(G1/𝒮(G1)) can be listed using an 𝖠𝖢 circuit of depth d(n) and size s(n). Then we can decide isomorphism between G1 and G2 using an 𝖠𝖢 circuit of depth max{d(n),log3(n)} and size s(n)nO(1).

Note that Aut(G/Rad(G)) can be listed using an an AC circuit of depth O(loglogn) and size nO(loglogn) [26], which yields:

Corollary 23 (cf. [30, Thm. A]).

Isomorphism of central-radical groups, given by their multiplication tables, can be decided by AC circuits of depth O(log3n) and size nO(loglogn).

We recall from [30] details on how to work with 2-cohomology classes algorithmically. First, as the action is trivial in central extensions, we will drop it from Z2(Q,A),B2(Q,A), and H2(Q,A). Write A:=𝒮(G), and let A=i=1k/piμi be the decomposition of A into cyclic subgroups. By choosing an arbitrary section s, we get a cocycle f:Q×QA. We may view f as a k×|Q|2-size integer matrix, which we denote Mf. The rows are indexed by [k], and the columns are indexed by Q×Q. For i[k] and (q,q)Q×Q, the entry Mf[i,(q,q)] is the ith coordinate of f(q,q) relative to the basis (e1,,ek) modulo piμi.

Under this identification, the set C2(Q,A) is the set of all such matrices. Now Z2(Q,A) is a subgroup of C2(Q,A), under matrix addition. Similarly, B2(Q,A) is a subgroup of Z2(Q,A) under matrix addition. We will use Ui to denote the subgroup of C2(Q,A) consisting of matrices whose only non-zero entries are in the ith row (so Ui(/piμi)|Q|2). Aut(A) acts on C2(Q,A) by left-multiplication, and Aut(Q) acts on C2(Q,A) by permuting the columns according to the diagonal action of Aut(Q). Note that the actions of Aut(A) and Aut(Q) commute.

Proposition 24 (cf. [30, Prop. 6.8]).

For any μ1, a -basis of B2(Q,/pμ) can be computed in 𝖠𝖢𝟢. Furthermore, a p-basis of B2(Q,p) can be computed in the same bound.

Now for a 2-cochain fC2(Q,A) with corresponding k×|Q|2 matrix M, let Ri(/piμi)|Q|2 be the subgroup generated by the ith row of M. For μ<μi, let Ri(μ) denote the subgroup of (/piμi)|Q|2 that is given by taking Ri modulo pμ. For μ>μi, let Ri(μ) denote the subgroup of (/piμi)|Q|2 that is given by multiplying every element of Ri by pμμi. For any prime qp, let Ri(q,μ) denote the trivial subgroup. If q=p, let Ri(q,μ):=Ri(μ). Let R(p,μ)=R1(p,μ),,Rk(p,μ).

Proposition 25 ([30, Prop. 6.9]).

Let A=i=1k/piμi be an Abelian group (the pi are primes, not necessarily distinct). Let f1,f2C2(Q,A). With the notation as above, there exists αAut(A) such that f1 and f2α are cohomologous if and only if R1(pi,μi),B2(Q,/piμi)=R2(pi,μi),B2(Q,/piμi), for each i[k]. Here, denotes the -span (=group generated by).

Proof of Thm. 22.

We follow the strategy of [30, Thm. 6.1]. We begin by listing Aut(Q) using an 𝖠𝖢 circuit of size s(n) and depth d(n). Choose arbitrary sections of G,H, to get a 2-cocycle f1 of G and a 2-cocycle f2 of H. By Lem. 7, it is sufficient and necessary to test whether there exist (α,β)Aut(A)×Aut(Q) such that f1 and f2(α,β) are cohomologous.

For each βAut(Q), we get f2:=f2(id,β). We first use Prop. 24 to, in 𝖠𝖢𝟢, get a basis V for B2(Q,A). Let M1 be the matrix representation of f1, and M2 be the matrix representation for f2. By Prop. 25, it suffices to determine whether the -span of the rows in M1 with V, is the same as the -linear span of the rows of M2 with V. Checking this condition reduces to solving a system of linear equations over the Abelian group A, which is 𝖭𝖢3-computable [42, 45]. The result now follows.

6.2 When Aut(𝑸) is too big

We will establish Thm. 3. We first recall additional preliminaries from [30, Sec. 7]. Throughout this section, we will consider central extensions AGjQ (j=1,2), with A=Z(Gj), and Q=i=1Ti with each Ti perfect, centerless, and indecomposable.

Proposition 26 (cf. [30, Prop. 6.10]).

For A=pk and a group Q, let n=|A||Q|. In NC2, we can compute an Aut(A)-invariant complement W of B2(Q,A) in C2(Q,A), as well as a p-linear projection π:C2(Q,A)W that commutes with every αAut(A).

The following lemma from [30] establishes conditions in which the cohomology splits, allowing us to restrict attention to the extensions corresponding to the individual direct factors of the quotient.

Lemma 27 ([30, Lem. 7.4]).

Given two central extensions AGjQ (j=1,2), with A=Z(Gj), and Q=i=1Ti with each Ti perfect, centerless, and indecomposable. Let Uj,i be the preimage of Ti under the natural projection map GjGj/A. The extensions AGjQ (j=1,2) are equivalent if and only if for all i[], the extensions AUj,iTi (j=1,2) are equivalent.

Lemma 28.

Let G be a group of order n. We can decide if (i) Rad(G)=Z(G) is elementary Abelian; and if so, (ii) compute the decomposition of G/Z(G) into a direct product of either non-Abelian simple groups or O(1)-size perfect, indecomposable groups in 𝖥𝖫. Furthermore, we can group the direct factors by isomorphism type in 𝖥𝖫.

Let Q=i=1Ti. Classify the Ti’s together and group them by their isomorphism types, identifying Q=i=1rQii. Then Aut(Q)i=1rAut(Qi)Sym(i). A diagonal of Aut(Q) is an element in i=1rAut(Qi). We can efficiently enumerate the diagonals:

Lemma 29.

Given the decomposition Q=i=1rTi as in the preceding paragraph, we can enumerate all diagonals of Q in 𝖥𝖫.

Lemma 30 ([30, Lem. 7.5]).

Let A×A′′𝜄G𝜋Q be a central extension of A×A′′ by Q. Let pA:A×A′′A be the projection onto A along A′′. If there is a 2-cocycle f:Q×QA×A′′ such that pAf is a 2-coboundary, then G is isomorphic (even equivalent) to A×(G/A). Furthermore, if Z(G) is elementary Abelian, then A can be computed in NC2 using linear algebra over Abelian groups.

We recall some notions from [30, Proof of Thm. 7.1]. Let G be a group under consideration in Thm. 3. We say that a 2-cocycle fj:Q×QA respects the direct factors if there exist fj,i:Ti×TiA (i[]) such that the following condition holds: fj((p1,,p),(q1,,q))=i[]fj,i(pi,qi). Let Zprod2(Q,A) denote the set of 2-cocycles respecting the direct factors. Grochow and Qiao [30, Lem. 7.4] showed that Zprod2(Q,A). Similarly, we say that a 2-coboundary bj:Q×QA respects the direct factors if there exist bj,i:Ti×TiA (i[]) such that the following condition holds: bj((p1,,p),(q1,,q))=i[]bj,i(pi,qi).

Let Bprod2(Q,A) be the set of 2-coboundaries respecting the direct factors. The difference of two cohomologous 2-coycles in Zprod2(Q,A) belongs to Bprod2(Q,A). Define Cprod2(Q,A) as the set of 2-cochains respecting the direct factors. We may view the elements of Cprod2(Q,A) as k×(i[]|Ti|2) matrices, whose rows are indexed by [k] and whose columns are indexed by triples (i;p,q) with p,qTi. That is, Cprod2(Q,A)=i[k]C2(Ti,A).

Proof of Thm. 3.

We follow the strategy of [30, Sec. 7.3]. We decompose Gj (j=1,2) as an extension of A=Rad(Gi)=pk by Q=i=1Ti. Fix arbitrary sections sj:QGj (j=1,2), and let fj be the corresponding 2-cocycles. We then classify the Ti’s according to their isomorphism types. Grouping them together by isomorphism type, we have Q=i=1rQii. By Lem. 28, this step is FL-computable. We enumerate all diagonals of Aut(Q) in FL using Lem. 29. By Lem. 7, G1G2 if and only if they are pseudo-congruent extensions of A by Q. The extensions are pseudo-congruent if and only if there exists (α,β)Aut(A)×Aut(Q) such that, after twisting by (α,β), the resulting extensions are equivalent. Once we fix such an (α,β)Aut(A)×Aut(Q), Lem. 27 provides that the problem is reduced to determining the equivalence of G1|Ti and G2|Ti (i[]).

  1. (a)

    Consider the case when each Ti is non-Abelian simple. In this case, each Ti is 2-generated, we can list Aut(Ti) in FL [51]. By Thm. 22, we can determine the equivalence type of G|Ti in AC3. Note that every βAut(Q) can be represented as a pair (δ,σ)(i=1rAut(Qi)i)(i=1rSym(i)). Thus, Zprod2(Q,A) is an invariant subset of Z2(Q,A) under the actions of both Aut(A) and Aut(Q). Similarly, Bprod2(Q,A) is an invariant subset of B2(Q,A) under the actions of both Aut(A) and Aut(Q). By Prop. 26, we can in NC2, compute for each i[] an Aut(A)-invariant Wi such that C2(Ti,A)=B2(Ti,A)Wi, along with a projection πi:C2(Ti,A)Wi such that πi commutes with the action of Aut(A).

    From [30, Sec. 7.3], we have the following properties. Each element of Wi (i[]) can be written as a k×17 matrix, in a manner that is still Aut(A)-equivariant. For the remainder of this proof, we will denote πi as the composition of the previous πi, followed by the mapping onto k×17 matrices. Furthermore, for each choice of diagonal δ=i=1Aut(Ti), we may choose the complements Wi,Wh such that whenever TiTh, δ identifies Wi and Wh. With this choice, we can construct πδ=i=1πi:C2(Q,A)WMatk×17(p), for some Aut(A)-invariant WCprod2(Q,A) such that Cprod2(Q,A)=Bprod2(Q,A)W and πδ commutes with the action of Aut(A)×i=1rSym(i). For each diagonal δ, it remains to decide whether there exists (α,σ)Aut(A)×i=1rSym(i) such that π(f1)=π(f2(id,δ,id))(α,id,σ). Note that as α,δ commute and σ is already on the right, we have that (α,δ,σ)=(id,δ,id)(α,id,σ).

    Let M1:=Mπ(f1). Without loss of generality, we may assume that M1 has rank k. Otherwise, we may in NC2 (using Lem. 30), split out a direct factor of the center as A×Gj/A (j=1,2). By the Remak–Krull–Schmidt theorem, we then reduce to testing isomorphism between G1/A and G2/A, where the desired rank condition holds. Now in parallel, for each diagonal δ of i=1Ti, we compute π(f1) and π(f2(id,δ,id)). Let M1=Mπ(f1) and M2=Mπ(f2(id,δ,id)). Again note that we can enumerate all such diagonals in FL (Lem. 29). Furthermore, we have established above that π can be constructed in NC2.

    As the action of Aut(A) on M1,M2 is by left multiplication, and the action of i=1rSym(i) is on the blocks of columns, we treat M1,M2 as generators of two p-codes of dimension k and length 17. As logn, we compute the coset of equivalences CodeEq(M1,M2)Sym(17) using an AC circuit of depth O((log2n)(poly(loglogn))) and size poly(n) (Thm. 2). We then compute CodeEq(M1,M2)i=1rSym(i) in FOLLO(1)using Lem. 10h. If this intersection is non-empty, then we report isomorphic. Using a single OR gate, we return true (report isomorphic) if and only if at least one of these intersections is non-empty (where the OR is taken over all diagonals of Q). The total work is computable in AC3.

  2. (b)

    Consider now the case in which each Ti has size at most DO(1). This case is handled almost identically as in (a). We sketch the differences. In this case, we can determine the isomorphism type of a given Ti in 𝖠𝖢𝟢, by trying all of the D!O(1) permutations. The corresponding linear codes have length D2, rather than 17 [30]. The total work is computable in AC3.

References

  • [1] V. Arvind and Piyush P. Kurur. Graph isomorphism is in SPP. Information and Computation, 204(5):835–852, 2006. doi:10.1016/j.ic.2006.02.002.
  • [2] L Babai, P.J Cameron, and P.P Pálfy. On the orders of primitive groups with restricted nonabelian composition factors. Journal of Algebra, 79(1):161–168, 1982. doi:10.1016/0021-8693(82)90323-4.
  • [3] L. Babai, E. Luks, and A. Seress. Permutation groups in NC. In STOC 1987, STOC ’87, pages 409–420, New York, NY, USA, 1987. Association for Computing Machinery. doi:10.1145/28395.28439.
  • [4] László Babai. Graph isomorphism in quasipolynomial time [extended abstract]. In STOC’16—Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing, pages 684–697. ACM, New York, 2016. Preprint of full version at arXiv:1512.03547v2 [cs.DS]. doi:10.1145/2897518.2897542.
  • [5] László Babai and Robert Beals. A polynomial-time theory of black box groups I. In Groups St Andrews 1997 in Bath, I, 1999.
  • [6] László Babai, Paolo Codenotti, Joshua A. Grochow, and Youming Qiao. Code equivalence and group isomorphism. In Proceedings of the Twenty-Second Annual ACM–SIAM Symposium on Discrete Algorithms (SODA11), pages 1395–1408, Philadelphia, PA, 2011. SIAM. doi:10.1137/1.9781611973082.107.
  • [7] László Babai, Paolo Codenotti, and Youming Qiao. Polynomial-time isomorphism test for groups with no abelian normal subgroups - (extended abstract). In International Colloquium on Automata, Languages, and Programming (ICALP), pages 51–62, 2012. doi:10.1007/978-3-642-31594-7_5.
  • [8] László Babai and Youming Qiao. Polynomial-time isomorphism test for groups with Abelian Sylow towers. In 29th STACS, pages 453–464. Springer LNCS 6651, 2012. doi:10.4230/LIPIcs.STACS.2012.453.
  • [9] László Babai and Endre Szemerédi. On the complexity of matrix group problems I. In 25th Annual Symposium on Foundations of Computer Science, West Palm Beach, Florida, USA, 24-26 October 1984, pages 229–240. IEEE Computer Society, 1984. doi:10.1109/SFCS.1984.715919.
  • [10] D.A.M. Barrington. Quasipolynomial size circuit classes. In [1992] Proceedings of the Seventh Annual Structure in Complexity Theory Conference, pages 86–93, 1992. doi:10.1109/SCT.1992.215383.
  • [11] David A. Mix Barrington, Peter Kadau, Klaus-Jörn Lange, and Pierre McKenzie. On the complexity of some problems on groups input as multiplication tables. J. Comput. Syst. Sci., 63(2):186–200, 2001. doi:10.1006/jcss.2001.1764.
  • [12] Hans Ulrich Besche and Bettina Eick. Construction of finite groups. J. Symb. Comput., 27(4):387–404, 1999. doi:10.1006/jsco.1998.0258.
  • [13] Hans Ulrich Besche, Bettina Eick, and E.A. O’Brien. A millennium project: Constructing small groups. Intern. J. Alg. and Comput, 12:623–644, 2002. doi:10.1142/S0218196702001115.
  • [14] Jendrik Brachter. Combinatorial approaches to the group isomorphism problem. PhD thesis, TU Darmstadt, September 2023. URL: https://tuprints.ulb.tu-darmstadt.de/26387/1/thesis_brachter.pdf.
  • [15] Jendrik Brachter and Pascal Schweitzer. A systematic study of isomorphism invariants of finite groups via the Weisfeiler–Leman dimension, 2022. doi:10.4230/LIPIcs.ESA.2022.27.
  • [16] Peter A. Brooksbank, Joshua A. Grochow, Yinan Li, Youming Qiao, and James B. Wilson. Incorporating Weisfeiler–Leman into algorithms for group isomorphism. arXiv:1905.02518 [cs.CC], 2019.
  • [17] Harry Buhrman and Steven Homer. Superpolynomial circuits, almost sparse oracles and the exponential hierarchy. In R. K. Shyamasundar, editor, Foundations of Software Technology and Theoretical Computer Science, 12th Conference, New Delhi, India, December 18-20, 1992, Proceedings, volume 652 of Lecture Notes in Computer Science, pages 116–127. Springer, 1992. doi:10.1007/3-540-56287-7_99.
  • [18] John J. Cannon and Derek F. Holt. Automorphism group computation and isomorphism testing in finite groups. J. Symb. Comput., 35:241–267, March 2003. doi:10.1016/S0747-7171(02)00133-5.
  • [19] Arkadev Chattopadhyay, Jacobo Torán, and Fabian Wagner. Graph isomorphism is not AC0-reducible to group isomorphism. ACM Trans. Comput. Theory, 5(4):Art. 13, 13, 2013. Preliminary version appeared in FSTTCS ’10; ECCC Tech. Report TR10-117. doi:10.1145/2540088.
  • [20] Nathaniel A. Collins, Joshua A. Grochow, Michael Levet, and Armin Weiß. On the constant-depth circuit complexity of generating quasigroups. TheoretiCS, Volume 4, August 2025. Preliminary version in Proceedings of the 2024 International Symposium on Symbolic and Algebraic Computation, ISSAC 2024 (DOI:10.1145/3666000.3669691). doi:10.46298/theoretics.25.19.
  • [21] Heiko Dietrich and James B. Wilson. Group isomorphism is nearly-linear time for most orders. In 2021 IEEE 62nd Annual Symposium on Foundations of Computer Science (FOCS), pages 457–467, 2022. doi:10.1109/FOCS52979.2021.00053.
  • [22] John D. Dixon and Brian Mortimer. Permutation groups, volume 163 of Graduate Texts in Mathematics. Springer-Verlag, New York, 1996. doi:10.1007/978-1-4612-0731-3.
  • [23] Bettina Eick, C. R. Leedham-Green, and E. A. O’Brien. Constructing automorphism groups of p-groups. Comm. Algebra, 30(5):2271–2295, 2002. doi:10.1081/AGB-120003468.
  • [24] V. Felsch and J. Neubüser. On a programme for the determination of the automorphism group of a finite group. In Computational Problems in Abstract Algebra (Proc. Conf., Oxford, 1967), pages 59–60. 1970.
  • [25] Flavio Ferrarotti, Senén González, Klaus-Dieter Schewe, and José María Turull-Torres. Proper hierarchies in polylogarithmic time and absence of complete problems. In Andreas Herzig and Juha Kontinen, editors, Foundations of Information and Knowledge Systems, pages 90–105, Cham, 2020. Springer International Publishing. doi:10.1007/978-3-030-39951-1_6.
  • [26] Joshua A. Grochow, Dan Johnson, and Michael Levet. Complexity of identifying Fitting-free groups. In Artur Jez and Jan Otop, editors, Fundamentals of Computation Theory - 25th International Symposium, FCT 2025, Wrocław, Poland, September 15-17, 2025, Proceedings, volume 16106 of Lecture Notes in Computer Science, pages 208–220. Springer, 2025. Preprint of full version at arXiv:2504.19777 [cs.CC]. doi:10.1007/978-3-032-04700-7_16.
  • [27] Joshua A. Grochow and Michael Levet. On the descriptive complexity of groups without abelian normal subgroups. Logical Methods in Computer Science, Volume 21, Issue 4, November 2025. Preliminary version appeared in the proceedings of GandALF 2023 (DOI:10.4204/EPTCS.390.12). doi:10.46298/lmcs-21(4:20)2025.
  • [28] Joshua A. Grochow and Michael Levet. On the parallel complexity of group isomorphism via Weisfeiler–Leman. Journal of Computer and System Sciences, 156:103703, 2026. Preliminary version appeared in the proceedings of FCT 2023, DOI:10.1007/978-3-031-43587-4_17. doi:10.1016/j.jcss.2025.103703.
  • [29] Joshua A. Grochow and Youming Qiao. Polynomial-time isomorphism test of groups that are tame extensions - (extended abstract). In Algorithms and Computation - 26th International Symposium, ISAAC 2015, Nagoya, Japan, December 9-11, 2015, Proceedings, pages 578–589, 2015. doi:10.1007/978-3-662-48971-0_49.
  • [30] Joshua A. Grochow and Youming Qiao. Algorithms for group isomorphism via group extensions and cohomology. SIAM J. Comput., 46(4):1153–1216, 2017. Preliminary version in IEEE Conference on Computational Complexity (CCC) 2014 (DOI:10.1109/CCC.2014.19). Also available as arXiv:1309.1776 [cs.DS] and ECCC Technical Report TR13-123. doi:10.1137/15M1009767.
  • [31] D. Holt, B. Eick, and E. O’Brien. Handbook of Computational Group Theory. Chapman and Hall/CRC, 2005.
  • [32] Russell Impagliazzo, Ramamohan Paturi, and Francis Zane. Which problems have strongly exponential complexity? Journal of Computer and System Sciences, 63(4):512–530, 2001. doi:10.1006/jcss.2001.1774.
  • [33] Dan Johnson, Michael Levet, Petr Vojtěchovský, and Brett Widholm. Parallel complexity of identifying groups and quasigroups via decompositions. In Uli Fahrenberg, Wesley Fussner, and Luigi Santocanale, editors, Relational and Algebraic Methods in Computer Science, pages 188–207, Cham, 2026. Springer Nature Switzerland. Preprint of full version at arXiv:2508.06478 [cs.DS]. doi:10.1007/978-3-032-22469-9_11.
  • [34] William M. Kantor, Eugene M. Luks, and Peter D. Mark. Sylow subgroups in parallel. J. Algorithms, 31(1):132–195, 1999. doi:10.1006/JAGM.1999.0982.
  • [35] Johannes Köbler, Uwe Schöning, and Jacobo Torán. Graph isomorphism is low for PP. Comput. Complex., 2:301–330, 1992. doi:10.1007/BF01200427.
  • [36] François Le Gall. Efficient isomorphism testing for a class of group extensions. In Proc. 26th STACS, pages 625–636, 2009. doi:10.4230/LIPIcs.STACS.2009.1830.
  • [37] François Le Gall and David J. Rosenbaum. On the group and color isomorphism problems. arXiv:1609.08253 [cs.CC], 2016.
  • [38] Michael Levet, Puck Rombach, and Nicholas Sieger. Canonizing Graphs of Bounded Rank-Width in Parallel via Weisfeiler-Leman. In Hans L. Bodlaender, editor, 19th Scandinavian Symposium and Workshops on Algorithm Theory (SWAT 2024), volume 294 of Leibniz International Proceedings in Informatics (LIPIcs), pages 32:1–32:18, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.SWAT.2024.32.
  • [39] Eugene Luks. Permutation groups and polynomial-time computation. DIMACS Series in Discrete Mathematics and Theoretical Computer Science, 11, September 1993. doi:10.1090/dimacs/011/11.
  • [40] Eugene M. Luks. Isomorphism of graphs of bounded valence can be tested in polynomial time. Journal of Computer and System Sciences, 25(1):42–65, 1982. doi:10.1016/0022-0000(82)90009-5.
  • [41] Eugene M. Luks. Group isomorphism with fixed subnormal chains, 2015. arXiv:1511.00151.
  • [42] Pierre McKenzie and Stephen A. Cook. The parallel complexity of the abelian permutation group membership problem. In 24th Annual Symposium on Foundations of Computer Science (sfcs 1983), pages 154–161, 1983. doi:10.1109/SFCS.1983.74.
  • [43] Pierre Murdock McKenzie. Parallel complexity and permutation groups. PhD thesis, University of Toronto, 1984. AAI0556312.
  • [44] Gary L. Miller. On the nlogn isomorphism technique (a preliminary report). In Proceedings of the Tenth Annual ACM Symposium on Theory of Computing, STOC ’78, pages 51–58, New York, NY, USA, 1978. Association for Computing Machinery. doi:10.1145/800133.804331.
  • [45] Ketan Mulmuley. A fast parallel algorithm to compute the rank of a matrix over an arbitrary field. Comb., 7(1):101–104, 1987. doi:10.1007/BF02579205.
  • [46] Youming Qiao, Jayalal M. N. Sarma, and Bangsheng Tang. On isomorphism testing of groups with normal Hall subgroups. In Proc. 28th STACS, pages 567–578, 2011. doi:10.4230/LIPIcs.STACS.2011.567.
  • [47] David J. Rosenbaum. Bidirectional collision detection and faster deterministic isomorphism testing. arXiv:1304.3935 [cs.DS], 2013.
  • [48] Uwe Schöning. Graph isomorphism is in the low hierarchy. Journal of Computer and System Sciences, 37(3):312–323, 1988. doi:10.1016/0022-0000(88)90010-4.
  • [49] Jean-Pierre Serre. Linear representations of finite groups, volume Vol. 42 of Graduate Texts in Mathematics. Springer-Verlag, New York-Heidelberg, french edition, 1977. doi:10.1007/978-1-4684-9458-7.
  • [50] Michael Sipser. Borel sets and circuit complexity. In David S. Johnson, Ronald Fagin, Michael L. Fredman, David Harel, Richard M. Karp, Nancy A. Lynch, Christos H. Papadimitriou, Ronald L. Rivest, Walter L. Ruzzo, and Joel I. Seiferas, editors, Proceedings of the 15th Annual ACM Symposium on Theory of Computing, 25-27 April, 1983, Boston, Massachusetts, USA, pages 61–69. ACM, 1983. doi:10.1145/800061.808733.
  • [51] Bangsheng Tang. Towards Understanding Satisfiability, Group Isomorphism and Their Connections. PhD thesis, Tsinghua University, 2013.
  • [52] D. R. Taunt. Remarks on the isomorphism problem in theories of construction of finite groups. Mathematical Proceedings of the Cambridge Philosophical Society, 51(1):16–24, 1955. doi:10.1017/S030500410002987X.
  • [53] Jacobo Torán. On the hardness of graph isomorphism. SIAM J. Comput., 33(5):1093–1108, 2004. doi:10.1137/S009753970241096X.
  • [54] Heribert Vollmer. Introduction to Circuit Complexity - A Uniform Approach. Texts in Theoretical Computer Science. An EATCS Series. Springer, 1999. doi:10.1007/978-3-662-03927-4.
  • [55] James B. Wilson. The threshold for subgroup profiles to agree is logarithmic. Theory of Computing, 15(19):1–25, 2019. doi:10.4086/toc.2019.v015a019.
  • [56] V. N. Zemlyachenko, N. M. Korneenko, and R. I. Tyshkevich. Graph isomorphism problem. J. Soviet Math., 29(4):1426–1481, May 1985. doi:10.1007/BF02104746.