Low-complexity computations for nilpotent subgroup problems
Jeremy Macdonald, Alexei Miasnikov, Denis Ovchinnikov

TL;DR
This paper develops efficient algorithms for key subgroup problems in nilpotent groups, achieving low-complexity solutions using TC0 circuits and logspace, even with compressed inputs.
Contribution
It introduces novel low-complexity algorithms for subgroup problems in nilpotent groups, including handling compressed inputs, with uniform solutions in circuit and logspace models.
Findings
Algorithms run in TC0 circuits and logspace for nilpotent groups.
Handling compressed inputs with quartic time algorithms.
Provides efficient solutions for subgroup conjugacy, normalizer, isolator, coset intersection, and torsion subgroup.
Abstract
We solve the following algorithmic problems using TC0 circuits, or in logspace and quasilinear time, uniformly in the class of nilpotent groups with bounded nilpotency class and rank: subgroup conjugacy, computing the normalizer and isolator of a subgroup, coset intersection, and computing the torsion subgroup. Additionally, if any input words are provided in compressed form as straight-line programs or in Mal'cev coordinates the algorithms run in quartic time.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Low-complexity computations for nilpotent subgroup problems
Jeremy Macdonald111Concordia University, [email protected], Alexei Miasnikov222Stevens Institute of Technology, [email protected], Denis Ovchinnikov333Stevens Institute of Technology, [email protected]
Abstract
We solve the following algorithmic problems using circuits, or in logspace and quasilinear time, uniformly in the class of nilpotent groups with bounded nilpotency class and rank: subgroup conjugacy, computing the normalizer and isolator of a subgroup, coset intersection, and computing the torsion subgroup. Additionally, if any input words are provided in compressed form as straight-line programs or in Mal’cev coordinates the algorithms run in quartic time.
Contents
1 Introduction
This is the third paper in a series on complexity of algorithmic problems in finitely generated nilpotent groups. In the first paper [MMNV15], we showed that the basic algorithmic problems (normal forms, conjugacy of elements, subgroup membership, centralizers, presentation of subgroups, etc.) can be solved by algorithms running in logarithmic space and quasilinear time. Further, if the problems are considered in ‘compressed’ form with each input word provided as a straight-line program, we showed that the problems are solvable in polynomial time. The second paper [MW17] pushed the complexity of these problems lower, showing that they may be solved by TC0 circuits. Here we expand the list of algorithmic problems for nilpotent groups which may be solved in these low complexity conditions to include several fundamental problems concerning subgroups.
Note that in group theory algorithmic problems for subgroups of groups are usually much harder then the basic algorithmic problems mentioned above. Nevertheless, we present here algorithms for deciding the conjugacy of two subgroups of a finitely generated nilpotent group , finding the normalizer and the isolator of a given subgroup of , finding the torsion subgroup of , and finding the intersection of two cosets of subgroups of , all of which may be implemented by TC0 circuits, or run in logarithmic space and quasilinear time on a (multi-tape) Turing machine. Furthermore, the compressed versions of these problems are solvable in polynomial (specifically, quartic) time. All of the algorithms work uniformly over finitely generated nilpotent groups (i.e. the group may be included in the algorithm’s input), however the complexity bounds depend on the nilpotency class and the rank (number of generators) of the presentation. When both are bounded, we solve all the problems uniformly in TC0 or logspace and quasilinear time.
Algorithmic problems in nilpotent groups have been studied for a long time. On the one hand, it was shown that many of them are decidable and many sophisticated decision algorithms were designed (see, for example, the pioneering paper [KRR*+*69] by Kargapolov et al. published in 1969 and the books [Sim94] and [HEO05] for more recent techniques); on the other hand, there are some which have been known to be undecidable for some time (for instance, decidability of equations [Rom77]). Recent work by a variety of authors has introduced a host of decidable/undecidable problems. New undecidable problems, including the knapsack problem, commutator and rectract problems are described in [Loh15], [KLZ15], [MT16], and [Rom16], while positive decidability results for direct product decompositions and equations in the Heisenberg group are described in [BMO16] and [DLS15]. Decidability and undecidability results for equations over random nilpotent groups are also given in [GMO16a] and [GMO16b].
However, it seems that this paper together with [MMNV15] and [MW17] present the first thorough attempt to study the complexity of the problems, beyond the decidable/undecidable dichotomy. In fact, it seems this is currently the only known large class of non-abelian groups where the major algorithmic problems are shown to have low space and time complexity. Another large class of such groups is, perhaps, the class of finitely generated free groups given by the standard presentations. Even there, if the free groups are given by arbitrary finite presentations the complexity of the algorithmic problems is still mostly unknown.
We have not yet mentioned one of the fundamental algorithmic problems in nilpotent groups: the isomorphism problem. It is decidable due to the famous result of Grunewald and Segal [GS80]. Nevertheless, not much is known about its complexity.
Problem 1**.**
Is the isomorphism problem in finitely generated nilpotent groups decidable in polynomial time? Exponential time?
2 Background
This section describes, summarizing from [MMNV15] and [MW17], how we will represent finitely generated nilpotent groups (§2.1) and their subgroups (§2.2), and gives black-box descriptions of several algorithms that we will be using as subroutines (§2.4). We also give a brief introduction to the TC0 circuit model of computation, logspace computations, and the use of compressed words in algorithmic problems over groups (§2.3).
2.1 Nilpotent presentations
Let be a finitely generated nilpotent group of nilpotency class . Then has lower central series
[TABLE]
with for . From this series we derive a presentation for , as follows.
Each is a finitely generated abelian group. We select and fix a finite generating set for and put
[TABLE]
For each , if , we denote by the order of in , using when the order is infinite. Denote
[TABLE]
Provided that each generating set above is chosen to correspond to a primary or invariant factor decomposition of , every element may be written uniquely in Mal’cev normal form as
[TABLE]
where and if then . The set is called a Mal’cev basis of and the integers are the Mal’cev coordinates of .
For each , denote . An essential fact, which follows from the definition of the lower central series, is that for any ,
[TABLE]
for some . From this it follows that relations of the form
[TABLE]
with , hold in . In addition, for each there is a relation of the form
[TABLE]
where . The set , viewed as an abstract set of symbols, together with relators (2)–(4) then form a presentation for called a nilpotent presentation. In fact, any presentation of this form defines a nilpotent group. Such a presentation is called consistent if the order of each modulo is precisely . Note that is permitted in a nilpotent presentation.
For low-complexity algorithms, an essential property of nilpotent presentations is the following (see [MMNV15] Thm. 2.3 and Lem. 2.5): if is any word over , then the length of the Mal’cev normal form (1) of the element corresponding to in is bounded by a polynomial function of the length of , with the degree of the polynomial depending on the nilpotency class and number of generators of . This fact plays a crucial role in solving efficiently the fundamental algorithmic problems in finitely generated nilpotent groups.
2.2 Subgroups
All of our results concern subgroups of finitely generated nilpotent groups. For every subgroup (all of which are, necessarily, finitely generated), one may define a unique generating set called the full-form sequence for . The precise definition was given in [Sim94] (and is reviewed in [MMNV15]), but we mention here only three facts about that we will need.
First, let be the matrix in which row is the row vector consisting of the Mal’cev coordinates of . Then is in row echelon form and does not contain zero rows. We denote by the pivot column of row of . Since this column corresponds to generator , the Mal’cev normal form of begins with , so .
Second, the number of generators is bounded by the length of the Mal’cev basis. Third, every element can be uniquely presented in the form
[TABLE]
where and if . Hence
[TABLE]
2.3 Logspace, TC0, and compressed words
Let be a finite language. We are interested in both decision and search problems, and we may regard each such problem as a function . The set consists of a set of symbols, say , which denote group generators, and a few extra symbols used to separate different parts of the input (commas to separate relators etc.). We will be computing using logarithmic space or using TC0circuits. We recall both of these notions below.
Logspace.
A -logspace transducer, where is a constant, is a multi-tape Turing machine consisting of the following tapes: an ‘input’ tape which is read-only, a constant number of read-write ‘work’ tapes, and a write-only ‘output‘ tape. For any input of length , which is provided on the input tape, the amount of space the transducer is allowed to use on each work tape is . The output of the machine is the content of the output tape. A function is said to be logspace computable, or more casually the associated problem is solvable in logarithmic space, if there exists a constant and a -logspace transducer that produces on the output tape for any input appearing on the input tape.
Though computation on a -logspace transducer puts a bound only on space resources, a polynomial time bound of is forced by the fact that the machine may not enter the same configuration twice (otherwise it will loop infinitely) and the number of configurations is bounded by a polynomial function of the input length. The degree may be very high, and for this reason it is also desirable to show directly that our algorithms run in low-degree polynomial time, in particular quasilinear time (i.e. for some constant ).
Most of our algorithms invoke other logspace algorithms as subroutines, and as such we need to compute compositions of logspace computable functions. A standard argument shows that is again logspace computable, but in computing in this way, each symbol of is recomputed each time it is needed in computation of , which may give a significant increase in time complexity. However, if the output is always of size , one may simply compute first, store the output on the work tape, and then proceed to compute . This is the case in all of our algorithms, so in this case the time complexity of is simply added to the overall time complexity.
TC0 circuits.
A TC0 circuit with inputs is a boolean circuit of constant depth using NOT gates and unbounded fan-in AND, OR, and MAJORITY gates, such that the total number of gates is bounded by a polynomial function of . A MAJORITY gate outputs 1 when more than half of its inputs are 1. A function is TC0-computable (more casually, ‘an algorithm is in TC0’) if for each there is a TC0 circuit with inputs which produces on every input of length . Essential for our purposes is the fact that the composition of two TC0-computable functions is again TC0-computable.
Since this definition of being computable only asserts that such a family of circuits exists, one normally imposes in addition a uniformity condition stating that each is constructible in some sense. We will only be concerned here with standard notion of DLOGTIME uniformity, which asserts that there is a random-access Turing machine which decides in logarithmic time whether in circuit the output of gate number is connected to the input of gate , and determines the types of gates and . We refer the reader to [Vol99] for further details on TC0.
To put our results in context, we remind the reader of the following inclusions of complexity classes:
[TABLE]
It is not known whether any of these inclusions is strict. Though every TC0-computable function is also logspace-computable and polynomial-time computable, our algorithm descriptions also give direct proofs of membership in these classes.
Compressed words.
We are also interested in algorithms that run efficiently when the input is given in compressed format. The use of Mal’cev coordinates provides a natural compression scheme for elements of : each may be encoded by a tuple of integers (its Mal’cev coordinates) written in binary. Notice that if the size of the Mal’cev basis is bounded, a normal form of length may be encoded by bits. Since every finitely generated nilpotent group has a Mal’cev basis, it is natural to consider algorithmic problems in which input words represented in this compact way. Of course, such ‘compressed problems’ are, in terms of computational complexity, more difficult than their uncompressed siblings.
Since we will consider uniform algorithms, in which a finitely generated nilpotent group is given by an arbitrary presentation as part of the input, we also consider two other compression schemes which do not depend on a the specification of a Mal’cev basis. First, we may simply allow exponents to be encoded in binary. In this scheme, a word is encoded as a product of tuples , representing , where is a group generator or, recursively, a word of this form, and is a binary integer. For example, is encoded as .
Second, we consider straight-line programs, that is, context-free grammars that generate exactly one string. Formally, a straight-line program or compressed word over an alphabet consists of a set called the non-terminal symbols and for each non-terminal symbol a production rule either of the form with , or of the form where with denoting the empty word. The non-terminal is termed the root, and one ‘expands’ the compressed word by starting with the one-character word and successively replacing any non-terminal with the right side of its production rule until only symbols from remain. The number of non-terminal symbols is the size of the program. Compression arises since a program of size may expand to a word of length . We refer the reader to the survey article [Loh12] and the monograph [Loh14] for further information on compressed words, or to the introduction of [MMNV15] for some brief remarks.
2.4 Fundamental algorithms for nilpotent groups
Throughout this paper, we make extensive use of algorithms described in [MMNV15] and [MW17]. We give below a summary of some of the most heavily-used ones, and we will use the names listed here, in bold text, to refer to their use.
- •
Full-form Sequence: Given , compute the full-form generating sequence for .
- •
Membership: Given and , determine if and if so, compute the unique expression where is the full-form sequence for .
- •
Subgroup Presentation: Given , compute a consistent nilpotent presentation for .
- •
Conjugacy: Given , produce such that or determine that no such exists.
- •
Centralizer: Given , compute a generating set for the centralizer of in .
- •
Kernel: Given and , produce a generating set for the kernel of .
- •
Preimage: Given , , and guaranteed to be in , produce such that .
We will need some further details regarding the input/output of these algorithms as well as their complexity.
Input. In each algorithm, we fix in advance two integers and . The ambient nilpotent groups and are part of the input (thus the algorithms are ‘uniform’) but must be of nilpotency class at most and be presented using at most generators for the complexity bounds given below to be valid. Group elements are given as words over the generating set(s), subgroups are specified by finite generating sets, and is given by listing the elements for each given generator of . The length of the input is the sum of the lengths of all relators in and plus the lengths of all input words.
Output. Each output word is given as a word over the original generating set except possibly in Full-form sequence and Membership. In these cases, the algorithm converts to a nilpotent presentation of , if one is not already provided, and provides the output words in the new generators (the isomorphism may also be provided, see Lemma 3 below). In Centralizer and Kernel, if the original presentation of is already a nilpotent presentation, one may assume that the subgroup generating set in the output is the full-form sequence.
In every case, the total length of each output word is bounded by a polynomial function of and the number of output words is bounded by a constant. Optionally, the output words may be given by their Mal’cev coordinates.
Complexity. Each algorithm may be implemented on a logspace transducer, and if so runs in time quasilinear in . The proofs are given in [MMNV15]. Alternatively, each problem may be solved using TC0 circuits, as proved in [MW17].
Compressed inputs. Each algorithm may also be run ‘with compressed inputs’. In this case, any input word (including group relators) may be provided by (binary) Mal’cev coordinates, words with binary exponents, or straight-line programs, as described in §2.3. We will measure the size of the input in terms of the number of input words and the maximum size of any single input word (in number of bits or number of non-terminal symbols). The space complexity of each algorithm is then (it does not depend on ) and the time complexity is . All output is provided in the corresponding compressed format. Although each input word, in its expanded form, may have length , the polynomial bound for the length of output words implies that each output word, in expanded form, has length where is the degree of the aformentioned polynomial bound. Since is constant, the compressed size of each output remains .
Remark 2**.**
We place no restriction on the number of input words. In all of the algorithms, any variable-sized set of input words (e.g. list of subgroup generators, group relators) will be fed as input to the matrix reduction algorithm described in Thm. 3.4 of [MMNV15] and processed in the ‘piecewise’ manner described there, one word at a time. After this, sets of words usually only appear as full-form sequences for subgroups, the number of which is always bounded by a constant. The value contributes a linear factor to the time complexity of this algorithm (in both uncompressed and compressed cases), but does not contribute to the space complexity.
While neither these algorithms nor the ones we describe in this paper require that the input groups and be given by a nilpotent presentation, this form is used internally by all of the algorithms. Converting to such a presentation is accomplished as follows.
Lemma 3**.**
Let and be fixed integers. There is an algorithm that, given a finitely presented nilpotent group of nilpotency class at most and with , a finite set , and a word over guaranteed to be in the subgroup , produces
- •
a consistent nilpotent presentation for , in which binary numbers are used to encode exponents in the relators ,
- •
a map which extends to an isomorphism , and
- •
a binary integer tuple giving the Mal’cev coordinates of relative to .
The algorithm runs in space logarithmic in the input length and time quasilinear in , or in TC0, and the (expanded) length of each output word is bounded by a polynomial function of . If compressed inputs are used (in , , or ), the space requirement is and the time is , where is the total number of input words and bounds the size of any single input word.
Proof.
Algorithm. Begin by applying Prop. 5.1 of [MMNV15] (or Lem. 5 of [MW17] in the TC0 case) to compute a consistent nilpotent presentation . Here , the inclusion induces an isomorphism , and each element of is a commutator in elements of . Use Subgroup Presentation to compute a nilpotent presentation for . The generating set is precisely the full-form sequence for . The relators have the form (2)-(4), and we encode the exponents appearing on the right sides in binary. To obtain , note that each element of has the form , where . We replace each with its definition as a commutator of elements of and encode the exponents using binary numbers. Finally, use Subgroup Membership with input and , which returns an expression , giving the Mal’cev coordinates .
Complexity. Follows immediately from [MMNV15] and [MW17]. Note that is a constant depending on and . ∎
We will often use this lemma in the case to convert from an arbitrary presentation of to a nilpotent presentation. In this case, we may assume the algorithm uses . We convert all input words into their Mal’cev coordinates (relative to ) at the same time, and perform further computations directly on the Mal’cev coordinates.
Using binary numbers in the output is necessary in order to obtain quasilinear time, since writing down a word in its expanded form takes as many steps as the length of the word itself, which in this case is only bounded by a polynomial function of .
3 Algorithmic problems
Before presenting the algorithms, let us make a few remarks regarding their complexity analysis. The analysis of most of the algorthims is similar, so we present here a general argument and fill in any additional details in the proof of each algorithm.
First, note that the nilpotency class and maximum number of generators of the input group(s) are constant. All other constants are expressible in terms of and .
At the beginning of each algorithm, we convert to a nilpotent presentation, if necessary, using Lemma 3. We denote the resulting Mal’cev basis by
[TABLE]
Note that is constant. Word lengths are unchanged during this conversion (see Lemma 3). We are guaranteed by [MMNV15] Thm. 2.3 that a word of length has a Mal’cev form of length polynomial in , hence its coordinates require bits to record.
Our algorithms generally consist of a sequence of subroutine calls, using the algorithms described in §2.4 as well as those described in this section, with some minor additional processing. The complexity bounds described in §2.4 also apply to the algorithms we describe in this section, as we will see. In all cases, we prove that the total number of subroutine calls and the total number of words that must be stored in memory at any given time is constant. Consequently, the entire algorithm can, in principle, be expressed as a composition of a constant number of functions. Each such function is TC0-computable, hence so is the composition. Note that to ‘store in memory’ in TC0 terms means to add a parallel computation branch computing .
Though it follows immediately that we have logspace solutions to these problems, we wish to prove that one may in fact run the algorithms on a logspace transducer in quasilinear time. To do so, we must show that each subroutine may be run directly ‘in memory’ on the logspace transducer.
This is achieved by invoking each subroutine in its ‘compressed’ form. Initially, all input words are converted into -bit Mal’cev coordinate form. In this process, any variable-sized set of words (subgroup generators or group relators) is reduced to a constant-sized set (the full-form sequence). This size is bounded by , and we often assume it is precisely for notational convenience. Each subroutine is then called with a constant number of -bit words. It will therefore run in space and time , and produce a constant number of -bit output words.
For compressed inputs, the argument is similar. As we observed earlier, the polynomial length bound implies that the compressed size of words remains throughout the algorithm. Each subroutine therefore has space complexity and time complexity , so the overall space and time complexities are and .
Finally, let us note that if we have a constant number elements in Mal’cev form we can, by [MMNV15] Lem. 2.10, compute the Mal’cev form of the product within the space and time bounds specified above, in both compressed and uncompressed cases. We use this without mention to maintain elements in coordinate form.
3.1 Subgroup conjugacy and normalizers
In this section we give an algorithm to determine whether or not two subgroups of a nilpotent group are conjugate and if so to compute a conjugating element. A natural by-product of this algorithm is the computation of subgroup normalizers.
We begin with a preliminary lemma solving the simultaneous conjugacy problem for tuples of commuting elements. In fact, commutation is not required, but we will obtain this stronger result (Theorem 7) as a corollary of the more complicated coset intersection algorithm.
Lemma 4**.**
Fix positive integers , , and . There is an algorithm that, given a finitely generated nilpotent group of nilpotency class at most with and two tuples of elements and such that for all , decides if there exists such that
[TABLE]
for all . The algorithm produces if one exists, returns a generating set for the centralizer of , and may be run in space logarithmic in the length of the input and time quasilinear in , or in TC0. The length of each output word is bounded by a polynomial function of . If compressed inputs are used, the algorithm uses space and time , where and bounds the encoded size of each input word.
Proof.
Algorithm. If necessary, use Lemma 3 to convert to a nilpotent presentation. Next, we check conjugacy of with using the Conjugacy Algorithm. If they are not conjugate, we may return ‘No’. Otherwise, we obtain such that and we compute a generating set for using the Centralizer Algorithm.
If , we proceed recursively. Notice that exists if and only if there exists such that for , since we may put . Further, such must lie in since . Therefore it suffices to call Lemma 4 recursively with the (commuting) tuples and and the subgroup in place of . Before making the recursive call, we use Lemma 3 to convert to a nilpotent presentation for and write each of , relative to this presentation.
If we obtain a conjugator , we may return , using the map provided by Lemma 3 to write in the original generators . In addition, we obtain a generating set for the centralizer of in , which is precisely a generating set for the centralizer of the complete set in . As above, we must use to write these words in generators . If the recursive call returns ‘No’, then the tuples are not conjugate.
Complexity. The depth of the recursion is constant and we need only store and the (constant-sized) generating set for the centralizer at each step of the recursion, hence the general argument given at the beginning of the section applies.
∎
We now give the algorithm for determining conjugacy of two subgroups.
Theorem 5**.**
Fix integers and . There is an algorithm that, given a finitely presented nilpotent group of nilpotency class at most with and two subgroups and , determines if there exists such that
[TABLE]
and if so finds such an element as well as
[TABLE]
of . The algorithm runs in space logarithmic in the total length of the input and time quasilinear in , or in TC0, and the length of every output word is bounded by a polynomial function of . If compressed inputs are used, the space complexity is and the time complexity where is the total number of input words and bounds the encoded size of each input word.
Proof.
Algorithm. Begin by converting, if necessary, to a nilpotent presentation of using Lemma 3.
The algorithm recurses on the maximum such that and . To find , simply compute the Full-form Sequence for and observe that if the last element of the sequence begin with the letter then is the unique index such that belongs to the generating set of (see §2.1). Compute similarly the maximum such that and . If , then and are not conjugate since their conjugacy would imply conjugacy of with for all (since the are normal subgroups), hence equality of and .
Denote and produce the full-form sequence for this group by taking the elements of the full-form sequence for that are in . Proceed similarly for . Next, we check conjugacy of with .
Conjugacy of with . Let be the natural homomorphism. By the definition of central series, acts trivially by conjugation on . Hence if and are conjugate then . We first check if , returning ‘No’ if not. To do so, it suffices to compute the Full-form Sequences for and , and check them for equality.
Let be the full-form sequence for , computed above. We now produce a generating set for such that for all , as follows. Use the Preimage algorithm, with the subgroup , the homomorphism , and the element , to produce each . Since , generates .
We claim for any , if and only if for . Indeed, since the tuples and are generating sets their conjugacy implies and are conjugate. Conversely, if then for all . But , and since \ \bar{}\ is injective on , we have for all . Also observe that is abelian, since
[TABLE]
and similary for . Hence and are both tuples of commuting elements. So to determine conjugacy of with it suffices to use the algorithm of Lemma 4 to determine conjugacy of and and if so find a conjugator and a generating set for . In fact, since if any element normalizes , then for each we have and hence , arguing as above.
Recursion. If , then and and we have already solved the problem. Otherwise, letting
[TABLE]
be the canonical homomorphism, we reduce the problem to conjugation of and in , as follows.
An element such that exists if and only if there exists such that . Such an element must lie in , since
[TABLE]
Now , and since
[TABLE]
Finally, if for some , we claim that . Indeed, if then for some and we have . But and , so and the inclusion follows. The reverse inclusion is proved similarly.
In order to solve the conjugation problem of and in , we first use Lemma 3, with the generating set , to find a nilpotent presentation for and to convert the generating sets for , , and into coordinate form in this presentation. Add the generators of to this presentation to obtain a presentation for , and call Theorem 5 with this presentation and the subgroups and .
It is essential to prove that the value of decreases in the recursive call. Letting denote term of the lower central series of , we have that , hence , and the intersection is trivial modulo , hence must decrease.
The recursive call either proves that and are not conjugate, in which case and are not conjugate, or returns a conjugator and a generating set for the normalizer of in . Note that (and each element of ) is given as a word over the generating set of with binary exponents. We convert back to the generating set of using the map provided by Lemma 3. For the conjugator, we return the word .
For the normalizer, we append to a generating set of to obtain a generating set for the normalizer of in . But this is precisely the normalizer of in : if for some then and so .
Complexity. The depth of the recursion is bounded by the constant , and the number of words to store in memory is constant. ∎
It should be noted that while the algorithm does not compute the normalizer of in the event that and are not conjugate, one may of course obtain it by running the algorithm with .
3.2 Coset intersection
We describe an algorithm to compute the intersection of cosets in finitely generated nilpotent groups, and apply it to solving the simultaneous conjugacy problem. Recall that in any group, the intersection of two cosets is, if non-empty, a coset of the intersection .
Theorem 6**.**
Fix integers and . There is an algorithm that, given a finitely presented nilpotent group of nilpotency class at most with , two subgroups and of , and two elements and of , determines if the intersection is non-empty and if so, produces a generating set for and an element , hence
[TABLE]
The algorithm runs in space logarithmic in the length of the input and time quasilinear in , or in TC0. If compressed inputs are used, the space complexity is and the time complexity where is the total number of input words and bounds the encoded size of each input word.
Proof.
Begin by using Lemma 3 to convert to a nilpotent presentation for , if necessary. We proceed by induction on the nilpotency class .
Base case c=1. In this case, is abelian. First, we will determine if the intersection is non-empty and if so find . Writing
[TABLE]
it suffices to determine if there exists such that . Since is abelian, this occurs if and only if . We use the Membership algorithm, with the union of the Full-form sequences of and as a generating set for , to determine if this is the case, returning ‘No’ if it is not. Otherwise, we obtain an expression of as a linear combination of the elements of the full-form sequence for . We can convert to an expression in terms of the full-form sequences for and , thus obtaining an expression for some elements and , by following the procedure described in Cor. 3.9 of [MMNV15] (essentially, recording an expression of each matrix row in terms of the given generators during the matrix reduction process). This corollary gives only polynomial time, but Thm. 14 of [MW17] gives the corresponding result for TC0 (hence logspace), though we need the fact that and the full-form sequences of and are stored using only bits. We now set and obtain .
We will now find a generating set for . Let be the generating set for and consider the homomorphism defined by
[TABLE]
and the composition . An element of is also an element of if and only if is in the kernel of , hence . To compute the kernel, add the generators of to the relators of to obtain a presentation of , and pass this group together with and the standard presentation of to the Kernel algorithm. Applying to each resulting subgroup generator, we obtain a generating set (in fact, the full-form sequence) for .
Inductive case. Denote by the canonical homomorphism. Invoke Theorem 6 recursively in with inputs , , , and . Note that it suffices to erase all generators of to compute (more formally, one may use Lemma 3).
If the recursive call determines that is empty, then so is . Otherwise, we obtain an element and a generating set of , hence
[TABLE]
Denote by (but do not compute) the preimage of under . We will rewrite the intersection in the form
[TABLE]
for certain , defined below. Compute a Preimage of in and a Preimage of in . Let
[TABLE]
Since , it follows that .
To see that (5) holds, let be an element of the left side. Then and for some and for some . Then for some , hence since . Clearly , hence . Similarly . Conversely, any element of the right side has the form for some hence is in , and has the form for some hence is in .
We will now find the full-form sequences for and . Apply the Preimage algorithm to compute for each preimages and . Compute a generating set for by finding the Full-form sequence for and selecting only those elements that belong to . Similarly, compute a generating set for . We now have
[TABLE]
Using the generating sets above, find the Full-form sequence for , where denotes the first generator of the sequence that lies in . Likewise find the Full-form sequence for , with being the first generator in . Since and have the same image under , it follows that and for all that for some . We now have the full-form sequences
[TABLE]
The next step produces a generating set of and the element . The correctness of this step is argued below. Denote and consider the intersection
[TABLE]
in the abelian group . Define a homomorphism by
[TABLE]
Using the composition , we may then use the Kernel algorithm, as in the base case, to produce a finitely generated subgroup such that
[TABLE]
The sequence is the full-form sequence for , so the corresponding matrix formed is in row-echelon form. We denote for . In addition, we use the Membership algorithm, as described in the base case, to find
[TABLE]
if such an element exists and to write in the form
[TABLE]
If does not exist, we return ‘No’. Otherwise, we define
[TABLE]
and return . For the generating set of , define the function (it is not, in general, a homomorphism) by
[TABLE]
and return the Full-form sequence for the subgroup generated by the set
[TABLE]
It remains to prove the correctness of the last step. First, we prove that generates . Take any . Then, using the fact that is in the center of ,
[TABLE]
Line (8) gives and, since , line (9) gives . Hence .
For the opposite inclusion, let for and . We will prove, by induction on in the reverse order , that
[TABLE]
for all (in particular for ). For the base case , let . Then for some . Since , we have . Since the matrix corresponding to is in row echelon form, we may write as a linear combination
[TABLE]
where for all . Then
[TABLE]
hence .
For the inductive case, assume that for some and let . Then
[TABLE]
for some . Since and , it follows, rewriting as in (9), that and hence . Hence
[TABLE]
for some and such that for all . Now consider the element
[TABLE]
In the word , the generators do not appear. Further, the total exponent sum of the generator is , while in it is . Since for any and the commutators and are elements of we may collect all occurrences of and eliminate its occurrence in . Hence . By induction, hence as well.
Regarding the intersection being non-empty, observe that by (5),
[TABLE]
Now if is also an element of then, again rewriting as in (9), is an element of which also lies in hence exists. Conversely, if exists, then we have
[TABLE]
hence
[TABLE]
is an element of , hence this intersection is non-empty. This proves the correctness of the decision problem.
Finally, we must show that . Since , we have . Since , we have for some hence
[TABLE]
is an element of , as required.
Complexity. The depth of the recursion is , which is constant, so the total number of subroutine calls is constant. The total number of group elements to record is also constant. ∎
As an application of the intersection algorithm, we may generalize Lemma 4 to solve the simultaneous conjugation problem for tuples in nilpotent groups.
Theorem 7**.**
Fix integers , , and . There is an algorithm that, given a nilpotent group of nilpotency class at most with and two tuples and of elements of , computes:
- •
an element such that
[TABLE]
for
- •
a generating set for the centralizer , or determines that no such element exists.
The algorithm runs in space logarithmic in the size of the input and time quasilinear in , or in TC0, and the length of each output word is bounded by a polynomial function of . If compressed inputs are used, the space complexity is and the time complexity where and bounds the encoded size of each input word.
Proof.
Algorithm. Begin by applying Lemma 3 to convert to a nilpotent presentation if necessary. Next, for each , use the Conjugacy algorithm to find such that . If any pair is not conjugate, then does not exists and we may return ‘No’. We also use the Centralizer algorithm to find, for each , a generating set for .
Now for any and any , the equation
[TABLE]
shows that if and only if , i.e. . Hence the set of all possible conjugators is precisely the coset intersection which we may compute by iterating Theorem 6. As a by-product, we obtain a generating set for
[TABLE]
Complexity. Since is fixed, the number of subroutine calls and elements of to store is constant. ∎
3.3 Torsion subgroup
In every nilpotent group the set consisting of all elements of finite order forms a subgroup called the torsion subgroup. We give an algorithm to compute, from a presentation of , a generating set and presentation for as well as its order. We follow an algorithm outlined in [KRR*+*69].
Theorem 8**.**
Fix positive integers and . There is an algorithm that, given a finitely presented nilpotent group of nilpotency class at most with , produces
- •
a generating set for the torsion subgroup of ,
- •
a presentation for , and
- •
the order of .
The algorithm runs in space logarithmic in the size of the given presentation and time quasilinear in , or in TC0. The length of each output word is bounded by a polynomial function of and the number of such words is bounded by a constant. If compressed inputs are used, the space complexity is and the time complexity is , where and bounds the length of each relator in .
Proof.
Define inductively a sequence of finite normal subgroups of as follows. Let , which is clearly finite and normal. For define the homomorphism and set
[TABLE]
Since is abelian and finitely generated, is finite and hence finiteness of follows from that of . Normality of follows from normality of in and of in . Since is Noetherian, the sequence must stabilize at some . But then is trivial, hence is torsion-free (its torsion subgroup must otherwise intersect its center), hence .
Algorithm. We compute the sequence described above. Begin by applying Lemma 3 to compute a nilpotent presentation . Since is simply the centralizer of any generating set, we may find the full-form sequence for using Theorem 7 with the set . Since is abelian, its torsion subgroup is generated by the set consisting of elements such that . Note that is determined by examining the relators of the form (4) is .
Now assume, by induction, that we have a generating set for . Use Theorem 7 with the nilpotent group and the set to find, as described in the base case, the full-form sequence for . Then generates , and we compute the the Full-form sequence of . If , then . Otherwise, we proceed with the next step of the induction.
Once we obtain the full-form sequence for , it suffices to run Subgroup Presentation to give a presentation for . Denote by the pivot columns of the matrix associated with and by the -entry of this matrix. Then every element of may be expressed uniquely in the form where , and every such expression gives a different element. Hence the order of is
[TABLE]
Complexity. First, we will prove that the depth of the recursion is bounded by . Let Z_{i}=\{h\in G\,|\,[h,g]\in Z_{i-1}\;\mbox{for all g\in G}\} be the term of the upper central series of , with . We claim that
[TABLE]
for all , hence so and the depth of the recursion is bounded by . We proceed by induction. For we have . Now let and consider . Let and consider . Since , we have and since , we have . By the inductive assumption, hence hence . Clearly hence , proving the claim.
Since the depth of the recursion is constant, the total number of subroutine calls is constant, as is the number of elements kept in memory, since each is a full-form sequence (hence of bounded length). ∎
In computing the order of , recall that the numbers where , appear as exponents in the nilpotent presentation computed by Lemma 3. Consequently, each is bounded by a polynomial function of . Since the length of the full-form sequence for is bounded by a constant, the order of is polynomially bounded.
Corollary 9**.**
If is a nilpotent group of nilpotency class with , then the order of the torsion subgroup of is bounded by a polynomial function of the sum of the lengths of the relators .
3.4 Isolator
Recall that the isolator of in is defined by
[TABLE]
and, in nilpotent groups, forms a subgroup.
Theorem 10**.**
Fix integers and . There is an algorithm that, given a finitely presented nilpotent group of nilpotency class at most with , and a subgroup , computes
[TABLE]
The algorithm runs in space logarithmic in the length of the input and time quasilinear in , or in TC0, and the length of each generator is bounded by a polynomial function of . If compressed inputs are used, the space complexity is and the time complexity where is the number of input words and bounds the encoded size of each input word.
Proof.
Algorithm. First, apply Lemma 3 to convert to a nilpotent presentation .
Let and for define , the normalizer of in . It is proved in [KM79] Thm. 16.2.2 that . Using Theorem 5, we compute in turn the full-form generating sequences for each of the subgroups and using the Subgroup Presentation algorthim we compute a nilpotent presentation
[TABLE]
for each. We now proceed, by induction, to compute for each a generating set for . For , we have and we use the computed full-form sequence for . Now assume that we have a generating set for .
The subgroup is normal in , and we will find the torsion subgroup of . Using Lemma 3, write each element of in its -coordinates. Appending these elements to we obtain a presentation of , which we pass to Theorem 8 to obtain a generating set for the torsion subgroup. Then is generated by . Converting these elements back to generators of , we then compute the Full-form sequence for and, using Lemma 3 the corresponding nilpotent presentation
[TABLE]
We claim that . Indeed, the property that for some is unchanged under conjugation, and since normalizes all conjugates remain in . Using Lemma 3, write each element of in terms of the generators and append these words to to obtain a presentation of . Now apply Theorem 8 to compute a generating set for the torsion subgroup.
Set , using the two prior calls to Lemma 3 to write each in generators of . We claim that generates . Clearly . For each there exists such that , therefore there exists such that . Hence . Now if then for some and , hence lies in the torsion subgroup of , and so is an element of the subgroup generated by .
Finally, return the Full-form sequence for .
Complexity. Since the number of elements in a full-form sequence is bounded by , the total number of elements in the sequences for , , is constant, as is the number of relators in each and the number of elements in the generating set for the torsion subgroups. The depth of the recursion is bounded by . Hence the total number of elements to store and the number of subroutine calls is constant. ∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[BMO 16] Gilbert Baumslag, Charles F. Miller, and Gretchen Ostheimer. Decomposability of finitely generated torsion-free nilpotent groups. Internat. J. Algebra Comput. , 26(8):1529–1546, 2016.
- 2[DLS 15] Moon Duchin, Hao Liang, and Michael Shapiro. Equations in nilpotent groups. Proc. Amer. Math. Soc. , 143(11):4723–4731, 2015.
- 3[GMO 16a] Albert Garreta, Alexei Miasnikov, and Denis Ovchinnikov. Properties of random nilpotent groups. 2016. Preprint. ar Xiv:1612.01242 [math.GR].
- 4[GMO 16b] Albert Garreta, Alexei Miasnikov, and Denis Ovchinnikov. Random nilpotent groups, polycyclic presentations, and diophantine problems. 2016. ar Xiv:1612.02651 [math.GR].
- 5[GS 80] Fritz Grunewald and Daniel Segal. Some general algorithms. II. Nilpotent groups. Ann. of Math. (2) , 112(3):585–617, 1980.
- 6[HEO 05] Derek F. Holt, Bettina Eick, and Eamonn A. O’Brien. Handbook of computational group theory . Discrete Mathematics and its Applications (Boca Raton). Chapman & Hall/CRC, Boca Raton, FL, 2005.
- 7[KLZ 15] Daniel König, Markus Lohrey, and Georg Zetzsche. Knapsack and subset sum problems in nilpotent, polycyclic, and co-context-free groups. 2015. ar Xiv:1507.05145 [math.GR].
- 8[KM 79] M. I. Kargapolov and Ju. I. Merzljakov. Fundamentals of the theory of groups , volume 62 of Graduate Texts in Mathematics . Springer-Verlag, New York-Berlin, 1979. Translated from the second Russian edition by Robert G. Burns.
