1 Introduction

A complex conjugate polynomial of degree (NN) in v variables is a homogeneous polynomial \(p \in {\mathbb {C}}[x_1,\ldots , x_v, \overline{x}_1,\ldots , \overline{x}_v]\) that is of degree N in the variables \(x_1,\ldots , x_v\) and of degree N in their complex conjugates. An invariant theory for complex conjugate polynomials has been developed in [3]. Given a finite complex unitary matrix group \(G\le \textrm{U}_v({\mathbb {C}}) \) and some \(t\in {\mathbb {N}}\) such that for all \(N=1,\ldots ,t\) all complex conjugate invariants of degree (NN) of G are multiples of the Nth power of the invariant Hermitian form, then all G-orbits on \({\mathbb {C}}^v\) define projective t-designs. More generally, if \(x\in {\mathbb {C}}^v\) is a zero of all harmonic G-invariant polynomials up to degree (tt), then the G-orbit xG gives rise to a projective t-design.

The textbook [9] gives a very general notion of a Type of a code. Associated to a Type \(\rho \) and an integer \(m\ge 1\), there is a finite complex matrix group \({{\mathcal {C}}}_m(\rho )\), the associated Clifford–Weil group of genus m, such that the genus-m complete weight enumerator of any code of Type \(\rho \) and length N is an invariant polynomial of \({{\mathcal {C}}}_m(\rho )\), homogeneous of degree N. The Weight Enumerator Conjecture states that the space of homogeneous degree N invariants of \({\mathcal C}_m(\rho )\) is spanned by these weight enumerators. If v is the size of the alphabet of the codes of Type \(\rho \), then \({\mathcal C}_m(\rho )\) consists of matrices of size \(v^m\). Despite of this exponentially growing dimension, the space of invariants of a given degree N can be obtained by enumerating all codes of length N of Type \(\rho \).

For the Type of doubly even binary codes, where \(v=2\), the associated Clifford–Weil groups are the complex Clifford groups \({{\mathcal {X}}}_m \le {{\,\textrm{GL}\,}}_{2^m}({\mathbb {C}}) \) which have a tight connection to quantum information theory (see [11]). The main result of [1] shows that the ring of complex conjugate invariants of \({{\mathcal {X}}}_m\) is spanned by the genus-m complex conjugate weight enumerators of self-dual doubly even binary codes. The paper also enumerates all such codes up to length (5, 5) therewith proving a conjecture from [11] that whenever an \({\mathcal X}_m\)-orbit forms a projective 4-design, then it is automatically a projective 5-design.

We extend the approach in [1] to the more general set-up in [9]. Any Type \(\rho \) also determines an abelian number field K such that the associated Clifford–Weil groups consist of matrices over K. Given a subgroup \(\Gamma \) of the automorphism group of K, we introduce the concept of \(\Gamma \)-conjugate weight enumerators of codes of Type \(\rho \). These are elements of the ring of \(\Gamma \)-conjugate invariants (Definition 2.1) of \({{\mathcal {C}}}_m(\rho )\). Our main result, Theorem 6.3, shows that the space of \(\Gamma \)-conjugate homogeneous invariants of \({{\mathcal {C}}}_m(\rho )\) is spanned by these weight enumerators of codes of a given length. Therefore the enumeration of such codes of small length determines the \(\Gamma \)-conjugate invariants of small degree of the genus-m Clifford–Weil group associated to \(\rho \) for all \(m\in {\mathbb {N}}\).

With a view to possible applications to measurement schemes for low rank matrix recovery from complex projective t-designs as in [6], Section 7 gives a few examples of self-dual codes of Type (NN) for \(N\le 4\) for several small representations \(\rho \). Section 8 contains, as another application of Theorem 6.3, a short proof of the Schur–Weyl duality conjectured and partly established in [4].

2 Conjugate polynomials

Let K be a field and let \(\Gamma := \{ \alpha _1,\ldots , \alpha _n \} \le {{\,\textrm{Aut}\,}}(K)\) be a group of field automorphisms of K that is finite of order n. Put

$$\begin{aligned} F:= \{ a\in K \mid \alpha _i(a) = a \text{ for } \text{ all } i= 1,\ldots , n \} \end{aligned}$$

to denote the fixed field of \(\Gamma \). Then K/F is a Galois extension with Galois group \(\Gamma \).

For a vector space U over K of finite dimension v, we denote by K[U] the ring of polynomials on U. We now restrict scalars and write \(U_F\) for U regarded as an nv-dimensional space over F. For a K-basis \((u_1,\ldots , u_v)\) of U and an F-basis \((b_1,\ldots ,b_n)\) of K, the tuple \(B:=(b_ju_i: 1\le j \le n, 1\le i \le v)\) is an F-basis of \(U_F\). This yields an F-algebra isomorphism between the symmetric algebra \(F[U_F]\) of the dual space \(U_F^*\) and \(F[y_{ji}: 1\le j \le n, 1\le i \le v ]\), where the functions \(y_{ji}: U_F \rightarrow F\) form the dual basis to the previously chosen basis B. The latter is a polynomial ring in nv variables over F with well studied gradings given by multi-degrees. As we are mostly interested in invariant theory of finite groups over fields of characteristic 0, we assume that K is an infinite field and see elements of \(K[U] \cong K[x_1,\ldots , x_v]\) as polynomial functions on \(U\cong K^v\).

Definition 2.1

For \(v\in {\mathbb {N}}\), we denote by \(\underline{v}:=\{1,\ldots , v\}\) and by \(K^{K^v}\) the K-algebra of K-valued functions on \(K^v\). Assume that K is an infinite field. The ring of \(\Gamma \)-conjugate polynomials over K in v variables \(\textbf{x}:= (x_1,\ldots , x_v)\) is denoted by

$$\begin{aligned} K[ \textbf{x} \circ \Gamma ]:= K[ x_i \circ \alpha _j: 1\le i \le v, 1\le j \le n ] \le K^{K^v} \end{aligned}$$

and defined as the K-subspace spanned by the monomial functions \(M((m_{ij} \mid (i,j) \in \underline{v}\times \underline{n}) ) \in K^{K^v}\), where

$$\begin{aligned} M((m_{ij} \mid (i,j) \in \underline{v}\times \underline{n}) ):= \prod _{j=1}^n \prod _{i=1}^v (x_{i}\circ \alpha _j )^{m_{ij}} :(k_1,\ldots , k_v) \mapsto \prod _{j=1}^n \prod _{i=1}^v (\alpha _j (k_i) )^{m_{ij}}. \end{aligned}$$

The degree of such a monomial is

$$\begin{aligned} \deg (M((m_{ij} \mid (i,j) \in \underline{v}\times \underline{n}))):= (d_1,\ldots , d_n) \end{aligned}$$

with \(d_j = \sum _{i=1}^v m_{ij} \) for all \(j\in \underline{n}\).

The K-algebra structure of \(K[\textbf{x}\circ \Gamma ]\) is inherited from the K-algebra structure of \(K^{K^v}\). In particular, the multiplication of two monomials is given by

$$\begin{aligned} M((\ell _{ij} \mid (i,j) \in \underline{v}\times \underline{n}) ) M((m_{ij} \mid (i,j) \in \underline{v}\times \underline{n}) ) = M ((\ell _{ij} + m_{ij}\mid (i,j) \in \underline{v}\times \underline{n}) ) \end{aligned}$$

and as usual the degree of the product is just the sum of the degrees of the two factors.

The \(\Gamma \)-action provides a finer notion of degree of a polynomial in \(K[U_F]:= K\otimes _{F} F[U_F]\). Note that also the functions \((x_i \circ \alpha _j \mid (i,j) \in \underline{v} \times \underline{n} )\) form a basis of the dual space \(K\otimes _{F} U_F^*\). So we obtain a K-algebra isomorphism

$$\begin{aligned} \varphi : K[\textbf{x} \circ \Gamma ] \rightarrow K[y_{ji} \mid (i,j) \in \underline{v}\times \underline{n} ]. \end{aligned}$$
(1)

This shows that the linear functions \((x_i\circ \alpha _j: (i,j) \in \underline{v} \times \underline{n} ) \) in \(K^{K^v}\) are algebraically independent over K.

Corollary 2.2

The space of homogeneous polynomials of degree \((d_1,\ldots ,d_n)\) in \(K[ \textbf{x} \circ \Gamma ]\) is the span of all monomials \(M((m_{ij} \mid (i,j) \in \underline{v} \times \underline{n}))\) with \(d_j = \sum _{i=1}^v m_{ij}\). As these monomials form a basis, its dimension is

$$\begin{aligned} \dim (K[{{\textbf{x}}}\circ \Gamma ] _{d_1,\ldots , d_n}) = \prod _{j=1}^n \dim (K[x_1,\ldots , x_v]_{d_j}) = \prod _{j=1}^n {{d_j+v-1}\atopwithdelims (){d_j}}. \end{aligned}$$

3 Invariant theory

We keep the assumptions of the previous section, in particular, K is an infinite field and \(\Gamma =\{\alpha _1,\ldots ,\alpha _n\}\) is a group of automorphisms of K of finite order n. Let \(G\le {{\,\textrm{GL}\,}}_v(K)\) be a group. Then the right action of G on \(K^v\) defines a right action of G by K-algebra automorphisms on the K-algebra of K-valued functions on \({K^v}\) by

$$\begin{aligned} f\cdot g: K^v \rightarrow K, k \mapsto f(kg^{-1}) \text{ for } \text{ all } g \in G, f\in K^{K^v}. \end{aligned}$$

This action preserves the subalgebra \(K[ \textbf{x} \circ \Gamma ] \) as well as its subspaces of homogeneous polynomials of a given degree.

Definition 3.1

Let \(K[ \textbf{x} \circ \Gamma ]^G \) denote the K-algebra of G-invariant functions in \(K[ \textbf{x} \circ \Gamma ] \).

Via the isomorphism \(\varphi \) from Equation (1), the K-algebra of G-invariant functions \(K[ \textbf{x} \circ \Gamma ]^G \) is isomorphic to the ring of G-invariant polynomials in \(K[y_{ji} \mid (i,j) \in \underline{v} \times \underline{n}] \). In particular, classical invariant theory gives us Molien’s formula for the Hilbert series of this invariant ring.

The grading from Definition 2.1 refines the classical degree function thus giving a notion of \(\Gamma \)-conjugate Hilbert series of the invariant ring \(K[ \textbf{x} \circ \Gamma ]^G \), generalising the Forger series (where \(K={\mathbb {C}}\) and \(F={\mathbb {R}}\)) [3] to our situation.

Definition 3.2

For any \(\textbf{d}:=(d_1,\ldots , d_n) \in {\mathbb {N}}_{0}^n\), let

$$\begin{aligned} a_{\textbf{d}}:= \dim (K[\textbf{x} \circ \Gamma ]_{\textbf{d}} \cap K[ \textbf{x} \circ \Gamma ]^G ) \end{aligned}$$

denote the dimension of the space of G-invariant conjugate polynomials that are homogeneous of degree \(\textbf{d}\). Putting \(\textbf{z}^\textbf{d}:= z_1^{d_1} \cdots z_n ^{d_n}\), we define

$$\begin{aligned} {{\mathcal {H}}}(K[ \textbf{x} \circ \Gamma ]^G ):= \sum _{\textbf{d} \in {\mathbb {N}}_{0}^n} a_{\textbf{d}} \textbf{z}^{\textbf{d}} \in {\mathbb {Z}}[[ z_1,\ldots , z_n ]], \end{aligned}$$

the \(\Gamma \)-conjugate Hilbert series of the ring \( K[ \textbf{x} \circ \Gamma ]^G \).

3.1 Molien’s theorem

If G is finite and K has characteristic 0, then Molien’s theorem [2, Theorem 2.5.2] gives a useful expression of the Hilbert series of the classical invariant ring of G. With a completely analogous proof (see also [3] for \(K={\mathbb {C}}\) and \(F={\mathbb {R}}\)), we obtain the following theorem.

Theorem 3.3

Let K be a field of characteristic 0 and let G be a finite subgroup of \({{\,\textrm{GL}\,}}_v(K)\). Then

$$\begin{aligned} {{\mathcal {H}}}(K[ \textbf{x} \circ \Gamma ]^G ) = \frac{1}{|G|} \sum _{g\in G}\prod _{j=1}^n \frac{1}{\det (I_v - z_{j}\alpha _j(g))}. \end{aligned}$$

Proof

For a given degree \(\textbf{d}\) \(\in \) \({\mathbb {N}}_{0}^n\), the Reynolds operator \(\frac{1}{| G|}\sum _{g \in G}g \in K[G]\) induces a K-linear projection \(P_{\textbf{d}}\) from \(K[\textbf{x} \circ \Gamma ]_{\textbf{d}}\) onto the fixed space \(K[ \textbf{x} \circ \Gamma ]_\textbf{d}^G \). Since char(K) = 0, the dimension of this fixed subspace is equal to the trace of \(P_{\textbf{d}}\).

Therefore

$$\begin{aligned} {{\mathcal {H}}}(K[ \textbf{x} \circ \Gamma ]^G ) = \sum _{\textbf{d} \in {\mathbb {N}}_{0}^n} \text {trace}(P_{\textbf{d}}) \textbf{z}^{\textbf{d}}. \end{aligned}$$

As \(\text {trace}(P_{\textbf{d}}) = \frac{1}{|G|} \sum _{g\in G} t_{\textbf{d}} (g) \), it suffices to compute the trace \(t_{\textbf{d}} (g)\) of the action of g on \(K[\textbf{x} \circ \Gamma ]_{\textbf{d}}\) for all \(g\in G\).

To do so, we may and will assume that K contains a |G|th primitive root of unity. Then each g \(\in \) G is diagonalizable over K so after a suitable choice of basis, we assume that \(g^{-1} = {{\,\textrm{diag}\,}}(\lambda _1,\ldots , \lambda _v)\). Then for \(\alpha _{j}\) \(\in \Gamma \),

$$\begin{aligned} \det (I_v - z_j \alpha _j(g)) = \prod _{i = 1}^v (1 - \alpha _j(\lambda _i)z_j). \end{aligned}$$

The monomials from Definition 2.1 form an eigenvector basis for the action of g on \(K[\textbf{x} \circ \Gamma ]_{\textbf{d}}\), where \(M((m_{ij} \mid (i,j) \in \underline{v} \times \underline{n}))\) has eigenvalue \(\prod _{j=1}^{n} \prod _{i=1}^v \alpha _j(\lambda _{i})^{m_{ij}}\). So we get

$$\begin{aligned}{} & {} \sum _{\textbf{d} \in {\mathbb {N}}_{0}^n} t_{\textbf{d}}(g) \textbf{z}^{\textbf{d}} = \prod _{j=1}^{n} \prod _{i=1}^v \sum _{m\in {\mathbb {N}}_0}(\alpha _j(\lambda _i)z_{j})^{m} \\{} & {} = \prod _{j=1}^n \prod _{i=1}^v \frac{1}{1 - \alpha _j(\lambda _{i})z_{j}} = \prod _{j=1}^n \frac{1}{\det (I_v - z_j \alpha _j(g))}. \end{aligned}$$

\(\square \)

4 The Type of a self-dual code

This section briefly recalls the relevant notions from [9]. Classically a self-dual code C of length N over a finite field \({\mathbb {F}}_q\) is a linear subspace \(C\le {\mathbb {F}}_q^N\) that is self-dual (i.e., \(C=C^{\perp }\)) with respect to the standard inner product. Loosely speaking, to define self-dual codes in a more general sense, we need a ring R, a left R-module V, and a non-singular form \(\beta \) on V such that \(\beta \) can be used to define the orthogonal code \(C^{\perp }\) of an R-submodule \(C\le V^N\). Extra conditions (such as being doubly even) can be imposed by means of isotropy conditions with respect to some set Q of quadratic maps on V. We call such an admissible quadruple \(\rho := (R,V,Q,\beta )\) a Type, and the self-dual isotropic codes that arise from \(\rho \) are called codes of Type \(\rho \). More precisely, a Type is a representation of an abstract form ring.

4.1 Form rings

A form ring \((R,M,\psi ,\Phi )\) is a quadruple, where R is a (unital and associative) ring, M a right \(R\otimes R\)-module, \(\psi : R_R \rightarrow M_{1\otimes R}\) an isomorphism of right R-modules. It comes with an involution \(\tau : M \rightarrow M\) such that \(\tau (m) (s\otimes r) = \tau (m(r\otimes s)) \) for all \(m\in M\), \(r,s\in R\) and such that \(\epsilon := \psi ^{-1} (\tau (\psi (1))) \) is a unit in R. The isomorphism \(\psi \) defines an anti automorphism \(\ ^J: R \rightarrow R\) by \(r^J:= \psi ^{-1}(\psi (1) (r\otimes 1)) \). The last ingredient is an R-qmodule \(\Phi \), i.e., an abelian group \(\Phi \) together with a (pointed quadratic) map \([]: R \rightarrow {{\,\textrm{End}\,}}_{{\mathbb {Z}}} (\Phi )\) such that \([1]=1\) and \([rs] = [r][s]\) for all \(r,s \in R \). There are qmodule homomorphisms \({\,\{ \hspace{-.09in} \{ \,}\ {\,\} \hspace{-.09in} \} \,}: M \rightarrow \Phi \) and \(\lambda : \Phi \rightarrow M\) such that for all \(m\in M\), \(\phi \in \Phi \),

$$\begin{aligned} {\,\{ \hspace{-.09in} \{ \,}\tau (m) {\,\} \hspace{-.09in} \} \,}= {\,\{ \hspace{-.09in} \{ \,}m {\,\} \hspace{-.09in} \} \,},\ \tau (\lambda (\phi )) = \lambda (\phi ), \ \lambda ({\,\{ \hspace{-.09in} \{ \,}m {\,\} \hspace{-.09in} \} \,}) = m + \tau (m), \end{aligned}$$

and

$$\begin{aligned} {\,\{ \hspace{-.09in} \{ \,}\lambda (\phi ) (r\otimes s) {\,\} \hspace{-.09in} \} \,}= \phi [r+s] - \phi [r] - \phi [s] \text{ for } \text{ all } r,s\in R, \phi \in \Phi . \end{aligned}$$

Taking \(M=R\) and \(\psi \) the identity, we abbreviate \((R,\Phi ):= (R,M,\psi ,\Phi )\).

4.2 Finite representations of form rings

A finite representation of a form ring \((R, \Phi )\) is a quadruple \(\rho = (V,\rho _M, \rho _{\Phi }, \beta )\), where V is a left R-module of finite cardinality v, \(\rho _M:M\rightarrow {{\,\textrm{Bil}\,}}(V)\) is an \(R\otimes R\)-module homomorphism into the group \({{\,\textrm{Bil}\,}}(V)\) of bi-additive \({\mathbb {Q}}/{\mathbb {Z}}\)-valued maps on V compatible with the involution \(\tau \), i.e., \(\rho _M(\tau (m))(x,y) = \rho _M(m) (y,x)\) for all \(m\in M, x,y\in V\), and such that \(\beta := \rho _M(\psi (1)) \) is non-singular. Also \(\rho _{\Phi }\) is an R-qmodule homomorphism from \(\Phi \) into the group of \({\mathbb {Q}}/{\mathbb {Z}}\)-valued quadratic maps on V satisfying

$$\begin{aligned} \rho _\Phi ({\,\{ \hspace{-.09in} \{ \,}m {\,\} \hspace{-.09in} \} \,}) (x)= & {} \rho _M(m) (x,x) \text{ and } \\ \rho _M(\lambda (\phi ))= & {} \rho _{\Phi } (\phi ) (x+y) - \rho _{\Phi } (\phi ) (x) - \rho _{\Phi } (\phi ) (y) \end{aligned}$$

for all \( x,y\in V, m\in M, \phi \in \Phi .\)

Definition 4.1

Let \(\rho = (V,\rho _M,\rho _{\Phi }, \beta ) \) be a finite representation of a form ring \((R,\Phi )\). Any R-submodule \(C\le V\) is called a code in \(\rho \). For a code C in \(\rho \), the orthogonal module is

$$\begin{aligned} C^{\perp } = C^{\perp , \beta }:= \{ x\in V \mid \beta (x,c ) = 0 \text{ for } \text{ all } c\in C \}. \end{aligned}$$

The code C is called self-dual if \(C=C^{\perp } \) and self-orthogonal if \(C\subseteq C^{\perp }\). A self-orthogonal code C in \(\rho \) is called isotropic if \(\rho _{\Phi }(\phi ) (C) = \{0 \} \) for all \(\phi \in \Phi \).

A code of Type \(\rho \) is a self-dual isotropic code in \(\rho \).

MacWilliams transformations ([9, Section 2.2]) map the weight enumerator of a code to the one of its dual and fix weight enumerators of self-dual codes. To obtain a generating set of the associated Clifford–Weil group, we need to include MacWilliams transformations for representatives of the conjugacy classes of primitive symmetric idempotents.

Definition 4.2

An idempotent \(\iota ^2=\iota \in R\) is called symmetric if \(\iota R \cong \iota ^J R\) as right R-modules. Such an isomorphism is given by left multiplication with some \(v_{\iota } \in \iota ^JR \iota \) with inverse \(u_{\iota } \in \iota R \iota ^J\) such that \(u_{\iota } v_{\iota } = \iota \) and \(v_{\iota } u_{\iota } = \iota ^J\) (see [9, Section 3.5.3]).

Remark 4.3

(see [9, Theorem 3.5.9]). Let \(\iota \in R\) be a symmetric idempotent and \(C=C^{\perp } \le V\) a self-dual code. Then \(\iota C\) is a self-dual code in \(\iota V\) and in particular \(|\iota C|^2 = |\iota V|\).

Definition 4.4

The value group of the representation \(\rho =(V,\rho _M, \rho _{\Phi }, \beta ) \) is the subgroup \(\nu (\rho )\) of \({\mathbb {Q}}/{\mathbb {Z}}\) generated by

$$\begin{aligned} \{ \beta (x,y) \mid x,y \in V \} \cup \{ \rho _{\Phi }(\phi ) (x) \mid x\in V, \phi \in \Phi \}. \end{aligned}$$

As \(\nu (\rho )\) is a finitely generated (and hence finite) subgroup of \({\mathbb {Q}}/{\mathbb {Z}}\), it is cyclic, so \(\nu (\rho ) = \langle \frac{1}{f} +{\mathbb {Z}}\rangle \), where \(f= f (\rho )= |\nu (\rho )| \) is called the conductor of \(\rho \).

Remark 4.5

Put \(f:=f(\rho )\) and let \(a_1,\ldots , a_N \in {\mathbb {Z}}\) be prime to f and put \(\textbf{a}:= (a_1,\ldots , a_N)\). Then the orthogonal sum

$$\begin{aligned} \rho ^{\textbf{a}}:= (V^N, a_1\rho _M\perp \cdots \perp a_N \rho _M, a_1\rho _{\Phi } \perp \cdots \perp a_N \rho _{\Phi }, a_1\beta \perp \cdots \perp a_N \beta ) \end{aligned}$$

is a finite representation of the form ring \((R,\Phi )\).

5 Clifford–Weil groups and full weight enumerators

Let \(\rho = (V,\rho _M, \rho _{\Phi }, \beta )\) be a finite representation of a form ring and put \(v:=|V|\). The group algebra \({\mathbb {C}}V\) is a v-dimensional complex vector space with basis \((b_w: w \in V)\). The full weight enumerator of a code in \(\rho \) is defined as

$$\begin{aligned} {{\,\textrm{fwe}\,}}(C):= \sum _{c\in C} b_c \in {\mathbb {C}}V. \end{aligned}$$

The associated Clifford–Weil group \({{\mathcal {C}}}(\rho )\) is a group of linear operators on \({\mathbb {C}}V\) whose generators are explicitly given in [9, Definition 5.3.1]; these generators are the obvious transformations that stabilise \({{\,\textrm{fwe}\,}}(C)\) for any code of Type \(\rho \). In particular, the full weight enumerators of codes of Type \(\rho \) are invariant under \({{\mathcal {C}}}(\rho )\) (see [9, Theorem 5.5.1]).

Remark 5.1

The Weight Enumerator Conjecture [9, Conjecture 5.5.2] states that in this general situation the fixed space of \({{\mathcal {C}}}(\rho )\) is spanned by the full weight enumerators of codes of Type \(\rho \).

In fact, we do not know a counterexample and [9, Theorem 5.5.5 and Theorem 5.5.7] assert the truth of the Weight Enumerator Conjecture for fairly large classes of finite form rings including matrix rings over finite fields.

We recall the action of the associated Clifford–Weil group for the representation \(\rho ^{\textbf{a}}\) from Remark 4.5 with respect to the \({\mathbb {C}}\)-basis \((b_w: w = (w_1,\ldots , w_N) \in V^N)\) of the group algebra of \(V^N\):

$$\begin{aligned} {{\mathcal {C}}} (\rho ^{\textbf{a}} ) = \langle m_r, d_{\phi }, h_{{\iota },u_{\iota },v_{\iota } }: r\in R^{\times }, \phi \in \Phi , {\iota } =u_{\iota }v_{\iota } \text{ sym. } \text{ idem. } \rangle \end{aligned}$$

where

$$\begin{aligned} m_{r}: b_{w} \mapsto b_{rw},\hspace{0.5cm} d_{\phi }: b_{w} \mapsto \prod _{j=1}^N \exp (2 \pi i \rho _{\Phi }(\phi ) (w_j) )^{a_j} b_{w}, \end{aligned}$$

and

$$\begin{aligned} h_{{\iota },u_{{\iota }},v_{{\iota }}}: b_{w} \mapsto \frac{1}{|{\iota }V|^{N/2}} \sum _{u \in {\iota }V} \prod _{j=1}^N \exp (2 \pi i\beta (u_j,v_{{\iota }}w_j))^{a_j} b_{u+(1-{\iota })w}. \end{aligned}$$

Here the \(\iota \) runs through the set of all \(R^{\times }\)-conjugacy classes of symmetric idempotents in R and \(u_{\iota }, v_{\iota } \in R\) are as in Definition 4.2.

So the transformations \(m_r\) are represented as permutation matrices on the chosen basis and the transformations \(d_{\phi }\) as diagonal matrices. It is clear that \({{\,\textrm{fwe}\,}}(C)\) is invariant under all \(d_{\phi }\) and all \(m_r\) if C is an isotropic code in \(\rho ^{\textbf{a}} \). For self-dual codes, the invariance under \(h_{{\iota },u_{{\iota }},v_{{\iota }}} \) follows from a general MacWilliams theorem, see [9, Example 2.2.6].

Definition 5.2

Let \(f:=f(\rho )\) and let \(\zeta _f:=\exp (\frac{2 \pi i}{f}) \in {\mathbb {C}}\). Put \(F_1:= {\mathbb {Q}}( \{ \sqrt{|\iota V|}: \iota \in R \text{ sym. } \text{ idem. } \} ) \) and \(K(\rho ):= {\mathbb {Q}}(\zeta _f) F_1\) the abelian number field containing all entries of \({{\mathcal {C}}}(\rho )\). We choose a complement F of \(F_1\cap {\mathbb {Q}}(\zeta _f) \) in \(F_1\). For \(a \in ({\mathbb {Z}}/f{\mathbb {Z}})^{\times } \), put \(\gamma _a\) to denote the Galois automorphism of \( K(\rho )\) that is the identity on F and raises \(\zeta _f\) to the ath power. Then \(\gamma : ({\mathbb {Z}}/f{\mathbb {Z}})^{\times } \rightarrow {{\,\textrm{Gal}\,}}(K(\rho ) / F), a\mapsto \gamma _a\), is a group isomorphism.

Remark 5.3

Let \(a\in ({\mathbb {Z}}/f{\mathbb {Z}})^{\times } \). For a symmetric idempotent \(\iota \in R\), we put \(\epsilon (\iota , a) \in \{ 1,-1 \} \) such that \(\gamma _a(\sqrt{|\iota V|}) = \epsilon (\iota , a) \sqrt{|\iota V|} \). Then

$$\begin{aligned} {{\mathcal {C}}}(\rho ^{(a)}) = \langle m_r, \gamma _a(d_\phi ), \epsilon (\iota ,a) \gamma _a(h_{\iota ,u_{\iota }, v_{\iota }} ) \mid r\in R^{\times }, \phi \in \Phi , \iota \text{ sym. } \text{ idem. } \rangle . \end{aligned}$$

By [9, Theorem 5.5.3], the order of the scalar subgroup in \({{\mathcal {C}}}(\rho )\) is the greatest common divisor of the lengths of self-dual isotropic codes in \(\rho \). Combining this with Remark 4.3, we obtain the following lemma.

Lemma 5.4

Assume that there is a symmetric idempotent \(\iota \in R\) for which \(|\iota V| \) is not a square in \({\mathbb {Q}}\). Then \(-I_{v} \in {{\mathcal {C}}}(\rho )\).

So for all \(a\in {\mathbb {Z}}\) prime to f, the groups \({{\mathcal {C}}}(\rho ^{(a)}) \) and \( \gamma _a({{\mathcal {C}}}(\rho )) \) are equal.

6 Conjugate weight enumerators and the main theorem

We keep the notation of the previous section, in particular, \(\rho \) is a finite representation of a form ring \((R,\Phi )\) and \(K:=K(\rho )\) is an abelian extension of the field F from Definition  5.2. Put \(f:=f(\rho )\) and

$$\begin{aligned} \Gamma := {{\,\textrm{Gal}\,}}(K/F) =: \{ \alpha _1,\ldots , \alpha _n \}, \end{aligned}$$

a finite group of order n isomorphic to \(({\mathbb {Z}}/f{\mathbb {Z}})^{\times }\). We always assume that there is some length \(N_0\) such that there is a self-dual isotropic code in \(\rho ^{N_0}\). Then \({{\mathcal {C}}}(\rho )\) is a finite subgroup of \({{\,\textrm{GL}\,}}_v(K)\), where \(v=|V|\). We also assume that the Weight Enumerator Conjecture  5.1 holds for the form ring \((R,\Phi )\). For \(\textbf{a} =(a_1,\ldots , a_N)\) as in Remark 4.5, we consider the Clifford–Weil groups \({{\mathcal {C}}}(\rho ^{\textbf{a}})\) introduced in Section 5.

Definition 6.1

We say that \(\textbf{a}\) satisfies the sign condition if

$$\begin{aligned} \prod _{i=1}^N \epsilon (\iota , a_i) = 1 \end{aligned}$$

for all symmetric idempotents \(\iota \in R\).

For \(1\le j \le n\), we put

$$\begin{aligned} D_j:= \{ i \in \{ 1,\ldots , N\} \mid \gamma _{a_i} = \alpha _j \} \text{ and } d_j:=|D_j| \in {\mathbb {N}}_0. \end{aligned}$$

Put \(\textbf{d}:= (d_1,\ldots , d_n)\).

Definition 6.2

The \(\Gamma \)-conjugate complete weight enumerator

$$\begin{aligned} {{\,\textrm{ccwe}\,}}(C):= {{\,\textrm{ccwe}\,}}^{\textbf{a}}(C) \in K[ \textbf{x} \circ \Gamma ]_{\textbf{d} } \end{aligned}$$

of a code C in \(\rho ^{\textbf{a}}\) is defined as

$$\begin{aligned} {{\,\textrm{ccwe}\,}}(C):= \sum _{c\in C} \prod _{j=1}^n \prod _{i\in D_j} x_{c_i}\circ \alpha _j. \end{aligned}$$

Two codes CD in \(\rho ^{\textbf{a}}\) are called equivalent if there are permutations \(\pi _j \) of \(D_j\) (\(1\le j \le n\)) such that \(D=C \circ \pi \) where \(\pi = \pi _1\times \cdots \times \pi _n\).

We are now in the position to state and prove the main result of this paper.

Theorem 6.3

Assume that \(\rho \) satisfies the Weight Enumerator Conjecture 5.1 and that \(\textbf{a}\) satisfies the sign condition. Then the space of invariants of \({{\mathcal {C}}}(\rho ) \) in \(K[\textbf{x} \circ \Gamma ]_{\textbf{d} } \) is spanned by the \(\Gamma \)-conjugate complete weight enumerators of self-dual isotropic codes in \(\rho ^{\textbf{a}}\).

Proof

Define a K-linear map

$$\begin{aligned} \sigma : K V^N \rightarrow K[\textbf{x} \circ \Gamma ]_{\textbf{d}}, (v_1,\ldots , v_N) \mapsto \prod _{j=1}^n \prod _{i\in D_j} x_{v_i}\circ \alpha _j. \end{aligned}$$

If \(\prod _{i=1}^N \epsilon (\iota , a_i) = 1\) for all symmetric idempotents \(\iota \in R\), then \(\sigma \) is a \({{\mathcal {C}}}(\rho )\)-module epimorphism. As \({{\mathcal {C}}}(\rho )\) is a finite group and \({{\,\textrm{char}\,}}(K) = 0\), both modules are semisimple. In particular, the space of invariants of \({{\mathcal {C}}}(\rho ) \) in \(K[\textbf{x} \circ \Gamma ]_{\textbf{d}} \) is the image under \(\sigma \) of the \({{\mathcal {C}}}(\rho )\)-fixed space in \(K V^{N} \). By the Weight Enumerator Conjecture  5.1, this fixed space is spanned by the full weight enumerators of self-dual isotropic codes C in \(\rho ^{\textbf{a}}\). Clearly \(\sigma ({{\,\textrm{fwe}\,}}(C)) = {{\,\textrm{ccwe}\,}}(C) \), so the \(\Gamma \)-conjugate complete weight enumerators of these codes span the space \(K[\textbf{x} \circ \Gamma ]^{{{\mathcal {C}}}(\rho )}_{\textbf{d} } \) of homogeneous \(\Gamma \)-conjugate \({{\mathcal {C}}}(\rho )\)-invariant polynomials of degree \(\textbf{d}\). \(\square \)

Remark 6.4

The sign condition in Theorem 6.3 is necessary, as the following easy example shows: Take \(R={\mathbb {F}}_5\), the field with 5 elements. Then \(J={{\,\textrm{id}\,}}\). We take \(\Phi = {\,\{ \hspace{-.09in} \{ \,}M {\,\} \hspace{-.09in} \} \,}\). We specify the representation \(\rho \) by putting \(V:={\mathbb {F}}_5 = {\mathbb {Z}}/5{\mathbb {Z}}\) and \(\beta (x,y):= xy/5 \in {\mathbb {Q}}/{\mathbb {Z}}\). Then \(K(\rho ) = {\mathbb {Q}}(\zeta _5)\) and \(F={\mathbb {Q}}\). Consider the representation \(\rho ^{(1,2,2,2)}\). As \(\epsilon (1,1) = 1\) and \(\epsilon (1,2) = -1\), the sign condition is not satisfied. Put \(\Sigma := 4b_{(0,0,0,0)} - \sum _{v\in I} b_v \), where

$$\begin{aligned} I:= \{ 0\ne (v_1,v_2,v_3,v_4) \in {\mathbb {F}}_5^4 \mid v_1^2+2(v_2^2+v_3^2+v_4^2) = 0 \} \end{aligned}$$

is the set of isotropic vectors in \(\rho ^{(1,2,2,2)}\). Then \(m_r(\Sigma ) = d_{\phi }(\Sigma ) =\Sigma \) for all \(r\in {\mathbb {F}}_5^{\times }\) and \(\phi \in \Phi \) but \(h_{1,1,1}(\Sigma ) = - \Sigma \). The map \(\sigma \) from the proof of Theorem 6.3 hence maps \(\Sigma \) to \(0\ne \sigma (\Sigma ) \in K[\textbf{x} \circ \Gamma ]^{{{\mathcal {C}}}(\rho )} _{1,3,0,0} \). This invariant space is of dimension 1. However, as the discriminant of the quadratic form \(x_1^2+2(x_2^2+x_3^2+x_4^2) \) is not a square in \({\mathbb {F}}_5\), there are no self-dual isotropic codes in \(\rho ^{(1,2,2,2)}\).

The same method gives \(h_{1,1,1}\)-anti-invariants for primes \(p\equiv _4 1\).

6.1 Higher genus Clifford–Weil groups

The Clifford–Weil groups associated to a representation \(\rho \) form an infinite sequence of matrix groups \({{\mathcal {C}}}_m(\rho )\) in exponentially growing dimension \(v^m\) for \(m\in {\mathbb {N}}\) that comes with ring epimorphisms \(\Phi _m: {{\,\textrm{Inv}\,}}({{\mathcal {C}}}_m(\rho )) \rightarrow {{\,\textrm{Inv}\,}}({{\mathcal {C}}}_{m-1}(\rho ))\) that are isomorphisms on the spaces of invariants of small degree. A similar phenomenon occurs for the space of \(\Gamma \)-conjugate invariants.

The full genus-m weight enumerator \({{\,\textrm{fwe}\,}}_m(C)\) of C in \(\rho \) is the sum over all m-tuples of code words of C. For \(C\le V^N\), we can think of such an m-tuple \(c\in C^m\) as a matrix \(c \in V^{m\times N}\), where the rows correspond to code words. For \(1\le i \le N\), the ith column \(c_i\) of this matrix is an element of \(V^m = R^m\otimes V\). In the notation of Definition 6.2, we denote by

$$\begin{aligned} {{\,\textrm{ccwe}\,}}_m(C):= \sum _{c\in C^m} \prod _{j=1}^n \prod _{i\in D_j} x_{c_i}\circ \alpha _j \end{aligned}$$

the \(\Gamma \)-conjugate complete weight enumerator of genus m of the code C in \(\rho ^{\textbf{a}}\). Now the alphabet of \(C^m\) is \(V^m\) and hence a module over the ring \({{\,\textrm{Mat}\,}}_m(R)\) of \(m\times m\)-matrices over R. This gives rise to a notion of a matrix ring of a form ring (see [9, Section 1.10]) such that \(R^m\otimes \rho \) is a representation of this matrix ring. The genus-m Clifford–Weil group is

$$\begin{aligned} {{\mathcal {C}}}_m(\rho ):= {{\mathcal {C}}}(R^m \otimes \rho ) \,\text{(see } \text{[9, } \text{ Definition } \text{5.3.4]). } \end{aligned}$$

Denote by \(K[\mathbf{x^{(m)}} ]\) the symmetric algebra of \(V^m\). Theorem 6.3 has the following immediate consequence.

Corollary 6.5

Assume that \(\rho \) satisfies the Weight Enumerator Conjecture  5.1 and that \({\textbf{a}}\) satisfies the sign condition. Then the space of invariants of \({{\mathcal {C}}}_m(\rho ) \) in \(K[\mathbf{x^{(m)}} \circ \Gamma ]_{\textbf{d}} \) is spanned by the \(\Gamma \)-conjugate complete weight enumerators of genus m of codes of Type \(\rho ^{\textbf{a}}\).

Remark 6.6

The map \(\Phi _m\) mapping \(x_{(v_1,\ldots , v_m)^{tr}}\) to \(x_{(v_1,\ldots , v_{m-1})^{tr} }\) if \(v_m=0\) and to 0 if \(v_m\ne 0\) defines a ring epimorphism

$$\begin{aligned} \Phi _m:K[\mathbf{x^{(m)}} \circ \Gamma ] \rightarrow K[\mathbf{x^{(m-1)}} \circ \Gamma ] \end{aligned}$$

that preserves the grading from Section 2 and maps \({{\,\textrm{ccwe}\,}}_m(C)\) to \({{\,\textrm{ccwe}\,}}_{m-1}(C)\) for any code C in \(\rho ^{\textbf{a}}\). In particular, it induces an epimorphism from the space of invariants of \({{\mathcal {C}}}_m(\rho ) \) in \(K[\mathbf{x^{(m)}} \circ \Gamma ]_{\textbf{d} } \) to the space of invariants of \({{\mathcal {C}}}_{m-1}(\rho ) \) in \(K[\mathbf{x^{(m-1)}} \circ \Gamma ]_{\textbf{d}} \).

If all self-dual isotropic codes in \(\rho ^{\textbf{a}}\) are generated by \(m-1\) elements, then this epimorphism is in fact an isomorphism. In this case, two codes are equivalent (see Definition  6.2) if and only if they have the same genus-m weight enumerator and these weight enumerators of the equivalence classes of codes of Type \(\rho ^{\textbf{a}}\) form a basis of the space of invariants of degree \(\textbf{d}\).

7 Complex conjugate invariants

In this section, we give the most important example where all \(a_i \) from Remark 4.5 are \(\pm 1\). As \(\gamma _{-1} \) is the complex conjugation \(^{-}\) and the field \(F_1\) from Definition 5.2 is totally real, we always have \(\epsilon (\iota , -1) = 1\) for all symmetric idempotents \(\iota \in R\) and hence the sign condition is fulfilled.

In particular, the main result of [1] is an immediate consequence of Theorem 6.3. Whereas [1] only considers doubly even, self-dual binary codes, Theorem 6.3 allows to consider complex conjugate invariants for more general Clifford–Weil groups.

In view of possible applications to complex projective designs, we are mainly interested in codes of Type \(\rho ^{(1^N,(-1)^N)}\) which we call Type (NN) for short. As we want to have as few invariants as possible, we consider those representations \(\rho \) where the quadratic group \(\rho _{\Phi }(\Phi )\) is as large as possible: For self-dual codes over fields of odd characteristic, we focus on self-dual codes that contain the all-ones vector \(\textbf{1}=(1,\ldots , 1)\) and in even characteristic on the generalized doubly even codes.

7.1 Codes of Type (NN)

7.1.1 The trivial codes

The standard norm \(z_m:=||\ ||^2\) on \({\mathbb {C}}^{v^m}\) is an invariant for the full unitary group \(\textrm{U}_{v^m}({\mathbb {C}})\). In fact, \(z_m^N\) is the genus-m complex conjugate weight enumerator of the code \(T_{N,N}\) with generator matrix \((I_N|I_N)\), the trivial code of Type (NN).

7.1.2 Decomposable codes

For codes \(C_i\) of Type \((N_i,N_i)\), \(i\in \{ 1, 2\}\), the orthogonal sum \(C_1\oplus C_2\) is a code of Type \((N_1+N_2,N_1+N_2)\). If \((A_i|B_i)\) is a generator matrix for \(C_i\), then \(C_1\oplus C_2\) has generator matrix \(\begin{pmatrix} A_1 &{} 0 &{} B_1 &{} 0 \\ 0 &{} A_2 &{} 0 &{} B_2 \end{pmatrix} \). Clearly the genus-m weight enumerator of \(C_1\oplus C_2\) is just the product of the genus-m weight enumerators of \(C_1\) and \(C_2\).

In the following, we only list representatives of the equivalence classes of indecomposable codes, i.e., codes that cannot be written as a non-trivial orthogonal sum.

7.1.3 The doubling construction

There is another general construction of codes in \(\rho ^{(N,N)}\) which we call the doubling construction:

Let C be a self-orthogonal isotropic code C in \(\rho ^{N}\) and put \(D:=C^{\perp } \supseteq C \). Then

$$\begin{aligned} {{\,\textrm{Double}\,}}(C):= \{ (d,d+c) \mid d\in D, c\in C \} \end{aligned}$$

is a code of Type \(\rho ^{(N,N)}\). If C is a self-dual isotropic code in \(\rho ^{N}\), i.e., \(C=D\), then \({{\,\textrm{Double}\,}}(C) =\{ (c_1,c_2) \mid c_1,c_2 \in C \}\).

The trivial code \(T_{N,N}\) is the double of the zero code \(T_{N,N} = {{\,\textrm{Double}\,}}(\langle 0^N \rangle )\).

7.2 Enumeration of equivalence classes of codes

In this section, we sketch some methods to enumerate all self-dual isotropic codes in \(V^N\).

7.2.1 The mass formula

In many situations, the unitary group (in the examples below, the orthogonal group of the quadratic space \(\textbf{1}^{\perp }/\langle \textbf{1} \rangle \)) acts transitively on the set of codes of Type (NN); their number \(t_N\) is the number of isotropic subspaces in a certain finite geometry. If \(C_1,\ldots , C_{h_N}\) represent the \(\textrm{Sym}_N \times \textrm{Sym}_N \)-orbits of codes of Type (NN), then we obtain the following mass formula:

$$\begin{aligned} \frac{t_N}{N! \cdot N!} = \sum _{i=1}^{h_N} \frac{1}{|{{\,\textrm{Aut}\,}}(C_i)|} \end{aligned}$$

where \({{\,\textrm{Aut}\,}}(C_i)\) is the stabiliser in \(\textrm{Sym}_N\times \textrm{Sym}_N\) of the code \(C_i\le V^{N+N}\). This formula can be used to check the completeness of a list of pairwise inequivalent codes but also yields a method to enumerate these codes by partitioning the orbit of the unitary group into \(\textrm{Sym}_N\times \textrm{Sym}_N\)-orbits.

7.2.2 Kneser neighbors

A more efficient method to enumerate self-dual codes is the Kneser neighbor method [5] (see also [7] for an application to codes and [10] for a survey).

Starting from one self-dual code C (e.g., \(C=T_{N,N}\)), one enumerates all \({{\,\textrm{Aut}\,}}(C)\)-orbits of neighbors, i.e., those equivalence classes of codes D of Type \(\rho \) that intersect C in a maximal subcode. Continuing with the neighbors, one successively enumerates all codes up to equivalence.

7.2.3 Using projections

Denote by \(\pi _1:V^{N+N} \rightarrow V^N \) the projection onto the first N components and by \(\pi _2\) the projection onto the last N coordinates. For a self-dual isotropic code C of Type (NN), the kernel of \(\pi _2\) is the dual of the image of \(\pi _1\).

There is a shortcut to classify the codes \(C\le {\mathbb {F}}_q^{N+N}\) of Type (NN) for which \(\pi _1(C) = {\mathbb {F}}_q^N \). If the involution is trivial, then each such code has a generator matrix \((I_N | A )\) with \(A A^{tr} = I_N\). Equivalence of codes translates into the action of \({\textrm{Sym}}_N \times {\textrm{Sym}}_N\) on \(\textrm{O}_N ({\mathbb {F}}_q):= \{ A \in {\mathbb {F}}_q^{N\times N} \mid A A^{tr} = I_N \} \) by \(A \cdot (g,h):= g^{-1} A h \). Representatives of the \(\textrm{Sym}_N\)-double cosets in \(\textrm{O}_N({\mathbb {F}}_q)\) hence yield generator matrices for representatives of the equivalence classes of codes. If one only wants to classify codes that contain the all-ones vector of length 2N, one needs to additionally assume that the sum of the rows of A is the all-ones vector \(\textbf{1}\) of length N, i.e., \(\textbf{1} A = \textbf{1}\). As \(\textbf{1}g = \textbf{1}\) for all permutation matrices \(g\in \textrm{Sym}_N\), this property is invariant on the \(\textrm{Sym}_N\)-double cosets.

7.3 Doubly even binary self-dual codes

This is the most important example and has been considered in [1]. The Type of these codes is denoted by \(2_{{\textsc {II}}}\) in [9, Section 2.3.2], has conductor 8, and the associated Clifford–Weil group is the complex Clifford group. The indecomposable codes of length (NN), i.e., of Type \(2 _{{\textsc {II}}}^{(N,N)} \) for \(N=1,2,3,4,5\) are \(T_{1,1}\) and \( {{\,\textrm{Double}\,}}(\langle (1,1,1,1)\rangle )\) which is called \(g_{4,4}\) in [1].

7.4 Doubly even Euclidean self-dual codes over \({\mathbb {F}}_4\)

Doubly-even Euclidean self-dual codes over fields of characteristic 2 have been studied in [8]. Their Type \(q_{{\textsc {II}}}^E\) is discussed in [9, Theorem 2.3.2]. For \(q=4\), the conductor is 4. Enumerating the equivalence classes of codes in \((4_{{\textsc {II}}}^E)^{N,N}\) for \(N=1,2,3,4\), we obtain the following indecomposable ones:

Length

number

indecomposables

(1,1)

1

\(T_{1,1}\)

(2,2)

1

 

(3,3)

2

\({{\,\textrm{Double}\,}}(\langle (1,\omega , \omega ^2 ) \rangle ) \)

(4,4)

5

\( {{\,\textrm{Double}\,}}(\langle (1,1,1,1)\rangle )\), \({{\,\textrm{Double}\,}}(Q_4)\), \(C_{4,4}({\mathbb {F}}_4 )\)

Here \(Q_4 \) has generator matrix \(\left( \begin{array}{cccc} 1 &{} 0 &{} \omega &{} \omega ^2 \\ 0 &{} 1 &{} \omega ^2 &{} \omega \end{array} \right) \) and the generator matrix of \(C_{4,4}\) is

$$\begin{aligned} \left( \begin{array}{cccccccc} 1 &{} 0 &{} 0 &{} 0 &{} 1 &{} 1 &{} \omega &{} \omega ^2 \\ 0 &{} 1 &{} 0 &{} 0 &{} 1 &{} 1 &{} \omega ^2 &{} \omega \\ 0 &{} 0 &{} 1 &{} 0 &{} \omega ^2 &{} \omega &{} 1 &{} 1\\ 0 &{} 0 &{} 0 &{} 1 &{} \omega &{} \omega ^2 &{} 1 &{} 1 \end{array} \right) . \end{aligned}$$

7.5 Ternary codes that contain the all-ones vector

The Type of self-dual ternary codes that contain the all-ones vector is \(3_1^{E} \) has conductor 3, and is described in [9, Section  7.4.1]. We obtain the following list of codes for small lengths:

Length

number

indecomposables

(1,1)

1

\(T_{1,1}\)

(2,2)

1

 

(3,3)

2

\({{\,\textrm{Double}\,}}(\langle (1,1 ,1 ) \rangle ) \)

(4,4)

3

\( \langle I_4 | 2J_4-I_4 \rangle \)

where the last code has generator matrix \((I_4|2J_4-I_4)\) and \(J_4\) is the all-ones matrix.

7.6 Quinary codes that contain the all-ones vector

We consider the analogous Type as in the previous section, where the underlying field is \({\mathbb {F}}_5\) and the conductor is 5. We obtain the following list for small lengths:

Length

number

indecomposables

(1,1)

1

\(T_{1,1}\)

(2,2)

1

 

(3,3)

2

\( \langle I_3 | 4J_3-I_3 \rangle \)

(4,4)

5

\( \langle I_4 | 3J_4-I_4 \rangle \), \({{\,\textrm{Double}\,}}(\langle (1,2,3,4 ) \rangle ) \), \(C_{4,4}({\mathbb {F}}_5)\)

where \(C_{4,4}({\mathbb {F}}_5)\) has generator matrix

$$\begin{aligned} \left( \begin{array}{cccccccc} 1 &{} 0 &{} 0 &{} 0 &{} 0 &{} 3 &{} 4 &{} 4 \\ 0 &{} 1 &{} 0 &{} 0 &{} 3 &{} 2 &{} 3 &{} 3 \\ 0 &{} 0 &{} 1 &{} 0 &{} 4 &{} 3 &{} 0 &{} 4 \\ 0 &{} 0 &{} 0 &{} 1 &{} 4 &{} 3 &{} 4 &{} 0 \end{array} \right) . \end{aligned}$$

8 A Schur–Weyl duality for Clifford–Weil groups

Let \(\rho \) be a finite representation of a form ring \((R,\Phi )\) with underlying left R-module V. Then the associated Clifford–Weil group \(G:={{\mathcal {C}}}(\rho )\) acts on \({\mathbb {C}}V \) and by diagonal action on all tensor powers \(W_N:={\mathbb {C}}V^N = \otimes ^N {\mathbb {C}}V \). Let \(W_N^*:= {{\,\textrm{Hom}\,}}(W_N,{\mathbb {C}}) \) denote the dual space of \(W_N\). Then \(W_N^*\) is also a \({\mathbb {C}}G\)-module, where the action is given by

$$\begin{aligned} f\cdot g: w\mapsto f(w g^{-1}) \text{ for } \text{ all } w\in W_N, g\in G, f\in W_N^*. \end{aligned}$$

It is well known that the linear map

$$\begin{aligned} \varphi : W_N\otimes W_N^* \rightarrow {{\,\textrm{End}\,}}_{{\mathbb {C}}} (W_N), \text{ defined } \text{ by } (w,f) \mapsto (x\mapsto f(x) w ) \end{aligned}$$

for \(w\in W_N\) and \(f\in W_N^* = {{\,\textrm{Hom}\,}}(W_N,{\mathbb {C}})\), is an isomorphism of vector spaces. Then \(\varphi \) is an isomorphism of \({\mathbb {C}}G\)-modules where G acts on \({{\,\textrm{End}\,}}_{{\mathbb {C}}}(W_N)\) by conjugation. The commuting algebra \({{\,\textrm{End}\,}}_{{\mathbb {C}}G}(W_N) \) is the fixed space of the G-action on \({{\,\textrm{End}\,}}_{{\mathbb {C}}}(W_N) \). If the Weight Enumerator Conjecture holds for \(\rho \), then by Theorem 6.3 this fixed space of \(G={{\mathcal {C}}}(\rho )\) is spanned by the images of the full weight enumerators of self-dual isotropic codes in \(\rho ^{(N,N)}\), so we have the following theorem.

Theorem 8.1

Assume that the Weight Enumerator Conjecture holds for \(\rho \). Let \(C_1,\ldots , C_{t_N} \) be a complete list of self-dual isotropic codes in \(\rho ^{(N,N)}\). Then

$$\begin{aligned} (\varphi ({{\,\textrm{fwe}\,}}^{(N,N)}(C_1)), \ldots , \varphi ({{\,\textrm{fwe}\,}}^{(N,N)}(C_{t_N})) ) \end{aligned}$$

is a generating set of \({{\,\textrm{End}\,}}_{{{\mathcal {C}}}(\rho )}({\mathbb {C}}V^N ) \).

Let \(g_N(\rho )\in {\mathbb {N}}\) be such that any code of Type (NN) can be generated by \(g_N(\rho )\) elements. Whenever \(m\ge g_N(\rho )\), the genus-m full weight enumerators of codes of length (NN) are linearly independent.

Corollary 8.2

([4, Theorem 4.3]). If \(m \ge g_N(\rho )\), then the set

$$\begin{aligned} (\varphi ({{\,\textrm{fwe}\,}}_m^{(N,N)}(C_1)), \ldots , \varphi ({{\,\textrm{fwe}\,}}_m^{(N,N)}(C_{t_N})) ) \end{aligned}$$

is a basis of \({{\,\textrm{End}\,}}_{{{\mathcal {C}}}_m(\rho )}({\mathbb {C}}(V^m)^N ) \).

The number \(t_N\) is often well understood (see Section 7.2.1) and hence determines the dimension of the commuting algebra of the N-fold tensor representations of the genus-m Clifford–Weil groups. Note that these dimensions are independent of m for \(m\ge g_N(\rho )\).