Dedicated to the memory of Vladimir N. Remeslennikov, Vitaly A. Roman’kov, and Gennady A. Noskov, mathematicians of Dostoevsky Omsk State University who made important contributions to the algorithmic theory of metabelian groups.
Introduction
The conjugacy problem is one of the classical algorithmic problems in group theory. For finitely generated metabelian groups, its decidability is well known, but the computational complexity of the problem is less understood. In this paper, we show that the conjugacy problem in finitely presented metabelian groups with a fixed number of generators can be solved in bounded-error quantum polynomial time. The algorithm is uniform in the defining relations of the group.
Our approach exploits the connection between metabelian groups and modules over commutative rings. If G G G is metabelian, then its derived subgroup A = G ′ A = G' A = G ′ is an abelian normal subgroup, and conjugation makes A A A a module over the commutative group ring Z [ G / A ] \mathbb{Z}[G/A] Z [ G / A ] . This allows us to reduce the conjugacy problem to an orbit problem for elements of a finitely presented module, and subsequently to a multiplicative subgroup membership problem in a commutative affine Z \mathbb{Z} Z -algebra.
The main algebraic ingredient is a quantum polynomial-time algorithm for computing multiplicative relations among a fixed number of units in a finitely presented commutative Z \mathbb{Z} Z -algebra with a fixed number of variables. The algebra may have positive Krull dimension, nilpotent elements, and integer torsion. Our algorithm combines effective commutative algebra with quantum algorithms for integer factorization and finite abelian groups.
Quantum polynomial-time algorithms in algebra
Since Shor’s quantum polynomial-time algorithms for integer factorization and discrete logarithms [21 ] , quantum computation has been studied extensively. Nevertheless, relatively few broad classes of computational problems in algebra and group theory are known to admit quantum polynomial-time algorithms. Many of the known results rely on reductions to integer factorization, discrete logarithms, or hidden subgroup problems.
In computational group theory, Watrous developed quantum polynomial-time algorithms for order computation, subgroup membership, and related problems in finite solvable black-box groups [25 ] . Cheung and Mosca gave a quantum polynomial-time algorithm for decomposing finite abelian groups [4 ] . Babai, Beals, and Seress obtained randomized polynomial-time algorithms for fundamental problems in finite matrix groups over fields of odd characteristic, using integer factorization and discrete logarithm oracles [3 ] . Together with Shor’s algorithms, these yield quantum polynomial-time algorithms for the corresponding problems.
In algebraic number theory, Hallgren developed quantum polynomial-time algorithms for Pell’s equation and the principal ideal problem in real quadratic fields [11 ] . Eisenträger, Hallgren, Kitaev, and Song extended quantum methods to computing unit groups of number fields of arbitrary degree, using a continuous hidden subgroup approach [7 ] .
Another notable example is the quantum polynomial-time algorithm of Aharonov, Jones, and Landau for additive approximation of the Jones polynomial at roots of unity [1 ] . For suitable roots of unity and approximation parameters, this problem is BQP-complete.
Main results and input conventions
For a tuple u = ( u 1 , … , u k ) u=(u_1,\ldots,u_k) u = ( u 1 , … , u k ) of units in a commutative ring and e ∈ Z k e\in\mathbb{Z}^k e ∈ Z k , write
u e = u 1 e 1 ⋯ u k e k . u^e=u_1^{e_1}\cdots u_k^{e_k}. u e = u 1 e 1 ⋯ u k e k .
If A A A is a commutative K K K -algebra, where K K K is a field, the algebraicity lattice of u ∈ ( A × ) k u\in(A^\times)^k u ∈ ( A × ) k is
Alg K ( u ) = { e ∈ Z k | u e is algebraic over K } . (1) \operatorname{Alg}_K(u)=\left\{e\in\mathbb{Z}^k\mathrel{}\middle|\mathrel{}u^e\text{ is algebraic over }K\right\}. \tag*{(1)} Alg K ( u ) = { e ∈ Z k u e is algebraic over K } . (1)
For a commutative ring A A A , the relation lattice of u ∈ ( A × ) k u\in(A^\times)^k u ∈ ( A × ) k is
Rel A ( u ) = { e ∈ Z k | u e = 1 } . (2) \operatorname{Rel}_A(u)=\left\{e\in\mathbb{Z}^k\mathrel{}\middle|\mathrel{}u^e=1\right\}. \tag*{(2)} Rel A ( u ) = { e ∈ Z k u e = 1 } . (2)
Throughout the paper, polynomial running times refer to bit complexity, with integer coefficients and lattice coordinates encoded in binary. The numbers of variables and units are fixed, and the polynomial-time bounds may depend on these numbers. Polynomial degrees are measured numerically. We allow dense polynomial representations, as well as sparse representations whose numerical degrees are polynomially bounded in the input length. Our complexity bounds do not apply to unrestricted sparse representations with binary-encoded exponents.
Theorem 1.1 (Computing algebraicity lattices). Fix nonnegative integers m , k m,k m , k and let K = Q K=\mathbb{Q} K = Q or F p \mathbb{F}_p F p . Let
A = K [ X 1 , … , X m ] / ( f 1 , … , f r ) , A=K[X_1,\ldots,X_m]/(f_1,\ldots,f_r), A = K [ X 1 , … , X m ] / ( f 1 , … , f r ) , and let u = ( u 1 , … , u k ) ∈ ( A × ) k u=(u_1,\ldots,u_k)\in(A^\times)^k u = ( u 1 , … , u k ) ∈ ( A × ) k be specified by polynomial representatives of the units and their inverses. A basis of Alg K ( u ) \operatorname{Alg}_K(u) Alg K ( u ) can be computed in deterministic polynomial time.
Moreover, if D ≥ 2 D \ge2 D ≥ 2 bounds the total degrees of the input polynomials, then Alg K ( u ) \operatorname{Alg}_{K}(u) Alg K ( u ) admits a basis b 1 , … , b s b_1,\ldots,b_s b 1 , … , b s satisfying
∥ b i ∥ ∞ ≤ k ! D ( m + 1 ) k ( 1 ≤ i ≤ s ) . \lVert b_i\rVert_{\infty} \le k!D^{(m+1)k}\qquad(1\le i\le s). ∥ b i ∥ ∞ ≤ k ! D ( m + 1 ) k ( 1 ≤ i ≤ s ) .
Theorem 1.2 (Computing relation lattices). Fix nonnegative integers m , k m,k m , k . Let
A = Z [ X 1 , … , X m ] / ( f 1 , … , f r ) , A=\mathbb{Z}[X_1,\ldots,X_m]/(f_1,\ldots,f_r), A = Z [ X 1 , … , X m ] / ( f 1 , … , f r ) , and let u = ( u 1 , … , u k ) ∈ ( A × ) k u=(u_1,\ldots,u_k)\in(A^{\times})^k u = ( u 1 , … , u k ) ∈ ( A × ) k be specified by polynomial representatives of the units and their inverses. A basis of Rel A ( u ) \operatorname{Rel}_A(u) Rel A ( u ) can be computed in bounded-error quantum polynomial time.
Corollary 1.3 (Subgroup membership and exponent representations). Fix nonnegative integers m , k m,k m , k . Let S S S and u 1 , … , u k u_1,\ldots,u_k u 1 , … , u k be as in Theorem 1.2 , and let h ∈ S × h\in S^{\times} h ∈ S × be specified by polynomial representatives of h h h and h − 1 h^{-1} h − 1 . There is a bounded-error quantum polynomial-time algorithm that decides whether
h ∈ ⟨ u 1 , … , u k ⟩ . h\in\langle u_1,\ldots,u_k\rangle. h ∈ ⟨ u 1 , … , u k ⟩ . If so, the algorithm computes a vector e 0 ∈ Z k e_0\in\mathbb{Z}^k e 0 ∈ Z k such that
{ e ∈ Z k : e u = h } = e 0 + Rel S ( u 1 , … , u k ) . \{e\in\mathbb{Z}^k:e^u=h\}=e_0+\operatorname{Rel}_S(u_1,\ldots,u_k). { e ∈ Z k : e u = h } = e 0 + Rel S ( u 1 , … , u k ) .
Theorem 1.4. Fix k ≥ 1 k\ge1 k ≥ 1 . There is a bounded-error quantum polynomial-time algorithm that, given a finite presentation
G = ⟨ x 1 , … , x k ∣ r 1 , … , r m ⟩ M G=\langle x_1,\ldots,x_k\mid r_1,\ldots,r_m\rangle_M G = ⟨ x 1 , … , x k ∣ r 1 , … , r m ⟩ M of a metabelian group and two words x , y x,y x , y over its generators, decides whether x x x and y y y are conjugate in G G G .
In Theorem 1.4 , the number k k k of generators is fixed, but the defining relations of G G G are part of the input. The algorithm is uniform in these relations and in the input words. Its polynomial running time has degree depending only on k k k .
The reductions and the new lattice argument are proved below. We use the standard polynomial algorithms for integer linear algebra and Hermite and Smith normal forms, the effective algebraic bounds specified in § 2 , Lenstra–Silverberg’s Theorem 1.11(i) for explicitly represented finite-dimensional commutative Q \mathbb{Q} Q -algebras [16 ] , and quantum factorization, order finding and the finite abelian hidden-subgroup algorithm [21 , 4 ] . These underlying algorithmic theorems are used with their stated input representations; their proofs are not reproduced here.
We use right conjugation g h = h − 1 g h g^h=h^{-1}gh g h = h − 1 g h and commutators [ g , h ] = g − 1 h − 1 g h [g,h]=g^{-1}h^{-1}gh [ g , h ] = g − 1 h − 1 g h . Abelian normal subgroups are written additively when regarded as modules.
Related results
Noskov established decidability of the conjugacy problem in finitely generated metabelian groups [20 ] . The reduction of conjugacy to orbit problems in modules over integral group rings is part of this classical theory. We give an explicit formulation of this reduction and show that the required module presentations and subsequent cyclic-module computations can be constructed in polynomial time, uniformly over presentations with a fixed number of generators.
Stronger classical complexity bounds are known for several important classes of solvable groups. Matthews studied conjugacy in free metabelian groups using wreath products [17 ] . Vassileva established polynomial-time algorithms for conjugacy decision and search in free solvable groups [24 ] . Ushakov subsequently obtained a quasi-quartic-time Monte Carlo algorithm for conjugacy in free solvable groups, with a complexity bound uniform in the derived length, which need not be fixed [23 ] .
These results were extended to a broader family of groups by Gul, Sohrabi, and Ushakov [10 ] . They studied groups of the form F / N ( d ) F/N^{(d)} F / N ( d ) , where F F F is a finitely generated free group and N N N is a normal subgroup of F F F . Assuming that the word problem in F / N F/N F / N is solvable in polynomial time, they obtained polynomial-time algorithms for the word, power, and conjugacy problems in F / N ( d ) F/N^{(d)} F / N ( d ) , for every d ≥ 2 d \ge2 d ≥ 2 , with a polynomial bound independent of d d d . Free solvable groups arise as the special case N = F N=F N = F .
Miasnikov, Vassileva, and Weiß proved that conjugacy decision in fixed free solvable groups and fixed iterated wreath products of finitely generated abelian groups belongs to DLOGTIME-uniform T C 0 \mathrm{TC}^{0} TC 0 [18 Corollary 5.6] . Here the rank, derived length, and iterated wreath construction are fixed, and the inputs are ordinary words. Thus free metabelian groups admit stronger classical complexity bounds, while our result applies uniformly to arbitrary finitely presented metabelian groups with a fixed number of generators.
Nilpotent groups provide another point of comparison. Myasnikov and Weiß established uniform T C 0 \mathrm{TC}^{0} TC 0 algorithms for conjugacy and other algorithmic problems in nilpotent groups of bounded rank and class, using unary inputs and the quotient-presentation model specified in their paper [19 Theorem 13] . Their algorithms also produce conjugators. For binary-exponent inputs, the corresponding conjugacy computations are T C 0 \mathrm{TC}^{0} TC 0 -Turing reducible to binary extended gcd. In particular, conjugacy in a fixed finitely generated nilpotent group, with elements represented by ordinary words, belongs to T C 0 \mathrm{TC}^{0} TC 0 . Nilpotent groups of arbitrary class form a related comparison class rather than a subclass of metabelian groups.
For certain split metabelian groups of finite Prüfer rank, Gryak, Kahrobaei, and Martínez-Pérez investigated the conjugacy search problem [9 ] . They obtained an exponential-time algorithm in the general setting, polynomial-time algorithms for a subfamily, and a reduction to discrete logarithms for another family. The exponential bound is an upper bound for their algorithm, not a complexity lower bound. These results illustrate the role of multiplicative arithmetic in conjugacy problems, although they concern more restricted classes of groups.
The algebraic component of our approach is closely related to algorithms for multiplicative relations. Ge developed polynomial-time algorithms for multiplicative relations among algebraic numbers [8 ] . Lenstra and Silverberg established algorithms for explicitly represented finite-dimensional commutative Q \mathbb{Q} Q -algebras, including nonreduced algebras [16 Theorem 1.11] . Their input consists of rational structure constants relative to a vector-space basis. We apply their result only after constructing an appropriate finite-dimensional subalgebra with an exact representation of polynomial size.
Kreuzer and Walsh developed algorithms for computing binomial parts of polynomial ideals and related exponent and unit lattices over fields, including affine algebras [14 ] . A unit lattice records exponents for which a product belongs to the coefficient field, whereas an exponent lattice records products equal to 1 1 1 . Both notions differ from the auxiliary lattice of exponents producing algebraic elements that we use below.
In subsequent work, Kreuzer and Walsh also computed exponent lattices in arbitrary finitely generated Z \mathbb{Z} Z -algebras [15 Section 3] , although the later sections of their paper focus on algebras finite as Z \mathbb{Z} Z -modules. Their approach separates rational and torsion contributions and treats higher prime powers by lifting. Thus the underlying algebraic reductions are already known. Our contribution is to establish polynomial bit-complexity bounds for these computations in the affine presentation model, with a fixed number of variables and a fixed number of specified units.
The quantum ingredients are standard algorithms for integer factorization, order finding, and the finite abelian hidden-subgroup problem [21 , 4 ] . We apply them to finite rings with explicit canonical encodings. Our results establish quantum upper bounds; we do not claim classical lower bounds or that all quantum steps reduce to integer factorization.
Outline of the argument
The proof has two main parts. We first develop an algorithm for computing multiplicative relations among units in commutative affine Z \mathbb{Z} Z -algebras. We then reduce the conjugacy problem in a finitely presented metabelian group with a fixed number of generators to a multiplicative subgroup-membership problem in such an algebra.
For the algebraic part, let
S = Z [ X 1 , … , X m ] / I S = \mathbb{Z}[X_1,\ldots,X_m]/I S = Z [ X 1 , … , X m ] / I
be a commutative affine Z \mathbb{Z} Z -algebra, and let u 1 , … , u k ∈ S × u_1,\ldots,u_k \in S^\times u 1 , … , u k ∈ S × . We assume that m m m and k k k are fixed and that the units and their inverses are given by polynomial representatives. Our goal is to compute a basis of the relation lattice
Rel S ( u 1 , … , u k ) = { e ∈ Z k | u 1 e 1 ⋯ u k e k = 1 } . \operatorname{Rel}_S(u_1,\ldots,u_k)=\left\{e\in\mathbb{Z}^k \mathrel{}\middle|\mathrel{} u_1^{e_1}\cdots u_k^{e_k}=1\right\}. Rel S ( u 1 , … , u k ) = { e ∈ Z k u 1 e 1 ⋯ u k e k = 1 } .
§ 2 establishes the necessary algorithmic preliminaries. These include polynomial-time computations in modules over polynomial rings and group rings, effective degree bounds, algebraicity tests, and an arithmetic splitting for affine Z \mathbb{Z} Z -algebras.
In § 3 , we consider an affine algebra over K = Q K=\mathbb{Q} K = Q or F p \mathbb{F}_p F p and the lattice
Alg K ( u 1 , … , u k ) = { e ∈ Z k | u e is algebraic over K } . \operatorname{Alg}_K(u_1,\ldots,u_k)=\left\{e\in\mathbb{Z}^k\mathrel{}\middle|\mathrel{}u^e\text{ is algebraic over }K\right\}. Alg K ( u 1 , … , u k ) = { e ∈ Z k u e is algebraic over K } .
We prove that this lattice has a basis with polynomially bounded coordinates. Since the number of units is fixed, the lattice can be computed by enumerating polynomially many exponent vectors and testing algebraicity. Its basis vectors give units generating a finite-dimensional algebra over K K K . In the rational case, we construct this algebra explicitly and compute its multiplicative relations using the Lenstra–Silverberg algorithm.
§ 4 treats affine algebras over Z / p a Z \mathbb{Z}/p^a\mathbb{Z} Z / p a Z . We first compute the algebraicity lattice after reduction modulo p p p and lift suitable polynomial relations to characteristic p a p^a p a . This allows us to construct an exact finite subring containing the relevant units. Their multiplicative relations are then computed using quantum order finding and the finite abelian hidden-subgroup algorithm.
In § 5 , we combine the rational and prime-power cases. An effective arithmetic splitting gives an injective homomorphism
S ⟶ ( S ⊗ Q ) × S / c S S\longrightarrow(S\otimes\mathbb{Q})\times S/cS S ⟶ ( S ⊗ Q ) × S / c S
for a computable positive integer c c c . Quantum integer factorization and the Chinese remainder theorem reduce the relation-lattice problem over S S S to the previously treated cases. The resulting lattices are intersected using polynomial-time integer linear algebra. This proves Theorem 1.2 . § 6 derives the corresponding multiplicative subgroup-membership algorithm.
The group-theoretic reduction begins in § 7 . For a metabelian group G G G given by an input presentation (1.3) with a fixed number of generators, we put
A = G ′ , Q = G / A , R = Z Q . (3) A=G',\qquad Q=G/A,\qquad R=\mathbb{Z}Q. \tag*{(3)} A = G ′ , Q = G / A , R = Z Q . (3)
Using the R R R -module structure of A A A , we reduce the conjugacy problem for two words to an orbit membership problem
f = e ⋅ q , q ∈ Q , f=e\cdot q,\qquad q\in Q, f = e ⋅ q , q ∈ Q ,
in an explicitly presented R R R -module. The construction and all required module computations take deterministic polynomial time.
In Section 8, we reduce this orbit membership problem to multiplicative subgroup membership
h ∈ ⟨ u 1 , … , u k ⟩ h\in\langle u_1,\ldots,u_k\rangle h ∈ ⟨ u 1 , … , u k ⟩
in a commutative affine Z \mathbb{Z} Z -algebra. Since the number k k k of generators is fixed, the number of polynomial variables and the number of units are fixed. The algorithm of Section 6 therefore applies, yielding the quantum polynomial-time conjugacy algorithm in Section 9.
Preliminaries: polynomial-time computations in polynomial rings and modules
This section collects the computational tools used in the subsequent reductions and algorithms. We establish polynomial-time bounds for linear algebra over polynomial rings in a fixed number of variables, module membership, and annihilator computations. We also develop the arithmetic splitting and elimination procedures needed for the exponent-lattice algorithm.
Fix s ≥ 0 s\ge0 s ≥ 0 and let
P = Z [ Z 1 , … , Z s ] . P=\mathbb{Z}[Z_1,\ldots,Z_s]. P = Z [ Z 1 , … , Z s ] .
Throughout this section, the number of variables s s s is fixed. Polynomials are represented in expanded form, with integer coefficients encoded in binary. All complexity bounds refer to this representation.
Following [2 ] , the height of a polynomial f ∈ P f\in P f ∈ P is defined by
h ( f ) = max { log ∣ a ∣ ∣ a ≠ 0 is a coefficient of f } , h(f)=\max\{\log|a|\mid a\ne0\text{ is a coefficient of }f\}, h ( f ) = max { log ∣ a ∣ ∣ a = 0 is a coefficient of f } ,
with h ( 0 ) = 0 h(0)=0 h ( 0 ) = 0 . More generally, for a finite collection f 1 , … , f k ∈ P f_1,\ldots,f_k\in P f 1 , … , f k ∈ P , we put
h ( f 1 , … , f k ) = max 1 ≤ i ≤ k h ( f i ) . h(f_1,\ldots,f_k)=\max_{1\le i\le k}h(f_i). h ( f 1 , … , f k ) = 1 ≤ i ≤ k max h ( f i ) .
Polynomial-time computations in P P P -modules
In this subsection, we establish polynomial-time algorithms for solving linear systems and computing kernels over P P P . These algorithms rely on degree bounds from [2 ] and standard integer linear algebra. We then apply them to submodule membership and annihilator computations in finitely presented P P P -modules.
Proposition 2.1. The following problems can be solved in deterministic polynomial time:
(a) deciding solvability of a linear system over P P P ;
(b) finding a solution of a linear system over P P P when one exists;
(c) computing a finite generating set for the kernel of a matrix over P P P .
Proof. Let F ∈ P m × r F\in P^{m\times r} F ∈ P m × r and b ∈ P m b\in P^m b ∈ P m . Let d ≥ 1 d\ge1 d ≥ 1 be an upper bound on the degrees of the entries of F F F and b b b , and let h h h be an upper bound on their heights. The matrix dimensions are regarded as part of the input.
Suppose first that the system
is solvable over P P P . By [2 Theorem 6.5] , there is a constant C C C , depending only on s s s , such that the system has a solution satisfying
deg v i ≤ C ( 2 m d ) C ( h + 1 ) ( 1 ≤ i ≤ r ) . \deg v_i \leq C(2md)^C(h+1) \qquad(1 \leq i \leq r). deg v i ≤ C ( 2 m d ) C ( h + 1 ) ( 1 ≤ i ≤ r ) .
Since s s s is fixed, this bound is polynomial in m m m , d d d , and h + 1 h+1 h + 1 . Set
D = ⌈ C ( 2 m d ) C ( h + 1 ) ⌉ . D=\left\lceil C(2md)^C(h+1)\right\rceil. D = ⌈ C ( 2 m d ) C ( h + 1 ) ⌉ .
Write the coordinates of v v v as polynomials of degree at most D D D with unknown integer coefficients. Since s s s is fixed, the number of monomials of degree at most D D D in Z 1 , … , Z s Z_1,\ldots,Z_s Z 1 , … , Z s is
( D + s s ) = O ( D s ) , \binom{D+s}{s}=O(D^s), ( s D + s ) = O ( D s ) ,
and hence the total number of unknown coefficients is polynomial in the input size. Comparing coefficients in F v = b Fv=b F v = b therefore yields an integer linear system
of polynomial size, whose coefficients have polynomial bit length. Using, for example, Smith or Hermite normal form, one can decide in polynomial time whether this system has an integral solution. When a solution exists, these algorithms also produce one whose coordinates have polynomial bit length. Substituting these coordinates into v v v gives a solution of F v = b Fv=b F v = b of polynomial size. This proves (a) and (b).
It remains to prove (c). By [2 Corollary 5.4] , the P P P -module
ker P F = { v ∈ P r : F v = 0 } \ker_P F=\{v\in P^r:Fv=0\} ker P F = { v ∈ P r : F v = 0 }
admits a generating set consisting of polynomial vectors of degree at most
( 2 m d ) 2 O ( s 2 ) . (2md)^{2^{O(s^2)}}. ( 2 m d ) 2 O ( s 2 ) .
Since s s s is fixed, we may choose an explicit degree bound D 0 D_0 D 0 that is polynomial in m m m and d d d .
Write a polynomial vector v ∈ P r v\in P^r v ∈ P r of degree at most D 0 D_0 D 0 with unknown integer coefficients. Since s s s is fixed and D 0 D_0 D 0 is polynomially bounded, comparing coefficients in
yields a homogeneous system of linear equations over Z \mathbb{Z} Z of polynomial size and polynomial coefficient bit length. Computing a Z \mathbb{Z} Z -basis of its integer kernel in polynomial time gives vectors v 1 , … , v ℓ ∈ ker P F v_1,\ldots,v_\ell\in\ker_P F v 1 , … , v ℓ ∈ ker P F that span over Z \mathbb{Z} Z all elements of ker P F \ker_P F ker P F of degree at most D 0 D_0 D 0 .
By the choice of D 0 D_0 D 0 , the P P P -module ker P F \ker_P F ker P F has a generating set whose elements all have degree at most D 0 D_0 D 0 . Each of these generators therefore lies in the Z \mathbb{Z} Z -span of v 1 , … , v ℓ v_1,\ldots,v_\ell v 1 , … , v ℓ . Hence
ker P F = P v 1 + ⋯ + P v ℓ . \ker_P F=Pv_1+\cdots+Pv_\ell. ker P F = P v 1 + ⋯ + P v ℓ .
The computation and its output have polynomial bit complexity. □
Corollary 2.2. For finitely presented P P P -modules, the following problems can be solved in deterministic polynomial time:
(a) deciding membership in a finitely generated submodule and, when membership holds, computing a representation in terms of its generators;
(b) computing a finite generating set for the annihilator of a given element.
Proof. Let M M M be a finitely presented P P P -module given by a presentation
M = P q / im U , U ∈ P q × ℓ . M = P^q/\operatorname{im} U,\qquad U \in P^{q \times\ell}. M = P q / im U , U ∈ P q × ℓ .
The columns of U U U give the defining relations, and elements of M M M are represented by vectors in P q P^q P q . Suppose that the columns of a matrix V V V represent generators of a submodule of M M M . An element represented by b ∈ P q b \in P^q b ∈ P q belongs to this submodule if and only if there exist vectors c c c and z z z over P P P such that
V c + U z = b . Vc + Uz = b. V c + U z = b .
This is a linear system over P P P . By Proposition 2.1 , its solvability can be decided in polynomial time and, when it is solvable, a solution c c c gives the required representation of b b b .
Now let a ∈ P q a \in P^q a ∈ P q represent an element a ˉ ∈ M \bar{a} \in M a ˉ ∈ M . A polynomial f ∈ P f \in P f ∈ P belongs to Ann P ( a ˉ ) \operatorname{Ann}_P(\bar{a}) Ann P ( a ˉ ) if and only if
f a ∈ im U , fa \in\operatorname{im} U, f a ∈ im U ,
or equivalently, if there exists z z z such that
[ a − U ] ( f z ) = 0. \begin{bmatrix} a & -U \end{bmatrix}
\begin{pmatrix} f \\ z \end{pmatrix}
= 0. [ a − U ] ( f z ) = 0.
By Proposition 2.1 , generators of the kernel of this matrix can be computed in polynomial time. Projecting these generators onto their first coordinates gives a generating set for Ann P ( a ˉ ) \operatorname{Ann}_P(\bar{a}) Ann P ( a ˉ ) .
Polynomial-time computations in Z Q \mathbb{Z}Q Z Q -modules
Fix k ≥ 0 k \ge0 k ≥ 0 , and let Q Q Q be an abelian group given by a finite presentation
Q = ⟨ x 1 , … , x k ∣ r 1 , … , r m ⟩ A b (4) Q = \langle x_1,\ldots,x_k \mid r_1,\ldots,r_m\rangle_{\mathrm{Ab}} \tag*{(4)} Q = ⟨ x 1 , … , x k ∣ r 1 , … , r m ⟩ Ab (4)
in the variety of abelian groups, where r 1 , … , r m r_1,\ldots,r_m r 1 , … , r m are group words over x 1 , … , x k x_1,\ldots,x_k x 1 , … , x k . Put
R = Z Q , P = Z [ X 1 , Y 1 , … , X k , Y k ] . R = \mathbb{Z}Q,\qquad P = \mathbb{Z}[X_1,Y_1,\ldots,X_k,Y_k]. R = Z Q , P = Z [ X 1 , Y 1 , … , X k , Y k ] .
For a group word w w w over x 1 , … , x k x_1,\ldots,x_k x 1 , … , x k , let σ x i ( w ) \sigma_{x_i}(w) σ x i ( w ) denote the exponent sum of x i x_i x i in w w w , and define the monomial
mono ( w ) = ( ∏ 1 ≤ i ≤ k σ x i ( w ) > 0 X i σ x i ( w ) ) ( ∏ 1 ≤ i ≤ k σ x i ( w ) < 0 Y i − σ x i ( w ) ) . \operatorname{mono}(w) =
\left(\prod_{\substack{1 \le i \le k\\ \sigma_{x_i}(w)>0}} X_i^{\sigma_{x_i}(w)}\right)
\left(\prod_{\substack{1 \le i \le k\\ \sigma_{x_i}(w)<0}} Y_i^{-\sigma_{x_i}(w)}\right). mono ( w ) = 1 ≤ i ≤ k σ x i ( w ) > 0 ∏ X i σ x i ( w ) 1 ≤ i ≤ k σ x i ( w ) < 0 ∏ Y i − σ x i ( w ) .
Since Q Q Q is abelian, we have
R ≅ P / J , J = ⟨ X i Y i − 1 ( 1 ≤ i ≤ k ) , mono ( r j ) − 1 ( 1 ≤ j ≤ m ) ⟩ , (5) R \cong P/J,\qquad
J = \langle X_iY_i - 1\ (1 \le i \le k),\ \operatorname{mono}(r_j)-1\ (1 \le j \le m)\rangle, \tag*{(5)} R ≅ P / J , J = ⟨ X i Y i − 1 ( 1 ≤ i ≤ k ) , mono ( r j ) − 1 ( 1 ≤ j ≤ m )⟩ , (5)
where X i X_i X i and Y i Y_i Y i represent x i x_i x i and x i − 1 x_i^{-1} x i − 1 , respectively. Since the relators are given as group words, the exponent sums σ x i ( r j ) \sigma_{x_i}(r_j) σ x i ( r j ) can be computed in polynomial time and satisfy ∣ σ x i ( r j ) ∣ ≤ ∣ r j ∣ |\sigma_{x_i}(r_j)| \le|r_j| ∣ σ x i ( r j ) ∣ ≤ ∣ r j ∣ . Thus the monomials mono ( r j ) \operatorname{mono}(r_j) mono ( r j ) have polynomial degree and expanded size.
Corollary 2.3. For fixed k k k , the following problems can be solved in deterministic polynomial time, uniformly in the defining relators r 1 , … , r m r_1,\ldots,r_m r 1 , … , r m of Q Q Q :
(a) deciding solvability of a linear system over R R R and finding a solution when one exists;
(b) computing a finite generating set for the kernel of a matrix over R R R ;
(c) deciding membership in a finitely generated submodule and, when membership holds, computing a representation in terms of its generators;
(d) computing a finite generating set for the annihilator of a given element.
Proof. A finitely presented R R R -module can be viewed as a finitely presented P P P -module by adjoining the relations g e i = 0 ge_i=0 g e i = 0 for each generator g g g of J J J and each module generator e i e_i e i . This conversion takes polynomial time and produces a presentation of polynomial size. Linear systems and submodule membership over R R R then become the corresponding problems over P P P . Kernels over R R R are computed by lifting the matrices to P P P , adjoining generators of J J J in each target coordinate, and projecting the resulting P P P -module kernels to R R R . Annihilators are computed similarly.
Thus all four problems reduce to the algorithms of Proposition 2.1 and Corollary 2.2. Since P P P has the fixed number 2 k 2k 2 k of variables, their running times are polynomial in the combined input size, including the lengths of the defining relators of Q Q Q .
Corollary 2.4. For fixed k ≥ 0 k \ge0 k ≥ 0 , there is a deterministic polynomial-time algorithm that, given a finitely generated ideal
I = ( f 1 , … , f ℓ ) I=(f_1,\ldots,f_\ell) I = ( f 1 , … , f ℓ ) of R R R and an element h ∈ R h \in R h ∈ R , decides whether h + I h+I h + I is a unit in R / I R/I R / I and, when it is, computes a representative of its inverse. The running time is polynomial in the combined input size, including the defining relators of Q Q Q .
Proof. The element h + I h+I h + I is a unit in R / I R/I R / I if and only if there exist h ′ , c 1 , … , c ℓ ∈ R h',c_1,\ldots,c_\ell\in R h ′ , c 1 , … , c ℓ ∈ R such that
h h ′ + ∑ j = 1 ℓ f j c j = 1. hh' + \sum_{j=1}^{\ell} f_jc_j=1. h h ′ + j = 1 ∑ ℓ f j c j = 1.
This is a linear system over R R R . By Corollary 2.3, its solvability can be decided in deterministic polynomial time, uniformly in the presentation of Q Q Q , and a solution can be computed whenever one exists. In that case, h ′ + I h'+I h ′ + I is the inverse of h + I h+I h + I in R / I R/I R / I .
Bounded-degree ideal computations
For a polynomial ring R R R over a field or over Z \mathbb{Z} Z , let R ≤ d R_{\le d} R ≤ d denote the set of polynomials of total degree at most d d d .
For computations over Q \mathbb{Q} Q , coefficients are represented as reduced fractions with binary numerators and denominators. Over F p \mathbb{F}_p F p , coefficients are represented by integers modulo p p p , with p p p encoded in binary.
We begin with an auxiliary lemma that reduces bounded-degree ideal computations to linear algebra over the coefficient field. It will be used both to compute rational contractions of ideals and to test algebraicity.
Lemma 2.5. Let K = Q K=\mathbb{Q} K = Q or F p \mathbb{F}_p F p , and let
R = K [ Z 1 , … , Z s ] , J = ( f 1 , … , f r ) ≤ R , R=K[Z_1,\ldots,Z_s], \qquad J=(f_1,\ldots,f_r)\le R, R = K [ Z 1 , … , Z s ] , J = ( f 1 , … , f r ) ≤ R , where s s s is fixed. Given an integer E ≥ 0 E\ge0 E ≥ 0 encoded in unary, there is a deterministic polynomial-time algorithm that computes a K K K -basis of
J ∩ R ≤ E . J\cap R_{\le E}. J ∩ R ≤ E . Over Q \mathbb{Q} Q , the computed basis has polynomial coefficient bit length.
Proof. Let D ≥ 2 D\ge2 D ≥ 2 bound the degrees of the generators of J J J , and put d = max { D , E } d=\max\{D,E\} d = max { D , E } . By Hermann’s ideal-membership degree bound [2 Theorem 3.4] , every polynomial h ∈ J h\in J h ∈ J of degree at most E E E admits a representation
h = ∑ ν = 1 r a ν f ν , deg a ν ≤ ( 2 d ) 2 s . h=\sum_{\nu=1}^{r}a_{\nu}f_{\nu}, \qquad\deg a_{\nu}\le(2d)^{2^s}. h = ν = 1 ∑ r a ν f ν , deg a ν ≤ ( 2 d ) 2 s .
Set H = ( 2 d ) 2 s + D H = (2d)^{2^s} + D H = ( 2 d ) 2 s + D . Since s s s is fixed, both the multiplier-degree bound and H H H are polynomial in d d d .
Write h h h and the multipliers a ν a_\nu a ν with undetermined coefficients, subject to the respective degree bounds E E E and ( 2 d ) 2 s (2d)^{2^s} ( 2 d ) 2 s . Comparing coefficients up to degree H H H gives a homogeneous linear system
where u u u is the coefficient vector of h h h and a a a collects the coefficients of the multipliers. Here B B B embeds the coefficients of h h h into the coefficient space of polynomials of degree at most H H H , while C C C represents the map ( a 1 , … , a r ) ↦ ∑ ν a ν f ν (a_1,\ldots,a_r) \mapsto\sum_\nu a_\nu f_\nu ( a 1 , … , a r ) ↦ ∑ ν a ν f ν .
By Gaussian elimination, compute a matrix L L L whose rows form a basis of the left nullspace of C C C . Then
B u ∈ im C ⟺ L B u = 0. Bu \in\operatorname{im} C \quad\Longleftrightarrow\quad LBu = 0. B u ∈ im C ⟺ L B u = 0.
Thus ker ( L B ) \ker(LB) ker ( L B ) is precisely the coefficient space of
J ∩ R ≤ E . J \cap R_{\leq E}. J ∩ R ≤ E .
Since s s s is fixed, the degree bounds imply that all the linear systems have polynomial dimensions and polynomial coefficient bit length. Standard bounds for Gaussian elimination over Q \mathbb{Q} Q ensure that the matrices produced by elimination and the resulting basis vectors also have polynomial coefficient bit length. Over F p \mathbb{F}_p F p , field operations have polynomial bit complexity in log p \log p log p . Thus the required basis can be computed in deterministic polynomial time. □
Arithmetic splitting
We now establish an effective separation of rational and modular information in a finitely generated Z \mathbb{Z} Z -algebra. Theorem 2.8 embeds P / I P/I P / I into the product of its rationalization and a modular quotient, where the modulus has polynomial bit length. Consequently, multiplicative relations in P / I P/I P / I , including exponent-lattice relations, can be recovered by computing them in these two quotients and intersecting the resulting lattices. A similar separation into rational and finite-characteristic parts appears in the exponent-lattice algorithm of Kreuzer and Walsh [15, Section 3].
Let I = ( f 1 , … , f r ) ≤ P I = (f_1,\ldots,f_r) \leq P I = ( f 1 , … , f r ) ≤ P , and put
I Q = I Q [ Z 1 , … , Z s ] , J = I Q ∩ P . I_{\mathbb{Q}} = I\mathbb{Q}[Z_1,\ldots,Z_s], \qquad J = I_{\mathbb{Q}} \cap P. I Q = I Q [ Z 1 , … , Z s ] , J = I Q ∩ P .
The rationalization of P / I P/I P / I is naturally isomorphic to
( P / I ) ⊗ Z Q ≅ Q [ Z 1 , … , Z s ] / I Q . (P/I) \otimes_{\mathbb{Z}} \mathbb{Q} \cong\mathbb{Q}[Z_1,\ldots,Z_s]/I_{\mathbb{Q}}. ( P / I ) ⊗ Z Q ≅ Q [ Z 1 , … , Z s ] / I Q .
The kernel of the natural map
P / I ⟶ Q [ Z 1 , … , Z s ] / I Q P/I \longrightarrow\mathbb{Q}[Z_1,\ldots,Z_s]/I_{\mathbb{Q}} P / I ⟶ Q [ Z 1 , … , Z s ] / I Q
is J / I J/I J / I . Thus J / I J/I J / I is precisely the additive Z \mathbb{Z} Z -torsion subgroup of P / I P/I P / I , and P / J P/J P / J is its torsion-free quotient. We first compute generators of J J J and then find an integer that annihilates J / I J/I J / I .
Lemma 2.6 (Rational contraction). There is a deterministic polynomial-time algorithm that computes generators of J J J .
Proof. Let D ≥ 2 D \geq2 D ≥ 2 bound the degrees of f 1 , … , f r f_1,\ldots,f_r f 1 , … , f r . By [2 Proposition 4.7] , there is an explicit degree bound
τ ≤ ( 2 D ) 2 O ( s 2 ) . \tau\leq(2D)^{2^{O(s^2)}}. τ ≤ ( 2 D ) 2 O ( s 2 ) .
such that J J J is generated by polynomials of degree at most τ \tau τ . Since s s s is fixed, τ \tau τ is polynomially bounded in D D D .
Consider the rational vector space
V = I Q ∩ Q [ Z 1 , … , Z s ] ≤ τ . V = I_{\mathbb{Q}} \cap\mathbb{Q}[Z_1,\ldots,Z_s]_{\leq\tau}. V = I Q ∩ Q [ Z 1 , … , Z s ] ≤ τ .
By the proof of Lemma 2.5 , we can compute in polynomial time a rational matrix M M M whose kernel, under the monomial coefficient representation, is precisely V V V .
Clearing the denominators in each row of M M M produces an integer matrix H H H with
ker Q H = ker Q M = V . \ker_{\mathbb{Q}} H = \ker_{\mathbb{Q}} M = V. ker Q H = ker Q M = V .
Under the corresponding identification P ≤ τ ≅ Z N P_{\leq\tau} \cong\mathbb{Z}^N P ≤ τ ≅ Z N , we have
V ∩ P ≤ τ ≅ ker Z H . V \cap P_{\leq\tau} \cong\ker_{\mathbb{Z}} H. V ∩ P ≤ τ ≅ ker Z H .
The matrix H H H has polynomial dimensions and polynomial coefficient bit length. Using a polynomial-time integer-kernel algorithm based on Hermite normal form [13 ] , compute a Z \mathbb{Z} Z -basis
j 1 , … , j t j_1,\ldots,j_t j 1 , … , j t
of this module. These polynomials generate J J J as an ideal. Indeed, by the choice of τ \tau τ , the ideal J J J has generators of degree at most τ \tau τ , all of which belong to V ∩ P ≤ τ V \cap P_{\leq\tau} V ∩ P ≤ τ .
Lemma 2.7 (Torsion annihilator). There is a deterministic polynomial-time algorithm that computes c ∈ N c \in\mathbb{N} c ∈ N of polynomial bit length such that
c J ⊆ I . cJ \subseteq I. c J ⊆ I .
Proof. By Lemma 2.6 , compute generators j 1 , … , j t j_1,\ldots,j_t j 1 , … , j t of J J J . If J = 0 J = 0 J = 0 , the conclusion holds with c = 1 c = 1 c = 1 . Otherwise, for each j i j_i j i , find a representation
j i = ∑ ν = 1 r a i ν f ν , a i ν ∈ Q [ Z 1 , … , Z s ] . j_i = \sum_{\nu=1}^{r} a_{i\nu}f_\nu,\qquad a_{i\nu} \in\mathbb{Q}[Z_1,\ldots,Z_s]. j i = ν = 1 ∑ r a i ν f ν , a i ν ∈ Q [ Z 1 , … , Z s ] .
Hermann’s degree bound [2 Theorem 3.4] gives a polynomial bound on the degrees of the multipliers. Consequently, these representations can be found by solving polynomial-size rational linear systems. The resulting coefficients have polynomial bit length, and their total number is polynomially bounded. Let c > 0 c > 0 c > 0 be the least common multiple of all their denominators. Then c c c has polynomial bit length and
c j i ∈ I ( 1 ≤ i ≤ t ) . cj_i \in I \qquad(1 \leq i \leq t). c j i ∈ I ( 1 ≤ i ≤ t ) .
Since the j i j_i j i generate J J J , it follows that c J ⊆ I cJ \subseteq I c J ⊆ I .
Theorem 2.8 (Arithmetic splitting). There is a deterministic polynomial-time algorithm that computes c ∈ N c \in\mathbb{N} c ∈ N of polynomial bit length such that the natural homomorphism
P / I ⟶ ( P / I ) ⊗ Z Q × ( P / I ) / c ( P / I ) P/I \longrightarrow(P/I) \otimes_{\mathbb{Z}} \mathbb{Q} \times(P/I)/c(P/I) P / I ⟶ ( P / I ) ⊗ Z Q × ( P / I ) / c ( P / I ) is injective.
Proof. Put A = P / I A = P/I A = P / I and let T = J / I T = J/I T = J / I be its additive Z \mathbb{Z} Z -torsion subgroup. By Lemma 2.7, compute a positive integer c c c of polynomial bit length satisfying c J ⊆ I cJ \subseteq I c J ⊆ I . It follows that
The kernel of the natural homomorphism
A ⟶ A ⊗ Z Q × A / c A A \longrightarrow A \otimes_{\mathbb{Z}} \mathbb{Q} \times A/cA A ⟶ A ⊗ Z Q × A / c A
is T ∩ c A T \cap cA T ∩ c A . Let z ∈ T ∩ c A z \in T \cap cA z ∈ T ∩ c A and write z = c y z = cy z = cy . Since z z z is torsion, there is a nonzero integer n n n such that
0 = n z = n c y . 0 = nz = ncy. 0 = n z = n cy .
Hence y ∈ T y \in T y ∈ T , so z = c y = 0 z = cy = 0 z = cy = 0 . Therefore the homomorphism is injective. □
Algebraicity test
We next give an effective test for algebraicity in finitely generated algebras over Q \mathbb{Q} Q and F p \mathbb{F}_p F p . For a fixed number of variables, the test runs in deterministic polynomial time and, when an element is algebraic, produces a monic annihilating polynomial with polynomially bounded degree and coefficient bit length.
Lemma 2.9. Let K = Q K = \mathbb{Q} K = Q or F p \mathbb{F}_p F p , and let
A = K [ Z 1 , … , Z s ] / I , A = K[Z_1,\ldots,Z_s]/I, A = K [ Z 1 , … , Z s ] / I , where s s s is fixed. Given a polynomial representative of v ∈ A v \in A v ∈ A , there is a deterministic polynomial-time algorithm that decides whether v v v is algebraic over K K K . If it is, the algorithm computes a monic annihilating polynomial of polynomial degree and coefficient bit length.
Proof. Let v v v be represented by g ∈ K [ Z 1 , … , Z s ] g \in K[Z_1,\ldots,Z_s] g ∈ K [ Z 1 , … , Z s ] . Introduce a new variable Y Y Y and consider the graph ideal
J = I + ( Y − g ) ≤ K [ Z 1 , … , Z s , Y ] . J = I + (Y-g) \le K[Z_1,\ldots,Z_s,Y]. J = I + ( Y − g ) ≤ K [ Z 1 , … , Z s , Y ] . The evaluation homomorphism
ev v : K [ Z 1 , … , Z s , Y ] ⟶ A , \operatorname{ev}_v : K[Z_1,\ldots,Z_s,Y] \longrightarrow A, ev v : K [ Z 1 , … , Z s , Y ] ⟶ A , defined by
Z i ⟼ Z i + I , Y ⟼ v , Z_i \longmapsto Z_i + I,\qquad Y \longmapsto v, Z i ⟼ Z i + I , Y ⟼ v , has kernel J J J . Its restriction to K [ Y ] K[Y] K [ Y ] therefore has kernel J ∩ K [ Y ] J \cap K[Y] J ∩ K [ Y ] . Consequently,
v is algebraic over K ⟺ J ∩ K [ Y ] ≠ 0. v\text{ is algebraic over }K \quad\Longleftrightarrow\quad J \cap K[Y] \ne0. v is algebraic over K ⟺ J ∩ K [ Y ] = 0. Let D ≥ 2 D \ge2 D ≥ 2 bound the degrees of the generators of J J J . By Dubé’s degree bound [6 Corollary 8.3] , applied with an elimination ordering, if J ∩ K [ Y ] ≠ 0 J \cap K[Y] \ne0 J ∩ K [ Y ] = 0 , then it contains a nonzero polynomial of degree at most
E = ⌊ 2 ( D 2 2 + D ) 2 s ⌋ . E = \left\lfloor2\left(\frac{D^2}{2}+D\right)^{2^s}\right\rfloor. E = ⌊ 2 ( 2 D 2 + D ) 2 s ⌋ . Since s s s is fixed, E E E is polynomially bounded in D D D .
By Lemma 2.5 , applied to the polynomial ring K [ Z 1 , … , Z s , Y ] K[Z_1,\ldots,Z_s,Y] K [ Z 1 , … , Z s , Y ] in s + 1 s+1 s + 1 variables, we can compute a basis of
V = J ∩ K [ Z 1 , … , Z s , Y ] ≤ E V = J \cap K[Z_1,\ldots,Z_s,Y]_{\le E} V = J ∩ K [ Z 1 , … , Z s , Y ] ≤ E in deterministic polynomial time. Represent the elements of V V V by their coefficient vectors in the monomial basis. Imposing the linear conditions that all coefficients of monomials involving any Z i Z_i Z i vanish, compute a basis of
V ∩ K [ Y ] = J ∩ K [ Y ] ≤ E . V \cap K[Y] = J \cap K[Y]_{\le E}. V ∩ K [ Y ] = J ∩ K [ Y ] ≤ E . By the choice of E E E , the element v v v is algebraic over K K K if and only if this subspace is nonzero. In that case, choose a nonzero polynomial h ( Y ) h(Y) h ( Y ) in this subspace and divide by its leading coefficient. The resulting monic polynomial annihilates $v.
Since s s s is fixed, all degree bounds and linear-system dimensions are polynomially bounded. The coefficient bit-length bounds follow from Lemma 2.5 and standard bounds for rational linear algebra. Thus the algorithm runs in deterministic polynomial time. □
Relation lattices over fields
The goal of this section is to compute multiplicative relation lattices over Q \mathbb{Q} Q and F p \mathbb{F}_p F p . Our main tool is the algebraicity lattice of the given units. The key point is that the resulting lattice admits a basis whose entries are bounded polynomially in the numerical degrees of the input polynomials. Since the number of units is fixed, this permits an exhaustive search over a polynomial-size set of exponent vectors.
Throughout this section, the number m m m of polynomial variables and the number k k k of specified units are fixed. We consider an affine K K K -algebra
A = K [ X 1 , … , X m ] / I , I = ( f 1 , … , f r ) , A = K[X_1,\ldots,X_m]/I,\qquad I=(f_1,\ldots,f_r), A = K [ X 1 , … , X m ] / I , I = ( f 1 , … , f r ) ,
where K = Q K=\mathbb{Q} K = Q or K = F p K=\mathbb{F}_p K = F p . The polynomials f 1 , … , f r f_1,\ldots,f_r f 1 , … , f r , together with polynomial representatives of the units u 1 , … , u k ∈ A × u_1,\ldots,u_k\in A^\times u 1 , … , u k ∈ A × and their inverses, are given as input. Let D ≥ 2 D\ge2 D ≥ 2 bound the total degrees of all these polynomials. Over Q \mathbb{Q} Q , coefficients are binary rationals; over F p \mathbb{F}_p F p , their encoding uses O ( log p ) O(\log p) O ( log p ) bits.
Algebraicity lattices in affine algebras
Recall the algebraicity lattice Alg K ( u ) \operatorname{Alg}_K(u) Alg K ( u ) defined in (1) . It is a saturated sublattice of Z k \mathbb{Z}^k Z k . Indeed, products and inverses of algebraic units are algebraic, and if ( u e ) n (u^e)^n ( u e ) n is algebraic over K K K for some n ≠ 0 n\ne0 n = 0 , then so is u e u^e u e . Put
V = D m + 1 , B 0 = k ! V k . V=D^{m+1},\qquad B_0=k!V^k. V = D m + 1 , B 0 = k ! V k .
Proposition 3.1. The lattice Alg K ( u ) \operatorname{Alg}_K(u) Alg K ( u ) has a basis consisting of vectors b b b satisfying
∥ b ∥ ∞ ≤ B 0 . \lVert b\rVert_\infty\le B_0. ∥ b ∥ ∞ ≤ B 0 .
Proof. Let p \mathfrak{p} p be a minimal prime ideal of A A A . Then A / p A/\mathfrak{p} A / p is an integral domain. We write
X = Spec ( A / p ) X=\operatorname{Spec}(A/\mathfrak{p}) X = Spec ( A / p )
for the corresponding irreducible component of Spec ( A ) \operatorname{Spec}(A) Spec ( A ) . Its coordinate ring is A / p A/\mathfrak{p} A / p , and its function field is
K ( X ) = Frac ( A / p ) . K(X)=\operatorname{Frac}(A/\mathfrak{p}). K ( X ) = Frac ( A / p ) .
Thus the images of the units u 1 , … , u k u_1,\ldots,u_k u 1 , … , u k in A / p A/\mathfrak{p} A / p may be viewed as nonzero rational functions on X X X .
We pass to a normal projective model in order to record all zeros and poles of these rational functions, including those at infinity. Let
X ‾ ⊆ P K m \overline{X}\subseteq\mathbb{P}^m_K X ⊆ P K m
be the projective closure of X X X , and let
ν : Y ⟶ X ‾ \nu:Y\longrightarrow\overline{X} ν : Y ⟶ X
be its normalization. Then Y Y Y is an integral normal projective variety and ν \nu ν is finite and birational; see [22 Tag 0BXR] . In particular,
K ( Y ) ≅ K ( X ‾ ) ≅ K ( X ) , K(Y)\cong K(\overline{X})\cong K(X), K ( Y ) ≅ K ( X ) ≅ K ( X ) ,
so we may regard the u i u_i u i as rational functions on Y Y Y .
Since X X X is an irreducible component of Spec ( A ) \operatorname{Spec}(A) Spec ( A ) and I I I is generated by polynomials of degree at most D D D , the affine Bézout inequality [12 Theorem 1] gives
deg X ≤ D m . \deg X \le D^m. deg X ≤ D m .
Here the degree of an affine variety is the degree of its projective closure under the standard embedding A K m ↪ P K m A^m_K \hookrightarrow\mathbb{P}^m_K A K m ↪ P K m . Consequently,
deg X ‾ = deg X ≤ D m . \deg\overline{X} = \deg X \le D^m. deg X = deg X ≤ D m .
Suppose s = dim X ≥ 1 s = \dim X \ge1 s = dim X ≥ 1 . Let F i ∈ K [ X 1 , … , X m ] F_i \in K[X_1,\ldots,X_m] F i ∈ K [ X 1 , … , X m ] be a polynomial representative of u i u_i u i of degree at most D D D , and let F i h F_i^h F i h denote its homogenization to degree D D D . On the affine chart X 0 ≠ 0 X_0 \ne0 X 0 = 0 , the polynomial F i F_i F i is represented by the homogeneous quotient
F i h X 0 D . \frac{F_i^h}{X_0^D}. X 0 D F i h .
Thus, after pulling back along ν : Y → X ‾ \nu:Y \to\overline{X} ν : Y → X , the corresponding rational function on Y Y Y is
u i = ν ∗ ( F i h X 0 D ) = ν ∗ F i h ν ∗ X 0 D . u_i = \nu^*\left(\frac{F_i^h}{X_0^D}\right) = \frac{\nu^*F_i^h}{\nu^*X_0^D}. u i = ν ∗ ( X 0 D F i h ) = ν ∗ X 0 D ν ∗ F i h .
Put
H = ν ∗ O X ‾ ( 1 ) . H = \nu^*\mathcal{O}_{\overline{X}}(1). H = ν ∗ O X ( 1 ) .
Since ν \nu ν is finite, H H H is ample. The sections ν ∗ F i h \nu^*F_i^h ν ∗ F i h and ν ∗ X 0 D \nu^*X_0^D ν ∗ X 0 D are nonzero sections of H ⊗ D H^{\otimes D} H ⊗ D , and hence their zero sets define effective Cartier divisors on Y Y Y . We control their multiplicities using their degrees with respect to H H H :
c 1 ( H ) s − 1 ⋅ div ( ν ∗ F i h ) = c 1 ( H ) s − 1 ⋅ div ( ν ∗ X 0 D ) = D deg X ‾ . c_1(H)^{s-1}\cdot\operatorname{div}(\nu^*F_i^h) = c_1(H)^{s-1}\cdot\operatorname{div}(\nu^*X_0^D) = D\deg\overline{X}. c 1 ( H ) s − 1 ⋅ div ( ν ∗ F i h ) = c 1 ( H ) s − 1 ⋅ div ( ν ∗ X 0 D ) = D deg X .
Since ν \nu ν is finite and birational, deg ( ν ) = 1 \deg(\nu)=1 deg ( ν ) = 1 , and [22 Tag 0BEX] gives deg H ( Y ) = deg O ( 1 ) ( X ‾ ) = deg X ‾ \deg_H(Y)=\deg_{\mathcal{O}(1)}(\overline{X})=\deg\overline{X} deg H ( Y ) = deg O ( 1 ) ( X ) = deg X . Since H H H is ample, every prime divisor E E E on Y Y Y has H H H -degree at least 1 1 1 . The multiplicities of the prime divisors in div ( ν ∗ F i h ) \operatorname{div}(\nu^*F_i^h) div ( ν ∗ F i h ) are non-negative integers whose H H H -degree-weighted sum equals D deg X ‾ D\deg\overline{X} D deg X . Since each weight is at least 1 1 1 , each individual multiplicity is at most D deg X ‾ D\deg\overline{X} D deg X , and the same holds for div ( ν ∗ X 0 D ) \operatorname{div}(\nu^*X_0^D) div ( ν ∗ X 0 D ) . Since
ord E ( u i ) = ord E ( ν ∗ F i h ) − ord E ( ν ∗ X 0 D ) , \operatorname{ord}_E(u_i) = \operatorname{ord}_E(\nu^*F_i^h) - \operatorname{ord}_E(\nu^*X_0^D), ord E ( u i ) = ord E ( ν ∗ F i h ) − ord E ( ν ∗ X 0 D ) ,
with both terms on the right between 0 0 0 and D deg X ‾ D\deg\overline{X} D deg X , we obtain
∣ ord E ( u i ) ∣ ≤ D deg X ‾ ≤ D m + 1 = V . (6) \left|\operatorname{ord}_E(u_i)\right| \le D\deg\overline{X} \le D^{m+1} = V. \tag*{(6)} ∣ ord E ( u i ) ∣ ≤ D deg X ≤ D m + 1 = V . (6)
For
u e = u 1 e 1 ⋯ u k e k , u^e = u_1^{e_1}\cdots u_k^{e_k}, u e = u 1 e 1 ⋯ u k e k ,
the additivity of ord E \operatorname{ord}_E ord E gives
ord E ( u e ) = ∑ i = 1 k e i ord E ( u i ) . \operatorname{ord}_E(u^e) = \sum_{i=1}^{k}e_i\operatorname{ord}_E(u_i). ord E ( u e ) = i = 1 ∑ k e i ord E ( u i ) .
Thus the condition that u e u^e u e have neither a zero nor a pole along E E E is a homogeneous integer linear equation in e e e .
For each positive-dimensional component X X X corresponding to a minimal prime p \mathfrak{p} p of A A A , and each prime divisor E E E on the normalization of its projective closure, consider the row
( ord E ( u 1 ) , … , ord E ( u k ) ) ∈ Z k . \left(\operatorname{ord}_E(u_1),\ldots,\operatorname{ord}_E(u_k)\right)\in\mathbb{Z}^k. ( ord E ( u 1 ) , … , ord E ( u k ) ) ∈ Z k .
Only finitely many of these rows are nonzero, since each u i u_i u i has only finitely many zeros and poles. Let M M M be the integer matrix formed by all nonzero rows. By (6) , every entry of M M M has absolute value at most V V V . We claim that
Alg K ( u ) = ker Z ( M ) . \operatorname{Alg}_K(u)=\ker_{\mathbb{Z}}(M). Alg K ( u ) = ker Z ( M ) .
Suppose first that e ∈ ker Z ( M ) e\in\ker_{\mathbb{Z}}(M) e ∈ ker Z ( M ) . Then, on the normalization Y Y Y of the projective closure of each positive-dimensional component,
u e = u 1 e 1 ⋯ u k e k u^e=u_1^{e_1}\cdots u_k^{e_k} u e = u 1 e 1 ⋯ u k e k
has zero order along every prime divisor. Thus both u e u^e u e and ( u e ) − 1 (u^e)^{-1} ( u e ) − 1 have nonnegative order along every prime divisor. Since Y Y Y is normal, both are regular on Y Y Y ; see [22 Tag 0AVB] . Hence u e u^e u e is a global invertible regular function on Y Y Y . Since Y Y Y is proper and integral over K K K , the ring of global regular functions Γ ( Y , O Y ) \Gamma(Y,\mathcal{O}_Y) Γ ( Y , O Y ) is a finite-dimensional K K K -algebra; see [22 Tag 0BUG] . Since Y Y Y is integral, Γ ( Y , O Y ) \Gamma(Y,\mathcal{O}_Y) Γ ( Y , O Y ) is an integral domain, and a finite-dimensional integral domain over a field is itself a field. Hence Γ ( Y , O Y ) \Gamma(Y,\mathcal{O}_Y) Γ ( Y , O Y ) is a finite field extension of K K K , and in particular every element of Γ ( Y , O Y ) \Gamma(Y,\mathcal{O}_Y) Γ ( Y , O Y ) is algebraic over K K K . Since u e u^e u e is a global regular function on Y Y Y , its image in K ( Y ) ≃ Frac ( A / p ) K(Y)\simeq\operatorname{Frac}(A/\mathfrak{p}) K ( Y ) ≃ Frac ( A / p ) is algebraic over K K K . For a zero-dimensional component, the same conclusion is automatic, since its function field is a finite extension of K K K .
For each minimal prime p \mathfrak{p} p of A A A , choose a nonzero polynomial f p ∈ K [ T ] f_{\mathfrak{p}}\in K[T] f p ∈ K [ T ] annihilating the image of u e u^e u e in A / p A/\mathfrak{p} A / p . With
f = ∏ p ∈ Min ( A ) f p , f=\prod_{\mathfrak{p}\in\operatorname{Min}(A)} f_{\mathfrak{p}}, f = p ∈ Min ( A ) ∏ f p ,
we have
f ( u e ) ∈ ⋂ p ∈ Min ( A ) p = 0 . f(u^e)\in\bigcap_{\mathfrak{p}\in\operatorname{Min}(A)}\mathfrak{p}=\sqrt{0}. f ( u e ) ∈ p ∈ Min ( A ) ⋂ p = 0 .
Hence f ( u e ) f(u^e) f ( u e ) is nilpotent, so
f ( u e ) N = 0 f(u^e)^N=0 f ( u e ) N = 0
for some N ≥ 1 N\ge1 N ≥ 1 . Thus the nonzero polynomial f ( T ) N ∈ K [ T ] f(T)^N\in K[T] f ( T ) N ∈ K [ T ] annihilates u e u^e u e , and therefore u e u^e u e is algebraic over K K K . Thus e ∈ Alg K ( u ) e\in\operatorname{Alg}_K(u) e ∈ Alg K ( u ) .
Conversely, suppose that e ∈ Alg K ( u ) e\in\operatorname{Alg}_K(u) e ∈ Alg K ( u ) , so there exists a nonzero polynomial g ∈ K [ T ] g\in K[T] g ∈ K [ T ] with g ( u e ) = 0 g(u^e)=0 g ( u e ) = 0 in A A A . Let p \mathfrak{p} p be any minimal prime of A A A corresponding to a positive-dimensional component, and let π : A → A / p \pi:A\to A/\mathfrak{p} π : A → A / p be the quotient map. Since u e u^e u e is a unit in A A A , its image π ( u e ) \pi(u^e) π ( u e ) is a unit in A / p A/\mathfrak{p} A / p , hence nonzero. Applying π \pi π to the relation g ( u e ) = 0 g(u^e)=0 g ( u e ) = 0 gives g ( π ( u e ) ) = 0 g(\pi(u^e))=0 g ( π ( u e )) = 0 in A / p A/\mathfrak{p} A / p , a nontrivial polynomial relation over K K K since g ∈ K [ T ] g\in K[T] g ∈ K [ T ] is nonzero. Hence the image of u e u^e u e in K ( Y ) ≃ Frac ( A / p ) K(Y)\simeq\operatorname{Frac}(A/\mathfrak{p}) K ( Y ) ≃ Frac ( A / p ) is algebraic over K K K . Every divisorial valuation ord E \operatorname{ord}_E ord E is trivial on K K K , and hence also on every element of K ( Y ) K(Y) K ( Y ) that is algebraic over K K K . Indeed, choose a polynomial relation
c 0 + c 1 a + ⋯ + c d a d = 0 , c 0 c d ≠ 0 , c_0+c_1a+\cdots+c_da^d=0,\qquad c_0c_d\ne0, c 0 + c 1 a + ⋯ + c d a d = 0 , c 0 c d = 0 ,
over K K K . If ord E ( a ) > 0 \operatorname{ord}_E(a)>0 ord E ( a ) > 0 , then the constant term has uniquely minimal valuation, while if ord E ( a ) < 0 \operatorname{ord}_E(a)<0 ord E ( a ) < 0 , then the highest-degree term has uniquely minimal valuation. Both are impossible. Therefore
ord E ( u e ) = 0 \operatorname{ord}_E(u^e)=0 ord E ( u e ) = 0
for every such E E E , so e ∈ ker Z ( M ) e\in\ker_{\mathbb{Z}}(M) e ∈ ker Z ( M ) . Thus
Alg K ( u ) = ker Z ( M ) . \operatorname{Alg}_K(u)=\ker_{\mathbb{Z}}(M). Alg K ( u ) = ker Z ( M ) .
It remains to bound a basis of the integer kernel. Let ρ = rank M \rho= \operatorname{rank} M ρ = rank M . If ρ = 0 \rho= 0 ρ = 0 , then ker Z ( M ) = Z k \ker_{\mathbb{Z}}(M) = \mathbb{Z}^k ker Z ( M ) = Z k , for which the standard basis satisfies the required bound. If ρ = k \rho= k ρ = k , then ker Z ( M ) = 0 \ker_{\mathbb{Z}}(M) = 0 ker Z ( M ) = 0 , which has an empty basis; the bound holds vacuously. Thus assume 0 < ρ < k 0 < \rho< k 0 < ρ < k . Choose ρ \rho ρ linearly independent rows of M M M . They span the row space of M M M over Q \mathbb{Q} Q , and hence define the same kernel over Q \mathbb{Q} Q , and therefore the same kernel in Z k \mathbb{Z}^k Z k . Choose ρ \rho ρ columns such that the corresponding ρ × ρ \rho\times\rho ρ × ρ minor is nonsingular. After permuting the columns, write the resulting matrix as
where C ∈ Z ρ × ρ C \in\mathbb{Z}^{\rho\times\rho} C ∈ Z ρ × ρ is nonsingular. Put
Δ = det C ≠ 0. \Delta= \det C \ne0. Δ = det C = 0.
Since all entries have absolute value at most V V V ,
∣ Δ ∣ ≤ ρ ! V ρ . |\Delta| \le\rho!V^\rho. ∣Δ∣ ≤ ρ ! V ρ .
Write a kernel vector as ( x , y ) (x,y) ( x , y ) , where x ∈ Z ρ x \in\mathbb{Z}^{\rho} x ∈ Z ρ and y ∈ Z k − ρ y \in\mathbb{Z}^{k-\rho} y ∈ Z k − ρ . Then
C x + T y = 0 , Cx + Ty = 0, C x + T y = 0 ,
and hence
x = − C − 1 T y = − adj ( C ) T y Δ . x = -C^{-1}Ty = -\frac{\operatorname{adj}(C)Ty}{\Delta}. x = − C − 1 T y = − Δ adj ( C ) T y .
Thus projection onto the last k − ρ k-\rho k − ρ coordinates identifies ker Z ( M ) \ker_{\mathbb{Z}}(M) ker Z ( M ) with the full-rank lattice
L_y = \left\{y \in\mathbb{Z}^{k-\rho} \mathrel{\left|} \operatorname{adj}(C)Ty \equiv0 \pmod{\Delta}\right.\right\}.
In particular,
Δ Z k − ρ ⊆ L y ⊆ Z k − ρ . \Delta\mathbb{Z}^{k-\rho} \subseteq L_y \subseteq\mathbb{Z}^{k-\rho}. Δ Z k − ρ ⊆ L y ⊆ Z k − ρ .
Let H y = ( h i j ) H_y = (h_{ij}) H y = ( h ij ) be the Hermite normal form of L y L_y L y , in the lower-triangular convention
h i i > 0 , h i j = 0 ( i < j ) , 0 ≤ h i j < h j j ( i > j ) ; h_{ii} > 0,\qquad h_{ij} = 0\ (i < j),\qquad0 \le h_{ij} < h_{jj}\ (i > j); h ii > 0 , h ij = 0 ( i < j ) , 0 ≤ h ij < h j j ( i > j ) ;
see [5 ] , Algorithm 2.4.5. Since
Δ Z k − ρ ⊆ L y , \Delta\mathbb{Z}^{k-\rho} \subseteq L_y, Δ Z k − ρ ⊆ L y ,
we have Δ e j ∈ L y \Delta e_j \in L_y Δ e j ∈ L y for every j j j . Expressing Δ e j \Delta e_j Δ e j as an integer linear combination of the rows of H y H_y H y and comparing coordinates from position k − ρ k-\rho k − ρ down to position j j j , triangularity implies that the coefficients of rows j + 1 , … , k − ρ j+1,\ldots,k-\rho j + 1 , … , k − ρ vanish. Consequently, Δ \Delta Δ is an integer multiple of h j j h_{jj} h j j , so
h j j ∣ Δ . h_{jj} \mid\Delta. h j j ∣ Δ.
Hence h j j ≤ ∣ Δ ∣ h_{jj} \le|\Delta| h j j ≤ ∣Δ∣ , and the reduction condition gives ∣ h i j ∣ < h j j ≤ ∣ Δ ∣ |h_{ij}| < h_{jj} \le|\Delta| ∣ h ij ∣ < h j j ≤ ∣Δ∣ for every off-diagonal entry. Thus the rows y 1 , … , y k − ρ y_1,\ldots,y_{k-\rho} y 1 , … , y k − ρ of H y H_y H y form a basis of L y L_y L y satisfying
∥ y j ∥ ∞ ≤ ∣ Δ ∣ ≤ ρ ! V ρ . \lVert y_j\rVert_\infty\le|\Delta| \le\rho!V^\rho. ∥ y j ∥ ∞ ≤ ∣Δ∣ ≤ ρ ! V ρ .
For each y j y_j y j , let
x j = − adj ( C ) T y j Δ . x_j = -\frac{\operatorname{adj}(C)Ty_j}{\Delta}. x j = − Δ adj ( C ) T y j .
Since
∥ T y j ∥ ∞ ≤ ( k − ρ ) V ∣ Δ ∣ \lVert Ty_j\rVert_\infty\le(k-\rho)V|\Delta| ∥ T y j ∥ ∞ ≤ ( k − ρ ) V ∣Δ∣
and every entry of adj ( C ) \operatorname{adj}(C) adj ( C ) is a ( ρ − 1 ) × ( ρ − 1 ) (\rho-1) \times(\rho-1) ( ρ − 1 ) × ( ρ − 1 ) minor of C C C , of absolute value at most
( ρ − 1 ) ! V ρ − 1 , (\rho-1)!V^{\rho-1}, ( ρ − 1 )! V ρ − 1 ,
each coordinate of adj ( C ) T y j \operatorname{adj}(C)^{T}y_j adj ( C ) T y j has absolute value at most
ρ ( ρ − 1 ) ! V ρ − 1 ( k − ρ ) V ∣ Δ ∣ . \rho(\rho-1)!V^{\rho-1}(k-\rho)V|\Delta|. ρ ( ρ − 1 )! V ρ − 1 ( k − ρ ) V ∣Δ∣.
Therefore
∥ x j ∥ ∞ ≤ ρ ! ( k − ρ ) V ρ . \lVert x_j\rVert_\infty\le\rho!(k-\rho)V^\rho. ∥ x j ∥ ∞ ≤ ρ ! ( k − ρ ) V ρ .
Thus
∥ ( x j , y j ) ∥ ∞ ≤ ρ ! ( k − ρ ) V ρ ≤ k ! V k = B 0 . \lVert(x_j,y_j)\rVert_\infty\le\rho!(k-\rho)V^\rho\le k!V^k = B_0. ∥( x j , y j ) ∥ ∞ ≤ ρ ! ( k − ρ ) V ρ ≤ k ! V k = B 0 .
since ρ ! ( k − ρ ) ≤ ρ ! ( k − ρ ) ! ≤ k ! \rho!(k-\rho)\le\rho!(k-\rho)!\le k! ρ ! ( k − ρ ) ≤ ρ ! ( k − ρ )! ≤ k ! and V ρ ≤ V k V^\rho\le V^k V ρ ≤ V k as V ≥ 1 V\ge1 V ≥ 1 . Since projection onto the last k − ρ k-\rho k − ρ coordinates is an isomorphism from ker Z ( M ) \ker_{\mathbb{Z}}(M) ker Z ( M ) onto L y L_y L y , the lifted vectors ( x j , y j ) (x_j,y_j) ( x j , y j ) form a basis of ker Z ( M ) = Alg K ( u ) \ker_{\mathbb{Z}}(M)=\operatorname{Alg}_K(u) ker Z ( M ) = Alg K ( u ) . This proves the proposition. □
Proposition 3.2. A basis of Alg K ( u ) \operatorname{Alg}_K(u) Alg K ( u ) can be computed in deterministic polynomial time.
Proof. Enumerate all vectors
e ∈ [ − B 0 , B 0 ] k ∩ Z k . e\in[-B_0,B_0]^k\cap\mathbb{Z}^k. e ∈ [ − B 0 , B 0 ] k ∩ Z k . Since m m m and k k k are fixed and B 0 B_0 B 0 is polynomially bounded in D D D , the number of such vectors is polynomial in the input size.
For each e = ( e 1 , … , e k ) e=(e_1,\ldots,e_k) e = ( e 1 , … , e k ) , use the given polynomial representatives of u i u_i u i and u i − 1 u_i^{-1} u i − 1 to construct a polynomial representative g e ∈ K [ X 1 , … , X m ] g_e\in K[X_1,\ldots,X_m] g e ∈ K [ X 1 , … , X m ] of
u e = u 1 e 1 ⋯ u k e k . u^e=u_1^{e_1}\cdots u_k^{e_k}. u e = u 1 e 1 ⋯ u k e k . Since at most k B 0 kB_0 k B 0 factors are multiplied,
deg g e ≤ k B 0 D . \deg g_e\le kB_0D. deg g e ≤ k B 0 D . As m m m is fixed, the number of monomials of g e g_e g e is polynomially bounded. Its coefficients also have polynomially bounded bit length over Q \mathbb{Q} Q ; over F p \mathbb{F}_p F p , they are reduced modulo p p p . Thus g e g_e g e can be constructed in deterministic polynomial time.
Apply Lemma 2.9 to g e + I ∈ A g_e+I\in A g e + I ∈ A to determine in deterministic polynomial time whether e ∈ Alg K ( u ) e\in\operatorname{Alg}_K(u) e ∈ Alg K ( u ) . By Proposition 3.1 , the accepted vectors contain a basis of Alg K ( u ) \operatorname{Alg}_K(u) Alg K ( u ) . Since every accepted vector belongs to Alg K ( u ) \operatorname{Alg}_K(u) Alg K ( u ) , their integer span is exactly Alg K ( u ) \operatorname{Alg}_K(u) Alg K ( u ) . A basis of this integer span can be computed in polynomial time using Hermite normal form. □
Proof of Theorem 1.1 . Proposition 3.1 gives the asserted bound on a basis of Alg K ( u ) \operatorname{Alg}_K(u) Alg K ( u ) , while Proposition 3.2 provides a deterministic polynomial-time algorithm for computing such a basis. □
Relation lattices in affine Q-algebras
We now compute multiplicative relation lattices in affine Q \mathbb{Q} Q -algebras.
Proposition 3.3. For fixed m m m , k k k , the lattice Rel A ( u 1 , … , u k ) \operatorname{Rel}_A(u_1,\ldots,u_k) Rel A ( u 1 , … , u k ) can be computed in deterministic polynomial time for specified units u 1 , … , u k u_1,\ldots,u_k u 1 , … , u k in
A = Q [ X 1 , … , X m ] / I , I = ( f 1 , … , f s ) , A=\mathbb{Q}[X_1,\ldots,X_m]/I,\qquad I=(f_1,\ldots,f_s), A = Q [ X 1 , … , X m ] / I , I = ( f 1 , … , f s ) , with the degree and coefficient encoding above.
Proof. The case A = 0 A=0 A = 0 is immediate, so assume A ≠ 0 A\ne0 A = 0 . Apply Proposition 3.2 to compute a basis b 1 , … , b r b_1,\ldots,b_r b 1 , … , b r of Alg Q ( u ) \operatorname{Alg}_{\mathbb{Q}}(u) Alg Q ( u ) , and put
v j = u b j ( 1 ≤ j ≤ r ) . v_j=u^{b_j}\qquad(1\le j\le r). v j = u b j ( 1 ≤ j ≤ r ) .
If r = 0 r=0 r = 0 , then Rel A ( u 1 , … , u k ) = 0 \operatorname{Rel}_A(u_1,\ldots,u_k)=0 Rel A ( u 1 , … , u k ) = 0 , and we are done. Otherwise, for each j j j , construct a polynomial representative of v j v_j v j using the given representatives of u i u_i u i and u i − 1 u_i^{-1} u i − 1 . Apply Lemma 2.9 to compute a monic polynomial g j ( T ) ∈ Q [ T ] g_j(T)\in\mathbb{Q}[T] g j ( T ) ∈ Q [ T ] annihilating v j v_j v j , and put
d j = deg g j . d_j=\deg g_j. d j = deg g j .
The polynomial representatives of the v j v_j v j have polynomially bounded degree and coefficient bit length. Moreover, Lemma 2.9 gives polynomial bounds on the degrees and coefficient bit lengths of the g j g_j g j .
The subalgebra
B = Q [ v 1 , … , v r ] ⊆ A B=\mathbb{Q}[v_1,\ldots,v_r]\subseteq A B = Q [ v 1 , … , v r ] ⊆ A
is spanned over Q \mathbb{Q} Q by the monomials
w α = v 1 α 1 ⋯ v r α r , 0 ≤ α j < d j ; w_\alpha=v_1^{\alpha_1}\cdots v_r^{\alpha_r},\qquad0\leq\alpha_j<d_j; w α = v 1 α 1 ⋯ v r α r , 0 ≤ α j < d j ;
since the monic relation g j ( v j ) = 0 g_j(v_j)=0 g j ( v j ) = 0 allows every power v j n v_j^n v j n with n ≥ d j n\geq d_j n ≥ d j to be reduced to a Q \mathbb{Q} Q -linear combination of lower powers. Thus this spanning family consists of
M = ∏ j = 1 r d j M=\prod_{j=1}^{r}d_j M = j = 1 ∏ r d j
monomials. Since r ≤ k r\leq k r ≤ k is fixed and each d j d_j d j is polynomially bounded, M M M is polynomially bounded as well. Polynomial representatives of all the w α w_\alpha w α can be constructed with polynomially bounded degree and coefficient bit length.
We next compute the structure constants of B B B . First, we determine all linear relations among the spanning monomials w α w_\alpha w α . For constants c α ∈ Q c_\alpha\in\mathbb{Q} c α ∈ Q , a relation
∑ α c α w α = 0 in A \sum_\alpha c_\alpha w_\alpha=0\qquad\text{in }A α ∑ c α w α = 0 in A
is equivalent to an identity
∑ α c α W α = ∑ i = 1 s h i f i , \sum_\alpha c_\alpha W_\alpha=\sum_{i=1}^{s}h_i f_i, α ∑ c α W α = i = 1 ∑ s h i f i ,
where W α ∈ Q [ X 1 , … , X m ] W_\alpha\in\mathbb{Q}[X_1,\ldots,X_m] W α ∈ Q [ X 1 , … , X m ] is a polynomial representative of w α w_\alpha w α and h i ∈ Q [ X 1 , … , X m ] h_i\in\mathbb{Q}[X_1,\ldots,X_m] h i ∈ Q [ X 1 , … , X m ] . Let E E E bound the degrees of the W α W_\alpha W α . For any coefficients c α ∈ Q c_\alpha\in\mathbb{Q} c α ∈ Q , the polynomial
F = ∑ α c α W α F=\sum_\alpha c_\alpha W_\alpha F = α ∑ c α W α
has degree at most E E E . Since m m m is fixed, Hermann’s ideal-membership degree bound [2 Theorem 3.4] gives a bound polynomial in E E E and D D D , independent of the c α c_\alpha c α , such that whenever F ∈ I F\in I F ∈ I , there exist polynomials h i h_i h i of degrees within this bound satisfying
F = ∑ i = 1 s h i f i . F=\sum_{i=1}^{s}h_i f_i. F = i = 1 ∑ s h i f i .
As in the proof of Lemma 2.5 , we introduce the coefficients of the h i h_i h i as unknowns and compare coefficients of monomials. This gives a homogeneous linear system over Q \mathbb{Q} Q whose projection onto the c α c_\alpha c α -coordinates is precisely the space of linear relations among the w α w_\alpha w α . Gaussian elimination then selects a basis
B = { w α 1 , … , w α n } \mathcal{B}=\{w_{\alpha_1},\ldots,w_{\alpha_n}\} B = { w α 1 , … , w α n }
of B B B from the spanning monomials.
We next compute the multiplication table of B B B with respect to the basis B \mathcal{B} B . For each pair w α i , w α k w_{\alpha_i}, w_{\alpha_k} w α i , w α k of basis elements, multiply them as monomials in the v j v_j v j . Using the relations
g j ( v j ) = 0 , g_j(v_j)=0, g j ( v j ) = 0 ,
reduce all exponents of the v j v_j v j to be less than d j d_j d j . This expresses the product as a Q \mathbb{Q} Q -linear combination of the spanning monomials w α w_\alpha w α . Gaussian elimination also expresses each spanning monomial w α w_\alpha w α as a Q \mathbb{Q} Q -linear combination of the basis elements in B \mathcal{B} B . Using these expressions, we obtain the structure constants of B B B . Their number and coefficient bit lengths are polynomially bounded. The same linear reduction gives the coordinates of 1 1 1 and of each v j v_j v j in the basis B \mathcal{B} B .
Each v j v_j v j is a unit of B B B . Indeed, multiplication by v j v_j v j is injective on B B B , since v j v_j v j is a unit in A A A . As B B B is finite-dimensional over Q \mathbb{Q} Q , this map is also surjective, and hence v j − 1 ∈ B v_j^{-1}\in B v j − 1 ∈ B . We may therefore apply the Lenstra–Silverberg algorithm [16 Theorem 1.11(i)] , which computes in deterministic polynomial time generators for
Γ = ker ( Z r ⟶ B × , z ⟼ ∏ j = 1 r v j z j ) . \Gamma=\ker\left(\mathbb{Z}^r\longrightarrow B^\times,\quad z\longmapsto\prod_{j=1}^{r}v_j^{z_j}\right). Γ = ker ( Z r ⟶ B × , z ⟼ j = 1 ∏ r v j z j ) .
The algorithm applies to arbitrary finite-dimensional commutative Q \mathbb{Q} Q -algebras, so no reducedness assumption on B B B is required.
Let U ∈ Z k × r U\in\mathbb{Z}^{k\times r} U ∈ Z k × r be the integer matrix whose columns are b 1 , … , b r b_1,\ldots,b_r b 1 , … , b r . Every relation e ∈ Rel A ( u 1 , … , u k ) e\in\operatorname{Rel}_A(u_1,\ldots,u_k) e ∈ Rel A ( u 1 , … , u k ) belongs to Alg Q ( u ) \operatorname{Alg}_{\mathbb{Q}}(u) Alg Q ( u ) , since u e = 1 u^e=1 u e = 1 is algebraic over Q \mathbb{Q} Q . Hence there is a unique z ∈ Z r z\in\mathbb{Z}^r z ∈ Z r such that
By the definition of the v j v_j v j ,
u U z = ∏ j = 1 r v j z j , u^{Uz}=\prod_{j=1}^{r}v_j^{z_j}, u U z = j = 1 ∏ r v j z j ,
and, since B ⊆ A B\subseteq A B ⊆ A ,
u U z = 1 in A ⟺ ∏ j = 1 r v j z j = 1 in B ⟺ z ∈ Γ . u^{Uz}=1\text{ in }A\quad\Longleftrightarrow\quad\prod_{j=1}^{r}v_j^{z_j}=1\text{ in }B\quad\Longleftrightarrow\quad z\in\Gamma. u U z = 1 in A ⟺ j = 1 ∏ r v j z j = 1 in B ⟺ z ∈ Γ.
Therefore
Rel A ( u 1 , … , u k ) = U Γ . \operatorname{Rel}_A(u_1,\ldots,u_k)=U\Gamma. Rel A ( u 1 , … , u k ) = U Γ.
Thus, multiplying the computed generators of Γ \Gamma Γ by U U U gives a generating set for Rel A ( u 1 , … , u k ) \operatorname{Rel}_A(u_1,\ldots,u_k) Rel A ( u 1 , … , u k ) . A basis can then be computed in polynomial time using Hermite normal form. □
Relation lattices over rings of prime-power characteristic
In this section we prove that a basis of the relation lattice Rel A ( u 1 , … , u k ) \operatorname{Rel}_A(u_1,\ldots,u_k) Rel A ( u 1 , … , u k ) can be computed in bounded-error quantum polynomial time for specified units u 1 , … , u k u_1,\ldots,u_k u 1 , … , u k in a ring of the form
A = ( Z / p a Z ) [ X 1 , … , X m ] / I , I = ( f 1 , … , f s ) , A=(\mathbb{Z}/p^a\mathbb{Z})[X_1,\ldots,X_m]/I,\qquad I=(f_1,\ldots,f_s), A = ( Z / p a Z ) [ X 1 , … , X m ] / I , I = ( f 1 , … , f s ) ,
where p p p is prime and a ≥ 1 a\ge1 a ≥ 1 . We assume that the number m m m of polynomial variables and the number k k k of specified units are fixed. The input consists of the generators f 1 , … , f s f_1,\ldots,f_s f 1 , … , f s of I I I , polynomial representatives of the units u 1 , … , u k u_1,\ldots,u_k u 1 , … , u k and their inverses, and the modulus p a p^a p a in binary. In particular, the input size includes the bit length of p a p^a p a , which is ⌊ a log 2 p ⌋ + 1 \lfloor a\log_2 p\rfloor+1 ⌊ a log 2 p ⌋ + 1 .
We first show how to construct an exact presentation of a finite subring generated by elements satisfying monic polynomial relations.
Let 0 ≤ r ≤ k 0 \le r \le k 0 ≤ r ≤ k , and suppose that v 1 , … , v r ∈ A v_1,\ldots,v_r \in A v 1 , … , v r ∈ A are units given by polynomial representatives of polynomial size. Suppose further that, for each j j j , a monic polynomial g j ( T ) ∈ ( Z / p a Z ) [ T ] g_j(T) \in(\mathbb{Z}/p^a\mathbb{Z})[T] g j ( T ) ∈ ( Z / p a Z ) [ T ] of polynomially bounded degree is given such that g j ( v j ) = 0 g_j(v_j)=0 g j ( v j ) = 0 . Put
B = ( Z / p a Z ) [ v 1 , … , v r ] ⊆ A . B=(\mathbb{Z}/p^a\mathbb{Z})[v_1,\ldots,v_r]\subseteq A. B = ( Z / p a Z ) [ v 1 , … , v r ] ⊆ A .
Lemma 4.1 (An exact finite-subring presentation). The ring B B B has an exact additive presentation and multiplication table computable in deterministic polynomial time. In particular, B B B admits unique polynomial-length encodings and polynomial-time ring operations.
Proof. Put d j = deg g j d_j=\deg g_j d j = deg g j . As in the proof of Proposition 3.3 , the monic relations g j ( v j ) = 0 g_j(v_j)=0 g j ( v j ) = 0 imply that B B B is generated as a Z / p a Z \mathbb{Z}/p^a\mathbb{Z} Z / p a Z -module by the monomials
w α = v 1 α 1 ⋯ v r α r , 0 ≤ α j < d j . w_\alpha=v_1^{\alpha_1}\cdots v_r^{\alpha_r},\qquad0\le\alpha_j<d_j. w α = v 1 α 1 ⋯ v r α r , 0 ≤ α j < d j .
The number of these monomials is
M = ∏ j = 1 r d j . M=\prod_{j=1}^{r}d_j. M = j = 1 ∏ r d j .
Since r ≤ k r\le k r ≤ k and k k k is fixed, the polynomial bounds on the d j d_j d j imply that M M M is polynomially bounded. Polynomial representatives of all the w α w_\alpha w α can be constructed with polynomially bounded degree and coefficient bit length.
We next determine all additive relations among the spanning monomials. Unlike the rational case, these relations form an integer lattice rather than a vector space over Q \mathbb{Q} Q . Enumerate the spanning monomials as w 1 , … , w M w_1,\ldots,w_M w 1 , … , w M and put
\Omega=\left\{c\in\mathbb{Z}^{M}\mathrel{\left|}\sum_{i=1}^{M}c_iw_i=0\text{ in }A\right.\right\}.
Then
B a d d ≅ Z M / Ω . B_{\mathrm{add}}\cong\mathbb{Z}^{M}/\Omega. B add ≅ Z M /Ω.
For each i i i , choose an integer polynomial W i ∈ Z [ X 1 , … , X m ] W_i\in\mathbb{Z}[X_1,\ldots,X_m] W i ∈ Z [ X 1 , … , X m ] lifting a polynomial representative of w i w_i w i , and choose integer lifts, still denoted by f 1 , … , f s f_1,\ldots,f_s f 1 , … , f s , of the generators of I I I . Thus
A ≅ Z [ X 1 , … , X m ] / ( f 1 , … , f s , p a ) . A\cong\mathbb{Z}[X_1,\ldots,X_m]/(f_1,\ldots,f_s,p^a). A ≅ Z [ X 1 , … , X m ] / ( f 1 , … , f s , p a ) .
Every c ∈ Ω c\in\Omega c ∈ Ω is congruent modulo p a Z M p^a\mathbb{Z}^{M} p a Z M to a vector c ( 0 ) ∈ Ω c^{(0)}\in\Omega c ( 0 ) ∈ Ω satisfying
0 ≤ c i ( 0 ) < p a . 0\le c_i^{(0)}<p^a. 0 ≤ c i ( 0 ) < p a .
For such a vector, the polynomial
∑ i = 1 M c i ( 0 ) W i \sum_{i=1}^{M}c_i^{(0)}W_i i = 1 ∑ M c i ( 0 ) W i
has polynomially bounded degree and coefficient bit length.
By Aschenbrenner’s integer ideal-membership bound [2 Theorem A] , there is a uniform bound E E E , polynomial in the input size for fixed m m m , such that every identity
∑ i = 1 M c i ( 0 ) W i = ∑ ν = 1 s f ν h ν + p a h 0 , 0 ≤ c i ( 0 ) < p a , \sum_{i=1}^{M}c_i^{(0)}W_i=\sum_{\nu=1}^{s}f_\nu h_\nu+p^ah_0,\qquad0\le c_i^{(0)}<p^a, i = 1 ∑ M c i ( 0 ) W i = ν = 1 ∑ s f ν h ν + p a h 0 , 0 ≤ c i ( 0 ) < p a ,
that holds for some integer polynomials h ν h_\nu h ν also holds with deg h ν ≤ E \deg h_\nu\le E deg h ν ≤ E for all ν \nu ν . Here the bound is uniform because the degrees and logarithmic heights of the polynomials on the left are polynomially bounded.
We now consider the equation
∑ i = 1 M c i W i = ∑ ν = 1 s f ν h ν + p a h 0 , (7) \sum_{i=1}^{M} c_i W_i = \sum_{\nu=1}^{s} f_\nu h_\nu+ p^a h_0, \tag*{(7)} i = 1 ∑ M c i W i = ν = 1 ∑ s f ν h ν + p a h 0 , (7)
where the c i c_i c i are unknown integer constants and h 0 , h 1 , … , h s h_0,h_1,\ldots,h_s h 0 , h 1 , … , h s are unknown integer polynomials of degree at most E E E . Expanding the h ν h_\nu h ν and comparing coefficients of monomials gives a homogeneous integer linear system with polynomially many equations and unknowns and polynomially bounded coefficient bit lengths.
The projection of its integer solution lattice onto the c c c -coordinates is exactly Ω \Omega Ω . Indeed, every projected solution belongs to Ω \Omega Ω . Conversely, the ideal-membership degree bound shows that every relation c ( 0 ) ∈ Ω c^{(0)} \in\Omega c ( 0 ) ∈ Ω with 0 ≤ c i ( 0 ) < p a 0 \le c_i^{(0)} < p^a 0 ≤ c i ( 0 ) < p a arises from a solution of this system. The same holds for p a e i p^a e_i p a e i , by taking h 0 = W i h_0 = W_i h 0 = W i and all other h ν = 0 h_\nu= 0 h ν = 0 . Every element of Ω \Omega Ω is the sum of a bounded relation c ( 0 ) c^{(0)} c ( 0 ) and an element of p a Z M p^a\mathbb{Z}^M p a Z M . Hence the projection is all of Ω \Omega Ω .
Standard polynomial-time integer linear algebra computes a basis of the integer solution lattice. Projecting this basis onto the c c c -coordinates and applying Hermite normal form gives a basis of Ω \Omega Ω in deterministic polynomial time.
Smith normal form, together with the corresponding unimodular transformation matrices, now gives an explicit decomposition
B a d d = Z M / Ω ≃ Z / n 1 Z ⊕ ⋯ ⊕ Z / n t Z . B_{\mathrm{add}} = \mathbb{Z}^M/\Omega\simeq\mathbb{Z}/n_1\mathbb{Z} \oplus\cdots\oplus\mathbb{Z}/n_t\mathbb{Z}. B add = Z M /Ω ≃ Z / n 1 Z ⊕ ⋯ ⊕ Z / n t Z .
Since p a Z M ⊆ Ω p^a\mathbb{Z}^M \subseteq\Omega p a Z M ⊆ Ω , each n i n_i n i divides p a p^a p a . The standard representatives 0 , … , n i − 1 0,\ldots,n_i-1 0 , … , n i − 1 in each cyclic factor therefore give unique encodings of polynomial length.
We next compute the multiplication table of B B B . For each pair w α , w β w_\alpha,w_\beta w α , w β , their product is a monomial in the v j v_j v j . Using the monic relations g j ( v j ) = 0 g_j(v_j)=0 g j ( v j ) = 0 , we express this product as a Z / p a Z \mathbb{Z}/p^a\mathbb{Z} Z / p a Z -linear combination of the spanning monomials. The unimodular transformations obtained from Smith normal form then allow us to express products of the canonical additive generators in Smith coordinates.
The resulting multiplication table has polynomial size, and ring operations in the canonical representation can be performed in deterministic polynomial time. □
Given a group G G G , a subgroup H ≤ G H \le G H ≤ G , and a set X X X , we say a function f : G → X f:G \to X f : G → X hides the subgroup H H H if for all g 1 , g 2 ∈ G g_1,g_2 \in G g 1 , g 2 ∈ G , f ( g 1 ) = f ( g 2 ) f(g_1)=f(g_2) f ( g 1 ) = f ( g 2 ) if and only if g 1 H = g 2 H g_1H=g_2H g 1 H = g 2 H . Equivalently, f f f is constant on each coset of H H H , while it is different between the different cosets of H H H .
Lemma 4.2 (Relations in a finite ring). There is a bounded-error quantum polynomial-time algorithm that computes a basis of Rel B ( v 1 , … , v r ) \operatorname{Rel}_B(v_1,\ldots,v_r) Rel B ( v 1 , … , v r ) .
Proof. By Lemma 4.1, the ring B B B has unique polynomial-length encodings and efficient ring operations. Since the v i v_i v i are units, we can use Shor’s order-finding algorithm [21 ] to compute
o i = ord B × ( v i ) ≤ ∣ B ∣ , i = 1 , … , r . o_i = \operatorname{ord}_{B^\times}(v_i) \le|B|,\qquad i=1,\ldots,r. o i = ord B × ( v i ) ≤ ∣ B ∣ , i = 1 , … , r .
Since ∣ B ∣ ≤ ( p a ) M |B| \le(p^a)^M ∣ B ∣ ≤ ( p a ) M , the orders o i o_i o i have polynomially bounded bit lengths.
Consider the composition of group homomorphisms
Z r → φ ⨁ i = 1 r Z / o i Z → ψ B × , \mathbb{Z}^r \xrightarrow{\varphi} \bigoplus_{i=1}^{r}\mathbb{Z}/o_i\mathbb{Z} \xrightarrow{\psi} B^\times, Z r φ i = 1 ⨁ r Z / o i Z ψ B × ,
where φ \varphi φ is the natural projection and ψ ( e ) = v e \psi(e)=v^e ψ ( e ) = v e . By definition,
Rel B ( v 1 , … , v r ) = ker ( ψ ∘ φ ) = φ − 1 ( ker ψ ) . \operatorname{Rel}_{B}(v_1,\ldots,v_r)=\ker(\psi\circ\varphi)=\varphi^{-1}(\ker\psi). Rel B ( v 1 , … , v r ) = ker ( ψ ∘ φ ) = φ − 1 ( ker ψ ) .
The homomorphism ψ \psi ψ hides the subgroup ker ψ \ker\psi ker ψ . The quantum algorithm for the finite abelian hidden subgroup problem [4 ] therefore computes generators g 1 , … , g t g_1,\ldots,g_t g 1 , … , g t of ker ψ \ker\psi ker ψ in bounded-error polynomial time.
Choose lifts g ~ 1 , … , g ~ t ∈ Z r \widetilde{g}_1,\ldots,\widetilde{g}_t\in\mathbb{Z}^r g 1 , … , g t ∈ Z r of these generators. Then
Rel B ( v 1 , … , v r ) = ⟨ g ~ 1 , … , g ~ t , o 1 e 1 , … , o r e r ⟩ . \operatorname{Rel}_{B}(v_1,\ldots,v_r)=\langle\widetilde{g}_1,\ldots,\widetilde{g}_t,o_1e_1,\ldots,o_re_r\rangle. Rel B ( v 1 , … , v r ) = ⟨ g 1 , … , g t , o 1 e 1 , … , o r e r ⟩ .
where e 1 , … , e r e_1,\ldots,e_r e 1 , … , e r are the standard basis vectors of Z r \mathbb{Z}^r Z r . Applying Hermite normal form gives a basis of Rel B ( v 1 , … , v r ) \operatorname{Rel}_{B}(v_1,\ldots,v_r) Rel B ( v 1 , … , v r ) in deterministic polynomial time. □ \square □
Proposition 4.3. Under the standing assumptions of this section, a basis of Rel A ( u 1 , … , u k ) \operatorname{Rel}_{A}(u_1,\ldots,u_k) Rel A ( u 1 , … , u k ) can be computed in bounded-error quantum polynomial time.
Proof. The case A = 0 A=0 A = 0 is immediate, so assume A ≠ 0 A\ne0 A = 0 . Put A ‾ = A / p A \overline{A}=A/pA A = A / p A , and let u ‾ i \overline{u}_i u i denote the image of u i u_i u i in A ‾ \overline{A} A . Apply Theorem 1.1 to compute a basis b 1 , … , b r b_1,\ldots,b_r b 1 , … , b r of
L = Alg F p ( u ‾ 1 , … , u ‾ k ) . L=\operatorname{Alg}_{\mathbb{F}_p}(\overline{u}_1,\ldots,\overline{u}_k). L = Alg F p ( u 1 , … , u k ) .
If r = 0 r=0 r = 0 , then Rel A ( u 1 , … , u k ) = 0 \operatorname{Rel}_{A}(u_1,\ldots,u_k)=0 Rel A ( u 1 , … , u k ) = 0 , and we are done.
Put v j = u b j v_j=u^{b_j} v j = u b j for j = 1 , … , r j=1,\ldots,r j = 1 , … , r . By Proposition 3.2 , the coordinates of the b j b_j b j are polynomially bounded. Using the given polynomial representatives of the u i u_i u i and their inverses, we can therefore construct polynomial representatives of the v j v_j v j with polynomially bounded degree and coefficient bit length. Apply Lemma 2.9 to each v ‾ j ∈ A ‾ \overline{v}_j\in\overline{A} v j ∈ A to compute a monic polynomial g j ( T ) ∈ F p [ T ] g_j(T)\in\mathbb{F}_p[T] g j ( T ) ∈ F p [ T ] satisfying
g j ( v ‾ j ) = 0. g_j(\overline{v}_j)=0. g j ( v j ) = 0.
The degrees and coefficient bit lengths of these polynomials are polynomially bounded. Choose a monic coefficient lift g ~ j ( T ) ∈ ( Z / p a Z ) [ T ] \widetilde{g}_j(T)\in(\mathbb{Z}/p^a\mathbb{Z})[T] g j ( T ) ∈ ( Z / p a Z ) [ T ] of g j ( T ) g_j(T) g j ( T ) . Since g j ( v ‾ j ) = 0 g_j(\overline{v}_j)=0 g j ( v j ) = 0 , we have
g ~ j ( v j ) ∈ p A . \widetilde{g}_j(v_j)\in pA. g j ( v j ) ∈ p A .
Consequently,
g ~ j ( v j ) a ∈ p a A = 0. \widetilde{g}_j(v_j)^a\in p^aA=0. g j ( v j ) a ∈ p a A = 0.
Thus
G j ( T ) = g ~ j ( T ) a G_j(T)=\widetilde{g}_j(T)^a G j ( T ) = g j ( T ) a
is a monic polynomial annihilating v j v_j v j , with deg G j = a deg g j \deg G_j=a\deg g_j deg G j = a deg g j . Since a ≤ log 2 ( p a ) a\le\log_2(p^a) a ≤ log 2 ( p a ) , the polynomials G j G_j G j have polynomially bounded degrees and can be constructed in deterministic polynomial time.
By Lemma 4.1 , the subring
B = ( Z / p a Z ) [ v 1 , … , v r ] ⊆ A B=(\mathbb{Z}/p^a\mathbb{Z})[v_1,\ldots,v_r]\subseteq A B = ( Z / p a Z ) [ v 1 , … , v r ] ⊆ A
has an exact finite presentation with unique polynomial-length encodings and polynomial-time ring operations.
Each v j v_j v j is a unit of B B B . Indeed, multiplication by v j v_j v j is injective on B B B , since v j v_j v j is a unit in A A A . As B B B is finite, this map is also surjective, and hence v j − 1 ∈ B v_j^{-1}\in B v j − 1 ∈ B .
We may therefore apply Lemma 4.2 to compute a basis of
Γ = Rel B ( v 1 , … , v r ) \Gamma=\operatorname{Rel}_{B}(v_1,\ldots,v_r) Γ = Rel B ( v 1 , … , v r )
in bounded-error quantum polynomial time. Let U ∈ Z k × r U \in\mathbb{Z}^{k \times r} U ∈ Z k × r be the matrix with columns b 1 , … , b r b_1,\ldots,b_r b 1 , … , b r . Since
Rel A ( u 1 , … , u k ) ⊆ Rel A ‾ ( u ‾ 1 , … , u ‾ k ) ⊆ L , \operatorname{Rel}_{A}(u_1,\ldots,u_k) \subseteq\operatorname{Rel}_{\overline{A}}(\overline{u}_1,\ldots,\overline{u}_k) \subseteq L, Rel A ( u 1 , … , u k ) ⊆ Rel A ( u 1 , … , u k ) ⊆ L ,
every relation e ∈ Rel A ( u 1 , … , u k ) e \in\operatorname{Rel}_{A}(u_1,\ldots,u_k) e ∈ Rel A ( u 1 , … , u k ) has a unique representation e = U z e=Uz e = U z with z ∈ Z r z \in\mathbb{Z}^r z ∈ Z r . By the definition of the v j v_j v j ,
u U z = ∏ j = 1 r v j z j , u^{Uz}=\prod_{j=1}^{r}v_j^{z_j}, u U z = j = 1 ∏ r v j z j ,
and, since B ⊆ A B \subseteq A B ⊆ A ,
u U z = 1 in A ⟺ ∏ j = 1 r v j z j = 1 in B ⟺ z ∈ Γ . u^{Uz}=1\text{ in }A \quad\Longleftrightarrow\quad\prod_{j=1}^{r}v_j^{z_j}=1\text{ in }B \quad\Longleftrightarrow\quad z\in\Gamma. u U z = 1 in A ⟺ j = 1 ∏ r v j z j = 1 in B ⟺ z ∈ Γ.
Therefore
Rel A ( u 1 , … , u k ) = U Γ . (8) \operatorname{Rel}_{A}(u_1,\ldots,u_k)=U\Gamma. \tag*{(8)} Rel A ( u 1 , … , u k ) = U Γ. (8)
Multiplying the computed basis vectors of Γ \Gamma Γ by U U U gives a basis of Rel A ( u 1 , … , u k ) \operatorname{Rel}_{A}(u_1,\ldots,u_k) Rel A ( u 1 , … , u k ) . □
Proof of Theorem 1.2
Let S = Z [ X 1 , … , X m ] / I S=\mathbb{Z}[X_1,\ldots,X_m]/I S = Z [ X 1 , … , X m ] / I . We first determine whether S S S is the zero ring by testing whether 1 ∈ I 1\in I 1 ∈ I . By Proposition 2.1 , this can be done in deterministic polynomial time. If S = 0 S=0 S = 0 , then every product u 1 e 1 ⋯ u k e k u_1^{e_1}\cdots u_k^{e_k} u 1 e 1 ⋯ u k e k equals 1 1 1 in S S S for every e = ( e 1 , … , e k ) ∈ Z k e=(e_1,\ldots,e_k)\in\mathbb{Z}^k e = ( e 1 , … , e k ) ∈ Z k . Consequently,
Rel S ( u 1 , … , u k ) = Z k , \operatorname{Rel}_{S}(u_1,\ldots,u_k)=\mathbb{Z}^k, Rel S ( u 1 , … , u k ) = Z k ,
and we output the standard basis of Z k \mathbb{Z}^k Z k . Henceforth assume that S ≠ 0 S\ne0 S = 0 .
Compute the integer c c c from Proposition 2.8 and factor it using Shor’s quantum integer-factorization algorithm [21 ] . Write
c = ∏ ν = 1 t p ν a ν . c=\prod_{\nu=1}^{t}p_\nu^{a_\nu}. c = ν = 1 ∏ t p ν a ν .
Since c c c has polynomially bounded bit length, the number t t t of prime factors and the bit lengths of the prime powers p ν a ν p_\nu^{a_\nu} p ν a ν are polynomially bounded. By Proposition 2.8, the natural map
S ⟶ ( S ⊗ Q ) × S / c S S\longrightarrow(S\otimes\mathbb{Q})\times S/cS S ⟶ ( S ⊗ Q ) × S / c S
is injective. Moreover, the Chinese remainder theorem gives
S / c S ≃ ∏ ν = 1 t S / p ν a ν S . S/cS\simeq\prod_{\nu=1}^{t}S/p_\nu^{a_\nu}S. S / c S ≃ ν = 1 ∏ t S / p ν a ν S .
Consequently,
Rel S ( u 1 , … , u k ) = Rel S ⊗ Q ( u 1 , … , u k ) ∩ ⋂ ν = 1 t Rel S / p ν a ν S ( u 1 , … , u k ) . (9) \operatorname{Rel}_{S}(u_1,\ldots,u_k)=\operatorname{Rel}_{S\otimes\mathbb{Q}}(u_1,\ldots,u_k)\cap\bigcap_{\nu=1}^{t}\operatorname{Rel}_{S/p_\nu^{a_\nu}S}(u_1,\ldots,u_k). \tag*{(9)} Rel S ( u 1 , … , u k ) = Rel S ⊗ Q ( u 1 , … , u k ) ∩ ν = 1 ⋂ t Rel S / p ν a ν S ( u 1 , … , u k ) . (9)
The relation lattice over S ⊗ Q S\otimes\mathbb{Q} S ⊗ Q is computed by Proposition 3.3 , and those over the prime-power quotients are computed by Proposition 4.3 . Zero-ring factors impose no restriction. If c = 1 c=1 c = 1 , the intersection over the prime-power quotients is omitted.
It remains to compute the intersection of the resulting integer lattices. Let B 1 , … , B ℓ B_1,\ldots,B_\ell B 1 , … , B ℓ be their basis matrices, where B i B_i B i has r i r_i r i linearly independent columns. Introduce a common vector x ∈ Z k x\in\mathbb{Z}^k x ∈ Z k and require
x = B i z i , z i ∈ Z r i , i = 1 , … , ℓ . x=B_i z_i,\qquad z_i\in\mathbb{Z}^{r_i},\qquad i=1,\ldots,\ell. x = B i z i , z i ∈ Z r i , i = 1 , … , ℓ .
These equations form a homogeneous integer linear system whose solution lattice projects onto the required intersection.
Since each B i B_i B i has linearly independent columns, the projection onto the x x x -coordinates is injective. Thus, projecting a basis of the integer solution lattice gives a basis of the intersection.
The combined system has polynomially many rows and columns, and its coefficients have polynomially bounded bit lengths. Standard polynomial-time integer kernel algorithms therefore compute a basis of its solution lattice with polynomially bounded bit lengths. The same bounds hold for the projected basis.
All remaining classical computations take deterministic polynomial time. Amplifying the polynomially many quantum subroutines ensures that the overall probability of correctness is at least 2 / 3 2/3 2/3 . Thus a basis of RelS ( u 1 , … , u k ) \operatorname{RelS}(u_1,\ldots,u_k) RelS ( u 1 , … , u k ) can be computed in bounded-error quantum polynomial time. □ \square □
Proof of Corollary 1.3
Apply Theorem 1.2 to the k + 1 k+1 k + 1 units h , u 1 , … , u k h,u_1,\ldots,u_k h , u 1 , … , u k to compute a basis b 1 , … , b r b_1,\ldots,b_r b 1 , … , b r of
Λ = RelS ( h , u 1 , … , u k ) ≤ Z k + 1 . \Lambda=\operatorname{RelS}(h,u_1,\ldots,u_k)\leq\mathbb{Z}^{k+1}. Λ = RelS ( h , u 1 , … , u k ) ≤ Z k + 1 .
Write
b j = ( c j , v j ) , c j ∈ Z , v j ∈ Z k . b_j=(c_j,v_j),\qquad c_j\in\mathbb{Z},\quad v_j\in\mathbb{Z}^k. b j = ( c j , v j ) , c j ∈ Z , v j ∈ Z k .
and put
g = gcd ( c 1 , … , c r ) , g=\gcd(c_1,\ldots,c_r), g = g cd( c 1 , … , c r ) ,
where g = 0 g=0 g = 0 if r = 0 r=0 r = 0 or all c j c_j c j are zero.
The subgroup of first coordinates of elements of Λ \Lambda Λ is g Z g\mathbb{Z} g Z . Since
( − 1 , e ) ∈ Λ ⟺ h − 1 u e = 1 ⟺ u e = h , (-1,e)\in\Lambda\quad\Longleftrightarrow\quad h^{-1}u^e=1\quad\Longleftrightarrow\quad u^e=h, ( − 1 , e ) ∈ Λ ⟺ h − 1 u e = 1 ⟺ u e = h ,
we have
h ∈ ⟨ u 1 , … , u k ⟩ ⟺ − 1 ∈ g Z ⟺ g = 1. h\in\langle u_1,\ldots,u_k\rangle\quad\Longleftrightarrow\quad-1\in g\mathbb{Z}\quad\Longleftrightarrow\quad g=1. h ∈ ⟨ u 1 , … , u k ⟩ ⟺ − 1 ∈ g Z ⟺ g = 1.
Suppose that g = 1 g=1 g = 1 . By the extended Euclidean algorithm, we can find integers λ 1 , … , λ r \lambda_1,\ldots,\lambda_r λ 1 , … , λ r such that
∑ j = 1 r λ j c j = − 1. \sum_{j=1}^{r}\lambda_jc_j=-1. j = 1 ∑ r λ j c j = − 1.
Put
e 0 = ∑ j = 1 r λ j v j . e_0=\sum_{j=1}^{r}\lambda_jv_j. e 0 = j = 1 ∑ r λ j v j .
Then ( − 1 , e 0 ) ∈ Λ (-1,e_0)\in\Lambda ( − 1 , e 0 ) ∈ Λ , so u e 0 = h u^{e_0}=h u e 0 = h . Moreover, for any e ∈ Z k e\in\mathbb{Z}^k e ∈ Z k ,
u e = h ⟺ u e − e 0 = 1 ⟺ e − e 0 ∈ RelS ( u 1 , … , u k ) . u^e=h\quad\Longleftrightarrow\quad u^{e-e_0}=1\quad\Longleftrightarrow\quad e-e_0\in\operatorname{RelS}(u_1,\ldots,u_k). u e = h ⟺ u e − e 0 = 1 ⟺ e − e 0 ∈ RelS ( u 1 , … , u k ) .
Consequently,
{ e ∈ Z k : u e = h } = e 0 + RelS ( u 1 , … , u k ) . \{e\in\mathbb{Z}^k:u^e=h\}=e_0+\operatorname{RelS}(u_1,\ldots,u_k). { e ∈ Z k : u e = h } = e 0 + RelS ( u 1 , … , u k ) .
All the additional computations use polynomial-time integer linear algebra. Since k + 1 k+1 k + 1 is fixed, the application of Theorem 1.2 also takes bounded-error quantum polynomial time. □ \square □
The conjugacy-to-orbit reduction
In this section, we reduce the conjugacy problem in a finitely generated metabelian group to an orbit problem in a finitely presented module over its integral group ring. We also show that this reduction can be carried out in polynomial time.
Let G G G be a k k k -generated metabelian group given by (1.3), where the defining relators are part of the input. Let
A = G ′ , Q = G / A A = G', \qquad Q = G/A A = G ′ , Q = G / A
be the derived subgroup and the abelianization of G G G , respectively, and let φ : G → Q \varphi:G \to Q φ : G → Q be the natural projection. Since G G G is metabelian, both A A A and Q Q Q are abelian.
Conjugation by elements of G G G induces an action of Q Q Q on A A A . Indeed, every element of A A A acts trivially on A A A by conjugation. Thus A A A is naturally a module over the commutative group ring
R = Z Q . R = \mathbb{Z}Q. R = Z Q .
We use right conjugation, a g = g − 1 a g a^g = g^{-1}ag a g = g − 1 a g , and write A A A additively when regarded as an R R R -module. In particular,
a ⋅ φ ( g ) = a g , [ a , g ] = a ⋅ ( φ ( g ) − 1 ) a \cdot\varphi(g) = a^g, \qquad[a,g] = a \cdot\left(\varphi(g)-1\right) a ⋅ φ ( g ) = a g , [ a , g ] = a ⋅ ( φ ( g ) − 1 )
for all a ∈ A a \in A a ∈ A and g ∈ G g \in G g ∈ G .
R-module coordinates in the derived subgroup
The derived subgroup A = G ′ A = G' A = G ′ is generated as an R R R -module by the commutators
a i j = [ x i , x j ] , 1 ≤ i < j ≤ k . a_{ij} = [x_i,x_j], \qquad1 \leq i < j \leq k. a ij = [ x i , x j ] , 1 ≤ i < j ≤ k .
Thus every a ∈ A a \in A a ∈ A can be written as
a = ∑ 1 ≤ i < j ≤ k a i j f i j , f i j ∈ R . a = \sum_{1 \leq i < j \leq k} a_{ij} f_{ij}, \qquad f_{ij} \in R. a = 1 ≤ i < j ≤ k ∑ a ij f ij , f ij ∈ R .
We call ( f i j ) i < j (f_{ij})_{i<j} ( f ij ) i < j an R R R -module coordinate vector of a a a . Such a vector need not be unique because the generators a i j a_{ij} a ij may satisfy nontrivial R R R -module relations.
Proposition 7.1. Fix k ≥ 1 k \geq1 k ≥ 1 . There is a deterministic algorithm that, given a k k k -generated metabelian group G G G defined by (1.3) and a word w = w ( x 1 , … , x k ) w = w(x_1,\ldots,x_k) w = w ( x 1 , … , x k ) representing an element of G ′ G' G ′ , produces an R R R -module coordinate vector ( f i j ) i < j (f_{ij})_{i<j} ( f ij ) i < j of w w w satisfying the following:
The running time is polynomial in N + ∣ w ∣ N + |w| N + ∣ w ∣ , where N = m + ∑ i = 1 m ∣ r i ∣ N = m + \sum_{i=1}^{m} |r_i| N = m + ∑ i = 1 m ∣ r i ∣ , with degree depending only on k k k .
Each coordinate f i j f_{ij} f ij has numerical degree, number of nonzero terms, and coefficient bit length bounded by a polynomial in N + ∣ w ∣ N + |w| N + ∣ w ∣ , with degree depending only on k k k .
Proof. Let F = F ( x 1 , … , x k ) F = F(x_1,\ldots,x_k) F = F ( x 1 , … , x k ) , and let α : F → Z k \alpha:F \to\mathbb{Z}^k α : F → Z k be the abelianization map. Put
v i = α ( r i ) ∈ Z k , 1 ≤ i ≤ m , v_i = \alpha(r_i) \in\mathbb{Z}^k, \qquad1 \leq i \leq m, v i = α ( r i ) ∈ Z k , 1 ≤ i ≤ m ,
and let V V V be the integer matrix with columns v 1 , … , v m v_1,\ldots,v_m v 1 , … , v m . Since w w w represents an element of G ′ G' G ′ , we have
α ( w ) ∈ ⟨ v 1 , … , v m ⟩ . \alpha(w) \in\langle v_1,\ldots,v_m\rangle. α ( w ) ∈ ⟨ v 1 , … , v m ⟩ .
Thus the integer system
V c = − α ( w ) Vc = -\alpha(w) V c = − α ( w )
has a solution. The matrix V V V has k k k rows, and its entries have absolute value at most N N N , while ∥ α ( w ) ∥ ∞ ≤ ∣ w ∣ \lVert\alpha(w)\rVert_{\infty} \le|w| ∥ α ( w ) ∥ ∞ ≤ ∣ w ∣ . Since k k k is fixed, standard bounds for solvable integer linear systems imply that there exists a solution c ∈ Z m c \in\mathbb{Z}^{m} c ∈ Z m with
V c = − α ( w ) , ∑ i = 1 m ∣ c i ∣ ≤ ( N + ∣ w ∣ ) O ( k ) . Vc=-\alpha(w),\qquad\sum_{i=1}^{m}|c_i|\le(N+|w|)^{O(k)}. V c = − α ( w ) , i = 1 ∑ m ∣ c i ∣ ≤ ( N + ∣ w ∣ ) O ( k ) .
Moreover, such a solution can be computed in deterministic polynomial time using integer linear algebra algorithms.
Set
u = r 1 c 1 ⋯ r m c m . u=r_1^{c_1}\cdots r_m^{c_m}. u = r 1 c 1 ⋯ r m c m .
The word u u u represents the identity in G G G , and its length satisfies
∣ u ∣ ≤ ( N + ∣ w ∣ ) O ( k ) . |u|\le(N+|w|)^{O(k)}. ∣ u ∣ ≤ ( N + ∣ w ∣ ) O ( k ) .
Moreover,
α ( w u ) = 0 , \alpha(wu)=0, α ( w u ) = 0 ,
so w u ∈ F ′ wu\in F' w u ∈ F ′ . Thus w w w and w u wu w u represent the same element of G ′ G' G ′ . Put
L = ∣ w u ∣ ≤ ( N + ∣ w ∣ ) O ( k ) . L=|wu|\le(N+|w|)^{O(k)}. L = ∣ w u ∣ ≤ ( N + ∣ w ∣ ) O ( k ) .
Collect the word w u wu w u by sorting its letters into the order
x 1 ± 1 , x 2 ± 1 , … , x k ± 1 . x_1^{\pm1},x_2^{\pm1},\ldots,x_k^{\pm1}. x 1 ± 1 , x 2 ± 1 , … , x k ± 1 .
Whenever adjacent letters a = x j ± 1 a=x_j^{\pm1} a = x j ± 1 and b = x i ± 1 b=x_i^{\pm1} b = x i ± 1 , with j > i j>i j > i , are interchanged, use
s a b v = s b a v ⋅ [ a , b ] v . sabv=sbav\cdot[a,b]^v. s ab v = s ba v ⋅ [ a , b ] v .
Each interchange introduces a conjugate of a commutator of two generator letters. At most O ( L 2 ) O(L^2) O ( L 2 ) interchanges are required, and every conjugating word has length O ( L ) O(L) O ( L ) . Each commutator [ x j ± 1 , x i ± 1 ] [x_j^{\pm1},x_i^{\pm1}] [ x j ± 1 , x i ± 1 ] is a conjugate of [ x i , x j ] ± 1 [x_i,x_j]^{\pm1} [ x i , x j ] ± 1 by a word of bounded length. Since w u ∈ F ′ wu\in F' w u ∈ F ′ , the exponent sum of each generator in the sorted word is zero. Consequently, the sorted word freely reduces to the identity. Hence
w u = ∏ ℓ = 1 T ( [ x i ℓ , x j ℓ ] ε ℓ ) h ℓ , wu=\prod_{\ell=1}^{T}\left([x_{i_\ell},x_{j_\ell}]^{\varepsilon_\ell}\right)^{h_\ell}, w u = ℓ = 1 ∏ T ( [ x i ℓ , x j ℓ ] ε ℓ ) h ℓ ,
where T = O ( L 2 ) T=O(L^2) T = O ( L 2 ) , ε ℓ ∈ { 1 , − 1 } \varepsilon_\ell\in\{1,-1\} ε ℓ ∈ { 1 , − 1 } , and ∣ h ℓ ∣ = O ( L ) |h_\ell|=O(L) ∣ h ℓ ∣ = O ( L ) .
Passing to G G G and writing G ′ G' G ′ additively, we obtain
w = ∑ ℓ = 1 T ε ℓ a i ℓ j ℓ φ ( h ℓ ) . w=\sum_{\ell=1}^{T}\varepsilon_\ell a_{i_\ell j_\ell}\varphi(h_\ell). w = ℓ = 1 ∑ T ε ℓ a i ℓ j ℓ φ ( h ℓ ) .
Grouping terms corresponding to each pair i < j i<j i < j gives an R R R -module coordinate vector
w = ∑ 1 ≤ i < j ≤ k a i j f i j , where f i j = ∑ ℓ : ( i ℓ , j ℓ ) = ( i , j ) ε ℓ φ ( h ℓ ) . w=\sum_{1\le i<j\le k}a_{ij}f_{ij},\qquad
\text{where }f_{ij}=\sum_{\ell:(i_\ell,j_\ell)=(i,j)}\varepsilon_\ell\varphi(h_\ell). w = 1 ≤ i < j ≤ k ∑ a ij f ij , where f ij = ℓ : ( i ℓ , j ℓ ) = ( i , j ) ∑ ε ℓ φ ( h ℓ ) .
We represent these coordinates as Laurent polynomials in the images of x 1 , … , x k x_1,\ldots,x_k x 1 , … , x k in Q Q Q , without requiring canonical representatives of elements of Q Q Q . Each f i j f_{ij} f ij has at most O ( L 2 ) O(L^2) O ( L 2 ) nonzero terms. The absolute values of the exponents of x 1 , … , x k x_1,\ldots,x_k x 1 , … , x k in these Laurent monomials are O ( L ) O(L) O ( L ) , and every coefficient has absolute value at most O ( L 2 ) O(L^2) O ( L 2 ) . Since L ≤ ( N + ∣ w ∣ ) O ( k ) L\le(N+|w|)^{O(k)} L ≤ ( N + ∣ w ∣ ) O ( k ) , the numerical degrees and support sizes are bounded by ( N + ∣ w ∣ ) O ( k ) (N+|w|)^{O(k)} ( N + ∣ w ∣ ) O ( k ) , while the coefficient bit lengths are O ( k log ( N + ∣ w ∣ ) ) O(k\log(N+|w|)) O ( k log ( N + ∣ w ∣ )) . All constructions can be performed in deterministic polynomial time in N + ∣ w ∣ N + |w| N + ∣ w ∣ , with degree depending only on k k k .
From conjugacy to orbit membership
Let x , y ∈ G x,y \in G x , y ∈ G be the input elements of the conjugacy problem. Since Q Q Q is abelian, conjugate elements have the same image under φ \varphi φ . We may therefore assume that
φ ( x ) = φ ( y ) = q ∈ Q . \varphi(x) = \varphi(y) = q \in Q. φ ( x ) = φ ( y ) = q ∈ Q .
For every a ∈ A a \in A a ∈ A , we have
[ a , x ] = a ⋅ ( q − 1 ) . [a,x] = a \cdot(q - 1). [ a , x ] = a ⋅ ( q − 1 ) .
Hence, the subgroup
D = ( q − 1 ) A D = (q - 1)A D = ( q − 1 ) A
consists precisely of the commutators [ a , x ] [a,x] [ a , x ] with a ∈ A a \in A a ∈ A .
Lemma 7.2. The following hold:
(a) D ⊴ G D \trianglelefteq G D ⊴ G ;
(b) x D xD x D centralizes A / D A/D A / D in G / D G/D G / D .
Proof. Since D D D is an R R R -submodule of A A A , it is normal in G G G . Moreover, for every a ∈ A a \in A a ∈ A ,
[ a , x ] = a ⋅ ( q − 1 ) ∈ D . [a,x] = a \cdot(q - 1) \in D. [ a , x ] = a ⋅ ( q − 1 ) ∈ D . Hence x D xD x D commutes with every element of A / D A/D A / D .
Put
M = A / D , C = ⟨ M , x D ⟩ ≤ G / D . M = A/D,\qquad C = \langle M,xD\rangle\leq G/D. M = A / D , C = ⟨ M , x D ⟩ ≤ G / D .
Lemma 7.3. The following hold:
(a) C C C is an abelian normal subgroup of G / D G/D G / D ;
(b) conjugation induces an R R R -module structure on C C C ;
(c) y D ∈ C yD \in C y D ∈ C .
Proof. By Lemma 7.2(b), the element x D xD x D centralizes M M M . Since M M M is abelian, so is C C C . For every g ∈ G g \in G g ∈ G , we have
x g = x [ x , g ] , x^{g} = x[x,g], x g = x [ x , g ] , where [ x , g ] ∈ A [x,g] \in A [ x , g ] ∈ A . Thus conjugation by g D gD g D preserves C C C , and C C C is normal in G / D G/D G / D .
Since M ⊆ C M \subseteq C M ⊆ C and C C C is abelian, conjugation by elements of A A A acts trivially on C C C . Therefore the conjugation action of G G G on C C C factors through Q = G / A Q = G/A Q = G / A , making C C C an R R R -module.
Finally, since φ ( x ) = φ ( y ) \varphi(x) = \varphi(y) φ ( x ) = φ ( y ) , we have x − 1 y ∈ A x^{-1}y \in A x − 1 y ∈ A . Therefore
y D = ( x D ) ( x − 1 y D ) ∈ C , yD = (xD)(x^{-1}yD) \in C, y D = ( x D ) ( x − 1 y D ) ∈ C , proving (c).
The following proposition shows that conjugacy in G G G is equivalent to an orbit problem for the action of Q Q Q on C C C .
Proposition 7.4 (Noskov reduction). Let x , y ∈ G x,y \in G x , y ∈ G have the same image in Q Q Q , and let D D D and C C C be as defined above. Then
x ∼ G y ⟺ y D = ( x D ) ⋅ s for some s ∈ Q . (10) x \sim_G y \quad\Longleftrightarrow\quad yD = (xD)\cdot s \quad\text{for some } s \in Q. \tag*{(10)} x ∼ G y ⟺ y D = ( x D ) ⋅ s for some s ∈ Q . (10)
Proof. (⇒ \Rightarrow ⇒ ) If x g = y x^g = y x g = y for some g ∈ G g \in G g ∈ G , then
y D = ( x D ) ⋅ φ ( g ) , yD = (xD) \cdot\varphi(g), y D = ( x D ) ⋅ φ ( g ) ,
proving the forward implication.
(⇐ \Leftarrow ⇐ ) Conversely, suppose that
y D = ( x D ) ⋅ s yD = (xD) \cdot s y D = ( x D ) ⋅ s
for some s ∈ Q s \in Q s ∈ Q . Choose g ∈ G g \in G g ∈ G with φ ( g ) = s \varphi(g) = s φ ( g ) = s . Then x g D = y D x^gD = yD x g D = y D , so
for some d ∈ D d \in D d ∈ D .
Since φ ( y ) = q \varphi(y) = q φ ( y ) = q , the map A ⟶ A A \longrightarrow A A ⟶ A defined by a ↦ [ y , a ] a \mapsto[y,a] a ↦ [ y , a ] has image ( 1 − q ) A = D (1-q)A = D ( 1 − q ) A = D . We may therefore choose a ∈ A a \in A a ∈ A such that [ y , a ] = d − 1 [y,a] = d^{-1} [ y , a ] = d − 1 . As A A A is abelian, a a a centralizes d d d , and hence
x g a = ( x g ) a = ( y d ) a = y [ y , a ] d = y . x^{ga} = (x^g)^a = (yd)^a = y[y,a]d = y. x g a = ( x g ) a = ( y d ) a = y [ y , a ] d = y .
Thus x x x and y y y are conjugate in G G G . □
An explicit R R R -module presentation of A A A
We now show that a finite R R R -module presentation of A = G ′ A = G' A = G ′ can be constructed efficiently from the defining relators of G G G .
Proposition 7.5. Fix k ≥ 1 k \ge1 k ≥ 1 . There is a deterministic algorithm that, given a k k k -generated metabelian group G G G defined by (1.3), constructs a finite R R R -module presentation of A = G ′ A = G' A = G ′ with generators a i j = [ x i , x j ] a_{ij} = [x_i,x_j] a ij = [ x i , x j ] for $1 \le i < j \le k$, in time polynomial in
N = m + ∑ i = 1 m ∣ r i ∣ , N = m + \sum_{i=1}^{m} |r_i|, N = m + i = 1 ∑ m ∣ r i ∣ , with degree depending only on k k k . The presentation has polynomially many relations, whose coefficients admit Laurent polynomial representatives in Z [ t 1 ± 1 , … , t k ± 1 ] \mathbb{Z}[t_1^{\pm1},\ldots,t_k^{\pm1}] Z [ t 1 ± 1 , … , t k ± 1 ] with polynomially bounded degrees, support sizes, and coefficient bit lengths.
Proof. Let F = F ( x 1 , … , x k ) F = F(x_1,\ldots,x_k) F = F ( x 1 , … , x k ) be the free group, and put
H = F / F ′ ′ , T = Z [ t 1 ± 1 , … , t k ± 1 ] . H = F/F'', \qquad T = \mathbb{Z}[t_1^{\pm1},\ldots,t_k^{\pm1}]. H = F / F ′′ , T = Z [ t 1 ± 1 , … , t k ± 1 ] .
Then H H H is the free metabelian group of rank k k k , and H ′ H' H ′ is a T T T -module under conjugation. The module H ′ H' H ′ is generated by a i j = [ x i , x j ] a_{ij} = [x_i,x_j] a ij = [ x i , x j ] , with defining relations
t i t j ( t ℓ − 1 ) a i j − t i t ℓ ( t j − 1 ) a i ℓ + t j t ℓ ( t i − 1 ) a j ℓ = 0 , 1 ≤ i < j < ℓ ≤ k . (11) t_i t_j(t_\ell- 1)a_{ij} - t_i t_\ell(t_j - 1)a_{i\ell} + t_j t_\ell(t_i - 1)a_{j\ell} = 0,\qquad1 \le i < j < \ell\le k. \tag*{(11)} t i t j ( t ℓ − 1 ) a ij − t i t ℓ ( t j − 1 ) a i ℓ + t j t ℓ ( t i − 1 ) a j ℓ = 0 , 1 ≤ i < j < ℓ ≤ k . (11)
Indeed, after introducing the normalized generators
b i j = t i t j a i j , b_{ij} = t_i t_j a_{ij}, b ij = t i t j a ij ,
these become the Koszul relations
b i j ( t ℓ − 1 ) − b i ℓ ( t j − 1 ) + b j ℓ ( t i − 1 ) = 0. b_{ij}(t_\ell- 1) - b_{i\ell}(t_j - 1) + b_{j\ell}(t_i - 1) = 0. b ij ( t ℓ − 1 ) − b i ℓ ( t j − 1 ) + b j ℓ ( t i − 1 ) = 0.
Their completeness follows from the Magnus embedding and the exactness of the Koszul complex associated with t 1 − 1 , … , t k − 1 t_1 - 1,\ldots,t_k - 1 t 1 − 1 , … , t k − 1 .
Let K K K be the normal closure of r 1 , … , r m r_1,\ldots,r_m r 1 , … , r m in H H H . Then
G = H / K , A = G ′ ≅ H ′ / ( K ∩ H ′ ) . G = H/K,\qquad A = G' \cong H'/(K \cap H'). G = H / K , A = G ′ ≅ H ′ / ( K ∩ H ′ ) .
Let α : H → Z k \alpha: H \to\mathbb{Z}^k α : H → Z k be abelianization, and set
v i = α ( r i ) , V = ( v 1 ⋯ v m ) ∈ Z k × m . v_i = \alpha(r_i),\qquad V = (v_1\ \cdots\ v_m) \in\mathbb{Z}^{k \times m}. v i = α ( r i ) , V = ( v 1 ⋯ v m ) ∈ Z k × m .
Thus
Q ≅ Z k / im V , R = Z Q ≅ T / J , Q \cong\mathbb{Z}^{k}/\operatorname{im} V,\qquad R=\mathbb{Z}Q\cong T/J, Q ≅ Z k / im V , R = Z Q ≅ T / J ,
where
J = ( t v 1 − 1 , … , t v m − 1 ) , t v = t 1 v 1 ⋯ t k v k . J=(t^{v_1}-1,\ldots,t^{v_m}-1),\qquad t^v=t_1^{v_1}\cdots t_k^{v_k}. J = ( t v 1 − 1 , … , t v m − 1 ) , t v = t 1 v 1 ⋯ t k v k .
We first determine generators of K ∩ H ′ K\cap H' K ∩ H ′ as a T T T -module. Set
S 1 = { [ r i , x j ] ∣ 1 ≤ i ≤ m , 1 ≤ j ≤ k } . S_1=\{[r_i,x_j]\mid1\le i\le m,\ 1\le j\le k\}. S 1 = {[ r i , x j ] ∣ 1 ≤ i ≤ m , 1 ≤ j ≤ k } .
Choose a Z \mathbb{Z} Z -basis c ( 1 ) , … , c ( s ) c^{(1)},\ldots,c^{(s)} c ( 1 ) , … , c ( s ) of ker Z V \ker_{\mathbb{Z}}V ker Z V , and define
ρ ℓ = r 1 c 1 ( ℓ ) ⋯ r m c m ( ℓ ) , 1 ≤ ℓ ≤ s . \rho_\ell=r_1^{c^{(\ell)}_1}\cdots r_m^{c^{(\ell)}_m},\qquad1\le\ell\le s. ρ ℓ = r 1 c 1 ( ℓ ) ⋯ r m c m ( ℓ ) , 1 ≤ ℓ ≤ s .
Since α ( ρ ℓ ) = V c ( ℓ ) = 0 \alpha(\rho_\ell)=Vc^{(\ell)}=0 α ( ρ ℓ ) = V c ( ℓ ) = 0 , each ρ ℓ \rho_\ell ρ ℓ belongs to K ∩ H ′ K\cap H' K ∩ H ′ . Put
S 2 = { ρ 1 , … , ρ s } . S_2=\{\rho_1,\ldots,\rho_s\}. S 2 = { ρ 1 , … , ρ s } .
We claim that
K ∩ H ′ = ⟨ S 1 ∪ S 2 ⟩ T . (12) K\cap H'=\langle S_1\cup S_2\rangle_T. \tag*{(12)} K ∩ H ′ = ⟨ S 1 ∪ S 2 ⟩ T . (12)
The normal closure of S 1 S_1 S 1 in H H H is [ K , H ] [K,H] [ K , H ] : modulo this normal closure, every r i r_i r i commutes with all generators x j x_j x j , and hence K K K is central. Since [ K , H ] ⊆ H ′ [K,H]\subseteq H' [ K , H ] ⊆ H ′ and H ′ H' H ′ is abelian, it follows that
[ K , H ] = ⟨ S 1 ⟩ T . [K,H]=\langle S_1\rangle_T. [ K , H ] = ⟨ S 1 ⟩ T .
The quotient K / [ K , H ] K/[K,H] K / [ K , H ] is abelian and generated by the images of the r i r_i r i . Consequently, the homomorphism
β : Z m ⟶ K / [ K , H ] , c ⟼ r 1 c 1 ⋯ r m c m [ K , H ] \beta:\mathbb{Z}^m\longrightarrow K/[K,H],\qquad c\longmapsto r_1^{c_1}\cdots r_m^{c_m}[K,H] β : Z m ⟶ K / [ K , H ] , c ⟼ r 1 c 1 ⋯ r m c m [ K , H ]
is surjective, and its composition with the map induced by α \alpha α is V V V .
For any z ∈ K ∩ H ′ z\in K\cap H' z ∈ K ∩ H ′ , choose c ∈ Z m c\in\mathbb{Z}^m c ∈ Z m with z [ K , H ] = β ( c ) z[K,H]=\beta(c) z [ K , H ] = β ( c ) . Then V c = α ( z ) = 0 Vc=\alpha(z)=0 V c = α ( z ) = 0 , so
c = ∑ ℓ = 1 s n ℓ c ( ℓ ) c=\sum_{\ell=1}^{s}n_\ell c^{(\ell)} c = ℓ = 1 ∑ s n ℓ c ( ℓ )
for some integers n ℓ n_\ell n ℓ . Hence
z [ K , H ] = ∏ ℓ = 1 s ρ ℓ n ℓ [ K , H ] . z[K,H]=\prod_{\ell=1}^{s}\rho_\ell^{n_\ell}[K,H]. z [ K , H ] = ℓ = 1 ∏ s ρ ℓ n ℓ [ K , H ] .
Since [ K , H ] [K,H] [ K , H ] is generated by S 1 S_1 S 1 as a T T T -module, this proves (12) .
The conjugation action of H H H on A A A factors through Q = G / A Q=G/A Q = G / A . Consequently, the ideal J J J annihilates A A A , and hence
J H ′ ⊆ K ∩ H ′ . JH'\subseteq K\cap H'. J H ′ ⊆ K ∩ H ′ .
By (12) , an R R R -module presentation of A A A is obtained from (11) by adjoining the coordinate vectors of the elements of S 1 ∪ S 2 S_1\cup S_2 S 1 ∪ S 2 , computed over T T T and mapped componentwise to R R R .
We now establish the complexity bounds. The matrix V V V has k k k rows, and its entries have absolute value at most N N N . Put r = rank V ≤ k r=\operatorname{rank}V\le k r = rank V ≤ k . If r = 0 r=0 r = 0 , we take the standard basis of ker Z V = Z m \ker_{\mathbb{Z}}V=\mathbb{Z}^m ker Z V = Z m . Suppose that r > 0 r>0 r > 0 . Every r × r r\times r r × r minor of V V V has absolute value at most
D = r ! N r ≤ k ! N k . D=r!N^r\le k!N^k. D = r ! N r ≤ k ! N k .
Choose r r r independent columns and r r r rows forming a nonsingular r × r r\times r r × r submatrix B B B . After permuting columns, write the corresponding row submatrix of V V V as ( B C ) (B\ C) ( B C ) . Since these rows span the row space of V V V over Q \mathbb{Q} Q , we have
ker Z V = { ( u , w ) ∈ Z r ⊕ Z m − r ∣ B u + C w = 0 } . \ker_{\mathbb{Z}}V=\{(u,w)\in\mathbb{Z}^r\oplus\mathbb{Z}^{m-r}\mid Bu+Cw=0\}. ker Z V = {( u , w ) ∈ Z r ⊕ Z m − r ∣ B u + C w = 0 } .
Put d = ∣ det B ∣ ≤ D d = |\det B| \le D d = ∣ det B ∣ ≤ D . The possible vectors w w w form the sublattice
L = { w ∈ Z m − r ∣ adj ( B ) C w ≡ 0 ( m o d d ) } . L = \{w \in\mathbb{Z}^{m-r} \mid\operatorname{adj}(B)Cw \equiv0 \pmod{d}\}. L = { w ∈ Z m − r ∣ adj ( B ) C w ≡ 0 ( mod d )} .
This lattice is the projection onto the first m − r m-r m − r coordinates of the integer solution space of
adj ( B ) C w − d z = 0 , ( w , z ) ∈ Z m − r ⊕ Z r . \operatorname{adj}(B)Cw - dz = 0, \qquad(w,z) \in\mathbb{Z}^{m-r} \oplus\mathbb{Z}^{r}. adj ( B ) C w − d z = 0 , ( w , z ) ∈ Z m − r ⊕ Z r .
Since z z z is uniquely determined by w w w , this projection is an isomorphism. Thus L L L can be computed in deterministic polynomial time using integer normal form algorithms. Moreover, L L L is the kernel of a homomorphism
Z m − r ⟶ ( Z / d Z ) r , \mathbb{Z}^{m-r} \longrightarrow(\mathbb{Z}/d\mathbb{Z})^{r}, Z m − r ⟶ ( Z / d Z ) r ,
so
[ Z m − r : L ] ≤ d r ≤ D k . [\mathbb{Z}^{m-r}:L] \le d^{r} \le D^{k}. [ Z m − r : L ] ≤ d r ≤ D k .
A reduced Hermite normal form basis of L L L therefore has entries bounded by D k D^{k} D k . For each basis vector w w w of L L L , put
u = − B − 1 C w . u=-B^{-1}Cw. u = − B − 1 C w .
The defining congruence of L L L ensures that u u u is integral. By Cramer’s rule, each entry of B − 1 C B^{-1}C B − 1 C is a ratio of two r × r r \times r r × r minors of V V V , and hence has absolute value at most D D D . Consequently,
∥ ( u , w ) ∥ 1 ≤ ( m − r ) D k + r ( m − r ) D k + 1 ≤ N O ( k 2 ) . \|(u,w)\|_{1} \le(m-r)D^{k} + r(m-r)D^{k+1} \le N^{O(k^{2})}. ∥ ( u , w ) ∥ 1 ≤ ( m − r ) D k + r ( m − r ) D k + 1 ≤ N O ( k 2 ) .
These vectors form a Z \mathbb{Z} Z -basis c ( 1 ) , … , c ( s ) c^{(1)},\ldots,c^{(s)} c ( 1 ) , … , c ( s ) of ker Z V \ker_{\mathbb{Z}} V ker Z V , where s = m − r ≤ m s=m-r \le m s = m − r ≤ m . It follows that
∣ ρ ℓ ∣ ≤ ∑ i = 1 m ∣ c i ( ℓ ) ∣ ∣ r i ∣ ≤ N O ( k 2 ) . |\rho_{\ell}| \le\sum_{i=1}^{m} |c_{i}^{(\ell)}|\,|r_{i}| \le N^{O(k^{2})}. ∣ ρ ℓ ∣ ≤ i = 1 ∑ m ∣ c i ( ℓ ) ∣ ∣ r i ∣ ≤ N O ( k 2 ) .
The words [ r i , x j ] [r_i,x_j] [ r i , x j ] have length O ( ∣ r i ∣ + 1 ) O(|r_i|+1) O ( ∣ r i ∣ + 1 ) , and the words ρ ℓ \rho_{\ell} ρ ℓ have polynomial length. Since they all belong to H ′ H' H ′ , their T T T -module coordinate vectors can be computed in deterministic polynomial time by Proposition 7.1 . Their degrees, support sizes, and coefficient bit lengths are polynomially bounded in N N N , with degree depending only on k k k .
Finally, the presentation contains at most
( k 3 ) + m k + s ≤ ( k 3 ) + m k + m \binom{k}{3}+mk+s \le\binom{k}{3}+mk+m ( 3 k ) + mk + s ≤ ( 3 k ) + mk + m
relations. Hence it has polynomial size and can be constructed in deterministic polynomial time, with degree depending only on k k k . □
An explicit R R R -module presentation of C C C
Noskov’s reduction is the structural step underlying his decidability theorem [20 ] . To obtain a polynomial-time reduction, we must construct an explicit R R R -module presentation of the input-dependent module C C C .
By Proposition 7.5 , a finite R R R -module presentation
A = ⟨ a i j ( 1 ≤ i < j ≤ k ) ∣ R A ⟩ R A=\langle a_{ij}\ (1\le i<j\le k)\mid\mathcal{R}_{A}\rangle_{R} A = ⟨ a ij ( 1 ≤ i < j ≤ k ) ∣ R A ⟩ R
can be constructed in polynomial time from the defining relations of G G G . Recall that M = A / ( q − 1 ) A M=A/(q-1)A M = A / ( q − 1 ) A . Its presentation is obtained by adjoining the relations
( q − 1 ) a i j = 0 , 1 ≤ i < j ≤ k , (q-1)a_{ij}=0,\qquad1\le i<j\le k, ( q − 1 ) a ij = 0 , 1 ≤ i < j ≤ k ,
to R A \mathcal{R}_{A} R A . Denote the resulting set of relations by R M \mathcal{R}_{M} R M . For 1 ≤ j ≤ k 1\le j\le k 1 ≤ j ≤ k , put
c j = [ x , x j ] D ∈ M . c_j=[x,x_j]D\in M. c j = [ x , x j ] D ∈ M .
We represent each c j c_j c j by an R R R -module coordinate vector with respect to the generators a i j a_{ij} a ij . If q q q has finite order o o o , also put
c 0 = x o D ∈ M . c_0=x^oD\in M. c 0 = x o D ∈ M .
Lemma 7.6. Fix k ≥ 1 k\ge1 k ≥ 1 . Given a k k k -generated metabelian group G G G defined by (1.3) and an element x ∈ G x\in G x ∈ G represented by a word, the R R R -module C C C has the following presentation:
C = { ⟨ a i j ( i < j ) , e ∣ R M , ( q j − 1 ) e = c j ( 1 ≤ j ≤ k ) ⟩ R , if ∣ q ∣ = ∞ , ⟨ a i j ( i < j ) , e ∣ R M , ( q j − 1 ) e = c j ( 1 ≤ j ≤ k ) , o e = c 0 ⟩ R , if ∣ q ∣ = o < ∞ . C=\begin{cases}
\left\langle a_{ij}\ (i<j),e\mid\mathcal{R}_M,\ (q_j-1)e=c_j\ (1\le j\le k)\right\rangle_R, & \text{if } |q|=\infty,\\
\left\langle a_{ij}\ (i<j),e\mid\mathcal{R}_M,\ (q_j-1)e=c_j\ (1\le j\le k),\ oe=c_0\right\rangle_R, & \text{if } |q|=o<\infty.
\end{cases} C = { ⟨ a ij ( i < j ) , e ∣ R M , ( q j − 1 ) e = c j ( 1 ≤ j ≤ k ) ⟩ R , ⟨ a ij ( i < j ) , e ∣ R M , ( q j − 1 ) e = c j ( 1 ≤ j ≤ k ) , oe = c 0 ⟩ R , if ∣ q ∣ = ∞ , if ∣ q ∣ = o < ∞. Here e e e represents x D xD x D , and each a i j a_{ij} a ij represents its image in M M M .
This presentation can be constructed in deterministic polynomial time in N + ∣ x ∣ N+|x| N + ∣ x ∣ , where N = m + ∑ i = 1 m ∣ r i ∣ N=m+\sum_{i=1}^{m}|r_i| N = m + ∑ i = 1 m ∣ r i ∣ , with degree depending only on k k k .
Proof. Let C ~ \widetilde{C} C be the R R R -module defined by the displayed presentation. All its defining relations hold in C C C , so the assignments
a i j ↦ a i j D , e ↦ x D a_{ij}\mapsto a_{ij}D,\qquad e\mapsto xD a ij ↦ a ij D , e ↦ x D
induce a surjective R R R -module homomorphism
ψ : C ~ → C . \psi:\widetilde{C}\to C. ψ : C → C .
The natural map M → C ~ M\to\widetilde{C} M → C is injective, since its composition with ψ \psi ψ is the inclusion M ↪ C M\hookrightarrow C M ↪ C . Thus we identify M M M with its image in C ~ \widetilde{C} C .
Let ϵ : R → Z \epsilon:R\to\mathbb{Z} ϵ : R → Z be the augmentation map. Since ker ϵ \ker\epsilon ker ϵ is generated by q 1 − 1 , … , q k − 1 q_1-1,\ldots,q_k-1 q 1 − 1 , … , q k − 1 , the defining relations imply that
r e − ϵ ( r ) e ∈ M for every r ∈ R . re-\epsilon(r)e\in M\qquad\text{for every }r\in R. r e − ϵ ( r ) e ∈ M for every r ∈ R .
Consequently, every element of C ~ \widetilde{C} C can be written as
z e + m , z ∈ Z , m ∈ M . ze+m,\qquad z\in\mathbb{Z},\quad m\in M. z e + m , z ∈ Z , m ∈ M .
Suppose that z e + m ∈ ker ψ ze+m\in\ker\psi z e + m ∈ ker ψ . Taking images in Q = G / A Q=G/A Q = G / A , we obtain q z = 1 q^z=1 q z = 1 . If q q q has infinite order, then z = 0 z=0 z = 0 . If q q q has finite order o o o , then o ∣ z o\mid z o ∣ z , and the relation o e = c 0 oe=c_0 oe = c 0 reduces z e + m ze+m z e + m to an element of M M M . In either case, the injectivity of ψ \psi ψ on M M M implies that z e + m = 0 ze+m=0 z e + m = 0 . Hence ψ \psi ψ is an isomorphism.
We now establish the complexity bound. By Proposition 7.5 , an R R R -module presentation of A A A can be constructed in polynomial time. A presentation of M = A / ( q − 1 ) A M=A/(q-1)A M = A / ( q − 1 ) A is then obtained by adjoining the relations
( q − 1 ) a i j = 0 , i < j . (q-1)a_{ij}=0,\qquad i<j. ( q − 1 ) a ij = 0 , i < j .
Their coefficients have polynomial-size Laurent polynomial representatives. Recall that
Q ≅ Z k / im V . Q\cong\mathbb{Z}^k/\operatorname{im}V. Q ≅ Z k / im V .
where V V V is the matrix of exponent-sum vectors of the defining relations. Using Smith normal form, we can determine whether q q q has finite order and, if so, compute its order o o o in polynomial time. The entries of V V V have absolute value at most N N N , and every nonzero minor of V V V has absolute value at most k ! N k k!N^k k ! N k . The order of every torsion element of Q Q Q divides the largest nonzero invariant factor of V V V . This invariant factor is bounded by the greatest common divisor of the nonzero maximal minors of V V V , and hence by k ! N k k!N^k k ! N k . Consequently,
o ≤ k ! N k . o \le k!N^k. o ≤ k ! N k .
Thus, for fixed k k k , the order o o o is polynomially bounded in N N N .
By Proposition 7.1 , the coordinate vectors of
c j = [ x , x j ] D , 1 ≤ j ≤ k , c_j=[x,x_j]D,\qquad1\le j\le k, c j = [ x , x j ] D , 1 ≤ j ≤ k ,
can be computed in polynomial time.
If q q q has finite order o o o , then x o ∈ A x^o\in A x o ∈ A . Since o o o is polynomially bounded, the word x o x^o x o has polynomial length in the combined input size. Therefore Proposition 7.1} also computes the coordinate vector of x o x^o x o in polynomial time. Its image in M M M gives the required vector
Finally, the presentation of C C C is obtained from that of M M M by adding one generator and at most k + 1 k+1 k + 1 relations. The coefficients of these relations admit Laurent polynomial representatives of polynomial size. Hence the presentation can be constructed in deterministic polynomial time, with the degree of the polynomial depending only on k k k . □
Polynomial-time reduction to a module orbit membership problem
The next proposition is the main result of this section.
Proposition 7.7. Fix k ≥ 1 k\ge1 k ≥ 1 . There is a deterministic polynomial-time algorithm that, given a k k k -generated metabelian group G G G defined by (1.3) and two words x , y x,y x , y over its generators, either determines that x x x and y y y are not conjugate, or constructs
a finite R R R -module presentation of a module C C C with ( k 2 ) + 1 \binom{k}{2}+1 ( 2 k ) + 1 generators;
two elements e , f ∈ C e,f\in C e , f ∈ C , specified by R R R -module coordinate vectors,
such that
x ∼ G y ⟺ f = e ⋅ q for some q ∈ Q . x\sim_G y\qquad\Longleftrightarrow\qquad f=e\cdot q\quad\text{for some }q\in Q. x ∼ G y ⟺ f = e ⋅ q for some q ∈ Q .
Proof. Compute the images of x x x and y y y in Q Q Q . If they are different, then x x x and y y y are not conjugate. Otherwise, put
q = φ ( x ) = φ ( y ) , D = ( q − 1 ) G ′ , M = G ′ / D , q=\varphi(x)=\varphi(y),\qquad D=(q-1)G',\qquad M=G'/D, q = φ ( x ) = φ ( y ) , D = ( q − 1 ) G ′ , M = G ′ / D ,
and
C = ⟨ M , x D ⟩ ≤ G / D . C=\langle M,xD\rangle\le G/D. C = ⟨ M , x D ⟩ ≤ G / D .
By Lemma 7.3 (b), C C C is an R R R -module, and by Proposition 7.4 , conjugacy of x x x and y y y is equivalent to the orbit condition for x D xD x D and y D yD y D . By Lemma 7.6, a finite R R R -module presentation of C C C can be constructed in polynomial time, with a distinguished generator e e e representing x D xD x D . Since x − 1 y ∈ A x^{-1}y\in A x − 1 y ∈ A , Proposition 7.1 computes an R R R -module coordinate vector α \alpha α of x − 1 y x^{-1}y x − 1 y in polynomial time. Let α ˉ \bar{\alpha} α ˉ be its image in M M M . Then
f = e + α ˉ f=e+\bar{\alpha} f = e + α ˉ
represents y D yD y D by Lemma 7.3 (c).
Thus
x ∼ G y ⟺ f = e ⋅ s for some s ∈ Q . x\sim_G y\qquad\Longleftrightarrow\qquad f=e\cdot s\quad\text{for some }s\in Q. x ∼ G y ⟺ f = e ⋅ s for some s ∈ Q .
Since k k k is fixed, the number of module generators and the number of variables in R R R are bounded independently of the defining relations of G G G . All constructions take deterministic polynomial time in the combined input size, with degree depending only on k k k . □
Reduction of orbit membership to relation-lattice membership
In this section, we reduce the module orbit problem obtained in § 7 to subgroup membership in the unit group of a commutative affine Z \mathbb{Z} Z -algebra. By Corollary 1.3, this problem can be solved in bounded-error quantum polynomial time.
Recall that Q = G / G ′ Q=G/G' Q = G / G ′ is generated by the images of x 1 , … , x k x_1,\ldots,x_k x 1 , … , x k and that R = Z Q R=\mathbb{Z}Q R = Z Q . By (5) , the ring R R R admits a presentation as a quotient of
Z [ X 1 , Y 1 , … , X k , Y k ] . \mathbb{Z}[X_1,Y_1,\ldots,X_k,Y_k]. Z [ X 1 , Y 1 , … , X k , Y k ] .
Since k k k is fixed, the number 2 k 2k 2 k of polynomial variables is fixed, independently of the defining relations of G G G .
We first reduce the orbit-membership problem
f = e ⋅ q for some q ∈ Q , f=e\cdot q \qquad\text{for some }q\in Q, f = e ⋅ q for some q ∈ Q ,
where e , f e,f e , f belong to a finitely presented R R R -module C C C , to subgroup membership in the unit group of a suitable quotient ring.
Every element q ∈ Q q\in Q q ∈ Q is a unit in R = Z Q R=\mathbb{Z}Q R = Z Q , with inverse q − 1 q^{-1} q − 1 . Its image in any quotient ring S = R / I S=R/I S = R / I is therefore also a unit. Consequently, the natural map Q → S Q\to S Q → S takes values in S × S^\times S × and defines a group homomorphism
Q ⟶ S × , q ⟼ q + I . Q\longrightarrow S^\times,\qquad q\longmapsto q+I. Q ⟶ S × , q ⟼ q + I .
Proposition 8.1. Let C C C be a finitely presented R = Z Q R=\mathbb{Z}Q R = Z Q -module, and let e , f ∈ C e,f\in C e , f ∈ C .
(a) If e = 0 e=0 e = 0 , then
f ∈ e Q ⟺ f = 0. f\in eQ\qquad\Longleftrightarrow\qquad f=0. f ∈ e Q ⟺ f = 0. (b) Suppose that e ≠ 0 e\ne0 e = 0 . If f ∉ e R f\notin eR f ∈ / e R , then f ∉ e Q f\notin eQ f ∈ / e Q . Otherwise, choose h ∈ R h\in R h ∈ R such that f = e h f=eh f = e h , and put
I = Ann R ( e ) , S = R / I . I=\operatorname{Ann}_{R}(e),\qquad S=R/I. I = Ann R ( e ) , S = R / I . Then
f ∈ e Q ⟺ h + I ∈ im ( Q ⟶ S × ) . (13) f\in eQ\qquad\Longleftrightarrow\qquad h+I\in\operatorname{im}\left(Q\longrightarrow S^\times\right). \tag*{(13)} f ∈ e Q ⟺ h + I ∈ im ( Q ⟶ S × ) . (13)
Proof. Part (a) is immediate, since the orbit of 0 0 0 consists only of 0 0 0 . For part (b), observe that e Q ⊆ e R eQ\subseteq eR e Q ⊆ e R . Thus f ∉ e R f\notin eR f ∈ / e R implies f ∉ e Q f\notin eQ f ∈ / e Q . Suppose now that f = e h f=eh f = e h for some h ∈ R h\in R h ∈ R . For every q ∈ Q q\in Q q ∈ Q , we have
f = e q ⟺ e ( h − q ) = 0 ⟺ h + I = q + I . f=eq\qquad\Longleftrightarrow\qquad e(h-q)=0\qquad\Longleftrightarrow\qquad h+I=q+I. f = e q ⟺ e ( h − q ) = 0 ⟺ h + I = q + I .
This proves (13) . □
Corollary 8.2. Fix k ≥ 1 k\ge1 k ≥ 1 . There is a deterministic polynomial-time algorithm that, given
a k k k -generated abelian group Q Q Q defined by (4) ;
a finite R R R -module presentation of a module C C C , where R = Z Q R=\mathbb{Z}Q R = Z Q ;
two elements e , f ∈ C e,f\in C e , f ∈ C , specified by R R R -module coordinate vectors,
performs the following computations:
(a) decides whether f ∈ e R f\in eR f ∈ e R and, if so, computes h ∈ R h\in R h ∈ R such that f = e h f=eh f = e h ;
(b) computes generators of I = Ann R ( e ) I=\operatorname{Ann}_{R}(e) I = Ann R ( e ) ;
:::`
(c) constructs a quotient-ring presentation of S = R / I S = R/I S = R / I ;
(d) if h h h has been computed, decides whether h + I h + I h + I is a unit in S S S and, if so, computes its inverse.
Proof. The test f ∈ e R f \in eR f ∈ e R is the membership problem for the cyclic submodule e R eR e R in C C C , and is therefore decided by Corollary 2.3 (c). If f ∈ e R f \in eR f ∈ e R , then Corollary 2.3 (c) also computes h ∈ R h \in R h ∈ R such that
Generators g 1 , … , g ℓ g_1,\ldots,g_\ell g 1 , … , g ℓ of the ideal I = Ann R ( e ) I = \operatorname{Ann}_R(e) I = Ann R ( e ) are computed by Corollary 2.3 (d). Using (5) , compute polynomial representatives g ~ i \widetilde{g}_i g i of g i g_i g i in Z [ X 1 , Y 1 , … , X k , Y k ] \mathbb{Z}[X_1,Y_1,\ldots,X_k,Y_k] Z [ X 1 , Y 1 , … , X k , Y k ] . Then
S ≅ Z [ X 1 , Y 1 , … , X k , Y k ] ⟨ X i Y i − 1 ( 1 ≤ i ≤ k ) , mono ( r j ) − 1 ( 1 ≤ j ≤ m ) , g ~ 1 , … , g ~ ℓ ⟩ (14) S \cong\frac{\mathbb{Z}[X_1,Y_1,\ldots,X_k,Y_k]}{\langle X_iY_i - 1\ (1 \leq i \leq k),\ \operatorname{mono}(r_j) - 1\ (1 \leq j \leq m),\ \widetilde{g}_1,\ldots,\widetilde{g}_\ell\rangle} \tag*{(14)} S ≅ ⟨ X i Y i − 1 ( 1 ≤ i ≤ k ) , mono ( r j ) − 1 ( 1 ≤ j ≤ m ) , g 1 , … , g ℓ ⟩ Z [ X 1 , Y 1 , … , X k , Y k ] (14)
This presentation of S = R / I S = R/I S = R / I can be constructed in polynomial time. Finally, Corollary 2.4 decides whether h + I h + I h + I is a unit in S S S and, when it is, computes its inverse.
Proposition 8.3 (Reduction to affine membership). Fix k ≥ 1 k \geq1 k ≥ 1 . There is a deterministic polynomial-time algorithm that, given
a k k k -generated metabelian group G G G defined by (1.3), with Q = G / G ′ Q = G/G' Q = G / G ′ and R = Z Q R = \mathbb{Z}Q R = Z Q ;
a finite R R R -module presentation of C C C ;
two elements e , f ∈ C e, f \in C e , f ∈ C , specified by R R R -module coordinate vectors,
either decides whether f ∈ e Q f \in eQ f ∈ e Q , or constructs
a presentation (14) of a commutative affine Z \mathbb{Z} Z -algebra S S S ;
units h , u 1 , … , u k ∈ S × h, u_1,\ldots,u_k \in S^\times h , u 1 , … , u k ∈ S × , specified by polynomial representatives of themselves and their inverses,
such that
f ∈ e Q ⟺ h ∈ ⟨ u 1 , … , u k ⟩ . f \in eQ \quad\Longleftrightarrow\quad h \in\langle u_1,\ldots,u_k\rangle. f ∈ e Q ⟺ h ∈ ⟨ u 1 , … , u k ⟩ . All constructed presentations and polynomial representatives have polynomial size.
Proof. First decide whether e = 0 e = 0 e = 0 by testing membership in the zero submodule, using Corollary 2.3 (c). If e = 0 e = 0 e = 0 , then e Q = { 0 } eQ = \{0\} e Q = { 0 } , so membership of f f f in e Q eQ e Q is decided by testing whether f = 0 f = 0 f = 0 .
Suppose that e ≠ 0 e \ne0 e = 0 . By Corollary 8.2 , we can decide whether f ∈ e R f \in eR f ∈ e R . If f ∉ e R f \notin eR f ∈ / e R , then f ∉ e Q f \notin eQ f ∈ / e Q . Otherwise, compute h 0 ∈ R h_0 \in R h 0 ∈ R such that f = e h 0 f = eh_0 f = e h 0 , and compute generators of I = Ann R ( e ) I = \operatorname{Ann}_R(e) I = Ann R ( e ) . Construct the quotient ring S = R / I S = R/I S = R / I using (14) .
By Corollary 2.4 , we can decide whether h 0 + I h_0 + I h 0 + I is a unit in S S S and compute its inverse when it is. If h 0 + I h_0 + I h 0 + I is not a unit, then Proposition 8.1 implies f ∉ e Q f \notin eQ f ∈ / e Q . Suppose therefore that h = h 0 + I h = h_0 + I h = h 0 + I is a unit in S S S . Let u i = x i + I ∈ S × u_i = x_i + I \in S^\times u i = x i + I ∈ S × , where x 1 , … , x k x_1,\ldots,x_k x 1 , … , x k denote the standard generators of Q Q Q . In the polynomial presentation (14) of S S S , the elements u i u_i u i are represented by X i X_i X i . Since X i Y i = 1 X_iY_i = 1 X i Y i = 1 in S S S , their inverses are represented by Y i Y_i Y i .
By Proposition 8.1 ,
f ∈ e Q ⟺ h ∈ im ( Q → S × ) . f \in eQ \quad\Longleftrightarrow\quad h \in\operatorname{im}(Q \to S^\times). f ∈ e Q ⟺ h ∈ im ( Q → S × ) .
Since Q Q Q is generated by x 1 , … , x k x_1,\ldots,x_k x 1 , … , x k , its image in S × S^\times S × is precisely ⟨ u 1 , … , u k ⟩ \langle u_1,\ldots,u_k\rangle ⟨ u 1 , … , u k ⟩ . Therefore
f = e ⋅ q for some q ∈ Q ⟺ h ∈ ⟨ u 1 , … , u k ⟩ . f = e \cdot q\ \text{ for some } q \in Q \quad\Longleftrightarrow\quad h \in\langle u_1,\ldots,u_k\rangle. f = e ⋅ q for some q ∈ Q ⟺ h ∈ ⟨ u 1 , … , u k ⟩ .
All preliminary tests and constructions take deterministic polynomial time in the combined input size, with degree depending only on k k k , by Corollaries 2.3, 8.2, and 2.4. The resulting presentations and polynomial representatives have polynomial size. □ \square □
Proof of Theorem 1.4
Fix k ≥ 1 k \ge1 k ≥ 1 . Consider a k k k -generated metabelian group given by (1.3) and words x , y x,y x , y over its generators. Put
A = G ′ , Q = G / A , R = Z Q , A = G', \qquad Q = G/A, \qquad R = \mathbb{Z}Q, A = G ′ , Q = G / A , R = Z Q ,
and
N = m + ∑ i = 1 m ∣ r i ∣ , L = N + ∣ x ∣ + ∣ y ∣ . N = m + \sum_{i=1}^{m} |r_i|, \qquad L = N + |x| + |y|. N = m + i = 1 ∑ m ∣ r i ∣ , L = N + ∣ x ∣ + ∣ y ∣.
By Proposition 7.5, an R R R -module presentation of A A A can be constructed in deterministic polynomial time in L L L , with degree depending only on k k k . By Proposition 7.7 and Lemma 7.6, we can either determine in deterministic polynomial time that x x x and y y y are not conjugate, or construct a finitely presented R R R -module C C C and elements e , f ∈ C e,f \in C e , f ∈ C , specified by R R R -module coordinate vectors, such that
x ∼ G y ⟺ f = e ⋅ q for some q ∈ Q . x \sim_G y \quad\Longleftrightarrow\quad f = e \cdot q \quad\text{for some } q \in Q. x ∼ G y ⟺ f = e ⋅ q for some q ∈ Q .
The presentation of C C C and the coordinate vectors of e , f e,f e , f have polynomial size and can be constructed in deterministic polynomial time in L L L .
By Proposition 8.3 and Corollary 8.2, we can either decide whether f ∈ e Q f \in eQ f ∈ e Q in deterministic polynomial time, or construct a commutative affine Z \mathbb{Z} Z -algebra S S S and units h , u 1 , … , u k ∈ S × h,u_1,\ldots,u_k \in S^\times h , u 1 , … , u k ∈ S × such that
f ∈ e Q ⟺ h ∈ ⟨ u 1 , … , u k ⟩ . f \in eQ \quad\Longleftrightarrow\quad h \in\langle u_1,\ldots,u_k\rangle. f ∈ e Q ⟺ h ∈ ⟨ u 1 , … , u k ⟩ .
The algebra S S S is presented as a quotient of a polynomial ring in 2 k 2k 2 k variables, and the units and their inverses are specified by polynomial representatives. All these data have polynomial size and can be constructed in deterministic polynomial time in L L L .
Since k k k is fixed, both the number 2 k 2k 2 k of polynomial variables and the number k k k of subgroup generators are fixed, independently of the defining relations of G G G . Therefore, Corollary 1.3 decides whether
h ∈ ⟨ u 1 , … , u k ⟩ h \in\langle u_1,\ldots,u_k\rangle h ∈ ⟨ u 1 , … , u k ⟩
in bounded-error quantum polynomial time in L L L .
Combining the deterministic polynomial-time reductions with this quantum membership algorithm gives a bounded-error quantum polynomial-time algorithm for deciding whether x x x and y y y are conjugate in G G G , with the degree of the polynomial depending only on k k k . □ \square □
Department of Mathematical Sciences, Stevens Institute of Technology, Hoboken NJ 07030
Email address: amiasnik,aushakov@stevens.edu