A sequence ${a: {\bf Z} \rightarrow {\bf C}}$ of complex numbers is said to be quasiperiodic if it is of the form

$\displaystyle a(n) = F( \alpha_1 n \hbox{ mod } 1, \dots, \alpha_k n \hbox{ mod } 1)$

for some real numbers ${\alpha_1,\dots,\alpha_k}$ and continuous function ${F: ({\bf R}/{\bf Z})^k \rightarrow {\bf C}}$. For instance, linear phases such as ${n \mapsto e(\alpha n + \beta)}$ (where ${e(\theta) := e^{2\pi i \theta}}$) are examples of quasiperiodic sequences; the top order coefficient ${\alpha}$ (modulo ${1}$) can be viewed as a “frequency” of the integers, and an element of the Pontryagin dual ${\hat {\bf Z} \equiv {\bf R}/{\bf Z}}$ of the integers. Any periodic sequence is also quasiperiodic (taking ${k=1}$ and ${\alpha_1}$ to be the reciprocal of the period). A sequence is said to be almost periodic if it is the uniform limit of quasiperiodic sequences. For instance any Fourier series of the form

$\displaystyle a(n) = \sum_{j=1}^\infty c_j e(\alpha_j n)$

with ${\alpha_1,\alpha_2,\dots}$ real numbers and ${c_1,c_2,\dots}$ an absolutely summable sequence of complex coefficients, will be almost periodic.

These sequences arise in various “complexity one” problems in arithmetic combinatorics and ergodic theory. For instance, if ${(X, \mu, T)}$ is a measure-preserving system – a probability space ${(X,\mu)}$ equipped with a measure-preserving shift, and ${f_1,f_2 \in L^\infty(X)}$ are bounded measurable functions, then the correlation sequence

$\displaystyle a(n) := \int_X f_1(x) f_2(T^n x)\ d\mu(x)$

can be shown to be an almost periodic sequence, plus an error term ${b_n}$ which is “null” in the sense that it has vanishing uniform density:

$\displaystyle \sup_N \frac{1}{M} \sum_{n=N+1}^{N+M} |b_n| \rightarrow 0 \hbox{ as } M \rightarrow \infty.$

This can be established in a number of ways, for instance by writing ${a(n)}$ as the Fourier coefficients of the spectral measure of the shift ${T}$ with respect to the functions ${f_1,f_2}$, and then decomposing that measure into pure point and continuous components.

In the last two decades or so, it has become clear that there are natural higher order versions of these concepts, in which linear polynomials such as ${\alpha n + \beta}$ are replaced with higher degree counterparts. The most obvious candidates for these counterparts would be the polynomials ${\alpha_d n^d + \dots + \alpha_0}$, but this turns out to not be a complete set of higher degree objects needed for the theory. Instead, the higher order versions of quasiperiodic and almost periodic sequences are now known as basic nilsequences and nilsequences respectively, while the higher order version of a linear phase is a nilcharacter; each nilcharacter then has a symbol that is a higher order generalisation of the concept of a frequency (and the collection of all symbols forms a group that can be viewed as a higher order version of the Pontryagin dual of ${{\bf Z}}$). The theory of these objects is spread out in the literature across a number of papers; in particular, the theory of nilcharacters is mostly developed in Appendix E of this 116-page paper of Ben Green, Tamar Ziegler, and myself, and is furthermore written using nonstandard analysis and treating the more general setting of higher dimensional sequences. I therefore decided to rewrite some of that material in this blog post, in the simpler context of the qualitative asymptotic theory of one-dimensional nilsequences and nilcharacters rather than the quantitative single-scale theory that is needed for combinatorial applications (and which necessitated the use of nonstandard analysis in the previous paper).

For technical reasons (having to do with the non-trivial topological structure on nilmanifolds), it will be convenient to work with vector-valued sequences, that take values in a finite-dimensional complex vector space ${{\bf C}^m}$ rather than in ${{\bf C}}$. By doing so, the space of sequences is now, technically, no longer a ring, as the operations of addition and multiplication on vector-valued sequences become ill-defined. However, we can still take complex conjugates of a sequence, and add sequences taking values in the same vector space ${{\bf C}^m}$, and for sequences taking values in different vector spaces ${{\bf C}^m}$, ${{\bf C}^{m'}}$, we may utilise the tensor product ${\otimes: {\bf C}^m \times {\bf C}^{m'} \rightarrow {\bf C}^{mm'}}$, which we will normalise by defining

$\displaystyle (z_1,\dots,z_m) \otimes (w_1,\dots,w_{m'}) = (z_1 w_1, \dots, z_1 w_{m'}, \dots, z_m w_1, \dots, z_m w_{m'} ).$

This product is associative and bilinear, and also commutative up to permutation of the indices. It also interacts well with the Hermitian norm

$\displaystyle \| (z_1,\dots,z_m) \| := \sqrt{|z_1|^2 + \dots + |z_m|^2}$

since we have ${\|z \otimes w\| = \|z\| \|w\|}$.

The traditional definition of a basic nilsequence (as defined for instance by Bergelson, Host, and Kra) is as follows:

Definition 1 (Basic nilsequence, first definition) A nilmanifold of step at most ${d}$ is a quotient ${G/\Gamma}$, where ${G}$ is a connected, simply connected nilpotent Lie group of step at most ${d}$ (thus, all ${d+1}$-fold commutators vanish) and ${\Gamma}$ is a discrete cocompact lattice in ${G}$. A basic nilsequence of degree at most ${d}$ is a sequence of the form ${n \mapsto F(g^n g_0 \Gamma)}$, where ${g_0 \Gamma \in G/\Gamma}$, ${g \in G}$, and ${F: G/\Gamma \rightarrow {\bf C}^m}$ is a continuous function.

For instance, it is not difficult using this definition to show that a sequence is a basic nilsequence of degree at most ${1}$ if and only if it is quasiperiodic. The requirement that ${G}$ be simply connected can be easily removed if desired by passing to a universal cover, but it is technically convenient to assume it (among other things, it allows for a well-defined logarithm map that obeys the Baker-Campbell-Hausdorff formula). When one wishes to perform a more quantitative analysis of nilsequences (particularly when working on a “single scale”. sich as on a single long interval ${\{ N+1, \dots, N+M\}}$), it is common to impose additional regularity conditions on the function ${F}$, such as Lipschitz continuity or smoothness, but ordinary continuity will suffice for the qualitative discussion in this blog post.

Nowadays, and particularly when one needs to understand the “single-scale” equidistribution properties of nilsequences, it is more convenient (as is for instance done in this ICM paper of Green) to use an alternate definition of a nilsequence as follows.

Definition 2 Let ${d \geq 0}$. A filtered group of degree at most ${d}$ is a group ${G}$ together with a sequence ${G_\bullet = (G_0,G_1,G_2,\dots)}$ of subgroups ${G \geq G_0 \geq G_1 \geq \dots}$ with ${G_{d+1}=\{\hbox{id}\}}$ and ${[G_i,G_j] \subset G_{i+j}}$ for ${i,j \geq 0}$. A polynomial sequence ${g: {\bf Z} \rightarrow G}$ into a filtered group is a function such that ${\partial_{h_i} \dots \partial_{h_1} g(n) \in G_i}$ for all ${i \geq 0}$ and ${n,h_1,\dots,h_i \in{\bf Z}}$, where ${\partial_h g(n) := g(n+h) g(n)^{-1}}$ is the difference operator. A filtered nilmanifold of degree at most ${s}$ is a quotient ${G/\Gamma}$, where ${G}$ is a filtered group of degree at most ${s}$ such that ${G}$ and all of the subgroups ${G_i}$ are connected, simply connected nilpotent filtered Lie group, and ${\Gamma}$ is a discrete cocompact subgroup of ${G}$ such that ${\Gamma_i := \Gamma \cap G_i}$ is a discrete cocompact subgroup of ${G_i}$. A basic nilsequence of degree at most ${d}$ is a sequence of the form ${n \mapsto F(g(n))}$, where ${g: {\bf Z} \rightarrow G}$ is a polynomial sequence, ${G/\Gamma}$ is a filtered nilmanifold of degree at most ${d}$, and ${F: G \rightarrow {\bf C}^m}$ is a continuous function which is ${\Gamma}$-automorphic, in the sense that ${F(g \gamma) = F(g)}$ for all ${g \in G}$ and ${\gamma \in \Gamma}$.

One can easily identify a ${\Gamma}$-automorphic function on ${G}$ with a function on ${G/\Gamma}$, but there are some (very minor) advantages to working on the group ${G}$ instead of the quotient ${G/\Gamma}$, as it becomes slightly easier to modify the automorphy group ${\Gamma}$ when needed. (But because the action of ${\Gamma}$ on ${G}$ is free, one can pass from ${\Gamma}$-automorphic functions on ${G}$ to functions on ${G/\Gamma}$ with very little difficulty.) The main reason to work with polynomial sequences ${n \mapsto g(n)}$ rather than geometric progressions ${n \mapsto g^n g_0 \Gamma}$ is that they form a group, a fact essentially established by by Lazard and Leibman; see Corollary B.4 of this paper of Green, Ziegler, and myself for a proof in the filtered group setting.

It is easy to see that any sequence that is a basic nilsequence of degree at most ${d}$ in the sense of the first definition, is also a basic nilsequence of degree at most ${d}$ in the second definition, since a nilmanifold of degree at most ${d}$ can be filtered using the lower central series, and any linear sequence ${n \mapsto g^n g_0}$ will be a polynomial sequence with respect to that filtration. The converse implication is a little trickier, but still not too hard to show: see Appendix C of this paper of Ben Green, Tamar Ziegler, and myself. There are two key examples of basic nilsequences to keep in mind. The first are the polynomially quasiperiodic sequences

$\displaystyle a(n) = F( P_1(n), \dots, P_k(n) ),$

where ${P_1,\dots,P_k: {\bf Z} \rightarrow {\bf R}}$ are polynomials of degree at most ${d}$, and ${F: {\bf R}^k \rightarrow {\bf C}^m}$ is a ${{\bf Z}^k}$-automorphic (i.e., ${{\bf Z}^k}$-periodic) continuous function. The map ${P: {\bf Z} \rightarrow {\bf R}^k}$ defined by ${P(n) := (P_1(n),\dots,P_k(n))}$ is a polynomial map of degree at most ${d}$, if one filters ${{\bf R}^k}$ by defining ${({\bf R}^k)_i}$ to equal ${{\bf R}^k}$ when ${i \leq d}$, and ${\{0\}}$ for ${i > d}$. The torus ${{\bf R}^k/{\bf Z}^k}$ then becomes a filtered nilmanifold of degree at most ${d}$, and ${a(n)}$ is thus a basic nilsequence of degree at most ${d}$ as per the second definition. It is also possible explicitly describe ${a_n}$ as a basic nilsequence of degree at most ${d}$ as per the first definition, for instance (in the ${k=1}$ case) by taking ${G}$ to be the space of upper triangular unipotent ${d+1 \times d+1}$ real matrices, and ${\Gamma}$ the subgroup with integer coefficients; we leave the details to the interested reader.

The other key example is a sequence of the form

$\displaystyle a(n) = F( \alpha n, \{ \alpha n \} \beta n )$

where ${\alpha,\beta}$ are real numbers, ${\{ \alpha n \} = \alpha n - \lfloor \alpha n \rfloor}$ denotes the fractional part of ${\alpha n}$, and and ${F: {\bf R}^2 \rightarrow {\bf C}^m}$ is a ${{\bf Z}^2}$-automorphic continuous function that vanishes in a neighbourhood of ${{\bf Z} \times {\bf R}}$. To describe this as a nilsequence, we use the nilpotent connected, simply connected degree ${2}$, Heisenberg group

$\displaystyle G := \begin{pmatrix} 1 & {\bf R} & {\bf R} \\ 0 & 1 & {\bf R} \\ 0 & 0 & 1 \end{pmatrix}$

with the lower central series filtration ${G_0=G_1=G}$, ${G_2= [G,G] = \begin{pmatrix} 1 &0 & {\bf R} \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}}$, and ${G_i = \{ \mathrm{id} \}}$ for ${i > 2}$, ${\Gamma}$ to be the discrete compact subgroup

$\displaystyle \Gamma := \begin{pmatrix} 1 & {\bf Z} & {\bf Z} \\ 0 & 1 & {\bf Z} \\ 0 & 0 & 1 \end{pmatrix},$

${g: {\bf Z} \rightarrow G}$ to be the polynomial sequence

$\displaystyle g(n) := \begin{pmatrix} 1 & \beta n & \alpha \beta n^2 \\ 0 & 1 & \alpha n \\ 0 & 0 & 1 \end{pmatrix}$

and ${\tilde F: G \rightarrow {\bf C}^m}$ to be the ${\Gamma}$-automorphic function

$\displaystyle \tilde F( \begin{pmatrix} 1 & x & y \\ 0 & 1 & z \\ 0 & 0 & 1 \end{pmatrix} ) = F( \{ z \}, y - \lfloor z \rfloor x );$

one easily verifies that this function is indeed ${\Gamma}$-automorphic, and it is continuous thanks to the vanishing properties of ${F}$. Also we have ${a(n) = \tilde F(g(n))}$, so ${a}$ is a basic nilsequence of degree at most ${2}$. One can concoct similar examples with ${\{ \alpha n \} \beta n}$ replaced by other “bracket polynomials” of ${n}$; for instance

$\displaystyle a(n) = F( \alpha n, \{ \alpha n - \frac{1}{2} \} \beta n )$

will be a basic nilsequence if ${F}$ now vanishes in a neighbourhood of ${(\frac{1}{2}+{\bf Z}) \times {\bf R}}$ rather than ${{\bf Z} \times {\bf R}}$. See this paper of Bergelson and Leibman for more discussion of bracket polynomials (also known as generalised polynomials) and their relationship to nilsequences.

A nilsequence of degree at most ${d}$ is defined to be a sequence that is the uniform limit of basic nilsequences of degree at most ${d}$. Thus for instance a sequence is a nilsequence of degree at most ${1}$ if and only if it is almost periodic, while a sequence is a nilsequence of degree at most ${0}$ if and only if it is constant. Such objects arise in higher order recurrence: for instance, if ${h_0,\dots,h_d}$ are integers, ${(X,\mu,T)}$ is a measure-preserving system, and ${f_0,\dots,f_d \in L^\infty(X)}$, then it was shown by Leibman that the sequence

$\displaystyle n \mapsto \int_X f_0(T^{h_0 n} x) \dots f_d(T^{h_d n} x)\ d\mu(x)$

is equal to a nilsequence of degree at most ${d}$, plus a null sequence. (The special case when the measure-preserving system was ergodic and ${h_i = i}$ for ${i=0,\dots,d}$ was previously established by Bergelson, Host, and Kra.) Nilsequences also arise in the inverse theory of the Gowers uniformity norms, as discussed for instance in this previous post.

It is easy to see that a sequence ${a: {\bf Z} \rightarrow {\bf C}^m}$ is a basic nilsequence of degree at most ${d}$ if and only if each of its ${m}$ components are. The scalar basic nilsequences ${a: {\bf Z} \rightarrow {\bf C}}$ of degree ${d}$ are easily seen to form a ${*}$-algebra (that is to say, they are a complex vector space closed under pointwise multiplication and complex conjugation), which implies similarly that vector-valued basic nilsequences ${a: {\bf Z} \rightarrow {\bf C}^m}$ of degree at most ${d}$ form a complex vector space closed under complex conjugation for each ${m}$, and that the tensor product of any two basic nilsequences of degree at most ${d}$ is another basic nilsequence of degree at most ${d}$. Similarly with “basic nilsequence” replaced by “nilsequence” throughout.

Now we turn to the notion of a nilcharacter, as defined in this paper of Ben Green, Tamar Ziegler, and myself:

Definition 3 (Nilcharacters) Let ${d \geq 1}$. A sub-nilcharacter of degree ${d}$ is a basic nilsequence ${\chi: n \mapsto F(g(n))}$ of degree at most ${d}$, such that ${F}$ obeys the additional modulation property

$\displaystyle F( g_d g ) = e( \xi \cdot g_d ) F(g) \ \ \ \ \ (1)$

for all ${g \in G}$ and ${g_d \in G_d}$, where ${\xi: G_d \rightarrow {\bf R}}$ is a continuous homomorphism ${g_d \mapsto \xi \cdot g_d}$. (Note from (1) and ${\Gamma}$-automorphy that unless ${F}$ vanishes identically, ${\xi}$ must map ${\Gamma_d}$ to ${{\bf Z}}$, thus without loss of generality one can view ${\xi}$ as an element of the Pontryagial dual of the torus ${G_d / \Gamma_d}$.) If in addition one has ${\|F(g)\|=1}$ for all ${g \in G}$, we call ${\chi}$ a nilcharacter of degree ${d \geq 1}$.

In the degree one case ${d=1}$, the only sub-nilcharacters are of the form ${\chi(n) = e(\alpha n)}$ for some vector ${c \in {\bf C}^m}$ and ${\alpha \in {\bf R}}$, and this is a nilcharacter if ${c}$ is a unit vector. Similarly, in higher degree, any sequence of the form ${\chi(n) = c e(P(n))}$, where ${c \in {\bf C}^m}$ is a vector and ${P: {\bf Z} \rightarrow {\bf R}}$ is a polynomial of degree at most ${d}$, is a sub-nilcharacter of degree ${d}$, and a character if ${c}$ is a unit vector. A nilsequence of degree at most ${d-1}$ is automatically a sub-nilcharacter of degree ${d}$, and a nilcharacter if it is of magnitude ${1}$. A further example of a nilcharacter is provided by the two-dimensional sequence ${\chi: {\bf Z} \rightarrow {\bf C}^2}$ defined by

$\displaystyle \chi(n) := ( F_0( \alpha n ) e( \{ \alpha n \} \beta n ), F_{1/2}( \alpha n ) e( \{ \alpha n - \frac{1}{2} \} \beta n ) ) \ \ \ \ \ (2)$

where ${F_0, F_{1/2}: {\bf R} \rightarrow {\bf C}}$ are continuous, ${{\bf Z}}$-automorphic functions that vanish on a neighbourhood of ${{\bf Z}}$ and ${\frac{1}{2}+{\bf Z}}$ respectively, and which form a partition of unity in the sense that

$\displaystyle |F_0(x)|^2 + |F_{1/2}(x)|^2 = 1$

for all ${x \in {\bf R}}$. Note that one needs both ${F_0}$ and ${F_{1/2}}$ to be not identically zero in order for all these conditions to be satisfied; it turns out (for topological reasons) that there is no scalar nilcharacter that is “equivalent” to this nilcharacter in a sense to be defined shortly. In some literature, one works exclusively with sub-nilcharacters rather than nilcharacters, however the former space contains zero-divisors, which is a little annoying technically. Nevertheless, both nilcharacters and sub-nilcharacters generate the same set of “symbols” as we shall see later.

We claim that every degree ${d}$ sub-nilcharacter ${f: {\bf Z} \rightarrow {\bf C}^m}$ can be expressed in the form ${f = c \chi}$, where ${\chi: {\bf Z} \rightarrow {\bf C}^{m'}}$ is a degree ${d}$ nilcharacter, and ${c: {\bf C}^{m'} \rightarrow {\bf C}^m}$ is a linear transformation. Indeed, by scaling we may assume ${f(n) = F(g(n))}$ where ${|F| < 1}$ uniformly. Using partitions of unity, one can find further functions ${F_1,\dots,F_m}$ also obeying (1) for the same character ${\xi}$ such that ${|F_1|^2 + \dots + |F_m|^2}$ is non-zero; by dividing out the ${F_1,\dots,F_m}$ by the square root of this quantity, and then multiplying by ${\sqrt{1-|F|^2}}$, we may assume that

$\displaystyle |F|^2 + |F_1|^2 + \dots + |F_m|^2 = 1,$

and then

$\displaystyle \chi(n) := (F(g(n)), F_1(g(n)), \dots, F_m(g(n)))$

becomes a degree ${d}$ nilcharacter that contains ${f(n)}$ amongst its components, giving the claim.

As we shall show below, nilsequences can be approximated uniformly by linear combinations of nilcharacters, in much the same way that quasiperiodic or almost periodic sequences can be approximated uniformly by linear combinations of linear phases. In particular, nilcharacters can be used as “obstructions to uniformity” in the sense of the inverse theory of the Gowers uniformity norms.

The space of degree ${d}$ nilcharacters forms a semigroup under tensor product, with the constant sequence ${1}$ as the identity. One can upgrade this semigroup to an abelian group by quotienting nilcharacters out by equivalence:

Definition 4 Let ${d \geq 1}$. We say that two degree ${d}$ nilcharacters ${\chi: {\bf Z} \rightarrow {\bf C}^m}$, ${\chi': {\bf Z} \rightarrow {\bf C}^{m'}}$ are equivalent if ${\chi \otimes \overline{\chi'}: {\bf Z} \rightarrow {\bf C}^{mm'}}$ is equal (as a sequence) to a basic nilsequence of degree at most ${d-1}$. (We will later show that this is indeed an equivalence relation.) The equivalence class ${[\chi]_{\mathrm{Symb}^d({\bf Z})}}$ of such a nilcharacter will be called the symbol of that nilcharacter (in analogy to the symbol of a differential or pseudodifferential operator), and the collection of such symbols will be denoted ${\mathrm{Symb}^d({\bf Z})}$.

As we shall see below the fold, ${\mathrm{Symb}^d({\bf Z})}$ has the structure of an abelian group, and enjoys some nice “symbol calculus” properties; also, one can view symbols as precisely describing the obstruction to equidistribution for nilsequences. For ${d=1}$, the group is isomorphic to the Ponytragin dual ${\hat {\bf Z} = {\bf R}/{\bf Z}}$ of the integers, and ${\mathrm{Symb}^d({\bf Z})}$ for ${d > 1}$ should be viewed as higher order generalisations of this Pontryagin dual. In principle, this group can be explicitly described for all ${d}$, but the theory rapidly gets complicated as ${d}$ increases (much as the classification of nilpotent Lie groups or Lie algebras of step ${d}$ rapidly gets complicated even for medium-sized ${d}$ such as ${d=3}$ or ${d=4}$). We will give an explicit description of the ${d=2}$ case here. There is however one nice (and non-trivial) feature of ${\mathrm{Symb}^d({\bf Z})}$ for ${d \geq 2}$ – it is not just an abelian group, but is in fact a vector space over the rationals ${{\bf Q}}$!

— 1. Properties of nilcharacters —

Much of the material here is an adaptation of material from Appendix E of my paper with Green and Ziegler. We focus primarily on nilcharacters, and discuss the theory of sub-nilcharacters in Remark 9.

We begin with the verification that equivalence of nilcharacters is indeed an equivalence relation. Symmetry is obvious (since the conjugate of a basic nilsequence is again a basic nilsequence). Now we turn to reflexivity. Let ${\chi(n) = F( g(n) )}$ be a degree ${d}$ nilcharacter. Then ${\chi \otimes \overline{\chi}}$ can be written as

$\displaystyle \chi \otimes \overline{\chi}(n) = F \otimes \overline{F}( g(n) ).$

From (1) we see that the function ${F \otimes \overline{F}: G \rightarrow {\bf C}^{m^2}}$ is ${G_d}$-invariant, and thus descends upon quotienting by the closed central subgroup ${G_d}$ of ${G}$ to a function on ${G/G_d}$ (which is ${\Gamma G_d/G_d}$ invariant). As ${G/G_d}$ is a filtered group of degree at most ${d-1}$, and ${G/\Gamma G_d}$ is similarly a filtered nilmanifold of degree at most ${d-1}$, this lets us describe ${\chi \otimes \overline{\chi}}$ as a nilsequence of degree ${\leq d-1}$, giving the claim. (It is instructive to calculate ${\chi \otimes \overline{\chi}}$ explicitly for the example (2) to see the quasiperiodic structure.) Finally, we show transitivity. If ${\chi_1}$ is equivalent to ${\chi_2}$, and ${\chi_2}$ is equivalent to ${\chi_3}$, then ${\chi_1 \otimes \overline{\chi_2}}$ and ${\chi_2 \otimes \overline{\chi_3}}$ are both nilsequences of degree ${\leq d-1}$, so their tensor product ${\chi_1 \otimes \overline{\chi_2} \otimes \chi_2 \otimes \overline{\chi_3}}$ is also. On the other hand, ${\chi_2}$ has magnitude ${1}$, so ${\overline{\chi_2} \otimes \chi_2}$ has trace one. Contracting, we conclude that ${\chi_1 \otimes \overline{\chi_3}}$ is a nilsequence of degree ${\leq d-1}$, establishing transitivity.

Remark 5 A variant of the above arguments shows that two degree ${d}$ nilcharacters ${\chi: {\bf Z} \rightarrow {\bf C}^m}$, ${\chi': {\bf Z} \rightarrow {\bf C}^{m'}}$ are equivalent if and only if ${\chi}$ can be expressed as ${c (\chi' \otimes \psi)}$ for some nilsequence ${\psi: {\bf Z} \rightarrow {\bf C}^{m''}}$ of degree at most ${d-1}$, and some linear transformation ${c: {\bf C}^{m'm''} \rightarrow {\bf C}^m}$.

Now we impose a group structure on ${\mathrm{Symb}^d({\bf Z})}$ by taking

$\displaystyle 0 := [1]_{\mathrm{Symb}^d({\bf Z})}$

to be the identity element,

$\displaystyle - [\chi]_{\mathrm{Symb}^d({\bf Z})} := [\overline{\chi}]_{\mathrm{Symb}^d({\bf Z})}$

to be the negation operation, and

$\displaystyle [\chi]_{\mathrm{Symb}^d({\bf Z})} + [\chi']_{\mathrm{Symb}^d({\bf Z})} := [\chi \otimes \chi']_{\mathrm{Symb}^d({\bf Z})}$

to be the group operation, for any degree ${d}$ nilcharacters ${\chi,\chi'}$.

It is clear that negation is well-defined: if ${\chi}$ is equivalent to ${\chi'}$, then ${\overline{\chi}}$ is equivalent to ${\overline{\chi'}}$. Similarly, the group operation is well-defined; for instance, if ${\chi'}$ is equivalent to ${\chi''}$, then ${\chi \otimes \chi'}$ is equivalent to ${\chi \otimes \chi''}$, since ${(\chi \otimes \chi') \otimes \overline{(\chi \otimes \chi'')}}$ is a rearrangement of the tensor product of ${\chi \otimes \overline{\chi}}$ and ${\chi' \otimes \overline{\chi''}}$, both of which are known to be nilsequences of degree at most ${d-1}$. It is also routine to check that the group operation is commutative and associative, that ${0}$ is indeed the group identity, and that the negation operation is the inverse of the addition operation.

Now we show that any nilsequence ${f: {\bf Z} \rightarrow {\bf C}^m}$ of degree at most ${d}$ may be approximated uniformly by finite linear combinations

$\displaystyle \sum_{j=1}^k c_j \chi_j$

of degree ${d}$ nilsequences ${\chi_j: {\bf Z} \rightarrow {\bf C}^{m_j}}$, where ${c_j: {\bf C}^{m_j} \rightarrow {\bf C}^m}$ are linear transformations. Clearly it suffices to show this for a basic nilsequence ${f(n) = F(g(n))}$. By the Stone-Weierstrass theorem, the continuous function ${F}$ can be approximated uniformly by smooth functions, so we may assume without loss of generality that ${F}$ is smooth. Quotienting out by the discrete group ${\Gamma_d}$, ${F}$ now descends to a function on ${G/\Gamma_d}$, which has a central free action of the torus ${G_d/\Gamma_d}$. Performing a (uniformly convergent) Fourier decomposition with respect to this group action (or, if one prefers, decomposing into isotypic components of this action), we may assume that ${F}$ obeys the equivariance property (1) for some character ${\xi}$ from ${G_d/\Gamma_d}$ to ${{\bf R}/{\bf Z}}$, which makes it a sub-nilcharacter, and the claim then follows.

In the case ${d=1}$, we have already noted that every nilcharacter takes the form ${\chi(n) = c e(\alpha n)}$ for some real number ${\alpha}$ and unit vector ${c}$, and it is easy to see that two such nilcharacters ${c e(\alpha n)}$, ${c' e(\alpha' n)}$ are equivalent if and only if ${\alpha}$ and ${\alpha'}$ differ by an integer. As such, one readily verifies that ${\mathrm{Symb}^1({\bf Z})}$ is isomorphic to ${{\bf R}/{\bf Z}}$, with the symbol of ${c e(\alpha n)}$ being identified with ${\alpha \hbox{ mod } 1}$. Similarly, if ${d > 1}$ and one restricts attention to nilcharacters of the form ${\chi(n) = c e(\alpha_d n^d + \dots + \alpha_0)}$, then the nilcharacters are equivalent if and only if the ${\alpha_d}$ differ by a rational, and so ${\mathrm{Symb}^d({\bf Z})}$ contains a copy of ${{\bf R}/{\bf Q}}$, with the symbol of ${c e(\alpha_d n^d + \dots + \alpha_0)}$ being identified with ${\alpha_d \hbox{ mod } {\bf Q}}$. (Among other things, this suggests that there is no particularly good (e.g. Hausdorff) topology to place on ${\mathrm{Symb}^d({\bf Z})}$ for ${d>1}$, in contrast to the Pontryagin dual which has a natural topology (the compact-open topology).

Nilcharacters behave well with translation and dilation:

Lemma 6 (Affine symmetry) Let ${d \geq 1}$, and let ${\chi: {\bf Z} \rightarrow {\bf C}^m}$ be a nilcharacter.

• For any integer ${h}$, the shift ${n \mapsto \chi(n+h)}$ is equivalent to ${\chi}$: ${[\chi(\cdot+h)]_{\mathrm{Symb}^d({\bf Z})} = [\chi]_{\mathrm{Symb}^d({\bf Z})}}$.
• For any integer ${q}$, the dilation ${n \mapsto \chi(qn)}$ is equivalent to ${\chi^{\otimes q^d}}$ (the tensor product of ${q^d}$ copies of ${\chi}$: ${[\chi(q\cdot)]_{\mathrm{Symb}^d({\bf Z})} = q^d[\chi]_{\mathrm{Symb}^d({\bf Z})}}$.

The reader may check that this lemma is consistent with the identification of the symbol of ${c e(\alpha_d n^d + \dots + \alpha_0)}$ with ${\alpha_d \hbox{ mod } {\bf Q}}$.

Proof: For the first claim, it suffices to represent ${\chi(\cdot+h) \otimes \overline{\chi}(\cdot)}$ as a nilsequence of degree at most ${d-1}$. If ${\chi(n) = F(g(n))}$, then this sequence can be expanded as

$\displaystyle n \mapsto F(g(n+h)) \otimes \overline{F}(g(n)).$

The sequence ${n \mapsto (g(n+h), g(n))}$ can be verified to be a polynomial sequence in ${G^\Box}$, which is defined to be the filtered group ${G^\Box = G_0 \times_{G_1} G_0}$ with subgroups ${G^\Box_i := G_i \times_{G_{i+1}} G_i}$, where ${G_i \times_{G_{i+1}} G_i}$ is the collection of pairs ${(g_i, g'_i) \in G_i \times G_i}$ such that ${g_i \in g'_i G_{i+1}}$. From (1) we see that the function ${(g,g') \mapsto F(g) \otimes \overline{F}(g')}$ is invariant with respect to the central action of ${G^\Box_d}$ (which is the diagonally embedded copy of ${G_d}$ in ${G_d \times G_d}$). If we then define ${\overline{G^\Box}}$ to be the quotient of ${G^\Box}$ by ${G^\Box_d}$, this is now a filtered group of degree at most ${d-1}$, and the polynomial sequence ${n \mapsto (g(n+h),g(n))}$ projects to a polynomial sequence ${\overline{g^\Box}}$ in ${\overline{G^\Box}}$, with a representation of the form

$\displaystyle F(g(n+h)) \otimes \overline{F}(g(n)) = \overline{F^\Box}( \overline{g^\Box}(n))$

for some continuous function ${\overline{F^\Box}: \overline{G^\Box} \rightarrow {\bf C}^{m^2}}$ which is automorphic with respect to the projection of ${G^\Box}$ to ${\overline{G^\Box}}$. This gives the first claim.

The second claim is proven similarly, with the role of ${G_i \times_{G_{i+1}} G_i}$ being played by the collection of pairs ${(g_i, g'_i) \in G_i \times G_i}$ such that ${g_i \in (g'_i)^{q^i} G_{i+1}}$; we leave the details to the interested reader (or see Lemma E.8(v) of my paper with Green and Ziegler). $\Box$

Now we connect the symbol with equidistribution.

Proposition 7 Let ${d \geq 1}$, and let ${\chi: {\bf R} \rightarrow {\bf C}^m}$ be a nilcharacter. Then ${[\chi]_{\mathrm{Symb}^d({\bf Z})}}$ vanishes if and only if there exists a nilsequence ${f}$ of degree at most ${d-1}$ such that

$\displaystyle \limsup_{N \rightarrow \infty} |\sum_{n=1}^N \chi(n) \otimes f(n)| > 0.$

Actually, the limits of sequences such as ${\lim_{N \rightarrow \infty} \sum_{n=1}^N \chi(n) \otimes f(n)}$ always exist, and are in fact equal to ${\lim_{N \rightarrow \infty} \sum_{n=M_N+1}^{M_N+N} \chi(n) \otimes f(n)}$ for an arbitrary sequence ${M_N}$; this follows from the equidistribution theorem of Leibman.

Proof: If ${[\chi]_{\mathrm{Symb}^d({\bf Z})}}$ vanishes, then ${\chi}$ is a nilsequence of degree ${d-1}$, and ${\chi \otimes \overline{\chi}}$ has trace ${!1}$. The forward implication then follows by taking ${f = \overline{\chi}}$.

Now we establish the converse implication. As ${f}$ is a sub-nilcharacter of vanishing symbol, we may write it as a linear transform of a nilcharacter ${\chi'}$ of vanishing symbol. By replacing ${\chi}$ with ${\chi \otimes \chi'}$ (which does not affect the symbol), we may thus assume without loss of generality that ${f}$ is the identity, that is to say we may assume without loss of generality that

$\displaystyle \limsup_{N \rightarrow \infty} |\sum_{n=1}^N \chi(n)| > 0.$

When ${d=1}$ this immediately shows that ${\chi}$ is constant from Fourier analysis, so assume ${d>1}$. Write ${\chi(n) = F(g(n))}$. Now we appeal to the factorisation theorem for nilsequences (see Corollary 1.12 of this paper of myself and Ben Green to factorise

$\displaystyle g(n) = \varepsilon g'(n) \gamma(n)$

where ${\varepsilon \in G}$ is a constant, ${\gamma}$ is a polynomial sequence which is rational in the sense that there is a natural number ${m}$ such that ${\gamma(n)^m \in\Gamma}$ for all ${n \in {\bf Z}}$ (which, among other things, implies that ${\gamma(n) \Gamma'}$ is periodic in ${n}$ for any subgroup ${\Gamma'}$ commensurate to ${\Gamma}$), and ${g'}$ is another periodic sequence which takes values in a filtered subgroup ${G'}$ of ${G}$ such that ${G' = G'_0}$ and ${G'_i}$ is a connected, simply connected Lie group containing ${\Gamma \cap G'_i}$ as a cocompact subgroup for each ${i}$, such that ${g'(n) \Gamma'}$ is totally equidistributed (that is, equidistributed along any arithmetic progression) in ${G'/\Gamma'}$ for any ${\Gamma'}$ commensurate to ${\Gamma \cap G'}$.

By the triangle inequality, we can find an arithmetic progression in which ${\gamma(n) = \gamma}$ is constant and ${\chi}$ has non-zero mean. On this progression we have ${\chi(n) = \tilde F(g'(n))}$, where ${\tilde F: G' \rightarrow {\bf C}^m}$ is the function ${\tilde F(g) := F(\varepsilon g \gamma)}$. This function is automorphic with respect to the group ${\gamma^{-1} \Gamma \gamma \cap G'}$, which is commensurate with ${\Gamma \cap G'}$ as ${\gamma}$ is rational; by equidistribution, we conclude that ${\tilde F}$ has non-zero mean on ${G'}$. But ${\tilde F}$ obeys the equivariance property (1) for ${g_d}$ in ${G'_d}$, and hence ${\xi}$ must annihilate all of ${G'_d}$. Quotienting out by ${G'_d}$, we can thus represent ${\chi}$ on this progression by a nilsequence of degree at most ${d-1}$. On other progressions of the same spacing, the constant ${\gamma}$ changes, but ${\xi}$ still annihilates ${G'_d}$, so ${\chi}$ is also a nilsequence of degree at most ${d-1}$ on all other progressions. Since the indicator function of an arithmetic progression is also a nilsequence of degree at most ${1}$, and hence at most ${d-1}$, ${\chi}$ itself is a nilsequence of degree at most ${d-1}$, as required. $\Box$

Remark 8 One can almost obtain this result by using the arguments of Bogdanov and Viola, but the assertion that ${[\chi]_{\mathrm{Symb}^d({\bf Z})}}$ vanishes becomes replaced with the weaker assertion that ${[\chi]_{\mathrm{Symb}^d({\bf Z})}}$ can be approximated to arbitrary accuracy (in some normalised ${\ell^1}$ sense) by nilsequences of degree at most ${d-1}$. In the finite field setting one can use an “error correction” argument to recover an analogue of the above proposition by the Bogdanov-Viola argument; see this paper of Ben Green and myself. But we do not know how to do this in the nilsequence setting without using the same sort of machinery used in the above proof of the proposition.

Remark 9 Now we can discuss the relationship of sub-nilcharacters with nilcharacters. We have already observed that any degree ${d}$ sub-nilcharacter ${f}$ is of the form ${c \psi}$, where ${\psi}$ is a degree ${d}$ nilcharacter and ${c}$ is a linear transformation; conversely, any sequence of the form ${c \psi}$ will be a degree ${d}$ sub-nilcharacter. If a sub-nilcharacter ${f}$ that is not identically zero has two representations ${f = c \psi = c' \psi'}$, then ${|f|^2 = \tilde c( \psi \otimes \overline{\psi'})}$ for some linear functional ${\tilde c}$. The mean of ${|f|^2}$ is then non-zero by the equidistribution theory of nilmanifolds, hence by the above proposition, ${[\psi \otimes \overline{\psi'}]_{\mathrm{Symb}^d({\bf Z})}}$ vanishes, thus ${\psi}$ and ${\psi'}$ have the same symbol. Because of this, it becomes meaningful to talk about the symbol ${[f]_{\mathrm{Symb}^d({\bf Z})}}$ of a sub-nilcharacter as long as it is not identically zero. This symbol can then easily be verified to be a homomorphism in the sense that ${[f \otimes f']_{\mathrm{Symb}^d({\bf Z})} = [f]_{\mathrm{Symb}^d({\bf Z})} + [f']_{\mathrm{Symb}^d({\bf Z})}}$ whenever ${f,f'}$ are degree ${d}$ sub-nilcharacters with ${f \otimes f'}$ not identically zero. Thus one has a reasonably satisfactory theory of symbols for sub-nilcharacters as well as nilcharacters, although the presence of zero divisors does create some additional annoying technical issues, which is the main reason we focus instead on nilcharacters in this post.

For similar reasons, we can also assign a symbol in ${\mathrm{Symb}^d({\bf Z})}$ to any bracket polynomial of degree at most ${d}$; we omit the details.

Now we discuss the structure of ${\mathrm{Symb}^2({\bf Z})}$. Amongst the elements of this group, we have the symbols ${[\alpha]}$ for ${\alpha \in {\bf R}}$, defined as the symbol of the nilcharacter ${n \mapsto e(\alpha n^2)}$. These symbols obey the laws

$\displaystyle [\alpha] + [\beta] = [\alpha+\beta]$

and

$\displaystyle [a/q] = 0$

for any rational ${a/q}$ (since ${n \mapsto e(an^2/q)}$ is periodic and thus a nilsequence of degree at most ${1}$). In addition, we have the symbols ${[\alpha \ast \beta]}$, defined for ${\alpha,\beta \in {\bf R}}$ to be the symbol of the nilcharacter (2). It is clear from definition that these symbols are linear in ${\beta}$:

$\displaystyle [\alpha \ast \beta] + [\alpha \ast \beta'] = [\alpha \ast (\beta+\beta')]. \ \ \ \ \ (3)$

Also, if one of ${\alpha}$ or ${\beta}$ is rational, then the nilcharacter collapses to a nilsequence of degree at most one, and thus

$\displaystyle [a/q * \alpha] = [\alpha * a/q] = 0$

for any rational ${a/q}$ and real ${\alpha}$. Furthermore, we also have the identity

$\displaystyle [\alpha * \beta] + [\beta * \alpha] = [\alpha \beta].$

To see this, observe that ${e( (\alpha n - \{ \alpha n \})(\beta n - \{\beta n \})) = 1}$ since the argument of ${e()}$ is the product of two integers. We can rewrite this as

$\displaystyle e( \{ \alpha n \} \beta n ) e( \{ \beta n \} \alpha n ) = e( \alpha \beta n ).$

The sub-nilcharacter ${F( \alpha n ) e( \{ \alpha n \} \beta n )}$, where ${F: {\bf R} \rightarrow {\bf C}}$ is ${{\bf Z}}$-automorphic and vanishing on a neighbourhood of ${{\bf Z}}$, has symbol ${[\alpha*\beta]}$, and similarly ${F( \beta n ) e( \{ \beta n \} \alpha n )}$ has symbol ${[\beta*\alpha]}$. One can arrange matters so that the product is not identically zero, and by the above identity the symbol will be ${[\alpha \beta]}$, giving the claim. From this and (3) we see that ${\alpha \ast \beta}$ is also linear in ${\alpha}$:

$\displaystyle [\alpha \ast \beta] + [\alpha' \ast \beta] = [(\alpha + \alpha') \ast \beta].$

Finally, noting that ${F(\alpha n / 2) e( (\alpha n - \{ \alpha n \})^2 / 2)}$ is a nilsequence of degree at most ${1}$ if ${F}$ vanishes on a neighbourhood of ${{\bf Z}/2}$, one can show that

$\displaystyle [\alpha * \alpha] = [\alpha^2 / 2].$

These turn out to be a generating set of identities for ${\mathrm{Symb}^2({\bf Z})}$:

Proposition 10 ${\mathrm{Symb}^2({\bf Z})}$ is generated by the symbols ${[\alpha]}$ and ${[\alpha * \beta]}$ for ${\alpha,\beta \in {\bf R}}$, subject to the identities listed above.

Proof: The fact that any degree ${2}$ nilcharacter can be expressed as a finite integer linear combination of the symbols ${[\alpha]}$ and ${[\alpha * \beta]}$ follows from the calculations in Section 12 of this paper of Green and myself. Now we need to show that a finite integer linear combination of these symbols only vanishes when such vanishing can be deduced from the above relations. Given such a combination, we can use express all real numbers ${\alpha,\beta}$ involved as integer combinations of a linearly independent basis ${1, \xi_1,\dots,\xi_m}$ over the rationals, and after many applications of the above identities we may then place the linear combination in the normal form

$\displaystyle \sum_{1 \leq i < j \leq m} a_{ij} [\xi_i * \xi_j] + [\eta] \ \ \ \ \ (4)$

for some integers ${a_{ij}}$ and real ${\eta}$. It will then suffice to show that such linear combinations can only vanish when all the ${a_{ij}}$ are zero and ${\eta}$ is a rational.

The claim is clear when the ${a_{ij}}$ all vanish, so suppose for instance that ${a_{12}}$ does not vanish. If one takes ${G}$ to be the free nilpotent Lie group of degree ${2}$ generated by ${m}$ generators ${e_1,\dots,e_m}$, and ${\Gamma}$ to be the discrete subgroup generated by the same generators, then one can construct a sub-nilsequence ${f}$ with the symbol (4) by the formula

$\displaystyle f(n) := e(\eta n^2) F( e_m^{\xi_m n} \dots e_1^{\xi_1 n} )$

where ${F:G \rightarrow {\bf C}}$ is a continuous ${\Gamma}$-automorphic function such that

$\displaystyle F( [e_j, e_i]^t g ) = e(a_{ij} t) F(g) \ \ \ \ \ (5)$

for all ${1 \leq i < j \leq n}$, ${g \in G}$, and ${t \in {\bf R}}$.

If the symbol (4) vanishes, then this sub-nilsequence must correlate with a linear phase, thus

$\displaystyle n \mapsto e(\eta n^2 + \gamma n) F( e_m^{\xi_m n} \dots e_1^{\xi_1 n} )$

must have non-zero mean. Suppose first that ${\eta}$ is irrational. The sequence ${n \mapsto (\eta n^2 + \gamma_n, e_m^{\xi_m n} \dots e_1^{\xi_1 n} )}$ is a polynomial sequence into ${{\bf R} \times G}$, whose quotient onto the abelianisation ${{\bf R} \times {\bf R}^m}$ is easily seen to be equidistributed modulo ${{\bf Z} \times {\bf Z}^m}$. Applying the equidistribution results , this implies that the polynomial sequence into ${{\bf R} \times G}$ is equidistributed modulo ${{\bf Z} \times \Gamma}$. This implies that the ${{\bf Z} \times \Gamma}$-automorphic function

$\displaystyle (x, g) \mapsto e(x) F(g)$

on ${{\bf R} \times G}$ has mean zero, which is absurd thanks to the ${e(x)}$ component. Similarly if ${\gamma}$ is irrational and independent (over ${{\bf Q}}$) of the ${1,\xi_1,\dots,\xi_m}$. The only remaining case is when ${\xi}$ is rational and ${\gamma}$ is a linear combination over ${{\bf Q}}$ of the ${1,\xi_1,\dots,\xi_m}$. By dividing the ${\xi_i}$ by a suitable natural number (and multiplying the ${a_{i,j}}$ appropriately), we may assume that ${\gamma}$ is the sum of a rational and an integer combination of the ${\xi_1,\dots,\xi_m}$, and then by passing to a suitable arithmetic progression we can absorb the ${e(\eta n^2 + \gamma n)}$ term into the ${F}$ term. The above equidistribution analysis now implies that ${F}$ has non-zero mean on ${G}$, hich is absurd thanks to (5) applied to the nonzero coefficient ${a_{12}}$. $\Box$

Remark 11 We can now define an anti-symmetric form ${\wedge}$ from ${{\bf R}/{\bf Q} \rightarrow {\bf R}/{\bf Q}}$ to ${\mathrm{Symb}^2({\bf Z})}$ by defining

$\displaystyle (\alpha+{\bf Q}) \wedge (\beta+{\bf Q}) := [\alpha * \beta] - [\alpha \beta / 2]$

for any real ${\alpha,\beta}$; one can check using the above identities that this is indeed a well-defined anti-symmetric form. The above proposition then gives an isomorphism

$\displaystyle \mathrm{Symb}^2({\bf Z}) \equiv \bigwedge^2 {\bf R}/{\bf Q} \oplus {\bf R}/{\bf Q}$

where we view ${{\bf R}/{\bf Q}}$ as a vector space over ${{\bf Q}}$. In particular ${\mathrm{Symb}^2({\bf Z})}$ is a vector space over ${{\bf Q}}$.

In principle, one could extend the above calculations to higher degrees, and give similarly explicit descriptions of ${\mathrm{Symb}^d({\bf Z})}$ for higher ${d}$. The claculations appear to become rather complicated, however. Nevertheless, we can at least establish the following:

Theorem 12 If ${d \geq 2}$, then the abelian group ${\mathrm{Symb}^d({\bf Z})}$ can be given the structure of a vector space over ${{\bf Q}}$.

Proof: In order to give a suitable action of ${{\bf Q}}$ on ${\mathrm{Symb}^d({\bf Z})}$, one needs to show two things:

• (divisible group) For every degree ${d}$ nilcharacter ${\chi}$ and natural number ${q}$, there exists a degree ${d}$ nilcharacter ${\chi'}$ such that ${(\chi')^{\otimes q}}$ is equivalent to ${\chi}$.
• (torsion-free) If ${\chi}$ is a degree ${d}$ nilcharacter and ${q}$ is a natural number such that ${\chi^{\otimes q}}$ has vanishing symbol, then ${\chi}$ also has vanishing symbol.

We begin with divisibility. It suffices by Lemma 6 to write ${\chi(n)}$ as ${\chi''(q n)}$ for some degree ${d}$ nilcharacter ${\chi''}$, since one can then take ${\chi'}$ equal to ${(\chi'')^{\otimes q^{d-1}}}$. This in turn is achievable if we can extend the polynomial sequence ${n \mapsto g(n)}$ from ${{\bf Z}}$ to ${G}$ associated to ${\chi}$ to a continuous polynomial sequence ${t \mapsto g(t)}$ from ${{\bf R}}$ to ${G}$. But any polynomial sequence can be written in the form ${g(n) = g_0 g_1^n \dots g_d^{n^d}}$ for some ${g_i \in G_i}$, and one simply takes ${g(t) = g_0 g_1^t \dots g_d^{t^d}}$ for ${t \in {\bf R}}$ (using the logarithm and exponential maps on the simply connected nilpotent groups ${G_i}$ to define the operation of raising to real powers). This establishes divisibility; we note that this also holds when ${d=1}$.

Now we establish that ${\mathrm{Symb}^d({\bf Z})}$ is torsion-free. If ${\chi^{\otimes q}}$ has vanishing symbol, then by Lemma 6, ${n \mapsto \chi(qn)}$ is a nilsequence of degree at most ${d-1}$, and hence correlates with a nilcharacter ${\chi'}$ of degree ${d-1}$. By the divisibility argument, we can write ${\chi'(n) = \chi''(qn)}$ for another nilcharacter ${\chi''}$ of degree ${d-1}$. Thus ${\chi}$ correlates with ${\chi''}$ on an arithmetic progression of spacing ${q}$, and hence by Fourier expansion (and the hypothesis ${d \geq 1}$) we see that ${\chi}$ correlates with a nilcharacter of degree at most ${d-1}$ on the entire integers, giving the claim. $\Box$