Keywords

Classification

1 Introduction

Commuting elements in non-commutative algebra are important for representation theory, classifications, interplay with harmonic analysis and spectral theory, topology and algebraic geometry, operator algebras and applications in Physics and Engineering. For example, commutants or centralisers, maximal commutative subalgebras of crossed product \(C^*\)-algebras and von Neumann algebras play a central role in investigation of representations, classifications and in structure of state space [16]. In particular, maximal commutative subalgebras are essential objects for the famous Kadison-Singer conjecture stated in a pioneering 1959—paper by Kadison and Singer [7], equivalent to the paving conjecture [8, 9] and several conjectures important for wavelets and frames analysis and applications in signal and image processing, one of them the well-known Feichtinger conjecture [10] in frame theory. For the key role of maximal commutative subalgebras for establishing interplay between Kadison-Singer conjecture, properties of projections, topological dynamical systems and compactifications of topological spaces see for example [11]. Commutants and maximal commutative subalgebras in generalized crossed product algebras arising from non-invertible dynamics and actions are used in the important ways in the general operator and spectral theory approach to wavelets analysis and investigation of wavelets on fractals [1216]. The description of commuting elements and of corresponding commuting operators in the representing operator algebra, or in other words the problem of explicit description of commutative subalgebras is important in description and classifications of operator representations and applications of non-commutative algebras [1727]. The commuting operators and commuting elements in rings and algebras also are important in study of integrable systems and non-linear equations. Further discussions in connection to this topic and numerous references can be found for instance in the book [28] devoted to commuting elements in the algebra defined by the \(q\)-deformed Heisenberg relations (see also [29, 30]).

The centers and commutants of elements or subsets in non-commutative algebras are fundamentally important subsets of an algebra or a ring in this context (see for example [3139] and references therein). The center consists of elements commuting with all elements in the algebra, is the intersection of the commutants of all elements in the algebra and so is always a commutative subalgebra. The commutants of elements or subsets of elements in an associative algebra are subalgebras which contain the center of the whole algebra as its subalgebra, but may be commutative or may be not depending on the structure of the algebra and the subset for which the commutant is considered.

In this article we consider the centers and commutants for an interesting multiparameter family of associative algebras generated by four generators and six sub-quadratic relations involving six deformation parameters. The five of these relations are the famous quantum plane relations playing important role in quantum groups, \(q\)-calculus and quantum mechanics, operator algebras and non-commutative geometry (rotation algebras, non-commutative tori, etc.). The sixth relation is interconnecting the four generators by a special \(q\)-deformed quadratic relation expressing the sum of two generators as \(q\)-commutator of the other two of the generators:

$$\begin{aligned} \left\{ \begin{array}{ll} { AB} - q_0{ BA} = S + T &{} (a) \\ { AT} - q_1{ TA} = 0 &{} (b) \\ { BS} - q_2{ SB} = 0 &{} (c) \\ { AS} - q_3{ SA} = 0 &{} (d) \\ { BT} - q_4{ TB} = 0 &{} (e) \\ { ST} - q_5{ TS} = 0 &{} (f) \\ \end{array} \right. \end{aligned}$$
(1)

where \(\mathbf {q}=(q_0, q_1, q_2, q_3, q_4, q_5) \in \mathbb {C} ^6\).

All of (1b)–(1f) are of the type \(\textit{XY}\,-\,q\textit{YX} = 0\), which is the so called quantum plane relation studied in non-commutative geometry. Equation (1a) resembles the Sylvester equation \(AX\) \(-\) \(XB = C\) and the Lyapunov equation \(AX + XA^* = -Q\), both of which are encountered in control theory. Specializing \(S = \lambda I\) and \(T = (1-\lambda ) I\) (where \(I\) denotes the multiplicative identity) and \(q_1,\,\ldots ,\,q_5 = 1\), the relations (b)–(f) become trivial and (a) becomes \(\textit{AB}-q_0\textit{BA} = I\). This is a generalization of the Heisenberg canonical commutation (\(q_0 = 1\)) and anti-commutation (\(q_0 = -1\)) relations, which are used in quantum mechanics to describe systems with one degree of freedom. More on the algebras defined by \(q\)-deformed Heisenberg relations (called also \(q\)-Weil relations) and commuting elements in such algebras can be found in the monograph [28] and references there.

It is a well known interesting issue whether it is possible to realize a given family of commutation relations in one or another way using matrices or differential operators or other types of linear operators, or any objects for which (1) makes sense, for example elements of some associative algebra. When the realization by the operators of a specific type is possible, further description and classifications of the representations of the relations by the operators of such type arise and often becomes a problem of great interest. It often requires insights both in the algebraic structure of the commutation relations and in the properties of the involved classes of operators. In algebraic contexts it often leads to interesting combinatorial identities and problems, while in the context of \(*\)-representations (involutive representations) and operator algebras it involves also spectral theory of possibly unbounded operators in the finite-dimensional or infinite-dimensional spaces.

The relations (1) provide an interesting example in this respect. For a first taste of what can happen in (1a)–(1c) when \(A, B, S, T\) are complex \((n \times n)\)-matrices, consider the case when \(A\) and \(B\) are hermitian and \(q_0\) lies on the unit circle. Note that \(\Vert X \Vert _F^2 = {{\mathrm{tr}}}(X^* X)\) defines a norm \(\Vert X \Vert _F\) on \(\mathbb {C} ^{n \times n}\) (this is the so called Frobenius norm). Since \(A, B\) are hermitian and \(q_0q_0^* = 1\), \((AB - q_0BA)^* = -q_0^*(AB - q_0BA)\), and thus

$$\begin{aligned} \Vert AB - q_0BA \Vert _F^2&= -q_0^*{{\mathrm{tr}}}((AB - q_0BA)^2) = -q_0^*{{\mathrm{tr}}}((AB - q_0BA)(S + T)) \\&= -q_0^*\left( {{\mathrm{tr}}}(ABS) + {{\mathrm{tr}}}(ABT) - q_0{{\mathrm{tr}}}(BAS) - q_0{{\mathrm{tr}}}(BAT)\right) . \end{aligned}$$

Using (1b,c) and the fact that \({{\mathrm{tr}}}(XYZ) = {{\mathrm{tr}}}(ZXY)\) for all \((n \times n)\)-matrices \(X, Y, Z\), this implies that

$$ \Vert AB - q_0BA \Vert _F^2 = -q_0^*((q_2 - q_0){{\mathrm{tr}}}(ASB) + (1 - q_0q_1){{\mathrm{tr}}}(BTA)). $$

Thus, if \(q_2 = q_0\) and \(q_0q_1 = 1\), \(A, B\) must satisfy \(AB - q_0BA = 0\), and \(S, T\) must satisfy \(S = -T\). In particular, if \(q_0 = q_1 = q_2 = 1\), \(A\) and \(B\) must commute. It is not difficult to see that for many other conditions on the parameters this argument breaks down. This could be interpreted as an indication that the algebraic structures defined by these relations and their representations might have rich dependence on the interplay between the values of the six deformation parameters.

In this article, we provide further indication of richness of the structure of this family of algebras depending on the values of the deformation parameters, by considering some important properties of the algebra with generators and relations (1), especially focussing on centers and commutants. As these algebras are defined as the quotient algebra \(\fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \) of a free algebra on six generators by the ideal associated to the commutation relations (1), in order to be able to compute in this algebra it is particularly important to be able to decide the equality of the elements in the algebra, since using the relations (1), the same element can be expressed in many ways, and it is not obvious whether or not two given expressions are equal. To handle this, one needs a normal form for elements in \(\fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \), which for the relations of the type (1) amounts to finding a basis for \(\fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \) for various choices of parameters. In Sect. 2, we indicate that relations are more subtle than it may seem on the first sight as there are more relations than generators, and for many values of parameters these relations imply some further much more special relations between generators bringing significant restrictions on the size or the structure of the bases and thus on various further properties and computations in the algebra. Finding in a systematic way bases for the algebras for various choices of parameters becomes an elaborate task requiring non-trivial use of the Bergman’s diamond lemma and relations (1) as well as some symmetries of the relations and their consequences for case reductions of various subtle parameter subsets. It appears in the course of this analysis, that the basis takes a somewhat simpler form for a large subset of parameters given by a system of certain inequalities. This set of “generic” parameters, as we call it, and the bases yield useful grading structures, used in Sect. 3 to describe the commutants of the main generators \(A\) and \(B\) by describing the spanning sets. In Sect. 4, the results from the preceding sections combined with further computations are used to describe explicitly the center by providing its basis depending on the deformation parameters. While the center of an algebra is always a commutative subalgebra, as an intersection of commutants of all elements of the algebra, the commutants of elements or non-trivial subsets of a non-commutative algebra are subalgebras which are not necessarily themselves commutative. For some classes of algebras it is possible to prove that commutants of the elements are commutative. Investigating whether this is a case and finding examples and counterexamples for such commutativity property for a particular family of algebras defined by generators and specific relations is an important problem which is often highly non-trivial, especially so when the defining relations are dependent on parameters. In Sect. 5, we provide necessary and sufficient conditions on \(\mathbf {q}\) within the set of “generic” parameters, for \(\fancyscript{C}(A)\) and \(\fancyscript{C}(B)\) to be commutative, thus also providing necessary and sufficient conditions on “generic” parameters for when these commutants are not-commutative. The results of these paper suggest that the description and further in-depth analysis of the structure of the commutants of these and other elements and subsets for the family of algebras considered in this paper both for “generic” as well as for non-generic parameters is an interesting and rich open problem.

2 First Steps: Reordering and Basis

Let \(\fancyscript{F}\) be the free unital associative algebra over \(\mathbb {C}\) generated by the set \(\{ A, B, S, T\}\). For \(\mathbf {q} = (q_0, q_1, q_2, q_3, q_4, q_5) \in \mathbb {C} ^6\) let \(\fancyscript{J}(\mathbf {q}) \) be the ideal generated by the set

$$\begin{aligned} G(\mathbf {q}) = \{&AB - q_0BA - S - T, \, AT - q_1TA, \, BS - q_2SB, \,\nonumber \\&AS - q_3SA, \, BT - q_4TB, \, ST - q_5TS \}, \end{aligned}$$
(2)

or equivalently the ideal in \(\fancyscript{F}\) generated by the relations

$$\begin{aligned} \begin{array}{l} AB - q_0BA \equiv S + T \\ AT - q_1TA \equiv 0 \\ BS - q_2SB \equiv 0 \\ AS - q_3SA \equiv 0 \\ BT - q_4TB \equiv 0 \\ ST - q_5TS \equiv 0, \\ \end{array} \end{aligned}$$
(3)

where \(\equiv \) denotes equivalence modulo \(\fancyscript{J}(\mathbf {q}) \).

From (3) it is not too hard to derive the additional relations

$$\begin{aligned}&(1 - q_2q_3)S^2 \equiv (q_2q_3q_5 - 1)TS \end{aligned}$$
(4)
$$\begin{aligned}&(1 - q_1q_4)T^2 \equiv (q_1q_4 - q_5)TS . \end{aligned}$$
(5)

The implications of these relations depend on which of the involved scalar expressions are zero and which are non-zero. There are also a few more expressions in the parameters that change the situation if they are zero. Only the generic case will be considered here.

Definition 2.1

A parameter vector \(\mathbf {q} = (q_0, q_1, q_2, q_3, q_4, q_5) \in \mathbb {C} ^6\) is generic if

$$\begin{aligned} \left\{ \begin{array}{l} q_0, q_1, q_2, q_3, q_4, q_5 \ne 0, \\ 1 - q_5, 1 - q_1q_4, 1 - q_2q_3, q_1 - q_3, q_2 - q_4 \ne 0 \text {, and} \\ q_1q_4 - q_5 \ne 0 \text { or } q_2q_3q_5 - 1 \ne 0. \\ \end{array} \right. \end{aligned}$$

For generic \(\mathbf {q}\) it follows from (3), (4) and (5) that

$$\begin{aligned} XY \equiv 0 \text { for all } X \in \{ S^2, \, ST, \, TS, \, T^2 \}, Y \in \{ A, \, B, \, S, \, T \}. \end{aligned}$$
(6)

Since (3) can be used to put the symbols in the monomials in the order \(T, S, B, A\), this means that any monomial that has two symbols from \(\{ S, T \}\) and additionally one symbol from \(\{ A, B, S, T \}\) is \(\equiv 0\). Thus it seems plausible that the set

$$ \fancyscript{B} = \{ B^bA^a, \, SB^bA^a, \, TB^bA^a, \, TS ; \, a, b \in \mathbb {N} \} $$

is a basis for \(\fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \). This can be shown using the Diamond Lemma for ring theory [40].

Sums of the form \(\sum _{i = 0}^{n - 1} q^i\) will often appear in what follows, so it is convenient to have a more compact notation for them.

Definition 2.2

For \(q \in \mathbb {C} \) and \(n \in \mathbb {N}\), let

$$ \left\{ n \right\} _{q} = \sum _{i = 0}^{n - 1} q^{i}. $$

\(\left\{ n \right\} _{q}\) is called the n:th q-natural number.

To express the product of two general elements in the basis \(\fancyscript{B}\), it is necessary to be able to rewrite monomials of the form \(A^mB^n\) so that the \(B\):s are moved to the left of the \(A\):s.

Lemma 2.1

Let \(\mathbf {q} = (q_0,\,\ldots ,\,q_5) \in \mathbb {C} ^6\) be generic. Then the following formula holds in \(\fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \) for \(m, n \ge 1, (m, n) \ne (2, 2)\).

$$\begin{aligned} A^mB^n&\equiv q_0^{mn}B^nA^m \nonumber \\&\quad + q_0^{(m - 1)n} \left\{ m \right\} _{\frac{q_3}{q_0}} \left\{ n \right\} _{q_0q_2} SB^{n - 1}A^{m - 1}\nonumber \\&\quad + q_0^{(m - 1)n} \left\{ m \right\} _{\frac{q_1}{q_0}} \left\{ n \right\} _{q_0q_4} TB^{n - 1}A^{m - 1}. \end{aligned}$$
(7)

The formula can be proved for most \((m, n)\) by induction first on \(m\) and then on \(n\), or by induction first on \(n\) and then on \(m\). The exceptional point \((m, n) = (2, 2)\) makes it necessary to use both orders of induction to cover all \((m, n) \ne (2, 2)\). We omit the elaborate details of the proof.

Equation (7) does not hold for \((m, n) = (2, 2)\). The reordering formula for \((m, n) = (2, 2)\) is instead

$$\begin{aligned} A^2B^2&\equiv q_0^4B^2A^2 + q_0(q_0 + q_3)(1 + q_0q_2)SBA + q_0(q_0 + q_1)(1 + q_0q_4)TBA \nonumber \\&\quad + (1 - q_5) \frac{q_1 - q_3 + q_0q_1q_4 - q_0q_2q_3 + q_1q_3q_4 - q_1q_2q_3}{(1 - q_1q_4)(1 - q_2q_3)}TS. \end{aligned}$$
(8)

This formula agrees with (7) except for the extra \(TS\)-term on the right side.

Let \(\fancyscript{M}\) be the set of monomials in \(\fancyscript{F}\) and define for \(Y \in \fancyscript{M} \)

$$\begin{aligned} \deg _{A, S, T}(Y)&= \#A:s + \#S:s + \#T:s \text { that occur in } Y\\ \deg _{B, S, T}(Y)&= \#B:s + \#S:s + \#T:s \text { that occur in } Y. \end{aligned}$$

Then \(\fancyscript{F}\) has an \(\mathbb {N}^2\)-gradation \(\{ A_{(m, n)} \}_{(m, n) \in \mathbb {N}^2}\) given by

$$ A_{(m, n)} = {{\mathrm{Span}}}\{ Y \in \fancyscript{M}; \, \deg _{A, S, T}(Y) = m, \, \deg _{B, S, T}(Y) = n \}. $$

All elements in the generating set of \(\fancyscript{J}(\mathbf {q}) \) are homogeneous in this gradation and thus the induced gradation of \(\fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \) is well defined. If \(m, n \ge 1\) and \((m, n) \ne (2, 2)\) then a basis for the homogeneous component of degree \((m, n)\) is given by

$$ \{ B^nA^m, \, SB^{n - 1}A^{m - 1}, \, TB^{n - 1}A^{m - 1} \}. $$

3 Commutants of \(A\) and \(B\)

The commutant of an element \(X \in \fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \) is the set of all elements that commute with \(X\). It will be denoted by \(\fancyscript{C}(X)\). In this section, spanning sets for \(\fancyscript{C}(A)\) and \(\fancyscript{C}(B)\) are described for generic \(\mathbf {q}\).

In general, a commutant of a homogeneous element is spanned by the homogeneous elements of the commutant. This means that it is enough to find all homogeneous elements that commute with \(A\) or \(B\). Let \(X_{m, n}\) denote a general homogeneous element of degree \((m, n)\). For \(m, n \ge 1\), \((m, n) \ne (2, 2)\), such an element can be uniquely written as

$$\begin{aligned} X_{m, n} \equiv c_1B^nA^m + c_2SB^{n - 1}A^{m - 1} + c_3TB^{n - 1}A^{m - 1}, \end{aligned}$$
(9)

with \(c_1, c_2, c_3 \in \mathbb {C} \). Since \(TS\) commutes with every \(Y \in \{ A, \, B, \, S, \, T \}\) (in fact \(YTS \equiv TSY \equiv 0\) by (6)), it is general enough to consider \(X_{m, n}\) of the form (9) when \((m, n) = (2, 2)\) as well. When \(m = 0\) or \(n = 0\), the homogeneous elements of degree \((m, n)\) are of the form \(X_{0, n} = c_1B^n\) and \(X_{m, 0} = c_1A^m\) respectively.

Using the defining relations (3) and the reordering formula (7), the commutators of \(X_{m, n}\) with \(A\) and \(B\) can be computed. For \(m, n \ge 1, (m, n) \ne (1, 2)\), the commutator of \(X_{m, n}\) with \(A\) is

$$\begin{aligned}{}[X_{m, n}, A]&\equiv c_1(1 - q_0^n)B^nA^{m + 1} \\&\quad +\left( -c_1\left\{ n \right\} _{q_0q_2} + c_2(1 - q_0^{n - 1}q_3) \right) SB^{n - 1}A^m \\&\quad +\left( -c_1\left\{ n \right\} _{q_0q_4} + c_3(1 - q_0^{n - 1}q_1) \right) TB^{n - 1}A^m. \end{aligned}$$

If \((m, n) = (1, 2)\) then there is an additional term

$$ \frac{(1 - q_5)}{(1 - q_2q_3)(1 - q_1q_4)}(c_2q_3(1 - q_1q_4) - c_3q_1(1 - q_2q_3))TS $$

on the right side. For \(m = 0\), the commutator is

$$ [X_{0, n}, A] \equiv c_1(1 - q_0^n)B^nA - c_1\left\{ n \right\} _{q_0q_2} SB^{n - 1} - c_1\left\{ n \right\} _{q_0q_4} TB^{n - 1} $$

and \([X_{m, 0}, A] \equiv 0\) for all \(m\).

For \(m, n \ge 1, (m, n) \ne (2, 1)\), the commutator of \(X_{m, n}\) with \(B\) is

$$\begin{aligned}{}[X_{m, n}, B]&\equiv c_1(q_0^m - 1)B^{n + 1}A^m \\&\quad + \left( c_1q_0^{m - 1}q_2^n\left\{ m \right\} _{q_3 / q_0} + c_2(q_0^{m - 1} - q_2) \right) SB^nA^{m - 1} \\&\quad +\left( c_1q_0^{m - 1}q_4^n\left\{ m \right\} _{q_1 / q_0} + c_3(q_0^{m - 1} - q_4) \right) TB^nA^{m - 1}. \end{aligned}$$

If \((m, n) = (2, 1)\) then there is an additional term

$$ -\frac{(1 - q_5)}{(1 - q_2q_3)(1 - q_1q_4)}(c_2(1 - q_1q_4) - c_3(1 - q_2q_3))TS $$

on the right side. For \(n = 0\), the commutator is

$$ [X_{m, 0}, B] \equiv c_1(q_0^m - 1)BA^m + c_1q_0^{m - 1}\left\{ m \right\} _{\frac{q_3}{q_0}} S A^{m - 1} + c_1q_0^{m - 1}\left\{ m \right\} _{\frac{q_1}{q_0}} TA^{m - 1}. $$

and \([X_{0, n}, B] \equiv 0\) for all \(n\).

The computations are summarised in the following lemma.

Lemma 3.1

Let \(\mathbf {q} = (q_0,\,\ldots ,\,q_5) \in \mathbb {C} ^6\) be generic.

\(\fancyscript{C}(A)\) is the linear subspace of \(\fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \) spanned by the elements listed in the following table.

Element (\(m, n\) range over \(\mathbf {N}^+\))

Conditions

\(I\)

\(TS\)

\(A^m\)

\(B^n\)

\(1 - q_0^n = \left\{ n \right\} _{q_0q_2} = \left\{ n \right\} _{q_0q_4} = 0\)

\(c_1B^nA^m + (c_2 S + c_3 T)B^{n - 1}A^{m - 1}\)

\(K_{(m, n)} \begin{bmatrix} c_1&c_2&c_3 \\ \end{bmatrix}^T = 0\)

Here,

$$ K_{(m, n)} = \begin{bmatrix} 1 - q_0^n&\quad 0&\quad 0 \\ -\left\{ n \right\} _{q_0q_2}&\quad 1 - q_0^{n - 1}q_3&\quad 0 \\ -\left\{ n \right\} _{q_0q_4}&\quad 0&\quad 1 - q_0^{n - 1}q_1 \\ \end{bmatrix} $$

for \((m, n) \ne (1, 2)\) and

$$ K_{(1, 2)} = \begin{bmatrix} 1 - q_0^2&\quad 0&\quad 0 \\ -(1 + q_0q_2)&\quad 1 - q_0q_3&\quad 0 \\ -(1 + q_0q_4)&\quad 0&\quad 1 - q_0q_1 \\ 0&\quad q_3(1 - q_1q_4)&\quad -q_1(1 - q_2q_3)\\ \end{bmatrix} . $$

\(\fancyscript{C}(B)\) is the linear subspace of \(\fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \) spanned by the elements listed in the following table.

Element (\(m, n\) range over \(\mathbf {N}^+\))

Conditions

\(I\)

\(TS\)

\(A^m\)

\(q_0^m - 1 = \left\{ m \right\} _{q_1 / q_0} = \left\{ m \right\} _{q_3 / q_0} = 0\)

\(B^n\)

\(c_1 B^nA^m + (c_2 S + c_3 T) B^{n - 1}A^{m - 1}\)

\(L_{(m, n)} \begin{bmatrix} c_1&c_2&c_3 \\ \end{bmatrix}^T = 0\)

Here,

$$ L_{(m, n)} = \begin{bmatrix} q_0^m - 1&0&0 \\ q_0^{m - 1}q_2^n\left\{ m \right\} _{q_3 / q_0}&\quad q_0^{m - 1} - q_2&\quad 0 \\ q_0^{m - 1}q_4^n\left\{ m \right\} _{q_1 / q_0}&\quad 0&\quad q_0^{m - 1} - q_4 \\ \end{bmatrix} $$

for \((m, n) \ne (2, 1)\) and

$$ L_{(2, 1)} = \begin{bmatrix} q_0^2 - 1&\quad 0&\quad 0 \\ q_2(q_0 + q_3)&\quad q_0 - q_2&\quad 0 \\ q_4(q_0 + q_1)&\quad 0&\quad q_0 - q_4 \\ 0&\quad 1 - q_1q_4&\quad -(1 - q_2q_3) \\ \end{bmatrix}. $$

4 The Center of \(\fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \)

The center of \(\fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \) is the set of elements that commute with every element of \(\fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \). It will be denoted by \(\fancyscript{Z}\). In this section, \(\fancyscript{Z}\) is described for generic \(\mathbf {q}\).

Lemma 4.1

Let \(\mathbf {q} = (q_0,\,\ldots ,\,q_5) \in \mathbb {C} ^6\) be generic. Then \(\fancyscript{Z} = \fancyscript{C}(A) \cap \fancyscript{C}(B)\).

Proof

Let \(X\) be a general homogeneous element that commutes with both \(A\) and \(B\). Then \(X\) commutes with \(S + T\) by (3a). It will be shown that \(X\) commutes with \(S\) and \(T\) as well. There are four cases depending on the degree of \(X\).

If \(X\) has degree \((0, n)\), then \(X \equiv c_1B^n\) for some \(c_1 \in \mathbb {C} \). Then

$$\begin{aligned}&[X, S + T] \equiv 0 \implies c_1(q_2^n - 1)SB^n + c_1(q_4^n - 1)TB^n \equiv 0 \implies \\&c_1(q_2^n - 1) = c_1(q_4^n - 1) = 0 \implies [X, S] \equiv [X, T] \equiv 0. \end{aligned}$$

If \(X\) has degree \((m, 0)\), then \(X \equiv c_1A^m\) for some \(c_1 \in \mathbb {C} \). Then

$$\begin{aligned}&[X, S + T] \equiv 0 \implies c_1(q_3^m - 1)SA^m + c_1(q_1^m - 1)TA^m \equiv 0 \implies \\&c_1(q_3^m - 1) = c_1(q_1^m - 1) = 0 \implies [X, S] \equiv [X, T] \equiv 0. \end{aligned}$$

If \(X\) has degree \((1, 1)\), then \(X \equiv c_1BA + c_2S + c_3T\) for some \(c_1, c_2, c_3 \in \mathbb {C} \). Then

$$ [X, S + T] \equiv c_1(q_2q_3 - 1)SBA + c_1(q_1q_4 - 1)TBA + (c_3 - c_2)(1 - q_5)TS. $$

The right side can be zero only if \(c_1 = c_3 - c_2 = 0\) since \(\mathbf {q}\) is generic. But then \(X \equiv c_3 (S + T)\), so

$$ [X, BA] \equiv c_3(1 - q_2q_3)SBA + c_3(1 - q_1q_4)TBA. $$

Since \(X\) is assumed to commute with \(A\) and \(B\), the right side must be zero, which implies that \(c_3 = 0\) since \(\mathbf {q}\) is generic. Thus \(X \equiv 0\), and so \(X\) commutes with \(S\) and \(T\).

Finally, if \(X\) has degree \((m, n)\) with \(m, n \ne 0\) and \((m, n) \ne (1, 1)\) then

$$ X \equiv c_1B^nA^m + c_2SB^{n - 1}A^{m - 1} + c_3TB^{n - 1}A^{m - 1} + c_4TS, $$

for some \(c_1, c_2, c_3, c_4 \in \mathbb {C} \) (with \(c_4 = 0\) unless \((m, n) = (2, 2)\)). Then

$$\begin{aligned}&[X, S + T] \equiv 0 \implies c_1(q_2^nq_3^m - 1)SB^nA^m + c_1(q_1^mq_4^n - 1)TB^nA^m \equiv 0 \implies \\&c_1(q_2^nq_3^m - 1) = c_1(q_1^mq_4^n - 1) = 0 \implies [X, S] \equiv [X, T] \equiv 0. \end{aligned}$$

Theorem 4.1

Let \(\mathbf {q} = (q_0,\,\ldots ,\,q_5) \in \mathbb {C} ^6\) be generic and suppose that \(q_0\) is not a root of unity. Then a basis for \(\fancyscript{Z}\) is given by the elements listed in the following table.

Element (\(m, n\) range over \(\mathbb {N}^+\))

Conditions

\(I\)

\(TS\)

\(SB^{n - 1} A^{m - 1}\)

\(1 - q_0^{n - 1}q_3 = q_0^{m - 1} - q_2 = 0\)

\(TB^{n - 1}A^{m - 1}\)

\(1 - q_0^{n - 1}q_1 = q_0^{m - 1} - q_4 = 0\)

Moreover, this basis contains at most one element of the form \(SB^{n - 1} A^{m - 1}\) and at most one element of the form \(TB^{n - 1} A^{m - 1}\). Thus, \(\fancyscript{Z}\) has dimension at most four.

Proof

By Lemma 4.1, it is enough to show that the listed elements form a basis for \(\fancyscript{C}(A) \cap \fancyscript{C}(B)\). Spanning sets for \(\fancyscript{C}(A)\) and \(\fancyscript{C}(B)\) are given by Lemma 3.1; denote them by \(\fancyscript{B}(A)\) and \(\fancyscript{B}(B)\) respectively. Then \(\fancyscript{C}(A) \cap \fancyscript{C}(B)\) is the linear space spanned by \(\fancyscript{B}(A) \cap \fancyscript{B}(A)\). Now, \(I, TS \in \fancyscript{B}(A) \cap \fancyscript{B}(B)\) always. For \(m, n \ge 1\), \(A^m \notin \fancyscript{B}(B)\) and \(B^n \notin \fancyscript{B}(A)\) since \(q_0\) is not a root of unity, and thus \(A^m, B^n \notin \fancyscript{B}(A) \cap \fancyscript{B}(B)\). An element in \(\fancyscript{B}(A) \cap \fancyscript{B}(B)\) of the form \(c_1B^nA^m + c_2SB^{n - 1}A^{m - 1} + c_3TB^{n - 1}A^{m - 1}\) with \(m, n \ge 1\) must have \(c_1 = 0\) since \(q_0\) is not a root of unity. The coefficient \(c_2\) may be non-zero if and only if \(1 - q_0^{n - 1}q_3 = q_0^{m - 1} - q_2 = 0\). Since \(q_0\) is not a root of unity, this can happen for at most one value of \((m, n)\). Similarly, \(c_3\) may be non-zero if and only if \(1 - q_0^{n - 1}q_1 = q_0^{m - 1} - q_4 = 0\), and this can happen for at most one value of \((m, n)\). Thus the listed elements span \(\fancyscript{C}(A) \cap \fancyscript{C}(B)\), and since they are linearly independent they form a basis.

Theorem 4.2

Let \(\mathbf {q} = (q_0,\,\ldots ,\,q_5) \in \mathbb {C} ^6\) be generic and suppose that \(q_0\) is a root of unity. Let \(d\) be the smallest positive integer such that \(q_0^d = 1\). Then a basis for \(\fancyscript{Z}\) is given by the elements listed in the following table.

Element (\(m, n\) range over \(\mathbb {N}^+\))

Conditions

\(I\)

\(TS\)

\(A^m\)

\(d | m, q_1^m = q_3^m = 1, q_1 / q_0, q_3 / q_0 \ne 1\)

\(B^n\)

\(d | n, q_2^n = q_4^n = 1, q_0q_2, q_0q_4 \ne 1\)

\(SB^{n - 1}A^{m - 1}\)

\(d | m - 1 - r_2, d | n - 1 + r_3, q_2 = q_0^{r_2}, q_3 = q_0^{r_3}\)

\(TB^{n - 1}A^{m - 1}\)

\(d | n - 1 + r_1, d | m - 1 - r_4, q_1 = q_0^{r_1}, q_4 = q_0^{r_4}\)

\(B^nA^m + (c_S S + c_T T) B^{n - 1}A^{m - 1}\)

\(d | m, d | n, q_1^mq_4^n = q_2^nq_3^m = 1\)

 

and in addition

 

\(\begin{array}{l} q_2 + 1 / q_2 = q_4 + 1 / q_4 \text { if } (m, n) = (1, 2) \\ q_1 + 1 / q_1 = q_3 + 1 / q_3 \text { if } (m, n) = (2, 1) \\ \end{array}\)

Here,

$$ c_S = \left\{ \begin{array}{ll} \frac{1 - q_2^n}{(1 - q_0q_2)(1 - q_3 / q_0)} = \frac{1 - 1 / q_3^m}{(1 - q_0q_2)(1 - q_3 / q_0)} &{} \quad \text {if } 1 - q_0q_2, 1 - q_3 / q_0 \ne 0 \\ \frac{-m}{1 - q_0q_2} &{} \quad \text {if } 1 - q_0q_2 \ne 0, 1 - q_3 / q_0 = 0 \\ \frac{n}{1 - q_3 / q_0} &{} \quad \text {if } 1 - q_0q_2 = 0, 1 - q_3 / q_0 \ne 0 \\ \end{array} \right. $$

and

$$ c_T = \left\{ \begin{array}{ll} \frac{1 - q_4^n}{(1 - q_0q_4)(1 - q_1 / q_0)} = \frac{1 - 1 / q_1^m}{(1 - q_0q_4)(1 - q_1 / q_0)} &{} \quad \text {if } 1 - q_0q_4, 1 - q_1 / q_0 \ne 0 \\ \frac{-m}{1 - q_0q_4} &{} \quad \text {if } 1 - q_0q_4 \ne 0, 1 - q_1 / q_0 = 0 \\ \frac{n}{1 - q_1 / q_0} &{} \quad \text {if } 1 - q_0q_4 = 0, 1 - q_1 / q_0 \ne 0. \\ \end{array} \right. $$

Proof

By Lemma 4.1, it is enough to show that the listed elements form a basis for \(\fancyscript{C}(A) \cap \fancyscript{C}(B)\). Spanning sets for \(\fancyscript{C}(A)\) and \(\fancyscript{C}(B)\) are given by Lemma 3.1; denote them by \(\fancyscript{B}(A)\) and \(\fancyscript{B}(B)\) respectively. Then \(\fancyscript{C}(A) \cap \fancyscript{C}(B)\) is the linear space spanned by \(\fancyscript{B}(A) \cap \fancyscript{B}(B)\). Now, \(I, TS \in \fancyscript{B}(A) \cap \fancyscript{B}(B)\) always, and

$$\begin{aligned} A^m \in \fancyscript{B}(A) \cap \fancyscript{B}(B)&\iff q_0^m - 1 = \left\{ m \right\} _{q_1 / q_0} = \left\{ m \right\} _{q_3 / q_0} = 0 \\&\iff q_0^m = q_1^m = q_3^m = 1, q_1 / q_0, q_3 / q_0 \ne 1 \end{aligned}$$

and

$$\begin{aligned} B^n \in \fancyscript{B}(A) \cap \fancyscript{B}(B)&\iff 1 - q_0^n = \left\{ n \right\} _{q_0q_2} = \left\{ n \right\} _{q_0q_4} = 0 \\&\iff q_0^n = q_2^n = q_4^n = 1, q_0q_2, q_0q_4 \ne 1. \end{aligned}$$

Assume now that \(m, n \ge 1, (m, n) \ne (1, 2)\) and \((m, n) \ne (2, 1)\). An element of the form \(c_1B^nA^m + c_2SB^{n - 1}A^{m - 1} + c_3TB^{n - 1}A^{m - 1}\) lies in \(\fancyscript{B}(A) \cap \fancyscript{B}(B)\) if and only if \(K_{(m, n)} [c_1 \, c_2 \,c_3]^T = 0\) and \(L_{(m, n)} [c_1 \, c_2 \, c_3]^T = 0\), where \(K_{(m, n)}\) and \(L_{(m, n)}\) are defined as in Lemma 3.1. Regrouping these equations gives the equivalent equation system

$$\begin{aligned} \left\{ \begin{array}{ll} (1 - q_0^n)c_1 = (q_0^m - 1)c_1 = 0 &{} \text { (first rows of } K_{(m, n)} \text { and } L_{(m, n)} \text {)} \\ M_S \begin{bmatrix} c_1 &{} c_2 \\ \end{bmatrix}^T = 0 &{} \text { (second rows of } K_{(m, n)} \text { and } L_{(m, n)} \text {)} \\ M_T \begin{bmatrix} c_1 &{} c_3 \\ \end{bmatrix}^T = 0 &{} \text { (third rows of } K_{(m, n)} \text { and } L_{(m, n)} \text {),} \\ \end{array} \right. \end{aligned}$$
(10)

where

$$ M_S = \begin{bmatrix} -\left\{ n \right\} _{q_0q_2}&1 - q_0^{n - 1}q_3 \\ q_0^{m - 1}q_2^n \left\{ m \right\} _{q_3 / q_0}&q_0^{m - 1} - q_2 \\ \end{bmatrix} \, M_T = \begin{bmatrix} -\left\{ n \right\} _{q_0q_4}&1 - q_0^{n - 1}q_1 \\ q_0^{m - 1}q_4^n \left\{ m \right\} _{q_1 / q_0}&q_0^{m - 1} - q_4 \\ \end{bmatrix} . $$

There are two types of possible solutions to (10): Those with \(c_1 = 0\) and those with \(c_1 \ne 0\). Note that \([0 \, c_2 \, c_3]^T\) satisfies (10) if and only if \([0 \, c_2 \, 0]^T\) and \([0 \, 0 \, c_3]^T\) do. Thus for the case \(c_1 = 0\), it is enough to consider elements of the forms \(SB^{n - 1}A^{m - 1}\) and \(TB^{n - 1}A^{m - 1}\) separately, rather that a general linear combination \(c_2SB^{n - 1}A^{m - 1} + c_3TB^{n - 1}A^{m - 1}\).

Now, \(SB^{n - 1}A^{m - 1} \in \fancyscript{B}(A) \cap \fancyscript{B}(B)\) if and only if \(M_S [0 \, 1]^T = 0\), that is, iff

$$\begin{aligned} q_0^{n - 1}q_3 = 1 \text { and } q_0^{m - 1} = q_2. \end{aligned}$$
(11)

This implies (by raising both sides of the equations to the power of \(d\)) that \(q_2^d = q_3^d = 1\), so \(q_2\) and \(q_3\) are \(d\):th roots of unity and thus \(q_2 = q_0^{r_2}\) and \(q_3 = q_0^{r_3}\) for some \(r_2, r_3 \in \{ 0,\,\ldots ,\,d-1 \}\) (since \(q_0\) generates the group of \(d\):th roots of unity). Then (11) holds if and only if \(q_0^{n - 1 + r_3} = q_0^{m - 1 - r_2} = 1\), that is, \(d\) divides both \(n - 1 + r_3\) and \(m - 1 - r_2\).

Similarly, \(TB^{n - 1}A^{m - 1} \in \fancyscript{B}(A) \cap \fancyscript{B}(B)\) if and only if \(M_T [0 \, 1]^T = 0\), that is, iff

$$\begin{aligned} q_0^{n - 1}q_1 = 1 \text { and } q_0^{m - 1} = q_4. \end{aligned}$$
(12)

This implies that \(q_1^d = q_4^d = 1\) and thus that \(q_1 = q_0^{r_1}\) and \(q_4 = q_0^{r_4}\) for some \(r_1, r_4 \in \{ 0,\,\ldots ,\,d - 1 \}\). Then (12) holds if and only if \(q_0^{n - 1 + r_1} = q_0^{m - 1 - r_4} = 1\), that is, \(d\) divides both \(n - 1 + r_1\) and \(m - 1 - r_4\).

If there is a solution of (10) with \(c_1 \ne 0\) then \(q_0^m = q_0^n = 1\) so \(d | m\) and \(d | n\). In addition, \(\det (M_S) = \det (M_T) = 0\), which is equivalent (using \(q_0^m = q_0^n = 1\) and \(\left\{ k \right\} _{q}(1 - q) = 1 - q^k\)) to \(q_2^nq_3^m = q_1^mq_4^n = 1\). When \(M_S\) is singular, either of the equations of the system \(M_S [c_1 \, c_2]^T = 0\) can be used to solve for \(c_2\). One gets

$$\begin{aligned} c_2 = \left\{ \begin{array}{ll} \frac{1 - q_2^n}{(1 - q_0q_2)(1 - q_3 / q_0)} c_1 = \frac{1 - 1 / q_3^m}{(1 - q_0q_2)(1 - q_3 / q_0)} c_1 &{} \text {if } 1 - q_0q_2, 1 - q_3 / q_0 \ne 0 \\ \frac{-m}{1 - q_0q_2} c_1 &{} \text {if } 1 - q_0q_2 \ne 0, 1 - q_3 / q_0 = 0 \\ \frac{n}{1 - q_3 / q_0} c_1 &{} \text {if } 1 - q_0q_2 = 0, 1 - q_3 / q_0 \ne 0 \\ \end{array} \right. \end{aligned}$$
(13)

(the case \(1 - q_0q_2 = 1 - q_3 / q_0 = 0\) is excluded since \(q_2q_3 \ne 1\) when \(\mathbf {q}\) is generic). Similarly, when \(M_T\) is singular, one can use either of the equations of the system \(M_T [c_1 \, c_3]^T = 0\) to solve for \(c_3\). One gets

$$\begin{aligned} c_3 = \left\{ \begin{array}{ll} \frac{1 - q_4^n}{(1 - q_0q_4)(1 - q_1 / q_0)} c_1 = \frac{1 - 1 / q_1^m}{(1 - q_0q_4)(1 - q_1 / q_0)} c_1 &{} \text {if } 1 - q_0q_4, 1 - q_1 / q_0 \ne 0 \\ \frac{-m}{1 - q_0q_4} c_1 &{} \text {if } 1 - q_0q_4 \ne 0, 1 - q_1 / q_0 = 0 \\ \frac{n}{1 - q_1 / q_0} c_1 &{} \text {if } 1 - q_0q_4 = 0, 1 - q_1 / q_0 \ne 0 \\ \end{array} \right. \end{aligned}$$
(14)

(the case \(1 - q_0q_4 = 1 - q_1 / q_0 = 0\) is excluded since \(q_1q_4 \ne 1\) when \(\mathbf {q}\) is generic).

When \((m, n) = (1, 2)\) or \((m, n) = (2, 1)\) then (10) is still a necessary condition for \(c_1B^nA^m + c_2SB^{n - 1}A^{m - 1} + c_3TB^{n - 1}A^{m - 1}\) to lie in \(\fancyscript{C}(A, B)\), but \(c_2, c_3\) must also satisfy

$$\begin{aligned} \left\{ \begin{array}{ll} c_2q_3(1 - q_1q_4) = c_3q_1(1 - q_2q_3) &{} \text { if } (m, n) = (1, 2) \\ c_2(1 - q_1q_4) = c_3(1 - q_2q_3) &{} \text { if } (m, n) = (2, 1). \\ \end{array} \right. \end{aligned}$$
(15)

If \(c_1 = 0\) in any of these cases then either \(c_2 = 0\) or \(c_3 = 0\), since if \(c_2, c_3 \ne 0\) then (10) would imply \(q_1 = q_3 \, (= 1 / q_0^{n - 1})\) and \(q_2 = q_4 \, (= q_0^{m - 1})\). But if one of \(c_2, c_3\) is \( = 0\), then so is the other by (15). Thus, there are no non-trivial solutions with \(c_0 = 0\) when \((m, n) = (1, 2)\) or \((m, n) = (2, 1)\). The element \(B^nA^m + c_2SB^{n - 1}A^{m - 1} + c_3TB^{n - 1}A^{m - 1}\) lies in \(\fancyscript{C}(A, B)\) if and only if \([1 \, c_2 \, c_3]^T\) satisfies both (10) and (15). Using the expressions (13) and (14) for \(c_2\) and \(c_3\) together with \(q_0 = q_1^mq_4^n = q_2^nq_3^m = 1\) (that is, using the conditions that have just been shown to be equivalent to (10); note that when \(m = 1\) or \(n = 1\), \(d | m\) and \(d | n\) iff \(q_0 = 1\). Also note that \(q_1^mq_4^n = q_2^nq_3^m = 1\) implies \(q_2, q_4 \ne 1\) when \((m, n) = (1, 2)\) and \(q_1, q_3 \ne 1\) when \((m, n) = (2, 1)\) since \(\mathbf {q}\) is generic), (15) can be simplified to

$$ \left\{ \begin{array}{ll} q_2 + 1 / q_2 = q_4 + 1 / q_4 &{} \text { if } (m, n) = (1, 2) \\ q_1 + 1 / q_1 = q_3 + 1 / q_3 &{} \text { if } (m, n) = (2, 1). \\ \end{array} \right. $$

Thus, the elements listed in the theorem form a spanning set for \(\fancyscript{C}(A) \cap \fancyscript{C}(B)\). To see that they are linearly independent, note that for a fixed \((m, n)\) it is impossible that both \(B^nA^m\,+\, c_2SB^{n - 1}A^{m - 1}\, + \, c_3TB^{n - 1}A^{m - 1}\) and \(SB^{n - 1}A^{m - 1}\) lie in \(\fancyscript{C}(A) \cap \fancyscript{C}(B)\), for that would imply

$$ \left. \begin{array}{l} m \equiv n \pmod {d}\\ m - 1 - r_2 \equiv n - 1 + r_3 \pmod {d} \\ \end{array} \right\} \implies -r_2 \equiv r_3 \pmod {d} \implies q_2q_3 = 1. $$

Similarly, it is impossible that both \(B^nA^m + c_2SB^{n - 1}A^{m - 1} + c_3TB^{n - 1}A^{m - 1}\) and \(TB^{n - 1}A^{m - 1}\) lie in \(\fancyscript{C}(A) \cap \fancyscript{C}(B)\), for that would imply \(q_1q_4 = 1\). Thus, the listed elements are linearly independent, and so they form a basis for \(\fancyscript{C}(A) \cap \fancyscript{C}(B)\).

5 Commutativity of \(\fancyscript{C}(A)\) and \(\fancyscript{C}(B)\)

This section gives, for generic \(\mathbf {q}\), necessary and sufficient conditions on \(\mathbf {q}\) for \(\fancyscript{C}(A)\) and \(\fancyscript{C}(B)\) to be commutative. As before, it is enough to consider homogeneous elements of \(\fancyscript{C}(A)\) and \(\fancyscript{C}(B)\), and the \(TS\)-components of the homogeneous elements of degree \((2, 2)\) can be disregarded since \(TS \in \fancyscript{Z} \). Thus, \(\fancyscript{C}(A)\) is commutative if and only if the set

$$ \fancyscript{H}_A = \{ \, H \in \fancyscript{C}(A); \, H \text { is homogeneous and has no } TS \text {-component} \} $$

is, and \(\fancyscript{C}(B)\) is commutative if and only if the set

$$ \fancyscript{H}_B = \{ \, H \in \fancyscript{C}(B); \, H \text { is homogeneous and has no } TS \text {-component} \} $$

is. Define further the sets

$$\begin{aligned} \fancyscript{X}_A&= \left\{ X \in \fancyscript{H}_A; \, X \text { is homogeneous of degree } (m, n) \text { and } q_0^n = 1 \right\} \\ \fancyscript{Y}_A&= \left\{ Y \in \fancyscript{H}_A; \, Y \text { is homogeneous of degree } (m, n) \text { and } q_0^n \ne 1 \right\} \cup \{ 0 \} \\ \fancyscript{X}_B&= \left\{ X \in \fancyscript{H}_B; \, X \text { is homogeneous of degree } (m, n) \text { and } q_0^m = 1 \right\} \\ \fancyscript{Y}_B&= \left\{ Y \in \fancyscript{H}_B; \, Y \text { is homogeneous of degree } (m, n) \text { and } q_0^m \ne 1 \right\} \cup \{ 0 \}. \end{aligned}$$

Then \(\fancyscript{H}_A = \fancyscript{X}_A \cup \fancyscript{Y}_A\) and \(\fancyscript{H}_B = \fancyscript{X}_B \cup \fancyscript{Y}_B\), and \(\fancyscript{X}_A \cap \fancyscript{Y}_A = \fancyscript{X}_B \cap \fancyscript{Y}_B = \{ 0 \}\), since \(0\) is homogeneous of all degrees. (The reason for explicitly including \(0\) in \(\fancyscript{Y}_A\) and \(\fancyscript{Y}_B\) is to make sure that they always contain \(0\): If \(0\) were not explicitly included then the case \(q_0 = 1\) would be exceptional.) These sets do, of course, depend on \(\mathbf {q}\); when this dependence needs to be emphasised the notation will be \(\fancyscript{X}_A(\mathbf {q})\), \(\fancyscript{Y}_A(\mathbf {q})\) and so on.

Consider two general homogeneous elements

$$\begin{aligned} X_{k, l}&\equiv b_1B^{l}A^{k} + b_2SB^{l - 1}A^{k - 1} + b_3TB^{l - 1}A^{k - 1} \\ X_{m, n}&\equiv c_1B^{n}A^{m} + c_2SB^{n - 1}A^{m - 1} + c_3TB^{n - 1}A^{m - 1} \end{aligned}$$

of degrees \((k, l)\) and \((m, n)\) respectively. A somewhat lengthy calculation using the reordering formula (7) and Eq. (6) shows that

$$\begin{aligned}&X_{k, l} X_{m, n} \equiv \ldots \\&\equiv b_1c_1q_0^{kn}B^{l + n}A^{k + m} \\&\quad + q_0^{(k - 1)(n - 1)}\left( b_1c_1 q_0^{k - 1} q_2^l \left\{ k \right\} _{\frac{q_3}{q_0}} \left\{ n \right\} _{q_0q_2} + b_1c_2q_0^{n - 1}q_2^lq_3^k + b_2c_1q_0^{k - 1} \right) \\&\quad \,\,SB^{l + n - 1}A^{k + m - 1} \\&\quad + q_0^{(k - 1)(n - 1)} \left( b_1c_1 q_0^{k - 1} q_4^l \left\{ k \right\} _{\frac{q_1}{q_0}} \left\{ n \right\} _{q_0q_4} + b_1c_3q_0^{n - 1}q_1^kq_4^l + b_3c_1 q_0^{k - 1} \right) \\&\quad \,\, TB^{l + n - 1}A^{k + m - 1}. \end{aligned}$$

This holds for all \(k, l, m, n \ge 1\) except for \(k = l = m = n = 1\) (if \((k, l) = (2, 2)\) or \((m, n) = (2, 2)\) then there is an additional \(TS\)-term in the expression for \(X_{k, l}\) or \(X_{m, n}\), but that makes no difference for the product because of (6)). The commutator of \(X_{k, l}\) and \(X_{m, n}\) then is

$$\begin{aligned}&[X_{k, l}, X_{m, n}] \equiv b_1c_1(q_0^{kn} - q_0^{ml})B^{l + n}A^{k + m} \nonumber \\&+\left( q_0^{(k - 1)(n - 1)}\left( b_1c_1 q_0^{k - 1} q_2^l \left\{ k \right\} _{\frac{q_3}{q_0}} \left\{ n \right\} _{q_0q_2} + b_1c_2q_0^{n - 1}q_2^lq_3^k + b_2c_1q_0^{k - 1} \right) \right. \nonumber \\&- q_0^{(m - 1)(l - 1)} \left. \left( b_1c_1 q_0^{m - 1} q_2^n \left\{ m \right\} _{\frac{q_3}{q_0}} \left\{ l \right\} _{q_0q_2} + b_2c_1q_0^{l - 1}q_2^nq_3^m + b_1c_2q_0^{m - 1} \right) \right) \nonumber \\&\quad \, SB^{l + n - 1}A^{k + m - 1} \nonumber \\&+\left( q_0^{(k - 1)(n - 1)} \left( b_1c_1 q_0^{k - 1} q_4^l \left\{ k \right\} _{\frac{q_1}{q_0}} \left\{ n \right\} _{q_0q_4} + b_1c_3q_0^{n - 1}q_1^kq_4^l + b_3c_1 q_0^{k - 1} \right) \right. \nonumber \\&- q_0^{(m - 1)(l - 1)} \left. \left( b_1c_1 q_0^{m - 1} q_4^n \left\{ m \right\} _{\frac{q_1}{q_0}} \left\{ l \right\} _{q_0q_4} + b_3c_1q_0^{l - 1}q_1^mq_4^n + b_1c_3 q_0^{m - 1} \right) \right) \nonumber \\&\quad \, TB^{l + n - 1}A^{k + m - 1}. \end{aligned}$$
(16)

The switch \(A \leftrightarrow B\) will be used in the proofs below. Assume that \(q_0 \ne 0\) (as is the case when \(\mathbf {q}\) is generic) and let \(f_{AB}: \fancyscript{F} \rightarrow \fancyscript{F} \) be the isomorphism defined by

$$ f_{AB}(A) = B, \quad f_{AB}(B) = A, \quad f_{AB}(S) = -q_0S, \quad f_{AB}(T) = -q_0T. $$

The image under \(f_{AB}\) of \(G(\mathbf {q}) \), defined in (2), is

$$\begin{aligned} \{&-q_0(AB - \frac{1}{q_0}BA - S - T), \, -q_0(BT - q_1TB), \, -q_0(AS - q_2SA), \\&-q_0(BS - q_3SB), \, -q_0(AT - q_4TA), \, q_0^2(ST - q_5TS) \}. \end{aligned}$$

Thus \(f_{AB}(G(\mathbf {q}) )\) generates the ideal \(\fancyscript{J}(\hat{\mathbf {q}})\) where \(\hat{\mathbf {q}} = (\frac{1}{q_0}, q_4, q_3, q_2, q_1, q_5)\), and consequently \(f_{AB}(\fancyscript{J}(\mathbf {q}) ) = \fancyscript{J}(\hat{\mathbf {q}}) \). This makes it possible to define an isomorphism \(h_{AB}: \fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \rightarrow \fancyscript{F}/ \fancyscript{J}(\hat{\mathbf {q}}) \) by

$$\begin{aligned} h_{AB}(X + \fancyscript{J}(\mathbf {q}) ) = f_{AB}(X) + \fancyscript{J}(\hat{\mathbf {q}}). \end{aligned}$$
(17)

It is easily checked that \(\hat{\mathbf {q}}\) is generic whenever \(\mathbf {q}\) is.

Also the switch \(S \leftrightarrow T\) will be used below. Let \(f_{ST}: \fancyscript{F} \rightarrow \fancyscript{F} \) be the isomorphism defined by

$$ f_{ST}(A) = A, \quad f_{ST}(B) = B, \quad f_{ST}(S) = T, \quad f_{ST}(T) = S. $$

The image under \(f_{ST}\) of \(G(\mathbf {q}) \) is (assuming that \(q_5 \ne 0\))

$$\begin{aligned} \{&AB - q_0BA - S - T, \, AS - q_1SA, \,BT - q_2TB, \\&AT - q_3TA, \,BS - q_4SB, \,-q_5(ST - \frac{1}{q_5}TS) \}. \end{aligned}$$

Thus \(f_{ST}(G(\mathbf {q}) )\) generates the ideal \(\fancyscript{J}(\tilde{\mathbf {q}})\), where \(\tilde{\mathbf {q}} = (q_0, q_3, q_4, q_1, q_2, \frac{1}{q_5})\), so \(f_{ST}(\fancyscript{J}(\mathbf {q}) ) = \fancyscript{J}(\tilde{\mathbf {q}}) \) and an isomorphism \(h_{ST}: \fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \rightarrow \fancyscript{F}/ \fancyscript{J}(\tilde{\mathbf {q}}) \) can be defined by

$$\begin{aligned} h_{ST}(X + \fancyscript{J}(\mathbf {q}) ) = f_{ST}(X) + \fancyscript{J}(\tilde{\mathbf {q}}). \end{aligned}$$
(18)

Again, it is easily checked that \(\tilde{\mathbf {q}}\) is generic whenever \(\mathbf {q}\) is.

Lemma 5.1

Let \(\mathbf {q} = (q_0,\,\ldots ,\,q_5) \in \mathbb {C} ^6\) be generic. Then the sets \(\fancyscript{X}_A\) and \(\fancyscript{X}_B\) are commutative.

Proof

Pick any \(X_1, X_2 \in \fancyscript{X}_A\). Then \(X_1, X_2 \in \fancyscript{C}(A)\) and they are homogeneous, say of degrees \((k, l)\) and \((m, n)\) respectively with \(q_0^l = q_0^n = 1\). If \(k = 0\) then \(X_1 \equiv b_1B^l\) and Lemma 3.1 implies that \(X_1 \equiv 0\) or \(q_2^l = q_4^l = 1\). In either case, \(X_1 \in \fancyscript{Z} \), so in particular \(X_1\) commutes with \(X_2\). Similarly, if \(m = 0\) then \(X_2 \in \fancyscript{Z} \) and thus commutes with \(X_1\). If \(l = 0\) then \(X_1 = b_1A^k\) and if \(n = 0\) then \(X_2 = c_1A^m\); in both cases \(X_1\) and \(X_2\) commute. Thus it may be assumed that \(k, l, m, n \ge 1\), so that \(X_1\) and \(X_2\) can be written as

$$\begin{aligned} X_1&\equiv b_1B^{l}A^{k} + b_2SB^{l - 1}A^{k - 1} + b_3TB^{l - 1}A^{k - 1} \qquad k, l \ge 1 \\ X_2&\equiv c_1B^{n}A^{m} + c_2SB^{n - 1}A^{m - 1} + c_3TB^{n - 1}A^{m - 1} \qquad m, n \ge 1 \end{aligned}$$

with coefficients that satisfy

$$\begin{aligned} K_{(k, l)} [b_1 \, b_2 \, b_3]^T = 0, \quad K_{(m, n)} [c_1 \, c_2 \, c_3]^T = 0, \end{aligned}$$
(19)

where \(K_{(k, l)}\), \(K_{(m, n)}\) are defined as in Lemma 3.1. If \(k = l = m = n = 1\) then \(X_1\) and \(X_2\) are parallel, because \(K_{(1, 1)}\) has rank at least two (using that \(q_1 \ne q_3\) since \(\mathbf {q}\) is generic). Hence it may be assumed that at least one of \(k, l, m, n\) is \(\ge 2\), so that the commutator \([X_1, X_2]\) is given by (16). Since \(q_0^l = q_0^n = 1\), the coefficient of \(B^{l + n}A^{k + m}\) in (16) is \(0\)—it has to be shown that the coefficients of \(SB^{l + n - 1}A^{k + m - 1}\) and \(TB^{l + n - 1}A^{k + m - 1}\) are \(0\) as well.

If \(q_3 \ne q_0\) then (19) implies that

$$ b_2 = \frac{\left\{ l \right\} _{q_0q_2}}{1 - q_3 / q_0} b_1, \qquad c_2 = \frac{\left\{ n \right\} _{q_0q_2}}{1 - q_3 / q_0} c_1 $$

and the \(SB^{l + n - 1}A^{k + m - 1}\)-coefficient in (16) can be simplified to

$$\begin{aligned}&b_1c_1q_2^l \frac{1 - \left( q_3 / q_0 \right) ^k}{1 - q_3 / q_0} \left\{ n \right\} _{q_0q_2} + b_1c_1 q_0^{-k} q_2^lq_3^k \frac{\left\{ n \right\} _{q_0q_2}}{1 - q_3 / q_0} + b_1c_1 \frac{\left\{ l \right\} _{q_0q_2}}{1 - q_3 / q_0} \nonumber \\&\quad - b_1c_1q_2^n \frac{1 - \left( q_3 / q_0 \right) ^m}{1 - q_3 / q_0} \left\{ l \right\} _{q_0q_2} - b_1c_1 q_0^{-m} q_2^nq_3^m \frac{\left\{ l \right\} _{q_0q_2}}{1 - q_3 / q_0} - b_1c_1 \frac{\left\{ n \right\} _{q_0q_2}}{1 - q_3 / q_0}\nonumber \\&= \frac{b_1c_1}{1 - q_3 / q_0} \Big ( q_2^l \left\{ n \right\} _{q_0q_2} + \left\{ l \right\} _{q_0q_2} - q_2^n \left\{ l \right\} _{q_0q_2} - \left\{ n \right\} _{q_0q_2} \Big ) = 0. \end{aligned}$$
(20)

The last equality holds by the identity \(\left\{ a \right\} _{q} + q^a \left\{ b \right\} _{q} = \left\{ a + b \right\} _{q}\) for \(q\)-natural numbers, since \(q_2^l = (q_0q_2)^l\), \(q_2^n = (q_0q_2)^n\). Similarly if \(q_1 \ne q_0\) then

$$ b_3 = \frac{\left\{ l \right\} _{q_0q_4}}{1 - q_1 / q_0} b_1 , \qquad c_3 = \frac{\left\{ n \right\} _{q_0q_4}}{1 - q_1 / q_0} c_1 $$

and the \(TB^{l + n - 1}A^{k + m - 1}\)-coefficient in (16) can be simplified to

$$\begin{aligned}&b_1c_1q_4^l \frac{1 - \left( q_1 / q_0 \right) ^k}{1 - q_1 / q_0} \left\{ n \right\} _{q_0q_4} + b_1c_1 q_0^{-k} q_1^kq_4^l \frac{\left\{ n \right\} _{q_0q_4}}{1 - q_1 / q_0} + b_1c_1 \frac{\left\{ l \right\} _{q_0q_4}}{1 - q_1 / q_0} \nonumber \\&\quad - b_1c_1q_4^n \frac{1 - \left( q_1 / q_0 \right) ^m}{1 - q_1 / q_0} \left\{ l \right\} _{q_0q_4} - b_1c_1 q_0^{-m} q_1^m q_4^n \frac{\left\{ l \right\} _{q_0q_4}}{1 - q_1 / q_0} - b_1c_1 \frac{\left\{ n \right\} _{q_0q_4}}{1 - q_1 / q_0}\nonumber \\&= \frac{b_1c_1}{1 - q_1 / q_0} \Big ( q_4^l \left\{ n \right\} _{q_0q_4} + \left\{ l \right\} _{q_0q_4} - q_4^n \left\{ l \right\} _{q_0q_4} - \left\{ n \right\} _{q_0q_4} \Big ) = 0. \end{aligned}$$
(21)

Now there are three cases to consider (\(q_1 = q_3 = q_0\) is impossible since \(\mathbf {q}\) is generic).

1. If \(q_1, q_3 \ne q_0\) then the coefficients of \(SB^{l + n - 1}A^{k + m - 1}\) and \(TB^{l + n - 1}A^{k + m - 1}\) in (16) are \(0\) by (20) and (21).

2. If \(q_1 = q_0\), \(q_3 \ne q_0\), then the computation (20) is still valid, that is, the coefficient of \(SB^{l + n - 1}A^{k + m - 1}\) in (16) is \(0\). Further, (19) implies that

$$ \left\{ l \right\} _{q_0q_4} b_1 = \left\{ n \right\} _{q_0q_4} c_1 = 0 $$

and thus also

$$ (1 - q_4^l) b_1 = (1 - q_4^n) c_1 = 0. $$

Then the \(TB^{l + n - 1}A^{k + m - 1}\)-coefficient in (16) can be simplified to

$$ b_1c_3q_4^l + b_3c_1 - b_3c_1q_4^n - b_1c_3 = -b_1c_3 (1 - q_4^l) + b_3c_1 (1 - q_4^n) = 0. $$

3. If \(q_1 \ne q_0\), \(q_3 = q_0\) then the computation (21) is still valid, that is, the coefficient of \(TB^{l + n - 1}A^{k + m - 1}\) in (16) is \(0\). The condition (19) implies that

$$ \left\{ l \right\} _{q_0q_2} b_1 = \left\{ n \right\} _{q_0q_2} c_1 = (1 - q_2^l) b_1 = (1 - q_2^n) c_1 = 0, $$

and the \(SB^{l + n - 1}A^{k + m - 1}\)-coefficient becomes

$$ b_1c_2 q_2^l + b_2c_1 - b_2c_1 q_2^n - b_1c_2 = -b_1c_2 (1 - q_2^l) + b_2c_1 (1 - q_2^n) = 0. $$

Thus it has been shown that \(\fancyscript{X}_A\) is commutative.

In order to see that \(\fancyscript{X}_B = \fancyscript{X}_B(\mathbf {q})\) is commutative, let \(h_{AB}: \fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \rightarrow \fancyscript{F}/ \fancyscript{J}(\hat{\mathbf {q}}) \) be the isomorphism defined as in (17). Then \(\fancyscript{X}_A (\hat{\mathbf {q}})\) is commutative by the above proof, so \(\fancyscript{X}_B(\mathbf {q}) = h_{AB}^{-1} (\fancyscript{X}_A (\hat{\mathbf {q}}))\) is commutative as well.

Lemma 5.2

Let \(\mathbf {q} = (q_0,\,\ldots ,\,q_5) \in \mathbb {C} ^6\) be generic. Then the sets \(\fancyscript{Y}_A\) and \(\fancyscript{Y}_B\) are commutative.

Proof

Pick any \(Y_1, Y_2 \in \fancyscript{Y}_A\). Then \(Y_1, Y_2 \in \fancyscript{C}(A)\) and they are homogeneous, say of degrees \((k, l)\) and \((m, n)\) respectively with \(q_0^l, q_0^n \ne 1\). It is then impossible that \(l = 0\) or \(n = 0\), and by Lemma 3.1 it cannot be that \(Y_1 = b_1B^l\) or \(Y_2 = c_1B^n\) with \(b_1, c_1 \ne 0\). Thus it may be assumed that \(k, l, m, n \ge 1\), and \(Y_1, Y_2\) can be written as

$$\begin{aligned} Y_1&\equiv b_1B^{l}A^{k} + b_2SB^{l - 1}A^{k - 1} + b_3TB^{l - 1}A^{k - 1} \qquad k, l \ge 1 \\ Y_2&\equiv c_1B^{n}A^{m} + c_2SB^{n - 1}A^{m - 1} + c_3TB^{n - 1}A^{m - 1} \qquad m, n \ge 1 \end{aligned}$$

with coefficients that satisfy

$$\begin{aligned} K_{(k, l)} [b_1 \, b_2 \, b_3]^T = 0, \quad K_{(m, n)} [c_1 \, c_2 \, c_3]^T = 0, \end{aligned}$$
(22)

where \(K_{(k, l)}\), \(K_{(m, n)}\) are defined as in Lemma 3.1. If \(k = l = m = n = 1\) then \(Y_1\) and \(Y_2\) are parallel, because \(K_{(1, 1)}\) has rank at least two (using that \(q_1 \ne q_3\) since \(\mathbf {q}\) is generic). Hence it may be assumed that at least one of \(k, l, m, n\) is \(\ge 2\). Since \(q_0^l, q_0^n \ne 1\), (22) implies that \(b_1 = c_1 = 0\). But then \(Y_1Y_2 \equiv Y_2Y_1 \equiv 0\) by (6), so \(Y_1, Y_2\) commute.

To see that \(\fancyscript{Y}_B = \fancyscript{Y}_B(\mathbf {q})\) is commutative, let \(h_{AB}: \fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \rightarrow \fancyscript{F}/ \fancyscript{J}(\hat{\mathbf {q}}) \) be the isomorphism defined as in (17). Then \(\fancyscript{Y}_A (\hat{\mathbf {q}})\) is commutative by the above proof, so \(\fancyscript{Y}_B(\mathbf {q}) = h_{AB}^{-1} (\fancyscript{Y}_A (\hat{\mathbf {q}}))\) is commutative as well.

Because of Lemma 5.1 and Lemma 5.2, it is enough to check whether the elements of \(\fancyscript{X}_A\) commute with the elements of \(\fancyscript{Y}_A\) to see if \(\fancyscript{C}(A)\) is commutative, and to check whether the elements of \(\fancyscript{X}_B\) commute with the elements of \(\fancyscript{Y}_B\) to see if \(\fancyscript{C}(B)\) is commutative.

Theorem 5.1

Let \(\mathbf {q} = (q_0,\,\ldots ,\,q_5) \in \mathbb {C} ^6\) be generic and suppose that \(q_0\) is not a root of unity. Then \(\fancyscript{C}(A)\) and \(\fancyscript{C}(B)\) are commutative.

Proof

Since \(q_0\) is not a root of unity,

$$ \fancyscript{X}_A = \{ cA^m; \, c \in \mathbb {C}, \, m \in \mathbf {N} \}. $$

Thus, every element of \(\fancyscript{X}_A\) commutes with every element of \(\fancyscript{Y}_A\), and it follows from Lemma 5.1 and Lemma 5.2 that \(\fancyscript{C}(A)\) is commutative. Similarly,

$$ \fancyscript{X}_B = \{ cB^n; \, c \in \mathbb {C}, \, n \in \mathbf {N} \}; $$

thus every element of \(\fancyscript{X}_B\) commutes with every element of \(\fancyscript{Y}_B\) and thus \(\fancyscript{C}(B)\) is commutative.

Theorem 5.2

Let \(\mathbf {q} = (q_0,\,\ldots ,\,q_5) \in \mathbb {C} ^6\) be generic, and suppose that \(q_0\) is a root of unity with \(d\) being the smallest positive integer such that \(q_0^d = 1\). Then \(\fancyscript{C}(A)\) is commutative if and only if

$$\begin{aligned} \left( \left\{ d \right\} _{q_3 / q_0} \ne 0 \text { or } q_2^d = 1 \text { or } (q_1 = q_0 \text { and } q_4^d \ne 1) \right) \end{aligned}$$
(23)

and

$$\begin{aligned} \left( \left\{ d \right\} _{q_1 / q_0} \ne 0 \text { or } q_4^d = 1 \text { or } (q_3 = q_0 \text { and } q_2^d \ne 1) \right) , \end{aligned}$$
(24)

and \(\fancyscript{C}(B)\) is commutative if and only if

$$\begin{aligned} \left( \left\{ d \right\} _{q_0q_2} \ne 0 \text { or } q_3^d = 1 \text { or } (q_4 = q_0^{-1} \text { and } q_1^d \ne 1) \right) \end{aligned}$$
(25)

and

$$\begin{aligned} \left( \left\{ d \right\} _{q_0q_4} \ne 0 \text { or } q_1^d = 1 \text { or } (q_2 = q_0^{-1} \text { and } q_3^d \ne 1) \right) . \end{aligned}$$
(26)

Proof

It follows from Lemma 5.1 and Lemma 5.2 that \(\fancyscript{C}(A)\) is commutative if and only if every element of \(\fancyscript{X}_A\) commutes with every element of \(\fancyscript{Y}_A\). A non-zero element of \(\fancyscript{Y}_A\) cannot have degree \((m, 0)\) since \(q_0^0 = 1\), and it cannot have degree \((0, n)\) by Lemma 3.1. Thus any non-zero \(Y \in \fancyscript{Y}_A\) is of the form

$$ Y \equiv c_1B^nA^m + c_2SB^{n - 1}A^{m - 1} + c_3B^{n - 1}A^{m - 1} $$

for some \(n\) with \(q_0^n \ne 1\) and with coefficients that satisfy

$$\begin{aligned} \begin{bmatrix} 1 - q_0^n&\quad 0&\quad 0 \\ -\left\{ n \right\} _{q_0q_2}&\quad 1 - q_0^{n - 1}q_3&\quad 0 \\ -\left\{ n \right\} _{q_0q_4}&\quad 0&\quad 1 - q_0^{n - 1}q_1 \\ \end{bmatrix} \begin{bmatrix} c_1 \\ c_2 \\ c_3 \\ \end{bmatrix} = 0. \end{aligned}$$
(27)

Since \(q_1 \ne q_3\) (because \(\mathbf {q}\) is generic), the matrix in (27) has one of the forms

$$ \begin{bmatrix} *&0&0 \\ ?&*&0 \\ ?&0&* \\ \end{bmatrix}, \quad \begin{bmatrix} *&0&0 \\ ?&0&0 \\ ?&0&* \\ \end{bmatrix}, \quad \begin{bmatrix} *&0&0 \\ ?&*&0 \\ ?&0&0 \\ \end{bmatrix}, $$

where \(*\) indicates a non-zero element and \(?\) indicates an element that may or may not be zero. Thus the solutions to (27) are

$$\begin{aligned} \begin{array}{lll} &{}c_1 = c_2 = c_3 = 0 &{}\quad \text {if } q_0^{n - 1}q_3, q_0^{n - 1}q_1 \ne 1 \\ &{}c_1 = c_3 = 0 &{}\quad \text {if } q_0^{n - 1}q_3 = 1, q_0^{n - 1}q_1 \ne 1 \\ &{}c_1 = c_2 = 0 &{}\quad \text {if } q_0^{n - 1}q_3 \ne 1, q_0^{n - 1}q_1 = 1. \end{array} \end{aligned}$$

Since it is impossible that both \(c_2\) and \(c_3\) are non-zero, \(Y\) must actually have the form \(c_2 SB^{n - 1}A^{m - 1}\) or \(c_3 TB^{n - 1}A^{m - 1}\). Thus \(\fancyscript{Y}_A\) can be decomposed as \(\fancyscript{Y}_A^S \cup \fancyscript{Y}_A^T \cup \{ 0 \}\), where

$$\begin{aligned} \fancyscript{Y}_A^S&= \left\{ cSB^{n - 1}A^{m - 1} \in \fancyscript{Y}_A; \, q_0^n \ne 1, \, q_0^{n - 1}q_3 = 1 \right\} \\ \fancyscript{Y}_A^T&= \left\{ cTB^{n - 1}A^{m - 1} \in \fancyscript{Y}_A; \, q_0^n \ne 1, \, q_0^{n - 1}q_1 = 1 \right\} \end{aligned}$$

(here, \(c\) ranges over \(\mathbb {C}\) and \(m, n\) range over \(\mathbf {N}^+\)), and \(\fancyscript{C}(A)\) is commutative if and only if every element of \(\fancyscript{X}_A\) commutes with every element of \(\fancyscript{Y}_A^S\) and \(\fancyscript{Y}_A^T\).

Consider first \(\fancyscript{Y}_A^S\) and the conditions (23). If \(\left\{ d \right\} _{q_3 / q_0} \ne 0\) then \(q_3^d \ne 1\) or \(q_3 = q_0\) and it cannot be that \(q_0^n \ne 1\) and \(q_0^{n - 1}q_3 = 1\); thus \(\fancyscript{Y}_A^S = \emptyset \). Otherwise, there is an \(r_3 \in \{ 2,\,\ldots ,\,d \}\) such that \(q_3 = q_0^{r_3}\), and

$$ \fancyscript{Y}_A^S = \left\{ cSB^{n - 1}A^{m - 1}; \, q_0^{n - 1 + r_3} = 1 \right\} $$

is non-empty. Now pick any \(X \in \fancyscript{X}_A\). If \(X = b_1A^k\) then \(X\) obviously commutes with every element in \(\fancyscript{Y}_A^S\). Otherwise, \(X\) has one of the forms

$$ b_1 B^l, \quad b_1 B^lA^k + b_2 SB^{l - 1}A^{k - 1} + b_3 TB^{l - 1}A^{k - 1} $$

with \(d | l\). Then the commutator of \(X\) with an element of \(\fancyscript{Y}_A^S\) is (note that \(l = n = 1\) is impossible and use (6))

$$\begin{aligned}{}[X, cSB^{n - 1}A^{m - 1}] \equiv b_1c(q_2^l - 1) SB^{l + n - 1}A^{k + m - 1}. \end{aligned}$$
(28)

Thus if \(\left\{ d \right\} _{q_3 / q_0} \ne 0, q_2^d = 1\) then \(X\) commutes with everything in \(\fancyscript{Y}_A^S\). Finally, if \(q_1 = q_0\) and \(q_4^d \ne 1\) then Lemma 3.1 implies that \(b_1 = 0\), so that the commutator (28) is \(0\), and again \(X\) commutes with everything in \(\fancyscript{Y}_A^S\).

On the other hand, if none of the conditions

$$ q_3^d \ne 1, \, q_3 = q_0, \, q_2^d = 1, \, (q_1 = q_0 \text { and } q_4^d \ne 1) $$

is satisfied, then

$$ B^dA^2 + \frac{\left\{ d \right\} _{q_0q_2}}{1 - q_0^{d - 1 + r_3}} SB^{d - 1}A + b_T TB^{d - 1}A \in \fancyscript{X}_A, $$

where \(r_3 \in \{ 2,\,\ldots ,\,d \}\) is such that \(q_3 = q_0^{r_3}\), and

$$ b_T = {\left\{ \begin{array}{ll} \left\{ d \right\} _{q_0q_4} / (1 - q_0^{d - 1}q_1) &{} \text { if } q_1 \ne q_0 \\ \text {arbitrary} &{} \text { if } q_1 = q_0 \\ \end{array}\right. } $$

(\(b_T\) arbitrary if \(q_1 = q_0\) works because then \(q_4^d = 1\) and thus \(\left\{ d \right\} _{q_0q_4} = 0\) since \(\mathbf {q}\) generic implies \(q_4 \ne q_0^{-1}\)). This element of \(\fancyscript{X}_A\) does not commute with \(SB^{2d - r_3}\) in \(\fancyscript{Y}_A^S\); their commutator is \((q_2^d - 1) SB^{3d - r_3}A^{2}\). Thus it has been shown that every element of \(\fancyscript{X}_A\) commutes with every element of \(\fancyscript{Y}_A^S\) if and only if (23) is satisfied.

To see that every element of \(\fancyscript{X}_A\) commutes with every element of \(\fancyscript{Y}_A^T\) consider the isomorphism \(h_{ST}: \fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \rightarrow \fancyscript{F}/ \fancyscript{J}(\tilde{\mathbf {q}}) \), where \(\tilde{\mathbf {q}} = (q_0, q_3, q_4, q_1, q_2, \frac{1}{q_5})\), as defined in (18). Note that \(\tilde{\mathbf {q}}\) is generic, \(\tilde{q}_0\) is a root of unity with \(d\) being the smallest positive integer such that \((\tilde{q}_0)^d = 1\) and \(\tilde{\mathbf {q}}\) satisfies (23) if and only if \(\mathbf {q}\) satisfies (24). Furthermore, \(h_{ST}(\fancyscript{X}_A(\mathbf {q})) = \fancyscript{X}_A(\tilde{\mathbf {q}})\) and \(h_{ST}(\fancyscript{Y}_A^T(\mathbf {q})) = \fancyscript{Y}_A^S(\tilde{\mathbf {q}})\). Thus, using what has already been proved,

$$\begin{aligned}&\mathbf {q} \text { satisfies (24) } \iff \tilde{\mathbf {q}} \text { satisfies (23) } \iff \\&\text {every } \tilde{X} \in \fancyscript{X}_A(\tilde{\mathbf {q}}) \text { commutes with every } \tilde{Y} \in \fancyscript{Y}_A^S(\tilde{\mathbf {q}}) \iff \\&\text {every } X \in \fancyscript{X}_A(\mathbf {q}) \text { commutes with every } Y \in \fancyscript{Y}_A^T(\mathbf {q}). \end{aligned}$$

This concludes the proof of the first part of the theorem, namely that \(\fancyscript{C}(A)\) is commutative if and only if (23) and (24) are satisfied.

For the second part of the theorem, consider the isomorphism \(h_{AB}: \fancyscript{F}/ \fancyscript{J}(\mathbf {q}) \rightarrow \fancyscript{F}/ \fancyscript{J}(\hat{\mathbf {q}}) \), where \(\hat{\mathbf {q}} = (\frac{1}{q_0}, q_4, q_3, q_2, q_1, q_5)\), as defined in (17). Note that \(\hat{\mathbf {q}}\) is generic, \(\hat{q}_0\) is a root of unity with \(d\) being the smallest positive integer such that \((\hat{q}_0)^d = 1\) and \(\hat{\mathbf {q}}\) satisfies (23) and (24) if and only if \(\mathbf {q}\) satisfies (25) and (26). Moreover, \(h_{AB}(\fancyscript{C}(B)(\mathbf {q})) = \fancyscript{C}(A)(\hat{\mathbf {q}})\) and thus using what has already been proved,

$$\begin{aligned}&\mathbf {q} \text { satisfies (25) and (26) } \iff \hat{\mathbf {q}} \text { satisfies (23) and (24) } \iff \\&\fancyscript{C}(A)(\hat{\mathbf {q}}) \text { is commutative } \iff \fancyscript{C}(B)(\mathbf {q}) \text { is commutative.} \end{aligned}$$