Algorithmic
Invariant Theory

ℝ[𝑥,𝑦]𝐷6=ℝ[𝑥2+𝑦2,Re(𝑥+𝑖𝑦)6]⁠

Cover: level curves of the invariant 𝑓=|𝑧6−1|2⁠ of the dihedral group 𝐷6⁠. The dots mark the orbit of the zeros of 𝑓⁠ and the fixed point 0.

Contents

Preface

These are the notes for Algorithmic Invariant Theory, taught at RPTU Kaiserslautern-Landau in the winter term 2026/27. They follow Sturmfels [Stu08] closely; Derksen and Kemper [DK15] is the reference for everything that goes further, and for the modern algorithms in particular.

The course exists in two sizes. The 2V+1U version (MAT-44-13A) covers Part I: invariant rings of finite groups, up to and including the algorithms that compute their generators. The 4V+2U version (MAT-44-13) continues with Part II: linearly reductive groups, the classical invariant theory of forms, and Hilbert’s and Derksen’s algorithms. Part II assumes Part I and nothing else.

Some section titles end with an asterisk ∗ — this denotes optional (facultative) content. It is not examinable, and Part II does not depend on it.

Invariant theory asks what stays the same. Given a group acting on a space, which functions does the action not change? The answer is a ring, and the question this course actually cares about is whether that ring can be written down: finitely many generators, explicit relations, computed by an algorithm that terminates. Hilbert’s 1890 finiteness theorem says the generators exist; his 1893 paper says how to find them. Neither is the end of the story, and the gap between “exists” and “computable in practice” is where most of the interesting mathematics sits.

Algorithms here are meant to be run. Where a computation illustrates the point better than prose, the notes show it in OSCAR, and several exercises ask you to implement the algorithms yourself.

There are no formal prerequisites. Informally the course assumes Algebraic Structures, Introduction to Algebra and Commutative Algebra: groups, rings, ideals, fields, Noetherian rings, Noether normalisation. When we recall a result from these courses, we cite Andreas Gathmann’s class notes for them [Gat23, Gat10, Gat13]. Computer Algebra is helpful but not assumed.

That leaves a wide span of backgrounds, so the rule here is to state what we use and move on. Notions from those courses are recalled where they are first needed — briefly, without proofs, and with a pointer to the course that does them properly. Gröbner bases get a section of their own, enough to use them and no more; if you have had Computer Algebra, skip it. Anything not on the list above is developed here, the graded and Cohen–Macaulay machinery of Part I in particular.

Characteristic zero is the default, and the reader may freely take 𝑘=ℂ⁠; we try to be explicit whenever we really use it.

These notes were written with major use of an AI assistant, which drafted the chapters and the exercise sheets from the two books under my direction, section by section, and ran the OSCAR computations. I planned the course, specified each chapter, reviewed the drafts and corrected what I found, but I have not yet checked everything in detail. AI-written mathematics can be wrong anywhere, from the English to the statements and proofs, and it can invent references or results that do not exist. Treat the unverified parts as a draft, not as a textbook.

The notes are typeset with Typst.

Each week, as I prepare the lectures, I go over the material I am about to teach, correct it, and publish the corrected version. A marker in the text, Verified up to here, shows how far that has got: above it the material has been checked and taught, and any error that remains is mine; below it the notes are an unverified draft, and every chapter not yet reached says so at the top. If you find a mistake anywhere, tell me.

Corrections and complaints are welcome.

Max Horn, Kaiserslautern

Notation

In the order in which the notes introduce the symbols; the last column points to the definition. Standard notation is not listed.

𝑘⁠a field, of characteristic 0⁠ unless said otherwise
𝑘[𝐱]⁠the polynomial ring 𝑘[𝑥1,…,𝑥𝑛]⁠Section 1.1
𝑆𝑛⁠, 𝐴𝑛⁠the symmetric group on {1,…,𝑛}⁠ under composition, and the alternating group, the kernel of the sign sgn:𝑆𝑛→{±1}⁠Section 1.1
𝜋⋅𝑓⁠the action of 𝜋∈𝑆𝑛⁠ on 𝑓∈𝑘[𝐱]⁠, 𝑓(𝑥𝜋(1),…,𝑥𝜋(𝑛))⁠Definition 1.1.1
𝑘[𝐱]𝐺⁠the polynomials fixed by a subgroup 𝐺≤𝑆𝑛⁠; for 𝐺=𝑆𝑛⁠ the symmetric polynomialsDefinition 1.1.1
𝜎𝑑⁠the 𝑑⁠-th elementary symmetric polynomialExample 1.1.6
𝑝𝑑⁠the 𝑑⁠-th power sum 𝑥1𝑑+⋯+𝑥𝑛𝑑⁠Example 1.1.7
trdeg𝑘𝐿⁠the transcendence degree of a field extension 𝑘⊆𝐿⁠Remark 1.1.13
𝐱𝑎⁠, |𝑎|⁠the monomial 𝑥1𝑎1⋯𝑥𝑛𝑎𝑛⁠ for 𝑎∈ℕ𝑛⁠, and its degree 𝑎1+⋯+𝑎𝑛⁠Definition 1.1.14
deg𝑓⁠the total degree of 𝑓⁠, with deg0=−∞⁠Definition 1.1.14
lm(𝑓)⁠, lc(𝑓)⁠the leading monomial and the leading coefficient of 𝑓⁠ for the monomial order in forceDefinition 1.1.16, Definition 1.3.1
Δ⁠the Vandermonde determinant ∏𝑖<𝑗(𝑥𝑖−𝑥𝑗)⁠Definition 1.1.28
𝑉⁠, 𝑒1,…,𝑒𝑛⁠the space 𝑘𝑛⁠ and its standard basisSection 1.2
𝐺𝐿𝑛(𝑘)⁠the group of invertible 𝑛×𝑛⁠ matrices over 𝑘⁠Section 1.2
𝑘[𝑉]⁠the coordinate ring of 𝑉⁠: the polynomial ring 𝑘[𝐱]⁠ in the coordinate functionsSection 1.2
𝑔⋅𝑓⁠the action of 𝑔∈𝐺𝐿𝑛(𝑘)⁠ on 𝑓∈𝑘[𝑉]⁠, (𝑔⋅𝑓)(𝑣)=𝑓(𝑔−1𝑣)⁠Definition 1.2.1
𝑘[𝑉]𝐺⁠the invariant ring {𝑓∈𝑘[𝑉]:𝑔⋅𝑓=𝑓 for all 𝑔∈𝐺}⁠Definition 1.2.3
𝑘[𝑉]𝑑⁠the homogeneous polynomials of degree 𝑑⁠, with 0⁠Definition 1.2.5
𝑊𝐺⁠the fixed vectors {𝑤∈𝑊:𝑔⋅𝑤=𝑤 for all 𝑔∈𝐺}⁠ of a 𝐺⁠-action on a vector space 𝑊⁠Definition 1.2.5
𝑘[𝑉]𝑑𝐺⁠the invariants of degree 𝑑⁠, with 0⁠Definition 1.2.5
𝐼⊴𝑅⁠𝐼⁠ is an ideal of the ring 𝑅⁠
𝐿(𝑆)⁠the leading ideal ⟨lm(𝑓):𝑓∈𝑆∖{0}⟩⁠ of a set of polynomialsDefinition 1.3.11
NF𝐺(𝑓)⁠the normal form of 𝑓⁠ modulo a Gröbner basis 𝐺⁠Theorem 1.3.14
𝜒𝑔(𝑧)⁠the characteristic polynomial det(𝑧𝐼−𝑔)⁠Example 1.2.12
ℛ︀⁠the Reynolds operator 𝑘[𝑉]→𝑘[𝑉]𝐺⁠Definition 2.1.4
𝛽(𝐺)⁠, 𝛽(𝑘[𝑉]𝐺)⁠the Noether number, the smallest 𝛽⁠ with 𝑘[𝑉]𝐺⁠ generated in degrees ≤𝛽⁠; chapter 6 writes the ring, since it depends on 𝑉⁠Definition 2.1.8
𝑅+⁠the positive-degree part ⨁𝑑>0𝑅𝑑⁠ of a graded algebraDefinition 2.2.1
𝐻(𝑅,𝑡)⁠the Hilbert series ∑𝑑≥0dim𝑘𝑅𝑑 𝑡𝑑⁠Definition 2.2.4
𝑔(𝑑)⁠the linear map 𝑓↦𝑔⋅𝑓⁠ on 𝑘[𝑉]𝑑⁠Lemma 2.2.10
𝔥⁠the Hilbert ideal ⟨𝑘[𝑉]+𝐺⟩⊴𝑘[𝑉]⁠Definition 2.3.1
𝐺̂⁠the group of characters 𝐺→𝑘×⁠ of a finite abelian groupDefinition 2.4.1
𝑜(𝑚)⁠the orbit sum ∑𝑚′∈𝐺⋅𝑚𝑚′⁠ of a monomial under a permutation groupDefinition 3.1.25
dim𝑅⁠the Krull dimension of a ringRemark 3.1.4
𝜃1,…,𝜃𝑛⁠a homogeneous system of parameters (hsop); for 𝑘[𝑉]𝐺⁠, primary invariants, of degrees 𝑑𝑖⁠Definition 3.1.9, Definition 3.2.10
𝑘[𝜃]⁠, ⟨𝜃⟩⁠the subalgebra and the ideal generated by 𝜃1,…,𝜃𝑟⁠ in the ring at handSection 3.1
depth𝑅⁠the depth of a graded algebra, the largest length of a regular sequence of homogeneous elements of 𝑅+⁠Remark 3.2.6
𝜂1,…,𝜂𝑠⁠secondary invariants, a basis of 𝑘[𝑉]𝐺⁠ over 𝑘[𝜃1,…,𝜃𝑛]⁠, of degrees 𝑒𝑗⁠, with 𝜂1=1⁠Definition 3.2.10
𝑘[𝑉]𝐺⁠the coinvariant algebra 𝑘[𝑉]/𝔥⁠Definition 3.5.6
𝑘[𝐺]⁠the coordinate ring of a linear algebraic group 𝐺≤𝐺𝐿𝑛(𝑘)⁠, the restrictions of polynomials in the entries and det−1⁠Remark 4.1.7
𝐺∘⁠the identity component of 𝐺⁠ in the Zariski topologySection 4.1
𝑉𝑑⁠the binary forms of degree 𝑑⁠, 𝑘[𝑥,𝑦]𝑑⁠, with coordinates 𝑎0,…,𝑎𝑑⁠Definition 4.1.11
𝑊𝑎⁠the weight space of a torus representation for the weight 𝑎⁠Definition 4.2.9
𝒩︀⁠the nullcone 𝑉(𝑘[𝑉]+𝐺)⁠Definition 4.4.1
𝜆⁠a one-parameter subgroup 𝑘×→𝐺⁠; lim𝑠→0𝜆(𝑠)⋅𝑣⁠Definition 4.4.3
𝑉⫽𝐺⁠, 𝜋⁠the categorical quotient, the variety with coordinate ring 𝑘[𝑉]𝐺⁠, and the quotient map 𝑉→𝑉⫽𝐺⁠Definition 4.4.9
𝑓∘𝑔⁠the form 𝑓⁠ with the matrix 𝑔⁠ substituted for the variables, (𝑓∘𝑔)(𝐱)=𝑓(𝑔𝐱)⁠Section 5.1
(𝐶,𝐶′)𝑟⁠the 𝑟⁠-th transvectant of two covariants of binary formsDefinition 5.2.1
𝐸,𝐹,𝐻⁠the three derivations of 𝔰𝔩2⁠, obtained by differentiating the action of 𝑢(𝑠)⁠, 𝑢−(𝑠)⁠, 𝑡(𝑠)⁠Definition 5.2.12
𝑊𝜆⁠the weight space of a representation of 𝑆𝐿2⁠ for the diagonal torusDefinition 5.2.9
𝑝(𝑑,𝑚,𝑤)⁠the number of monomials of degree 𝑚⁠ and weight 𝑤⁠ in 𝑎0,…,𝑎𝑑⁠Definition 5.2.25
Ω⁠Cayley’s Ω⁠-process det(𝜕/𝜕𝑧𝑖𝑗)⁠ on polynomials in a generic 𝑛×𝑛⁠ matrix 𝑍⁠; 𝛿=det𝑍⁠, 𝑐𝑝=Ω𝑝(𝛿𝑝)⁠Definition 5.3.1
Φ𝑃⁠for 𝑃∈𝑘[𝑉]⁠, the polynomial 𝑃(𝜌(𝑍)𝑣)⁠ in 𝑣⁠ and 𝑍⁠Section 5.3
[𝑖 𝑗]⁠the bracket 𝑥𝑖𝑦𝑗−𝑥𝑗𝑦𝑖⁠ of the 𝑖⁠-th and 𝑗⁠-th of several vectors in 𝑘2⁠Definition 5.5.5
Γ⁠, 𝔟⁠the graph {(𝑣,𝑔⋅𝑣)}⊆𝑉×𝑉⁠ of the action and its vanishing ideal in 𝑘[𝐱,𝐲]⁠Definition 6.2.1
𝛾(𝑘[𝑉]𝐺)⁠the smallest 𝑑⁠ such that the invariants of degree ≤𝑑⁠ have zero set 𝒩︀⁠Definition 6.3.1

Part IInvariants of finite groups

1Warm-up and tools

1.1Symmetric polynomials

The central objects of study in this course are invariants, and in particular invariant rings. We introduce them in the next section, Section 1.2. To get started, we look at what will turn out to be the prototypical example of an invariant ring: the ring of symmetric polynomials. We will find generators of this ring, show that they satisfy no polynomial relation, and give an algorithm that writes every symmetric polynomial in terms of them.

Convention. Throughout, 𝑘⁠ is a field and 𝑘[𝐱]≔𝑘[𝑥1,…,𝑥𝑛]⁠.

Recall that the symmetric group 𝑆𝑛⁠ is the group of all permutations of {1,…,𝑛}⁠ under composition; it has order 𝑛!⁠.

Definition 1.1.1 (Symmetric polynomial). For 𝜋∈𝑆𝑛⁠ and 𝑓∈𝑘[𝐱]⁠ set

𝜋⋅𝑓≔𝑓(𝑥𝜋(1),…,𝑥𝜋(𝑛)),

that is, substitute 𝑥𝜋(𝑖)⁠ for 𝑥𝑖⁠ everywhere. In particular 𝜋⋅𝑥𝑖=𝑥𝜋(𝑖)⁠.

A polynomial 𝑓⁠ is symmetric if 𝜋⋅𝑓=𝑓⁠ for all 𝜋∈𝑆𝑛⁠. The symmetric polynomials form a subring 𝑘[𝐱]𝑆𝑛⊆𝑘[𝐱]⁠.

Example 1.1.2 (Symmetric and not symmetric). Let 𝑛=3⁠.

  1. (1)𝑥1+𝑥2+𝑥3⁠, 𝑥1𝑥2𝑥3⁠ and 𝑥12+𝑥22+𝑥32⁠ are symmetric: permuting the variables only permutes their terms.

  2. (2)𝑥1⁠ is not symmetric: the transposition 𝜏=(1 2)⁠ gives 𝜏⋅𝑥1=𝑥2⁠.

  3. (3)Let 𝑓≔𝑥12𝑥2+𝑥22𝑥3+𝑥32𝑥1⁠. The 3⁠-cycle 𝜋=(1 2 3)⁠ substitutes 𝑥2,𝑥3,𝑥1⁠ for 𝑥1,𝑥2,𝑥3⁠, so

    𝜋⋅𝑓=𝑥22𝑥3+𝑥32𝑥1+𝑥12𝑥2=𝑓.

    But 𝜏⋅𝑓=𝑥22𝑥1+𝑥12𝑥3+𝑥32𝑥2≠𝑓⁠, so 𝑓⁠ is not symmetric. We come back to this polynomial in Example 1.1.32.

The following definition is from Introduction to Algebra [Gat10, Definition 7.9].

Definition 1.1.3 (Group action). An action of a group 𝐺⁠ on a set 𝑋⁠ is a map 𝐺×𝑋→𝑋⁠, (𝑔,𝑥)↦𝑔⋅𝑥⁠, such that

  1. (1)𝑒⋅𝑥=𝑥⁠ for all 𝑥∈𝑋⁠, where 𝑒⁠ is the neutral element of 𝐺⁠;

  2. (2)𝑔⋅(ℎ⋅𝑥)=(𝑔⋅ℎ)⋅𝑥⁠ for all 𝑔,ℎ∈𝐺⁠ and 𝑥∈𝑋⁠, where 𝑔⋅ℎ⁠ is the product in 𝐺⁠.

The second axiom refers to the product of 𝐺⁠, and for 𝑆𝑛⁠ two products are in use, opposite to each other. Composition, (𝜎∘𝜏)(𝑖)≔𝜎(𝜏(𝑖))⁠, applies the right factor first. The product 𝜎𝜏≔𝜏∘𝜎⁠ applies the left factor first. It goes with writing permutations to the right of their argument, so that 𝑖𝜎𝜏=(𝑖𝜎)𝜏⁠.

Convention. In these notes 𝑆𝑛⁠ carries composition.

This is the convention of Algebraic Structures [Gat23, Bemerkung 2.9 (b)], Sturmfels [Stu08] and Derksen and Kemper [DK15].

Lemma 1.1.4. The map (𝜋,𝑓)↦𝜋⋅𝑓⁠ of Definition 1.1.1 is an action of (𝑆𝑛,∘)⁠ on 𝑘[𝐱]⁠.

Proof. The identity substitutes each 𝑥𝑖⁠ for itself. For the second axiom, note that both sides are substitutions, that is, 𝑘⁠-algebra homomorphisms 𝑘[𝐱]→𝑘[𝐱]⁠, and such a homomorphism is determined by the images of 𝑥1,…,𝑥𝑛⁠ (Remark 1.1.8). So it suffices to compare the two sides on the variables:

𝜋⋅(𝜏⋅𝑥𝑖)=𝜋⋅𝑥𝜏(𝑖)=𝑥𝜋(𝜏(𝑖))=𝑥(𝜋∘𝜏)(𝑖)=(𝜋∘𝜏)⋅𝑥𝑖.

□⁠

Remark 1.1.5. GAP and OSCAR multiply permutations the other way, 𝜎𝜏=𝜏∘𝜎⁠, which is the standard in computational group theory. With that product the computation above reads 𝜋⋅(𝜏⋅𝑓)=(𝜏𝜋)⋅𝑓⁠: the map of Definition 1.1.1 is then a right action, usually written 𝑓𝜋⁠, and the left action for that product is 𝜋⋅𝑥𝑖≔𝑥𝜋−1(𝑖)⁠ instead. A product and an action are chosen together.

For code this means: on_indeterminates(f, pi) substitutes 𝑥𝑖↦𝑥𝜋(𝑖)⁠ and so computes our 𝜋⋅𝑓⁠ exactly, but a product 𝜋∘𝜏⁠ has to be entered as tau * pi.

We now meet two families of symmetric polynomials.

Example 1.1.6 (Elementary symmetric polynomials). The elementary symmetric polynomials 𝜎1,…,𝜎𝑛⁠ are the coefficients of

∏𝑖=1𝑛(𝑧−𝑥𝑖)=𝑧𝑛−𝜎1𝑧𝑛−1+𝜎2𝑧𝑛−2−⋯+(−1)𝑛𝜎𝑛,

(1.1)

that is, 𝜎𝑑=∑𝑖1<⋯<𝑖𝑑𝑥𝑖1⋯𝑥𝑖𝑑⁠. For 𝑛=3⁠:

𝜎1=𝑥1+𝑥2+𝑥3, 𝜎2=𝑥1𝑥2+𝑥1𝑥3+𝑥2𝑥3, 𝜎3=𝑥1𝑥2𝑥3.

In general 𝜎1=𝑥1+⋯+𝑥𝑛⁠ and 𝜎𝑛=𝑥1⋯𝑥𝑛⁠. Each 𝜎𝑑⁠ is symmetric, since permuting the 𝑥𝑖⁠ permutes the factors of the product on the left of Equation 1.1 and so leaves it unchanged.

Example 1.1.7 (Power sums). The power sums are 𝑝𝑑≔𝑥1𝑑+𝑥2𝑑+⋯+𝑥𝑛𝑑⁠ for 𝑑≥1⁠. Each of them is symmetric.

Algebraically independent generators

Our goal is to show that 𝑘[𝐱]𝑆𝑛⁠ is isomorphic to a polynomial ring. This is not obvious: 𝑘[𝐱]𝑆𝑛⁠ is a proper subring of a polynomial ring, and such subrings are often not polynomial rings themselves (Example 1.2.9). An isomorphism from a polynomial ring onto 𝑘[𝐱]𝑆𝑛⁠ must be surjective, which needs generators, and injective, which needs these generators to satisfy no polynomial relation. We first recall the notions involved.

Remark 1.1.8. A 𝑘⁠-algebra is a ring 𝑅⁠ that is at the same time a 𝑘⁠-vector space, the two structures being compatible: the addition is the same operation in both, and

𝜆(𝑎𝑏)=(𝜆𝑎)𝑏=𝑎(𝜆𝑏) (𝜆∈𝑘,  𝑎,𝑏∈𝑅).

Equivalently, 𝑅⁠ is a ring together with a ring homomorphism 𝑘→𝑅⁠ whose image lies in the centre of 𝑅⁠, namely 𝜆↦𝜆⋅1𝑅⁠; for commutative 𝑅⁠ this is the definition in Commutative Algebra [Gat13, Definition 1.23].

A 𝑘⁠-algebra homomorphism is a map that is both a ring homomorphism and 𝑘⁠-linear; equivalently, a ring homomorphism 𝜑⁠ with 𝜑(𝜆⋅1)=𝜆⋅1⁠ for all 𝜆∈𝑘⁠.

Examples of 𝑘⁠-algebras are the polynomial ring 𝑘[𝐱]⁠, the invariant ring 𝑘[𝐱]𝑆𝑛⁠, any field extension of 𝑘⁠, the matrix ring 𝑀𝑛(𝑘)⁠, and 𝑘⁠ itself. All rings in these notes are associative with 1⁠, and commutative with the exception of 𝑀𝑛(𝑘)⁠.

A 𝑘⁠-algebra homomorphism defined on 𝑘[𝐱]⁠ is determined by the images of 𝑥1,…,𝑥𝑛⁠, since every element of 𝑘[𝐱]⁠ is built from those by the operations such a homomorphism preserves.

Let 𝑓1,…,𝑓𝑚⁠ be elements of a 𝑘⁠-algebra 𝑅⁠. There is exactly one 𝑘⁠-algebra homomorphism

𝜑:𝑘[𝑦1,…,𝑦𝑚]⟶𝑅, 𝑦𝑗⟼𝑓𝑗,

(1.2)

namely the one sending a polynomial 𝑔⁠ to 𝑔(𝑓1,…,𝑓𝑚)⁠. The next two definitions are properties of this map.

Definition 1.1.9 (Generating a 𝑘⁠-algebra). 𝑓1,…,𝑓𝑚⁠ generate 𝑅⁠ as a 𝑘⁠-algebra if every element of 𝑅⁠ is a polynomial in 𝑓1,…,𝑓𝑚⁠ with coefficients in 𝑘⁠, that is, if 𝜑⁠ is surjective. We then write 𝑅=𝑘[𝑓1,…,𝑓𝑚]⁠.
Definition 1.1.10 (Algebraic independence). 𝑓1,…,𝑓𝑚⁠ are algebraically independent over 𝑘⁠ if the only 𝑔∈𝑘[𝑦1,…,𝑦𝑚]⁠ with 𝑔(𝑓1,…,𝑓𝑚)=0⁠ is 𝑔=0⁠, that is, if 𝜑⁠ is injective.
Remark 1.1.11. If both hold, 𝜑⁠ is an isomorphism, so 𝑅≅𝑘[𝑦1,…,𝑦𝑚]⁠: the ring 𝑅⁠ is a polynomial ring in 𝑚⁠ variables, with the 𝑓𝑗⁠ as its variables. Theorem 1.1.20 asserts exactly this for 𝑅=𝑘[𝐱]𝑆𝑛⁠ and 𝑓𝑑=𝜎𝑑⁠, with 𝑚=𝑛⁠.

Example 1.1.12 (Independent and dependent). In 𝑘[𝑥1,𝑥2]⁠:

  1. (1)𝑥1,𝑥2⁠ are algebraically independent; that is what makes 𝑘[𝑥1,𝑥2]⁠ a polynomial ring.

  2. (2)𝑥1⁠ and 𝑥12⁠ are not: for 𝑔=𝑦12−𝑦2⁠ we get 𝑔(𝑥1,𝑥12)=0⁠.

  3. (3)𝑥1+𝑥2⁠, 𝑥1𝑥2⁠ and 𝑥12+𝑥22⁠ are not: take 𝑔=𝑦12−2𝑦2−𝑦3⁠.

  4. (4)𝑥1+𝑥2⁠ and 𝑥1𝑥2⁠ are algebraically independent. This is Theorem 1.1.20 for 𝑛=2⁠.

How many algebraically independent elements can there be? Recall from Commutative Algebra [Gat13, Definition 11.25, Proposition and Definition 11.29] the transcendence degree trdeg𝑘𝐿⁠ of a field extension 𝑘⊆𝐿⁠: the number of elements of a transcendence basis, that is, of an algebraically independent subset 𝐵⊆𝐿⁠ such that 𝐿⁠ is algebraic over 𝑘(𝐵)⁠; all transcendence bases have the same number of elements.

Remark 1.1.13.
  1. (1)The field 𝑘(𝐱)=𝑘(𝑥1,…,𝑥𝑛)⁠ of rational functions has transcendence degree 𝑛⁠ over 𝑘⁠, with transcendence basis {𝑥1,…,𝑥𝑛}⁠ [Gat13, Example 11.30 (c)].

  2. (2)Let 𝐿⁠ be a field extension of 𝑘⁠, let 𝐴⊆𝐿⁠ be algebraically independent and 𝐶⊆𝐿⁠ a subset such that 𝐿⁠ is algebraic over 𝑘(𝐶)⁠. Then 𝐴⁠ can be extended by elements of 𝐶⁠ to a transcendence basis of 𝐿⁠ over 𝑘⁠ [Gat13, Lemma 11.28].

By (1) and (2), at most 𝑛⁠ elements of 𝑘(𝐱)⁠, and so of 𝑘[𝐱]⁠, are algebraically independent over 𝑘⁠. So 𝜎1,…,𝜎𝑛⁠ are as many as there can be. Section 2.1 uses (2) again, for every finite group.

The fundamental theorem

We first fix some notation for polynomials; the degree is defined as in Commutative Algebra.

Definition 1.1.14 (Monomials, degree).
  1. (1)For 𝑎∈ℕ𝑛⁠ let 𝐱𝑎≔𝑥1𝑎1⋯𝑥𝑛𝑎𝑛⁠ and |𝑎|≔𝑎1+⋯+𝑎𝑛⁠. The 𝐱𝑎⁠ are the monomials. Every 𝑓∈𝑘[𝐱]⁠ is uniquely a finite sum 𝑓=∑𝑎𝑐𝑎𝐱𝑎⁠ with 𝑐𝑎∈𝑘⁠, and 𝐱𝑎⁠ occurs in 𝑓⁠ if 𝑐𝑎≠0⁠. A term is a scalar multiple 𝑐 𝐱𝑎⁠, 𝑐∈𝑘⁠, of a monomial.

  2. (2)The degree, or total degree, of 𝑓≠0⁠ is

    deg𝑓≔max{|𝑎|:𝐱𝑎 occurs in 𝑓},

    and deg0≔−∞⁠.

  3. (3)𝑓⁠ is homogeneous of degree 𝑑⁠ if every monomial occurring in 𝑓⁠ has degree 𝑑⁠.

Example 1.1.15 (Degree). Let 𝑛=3⁠ and 𝑓=3𝑥25−2𝑥1𝑥32+7𝑥1⁠. The monomials occurring in 𝑓⁠ are 𝑥25⁠, 𝑥1𝑥32⁠ and 𝑥1⁠, of degrees 5⁠, 3⁠ and 1⁠. So deg𝑓=5⁠, and 𝑓⁠ is not homogeneous. Each elementary symmetric polynomial 𝜎𝑑⁠ is homogeneous of degree 𝑑⁠.

Since 𝑘⁠ is a field, deg(𝑓𝑔)=deg𝑓+deg𝑔⁠ [Gat13, Exercise 0.16]. The following definition will be useful momentarily.

Definition 1.1.16 (Lexicographic order, leading monomial).
  1. (1)The lexicographic order on monomials is defined by 𝐱𝑎≻𝐱𝑏⁠ if the first nonzero entry of 𝑎−𝑏⁠ is positive.

  2. (2)Let 𝑓≠0⁠. The leading monomial lm(𝑓)⁠ is the largest monomial occurring in 𝑓⁠, and the leading coefficient lc(𝑓)∈𝑘×⁠ is its coefficient in 𝑓⁠.

Example 1.1.17 (Leading monomials).
  1. (1)𝑥1≻𝑥2≻⋯≻𝑥𝑛⁠, and 𝑥1𝑥32≻𝑥25⁠ although 𝑥25⁠ has the larger degree. Like a dictionary, the lexicographic order compares the exponents of 𝑥1⁠ first, then those of 𝑥2⁠, and so on.

  2. (2)Let 𝑓=3𝑥25−2𝑥1𝑥32+7𝑥1⁠ be the polynomial of Example 1.1.15. The monomials occurring in 𝑓⁠ are ordered 𝑥1𝑥32≻𝑥1≻𝑥25⁠, so

    lm(𝑓)=𝑥1𝑥32, lc(𝑓)=−2.

    The leading monomial does not include the coefficient, and it need not be the monomial of largest degree.

  3. (3)lm(𝜎𝑑)=𝑥1𝑥2⋯𝑥𝑑⁠ and lc(𝜎𝑑)=1⁠: every other monomial of 𝜎𝑑⁠ has exponent 0⁠ at the first 𝑖≤𝑑⁠ where it differs from 𝑥1⋯𝑥𝑑⁠.

End of lecture 1
19 October 2026

Lemma 1.1.18.
  1. (1)The lexicographic order is a total order on the monomials, and 𝐱𝑎≻𝐱𝑏⁠ implies 𝐱𝑎+𝑐≻𝐱𝑏+𝑐⁠ for every 𝑐∈ℕ𝑛⁠.

  2. (2)For 𝑓,𝑔≠0⁠ we have lm(𝑓𝑔)=lm(𝑓)lm(𝑔)⁠ and lc(𝑓𝑔)=lc(𝑓)lc(𝑔)⁠.

Proof.
  1. (1)For 𝑎≠𝑏⁠ exactly one of 𝑎−𝑏⁠ and 𝑏−𝑎⁠ has a positive first nonzero entry, so any two distinct monomials are comparable. If 𝑎−𝑏⁠ and 𝑏−𝑐⁠ have positive first nonzero entries, at positions 𝑖⁠ and 𝑗⁠, then 𝑎−𝑐=(𝑎−𝑏)+(𝑏−𝑐)⁠ has its first nonzero entry at position min(𝑖,𝑗)⁠, and it is positive; this is transitivity. Finally (𝑎+𝑐)−(𝑏+𝑐)=𝑎−𝑏⁠.

  2. (2)Let lm(𝑓)=𝐱𝑎⁠ and lm(𝑔)=𝐱𝑏⁠, and let 𝐱𝑎′⁠ and 𝐱𝑏′⁠ occur in 𝑓⁠ and 𝑔⁠. By (1), 𝐱𝑎′+𝑏′⪯𝐱𝑎+𝑏′⪯𝐱𝑎+𝑏⁠, with equality only for 𝑎′=𝑎⁠ and 𝑏′=𝑏⁠. So when we multiply out 𝑓𝑔⁠, the monomial 𝐱𝑎+𝑏⁠ arises exactly once, with coefficient lc(𝑓)lc(𝑔)≠0⁠, and every other product is smaller.□⁠

Notation. For 𝑓1,…,𝑓𝑚∈𝑘[𝐱]⁠ and 𝑏∈ℕ𝑚⁠ we write 𝑓𝑏≔𝑓1𝑏1⋯𝑓𝑚𝑏𝑚⁠.
Lemma 1.1.19 (Distinct leading monomials). Let 𝑓1,…,𝑓𝑚∈𝑘[𝐱]⁠ be nonzero. If the leading monomials lm(𝑓𝑏)⁠, 𝑏∈ℕ𝑚⁠, are pairwise distinct, then 𝑓1,…,𝑓𝑚⁠ are algebraically independent over 𝑘⁠.

Proof. Let 𝑔=∑𝑏𝑐𝑏𝐲𝑏∈𝑘[𝐲]⁠ be nonzero, and among the 𝑏⁠ with 𝑐𝑏≠0⁠ let 𝑏∗⁠ be the one with the largest lm(𝑓𝑏)⁠. In

𝑔(𝑓1,…,𝑓𝑚)=∑𝑏𝑐𝑏 𝑓𝑏

the monomial lm(𝑓𝑏∗)⁠ occurs in the summand for 𝑏∗⁠ with coefficient 𝑐𝑏∗lc(𝑓𝑏∗)≠0⁠, and in no other summand, since all monomials of 𝑓𝑏⁠ are at most lm(𝑓𝑏)≺lm(𝑓𝑏∗)⁠ for 𝑏≠𝑏∗⁠. Hence 𝑔(𝑓1,…,𝑓𝑚)≠0⁠.□⁠

Theorem 1.1.20 (Fundamental theorem of symmetric polynomials). 𝑘[𝐱]𝑆𝑛=𝑘[𝜎1,…,𝜎𝑛]⁠, and 𝜎1,…,𝜎𝑛⁠ are algebraically independent over 𝑘⁠. In particular the invariant ring is itself a polynomial ring in 𝑛⁠ variables.

Proof. The proof of the first statement is an algorithm.

Generation. Let 𝑓∈𝑘[𝐱]𝑆𝑛⁠ be nonzero, with lm(𝑓)=𝐱𝑎⁠ and 𝑐≔lc(𝑓)⁠. First, 𝑎1≥𝑎2≥⋯≥𝑎𝑛⁠. Otherwise 𝑎𝑖<𝑎𝑖+1⁠ for some 𝑖⁠, and the transposition 𝜏=(𝑖  𝑖+1)⁠ exchanges the exponents of 𝑥𝑖⁠ and 𝑥𝑖+1⁠: the monomial 𝜏⋅𝐱𝑎⁠ occurs in 𝜏⋅𝑓=𝑓⁠ and is larger than 𝐱𝑎⁠, a contradiction. Set

𝑚≔𝜎1𝑎1−𝑎2𝜎2𝑎2−𝑎3⋯𝜎𝑛−1𝑎𝑛−1−𝑎𝑛𝜎𝑛𝑎𝑛.

By Lemma 1.1.18 and Example 1.1.17 (3),

lm(𝑚)=𝑥1𝑎1−𝑎2(𝑥1𝑥2)𝑎2−𝑎3⋯(𝑥1⋯𝑥𝑛)𝑎𝑛=𝐱𝑎, lc(𝑚)=1.

So 𝐱𝑎⁠ cancels in 𝑓−𝑐 𝑚⁠, and every other monomial of 𝑓⁠ and of 𝑚⁠ is smaller than 𝐱𝑎⁠. Hence 𝑓−𝑐 𝑚⁠ is symmetric and either 0⁠ or of smaller leading monomial. Moreover 𝑚⁠ is homogeneous of degree |𝑎|≤deg𝑓⁠, so deg(𝑓−𝑐 𝑚)≤deg𝑓⁠. Repeat with 𝑓−𝑐 𝑚⁠ in place of 𝑓⁠. The leading monomials decrease strictly, and all of them have degree at most deg𝑓⁠, of which there are only finitely many. So after finitely many steps we reach 0⁠, and 𝑓⁠ is a polynomial in the 𝜎𝑑⁠.

Algebraic independence. For 𝑏∈ℕ𝑛⁠, 𝜎𝑏=𝜎1𝑏1⋯𝜎𝑛𝑏𝑛⁠ is the image of the monomial 𝐲𝑏=𝑦1𝑏1⋯𝑦𝑛𝑏𝑛⁠ under 𝜑:𝑦𝑑↦𝜎𝑑⁠ of Equation 1.2, but as an element of 𝑘[𝐱]⁠ it is a polynomial with many terms. By Lemma 1.1.18 and Example 1.1.17 (3) its leading monomial is

lm(𝜎𝑏)=𝑥1𝑏1(𝑥1𝑥2)𝑏2⋯(𝑥1⋯𝑥𝑛)𝑏𝑛=𝑥1𝑏1+⋯+𝑏𝑛 𝑥2𝑏2+⋯+𝑏𝑛⋯𝑥𝑛𝑏𝑛.

The exponent vector (𝑏1+⋯+𝑏𝑛, 𝑏2+⋯+𝑏𝑛, …, 𝑏𝑛)⁠ determines 𝑏⁠, by taking differences of neighbouring entries. So distinct 𝑏⁠ give distinct leading monomials lm(𝜎𝑏)⁠, and Lemma 1.1.19 applies.□⁠

Remark 1.1.21. The proof works over every field 𝑘⁠, and it uses nothing from later in the course: no assumption on the characteristic, no finiteness theorem, no Gröbner basis. Other groups need these tools; see Chapter 2.

Example 1.1.22 (Rewriting a symmetric polynomial). Let 𝑛=3⁠ and 𝑓=𝑥13+𝑥23+𝑥33⁠. We run the algorithm from the proof.

  1. (1)lm(𝑓)=𝑥13⁠, so 𝑎=(3,0,0)⁠, 𝑐=1⁠ and 𝑚=𝜎13⁠. Expanding,

    𝑓−𝜎13=−3∑𝑖≠𝑗𝑥𝑖2𝑥𝑗−6 𝑥1𝑥2𝑥3,

    where the sum has six terms, one for each ordered pair 𝑖≠𝑗⁠.

  2. (2)Now the leading monomial is 𝑥12𝑥2⁠ with coefficient −3⁠, so 𝑎=(2,1,0)⁠ and 𝑚=𝜎1𝜎2⁠. Since 𝜎1𝜎2=∑𝑖≠𝑗𝑥𝑖2𝑥𝑗+3 𝑥1𝑥2𝑥3⁠,

    𝑓−𝜎13+3𝜎1𝜎2=3 𝑥1𝑥2𝑥3=3𝜎3.

Hence

𝑥13+𝑥23+𝑥33=𝜎13−3𝜎1𝜎2+3𝜎3.

OSCAR implements this algorithm as to_elementary_symmetric. For a symmetric 𝑓⁠ it returns the polynomial 𝑔⁠ with 𝑓=𝑔(𝜎1,…,𝜎𝑛)⁠, as an element of the same ring as 𝑓⁠; so in its output the variable 𝑥𝑖⁠ stands for 𝜎𝑖⁠. The homomorphism to_σ below maps 𝑥𝑖⁠ to the variable σi of a second ring, so that the result is printed in terms of σ1, σ2, σ3.

julia> using Oscar

julia> R, x = polynomial_ring(QQ, :x => 1:3);

julia> S, σ = polynomial_ring(QQ, [:σ1, :σ2, :σ3]);

julia> to_σ = hom(R, S, σ);

julia> to_σ(to_elementary_symmetric(x[1]^3 + x[2]^3 + x[3]^3))
σ1^3 - 3*σ1*σ2 + 3*σ3

Power sums

The next proof computes with formal power series. Recall from Algebraic Structures [Gat23, Definition 9.1 and Lemma 9.4] that for a commutative ring 𝑅⁠ the formal power series ∑𝑑≥0𝑐𝑑𝑡𝑑⁠ with 𝑐𝑑∈𝑅⁠ form a ring 𝑅[[𝑡]]⁠; they are added and multiplied like polynomials, and no question of convergence arises. For 𝑎∈𝑅⁠ the element 1−𝑎𝑡⁠ is invertible in 𝑅[[𝑡]]⁠, and its inverse is the geometric series

11−𝑎𝑡=∑𝑑≥0𝑎𝑑𝑡𝑑.

This is [Gat23, Aufgabe 9.11]: in the product (1−𝑎𝑡)∑𝑑≥0𝑎𝑑𝑡𝑑⁠ the coefficient of 𝑡𝑑⁠ is 𝑎𝑑−𝑎𝑑−1⋅𝑎=0⁠ for every 𝑑≥1⁠. The formal derivative of 𝑓=∑𝑑≥0𝑐𝑑𝑡𝑑∈𝑅[[𝑡]]⁠ is 𝑓′≔∑𝑑≥1𝑑 𝑐𝑑𝑡𝑑−1⁠. It satisfies (𝑓+𝑔)′=𝑓′+𝑔′⁠ and the product rule (𝑓𝑔)′=𝑓′𝑔+𝑓𝑔′⁠ [Gat23, Aufgabe 9.10 (a)]. We use it for polynomials in 𝑡⁠, the power series with finitely many nonzero coefficients.

Lemma 1.1.23 (Newton’s identities). For every 𝑑≥1⁠, with 𝜎𝑗≔0⁠ for 𝑗>𝑛⁠,

𝑝𝑑−𝜎1𝑝𝑑−1+𝜎2𝑝𝑑−2−⋯+(−1)𝑑−1𝜎𝑑−1𝑝1+(−1)𝑑𝑑 𝜎𝑑=0.

Proof. In the power series ring 𝑘[𝐱][[𝑡]]⁠ let 𝐸(𝑡)≔∏𝑖=1𝑛(1−𝑥𝑖𝑡)⁠; expanding the product as in Equation 1.1, 𝐸(𝑡)=∑𝑗≥0(−1)𝑗𝜎𝑗𝑡𝑗⁠ with 𝜎0≔1⁠. By the product rule, 𝐸′(𝑡)=−∑𝑖=1𝑛𝑥𝑖∏𝑗≠𝑖(1−𝑥𝑗𝑡)⁠. Each 1−𝑥𝑖𝑡⁠ is invertible, so with the geometric series for 𝑎=𝑥𝑖⁠

−𝑡 𝐸′(𝑡)=𝐸(𝑡)∑𝑖=1𝑛𝑥𝑖𝑡1−𝑥𝑖𝑡=𝐸(𝑡)∑𝑖=1𝑛∑𝑑≥1𝑥𝑖𝑑𝑡𝑑=𝐸(𝑡)∑𝑑≥1𝑝𝑑𝑡𝑑.

The coefficient of 𝑡𝑑⁠ on the left is (−1)𝑑+1𝑑 𝜎𝑑⁠, on the right it is ∑𝑗=0𝑑−1(−1)𝑗𝜎𝑗 𝑝𝑑−𝑗⁠; equating them is the identity.□⁠

Example 1.1.24 (The first three power sums). Solving Lemma 1.1.23 for 𝑝𝑑⁠ gives, for 𝑑=1,2,3⁠,

𝑝1=𝜎1, 𝑝2=𝜎1𝑝1−2𝜎2=𝜎12−2𝜎2, 𝑝3=𝜎1𝑝2−𝜎2𝑝1+3𝜎3=𝜎13−3𝜎1𝜎2+3𝜎3,

the last in accordance with Example 1.1.22.

Conversely, the identity for 𝑑⁠ contains 𝑑 𝜎𝑑⁠, so it can be solved for 𝜎𝑑⁠ whenever 𝑑⁠ is invertible in 𝑘⁠. If 2⁠ and 3⁠ are invertible, for example if char𝑘=0⁠, this gives

𝜎1=𝑝1, 𝜎2=12(𝜎1𝑝1−𝑝2)=12(𝑝12−𝑝2),𝜎3=13(𝑝3−𝜎1𝑝2+𝜎2𝑝1)=16(𝑝13−3𝑝1𝑝2+2𝑝3),

where each step substitutes the expressions already found. In characteristic 2⁠ the division by 2⁠ cannot be avoided; see Example 1.1.26.

Proposition 1.1.25. If char𝑘=0⁠, then 𝑘[𝐱]𝑆𝑛=𝑘[𝑝1,𝑝2,…,𝑝𝑛]⁠, and the 𝑝𝑑⁠ are algebraically independent.

Proof. For 𝑑≥1⁠ let ℎ𝑑≔∑𝑗=1𝑑−1(−1)𝑗−1𝜎𝑗 𝑝𝑑−𝑗⁠, so that Lemma 1.1.23 reads

𝑝𝑑=ℎ𝑑+(−1)𝑑−1𝑑 𝜎𝑑.

(1.3)

Generation. We show by induction on 𝑑⁠ that 𝑝𝑑∈𝑘[𝜎1,…,𝜎𝑑]⁠ and ℎ𝑑∈𝑘[𝜎1,…,𝜎𝑑−1]⁠. For 𝑑=1⁠ we have ℎ1=0⁠ and 𝑝1=𝜎1⁠. For 𝑑>1⁠, ℎ𝑑⁠ is built from 𝜎1,…,𝜎𝑑−1⁠ and 𝑝1,…,𝑝𝑑−1⁠, and by induction 𝑝𝑖∈𝑘[𝜎1,…,𝜎𝑖]⁠ for 𝑖<𝑑⁠. So ℎ𝑑∈𝑘[𝜎1,…,𝜎𝑑−1]⁠, and then 𝑝𝑑∈𝑘[𝜎1,…,𝜎𝑑]⁠ by Equation 1.3.

Conversely, 𝑑⁠ is invertible in 𝑘⁠, so Equation 1.3 gives 𝜎𝑑=(−1)𝑑−1(𝑝𝑑−ℎ𝑑)/𝑑⁠. By induction on 𝑑⁠ again, 𝜎𝑗∈𝑘[𝑝1,…,𝑝𝑗]⁠ for 𝑗<𝑑⁠, so ℎ𝑑∈𝑘[𝑝1,…,𝑝𝑑−1]⁠ and 𝜎𝑑∈𝑘[𝑝1,…,𝑝𝑑]⁠. Hence 𝑘[𝑝1,…,𝑝𝑛]=𝑘[𝜎1,…,𝜎𝑛]⁠, which is 𝑘[𝐱]𝑆𝑛⁠ by Theorem 1.1.20.

Algebraic independence. Take 𝑝𝑏⁠ and 𝜎𝑏⁠, 𝑏∈ℕ𝑛⁠, in the notation before Lemma 1.1.19. As 𝑝𝑑⁠ and 𝜎𝑑⁠ are homogeneous of degree 𝑑⁠, both 𝑝𝑏⁠ and 𝜎𝑏⁠ are homogeneous of degree 𝑤(𝑏)≔𝑏1+2𝑏2+⋯+𝑛𝑏𝑛⁠. For 𝑚≥0⁠ let 𝑉𝑚⁠ be the space of symmetric polynomials that are homogeneous of degree 𝑚⁠, together with 0⁠, and let 𝑁𝑚⁠ be the number of 𝑏⁠ with 𝑤(𝑏)=𝑚⁠.

Let 𝑓∈𝑉𝑚⁠. By Theorem 1.1.20, 𝑓=∑𝑏𝑐𝑏𝜎𝑏⁠ for some 𝑐𝑏∈𝑘⁠, and as 𝑓⁠ is homogeneous of degree 𝑚⁠ it equals the homogeneous part of degree 𝑚⁠ of the right-hand side, ∑𝑤(𝑏)=𝑚𝑐𝑏𝜎𝑏⁠. So the 𝑁𝑚⁠ elements 𝜎𝑏⁠ with 𝑤(𝑏)=𝑚⁠ span 𝑉𝑚⁠. They are linearly independent, because the 𝜎𝑑⁠ are algebraically independent, so dim𝑉𝑚=𝑁𝑚⁠. The same argument with 𝑘[𝑝1,…,𝑝𝑛]⁠ in place of 𝑘[𝜎1,…,𝜎𝑛]⁠ shows that the 𝑁𝑚⁠ elements 𝑝𝑏⁠ with 𝑤(𝑏)=𝑚⁠ span 𝑉𝑚⁠ as well, so they too are linearly independent.

Now let 𝑔=∑𝑏𝑐𝑏𝐲𝑏⁠ with 𝑔(𝑝1,…,𝑝𝑛)=0⁠. For every 𝑚⁠, the homogeneous part of degree 𝑚⁠ of ∑𝑏𝑐𝑏𝑝𝑏⁠ is ∑𝑤(𝑏)=𝑚𝑐𝑏𝑝𝑏=0⁠, so 𝑐𝑏=0⁠ whenever 𝑤(𝑏)=𝑚⁠. Hence 𝑔=0⁠.□⁠

Example 1.1.26 (Power sums in characteristic 2⁠). The assumption char𝑘=0⁠ in Proposition 1.1.25 cannot be dropped. Let char𝑘=2⁠ and 𝑛=2⁠. Then 𝑝2=𝑥12+𝑥22=(𝑥1+𝑥2)2=𝑝12⁠, so 𝑘[𝑝1,𝑝2]=𝑘[𝑝1]⁠. This ring does not contain the symmetric polynomial 𝜎2=𝑥1𝑥2⁠: the homogeneous part of degree 2⁠ of any polynomial in 𝑝1⁠ is a multiple of 𝑝12=𝑥12+𝑥22⁠.

End of lecture 2
21 October 2026

In general the proof of Proposition 1.1.25 divides by 𝑑⁠, and over a field of characteristic 𝑝≤𝑛⁠ the power sums generate a proper subring of 𝑘[𝐱]𝑆𝑛⁠. This is the first appearance of the modular case, in which the characteristic divides the group order. It will be a recurring caveat rather than a topic; see Section 2.1.

The alternating group

Recall from Algebraic Structures [Gat23, Definition 2.13 and Satz 2.14] that every 𝜋∈𝑆𝑛⁠ is a product of transpositions, and that the sign sgn(𝜋)≔(−1)𝑟⁠, where 𝑟⁠ is the number of transpositions in such a product, is well defined and multiplicative: sgn(𝜋∘𝜏)=sgn(𝜋)sgn(𝜏)⁠. The alternating group 𝐴𝑛⁠ is the kernel of sgn:𝑆𝑛→{±1}⁠, the subgroup of even permutations. For 𝑛≥2⁠ it has index 2⁠ in 𝑆𝑛⁠.

Definition 1.1.27 (Invariants of a permutation group). For a subgroup 𝐺≤𝑆𝑛⁠,

𝑘[𝐱]𝐺≔{𝑓∈𝑘[𝐱]:𝜋⋅𝑓=𝑓 for all 𝜋∈𝐺}

is the subring of polynomials fixed by 𝐺⁠. For 𝐺=𝑆𝑛⁠ it is the ring of symmetric polynomials.

Since 𝐴𝑛⊆𝑆𝑛⁠, every symmetric polynomial is fixed by 𝐴𝑛⁠, so 𝑘[𝐱]𝑆𝑛⊆𝑘[𝐱]𝐴𝑛⁠. The inclusion is proper, and one polynomial accounts for the whole difference.

Definition 1.1.28 (Vandermonde determinant). The Vandermonde determinant is

Δ≔∏1≤𝑖<𝑗≤𝑛(𝑥𝑖−𝑥𝑗).

The name comes from the fact that Δ⁠ is, up to sign, the determinant of the 𝑛×𝑛⁠ matrix (𝑥𝑖 𝑗−1)𝑖,𝑗⁠; we only need the product formula.

Lemma 1.1.29. 𝜋⋅Δ=sgn(𝜋) Δ⁠ for every 𝜋∈𝑆𝑛⁠. If 𝑛≥2⁠ and char𝑘≠2⁠, then Δ∈𝑘[𝐱]𝐴𝑛⁠ but Δ∉𝑘[𝐱]𝑆𝑛⁠.

Proof. Let first 𝜋=(𝑎 𝑏)⁠ be a transposition, 𝑎<𝑏⁠. It maps the factor 𝑥𝑎−𝑥𝑏⁠ to 𝑥𝑏−𝑥𝑎=−(𝑥𝑎−𝑥𝑏)⁠. For 𝑗≠𝑎,𝑏⁠ it exchanges the two factors involving 𝑥𝑗⁠ and 𝑥𝑎⁠ or 𝑥𝑏⁠: for 𝑗<𝑎⁠ these are 𝑥𝑗−𝑥𝑎⁠ and 𝑥𝑗−𝑥𝑏⁠, for 𝑗>𝑏⁠ they are 𝑥𝑎−𝑥𝑗⁠ and 𝑥𝑏−𝑥𝑗⁠, and in both cases their product is unchanged; for 𝑎<𝑗<𝑏⁠ they are 𝑥𝑎−𝑥𝑗⁠ and 𝑥𝑗−𝑥𝑏⁠, which go to 𝑥𝑏−𝑥𝑗⁠ and 𝑥𝑗−𝑥𝑎⁠, and the product is again unchanged, as both signs flip. All other factors are fixed. Hence 𝜋⋅Δ=−Δ⁠.

Now let 𝜋=𝜏1∘…∘𝜏𝑟⁠ be a product of transpositions. As 𝜋⋅⁠ is an action, 𝜋⋅Δ=𝜏1⋅(…(𝜏𝑟⋅Δ))=(−1)𝑟Δ=sgn(𝜋) Δ⁠. The second claim follows, since Δ≠0⁠ and −1≠1⁠ in 𝑘⁠.□⁠

Lemma 1.1.30 (Divisibility by Δ⁠). For 1≤𝑖<𝑗≤𝑛⁠ let 𝜑𝑖𝑗:𝑘[𝐱]→𝑘[𝐱]⁠ be the substitution 𝑥𝑗↦𝑥𝑖⁠, which fixes the other variables. If 𝑞∈𝑘[𝐱]⁠ satisfies 𝜑𝑖𝑗(𝑞)=0⁠ for all 𝑖<𝑗⁠, then Δ⁠ divides 𝑞⁠.

Proof. Fix 𝑖<𝑗⁠ and write 𝑞=∑𝑒𝑐𝑒𝑥𝑗𝑒⁠ with 𝑐𝑒⁠ in the polynomial ring in the variables other than 𝑥𝑗⁠. Then

𝑞=𝑞−𝜑𝑖𝑗(𝑞)=∑𝑒𝑐𝑒(𝑥𝑗𝑒−𝑥𝑖𝑒),

and 𝑥𝑗−𝑥𝑖⁠ divides each 𝑥𝑗𝑒−𝑥𝑖𝑒⁠. So every factor 𝑥𝑖−𝑥𝑗⁠ of Δ⁠ divides 𝑞⁠. These factors are irreducible, being of degree 1⁠, and no two are associate. As 𝑘[𝐱]⁠ is a unique factorisation domain [Gat13, Proposition and Definition 8.1, Remark 8.6], their product Δ⁠ divides 𝑞⁠.□⁠

Proposition 1.1.31. Let 𝑛≥2⁠ and char𝑘≠2⁠. Every 𝑓∈𝑘[𝐱]𝐴𝑛⁠ is uniquely of the form 𝑓=𝑔+ℎΔ⁠ with 𝑔,ℎ⁠ symmetric. That is,

𝑘[𝐱]𝐴𝑛=𝑘[𝐱]𝑆𝑛⊕Δ⋅𝑘[𝐱]𝑆𝑛

as a free 𝑘[𝐱]𝑆𝑛⁠-module of rank 2⁠, with basis {1,Δ}⁠; for modules and bases see Commutative Algebra [Gat13, Definitions 3.1 and 3.14].

Proof. Let 𝑓∈𝑘[𝐱]𝐴𝑛⁠ and let 𝜏⁠ be a transposition. For 𝜋∈𝐴𝑛⁠, 𝜋⋅(𝜏⋅𝑓)=𝜏⋅((𝜏−1𝜋𝜏)⋅𝑓)=𝜏⋅𝑓⁠, since 𝜏−1𝐴𝑛𝜏=𝐴𝑛⁠; so 𝜏⋅𝑓⁠ is again 𝐴𝑛⁠-invariant. Hence 𝑔≔𝑓+𝜏⋅𝑓⁠ is fixed by 𝐴𝑛⁠ and by 𝜏⁠, which together generate 𝑆𝑛⁠: 𝑔⁠ is symmetric. Likewise 𝑞≔𝑓−𝜏⋅𝑓⁠ is fixed by 𝐴𝑛⁠ and negated by 𝜏⁠, so every odd permutation negates it. Note that 𝑓=12(𝑔+𝑞)⁠.

Let 𝑖<𝑗⁠. The map 𝜑𝑖𝑗⁠ of Lemma 1.1.30 identifies 𝑥𝑖⁠ and 𝑥𝑗⁠, so 𝜑𝑖𝑗((𝑖 𝑗)⋅𝑟)=𝜑𝑖𝑗(𝑟)⁠ for every 𝑟⁠. For 𝑟=𝑞⁠ this gives 𝜑𝑖𝑗(𝑞)=𝜑𝑖𝑗(−𝑞)=−𝜑𝑖𝑗(𝑞)⁠, so 2𝜑𝑖𝑗(𝑞)=0⁠ and, as char𝑘≠2⁠, 𝜑𝑖𝑗(𝑞)=0⁠. By Lemma 1.1.30, Δ⁠ divides 𝑞⁠. The quotient ℎ≔𝑞/Δ⁠ is a ratio of two polynomials that every odd permutation negates, so it is symmetric. Hence 𝑓=12𝑔+12ℎΔ⁠ with 12𝑔⁠ and 12ℎ⁠ symmetric.

Uniqueness: if 𝑔+ℎΔ=𝑔′+ℎ′Δ⁠ with all four symmetric, then 𝑔−𝑔′=(ℎ′−ℎ)Δ⁠ is fixed by 𝜏⁠ while 𝜏⁠ negates the right side, so 2(ℎ′−ℎ)Δ=0⁠; hence ℎ=ℎ′⁠, and then 𝑔=𝑔′⁠.□⁠

Example 1.1.32 (An 𝐴3⁠-invariant). Let 𝑛=3⁠ and let 𝑓=𝑥12𝑥2+𝑥22𝑥3+𝑥32𝑥1⁠ be the polynomial of Example 1.1.2 (3). It is fixed by the 3⁠-cycles, hence by 𝐴3={id,(1 2 3),(1 3 2)}⁠. With 𝜏=(1 2)⁠ the proof of Proposition 1.1.31 gives

𝑔=𝑓+𝜏⋅𝑓=∑𝑖≠𝑗𝑥𝑖2𝑥𝑗=𝜎1𝜎2−3𝜎3, 𝑞=𝑓−𝜏⋅𝑓=Δ,

where the last equality follows by expanding Δ=(𝑥1−𝑥2)(𝑥1−𝑥3)(𝑥2−𝑥3)⁠. So ℎ=1⁠ and

𝑓=12(𝜎1𝜎2−3𝜎3)+12Δ.
Remark 1.1.33. So 𝑘[𝐱]𝐴𝑛⁠ is generated by 𝜎1,…,𝜎𝑛⁠ and Δ⁠, with Δ2∈𝑘[𝜎1,…,𝜎𝑛]⁠. For 𝑛=2⁠ it is all of 𝑘[𝑥1,𝑥2]⁠, a polynomial ring; for 𝑛≥3⁠ it is not one, which we cannot show yet (Section 3.5). But 𝑘[𝐱]𝑆𝑛⁠ is a polynomial ring by Theorem 1.1.20, so in every case Proposition 1.1.31 presents 𝑘[𝐱]𝐴𝑛⁠ as a free module of rank 2⁠ over a polynomial ring. Chapter 3 proves that the invariant ring of any finite group is free of finite rank over a polynomial subring, and gives an algorithm computing such a presentation.

By Lemma 1.1.29 the square Δ2⁠ is symmetric, so Theorem 1.1.20 rewrites it in the 𝜎𝑑⁠. For 𝑛=3⁠:

julia> D = prod(x[i] - x[j] for i in 1:3 for j in i+1:3);

julia> to_σ(to_elementary_symmetric(D^2))
-4*σ1^3*σ3 + σ1^2*σ2^2 + 18*σ1*σ2*σ3 - 4*σ2^3 - 27*σ3^2
Example 1.1.34 (The discriminant of the cubic). For readers who have met the discriminant: the polynomial just computed is exactly the discriminant of the cubic 𝑧3−𝜎1𝑧2+𝜎2𝑧−𝜎3⁠, whose roots are 𝑥1,𝑥2,𝑥3⁠ by Equation 1.1. It vanishes precisely when two of the roots coincide, which is also clear from Δ2=∏𝑖<𝑗(𝑥𝑖−𝑥𝑗)2⁠.

1.2What is invariant theory?

Section 1.1 studied one group acting in one particular way. The notions used there, a group permuting the variables, the subring of polynomials it fixes and a generating set for that subring, make sense for any group of invertible matrices. This is the general setting of the course.

Notation. Fix 𝑛≥1⁠. Then 𝑉≔𝑘𝑛⁠, with standard basis 𝑒1,…,𝑒𝑛⁠, and 𝑥1,…,𝑥𝑛⁠ are the coordinate functions on 𝑉⁠, so 𝑥𝑖(𝑣)=𝑣𝑖⁠ and 𝑥𝑖(𝑒𝑗)=𝛿𝑖𝑗⁠, which is 1⁠ for 𝑖=𝑗⁠ and 0⁠ otherwise. Further 𝑘[𝑉]≔𝑘[𝑥1,…,𝑥𝑛]⁠, the polynomial ring in the coordinate functions.

Recall that the general linear group 𝐺𝐿𝑛(𝑘)⁠ is the group of invertible 𝑛×𝑛⁠ matrices over 𝑘⁠ under matrix multiplication; its elements are the invertible linear maps 𝑉→𝑉⁠, 𝑣↦𝑔𝑣⁠.

We freely think of 𝑓∈𝑘[𝑉]⁠ as a function 𝑉→𝑘⁠. For infinite 𝑘⁠ — in particular whenever char𝑘=0⁠ — distinct polynomials give distinct functions, so nothing is lost. Over a finite field they must be kept apart, and 𝑘[𝑉]⁠ always means the polynomial ring.

Linear actions

Convention. From now on, 𝐺⁠ is a subgroup of 𝐺𝐿𝑛(𝑘)⁠.

It acts on 𝑉⁠ by 𝑣↦𝑔𝑣⁠.

Definition 1.2.1 (The action on polynomials). For 𝑔∈𝐺⁠ and 𝑓∈𝑘[𝑉]⁠ define 𝑔⋅𝑓⁠ by

(𝑔⋅𝑓)(𝑣)≔𝑓(𝑔−1𝑣) (𝑣∈𝑉).

(1.4)

Remark 1.2.2.
  1. (1)The inverse in Equation 1.4 is what makes this an action in the sense of Definition 1.1.3 for the product of 𝐺𝐿𝑛(𝑘)⁠, which is composition of linear maps — the convention fixed for 𝑆𝑛⁠ there:

    (𝑔⋅(ℎ⋅𝑓))(𝑣)=(ℎ⋅𝑓)(𝑔−1𝑣)=𝑓(ℎ−1𝑔−1𝑣)=𝑓((𝑔ℎ)−1𝑣)=((𝑔ℎ)⋅𝑓)(𝑣).

    Dropping the inverse, (𝑔∗𝑓)(𝑣)≔𝑓(𝑔𝑣)⁠, gives 𝑔∗(ℎ∗𝑓)=(ℎ𝑔)∗𝑓⁠, a right action, as in Remark 1.1.5.

    For the invariant ring defined below the distinction happens not to matter: 𝑓(𝑔−1𝑣)=𝑓(𝑣)⁠ for all 𝑔∈𝐺⁠ says the same thing as 𝑓(𝑔𝑣)=𝑓(𝑣)⁠ for all 𝑔∈𝐺⁠, because 𝐺⁠ is closed under inversion. It matters as soon as one computes with a single group element rather than with all of them at once.

  2. (2)Concretely, 𝑔⋅𝑓⁠ is 𝑓⁠ with 𝑥𝑖⁠ replaced by ∑𝑗(𝑔−1)𝑖𝑗 𝑥𝑗⁠ for every 𝑖⁠. Substitution respects sums and products, so for 𝑓1,𝑓2∈𝑘[𝑉]⁠

    𝑔⋅(𝑓1+𝑓2)=𝑔⋅𝑓1+𝑔⋅𝑓2, 𝑔⋅(𝑓1𝑓2)=(𝑔⋅𝑓1)(𝑔⋅𝑓2).

    Unlike a scalar 𝑐⁠, for which 𝑐(𝑓1𝑓2)=(𝑐𝑓1)𝑓2⁠, the group element acts on both factors. So 𝑔⋅⁠ is a 𝑘⁠-algebra homomorphism of 𝑘[𝑉]⁠ mapping linear forms to linear forms, and an automorphism, with inverse 𝑔−1⋅⁠ by (1).

Definition 1.2.3 (Invariant ring). 𝑓∈𝑘[𝑉]⁠ is invariant if 𝑔⋅𝑓=𝑓⁠ for all 𝑔∈𝐺⁠. The invariant elements form a subring

𝑘[𝑉]𝐺≔{𝑓∈𝑘[𝑉]:𝑔⋅𝑓=𝑓 for all 𝑔∈𝐺}

containing 𝑘⁠, the invariant ring of 𝐺⁠.

That it is a subring is immediate: each 𝑔⋅⁠ is a ring homomorphism (Remark 1.2.2 (2)), so the elements it fixes are closed under sums and products. The following example shows that this definition generalises what we have seen in Section 1.1.

Example 1.2.4 (Permutation matrices). Let 𝜋∈𝑆𝑛⁠ and let 𝑃𝜋∈𝐺𝐿𝑛(𝑘)⁠ be the matrix with 𝑃𝜋𝑒𝑖=𝑒𝜋(𝑖)⁠ for all 𝑖⁠. Then 𝜋↦𝑃𝜋⁠ is an injective group homomorphism (𝑆𝑛,∘)→𝐺𝐿𝑛(𝑘)⁠, since 𝑃𝜋𝑃𝜏𝑒𝑖=𝑒𝜋(𝜏(𝑖))=𝑃𝜋∘𝜏𝑒𝑖⁠.

Unwinding Equation 1.4 gives 𝑃𝜋−1𝑣=∑𝑖𝑣𝜋(𝑖)𝑒𝑖⁠, hence

𝑃𝜋⋅𝑥𝑖=𝑥𝜋(𝑖),

which is precisely Definition 1.1.1. So for 𝐺={𝑃𝜋:𝜋∈𝑆𝑛}⁠ the invariant ring 𝑘[𝑉]𝐺⁠ is the ring 𝑘[𝐱]𝑆𝑛⁠ of symmetric polynomials, and Section 1.1 was the case of this group.

More generally one starts from a group 𝐺⁠ together with a representation 𝜌:𝐺→𝐺𝐿(𝑉)⁠ and lets 𝑔⁠ act through 𝜌(𝑔)⁠. Nothing changes, and only 𝜌(𝐺)⁠ matters, so we take 𝐺≤𝐺𝐿𝑛(𝑘)⁠ from the outset.

The grading

Definition 1.2.5 (Homogeneous components, fixed vectors).
  1. (1)For 𝑑≥0⁠, 𝑘[𝑉]𝑑⁠ is the space of homogeneous polynomials of degree 𝑑⁠, together with 0⁠. Then

    𝑘[𝑉]=⨁𝑑≥0𝑘[𝑉]𝑑, 𝑘[𝑉]𝑑⋅𝑘[𝑉]𝑒⊆𝑘[𝑉]𝑑+𝑒,

    which is what it means for 𝑘[𝑉]⁠ to be a graded 𝑘⁠-algebra (Definition 2.2.1 in general).

  2. (2)For a vector space 𝑊⁠ on which 𝐺⁠ acts linearly, 𝑊𝐺≔{𝑤∈𝑊:𝑔⋅𝑤=𝑤 for all 𝑔∈𝐺}⁠ is the subspace of fixed vectors.

  3. (3)𝑘[𝑉]𝑑𝐺≔𝑘[𝑉]𝐺∩𝑘[𝑉]𝑑⁠ is the space of invariants of degree 𝑑⁠, with 0⁠.

The monomials of degree 𝑑⁠ form a basis of 𝑘[𝑉]𝑑⁠, so the following lemma gives its dimension.

Lemma 1.2.6 (Counting monomials).
  1. (1)There are (𝑛+𝑑−1𝑛−1)⁠ monomials of degree 𝑑⁠ in 𝑥1,…,𝑥𝑛⁠.

  2. (2)There are (𝑛+𝑑𝑛)⁠ monomials of degree at most 𝑑⁠ in 𝑥1,…,𝑥𝑛⁠.

Proof.
  1. (1)For a monomial 𝐱𝑎⁠ of degree 𝑑⁠ put 𝑠𝑖≔𝑎1+⋯+𝑎𝑖+𝑖⁠ for 1≤𝑖≤𝑛−1⁠. We show that 𝐱𝑎↦{𝑠1,…,𝑠𝑛−1}⁠ is a bijection from the monomials of degree 𝑑⁠ onto the (𝑛−1)⁠-element subsets of {1,…,𝑛+𝑑−1}⁠, of which there are (𝑛+𝑑−1𝑛−1)⁠.

    Well defined: 𝑠1≥1⁠, the 𝑠𝑖⁠ increase strictly, and 𝑠𝑛−1=𝑑−𝑎𝑛+𝑛−1≤𝑛+𝑑−1⁠.

    Injective: with 𝑠0≔0⁠, the 𝑠𝑖⁠ give back 𝑎𝑖=𝑠𝑖−𝑠𝑖−1−1⁠ for 𝑖≤𝑛−1⁠, and 𝑎𝑛=𝑑−𝑎1−⋯−𝑎𝑛−1⁠.

    Surjective: given 1≤𝑠1<⋯<𝑠𝑛−1≤𝑛+𝑑−1⁠, put 𝑠0≔0⁠, 𝑠𝑛≔𝑛+𝑑⁠ and 𝑎𝑖≔𝑠𝑖−𝑠𝑖−1−1⁠ for 1≤𝑖≤𝑛⁠. These are nonnegative as the 𝑠𝑖⁠ increase strictly, they sum to 𝑠𝑛−𝑠0−𝑛=𝑑⁠, and 𝑎1+⋯+𝑎𝑖+𝑖=𝑠𝑖⁠, so 𝐱𝑎⁠ maps to {𝑠1,…,𝑠𝑛−1}⁠.

  2. (2)Putting 𝑎0≔𝑑−|𝑎|⁠ turns the 𝑎∈ℕ𝑛⁠ with |𝑎|≤𝑑⁠ into the exponent vectors (𝑎0,𝑎1,…,𝑎𝑛)⁠ of the monomials of degree 𝑑⁠ in 𝑛+1⁠ variables. By (1) there are (𝑛+𝑑𝑛)⁠ of these.□⁠

Proposition 1.2.7. 𝐺⁠ maps each 𝑘[𝑉]𝑑⁠ to itself, 𝑘[𝑉]𝑑𝐺=(𝑘[𝑉]𝑑)𝐺⁠, and

𝑘[𝑉]𝐺=⨁𝑑≥0𝑘[𝑉]𝑑𝐺.

Equivalently, 𝑓⁠ is invariant if and only if every homogeneous component of 𝑓⁠ is invariant.

Proof. By Remark 1.2.2 (2), 𝑔⋅⁠ substitutes linear forms for the variables, so it maps a homogeneous polynomial of degree 𝑑⁠ to one of degree 𝑑⁠; being invertible, it maps 𝑘[𝑉]𝑑⁠ onto itself. So (𝑘[𝑉]𝑑)𝐺⁠ is defined, and it is 𝑘[𝑉]𝐺∩𝑘[𝑉]𝑑⁠. Now let 𝑓=∑𝑑𝑓𝑑⁠ with 𝑓𝑑∈𝑘[𝑉]𝑑⁠. Then 𝑔⋅𝑓=∑𝑑𝑔⋅𝑓𝑑⁠ is again a decomposition into homogeneous components, so 𝑔⋅𝑓=𝑓⁠ holds if and only if 𝑔⋅𝑓𝑑=𝑓𝑑⁠ for every 𝑑⁠, the decomposition being unique.□⁠

We use this proposition constantly. It replaces a question about the infinite-dimensional ring 𝑘[𝑉]𝐺⁠ by questions about the finite-dimensional spaces 𝑘[𝑉]𝑑𝐺⁠, one for each degree. Each of these is the kernel of the linear map 𝑓↦(𝑔⋅𝑓−𝑓)𝑔∈𝑆⁠ on 𝑘[𝑉]𝑑⁠ for a generating set 𝑆⁠ of 𝐺⁠; so for finite 𝐺⁠ it can be computed by linear algebra.

End of lecture 3
26 October 2026

Examples

The first examples act by diagonal matrices, and for these the invariants can be read off monomial by monomial.

Lemma 1.2.8 (Diagonal groups). Let 𝐺≤𝐺𝐿𝑛(𝑘)⁠ consist of diagonal matrices. Then every 𝑔∈𝐺⁠ scales each monomial, and 𝑓∈𝑘[𝑉]⁠ is invariant if and only if every monomial occurring in 𝑓⁠ is. So 𝑘[𝑉]𝐺⁠ is spanned by the invariant monomials.
Proof. For 𝑔=diag(𝜆1,…,𝜆𝑛)⁠, Equation 1.4 gives 𝑔⋅𝑥𝑖=𝜆𝑖−1𝑥𝑖⁠, so 𝑔⋅𝐱𝑎=𝜆1−𝑎1⋯𝜆𝑛−𝑎𝑛 𝐱𝑎⁠. Comparing coefficients in 𝑔⋅𝑓=𝑓⁠ for 𝑓=∑𝑎𝑐𝑎𝐱𝑎⁠ shows that 𝑔⁠ fixes 𝑓⁠ exactly when it fixes every 𝐱𝑎⁠ with 𝑐𝑎≠0⁠.□⁠

Example 1.2.9 (A cyclic group). Suppose 𝑘⁠ contains a primitive 𝑚⁠-th root of unity 𝜁⁠, and let 𝐺=⟨𝑔⟩⁠ with 𝑔=diag(𝜁,𝜁−1)∈𝐺𝐿2(𝑘)⁠, a cyclic group of order 𝑚⁠. By Equation 1.4, 𝑔⋅𝑥1=𝜁−1𝑥1⁠ and 𝑔⋅𝑥2=𝜁𝑥2⁠, so

𝑔⋅(𝑥1𝑎𝑥2𝑏)=𝜁 𝑏−𝑎 𝑥1𝑎𝑥2𝑏.

A monomial is therefore invariant exactly when 𝑎≡𝑏 (mod 𝑚)⁠, and by Lemma 1.2.8 the invariant ring is spanned by these monomials. Such a monomial is (𝑥1𝑥2)min(𝑎,𝑏)𝑥1𝑚𝑞⁠ or (𝑥1𝑥2)min(𝑎,𝑏)𝑥2𝑚𝑞⁠ with 𝑚𝑞=|𝑎−𝑏|⁠, so the invariant ring is generated by

𝑢≔𝑥1𝑥2, 𝑣≔𝑥1𝑚, 𝑤≔𝑥2𝑚,

and these satisfy 𝑢𝑚=𝑣𝑤⁠. That is the only relation: modulo 𝑢𝑚−𝑣𝑤⁠ every monomial in 𝑢,𝑣,𝑤⁠ reduces to one of the form 𝑢𝑎𝑣𝑏⁠ or 𝑢𝑎𝑤𝑐⁠, and these map to the distinct monomials 𝑥1𝑎+𝑚𝑏𝑥2𝑎⁠ and 𝑥1𝑎𝑥2𝑎+𝑚𝑐⁠ of 𝑘[𝑉]⁠. Hence 𝑘[𝑉]𝐺≅𝑘[𝑢,𝑣,𝑤]/⟨𝑢𝑚−𝑣𝑤⟩⁠; Section 1.4 recovers the relation by machine.

So here the invariant ring needs three generators, and they satisfy a relation. Unlike in Section 1.1, this invariant ring is not a polynomial ring; we will be able to prove this in Section 3.5.

OSCAR confirms the generators for 𝑚=3⁠:

julia> K, zeta = cyclotomic_field(3);

julia> G = matrix_group(matrix(K, [zeta 0; 0 zeta^-1]));

julia> foreach(println, fundamental_invariants(invariant_ring(G)))
x[1]*x[2]
x[1]^3
x[2]^3

Example 1.2.10 (A dihedral group). Keep 𝜁⁠ and 𝑔⁠ as in Example 1.2.9 and adjoin the reflection 𝑟=(0110)⁠, which swaps 𝑥1⁠ and 𝑥2⁠. Since 𝑟𝑔𝑟−1=𝑔−1⁠, every element of 𝐷𝑚≔⟨𝑔,𝑟⟩⁠ is some 𝑔𝑗⁠ or 𝑔𝑗𝑟⁠, and the 𝑔𝑗𝑟⁠ are not diagonal. So 𝐷𝑚=⟨𝑔⟩∪⟨𝑔⟩𝑟⁠ has order 2𝑚⁠, and its invariants are the ⟨𝑔⟩⁠-invariants fixed by 𝑟⁠.

By Example 1.2.9 the 𝑢𝑎𝑣𝑏⁠, 𝑏≥0⁠, and the 𝑢𝑎𝑤𝑏⁠, 𝑏≥1⁠, form a basis of 𝑘[𝑉]⟨𝑔⟩⁠, since they are distinct monomials of 𝑘[𝑉]⁠. Now 𝑟⁠ fixes 𝑢⁠ and exchanges 𝑣⁠ and 𝑤⁠, so it fixes each 𝑢𝑎⁠ and swaps 𝑢𝑎𝑣𝑏⁠ with 𝑢𝑎𝑤𝑏⁠ for 𝑏≥1⁠. The invariants of 𝐷𝑚⁠ are therefore spanned by the 𝑢𝑎⁠ and the 𝑢𝑎(𝑣𝑏+𝑤𝑏)⁠, 𝑏≥1⁠. By Theorem 1.1.20 for 𝑛=2⁠, 𝑦1𝑏+𝑦2𝑏⁠ is a polynomial in 𝑦1+𝑦2⁠ and 𝑦1𝑦2⁠; substituting 𝑣,𝑤⁠ and using 𝑣𝑤=𝑢𝑚⁠ gives 𝑣𝑏+𝑤𝑏∈𝑘[𝑣+𝑤,𝑢]⁠. Hence

𝑘[𝑉]𝐷𝑚=𝑘[𝑥1𝑥2,𝑥1𝑚+𝑥2𝑚].

The two generators are algebraically independent by Lemma 1.1.19, since lm(𝑢𝑎(𝑣+𝑤)𝑏)=𝑥1𝑎+𝑚𝑏𝑥2𝑎⁠ determines (𝑎,𝑏)⁠. So this is a polynomial ring in two variables: the larger group has the simpler invariant ring.

julia> K, zeta = cyclotomic_field(4);

julia> g, r = matrix(K, [zeta 0; 0 zeta^-1]), matrix(K, [0 1; 1 0]);

julia> D = matrix_group(g, r);

julia> foreach(println, fundamental_invariants(invariant_ring(D)))
x[1]*x[2]
x[1]^4 + x[2]^4

Example 1.2.11 (An infinite group with no invariants). Let 𝐺={𝑡⋅𝐼𝑛:𝑡∈𝑘×}⁠, the invertible scalar matrices. By Equation 1.4, 𝑔⋅𝑓=𝑡−𝑑𝑓⁠ for 𝑓∈𝑘[𝑉]𝑑⁠. If 𝑘⁠ is infinite, some 𝑡⁠ has 𝑡𝑑≠1⁠ for each 𝑑≥1⁠, so by Proposition 1.2.7 the only invariants are the constants:

𝑘[𝑉]𝐺=𝑘.

For a finite group this cannot happen: Chapter 2 will show that 𝑘[𝑉]𝐺⁠ is then large enough to have dim𝑉⁠ algebraically independent elements.

Example 1.2.12 (Conjugation). Let 𝑉⁠ be the space of 𝑛×𝑛⁠ matrices, with coordinate functions 𝑥𝑖𝑗⁠, and let 𝐺=𝐺𝐿𝑛(𝑘)⁠ act by conjugation, 𝐴↦𝑔𝐴𝑔−1⁠. This is a linear action, so Definition 1.2.1 applies verbatim.

The coefficients 𝑐1,…,𝑐𝑛⁠ of the characteristic polynomial

det(𝑧𝐼−𝐴)=𝑧𝑛−𝑐1(𝐴)𝑧𝑛−1+⋯+(−1)𝑛𝑐𝑛(𝐴)

are invariant, since conjugate matrices have the same characteristic polynomial; among them 𝑐1=tr⁠, the trace, and 𝑐𝑛=det⁠. That they generate the invariant ring and are algebraically independent is classical; we prove it in Example 4.4.17.

For a diagonal matrix 𝐴=diag(𝛼1,…,𝛼𝑛)⁠ we have det(𝑧𝐼−𝐴)=∏𝑖(𝑧−𝛼𝑖)⁠, so Equation 1.1 gives 𝑐𝑑(𝐴)=𝜎𝑑(𝛼1,…,𝛼𝑛)⁠: on diagonal matrices the invariants 𝑐𝑑⁠ are the elementary symmetric polynomials of Section 1.1 in the diagonal entries. The same holds with the eigenvalues in place of the diagonal entries for every diagonalisable 𝐴⁠, and the proof in Example 4.4.17 starts from this.

The torus (𝑘×)𝑟⁠ acting diagonally is the subject of Section 1.5, and will look much like Example 1.2.9 with ℤ/𝑚⁠ replaced by a lattice.

The questions

For a given 𝐺≤𝐺𝐿𝑛(𝑘)⁠ we would like to answer, in this order:

  1. (1)Is 𝑘[𝑉]𝐺⁠ finitely generated as a 𝑘⁠-algebra?

  2. (2)If so, can a generating set be computed, and how large must its degrees be?

  3. (3)What are the relations between those generators?

  4. (4)What does 𝑘[𝑉]𝐺⁠ look like as a ring — is it a polynomial ring, and if not, how far from one?

For finite 𝐺⁠ the first has been known since Noether and the rest occupy Chapter 2 and Chapter 3. For infinite 𝐺⁠ the first question is Hilbert’s finiteness theorem, is false without hypotheses on 𝐺⁠, and is the subject of Chapter 4 onwards.

1.3Gröbner bases

Nearly every algorithm in this course ends in a Gröbner basis computation, and the construction in Section 1.4 is used in almost every chapter. This section is a rundown, not a course: it fixes notation and records the facts we rely on. Proofs, Buchberger’s criterion and the algorithms themselves belong to Computer Algebra; here they are a black box, and in practice the box is the OSCAR call at the end of the section. If you have had that course, skip ahead.

Monomial orders

Definition 1.3.1 (Monomial order, leading monomial). A monomial order on 𝑘[𝐱]⁠ is a total order ≺⁠ on the set of monomials such that

  1. (1)1⪯𝐱𝑎⁠ for every monomial 𝐱𝑎⁠;

  2. (2)𝐱𝑎≺𝐱𝑏⁠ implies 𝐱𝑎+𝑐≺𝐱𝑏+𝑐⁠ for every 𝑐∈ℕ𝑛⁠.

For 𝑓≠0⁠, the leading monomial lm(𝑓)⁠ is the largest monomial occurring in 𝑓⁠ with respect to ≺⁠, and the leading coefficient lc(𝑓)∈𝑘×⁠ is its coefficient in 𝑓⁠.

Remark 1.3.2. Some observations:

  1. (1)Condition (2) says that the order is compatible with multiplication. With condition (1) it gives 𝐱𝑎⪯𝐱𝑎+𝑐⁠: a monomial is at least as large as each of its divisors.

  2. (2)The lexicographic order is a monomial order: condition (2) is Lemma 1.1.18 (1), and condition (1) holds because 𝑎−0=𝑎⁠ has a positive first nonzero entry for 𝑎≠0⁠. For it, lm⁠ and lc⁠ are those of Definition 1.1.16.

  3. (3)Lemma 1.1.18 (2) and Lemma 1.1.19 hold for every monomial order, with the same proofs, which use only that the order is total and satisfies condition (2). In particular lm(𝑓𝑔)=lm(𝑓)lm(𝑔)⁠ and lc(𝑓𝑔)=lc(𝑓)lc(𝑔)⁠.

Example 1.3.3 (Three orders). Assume 𝑥1≻𝑥2≻⋯≻𝑥𝑛⁠ in each case.

Lexicographic (lex⁠), as in Definition 1.1.16: 𝐱𝑎≻𝐱𝑏⁠ if the leftmost nonzero entry of 𝑎−𝑏⁠ is positive.

Degree lexicographic (deglex⁠): compare |𝑎|⁠ with |𝑏|⁠ first, then break ties by lex⁠.

Degree reverse lexicographic (degrevlex⁠): compare |𝑎|⁠ with |𝑏|⁠ first; if they agree, 𝐱𝑎≻𝐱𝑏⁠ when the rightmost nonzero entry of 𝑎−𝑏⁠ is negative.

Note that degrevlex⁠ looks at the last nonzero entry, and with the opposite sign. The three orders differ already for 𝑛=3⁠. They sort the monomials 𝑥12⁠, 𝑥1𝑥32⁠ and 𝑥22𝑥3⁠, of degrees 2⁠, 3⁠ and 3⁠, as follows:

lex:𝑥12≻𝑥1𝑥32≻𝑥22𝑥3,deglex:𝑥1𝑥32≻𝑥22𝑥3≻𝑥12,degrevlex:𝑥22𝑥3≻𝑥1𝑥32≻𝑥12.

For the last line, 𝑥22𝑥3⁠ and 𝑥1𝑥32⁠ have exponent difference (−1,2,−1)⁠, whose rightmost nonzero entry is negative.

Remark 1.3.4. In practice degrevlex⁠ is usually the cheapest order to compute with, and lex⁠ the most expensive. Section 1.4 needs orders that separate the variables into blocks, and these cost more than degrevlex⁠.

Monomial ideals

Definition 1.3.5 (Monomial ideal). An ideal of 𝑘[𝐱]⁠ is a monomial ideal if it is generated by monomials.

Lemma 1.3.6 (Generators of monomial ideals). Let 𝐼=⟨𝑆⟩⁠ for a set 𝑆⁠ of monomials.

  1. (1)A monomial lies in 𝐼⁠ if and only if it is divisible by an element of 𝑆⁠.

  2. (2)(Dickson’s lemma) There are finitely many 𝑚1,…,𝑚𝑠∈𝑆⁠ with 𝐼=⟨𝑚1,…,𝑚𝑠⟩⁠.

Proof.
  1. (1)Multiples of elements of 𝑆⁠ lie in 𝐼⁠. Conversely, if 𝐱𝑎=∑𝑖ℎ𝑖𝑚𝑖⁠ with 𝑚𝑖∈𝑆⁠, expand the ℎ𝑖⁠ into terms: every monomial on the right is a multiple of some 𝑚𝑖⁠, and 𝐱𝑎⁠ must be one of them.

  2. (2)See [CLO15, sec. 2.4], which proves it by induction on 𝑛⁠.□⁠

Corollary 1.3.7. Every monomial order is a well-order: every nonempty set of monomials has a smallest element.
Proof. Let 𝑆⁠ be a nonempty set of monomials, and let 𝑚1,…,𝑚𝑠∈𝑆⁠ be as in Lemma 1.3.6 (2), with 𝑚⁠ the smallest of them. By Lemma 1.3.6 (1) every element of 𝑆⁠ is divisible by some 𝑚𝑖⁠, so it is ⪰𝑚𝑖⪰𝑚⁠ by Remark 1.3.2 (1).□⁠

Normal forms

Algorithm 1.3.8 (Reduction). Input: a monomial order ≺⁠, 𝑓∈𝑘[𝐱]⁠, and a finite set 𝐺⊆𝑘[𝐱]∖{0}⁠.

Output: a remainder 𝑟⁠ of 𝑓⁠ modulo 𝐺⁠: an 𝑟∈𝑘[𝐱]⁠ with 𝑓−𝑟∈⟨𝐺⟩⁠ such that no monomial occurring in 𝑟⁠ is divisible by any lm(𝑔)⁠, 𝑔∈𝐺⁠.

  1. (1)Set 𝑟≔𝑓⁠.

  2. (2)While some monomial 𝑚⁠ occurring in 𝑟⁠, with coefficient 𝑐⁠, is divisible by lm(𝑔)⁠ for some 𝑔∈𝐺⁠, replace 𝑟⁠ by

    𝑟−𝑐 𝑚lc(𝑔)lm(𝑔) 𝑔,

    which cancels 𝑚⁠ and changes only monomials smaller than 𝑚⁠.

  3. (3)Return 𝑟⁠.

We call this reducing 𝑓⁠ modulo 𝐺⁠. In general 𝑟⁠ depends on the choices of 𝑚⁠ and 𝑔⁠ in step 2; when 𝐺⁠ is a Gröbner basis it does not, and 𝑟⁠ is the normal form of 𝑓⁠ (Theorem 1.3.14 below).

Lemma 1.3.9. Algorithm 1.3.8 terminates, whatever the choices in step 2.
Proof. Suppose some run of the reduction never stops. By Corollary 1.3.7 we can choose such a run, starting from some 𝑓⁠, for which the largest monomial 𝑚⁠ of 𝑓⁠ is as small as possible. Write 𝑓=𝑐𝑚+𝑓′⁠ with all monomials of 𝑓′⁠ smaller than 𝑚⁠. A step that picks a monomial 𝜇⁠ of 𝑓′⁠ changes only monomials smaller than 𝜇⁠; it leaves 𝑐𝑚⁠ alone and is a step of a reduction of 𝑓′⁠. By the choice of 𝑚⁠, only finitely many such steps can follow each other, so the run picks 𝑚⁠ at some point. After that step all monomials are smaller than 𝑚⁠, and the rest of the run is a reduction that never stops, again against the choice of 𝑚⁠.□⁠

Example 1.3.10 (The remainder depends on the choices). Take lex⁠ with 𝑥≻𝑦⁠, let 𝑓=𝑥𝑦2−𝑥⁠, and reduce modulo 𝐺={𝑥𝑦−1,𝑦2−1}⁠.

Cancelling lm(𝑓)=𝑥𝑦2⁠ against 𝑥𝑦−1⁠ gives 𝑓−𝑦(𝑥𝑦−1)=𝑦−𝑥⁠, and neither 𝑥⁠ nor 𝑦⁠ is divisible by 𝑥𝑦⁠ or 𝑦2⁠: the remainder is 𝑦−𝑥⁠. Cancelling instead against 𝑦2−1⁠ gives 𝑓−𝑥(𝑦2−1)=0⁠.

Here 𝑓∈⟨𝐺⟩⁠, but one of the two remainders is nonzero. So a nonzero remainder does not show 𝑓∉⟨𝐺⟩⁠. Gröbner bases are the generating sets for which this cannot happen.

Gröbner bases

Definition 1.3.11 (Leading ideal, Gröbner basis). Fix a monomial order ≺⁠.

  1. (1)The leading ideal of a subset 𝑆⊆𝑘[𝐱]⁠ is the monomial ideal

    𝐿(𝑆)≔⟨lm(𝑓):𝑓∈𝑆∖{0}⟩.
  2. (2)Let 𝐼≠0⁠ be an ideal. A finite subset 𝐺⊆𝐼∖{0}⁠ is a Gröbner basis of 𝐼⁠ with respect to ≺⁠ if 𝐿(𝐺)=𝐿(𝐼)⁠.

Remark 1.3.12. Some observations:

  1. (1)By Lemma 1.3.6 (1), a monomial lies in 𝐿(𝐺)⁠ exactly when it is divisible by lm(𝑔)⁠ for some 𝑔∈𝐺⁠.

  2. (2)𝐿(𝐺)⊆𝐿(𝐼)⁠ holds for every 𝐺⊆𝐼⁠. So 𝐺⁠ is a Gröbner basis of 𝐼⁠ exactly when, for every nonzero 𝑓∈𝐼⁠, lm(𝑓)⁠ is divisible by lm(𝑔)⁠ for some 𝑔∈𝐺⁠.

  3. (3)The definition does not require 𝐺⁠ to generate 𝐼⁠; that follows, by Theorem 1.3.14 (2).

  4. (4)We follow Derksen and Kemper [DK15] and OSCAR (leading_ideal) in naming. Sturmfels [Stu08] speaks of initial monomials and the initial ideal init(𝐼)⁠ instead.

Example 1.3.13 (A Gröbner basis). Take lex⁠ with 𝑥≻𝑦⁠ and 𝐼=⟨𝑥𝑦−1,𝑦2−1⟩⁠, the ideal of Example 1.3.10. The leading ideal of the two generators is 𝐿({𝑥𝑦−1,𝑦2−1})=⟨𝑥𝑦,𝑦2⟩⁠, but 𝐼⁠ also contains

𝑦 (𝑥𝑦−1)−𝑥 (𝑦2−1)=𝑥−𝑦,

with leading monomial 𝑥∉⟨𝑥𝑦,𝑦2⟩⁠. So {𝑥𝑦−1,𝑦2−1}⁠ is not a Gröbner basis of 𝐼⁠.

The set 𝐺={𝑥−𝑦,𝑦2−1}⁠ is one. It generates 𝐼⁠, since 𝑥𝑦−1=𝑦 (𝑥−𝑦)+(𝑦2−1)⁠. Let 𝑓∈𝐼⁠ be nonzero. If some monomial of 𝑓⁠ involves 𝑥⁠, then so does lm(𝑓)⁠, because in lex⁠ every such monomial is larger than all monomials in 𝑦⁠ alone. Otherwise 𝑓∈𝑘[𝑦]⁠, and substituting 𝑦⁠ for 𝑥⁠ maps 𝐼⁠ onto ⟨𝑦2−1⟩⊴𝑘[𝑦]⁠ and fixes 𝑓⁠, so 𝑦2−1⁠ divides 𝑓⁠ and 𝑦2⁠ divides lm(𝑓)⁠. Hence 𝐿(𝐼)=⟨𝑥,𝑦2⟩=𝐿(𝐺)⁠. With respect to 𝐺⁠ the reduction of 𝑓=𝑥𝑦2−𝑥⁠ is unique: replacing 𝑥⁠ by 𝑦⁠ gives 𝑦3−𝑦=𝑦 (𝑦2−1)⁠, so the remainder is 0⁠, in line with 𝑓∈𝐼⁠.

Theorem 1.3.14. Let ≺⁠ be a monomial order and 𝐼≠0⁠ an ideal of 𝑘[𝐱]⁠.

  1. (1)𝐼⁠ has a Gröbner basis with respect to ≺⁠.

  2. (2)Every Gröbner basis 𝐺⁠ of 𝐼⁠ generates 𝐼⁠ as an ideal.

  3. (3)Reducing 𝑓⁠ modulo 𝐺⁠ gives remainder 0⁠ if and only if 𝑓∈𝐼⁠.

  4. (4)The remainder does not depend on the choices made while reducing. We write it NF𝐺(𝑓)⁠, the normal form of 𝑓⁠.

Proof. Lemma 1.3.6 (2) applied to the monomial ideal 𝐿(𝐼)⁠ gives finitely many 𝑔1,…,𝑔𝑠∈𝐼⁠ with 𝐿(𝐼)=𝐿({𝑔1,…,𝑔𝑠})⁠, proving (1). For the rest, let 𝑓∈𝐼⁠ and let 𝑟⁠ be any remainder of 𝑓⁠ modulo a Gröbner basis 𝐺⁠. Then 𝑟∈𝐼⁠, and if 𝑟≠0⁠ then lm(𝑟)∈𝐿(𝐼)=𝐿(𝐺)⁠ is divisible by some lm(𝑔)⁠, which reduction would have cancelled. So 𝑟=0⁠, giving (2) and (3). For (4), two remainders 𝑟,𝑟′⁠ differ by an element of 𝐼⁠ no monomial of which is divisible by any lm(𝑔)⁠; by the same argument 𝑟−𝑟′=0⁠.□⁠

End of lecture 4
28 October 2026

Remark 1.3.15. Two consequences:

  1. (1)Ideal membership is decidable, given a Gröbner basis 𝐺⁠ of 𝐼⁠: 𝑓∈𝐼⁠ exactly when NF𝐺(𝑓)=0⁠.

  2. (2)Parts (1) and (2) show that every ideal of 𝑘[𝐱]⁠ is finitely generated, that is, 𝑘[𝐱]⁠ is Noetherian. This is Hilbert’s basis theorem from Commutative Algebra [Gat13, Proposition 7.13].

Remark 1.3.16. Theorem 1.3.14 shows that Gröbner bases exist, but not how to compute one. The tool for that is the S-polynomial: for nonzero 𝑓,𝑔⁠ with 𝑚=lcm(lm(𝑓),lm(𝑔))⁠,

𝑆(𝑓,𝑔)≔𝑚lc(𝑓)lm(𝑓) 𝑓−𝑚lc(𝑔)lm(𝑔) 𝑔,

built so the two leading terms cancel. Buchberger’s criterion says 𝐺⁠ is a Gröbner basis of ⟨𝐺⟩⁠ exactly when NF𝐺(𝑆(𝑔,ℎ))=0⁠ for all 𝑔,ℎ∈𝐺⁠, and Buchberger’s algorithm adjoins nonzero normal forms of S-polynomials until none is left. It terminates because each adjunction enlarges 𝐿(𝐺)⁠ strictly, and since 𝑘[𝐱]⁠ is Noetherian this can only happen finitely many times.

For proofs and more information about these claims, see Computer Algebra. Many refinements over the basic algorithm sketched here have been proposed over the years. We will not concern ourselves with those here, and will instead just assume we have some means to compute a Gröbner basis of a given ideal.

However, note that in the worst case, the degrees in a Gröbner basis grow doubly exponentially in 𝑛⁠ [MM84], and deciding ideal membership needs space exponential in 𝑛⁠ [MM82]. In practice computations succeed far more often than this suggests, but they can also fail without warning. For this reason a good deal of Chapter 6 is about avoiding Gröbner basis computations.

1.4Elimination and algebraic dependence

The algorithm in the proof of Theorem 1.1.20 is similar to Algorithm 1.3.8: cancel the leading monomial, repeat, and terminate because there are only finitely many smaller monomials of bounded degree. But it writes 𝑓⁠ as a polynomial in the 𝜎𝑑⁠, not as a combination of them with polynomial coefficients: it works in a subalgebra, not in an ideal. For a general subalgebra the analogue of a Gröbner basis need not be finite (Section 2.5), so the algorithm does not carry over.

This section replaces the algorithm from Theorem 1.1.20 by a Gröbner basis computation. Let 𝑓1,…,𝑓𝑚∈𝑘[𝐱]⁠, let 𝐲=(𝑦1,…,𝑦𝑚)⁠ be new variables, and let 𝜑:𝑘[𝐲]→𝑘[𝐱]⁠, 𝑦𝑗↦𝑓𝑗⁠, be the homomorphism of Equation 1.2. Its image is 𝑘[𝑓1,…,𝑓𝑚]⁠ and its kernel is the ideal of all relations among the 𝑓𝑗⁠.

A map 𝜑:𝐴→𝐵⁠ is determined by its graph {(𝑎,𝜑(𝑎)):𝑎∈𝐴}⊆𝐴×𝐵⁠, and its kernel consists of the 𝑎⁠ with (𝑎,0)⁠ in the graph. Here we replace 𝑘[𝐲]×𝑘[𝐱]⁠ by 𝑘[𝐲]⊗𝑘[𝐱]≅𝑘[𝐱,𝐲]⁠, again a polynomial ring, and the graph by the ideal

𝐽≔⟨𝑦1−𝑓1,…,𝑦𝑚−𝑓𝑚⟩⊴𝑘[𝐱,𝐲].
Lemma 1.4.1. Let 𝜓:𝑘[𝐱,𝐲]→𝑘[𝐱]⁠ be the 𝑘⁠-algebra homomorphism with 𝑥𝑖↦𝑥𝑖⁠ and 𝑦𝑗↦𝑓𝑗⁠. Then ker𝜓=𝐽⁠. In particular 𝑔−𝜑(𝑔)∈𝐽⁠ for every 𝑔∈𝑘[𝐲]⁠, and 𝐽∩𝑘[𝐱]=0⁠.
Proof. Certainly 𝐽⊆ker𝜓⁠. For any 𝑔∈𝑘[𝐱,𝐲]⁠, substituting 𝑓𝑗⁠ for 𝑦𝑗⁠ alters 𝑔⁠ only by multiples of the 𝑦𝑗−𝑓𝑗⁠, so 𝑔−𝜓(𝑔)∈𝐽⁠; if 𝜓(𝑔)=0⁠ this gives 𝑔∈𝐽⁠. On 𝑘[𝐲]⁠ the map 𝜓⁠ is 𝜑⁠, and on 𝑘[𝐱]⁠ it is the identity, so 𝐽∩𝑘[𝐱]=ker𝜓∩𝑘[𝐱]=0⁠.□⁠

So modulo 𝐽⁠ every 𝑔∈𝑘[𝐲]⁠ equals its image 𝜑(𝑔)⁠. Hence 𝑔∈ker𝜑⁠ exactly when 𝑔∈𝐽∩𝑘[𝐲]⁠, and 𝑓∈𝑘[𝐱]⁠ lies in the image exactly when it is congruent modulo 𝐽⁠ to an element of 𝑘[𝐲]⁠.

Both are questions about the intersection of an ideal with the subring generated by some of the variables. The first subsection shows how a Gröbner basis computes such intersections, the second applies this to 𝐽⁠. Part I uses this construction whenever it needs the relations among given generators or has to decide membership in a subalgebra.

Elimination ideals

Definition 1.4.2 (Elimination ideal, elimination order). Split the variables into two blocks 𝐮⁠ and 𝐯⁠, so that 𝑘[𝐱]=𝑘[𝐮,𝐯]⁠. For an ideal 𝐼⊴𝑘[𝐮,𝐯]⁠, the elimination ideal obtained by eliminating 𝐮⁠ is

𝐼∩𝑘[𝐯],

an ideal of 𝑘[𝐯]⁠.

A monomial order ≺⁠ on 𝑘[𝐮,𝐯]⁠ is an elimination order for 𝐮⁠ if every monomial involving at least one variable from 𝐮⁠ is ≻⁠ every monomial involving only variables from 𝐯⁠.

Lemma 1.4.3. Let ≺⁠ be an elimination order for 𝐮⁠ and let 𝑔∈𝑘[𝐮,𝐯]⁠ be nonzero with lm(𝑔)∈𝑘[𝐯]⁠. Then 𝑔∈𝑘[𝐯]⁠.
Proof. A monomial of 𝑔⁠ involving a variable from 𝐮⁠ would be ≻lm(𝑔)⁠, contradicting the choice of lm(𝑔)⁠ as the largest monomial of 𝑔⁠.□⁠
Theorem 1.4.4 (Elimination theorem). Let ≺⁠ be an elimination order for 𝐮⁠, and let 𝐺⁠ be a Gröbner basis of 𝐼⊴𝑘[𝐮,𝐯]⁠ with respect to ≺⁠. Then 𝐺∩𝑘[𝐯]⁠ is a Gröbner basis of 𝐼∩𝑘[𝐯]⁠.
Proof. 𝐺∩𝑘[𝐯]⊆𝐼∩𝑘[𝐯]⁠ is clear, so it is enough to compare leading ideals. Let 𝑓∈𝐼∩𝑘[𝐯]⁠ be nonzero. Then lm(𝑓)∈𝐿(𝐼)=𝐿(𝐺)⁠, so lm(𝑔)∣lm(𝑓)⁠ for some 𝑔∈𝐺⁠. Since lm(𝑓)⁠ involves only 𝐯⁠, so does lm(𝑔)⁠, and Lemma 1.4.3 gives 𝑔∈𝑘[𝐯]⁠, that is 𝑔∈𝐺∩𝑘[𝐯]⁠. Hence lm(𝑓)∈𝐿(𝐺∩𝑘[𝐯])⁠.□⁠

The Gröbner hypothesis cannot be dropped. For 𝐼=⟨𝑥−𝑦,𝑥⟩⁠ in 𝑘[𝑥,𝑦]⁠ with 𝑥≻𝑦⁠, the elimination ideal 𝐼∩𝑘[𝑦]⁠ is ⟨𝑦⟩⁠, yet neither generator lies in 𝑘[𝑦]⁠.

Remark 1.4.5. Lexicographic order with 𝑥1≻⋯≻𝑥𝑛⁠ is an elimination order for every initial block {𝑥1,…,𝑥𝑗}⁠ at once, which is why it triangularises (Example 1.4.6). That is more than we usually need, and lex is the most expensive order to compute in.

Cheaper is a block order: order the 𝐮⁠-monomials among themselves by degrevlex⁠, likewise the 𝐯⁠-monomials, and declare any monomial involving 𝐮⁠ larger than any that does not. This is an elimination order for 𝐮⁠ and nothing more, and it is what one should use when only one block has to go.

Example 1.4.6 (Solving a system by elimination). Let 𝐼=⟨𝑥2+𝑦+𝑧−1,𝑥+𝑦2+𝑧−1,𝑥+𝑦+𝑧2−1⟩⁠ in ℚ[𝑥,𝑦,𝑧]⁠. Under degrevlex⁠ the three generators already form a Gröbner basis, and each involves all three variables. As degrevlex⁠ is not an elimination order, this says nothing about 𝐼∩ℚ[𝑧]⁠.

Under lex⁠ with 𝑥≻𝑦≻𝑧⁠, an elimination order for {𝑥}⁠ and for {𝑥,𝑦}⁠, a Gröbner basis of 𝐼⁠ is

𝑔1=𝑥+𝑦+𝑧2−1,𝑔2=𝑦2−𝑦−𝑧2+𝑧,𝑔3=2𝑦𝑧2+𝑧4−𝑧2, 𝑔4=𝑧6−4𝑧4+4𝑧3−𝑧2.

By Theorem 1.4.4, {𝑔2,𝑔3,𝑔4}⁠ is a Gröbner basis of 𝐼∩ℚ[𝑦,𝑧]⁠ and {𝑔4}⁠ one of 𝐼∩ℚ[𝑧]⁠. To solve the system, find the roots of 𝑔4=𝑧2(𝑧−1)2(𝑧2+2𝑧−1)⁠, then 𝑦⁠ from 𝑔2⁠ and 𝑔3⁠, then 𝑥⁠ from 𝑔1⁠. This example is from [CLO15, sec. 3.1], which carries it out, finds the five solutions, and discusses when a solution of the smaller system extends to one of the whole.

In OSCAR:

julia> A, (x, y, z) = polynomial_ring(QQ, [:x, :y, :z]);

julia> I = ideal(A, [x^2 + y + z - 1, x + y^2 + z - 1, x + y + z^2 - 1]);

julia> groebner_basis(I, ordering = degrevlex(A))
Gröbner basis with elements
  1: z^2 + x + y - 1
  2: y^2 + x + z - 1
  3: x^2 + y + z - 1
with respect to the ordering
  degrevlex([x, y, z])

julia> groebner_basis(I, ordering = lex(A))
Gröbner basis with elements
  1: z^6 - 4*z^4 + 4*z^3 - z^2
  2: 2*y*z^2 + z^4 - z^2
  3: y^2 - y - z^2 + z
  4: x + y + z^2 - 1
with respect to the ordering
  lex([x, y, z])

Relations and subalgebra membership

Let 𝑓1,…,𝑓𝑚⁠, 𝜑⁠ and 𝐽⁠ be as at the start of this section. With the right choice of ordering, a single Gröbner basis computation delivers both the kernel and the image of 𝜑⁠.

Theorem 1.4.7 (Relations and membership by elimination). Let 𝐽≔⟨𝑦1−𝑓1,…,𝑦𝑚−𝑓𝑚⟩⊴𝑘[𝐱,𝐲]⁠.

  1. (1)𝐽∩𝑘[𝐲]=ker𝜑⁠. In particular 𝑓1,…,𝑓𝑚⁠ are algebraically independent over 𝑘⁠ if and only if 𝐽∩𝑘[𝐲]=0⁠.

  2. (2)Let ≺⁠ be an elimination order for 𝐱⁠ on 𝑘[𝐱,𝐲]⁠ and let 𝐺⁠ be a Gröbner basis of 𝐽⁠. For 𝑓∈𝑘[𝐱]⁠,

    𝑓∈𝑘[𝑓1,…,𝑓𝑚] ⟺ NF𝐺(𝑓)∈𝑘[𝐲],

    and in that case 𝑓=NF𝐺(𝑓)(𝑓1,…,𝑓𝑚)⁠: the normal form is the expression of 𝑓⁠ in the generators.

Proof. Let 𝜓⁠ be as in Lemma 1.4.1, so ker𝜓=𝐽⁠.

  1. (1)Restricting 𝜓⁠ to 𝑘[𝐲]⁠ gives 𝜑⁠, so 𝐽∩𝑘[𝐲]=ker𝜑⁠, and ker𝜑=0⁠ is Definition 1.1.10.

  2. (2)Put 𝑟≔NF𝐺(𝑓)⁠. Since 𝑓−𝑟∈𝐽=ker𝜓⁠ and 𝜓(𝑓)=𝑓⁠, we get 𝜓(𝑟)=𝑓⁠. If 𝑟∈𝑘[𝐲]⁠ then 𝜓(𝑟)=𝑟(𝑓1,…,𝑓𝑚)⁠, which is the asserted expression, and 𝑓⁠ lies in 𝑘[𝑓1,…,𝑓𝑚]⁠.

    Conversely let 𝑓=ℎ(𝑓1,…,𝑓𝑚)⁠ with ℎ∈𝑘[𝐲]⁠. Then 𝑓−ℎ∈ker𝜓=𝐽⁠, so NF𝐺(𝑓)=NF𝐺(ℎ)⁠ by Theorem 1.3.14. Now reduce ℎ⁠: every monomial of ℎ⁠ lies in 𝑘[𝐲]⁠, so any 𝑔∈𝐺⁠ used as a reducer has lm(𝑔)⁠ dividing a 𝐲⁠-monomial, whence lm(𝑔)∈𝑘[𝐲]⁠ and 𝑔∈𝑘[𝐲]⁠ by Lemma 1.4.3. The reduction therefore never leaves 𝑘[𝐲]⁠, so NF𝐺(ℎ)∈𝑘[𝐲]⁠.□⁠

Algorithm 1.4.8 (Relations and membership). Input: 𝑓1,…,𝑓𝑚∈𝑘[𝐱]⁠, and optionally 𝑓∈𝑘[𝐱]⁠.

Output: a Gröbner basis of the ideal of relations among 𝑓1,…,𝑓𝑚⁠; if 𝑓⁠ is given, whether 𝑓∈𝑘[𝑓1,…,𝑓𝑚]⁠, and if so ℎ∈𝑘[𝐲]⁠ with 𝑓=ℎ(𝑓1,…,𝑓𝑚)⁠.

  1. (1)Form 𝐽=⟨𝑦𝑗−𝑓𝑗⟩⊴𝑘[𝐱,𝐲]⁠ and compute a Gröbner basis 𝐺⁠ of 𝐽⁠ for an elimination order for 𝐱⁠.

  2. (2)𝐺∩𝑘[𝐲]⁠ is a Gröbner basis of the ideal of relations among 𝑓1,…,𝑓𝑚⁠; it is {0}⁠ exactly when they are algebraically independent.

  3. (3)If 𝑓⁠ is given, compute NF𝐺(𝑓)⁠. It lies in 𝑘[𝐲]⁠ precisely when 𝑓∈𝑘[𝑓1,…,𝑓𝑚]⁠, and then exhibits 𝑓⁠ in terms of the 𝑓𝑗⁠.

Step 2 computes the relations that make an invariant ring a quotient of a polynomial ring rather than a polynomial ring itself. Step 3 decides whether an invariant is a polynomial in invariants already found; Algorithm 2.3.19 uses it to test a candidate generating set degree by degree.

In OSCAR

Take the cyclic group of Example 1.2.9 with 𝑚=3⁠, whose invariants are generated by 𝑢=𝑥1𝑥2⁠, 𝑣=𝑥13⁠, 𝑤=𝑥23⁠. Eliminating 𝑥1,𝑥2⁠ returns the relation asserted there:

julia> E, (x1, x2, u, v, w) = polynomial_ring(QQ, [:x1, :x2, :u, :v, :w]);

julia> J = ideal(E, [u - x1*x2, v - x1^3, w - x2^3]);

julia> eliminate(J, [x1, x2])
Ideal generated by
  u^3 - v*w

The elementary symmetric polynomials, by contrast, satisfy no relation at all, which is the second half of Theorem 1.1.20. Here the new variables σ1, σ2, σ3 play the role of 𝑦1,𝑦2,𝑦3⁠:

julia> F, (x1, x2, x3, σ1, σ2, σ3) =
           polynomial_ring(QQ, [:x1, :x2, :x3, :σ1, :σ2, :σ3]);

julia> K = ideal(F, [σ1 - (x1 + x2 + x3), σ2 - (x1*x2 + x1*x3 + x2*x3),
                     σ3 - x1*x2*x3]);

julia> eliminate(K, [x1, x2, x3])
Ideal generated by
  0

Normal forms with respect to a block order give the membership test. The first input is symmetric, and its normal form involves only σ1, σ2, σ3; it reproduces Example 1.1.22. The second is not symmetric, and its normal form still involves 𝑥3⁠:

julia> o = degrevlex([x1, x2, x3]) * degrevlex([σ1, σ2, σ3]);

julia> normal_form(x1^3 + x2^3 + x3^3, K, ordering = o)
σ1^3 - 3*σ1*σ2 + 3*σ3

julia> normal_form(x1^2 + x2^2, K, ordering = o)
-x3^2 + σ1^2 - 2*σ2

OSCAR’s eliminate runs the Gröbner basis computation of Algorithm 1.4.8 for you; the block order degrevlex(...) * degrevlex(...) is the one from Remark 1.4.5.

1.5Torus invariants and integer programming∗⁠

The cyclic group of Example 1.2.9 acted diagonally, and the whole computation came down to a congruence on exponents. If we replace it by a torus, the simplest infinite group, everything stays combinatorial. But the congruence becomes a system of linear equations over ℤ⁠, and finding generators becomes a problem in integer programming.

Throughout this section 𝑘⁠ is infinite.

Definition 1.5.1 (Torus, diagonal action). The torus of rank 𝑟⁠ is 𝑇≔(𝑘×)𝑟⁠. An integer matrix 𝐴∈ℤ𝑟×𝑛⁠ with columns 𝑎1,…,𝑎𝑛⁠ lets 𝑇⁠ act diagonally on 𝑉=𝑘𝑛⁠,

𝑡⋅𝑒𝑗≔𝑡𝑎𝑗𝑒𝑗, 𝑡𝑎𝑗≔𝑡1𝑎1𝑗⋯𝑡𝑟𝑎𝑟𝑗,

that is, through the diagonal matrices diag(𝑡𝑎1,…,𝑡𝑎𝑛)⁠. By Definition 1.2.1, 𝑡⋅𝑥𝑗=𝑡−𝑎𝑗𝑥𝑗⁠, hence

𝑡⋅𝐱𝑢=𝑡−𝐴𝑢 𝐱𝑢 (𝑢∈ℕ𝑛),

where 𝐴𝑢=∑𝑗𝑢𝑗𝑎𝑗∈ℤ𝑟⁠.

Proposition 1.5.2. 𝑘[𝑉]𝑇⁠ is spanned by the monomials 𝐱𝑢⁠ with 𝑢⁠ in

ℳ︀≔{𝑢∈ℕ𝑛:𝐴𝑢=0}.
Proof. Each 𝑡⁠ acts by a diagonal matrix, so by Lemma 1.2.8 a polynomial is invariant exactly when each of its monomials is. And 𝐱𝑢⁠ is invariant exactly when 𝑡𝑚=1⁠ for all 𝑡∈𝑇⁠, where 𝑚≔𝐴𝑢⁠. If 𝑚≠0⁠, say 𝑚𝑖≠0⁠, set 𝑡𝑙=1⁠ for 𝑙≠𝑖⁠: then 𝑡𝑖𝑚𝑖=1⁠ has at most |𝑚𝑖|⁠ solutions in 𝑘×⁠, which is infinite. So 𝑚=0⁠.□⁠

ℳ︀⁠ contains 0⁠ and is closed under addition, and 𝐱𝑢𝐱𝑣=𝐱𝑢+𝑣⁠: the invariant ring is the semigroup algebra of the monoid ℳ︀⁠. Generating it as an algebra is the same as generating ℳ︀⁠ as a monoid.

Definition 1.5.3 (Hilbert basis). The Hilbert basis of ℳ︀⁠ is the set ℋ︀⁠ of its minimal nonzero elements: those ℎ∈ℳ︀∖{0}⁠ for which no 𝑣∈ℳ︀∖{0}⁠ satisfies 𝑣≤ℎ⁠ componentwise with 𝑣≠ℎ⁠.

Theorem 1.5.4 (Gordan’s lemma). ℋ︀⁠ is finite, every element of ℳ︀⁠ is a sum of elements of ℋ︀⁠, and every generating set of the monoid ℳ︀⁠ contains ℋ︀⁠. Consequently

𝑘[𝑉]𝑇=𝑘[𝐱ℎ:ℎ∈ℋ︀]

is finitely generated, and the 𝐱ℎ⁠ are its unique minimal set of monomial generators.

Proof. The monomials 𝐱𝑢⁠, 𝑢∈ℳ︀∖{0}⁠, generate a monomial ideal, which by Lemma 1.3.6 is generated by finitely many of them, 𝐱𝑢1,…,𝐱𝑢𝑠⁠. So every 𝑢∈ℳ︀∖{0}⁠ satisfies 𝑢≥𝑢𝑖⁠ for some 𝑖⁠; a minimal 𝑢⁠ must then equal that 𝑢𝑖⁠, and ℋ︀⁠ is finite.

Generation, by induction on |𝑢|≔𝑢1+⋯+𝑢𝑛⁠: for 𝑢∈ℳ︀∖{0}⁠ there are finitely many 𝑣∈ℳ︀∖{0}⁠ with 𝑣≤𝑢⁠, and one with least |𝑣|⁠ is minimal, so lies in ℋ︀⁠; call it ℎ⁠. Then 𝑢−ℎ∈ℕ𝑛⁠ and 𝐴(𝑢−ℎ)=0⁠, so 𝑢−ℎ∈ℳ︀⁠ with |𝑢−ℎ|<|𝑢|⁠.

Finally, ℎ∈ℋ︀⁠ is not a sum 𝑣+𝑤⁠ with 𝑣,𝑤∈ℳ︀∖{0}⁠, since then 𝑣≤ℎ⁠ and 𝑣≠ℎ⁠. So no generating set can omit ℎ⁠.□⁠

Finding ℋ︀⁠ means listing the minimal nonnegative integer solutions of the homogeneous system 𝐴𝑢=0⁠ — a problem of integer programming, and the source of the section title. Geometrically, 𝐶≔{𝑢∈ℝ≥0𝑛:𝐴𝑢=0}⁠ is a pointed rational polyhedral cone, ℳ︀=𝐶∩ℤ𝑛⁠, and ℋ︀⁠ is what polyhedral geometry calls the Hilbert basis of 𝐶⁠. Computing it is a subject of its own; Normaliz implements the algorithms, and OSCAR exposes them.

Proposition 1.5.5 (The toric ideal). Let ℋ︀={ℎ1,…,ℎ𝑠}⁠ and let 𝜑:𝑘[𝑦1,…,𝑦𝑠]→𝑘[𝑉]𝑇⁠, 𝑦𝑖↦𝐱ℎ𝑖⁠. Then ker𝜑⁠ is spanned, as a vector space, by the binomials 𝐲𝑣−𝐲𝑤⁠ with ∑𝑖𝑣𝑖ℎ𝑖=∑𝑖𝑤𝑖ℎ𝑖⁠.
Proof. Give 𝑦𝑖⁠ the degree ℎ𝑖∈ℕ𝑛⁠ and write 𝑘[𝐲]𝑢⁠ for the span of the monomials of degree 𝑢⁠. Then 𝜑⁠ sends every monomial of 𝑘[𝐲]𝑢⁠ to 𝐱𝑢⁠. For 𝑔=∑𝑢𝑔𝑢⁠ with 𝑔𝑢∈𝑘[𝐲]𝑢⁠ this gives 𝜑(𝑔)=∑𝑢𝜑(𝑔𝑢)⁠ with 𝜑(𝑔𝑢)∈𝑘 𝐱𝑢⁠, and distinct monomials are linearly independent, so 𝜑(𝑔)=0⁠ exactly when every 𝜑(𝑔𝑢)=0⁠. On 𝑘[𝐲]𝑢⁠ the kernel is {∑𝑣𝑐𝑣𝐲𝑣:∑𝑣𝑐𝑣=0}⁠, which the differences 𝐲𝑣−𝐲𝑤⁠ span.□⁠

Ideals of this kind are called toric. This one is the ideal of relations among the generators of 𝑘[𝑉]𝑇⁠, and Algorithm 1.4.8 computes it.

Example 1.5.6 (A one-parameter torus on 𝑘3⁠). Let 𝑟=1⁠ and 𝐴=(1  1  −2)⁠, so 𝑡⋅(𝑣1,𝑣2,𝑣3)=(𝑡𝑣1,𝑡𝑣2,𝑡−2𝑣3)⁠ and ℳ︀={𝑢∈ℕ3:𝑢1+𝑢2=2𝑢3}⁠. For 𝑢3=1⁠ this leaves (2,0,1)⁠, (1,1,1)⁠ and (0,2,1)⁠; any 𝑢⁠ with 𝑢3≥2⁠ has 𝑢1+𝑢2≥4⁠, hence 𝑢1≥2⁠ or 𝑢2≥2⁠, and so lies above one of the first two. Therefore ℋ︀={(2,0,1),(1,1,1),(0,2,1)}⁠ and

𝑘[𝑉]𝑇=𝑘[𝑥12𝑥3,𝑥1𝑥2𝑥3,𝑥22𝑥3].

Writing 𝑣,𝑢,𝑤⁠ for the three generators, 2⋅(1,1,1)=(2,0,1)+(0,2,1)⁠ gives the relation 𝑢2=𝑣𝑤⁠, and the argument of Example 1.2.9 shows it is the only one: 𝑘[𝑉]𝑇≅𝑘[𝑢,𝑣,𝑤]/⟨𝑢2−𝑣𝑤⟩⁠. That is the invariant ring of the cyclic group of order 2⁠ in Example 1.2.9, as a ring. So an infinite group and a group of order 2⁠ can have isomorphic invariant rings.

OSCAR finds the Hilbert basis from the cone — its inequalities are given as 𝐼𝑢≤0⁠, hence the sign — and the relation by the elimination of Section 1.4:

julia> A = matrix(QQ, [1 1 -2]);

julia> C = cone_from_inequalities(-identity_matrix(QQ, 3), A);   # u >= 0, A*u = 0

julia> hilbert_basis(C)
3-element SubObjectIterator{PointVector{ZZRingElem}}:
 [0, 2, 1]
 [2, 0, 1]
 [1, 1, 1]

julia> P, (x1, x2, x3, u, v, w) =
           polynomial_ring(QQ, [:x1, :x2, :x3, :u, :v, :w]);

julia> J = ideal(P, [u - x1*x2*x3, v - x1^2*x3, w - x2^2*x3]);

julia> eliminate(J, [x1, x2, x3])
Ideal generated by
  u^2 - v*w

Everything here used that 𝑇⁠ is diagonal. For a general infinite group nothing is spanned by monomials, finite generation is a theorem rather than a lemma, and the generators are not read off a cone. That is Part II.

2Finite groups: finiteness and generators

The case char𝑘∤|𝐺|⁠ is called non-modular, the case char𝑘∣|𝐺|⁠ modular. Characteristic 0⁠ is non-modular.

Convention. Throughout this chapter and the next, 𝐺≤𝐺𝐿𝑛(𝑘)⁠ is a finite group, 𝑉=𝑘𝑛⁠, and 𝐺⁠ acts on 𝑘[𝑉]=𝑘[𝑥1,…,𝑥𝑛]⁠ as in Definition 1.2.1. Unless a statement says otherwise, the case is non-modular.

Definition 2.1.4 is where non-modularity is used, and every statement that depends on it says so.

This chapter answers two of the questions of Section 1.2: is 𝑘[𝑉]𝐺⁠ finitely generated, and how does one find a generating set. Section 2.1 proves finite generation with an explicit degree bound, Section 2.2 counts the invariants of each degree, and Section 2.3 turns the count into an algorithm. Chapter 3 then asks what the invariant ring looks like as a module, which is what makes those computations practical.

2.1Reynolds operator and finiteness

In Section 1.1 the invariants of 𝑆𝑛⁠ were found by hand, in Example 1.2.9 by looking at monomials. For an arbitrary finite group we need a way to produce invariants from arbitrary polynomials. One way is to average over the group. This section shows that averaging produces every invariant, and that in characteristic 0⁠ the averages of the monomials of degree at most |𝐺|⁠ generate the invariant ring.

Enough invariants

We recall a notion and a result from Commutative Algebra.

Definition 2.1.1 ([Gat13, Definition 9.1 (b)]). Let 𝐴≤𝑅⁠ be a subring. An element 𝑟∈𝑅⁠ is integral over 𝐴⁠ if it is a root of a monic polynomial with coefficients in 𝐴⁠.
Proposition 2.1.2 ([Gat13, Proposition 9.5]). Let 𝐴≤𝑅⁠ be a subring. If 𝑅⁠ is generated as an 𝐴⁠-algebra by finitely many elements that are integral over 𝐴⁠, then 𝑅⁠ is a finitely generated 𝐴⁠-module, and every element of 𝑅⁠ is integral over 𝐴⁠.

The following result applies even in the modular case.

Proposition 2.1.3 (Enough invariants). Let 𝐺≤𝐺𝐿𝑛(𝑘)⁠ be finite.

  1. (1)For each 𝑖∈{1,…,𝑛}⁠, the polynomial in a new variable 𝑇⁠

    𝑃𝑖(𝑇)≔∏𝑔∈𝐺(𝑇−𝑔⋅𝑥𝑖)∈𝑘[𝑉][𝑇]

    is monic of degree |𝐺|⁠ in 𝑇⁠, has coefficients in 𝑘[𝑉]𝐺⁠, and 𝑃𝑖(𝑥𝑖)=0⁠. So every element of 𝑘[𝑉]⁠ is integral over 𝑘[𝑉]𝐺⁠.

  2. (2)𝑘[𝑉]⁠ is a finitely generated 𝑘[𝑉]𝐺⁠-module, spanned by the monomials 𝐱𝑎⁠ with 𝑎𝑖<|𝐺|⁠ for all 𝑖⁠.

  3. (3)𝑘[𝑉]𝐺⁠ contains 𝑛⁠ algebraically independent elements, and no more.

Proof.
  1. (1)Let 𝐺⁠ act on 𝑘[𝑉][𝑇]⁠ through the coefficients, fixing 𝑇⁠. Each ℎ⋅⁠ is then a ring automorphism, and ℎ⋅𝑃𝑖=∏𝑔(𝑇−(ℎ𝑔)⋅𝑥𝑖)=𝑃𝑖⁠, since 𝑔↦ℎ𝑔⁠ permutes 𝐺⁠. So the coefficients of 𝑃𝑖⁠ are invariant; up to sign they are the elementary symmetric polynomials in the |𝐺|⁠ linear forms 𝑔⋅𝑥𝑖⁠. The factor for 𝑔=1⁠ vanishes at 𝑇=𝑥𝑖⁠. Since 𝑥1,…,𝑥𝑛⁠ generate 𝑘[𝑉]⁠ as a 𝑘[𝑉]𝐺⁠-algebra, every element of 𝑘[𝑉]⁠ is integral over 𝑘[𝑉]𝐺⁠ by Proposition 2.1.2.

  2. (2)By (1), 𝑃𝑖(𝑥𝑖)=0⁠ thus 𝑥𝑖|𝐺|⁠ is a 𝑘[𝑉]𝐺⁠-combination of 1,𝑥𝑖,…,𝑥𝑖|𝐺|−1⁠. Hence every monomial reduces, one variable at a time, to a combination of the monomials named, with coefficients in 𝑘[𝑉]𝐺⁠.

  3. (3)Let 𝑐1,…,𝑐𝑠∈𝑘[𝑉]𝐺⁠ be the coefficients of 𝑃1,…,𝑃𝑛⁠. By (1), each 𝑥𝑖⁠ is algebraic over 𝑘(𝑐1,…,𝑐𝑠)⁠, so 𝐿≔𝑘(𝑥1,…,𝑥𝑛)⁠ is algebraic over 𝑘(𝑐1,…,𝑐𝑠)⁠. By Remark 1.1.13 (2), applied with 𝐴=∅⁠ and 𝐶={𝑐1,…,𝑐𝑠}⁠, some subset of the 𝑐𝑗⁠ is a transcendence basis of 𝐿⁠ over 𝑘⁠. It has 𝑛⁠ elements by Remark 1.1.13 (1), and these are 𝑛⁠ algebraically independent elements of 𝑘[𝑉]𝐺⁠. More than 𝑛⁠ is impossible by Remark 1.1.13.□⁠

This settles the promise made in Example 1.2.11: a finite group always has as many algebraically independent invariants as there are variables. Only the finiteness of 𝐺⁠ was used, and only to make the product in (1) finite.

End of lecture 5
2 November 2026

The Reynolds operator

Up to sign, the coefficient of 𝑇|𝐺|−1⁠ in 𝑃𝑖⁠ is the sum ∑𝑔∈𝐺𝑔⋅𝑥𝑖⁠. Such a sum is invariant for every polynomial in place of 𝑥𝑖⁠, and dividing it by |𝐺|⁠ gives the operator we want.

Definition 2.1.4 (Reynolds operator). Assume the non-modular case, so that |𝐺|⁠ is invertible in 𝑘⁠. The Reynolds operator of 𝐺⁠ is

ℛ︀:𝑘[𝑉]⟶𝑘[𝑉], ℛ︀(𝑓)≔1|𝐺|∑𝑔∈𝐺𝑔⋅𝑓.

(2.1)

Example 2.1.5 (Averaging in two familiar groups).
  1. (1)Let 𝑆𝑛⁠ act by permutation matrices (Example 1.2.4), so that each 𝜋⋅𝐱𝑎⁠ is again a monomial. Recall from Introduction to Algebra [Gat10, Definition 7.14 and Satz 7.17 (a)] the orbit 𝑆𝑛⋅𝐱𝑎≔{𝜋⋅𝐱𝑎:𝜋∈𝑆𝑛}⁠, the stabiliser Stab(𝐱𝑎)⁠, which is the subgroup of all 𝜋∈𝑆𝑛⁠ with 𝜋⋅𝐱𝑎=𝐱𝑎⁠, and the orbit equation 𝑛!=|Stab(𝐱𝑎)|⋅|𝑆𝑛⋅𝐱𝑎|⁠. For each monomial 𝑚⁠ of the orbit, the permutations 𝜋⁠ with 𝜋⋅𝐱𝑎=𝑚⁠ form a left coset of Stab(𝐱𝑎)⁠. So every monomial of the orbit occurs |Stab(𝐱𝑎)|⁠ times in Equation 2.1, and

    ℛ︀(𝐱𝑎)=1|𝑆𝑛⋅𝐱𝑎|∑𝑚∈𝑆𝑛⋅𝐱𝑎𝑚

    is the average of the monomials in the orbit. For 𝑛=3⁠,

    ℛ︀(𝑥12)=13𝑝2, ℛ︀(𝑥12𝑥2)=16(𝑥12𝑥2+𝑥12𝑥3+𝑥1𝑥22+𝑥22𝑥3+𝑥1𝑥32+𝑥2𝑥32).
  2. (2)For the cyclic group 𝐺=⟨𝑔⟩⁠ of Example 1.2.9, 𝑔𝑗⋅(𝑥1𝑎𝑥2𝑏)=𝜁𝑗(𝑏−𝑎)𝑥1𝑎𝑥2𝑏⁠, hence

    ℛ︀(𝑥1𝑎𝑥2𝑏)=(1𝑚∑𝑗=0𝑚−1𝜁𝑗(𝑏−𝑎))𝑥1𝑎𝑥2𝑏={𝑥1𝑎𝑥2𝑏if 𝑎≡𝑏 (mod 𝑚),0otherwise,

    since ∑𝑗𝜁𝑗𝑟=(𝜁𝑟𝑚−1)/(𝜁𝑟−1)=0⁠ when 𝜁𝑟≠1⁠. So ℛ︀⁠ fixes the invariant monomials and maps every other monomial to 0⁠.

  3. (3)The non-modular assumption cannot be dropped. Let char𝑘=2⁠, and let 𝑆2={id,𝜏}⁠ act on 𝑘[𝑥1,𝑥2]⁠ by permuting the variables. Then |𝑆2|=0⁠ in 𝑘⁠, and Equation 2.1 is not defined. The map 𝑓↦𝑓+𝜏⋅𝑓⁠ still takes invariant values, since 𝜏⋅(𝑓+𝜏⋅𝑓)=𝜏⋅𝑓+𝑓⁠. But it sends the invariant 𝑥1𝑥2⁠ to 2𝑥1𝑥2=0⁠, so no scalar multiple of it is a projection onto 𝑘[𝑉]𝑆2⁠.

Proposition 2.1.6 (Properties of the Reynolds operator).
  1. (1)ℛ︀⁠ is 𝑘⁠-linear and maps 𝑘[𝑉]𝑑⁠ into 𝑘[𝑉]𝑑⁠ for every 𝑑⁠.

  2. (2)ℛ︀(𝑓)∈𝑘[𝑉]𝐺⁠ for every 𝑓⁠, and ℛ︀(𝑓)=𝑓⁠ for 𝑓∈𝑘[𝑉]𝐺⁠. So ℛ︀⁠ is a projection of 𝑘[𝑉]⁠ onto 𝑘[𝑉]𝐺⁠, and of 𝑘[𝑉]𝑑⁠ onto 𝑘[𝑉]𝑑𝐺⁠.

  3. (3)ℛ︀(ℎ𝑓)=ℎ ℛ︀(𝑓)⁠ for ℎ∈𝑘[𝑉]𝐺⁠ and 𝑓∈𝑘[𝑉]⁠: ℛ︀⁠ is 𝑘[𝑉]𝐺⁠-linear.

  4. (4)𝑘[𝑉]𝑑𝐺⁠ is spanned by the ℛ︀(𝐱𝑎)⁠ with |𝑎|=𝑑⁠.

Proof.
  1. (1)Each 𝑔⋅⁠ is linear and maps 𝑘[𝑉]𝑑⁠ to itself by Proposition 1.2.7.

  2. (2)For 𝑎∈𝐺⁠, 𝑎⋅ℛ︀(𝑓)=1|𝐺|∑𝑔(𝑎𝑔)⋅𝑓=ℛ︀(𝑓)⁠, because 𝑔↦𝑎𝑔⁠ is a bijection of 𝐺⁠. If 𝑓⁠ is invariant, every summand of Equation 2.1 equals 𝑓⁠.

  3. (3)𝑔⋅(ℎ𝑓)=(𝑔⋅ℎ)(𝑔⋅𝑓)=ℎ (𝑔⋅𝑓)⁠, since 𝑔⋅⁠ is a ring homomorphism and ℎ⁠ is invariant.

  4. (4)The monomials of degree 𝑑⁠ span 𝑘[𝑉]𝑑⁠, and ℛ︀⁠ maps 𝑘[𝑉]𝑑⁠ onto 𝑘[𝑉]𝑑𝐺⁠ by (1) and (2).□⁠

OSCAR’s reynolds_operator computes Equation 2.1. Below it is applied to the cyclic group of Example 1.2.9 with 𝑚=3⁠ and to 𝑆3⁠, as in Example 2.1.5; the invariant ring of a permutation group is entered through the group, without writing down matrices.

julia> using Oscar

julia> K, ζ = cyclotomic_field(3);

julia> G = matrix_group(matrix(K, [ζ 0; 0 ζ^-1]));

julia> IR = invariant_ring(G);

julia> x = gens(polynomial_ring(IR));

julia> reynolds_operator(IR, x[1]^2*x[2])
0

julia> reynolds_operator(IR, x[1]^3)
x[1]^3

julia> IR3 = invariant_ring(QQ, symmetric_group(3));

julia> x = gens(polynomial_ring(IR3));

julia> reynolds_operator(IR3, x[1]^2)
1//3*x[1]^2 + 1//3*x[2]^2 + 1//3*x[3]^2

julia> reynolds_operator(IR3, x[1]*x[2])
1//3*x[1]*x[2] + 1//3*x[1]*x[3] + 1//3*x[2]*x[3]
Remark 2.1.7. Proposition 2.1.6 (4) is the second way to compute 𝑘[𝑉]𝑑𝐺⁠. The first was noted after Proposition 1.2.7: it is the kernel of 𝑓↦(𝑔⋅𝑓−𝑓)𝑔⁠ over a generating set of 𝐺⁠, a system of linear equations with (𝑛+𝑑−1𝑛−1)⁠ unknowns. Averaging instead produces a spanning set of (𝑛+𝑑−1𝑛−1)⁠ vectors, each a sum over |𝐺|⁠ terms, from which a basis is extracted by linear algebra. Averaging is cheaper for small groups and large degrees, the kernel computation for large groups; see [DK15, sec. 3.1].

Noether’s degree bound

To measure how large the degrees of generators must be, we use the following number.

Definition 2.1.8 (Noether number). The Noether number 𝛽(𝐺)⁠ is the smallest 𝛽⁠ such that 𝑘[𝑉]𝐺⁠ is generated as a 𝑘⁠-algebra by homogeneous invariants of degree at most 𝛽⁠, and ∞⁠ if there is none.

The Noether number depends on 𝐺⁠ as a subgroup of 𝐺𝐿𝑛(𝑘)⁠, not only on the abstract group; Example 2.1.9 (2) gives two cyclic groups of order 6⁠ with different Noether numbers.

Example 2.1.9 (Noether numbers).
  1. (1)Let 𝑆𝑛⁠ act by permutation matrices. Then 𝛽(𝑆𝑛)=𝑛⁠. By Theorem 1.1.20, 𝑘[𝑉]𝑆𝑛⁠ is generated by 𝜎1,…,𝜎𝑛⁠, so 𝛽(𝑆𝑛)≤𝑛⁠. Conversely, let 𝑓⁠ be a homogeneous invariant of degree 𝑑<𝑛⁠. By Theorem 1.1.20, 𝑓⁠ is a linear combination of products 𝜎1𝑏1⋯𝜎𝑛𝑏𝑛⁠, and comparing homogeneous components we may keep only the products of degree 𝑑⁠; these do not involve 𝜎𝑛⁠. So the invariants of degree less than 𝑛⁠ generate 𝑘[𝜎1,…,𝜎𝑛−1]⁠, which does not contain 𝜎𝑛⁠ because 𝜎1,…,𝜎𝑛⁠ are algebraically independent.

  2. (2)Let 𝑘⁠ contain a primitive sixth root of unity 𝜁⁠, and let 𝜔≔𝜁2⁠, a primitive cube root of unity. The groups 𝐺1≔⟨𝜁⟩≤𝐺𝐿1(𝑘)⁠ and 𝐺2≔⟨diag(−1,𝜔)⟩≤𝐺𝐿2(𝑘)⁠ are both cyclic of order 6⁠. Both act diagonally, so by Lemma 1.2.8 their invariant rings are spanned by invariant monomials. By Equation 1.4, 𝑥𝑎⁠ is 𝐺1⁠-invariant if and only if 6∣𝑎⁠, and 𝑥1𝑎𝑥2𝑏⁠ is 𝐺2⁠-invariant if and only if 𝑎⁠ is even and 3∣𝑏⁠. Hence

    𝑘[𝑥]𝐺1=𝑘[𝑥6], 𝑘[𝑥1,𝑥2]𝐺2=𝑘[𝑥12,𝑥23],

    and in each case the generator of largest degree is not a polynomial in invariants of lower degree. So 𝛽(𝐺1)=6⁠ but 𝛽(𝐺2)=3⁠.

If a set of invariants generates 𝑘[𝑉]𝐺⁠, then so does the set of their homogeneous components, which are invariant by Proposition 1.2.7. So restricting to homogeneous generators in Definition 2.1.8 loses nothing.

Theorem 2.1.10 (Noether’s degree bound). Let char𝑘=0⁠ and 𝑁≔|𝐺|⁠. Then

𝑘[𝑉]𝐺=𝑘[ℛ︀(𝐱𝑎):1≤|𝑎|≤𝑁].

In particular 𝑘[𝑉]𝐺⁠ is generated by at most (𝑛+𝑁𝑛)−1⁠ homogeneous invariants of degree at most 𝑁⁠, and 𝛽(𝐺)≤𝑁⁠.

Proof. Put 𝐽𝑎≔ℛ︀(𝐱𝑎)⁠. By Proposition 2.1.6 (4) every invariant is a 𝑘⁠-linear combination of the 𝐽𝑎⁠, so it suffices to show 𝐽𝑎∈𝑘[𝐽𝑏:|𝑏|≤𝑁]⁠ for every 𝑎⁠. Clearly it suffices to show this for |𝑎|>𝑁⁠.

Adjoin new variables 𝑢1,…,𝑢𝑛⁠ and let 𝐺⁠ act on 𝑘[𝑉][𝐮]=𝑘[𝐱,𝐮]⁠ through the 𝐱⁠ alone, fixing the 𝑢𝑖⁠; then ℛ︀⁠ extends 𝑘[𝐮]⁠-linearly, acting on the coefficients. Let ℓ≔𝑢1𝑥1+⋯+𝑢𝑛𝑥𝑛⁠, and for 𝑔∈𝐺⁠ let ℓ𝑔≔𝑔⋅ℓ=∑𝑖=1𝑛𝑢𝑖(𝑔⋅𝑥𝑖)⁠. For 𝑑≥1⁠ set

𝐹𝑑≔ℛ︀(ℓ𝑑)=1𝑁∑𝑔∈𝐺ℓ𝑔𝑑,

using that 𝑔⋅⁠ is a ring homomorphism. We compute 𝐹𝑑⁠ in two ways.

Expanding by the multinomial theorem [DLM26, eq. 26.4.9], ℓ𝑑=∑|𝑎|=𝑑(𝑑𝑎)𝐮𝑎𝐱𝑎⁠ with (𝑑𝑎)≔𝑑!/(𝑎1!⋯𝑎𝑛!)⁠, so

𝐹𝑑=∑|𝑎|=𝑑(𝑑𝑎) 𝐽𝑎 𝐮𝑎.

As a polynomial in 𝐮⁠, 𝐹𝑑⁠ has as coefficients the 𝐽𝑎⁠ with |𝑎|=𝑑⁠, each times the integer (𝑑𝑎)⁠, which is nonzero in 𝑘⁠ because char𝑘=0⁠.

On the other hand 𝑆𝑑≔∑𝑔∈𝐺ℓ𝑔𝑑⁠, so that 𝐹𝑑=𝑆𝑑/𝑁⁠, is the 𝑑⁠-th power sum of the 𝑁⁠ elements ℓ𝑔⁠. To make this precise, take 𝑁⁠ new variables 𝑧𝑔⁠, 𝑔∈𝐺⁠, and the power sums 𝑝𝑑=∑𝑔𝑧𝑔𝑑⁠ of Example 1.1.7 in these variables. Since char𝑘=0⁠, Proposition 1.1.25 gives a polynomial 𝑄𝑑⁠ with coefficients in 𝑘⁠ such that 𝑝𝑑=𝑄𝑑(𝑝1,…,𝑝𝑁)⁠. Substituting ℓ𝑔⁠ for 𝑧𝑔⁠ gives

𝑆𝑑=𝑄𝑑(𝑆1,…,𝑆𝑁).

Now compare coefficients of 𝐮𝑎⁠ for |𝑎|=𝑑>𝑁⁠. On the left this is 𝑁(𝑑𝑎)𝐽𝑎⁠, by the expansion of 𝐹𝑑=𝑆𝑑/𝑁⁠ above; on the right it is a polynomial in the 𝐮⁠-coefficients of 𝑆1,…,𝑆𝑁⁠, which are scalar multiples of the 𝐽𝑏⁠ with |𝑏|≤𝑁⁠. So 𝐽𝑎∈𝑘[𝐽𝑏:|𝑏|≤𝑁]⁠.

The number of 𝑎∈ℕ𝑛⁠ with 1≤|𝑎|≤𝑁⁠ is (𝑛+𝑁𝑛)−1⁠ by Lemma 1.2.6 (2), the monomial 1⁠ excluded.□⁠

Remark 2.1.11. Both uses of char𝑘=0⁠ in the proof are needed. Multinomial coefficients vanish modulo small primes, and the power sums of 𝑁⁠ variables generate the symmetric polynomials only when 1,…,𝑁⁠ are invertible, as noted after Proposition 1.1.25. This is Noether’s proof of 1916 [Noe16], and whether the bound holds in the whole non-modular case remained open until Fleischmann [Fle00] and Fogarty [Fog01] proved that it does. A short proof due to Benson is in Section 2.3 (Corollary 2.3.6).

End of lecture 6
4 November 2026

Theorem 2.1.12 (Finiteness theorem for finite groups). 𝑘[𝑉]𝐺⁠ is a finitely generated 𝑘⁠-algebra, for every finite 𝐺≤𝐺𝐿𝑛(𝑘)⁠ and every field 𝑘⁠.
Proof. For char𝑘=0⁠ this is Theorem 2.1.10. For an arbitrary field we follow Noether’s proof of 1926 [Noe26]. Let 𝐴⊆𝑘[𝑉]𝐺⁠ be the subalgebra generated by the coefficients of the polynomials 𝑃𝑖⁠ of Proposition 2.1.3. It is a finitely generated 𝑘⁠-algebra, hence Noetherian by Hilbert’s basis theorem [Gat13, Corollary 7.14]. Every 𝑥𝑖⁠ is a root of the monic polynomial 𝑃𝑖⁠ with coefficients in 𝐴⁠, so 𝑘[𝑉]⁠ is a finitely generated 𝐴⁠-module as in Proposition 2.1.3 (2). Hence 𝑘[𝑉]⁠ is a Noetherian 𝐴⁠-module by [Gat13, Corollary 7.9 (b)], and by [Gat13, Lemma 7.4 (c)] its 𝐴⁠-submodule 𝑘[𝑉]𝐺⁠ is finitely generated: 𝑘[𝑉]𝐺=𝐴𝑚1+⋯+𝐴𝑚𝑠⁠. The generators of 𝐴⁠ together with 𝑚1,…,𝑚𝑠⁠ generate 𝑘[𝑉]𝐺⁠ as a 𝑘⁠-algebra.□⁠

The two proofs differ in kind. The one of 1926 gives no way of finding the 𝑚𝑗⁠, while Theorem 2.1.10 names a finite generating set and is an algorithm: compute ℛ︀(𝐱𝑎)⁠ for all 𝑎⁠ with |𝑎|≤|𝐺|⁠. Section 2.3 starts from the observation that this algorithm is far too slow in practice.

The bound is sharp

Proposition 2.1.13 (A group attaining Noether’s bound). Let 𝑚≥2⁠ with char𝑘∤𝑚⁠, let 𝜁∈𝑘⁠ be a primitive 𝑚⁠-th root of unity, and let 𝐺=⟨𝜁𝐼𝑛⟩⁠, cyclic of order 𝑚⁠. Then 𝑘[𝑉]𝐺⁠ is spanned by the monomials of degree divisible by 𝑚⁠, every generating set of homogeneous invariants contains a basis of 𝑘[𝑉]𝑚⁠, so has at least (𝑛+𝑚−1𝑛−1)⁠ elements of degree 𝑚⁠, and 𝛽(𝐺)=𝑚=|𝐺|⁠.
Proof. By Equation 1.4, 𝜁𝐼𝑛⋅𝐱𝑎=𝜁−|𝑎|𝐱𝑎⁠. The group is diagonal, so by Lemma 1.2.8 the invariant ring is spanned by the invariant monomials, and 𝐱𝑎⁠ is invariant exactly when 𝑚∣|𝑎|⁠. In particular 𝑘[𝑉]𝑑𝐺=0⁠ for 0<𝑑<𝑚⁠. A product of two or more homogeneous invariants of positive degree therefore has degree at least 2𝑚⁠, so the degree-𝑚⁠ part of the algebra generated by a set 𝑆⁠ of homogeneous invariants is spanned by the elements of 𝑆⁠ of degree 𝑚⁠. For 𝑆⁠ to generate, those must span 𝑘[𝑉]𝑚⁠. Conversely, a monomial of degree 𝑞𝑚⁠ is a product of 𝑞⁠ monomials of degree 𝑚⁠, so the monomials of degree 𝑚⁠ generate 𝑘[𝑉]𝐺⁠, and 𝛽(𝐺)≤𝑚⁠.□⁠

For 𝑛=1⁠ this is 𝑘[𝑥]𝐺=𝑘[𝑥𝑚]⁠: one generator, of degree |𝐺|⁠. For 𝑛≥2⁠ the abstract group is the same, but at least (𝑛+𝑚−1𝑛−1)⁠ generators are needed. So the bound 𝛽(𝐺)≤|𝐺|⁠ of Theorem 2.1.10 cannot be improved in terms of |𝐺|⁠ alone. Nor can the number (𝑛+|𝐺|𝑛)−1⁠ of generators in Theorem 2.1.10, in order of magnitude for growing 𝑛⁠: for fixed 𝑚⁠, both (𝑛+𝑚−1𝑛−1)⁠ and (𝑛+𝑚𝑛)−1⁠ are polynomials in 𝑛⁠ of degree 𝑚⁠ with leading coefficient 1/𝑚!⁠. For non-cyclic 𝐺⁠ the bound is not attained: Schmid [Sch91] proved 𝛽(𝐺)<|𝐺|⁠ in that case.

Remark 2.1.14 (The modular case). If char𝑘⁠ divides |𝐺|⁠ there is no Reynolds operator. The sum 𝑓↦∑𝑔𝑔⋅𝑓⁠ still maps into 𝑘[𝑉]𝐺⁠, by the argument of Proposition 2.1.6 (2), but it is no longer a projection: it preserves degrees and sends 1⁠ to |𝐺|⋅1=0⁠, so its image is an ideal of 𝑘[𝑉]𝐺⁠ consisting of invariants without constant term.

Theorem 2.1.12 survives, since its proof never used ℛ︀⁠. Theorem 2.1.10 does not, as the following example from [DK15, Example 3.3.1] shows. Let 𝐺⁠ be the group of order 2⁠ acting on 𝔽2[𝑥1,𝑥2,𝑥3,𝑦1,𝑦2,𝑦3]⁠ by swapping 𝑥𝑖⁠ and 𝑦𝑖⁠ for all 𝑖⁠. The invariant 𝑥1𝑦2𝑦3+𝑦1𝑥2𝑥3⁠ is not a polynomial in the invariants of degree at most 2⁠, so 𝛽(𝐺)≥3>|𝐺|⁠. Richman showed that in the modular case no bound in terms of |𝐺|⁠ alone exists; see [DK15, sec. 3.3.1]. Symonds [Sym11] proved the bound 𝛽(𝐺)≤𝑛(|𝐺|−1)⁠ for 𝑛≥2⁠, in every characteristic. Nothing of this is proved in these notes; the modular case stays a caveat.

2.2Hilbert series and Molien’s theorem

In this section we will study how many invariants of degree 𝑑⁠ there are. That is, what is dim𝑘𝑘[𝑉]𝑑𝐺⁠? Knowing these numbers for all 𝑑⁠ tells us in which degrees generators can live and, once we have a candidate generating set, whether it is complete. Molien [Mol97] figured out a clever way to compute these numbers by only looking at the matrices in 𝐺⁠, without knowing a single actual invariant.

Graded algebras and Hilbert series

The grading of 𝑘[𝑉]⁠ from Section 1.2 is the model for the following.

Definition 2.2.1 (Graded algebra). A graded 𝑘⁠-algebra is a 𝑘⁠-algebra 𝑅⁠ together with a decomposition 𝑅=⨁𝑑≥0𝑅𝑑⁠ into 𝑘⁠-subspaces such that 𝑅𝑑𝑅𝑒⊆𝑅𝑑+𝑒⁠ for all 𝑑,𝑒⁠. Elements of 𝑅𝑑⁠ are homogeneous of degree 𝑑⁠. We also define 𝑅+≔⨁𝑑>0𝑅𝑑⁠.

A subalgebra 𝑆⊆𝑅⁠ is a graded subalgebra if 𝑆=⨁𝑑(𝑆∩𝑅𝑑)⁠, and an ideal 𝐼⁠ is homogeneous if 𝐼=⨁𝑑(𝐼∩𝑅𝑑)⁠. Then 𝑅/𝐼⁠ is graded by (𝑅/𝐼)𝑑=𝑅𝑑/(𝐼∩𝑅𝑑)⁠.

Remark 2.2.2.
  1. (1)The graded algebras in these notes, such as 𝑘[𝑉]⁠, 𝑘[𝑉]𝐺⁠ and their quotients by proper homogeneous ideals, satisfy 𝑅0=𝑘⁠ and dim𝑘𝑅𝑑<∞⁠ for all 𝑑⁠.

  2. (2)It is straightforward to verify that the subset 𝑅+⁠ of 𝑅⁠ defined above is an ideal.

  3. (3)An ideal is homogeneous if and only if it is generated by homogeneous elements.

Example 2.2.3 (Graded algebras in use).
  1. (1)𝑘[𝑉]⁠ with 𝑘[𝑉]𝑑⁠ the homogeneous polynomials of degree 𝑑⁠, and by Proposition 1.2.7 its graded subalgebra 𝑘[𝑉]𝐺⁠, with homogeneous components 𝑘[𝑉]𝑑𝐺⁠.

  2. (2)A polynomial ring 𝑘[𝑦1,…,𝑦𝑚]⁠ with arbitrary positive integers 𝑑1,…,𝑑𝑚⁠ assigned as degrees to the variables, i.e., deg𝑦𝑗≔𝑑𝑗⁠. Then 𝑘[𝐲]𝑑⁠ is spanned by the monomials 𝐲𝑏⁠ with ∑𝑗𝑏𝑗𝑑𝑗=𝑑⁠. This is a weighted grading. The usual grading is the special case where all 𝑑𝑗=1⁠.

  3. (3)For homogeneous 𝑓1,…,𝑓𝑚∈𝑘[𝑉]⁠ of degrees 𝑑1,…,𝑑𝑚⁠, the subalgebra 𝑘[𝑓1,…,𝑓𝑚]⁠ is graded, and the evaluation homomorphism 𝜑⁠ of Equation 1.2 preserves degrees when 𝑘[𝐲]⁠ carries the weights 𝑑𝑗⁠. Its kernel, the ideal of relations, is then a homogeneous ideal, and 𝑘[𝑓1,…,𝑓𝑚]≅𝑘[𝐲]/ker𝜑⁠ as graded algebras.

  4. (4)Not every subalgebra or ideal of 𝑘[𝑥]⁠ is graded. The subalgebra 𝑘[𝑥+𝑥2]⁠ is not a graded subalgebra: it contains 𝑥+𝑥2⁠ but not its homogeneous component 𝑥⁠, since every nonconstant element of 𝑘[𝑥+𝑥2]⁠ has even degree. The ideal ⟨𝑥−1⟩⁠ is not homogeneous, since it does not contain the homogeneous component 1⁠ of 𝑥−1⁠.

Definition 2.2.4 (Hilbert series). The Hilbert series of a graded algebra 𝑅⁠ with dim𝑘𝑅𝑑<∞⁠ for all 𝑑⁠ is the formal power series

𝐻(𝑅,𝑡)≔∑𝑑≥0dim𝑘𝑅𝑑 𝑡𝑑∈ℤ[[𝑡]].

For 𝑅=𝑘[𝑉]𝐺⁠ it is also called the Molien series of 𝐺⁠.

Example 2.2.5 (The polynomial ring). dim𝑘[𝑉]𝑑=(𝑛+𝑑−1𝑛−1)⁠ by Lemma 1.2.6 (1), and

𝐻(𝑘[𝑉],𝑡)=1(1−𝑡)𝑛,

because (1−𝑡)−𝑛=∏𝑖=1𝑛∑𝑎𝑖≥0𝑡𝑎𝑖=∑𝑎∈ℕ𝑛𝑡|𝑎|⁠, and the coefficient of 𝑡𝑑⁠ on the right counts the 𝑎⁠ with |𝑎|=𝑑⁠.

Two rules cover most Hilbert series we meet.

Lemma 2.2.6 (Products and shifts). Let 𝑅⁠ be a graded algebra.

  1. (1)If 𝑓1,…,𝑓𝑚∈𝑅⁠ are homogeneous of degrees 𝑑1,…,𝑑𝑚≥1⁠ and algebraically independent over 𝑘⁠, then

    𝐻(𝑘[𝑓1,…,𝑓𝑚],𝑡)=∏𝑗=1𝑚11−𝑡𝑑𝑗.
  2. (2)Let 𝑆⊆𝑅⁠ be a graded subalgebra and 𝜂1,…,𝜂𝑟∈𝑅⁠ homogeneous elements such that 𝑅=⨁𝑗𝜂𝑗𝑆⁠, the sum being direct, and such that 𝑠↦𝜂𝑗𝑠⁠ is injective on 𝑆⁠ for each 𝑗⁠. Then

    𝐻(𝑅,𝑡)=(∑𝑗=1𝑟𝑡deg𝜂𝑗) 𝐻(𝑆,𝑡).
Proof.
  1. (1)Algebraic independence says that the monomials 𝑓𝑏≔𝑓1𝑏1⋯𝑓𝑚𝑏𝑚⁠ are linearly independent, and they span 𝑘[𝑓1,…,𝑓𝑚]⁠; so those with ∑𝑗𝑏𝑗𝑑𝑗=𝑑⁠ form a basis of the degree-𝑑⁠ part, and their number is the coefficient of 𝑡𝑑⁠ in

    ∏𝑗=1𝑚∑𝑏𝑗≥0𝑡𝑏𝑗𝑑𝑗=∏𝑗=1𝑚11−𝑡𝑑𝑗.
  2. (2)dim(𝜂𝑗𝑆)𝑑=dim𝑆𝑑−deg𝜂𝑗⁠ by injectivity, so 𝐻(𝜂𝑗𝑆,𝑡)=𝑡deg𝜂𝑗𝐻(𝑆,𝑡)⁠; dimensions add over a direct sum of graded subspaces.□⁠

Corollary 2.2.7 (Symmetric and alternating groups).
𝐻(𝑘[𝑉]𝑆𝑛,𝑡)=∏𝑖=1𝑛11−𝑡𝑖, 𝐻(𝑘[𝑉]𝐴𝑛,𝑡)=1+𝑡(𝑛2)∏𝑖=1𝑛(1−𝑡𝑖) (𝑛≥2 and char𝑘≠2).
Proof. Theorem 1.1.20 says 𝑘[𝑉]𝑆𝑛=𝑘[𝜎1,…,𝜎𝑛]⁠ with the 𝜎𝑖⁠ algebraically independent of degrees 1,…,𝑛⁠; apply Lemma 2.2.6 (1). Proposition 1.1.31 says 𝑘[𝑉]𝐴𝑛=𝑘[𝑉]𝑆𝑛⊕Δ⋅𝑘[𝑉]𝑆𝑛⁠ with degΔ=(𝑛2)⁠; apply Lemma 2.2.6 (2) with 𝜂1=1⁠ and 𝜂2=Δ⁠. Multiplication by Δ⁠ is injective because Δ≠0⁠ and 𝑘[𝑉]⁠ is an integral domain.□⁠

Example 2.2.8 (The cyclic and dihedral groups of Section 1.2). For the cyclic group 𝐺⁠ of order 𝑚⁠ of Example 1.2.9, 𝑘[𝑉]𝐺⁠ is spanned by the monomials 𝑥1𝑎𝑥2𝑏⁠ with 𝑎≡𝑏 (mod 𝑚)⁠. Writing 𝑎=𝑐+𝑚𝑖⁠ and 𝑏=𝑐+𝑚𝑗⁠ with 0≤𝑐<𝑚⁠ and 𝑖,𝑗≥0⁠, such a monomial is uniquely 𝑢𝑐𝑣𝑖𝑤𝑗⁠ in terms of 𝑢=𝑥1𝑥2⁠, 𝑣=𝑥1𝑚⁠, 𝑤=𝑥2𝑚⁠. So

𝑘[𝑉]𝐺=⨁𝑐=0𝑚−1𝑢𝑐 𝑘[𝑣,𝑤],

where 𝑣,𝑤⁠ are algebraically independent of degree 𝑚⁠, and Lemma 2.2.6 gives

𝐻(𝑘[𝑉]𝐺,𝑡)=1+𝑡2+⋯+𝑡2(𝑚−1)(1−𝑡𝑚)2=1−𝑡2𝑚(1−𝑡2)(1−𝑡𝑚)2=1+𝑡𝑚(1−𝑡2)(1−𝑡𝑚).

(2.2)

The middle form has a second reading: if we pretend for a moment that 𝑘[𝑢,𝑣,𝑤]⁠ is a polynomial ring with weights 2,𝑚,𝑚⁠ then it has series 1/((1−𝑡2)(1−𝑡𝑚)2)⁠, and the ideal ⟨𝑢𝑚−𝑣𝑤⟩=(𝑢𝑚−𝑣𝑤) 𝑘[𝑢,𝑣,𝑤]⁠ has Hilbert series 𝑡2𝑚⁠ times that of 𝑘[𝑢,𝑣,𝑤]⁠, since deg(𝑢𝑚−𝑣𝑤)=2𝑚⁠ and 𝑘[𝑢,𝑣,𝑤]⁠ is a domain. Subtracting gives the series of the quotient 𝑘[𝑢,𝑣,𝑤]/⟨𝑢𝑚−𝑣𝑤⟩⁠, which is 𝑘[𝑉]𝐺⁠ by Example 1.2.9.

For the dihedral group 𝐷𝑚⁠ of Example 1.2.10, 𝑘[𝑉]𝐷𝑚=𝑘[𝑥1𝑥2,𝑥1𝑚+𝑥2𝑚]⁠ is a polynomial ring in generators of degrees 2⁠ and 𝑚⁠, so 𝐻(𝑘[𝑉]𝐷𝑚,𝑡)=1/((1−𝑡2)(1−𝑡𝑚))⁠.

In each example so far we knew the generators first and the series second. Molien’s theorem reverses this.

End of lecture 7
9 November 2026

Molien’s theorem

The proof uses two lemmas from linear algebra, about the subspace 𝑊𝐺⁠ of fixed vectors of a linear action on a vector space 𝑊⁠ (Definition 1.2.5). For 𝑊=𝑘[𝑉]⁠ this is 𝑘[𝑉]𝐺⁠. The first lemma says what averaging does to a trace.

Lemma 2.2.9 (Dimension of the fixed space). Let 𝐺⁠ be finite and act linearly on a finite-dimensional 𝑘⁠-vector space 𝑊⁠, with char𝑘∤|𝐺|⁠. Then 𝑃≔1|𝐺|∑𝑔∈𝐺𝑔⁠ is a projection of 𝑊⁠ onto 𝑊𝐺⁠. If char𝑘=0⁠, then

dim𝑘𝑊𝐺=1|𝐺|∑𝑔∈𝐺tr(𝑔).
Proof. As in Proposition 2.1.6 (2), ℎ𝑃=𝑃⁠ for all ℎ∈𝐺⁠, so 𝑃⁠ maps into 𝑊𝐺⁠, and 𝑃⁠ is the identity on 𝑊𝐺⁠. Hence 𝑃2=𝑃⁠, so 𝑊=ker𝑃⊕im𝑃⁠ with 𝑃⁠ acting as 0⁠ and 1⁠ on the two summands, and tr(𝑃)=dimim𝑃=dim𝑊𝐺⁠. In characteristic 0⁠ the trace, an element of 𝑘⁠, is this integer; in characteristic 𝑝⁠ the equation only holds modulo 𝑝⁠.□⁠

The second lemma computes the traces we need.

Lemma 2.2.10 (Traces on the homogeneous components). Let char𝑘=0⁠ and let 𝑔∈𝐺𝐿𝑛(𝑘)⁠ have finite order. For 𝑑≥0⁠ let 𝑔(𝑑):𝑘[𝑉]𝑑→𝑘[𝑉]𝑑⁠, 𝑓↦𝑔⋅𝑓⁠, be the restriction of the action of 𝑔⁠ to 𝑘[𝑉]𝑑⁠ (Proposition 1.2.7). Then, in 𝑘[[𝑡]]⁠,

∑𝑑≥0tr(𝑔(𝑑)) 𝑡𝑑=1det(𝐼−𝑡 𝑔−1).

Proof. Traces and determinants are computed from matrices over 𝑘⁠ and do not change if 𝑘⁠ is enlarged, so we may assume 𝑘⁠ algebraically closed. If 𝑔⁠ has order 𝑁⁠, then (𝑔(1))𝑁=1⁠, so the minimal polynomial of 𝑔(1)⁠ divides 𝑇𝑁−1⁠, which has distinct roots in characteristic 0⁠. Hence 𝑘[𝑉]1⁠ has a basis ℓ1,…,ℓ𝑛⁠ of eigenvectors, 𝑔⋅ℓ𝑖=𝜆𝑖ℓ𝑖⁠.

The ℓ𝑖⁠ are 𝑛⁠ linearly independent linear forms, so 𝑘[ℓ1,…,ℓ𝑛]=𝑘[𝑉]⁠ and the monomials ℓ𝑎≔ℓ1𝑎1⋯ℓ𝑛𝑎𝑛⁠ with |𝑎|=𝑑⁠ form a basis of 𝑘[𝑉]𝑑⁠. Each is an eigenvector, 𝑔⋅ℓ𝑎=𝜆𝑎ℓ𝑎⁠ with 𝜆𝑎≔𝜆1𝑎1⋯𝜆𝑛𝑎𝑛⁠, because 𝑔⋅⁠ is a ring homomorphism. Therefore

∑𝑑tr(𝑔(𝑑)) 𝑡𝑑=∑𝑎∈ℕ𝑛𝜆𝑎𝑡|𝑎|=∏𝑖=1𝑛11−𝜆𝑖𝑡=1det(𝐼−𝑡𝐴),

where 𝐴⁠ is the matrix of 𝑔(1)⁠ in any basis. By Equation 1.4, 𝑔⋅𝑥𝑖=∑𝑗(𝑔−1)𝑖𝑗𝑥𝑗⁠, so in the basis 𝑥1,…,𝑥𝑛⁠ this matrix is the transpose of 𝑔−1⁠, and det(𝐼−𝑡𝐴)=det(𝐼−𝑡𝑔−1)⁠.□⁠

Theorem 2.2.11 (Molien’s theorem). Let char𝑘=0⁠ and 𝐺≤𝐺𝐿𝑛(𝑘)⁠ finite. Then

𝐻(𝑘[𝑉]𝐺,𝑡)=1|𝐺|∑𝑔∈𝐺1det(𝐼−𝑡 𝑔).

(2.3)

Proof. Apply Lemma 2.2.9 to 𝑊=𝑘[𝑉]𝑑⁠, on which 𝐺⁠ acts by Proposition 1.2.7: dim𝑘[𝑉]𝑑𝐺=1|𝐺|∑𝑔tr(𝑔(𝑑))⁠. Multiply by 𝑡𝑑⁠, sum over 𝑑⁠, and exchange the two sums, the one over 𝐺⁠ being finite. Lemma 2.2.10 turns the inner sum into 1/det(𝐼−𝑡𝑔−1)⁠, so

𝐻(𝑘[𝑉]𝐺,𝑡)=1|𝐺|∑𝑔∈𝐺1det(𝐼−𝑡 𝑔−1),

and 𝑔↦𝑔−1⁠ is a bijection of 𝐺⁠.□⁠

Remark 2.2.12. In the proof, the trace series of a single 𝑔⁠ is 1/det(𝐼−𝑡𝑔−1)⁠ by Lemma 2.2.10, not 1/det(𝐼−𝑡𝑔)⁠: the action on polynomials goes through 𝑔−1⁠, as in Remark 1.2.2 (1). Summed over the group the two agree, so the convention does not show in Equation 2.3. It does show in refinements of the formula that weight the summands, for instance by a character of 𝐺⁠ (Definition 2.4.1 below).
Remark 2.2.13 (Positive characteristic). In the non-modular case with char𝑘=𝑝>0⁠ the proof gives Equation 2.3 only modulo 𝑝⁠: Lemma 2.2.9 reads dim𝑊𝐺⁠ off a trace in 𝑘⁠. The formula nevertheless holds, provided det(𝐼−𝑡𝑔)⁠ is computed not in 𝑘⁠ but from the eigenvalues of 𝑔⁠ lifted to complex roots of unity of the same order, which is possible since the order of 𝑔⁠ is prime to 𝑝⁠; this is the language of Brauer characters. For a proof see [DK15, Theorem 3.4.2]. For permutation groups the formula holds verbatim in every characteristic, modular or not, for a reason that has nothing to do with traces (see Proposition 3.1.27 (2) below). For a general modular group there is no formula of this kind.

Conjugacy classes and characteristic polynomials

In practice Equation 2.3 is not evaluated as a sum over all elements of 𝐺⁠. Recall from Introduction to Algebra [Gat10, Bemerkung 7.16 and Konstruktion 7.18 (a)] that 𝑔,ℎ∈𝐺⁠ are conjugate if ℎ=𝑎𝑔𝑎−1⁠ for some 𝑎∈𝐺⁠, and that 𝐺⁠ is the disjoint union of its conjugacy classes, the equivalence classes of this relation.

Notation. For 𝑔∈𝐺𝐿𝑛(𝑘)⁠ we write 𝜒𝑔(𝑧)≔det(𝑧𝐼−𝑔)⁠ for its characteristic polynomial, in a variable 𝑧⁠.

Proposition 2.2.14 (Molien’s formula over conjugacy classes). Let char𝑘=0⁠.

  1. (1)det(𝐼−𝑡𝑔)=𝑡𝑛𝜒𝑔(1/𝑡)⁠: if 𝜒𝑔(𝑧)=𝑧𝑛+𝑐1𝑧𝑛−1+⋯+𝑐𝑛⁠, then det(𝐼−𝑡𝑔)=1+𝑐1𝑡+⋯+𝑐𝑛𝑡𝑛⁠, the polynomial 𝜒𝑔⁠ with its coefficients reversed.

  2. (2)det(𝐼−𝑡𝑔)⁠ depends only on the conjugacy class of 𝑔⁠ in 𝐺𝐿𝑛(𝑘)⁠. Hence, if 𝐶1,…,𝐶𝑟⁠ are the conjugacy classes of 𝐺⁠ with representatives 𝑔1,…,𝑔𝑟⁠,

    𝐻(𝑘[𝑉]𝐺,𝑡)=1|𝐺|∑𝑗=1𝑟|𝐶𝑗|det(𝐼−𝑡 𝑔𝑗).
Proof.
  1. (1)det(𝐼−𝑡𝑔)=det(𝑡(𝑡−1𝐼−𝑔))=𝑡𝑛𝜒𝑔(𝑡−1)⁠ in 𝑘(𝑡)⁠; reversing the coefficients is what 𝑧↦1/𝑡⁠ followed by multiplication with 𝑡𝑛⁠ does.

  2. (2)Conjugate matrices have the same characteristic polynomial, so the summands of Equation 2.3 are constant on conjugacy classes.□⁠

So Molien’s formula needs one characteristic polynomial per conjugacy class, and the class sizes. For 𝑆10⁠ that is 42⁠ polynomials instead of 3 628 800⁠ determinants. Even less is needed: up to sign, the coefficients of 𝜒𝑔⁠ are the elementary symmetric polynomials in the eigenvalues of 𝑔⁠, and Newton’s identities (Lemma 1.1.23) express these through the power sums of the eigenvalues, which are the traces tr(𝑔𝑗)⁠, 𝑗=1,…,𝑛⁠. So the summand of 𝑔⁠ is determined by the traces of 𝑔,𝑔2,…,𝑔𝑛⁠.

For permutation groups the characteristic polynomials can be read off the permutations. Recall from Algebraic Structures [Gat23, Konstruktion 2.10] that every 𝜋∈𝑆𝑛⁠ is a product of disjoint cycles. Let 𝑐𝑖(𝜋)⁠ be the number of cycles of length 𝑖⁠ in this cycle decomposition of 𝜋⁠, fixed points counting as cycles of length 1⁠; the vector (𝑐1(𝜋),…,𝑐𝑛(𝜋))⁠ is the cycle type of 𝜋⁠. For instance, (1 2)(3 4 5)∈𝑆6⁠ has cycle type (1,1,1,0,0,0)⁠. Two permutations are conjugate in 𝑆𝑛⁠ if and only if they have the same cycle type [Gat10, Beispiel 7.19].

Proposition 2.2.15 (Permutation matrices). Let 𝜋∈𝑆𝑛⁠ have cycle type (𝑐1,…,𝑐𝑛)⁠. Then

det(𝐼−𝑡𝑃𝜋)=∏𝑖=1𝑛(1−𝑡𝑖)𝑐𝑖.
Proof. 𝑃𝜋⁠ permutes the standard basis, so 𝑘𝑛⁠ is the direct sum, over the cycles of 𝜋⁠, of the spans of the basis vectors in each cycle, and 𝑃𝜋⁠ is block diagonal with one block per cycle. On a cycle of length 𝑖⁠ the block is the cyclic shift 𝐶𝑖⁠ of 𝑘𝑖⁠, whose characteristic polynomial is 𝑧𝑖−1⁠, as expanding det(𝑧𝐼−𝐶𝑖)⁠ along the first row shows. By Proposition 2.2.14 (1) the block contributes 1−𝑡𝑖⁠.□⁠

Worked examples

Example 2.2.16 (The cyclic group, by Molien). Take 𝐺=⟨𝑔⟩⁠ with 𝑔=diag(𝜁,𝜁−1)⁠ as in Example 1.2.9, 𝑘=ℂ⁠. Then det(𝐼−𝑡𝑔𝑗)=(1−𝜁𝑗𝑡)(1−𝜁−𝑗𝑡)⁠ and, expanding each factor as a geometric series,

𝐻(𝑘[𝑉]𝐺,𝑡)=1𝑚∑𝑗=0𝑚−1∑𝑎,𝑏≥0𝜁𝑗(𝑎−𝑏)𝑡𝑎+𝑏=∑𝑎,𝑏≥0(1𝑚∑𝑗=0𝑚−1𝜁𝑗(𝑎−𝑏))𝑡𝑎+𝑏=∑𝑎≡𝑏 (𝑚)𝑡𝑎+𝑏,

by the same sum of roots of unity as in Example 2.1.5 (2). Molien’s sum counts the invariant monomials one by one, and the result is Equation 2.2. For 𝑚=3⁠, in closed form,

13(1(1−𝑡)2+21+𝑡+𝑡2)=1−𝑡+𝑡2(1−𝑡)2(1+𝑡+𝑡2)=1+𝑡3(1−𝑡2)(1−𝑡3),

using (1−𝜁𝑡)(1−𝜁2𝑡)=1+𝑡+𝑡2⁠ for a primitive cube root of unity.

Example 2.2.17 (The dihedral group, by Molien). 𝐷𝑚=⟨𝑔,𝑟⟩⁠ of Example 1.2.10 consists of the 𝑚⁠ rotations 𝑔𝑗⁠ and the 𝑚⁠ reflections 𝑟𝑔𝑗=(0𝜁−𝑗𝜁𝑗0)⁠. Each reflection has characteristic polynomial 𝑧2−1⁠, so det(𝐼−𝑡 𝑟𝑔𝑗)=1−𝑡2⁠. With Example 2.2.16 for the rotations,

𝐻(𝑘[𝑉]𝐷𝑚,𝑡)=12(1+𝑡𝑚(1−𝑡2)(1−𝑡𝑚)+11−𝑡2)=1(1−𝑡2)(1−𝑡𝑚),

the series of a polynomial ring in two generators of degrees 2⁠ and 𝑚⁠, as Example 2.2.8 found from the generators. Over the common denominator (1−𝑡2)(1−𝑡𝑚)⁠ the reflections contribute the numerator 1−𝑡𝑚⁠, and together with the 1+𝑡𝑚⁠ of the rotations this gives 2⁠.

Example 2.2.18 (The symmetric group, by Molien). 𝑆3⁠ has three conjugacy classes: the identity, of cycle type (3,0,0)⁠, the three transpositions, of cycle type (1,1,0)⁠, and the two 3⁠-cycles, of cycle type (0,0,1)⁠. By Proposition 2.2.15 and Proposition 2.2.14,

𝐻(𝑘[𝑉]𝑆3,𝑡)=16(1(1−𝑡)3+3(1−𝑡)(1−𝑡2)+21−𝑡3)=16((1+𝑡)(1+𝑡+𝑡2)+3(1−𝑡3)+2(1−𝑡)(1−𝑡2)(1−𝑡)(1−𝑡2)(1−𝑡3))=1(1−𝑡)(1−𝑡2)(1−𝑡3),

which matches Corollary 2.2.7.

For general 𝑛⁠, Corollary 2.2.7 and Theorem 2.2.11 together give

1𝑛!∑𝜋∈𝑆𝑛∏𝑖=1𝑛(1−𝑡𝑖)−𝑐𝑖(𝜋)=∏𝑖=1𝑛11−𝑡𝑖.

So Molien’s theorem and the fundamental theorem of symmetric polynomials together prove an identity about counting permutations by cycle type. Combinatorics proves the same identity directly, with the cycle index of 𝑆𝑛⁠.

OSCAR returns the Molien series as a rational function with the denominator multiplied out, so factor shows the shape; evaluating at a power series variable expands it.

julia> IR4 = invariant_ring(QQ, symmetric_group(4));

julia> molien_series(IR4)
1//(t^10 - t^9 - t^8 + 2*t^5 - t^2 - t + 1)

julia> factor(denominator(molien_series(IR4)))
(t - 1)^4 * (t + 1)^2 * (t^2 + 1) * (t^2 + t + 1)

julia> P, t = power_series_ring(QQ, 9, :t);

julia> evaluate(molien_series(IR4), t)
1 + t + 2*t^2 + 3*t^3 + 5*t^4 + 6*t^5 + 9*t^6 + 11*t^7 + 15*t^8 + O(t^9)

The factorisation is ∏𝑖=14(1−𝑡𝑖)⁠ up to sign, and the coefficients count partitions of 𝑑⁠ into parts of size at most 4⁠. For 𝑚=4⁠, the dihedral group of Example 1.2.10 gives 1/((1−𝑡2)(1−𝑡4))⁠, and its cyclic subgroup of Example 1.2.9 gives Equation 2.2:

julia> K, ζ = cyclotomic_field(4);

julia> g, r = matrix(K, [ζ 0; 0 ζ^-1]), matrix(K, [0 1; 1 0]);

julia> molien_series(invariant_ring(matrix_group(g, r)))
1//(t^6 - t^4 - t^2 + 1)

julia> molien_series(invariant_ring(matrix_group(g)))
(t^4 + 1)//(t^6 - t^4 - t^2 + 1)

Reading the series

Example 2.2.19 (The group of Proposition 2.1.13). For 𝐺=⟨𝜁𝐼𝑛⟩⁠ of order 𝑚⁠, every 𝑔=𝜁𝑗𝐼𝑛⁠ has det(𝐼−𝑡𝑔)=(1−𝜁𝑗𝑡)𝑛⁠, and the same sum of roots of unity as in Example 2.2.16 gives

𝐻(𝑘[𝑉]𝐺,𝑡)=1𝑚∑𝑗=0𝑚−11(1−𝜁𝑗𝑡)𝑛=∑𝑚∣𝑑(𝑛+𝑑−1𝑛−1)𝑡𝑑.

The series is 1+(𝑛+𝑚−1𝑛−1)𝑡𝑚+…⁠ with nothing in between. This gap is the argument in the proof of Proposition 2.1.13: no invariant of degree 𝑚⁠ is a product of invariants of lower positive degree, because there are none.

Remark 2.2.20 (What the formula says about the ring). Equation 2.3 exhibits 𝐻(𝑘[𝑉]𝐺,𝑡)⁠ as a rational function whose denominator divides ∏𝑔det(𝐼−𝑡𝑔)⁠, so all its poles are at roots of unity. The factor det(𝐼−𝑡𝑔)⁠ contains (1−𝑡)⁠ to the power dimker(𝑔−𝐼)⁠, which is 𝑛⁠ for 𝑔=𝐼⁠ and smaller for every other 𝑔⁠. So the pole of 𝐻⁠ at 𝑡=1⁠ has order exactly 𝑛⁠, and its leading term is 1|𝐺|(1−𝑡)−𝑛⁠, a 1/|𝐺|⁠-th of the series 𝐻(𝑘[𝑉],𝑡)=(1−𝑡)−𝑛⁠ of Example 2.2.5. In this sense a 1/|𝐺|⁠-th of all polynomials is invariant, but only on average over the degrees: for 𝐺={±𝐼𝑛}⁠ every homogeneous polynomial of even degree is invariant, and no nonzero one of odd degree. The order of the pole is the number of algebraically independent invariants found in Proposition 2.1.3; this is not a coincidence (see Corollary 3.1.24).
Notation. For a set 𝑆⊆𝑘[𝑉]⁠, 𝑘[𝑆]⁠ is the subalgebra of 𝑘[𝑉]⁠ generated by 𝑆⁠.

Let 𝑆⁠ be a set of homogeneous invariants. Then 𝑘[𝑆]𝑑⊆𝑘[𝑉]𝑑𝐺⁠ in every degree, so 𝑆⁠ generates 𝑘[𝑉]𝐺⁠ exactly when 𝐻(𝑘[𝑆],𝑡)⁠ equals the Molien series. The next section computes 𝐻(𝑘[𝑆],𝑡)⁠ and turns this observation into a termination test.

2.3Computing generators

Theorem 2.1.10 is an algorithm: compute ℛ︀(𝐱𝑎)⁠ for every 𝑎⁠ with |𝑎|≤|𝐺|⁠, and the result generates. The following table compares the number of these candidates with the size of a minimal generating set, one of which no proper subset generates (all minimal homogeneous generating sets have the same size, Lemma 3.4.3); 𝑆𝑛⁠ and 𝐴𝑛⁠ act by permuting the variables.

𝐺⁠𝑛⁠|𝐺|⁠candidates (𝑛+|𝐺|𝑛)−1⁠minimal generators
𝐷4⁠ of Example 1.2.1028442
𝑆3⁠36833
𝑆4⁠42420 4744
𝐴5⁠5608 259 8876

Each candidate is a sum over |𝐺|⁠ terms, and almost all of them are redundant. Most of the cost lies in removing the redundant ones: whether a candidate is a polynomial in 𝑚⁠ others is a question of subalgebra membership, and by Algorithm 1.4.8 each instance is a Gröbner basis computation in 𝑛+𝑚⁠ variables. For millions of candidates this is not feasible.

A first improvement is to go degree by degree, and the Hilbert series of Section 2.2 says where to look: in degree 𝑑⁠ exactly 𝑐𝑑≔dim𝑘[𝑉]𝑑𝐺−dim𝑘[𝑆]𝑑⁠ generators are missing, where 𝑆⁠ is the set of generators found so far. This suggests the following procedure. Start with 𝑆=∅⁠ and, for 𝑑=1,2,3,…⁠:

  1. (1)compute 𝑐𝑑⁠, the first term by Molien’s theorem, the second from the Hilbert series of 𝑘[𝑆]⁠;

  2. (2)adjoin to 𝑆⁠ averages ℛ︀(𝑚)⁠ of monomials of degree 𝑑⁠ until 𝑐𝑑⁠ of them are linearly independent modulo 𝑘[𝑆]𝑑⁠;

  3. (3)stop once 𝐻(𝑘[𝑆],𝑡)=𝐻(𝑘[𝑉]𝐺,𝑡)⁠.

Proposition 2.3.15 below shows that this is correct. But each step is expensive. The Hilbert series of 𝑘[𝑆]⁠ needs a Gröbner basis of the ideal of relations among 𝑆⁠, in |𝑆|⁠ new variables (Algorithm 1.4.8), recomputed whenever 𝑆⁠ grows. Linear independence modulo 𝑘[𝑆]𝑑⁠ needs all products of elements of 𝑆⁠ of degree 𝑑⁠. And the stopping test compares two rational functions.

King’s algorithm avoids all three. It never computes 𝐻(𝑘[𝑆],𝑡)⁠: a single Gröbner basis in the original 𝑛⁠ variables, extended degree by degree, decides which averages are new, because in the non-modular case the Hilbert ideal turns subalgebra membership into ideal membership. The Molien series remains useful, to skip degrees and to stop early (Remark 2.3.14), and the comparison of Hilbert series returns as a test that verifies any candidate set (Proposition 2.3.15).

The Hilbert ideal

Definition 2.3.1 (Hilbert ideal). The Hilbert ideal of 𝐺⁠ is the ideal of 𝑘[𝑉]⁠ generated by all homogeneous invariants of positive degree,

𝔥≔⟨𝑘[𝑉]+𝐺⟩=𝑘[𝑉]+𝐺⋅𝑘[𝑉]⊴𝑘[𝑉].

It is a homogeneous ideal of 𝑘[𝑉]⁠, not of 𝑘[𝑉]𝐺⁠.

End of lecture 8
11 November 2026

Example 2.3.2 (Hilbert ideals).
  1. (1)Let 𝑆2⁠ act on 𝑘[𝑥1,𝑥2]⁠ by permuting the variables. By Theorem 1.1.20, every homogeneous invariant of positive degree is a polynomial without constant term in 𝜎1=𝑥1+𝑥2⁠ and 𝜎2=𝑥1𝑥2⁠, so 𝔥=⟨𝑥1+𝑥2,𝑥1𝑥2⟩⁠. It contains polynomials that are not invariant, such as 𝑥12=𝑥1(𝑥1+𝑥2)−𝑥1𝑥2⁠. But it does not contain 𝑥1⁠: from 𝑥1=𝑎 (𝑥1+𝑥2)+𝑏 𝑥1𝑥2⁠ with 𝑎,𝑏∈𝑘[𝑥1,𝑥2]⁠, the homogeneous components of degree 1⁠ would give 𝑥1=𝑐 (𝑥1+𝑥2)⁠ with 𝑐=𝑎(0,0)∈𝑘⁠.

  2. (2)For the cyclic group of Example 1.2.9, 𝑘[𝑉]𝐺⁠ is generated by 𝑢=𝑥1𝑥2⁠, 𝑣=𝑥1𝑚⁠ and 𝑤=𝑥2𝑚⁠, and the same argument gives 𝔥=⟨𝑥1𝑥2,𝑥1𝑚,𝑥2𝑚⟩⁠.

Lemma 2.3.3 (New generators are detected by the ideal). Assume the non-modular case. Let 𝑑≥1⁠, let 𝑆⊆𝑘[𝑉]+𝐺⁠ be a finite set of homogeneous invariants such that 𝑘[𝑉]𝑒𝐺⊆𝑘[𝑆]⁠ for all 𝑒<𝑑⁠, and let 𝑓∈𝑘[𝑉]𝑑𝐺⁠. Then

𝑓∈𝑘[𝑆] ⟺ 𝑓∈⟨𝑆⟩,

where ⟨𝑆⟩⁠ is the ideal of 𝑘[𝑉]⁠ generated by 𝑆⁠.

Proof. If 𝑓∈𝑘[𝑆]⁠ then 𝑓⁠, having positive degree, is a polynomial in the elements of 𝑆⁠ without constant term, hence lies in ⟨𝑆⟩⁠. Conversely let 𝑓=∑𝑠∈𝑆𝑞𝑠 𝑠⁠ with 𝑞𝑠∈𝑘[𝑉]⁠. Comparing homogeneous components of degree 𝑑⁠ we may take each 𝑞𝑠⁠ homogeneous of degree 𝑑−deg𝑠<𝑑⁠. Apply ℛ︀⁠ and use Proposition 2.1.6 (2), (3):

𝑓=ℛ︀(𝑓)=∑𝑠∈𝑆ℛ︀(𝑞𝑠) 𝑠,

and ℛ︀(𝑞𝑠)∈𝑘[𝑉]𝑑−deg𝑠𝐺⊆𝑘[𝑆]⁠ by hypothesis. So 𝑓∈𝑘[𝑆]⁠.□⁠

Theorem 2.3.4 (Ideal generators are algebra generators). Assume the non-modular case, and let 𝑓1,…,𝑓𝑟∈𝑘[𝑉]+𝐺⁠ be homogeneous. Then

𝑘[𝑉]𝐺=𝑘[𝑓1,…,𝑓𝑟] ⟺ 𝔥=⟨𝑓1,…,𝑓𝑟⟩.
Proof. If the 𝑓𝑗⁠ generate the algebra, every homogeneous invariant of positive degree is a polynomial in them without constant term, so lies in ⟨𝑓1,…,𝑓𝑟⟩⁠; and the 𝑓𝑗⁠ lie in 𝔥⁠. Conversely, if 𝔥=⟨𝑓1,…,𝑓𝑟⟩⁠, then induction on 𝑑⁠ with Lemma 2.3.3 for 𝑆={𝑓1,…,𝑓𝑟}⁠ shows 𝑘[𝑉]𝑑𝐺⊆𝑘[𝑆]⁠ for every 𝑑⁠: the case 𝑑=0⁠ is the constants, and every 𝑓∈𝑘[𝑉]𝑑𝐺⁠ lies in 𝔥=⟨𝑆⟩⁠.□⁠

This is Hilbert’s argument of 1890 [Hil90], and it gives a third proof of Theorem 2.1.12 in the non-modular case: 𝔥⁠ is finitely generated by Hilbert’s basis theorem [Gat13, Proposition 7.13], each generator is a combination of finitely many homogeneous invariants, and those finitely many invariants generate 𝔥⁠, hence 𝑘[𝑉]𝐺⁠. For us the theorem matters for a different reason: it replaces a question about the subalgebra 𝑘[𝑉]𝐺⁠ by a question about the ideal 𝔥⁠ of 𝑘[𝑉]⁠, where Theorem 1.3.14 applies. In particular 𝛽(𝐺)⁠ is the largest degree of a minimal homogeneous generator of 𝔥⁠ (well defined by Corollary 3.1.6).

The Hilbert ideal also carries the degree bound.

Proposition 2.3.5 (Benson’s lemma). Assume the non-modular case. Every homogeneous polynomial of degree at least |𝐺|⁠ lies in 𝔥⁠. Consequently 𝔥⁠ is generated by the homogeneous invariants of degree at most |𝐺|⁠.

Proof. Put 𝑁≔|𝐺|⁠. Since 𝔥⁠ is an ideal, it suffices to show 𝑘[𝑉]𝑁⊆𝔥⁠. A monomial of degree 𝑁⁠ is a product of 𝑁⁠ variables; label them by the elements of 𝐺⁠. We show more generally that ∏ℎ∈𝐺𝑓ℎ∈𝔥⁠ for any 𝑓ℎ∈𝑘[𝑉]+⁠.

First, ℛ︀(𝐹)∈𝔥⁠ for every 𝐹∈𝑘[𝑉]+⁠: it is an invariant without constant term, and its homogeneous components are invariants of positive degree by Proposition 1.2.7.

Fix 𝑔∈𝐺⁠. Then

∏ℎ∈𝐺((𝑔ℎ)⋅𝑓ℎ−𝑓ℎ)=0,

because the factor with ℎ=𝑔−1⁠ is 𝑓𝑔−1−𝑓𝑔−1⁠. Expanding a product of differences means picking 𝑎ℎ⁠ or −𝑏ℎ⁠ from each factor; this implies the following equality, with 𝑀⁠ the set of ℎ⁠ where 𝑎ℎ⁠ is picked:

∏ℎ∈𝐺(𝑎ℎ−𝑏ℎ)=∑𝑀⊆𝐺(−1)𝑁−|𝑀|∏ℎ∈𝑀𝑎ℎ∏ℎ∉𝑀𝑏ℎ.

Now take 𝑎ℎ=(𝑔ℎ)⋅𝑓ℎ⁠ and 𝑏ℎ=𝑓ℎ⁠. Since 𝑔⋅⁠ is a ring homomorphism and (𝑔ℎ)⋅𝑓ℎ=𝑔⋅(ℎ⋅𝑓ℎ)⁠, ∏ℎ∈𝑀(𝑔ℎ)⋅𝑓ℎ=𝑔⋅𝐹𝑀⁠ with 𝐹𝑀≔∏ℎ∈𝑀ℎ⋅𝑓ℎ⁠. Summing over 𝑔∈𝐺⁠ gives

0=∑𝑀⊆𝐺(−1)𝑁−|𝑀|(∑𝑔∈𝐺𝑔⋅𝐹𝑀)∏ℎ∉𝑀𝑓ℎ.

For 𝑀≠∅⁠, 𝐹𝑀∈𝑘[𝑉]+⁠ and ∑𝑔𝑔⋅𝐹𝑀=𝑁ℛ︀(𝐹𝑀)∈𝔥⁠. For 𝑀=∅⁠, 𝐹𝑀=1⁠ and the summand is (−1)𝑁𝑁∏ℎ∈𝐺𝑓ℎ⁠. Hence 𝑁∏ℎ𝑓ℎ∈𝔥⁠, and since 𝑁⁠ is invertible in 𝑘⁠ also ∏ℎ𝑓ℎ∈𝔥⁠.

For the second claim let 𝔥′⁠ be the ideal generated by the homogeneous invariants of degree at most 𝑁⁠. A homogeneous element of 𝔥⁠ of degree 𝑁⁠ is a sum of products 𝑞𝑓⁠ with 𝑓⁠ a homogeneous invariant of degree between 1⁠ and 𝑁⁠, so it lies in 𝔥′⁠. By the first claim every element of 𝑘[𝑉]𝑁⁠ is of this kind, so 𝔥′⁠ contains 𝑘[𝑉]𝑁⁠ and hence every homogeneous polynomial of degree at least 𝑁⁠, in particular every homogeneous invariant of degree above 𝑁⁠. So 𝔥′=𝔥⁠.□⁠

Corollary 2.3.6 (Noether’s bound in the non-modular case). If char𝑘∤|𝐺|⁠, then 𝑘[𝑉]𝐺=𝑘[ℛ︀(𝐱𝑎):1≤|𝑎|≤|𝐺|]⁠ and 𝛽(𝐺)≤|𝐺|⁠.
Proof. By Proposition 2.1.6 (4) the ℛ︀(𝐱𝑎)⁠ with 1≤|𝑎|≤|𝐺|⁠ span the homogeneous invariants of degree at most |𝐺|⁠, so by Proposition 2.3.5 they generate 𝔥⁠ as an ideal, and by Theorem 2.3.4 they generate 𝑘[𝑉]𝐺⁠ as an algebra.□⁠

This closes the gap left in Remark 2.1.11. The proof is Benson’s simplification of Fleischmann’s and Fogarty’s, as presented in [DK15, sec. 3.2]. The two proofs differ in one respect: Noether’s argument constructs the expression of ℛ︀(𝐱𝑎)⁠ in invariants of lower degree, while this one only shows that it exists.

King’s algorithm

Lemma 2.3.3 suggests the following procedure. Go through the degrees 𝑑=1,2,…⁠; in degree 𝑑⁠, compute invariants, and keep those not in the ideal generated by the generators found so far. Ideal membership is a normal form computation with respect to a Gröbner basis of that ideal, inside 𝑘[𝑉]⁠, without the new variables of Algorithm 1.4.8. King’s algorithm [Kin13] is this procedure with two refinements: the Gröbner basis is only ever computed up to the current degree, and the same basis says when to stop.

For this we need a weaker notion than a Gröbner basis. Fix a monomial order on 𝑘[𝑉]⁠.

Definition 2.3.7 (Truncated Gröbner basis). Let 𝐼⊴𝑘[𝑉]⁠ be a homogeneous ideal and 𝑑≥0⁠. A finite set 𝒢︀⊆𝐼⁠ of nonzero homogeneous polynomials is a 𝑑⁠-truncated Gröbner basis of 𝐼⁠ if every monomial of degree at most 𝑑⁠ in 𝐿(𝐼)⁠ is divisible by lm(𝑔)⁠ for some 𝑔∈𝒢︀⁠.

Example 2.3.8 (A truncated Gröbner basis). Take lex⁠ with 𝑥≻𝑦⁠ on 𝑘[𝑥,𝑦]⁠, and 𝐼=⟨𝑥2,𝑥𝑦+𝑦2⟩⁠. The S-polynomial of the two generators reduces to 𝑦3⁠:

𝑦⋅𝑥2−𝑥⋅(𝑥𝑦+𝑦2)=−𝑥𝑦2, −𝑥𝑦2+𝑦⋅(𝑥𝑦+𝑦2)=𝑦3.

So 𝑦3∈𝐼⁠, and its leading monomial is divisible by neither 𝑥2⁠ nor 𝑥𝑦⁠. Hence {𝑥2,𝑥𝑦+𝑦2}⁠ is neither a Gröbner basis nor a 3⁠-truncated Gröbner basis of 𝐼⁠. The set {𝑥2,𝑥𝑦+𝑦2,𝑦3}⁠ is a Gröbner basis by Buchberger’s criterion (Remark 1.3.16): the S-polynomial of 𝑥𝑦+𝑦2⁠ and 𝑦3⁠ is 𝑦2(𝑥𝑦+𝑦2)−𝑥𝑦3=𝑦4⁠, a multiple of 𝑦3⁠, and that of the monomials 𝑥2⁠ and 𝑦3⁠ is 0⁠. So 𝐿(𝐼)=⟨𝑥2,𝑥𝑦,𝑦3⟩⁠. Its monomials of degree at most 2⁠ are 𝑥2⁠ and 𝑥𝑦⁠, and {𝑥2,𝑥𝑦+𝑦2}⁠ is a 2⁠-truncated Gröbner basis of 𝐼⁠.

Lemma 2.3.9 (Normal forms modulo a truncated Gröbner basis). Let 𝒢︀⁠ be a 𝑑⁠-truncated Gröbner basis of a homogeneous ideal 𝐼⁠, and let 𝑓⁠ be homogeneous of degree 𝑒≤𝑑⁠. The remainder of 𝑓⁠ modulo 𝒢︀⁠ does not depend on the choices made while reducing; we write it NF𝒢︀(𝑓)⁠. It is 0⁠ if and only if 𝑓∈𝐼⁠, and it is a linear combination of monomials of degree 𝑒⁠ none of which is divisible by any lm(𝑔)⁠, 𝑔∈𝒢︀⁠.
Proof. A reduction step subtracts 𝑐 𝑚 𝑔⁠ with 𝑐∈𝑘⁠, a monomial 𝑚⁠ and 𝑔∈𝒢︀⁠ such that 𝑚lm(𝑔)⁠ occurs in the current polynomial. As 𝑔⁠ is homogeneous, 𝑚𝑔⁠ is homogeneous of degree 𝑒⁠, so every remainder of 𝑓⁠ is 0⁠ or homogeneous of degree 𝑒⁠. Now argue as in the proof of Theorem 1.3.14. Let 𝑓∈𝐼⁠ and let 𝑟⁠ be a remainder of 𝑓⁠. Then 𝑟∈𝐼⁠, and if 𝑟≠0⁠, then lm(𝑟)∈𝐿(𝐼)⁠ has degree 𝑒≤𝑑⁠, so it is divisible by some lm(𝑔)⁠, which reduction would have cancelled. Hence 𝑟=0⁠. Two remainders of the same 𝑓⁠ differ by an element of 𝐼⁠ that is 0⁠ or homogeneous of degree 𝑒⁠ and has no monomial divisible by any lm(𝑔)⁠, so they are equal by the same argument. Conversely, if the remainder is 0⁠, then 𝑓∈⟨𝒢︀⟩⊆𝐼⁠.□⁠
Remark 2.3.10. Buchberger’s algorithm (Remark 1.3.16) adapts to truncation. Let 𝒢︀⁠ be a finite set of homogeneous generators of a homogeneous ideal 𝐼⁠. If every S-polynomial of degree at most 𝑑⁠ of two elements of 𝒢︀⁠ reduces to 0⁠ modulo 𝒢︀⁠, then 𝒢︀⁠ is a 𝑑⁠-truncated Gröbner basis of 𝐼⁠. So Buchberger’s algorithm computes a 𝑑⁠-truncated Gröbner basis if it drops the S-polynomials of degree above 𝑑⁠: for homogeneous input every S-polynomial is homogeneous, and reduction does not raise the degree. We use this without proof; see [DK15, sec. 3.8.2] and the references there.

Algorithm 2.3.11 (King’s algorithm). Input: the Reynolds operator of a finite group 𝐺≤𝐺𝐿𝑛(𝑘)⁠ in the non-modular case, and a monomial order on 𝑘[𝑉]⁠.

Output: a finite set 𝑆⁠ of homogeneous generators of 𝑘[𝑉]𝐺⁠.

  1. 𝑆≔∅⁠ and 𝒢︀≔∅⁠.

  2. For 𝑑=1,2,3,…⁠:

    1. a. Extend 𝒢︀⁠ to a 𝑑⁠-truncated Gröbner basis of ⟨𝑆⟩⁠: for each S-polynomial of degree 𝑑⁠ of two elements of 𝒢︀⁠, reduce it modulo the current 𝒢︀⁠ and adjoin the remainder if it is nonzero. One pass suffices.

    2. b. Let 𝑀⁠ be the set of monomials of degree 𝑑⁠ not divisible by any lm(𝑔)⁠, 𝑔∈𝒢︀⁠.

    3. c. If 𝑀=∅⁠, return 𝑆⁠.

    4. d. For each 𝑚∈𝑀⁠: compute 𝑓≔ℛ︀(𝑚)⁠ and 𝑟≔NF𝒢︀(𝑓)⁠. If 𝑟≠0⁠, put 𝑆≔𝑆∪{𝑓}⁠ and 𝒢︀≔𝒢︀∪{𝑟}⁠.

Example 2.3.12 (King’s algorithm for 𝑆2⁠). Let char𝑘≠2⁠, let 𝑆2={id,𝜏}⁠ act on 𝑘[𝑥1,𝑥2]⁠ by permuting the variables, and take a monomial order with 𝑥1≻𝑥2⁠. Then ℛ︀(𝑓)=12(𝑓+𝜏⋅𝑓)⁠.

So 𝑘[𝑥1,𝑥2]𝑆2=𝑘[𝑥1+𝑥2,𝑥12+𝑥22]⁠, in accordance with Theorem 1.1.20 and Proposition 1.1.25. The algorithm stops in degree 3=|𝐺|+1⁠.

End of lecture 9
16 November 2026

Theorem 2.3.13 (Correctness of King’s algorithm). Algorithm 2.3.11 terminates, at the latest in degree 𝑑=|𝐺|+1⁠, and is correct: the set 𝑆⁠ it returns generates 𝑘[𝑉]𝐺⁠. Moreover, 𝑆⁠ is minimal with this property: no proper subset of 𝑆⁠ generates 𝑘[𝑉]𝐺⁠.

Proof. We show by induction on 𝑑⁠ that after the pass through degree 𝑑⁠

  1. (1)⟨𝒢︀⟩=⟨𝑆⟩⁠,

  2. (2)𝒢︀⁠ is a 𝑑⁠-truncated Gröbner basis of this ideal, and

  3. (3)𝑘[𝑉]𝑒𝐺⊆𝑘[𝑆]⁠ for all 𝑒≤𝑑⁠.

All three hold before the first pass, with 𝑆=𝒢︀=∅⁠.

The ideals agree. Step 1a adjoins to 𝒢︀⁠ remainders of S-polynomials of elements of 𝒢︀⁠, which lie in ⟨𝒢︀⟩⁠. Step 1d adjoins 𝑓⁠ to 𝑆⁠ and 𝑟=NF𝒢︀(𝑓)⁠ to 𝒢︀⁠, and 𝑓−𝑟∈⟨𝒢︀⟩⁠. Neither changes the equality (1).

The basis stays truncated. During the pass through degree 𝑑⁠ every element of 𝒢︀⁠ has degree at most 𝑑⁠. Let 𝑟⁠ of degree 𝑑⁠ be a remainder modulo 𝒢︀⁠, so that lm(𝑟)⁠ is not divisible by any lm(𝑔)⁠, 𝑔∈𝒢︀⁠. Then every S-polynomial of 𝑟⁠ and some 𝑔∈𝒢︀⁠ has degree above 𝑑⁠: its degree is that of lcm(lm(𝑟),lm(𝑔))⁠, which exceeds 𝑑=deg𝑟≥deg𝑔⁠ unless one of the two leading monomials divides the other. As deg𝑔≤𝑑⁠, that would mean lm(𝑔)∣lm(𝑟)⁠, which is excluded.

In step 1a, 𝒢︀⁠ starts as a (𝑑−1)⁠-truncated basis, so its S-polynomials of degree below 𝑑⁠ reduce to 0⁠. Each S-polynomial of degree 𝑑⁠ reduces to 0⁠ once its remainder is adjoined, and by the above the adjoined remainders create no new S-polynomials of degree 𝑑⁠, so one pass suffices. By Remark 2.3.10, 𝒢︀⁠ is then a 𝑑⁠-truncated basis. In step 1d, adjoining a remainder 𝑟⁠ creates no new S-polynomials of degree at most 𝑑⁠, by the above, so 𝒢︀⁠ stays a 𝑑⁠-truncated basis, again by Remark 2.3.10.

Every invariant of degree 𝑑⁠ is reached. Let 𝑓∈𝑘[𝑉]𝑑𝐺⁠ and 𝑟≔NF𝒢︀(𝑓)⁠ with respect to the basis after step 1a. By Lemma 2.3.9, 𝑟⁠ is a combination of the monomials in 𝑀⁠, and 𝑓−𝑟=∑𝑠∈𝑆𝑞𝑠𝑠⁠ with 𝑞𝑠⁠ homogeneous of degree 𝑑−deg𝑠<𝑑⁠. Applying ℛ︀⁠,

𝑓=ℛ︀(𝑟)+∑𝑠∈𝑆ℛ︀(𝑞𝑠) 𝑠∈span{ℛ︀(𝑚):𝑚∈𝑀}+𝑘[𝑆],

(2.4)

using 𝑘[𝑉]𝑒𝐺⊆𝑘[𝑆]⁠ for 𝑒<𝑑⁠. It remains to see that after step 1d every ℛ︀(𝑚)⁠, 𝑚∈𝑀⁠, lies in 𝑘[𝑆]⁠. When 𝑚⁠ is processed, either ℛ︀(𝑚)⁠ is adjoined to 𝑆⁠, or NF𝒢︀(ℛ︀(𝑚))=0⁠, that is ℛ︀(𝑚)∈⟨𝒢︀⟩=⟨𝑆⟩⁠ for the current 𝑆⁠ by Lemma 2.3.9, which by Lemma 2.3.3 means ℛ︀(𝑚)∈𝑘[𝑆]⁠. Later additions only enlarge 𝑆⁠.

Correctness. Suppose 𝑀=∅⁠ in degree 𝑑⁠. Then every monomial of degree 𝑑⁠, and hence every monomial of degree at least 𝑑⁠, is divisible by lm(𝑔)⁠ for some 𝑔∈𝒢︀⁠, so every homogeneous polynomial of degree at least 𝑑⁠ reduces to 0⁠ modulo 𝒢︀⁠ and lies in ⟨𝒢︀⟩=⟨𝑆⟩⁠. Let 𝑒≥𝑑⁠ and assume 𝑘[𝑉]𝑒′𝐺⊆𝑘[𝑆]⁠ for all 𝑒′<𝑒⁠. Then every 𝑓∈𝑘[𝑉]𝑒𝐺⁠ lies in ⟨𝑆⟩⁠, so 𝑓∈𝑘[𝑆]⁠ by Lemma 2.3.3. By induction on 𝑒⁠, 𝑘[𝑉]𝐺=𝑘[𝑆]⁠.

Termination. 𝑀=∅⁠ happens by degree |𝐺|+1⁠: after the pass through degree |𝐺|⁠, 𝑘[𝑆]⁠ contains all invariants of degree at most |𝐺|⁠, so ⟨𝑆⟩⊇𝔥⁠ by Proposition 2.3.5, and 𝔥⁠ contains every monomial of degree |𝐺|+1⁠. A monomial in an ideal is its own leading monomial, so no monomial of degree |𝐺|+1⁠ survives in 𝑀⁠.

Minimality. Suppose some 𝑓∈𝑆⁠, of degree 𝑑⁠, is a polynomial in 𝑆∖{𝑓}⁠. Let 𝑆<𝑑⁠ be the set of elements of 𝑆⁠ of degree below 𝑑⁠; all of them were adjoined before the pass through degree 𝑑⁠. Comparing homogeneous components of degree 𝑑⁠, 𝑓=∑𝑖𝑐𝑖𝑓𝑖+ℎ⁠ with 𝑓𝑖∈𝑆⁠ of degree 𝑑⁠ distinct from 𝑓⁠, 𝑐𝑖∈𝑘⁠, and ℎ⁠ a polynomial without constant term in the elements of 𝑆<𝑑⁠, so that ℎ∈⟨𝑆<𝑑⟩⁠. Among 𝑓⁠ and the 𝑓𝑖⁠ with 𝑐𝑖≠0⁠ consider the one adjoined last. At that moment all the others were already in 𝑆⁠, so it lay in ⟨𝑆⟩⁠, its normal form was 0⁠, and it would not have been adjoined.□⁠

Remark 2.3.14 (Running King’s algorithm).
  1. (1)The Molien series steers the search. dim𝑘[𝑉]𝑑𝐺⁠ can be computed in advance using Theorem 2.2.11. If it is 0⁠, step 1d can be skipped. Otherwise exactly dim𝑘[𝑉]𝑑𝐺−dim𝑘[𝑆]𝑑⁠ generators of degree 𝑑⁠ will be found, with 𝑆⁠ the set before the pass, and the loop over 𝑀⁠ can stop once that many are in hand; dim𝑘[𝑆]𝑑⁠ is linear algebra on the products of elements of 𝑆⁠ of total degree 𝑑⁠.

  2. (2)Enumerating 𝑀⁠. There are (𝑛+𝑑−1𝑑)⁠ monomials of degree 𝑑⁠, and testing each against every lm(𝑔)⁠ is expensive. 𝑀⁠ is the set of standard monomials of degree 𝑑⁠ with respect to 𝒢︀⁠ (Definition 2.3.16), and these can be enumerated directly: build a monomial one variable at a time and discard a partial product as soon as some lm(𝑔)⁠ divides it, since then every extension is divisible too.

  3. (3)Large groups. Each ℛ︀(𝑚)⁠ costs |𝐺|⁠ substitutions. For large 𝐺⁠ one computes a basis of 𝑘[𝑉]𝑑𝐺⁠ by the kernel method of Remark 2.1.7 instead, and runs step 1d over that basis; 𝒢︀⁠ and 𝑀⁠ then serve only the termination test.

  4. (4)Why truncate. On termination 𝒢︀⁠ is a full Gröbner basis of 𝔥⁠, whose generators have degree at most |𝐺|⁠ by Proposition 2.3.5. The intermediate ideals ⟨𝑆⟩⁠ have no such property, and their full Gröbner bases can be far larger than anything that is needed; truncating at the current degree never computes them.

  5. (5)What the algorithm does not do. It never introduces new variables and never computes the relations among the generators. Those are a separate computation by Algorithm 1.4.8 once 𝑆⁠ is known, and in practice the more expensive one.

The algorithm is the default in Magma, Singular and OSCAR; in OSCAR it is called fundamental_invariants. The output is minimal, so its largest degree is 𝛽(𝐺)⁠ (Lemma 3.4.3); typically it is well below |𝐺|⁠.

The Hilbert series as a termination test

King’s algorithm stops when the Gröbner basis of the Hilbert ideal says so. The comparison with the Molien series sketched at the start of Section 2.3, due to Sturmfels, is an older test, and it verifies any candidate set, however it was obtained.

Proposition 2.3.15 (Completeness test). Let 𝑆⁠ be a finite set of homogeneous invariants. Then 𝑘[𝑆]=𝑘[𝑉]𝐺⁠ if and only if 𝐻(𝑘[𝑆],𝑡)=𝐻(𝑘[𝑉]𝐺,𝑡)⁠. If not, and 𝑑⁠ is the smallest degree in which the coefficients differ, then 𝑐𝑑≔dim𝑘[𝑉]𝑑𝐺−dim𝑘[𝑆]𝑑>0⁠, and 𝑘[𝑉]𝑑𝐺⁠ is spanned by 𝑘[𝑆]𝑑⁠ together with any 𝑐𝑑⁠ invariants of degree 𝑑⁠ that are linearly independent modulo 𝑘[𝑆]𝑑⁠.
Proof. 𝑘[𝑆]𝑑⊆𝑘[𝑉]𝑑𝐺⁠ for every 𝑑⁠, and both are finite-dimensional, so they coincide exactly when their dimensions agree.□⁠

The Molien series is one side of the comparison. The other side is the Hilbert series of a subalgebra given by generators, and Algorithm 1.4.8 delivers it. For 𝑆={𝑓1,…,𝑓𝑚}⁠ we have 𝑘[𝑆]≅𝑘[𝐲]/𝐼⁠ as graded algebras, with 𝐼=ker𝜑⁠ the ideal of relations and deg𝑦𝑗≔deg𝑓𝑗⁠ (Example 2.2.3 (3)). The Hilbert series of such a quotient can be read off a Gröbner basis of 𝐼⁠, by counting the following monomials.

Definition 2.3.16 (Standard monomials). Fix a monomial order, and let 𝒢︀⁠ be a finite set of nonzero polynomials. A monomial is standard with respect to 𝒢︀⁠ if it is not divisible by any lm(𝑔)⁠ with 𝑔∈𝒢︀⁠.
Example 2.3.17 (Standard monomials and Gröbner bases). Take lex⁠ with 𝑥≻𝑦⁠ on 𝑘[𝑥,𝑦]⁠, and 𝐼=⟨𝑥𝑦−1,𝑦2−1⟩⁠ as in Example 1.3.13. With respect to the Gröbner basis {𝑥−𝑦,𝑦2−1}⁠ of 𝐼⁠ the standard monomials are 1⁠ and 𝑦⁠, and 𝑘[𝑥,𝑦]/𝐼⁠ has dimension 2⁠, with basis the classes of 1⁠ and 𝑦⁠. With respect to the generating set {𝑥𝑦−1,𝑦2−1}⁠, which is not a Gröbner basis, the standard monomials are 𝑦⁠ and all powers 𝑥𝑖⁠ with 𝑖≥0⁠, infinitely many.

Proposition 2.3.18 (Standard monomials and Hilbert series). Let 𝐼⊴𝑘[𝐲]⁠ be a homogeneous ideal for a weighted grading and 𝒢︀⁠ a Gröbner basis of 𝐼⁠ consisting of homogeneous polynomials. The standard monomials with respect to 𝒢︀⁠ map to a 𝑘⁠-basis of 𝑘[𝐲]/𝐼⁠. Hence

𝐻(𝑘[𝐲]/𝐼,𝑡)=𝐻(𝑘[𝐲]/𝐿(𝐼),𝑡)=∑𝑚 standard𝑡deg𝑚.
Proof. By Theorem 1.3.14 (4), NF𝒢︀⁠ is a well-defined map 𝑘[𝐲]→𝑘[𝐲]⁠. It is 𝑘⁠-linear: for 𝑓,𝑓′∈𝑘[𝐲]⁠ the polynomial 𝑟≔NF𝒢︀(𝑓)+NF𝒢︀(𝑓′)⁠ satisfies 𝑓+𝑓′−𝑟∈𝐼⁠, and none of its monomials is divisible by a leading monomial of 𝒢︀⁠. The proof of Theorem 1.3.14 (4) shows that such an 𝑟⁠ is unique, so 𝑟=NF𝒢︀(𝑓+𝑓′)⁠. The kernel of NF𝒢︀⁠ is 𝐼⁠ by Theorem 1.3.14 (3), its image lies in the span of the standard monomials, and every standard monomial is its own normal form. So the standard monomials map bijectively onto a basis of 𝑘[𝐲]/𝐼⁠. Reduction modulo homogeneous 𝑔⁠ preserves the degree, so the bijection respects the grading. Finally, 𝐿(𝐼)=𝐿(𝒢︀)⁠, so the standard monomials are the monomials outside 𝐿(𝐼)⁠, and these map to a basis of 𝑘[𝐲]/𝐿(𝐼)⁠.□⁠

Counting the standard monomials of each degree is a problem about the monomial ideal 𝐿(𝐼)⁠ alone. Inclusion–exclusion over its 𝑟⁠ generators solves it, with 2𝑟⁠ terms. Implementations use faster recursive algorithms. The OSCAR command hilbert_series, for example, uses one due to Bayer and Stillman.

Algorithm 2.3.19 (Completeness test). Input: homogeneous invariants 𝑓1,…,𝑓𝑚⁠ of degrees 𝑑1,…,𝑑𝑚⁠, and the Molien series of 𝐺⁠.

Output: homogeneous generators of 𝑘[𝑉]𝐺⁠, among them 𝑓1,…,𝑓𝑚⁠.

  1. (1)Run Algorithm 1.4.8: a Gröbner basis of 𝐽=⟨𝑦𝑗−𝑓𝑗⟩⁠ for an elimination order for 𝐱⁠; its intersection with 𝑘[𝐲]⁠ is a Gröbner basis 𝒢︀𝐼⁠ of the relation ideal 𝐼⁠.

  2. (2)Compute 𝐻(𝑘[𝑓1,…,𝑓𝑚],𝑡)⁠ as the generating function of the monomials in 𝐲⁠ standard with respect to 𝒢︀𝐼⁠, with deg𝑦𝑗=𝑑𝑗⁠.

  3. (3)If it equals the Molien series, stop: the 𝑓𝑗⁠ generate. Otherwise the first discrepancy names a degree 𝑑⁠ and a number 𝑐𝑑⁠. Compute a basis of 𝑘[𝑉]𝑑𝐺⁠ by Proposition 2.1.6 (4) or Remark 2.1.7, select 𝑐𝑑⁠ of its elements that are independent modulo 𝑘[𝑓1,…,𝑓𝑚]𝑑⁠, which the normal form of Theorem 1.4.7 (2) decides, adjoin them, and return to step 1.

Each round costs a Gröbner basis in 𝑛+𝑚⁠ variables, which is exactly the cost King’s algorithm avoids. In return the test certifies a generating set produced by any means, and step 1 also yields the ideal of relations.

Example 2.3.20 (A dihedral group in three dimensions). Let 𝑘=ℚ(3)⁠, or any field of characteristic 0⁠ that contains a square root of 3⁠, write 𝑥,𝑦,𝑧⁠ for 𝑥1,𝑥2,𝑥3⁠, and let 𝐺=⟨𝛿,𝜌⟩≤𝐺𝐿3(𝑘)⁠ with

𝛿=(12−32032120001), 𝜌=(1000−1000−1):

rotation by 60∘⁠ about the 𝑧⁠-axis and rotation by 180∘⁠ about the 𝑥⁠-axis. Then 𝜌𝛿𝜌−1=𝛿−1⁠, so 𝐺⁠ is dihedral of order 12⁠, the rotation group of a hexagonal prism. Its conjugacy classes and their contributions to Equation 2.3 are: the identity, with (1−𝑡)−3⁠; 𝛿3=diag(−1,−1,1)⁠, with (1−𝑡)−1(1+𝑡)−2⁠; the two rotations 𝛿±1⁠, with (1−𝑡)−1(1−𝑡+𝑡2)−1⁠; the two rotations 𝛿±2⁠, with (1−𝑡)−1(1+𝑡+𝑡2)−1⁠; and the six half-turns 𝜌𝛿𝑗⁠, in two classes of three, which have eigenvalues 1,−1,−1⁠ and contribute (1−𝑡)−1(1+𝑡)−2⁠ each. So

𝐻(𝑘[𝑉]𝐺,𝑡)=112(1(1−𝑡)3+7(1−𝑡)(1+𝑡)2+2(1−𝑡)(1−𝑡+𝑡2)+2(1−𝑡)(1+𝑡+𝑡2))=1+2𝑡2+3𝑡4+5𝑡6+𝑡7+7𝑡8+2𝑡9+…

The invariants of degree 2⁠ are spanned by 𝑃2≔𝑥2+𝑦2⁠ and 𝑄2≔𝑧2⁠, and 𝑘[𝑃2,𝑄2]⁠ has series (1−𝑡2)−2=1+2𝑡2+3𝑡4+4𝑡6+…⁠, one short in degree 6⁠. A sixth-degree invariant outside 𝑘[𝑃2,𝑄2]⁠ is 𝑃6≔𝑥2(𝑥2−3𝑦2)2⁠, the square of 𝑥3−3𝑥𝑦2⁠, the real part of (𝑥+𝑖𝑦)3=𝑥3−3𝑥𝑦2+𝑖 (3𝑥2𝑦−𝑦3)⁠ computed formally, which 𝛿⁠ negates and 𝜌⁠ fixes. The three are algebraically independent, as Algorithm 1.4.8 confirms in the OSCAR session below, so 𝑘[𝑃2,𝑄2,𝑃6]⁠ has series (1−𝑡2)−2(1−𝑡6)−1=1+2𝑡2+3𝑡4+5𝑡6+7𝑡8+…⁠, which agrees with the Molien series through degree 6⁠ and misses 𝑡7⁠. The invariant of degree 7⁠ is 𝑃7≔𝑥𝑦𝑧 (3𝑥4−10𝑥2𝑦2+3𝑦4)⁠, which is 12𝑧 (6𝑥5𝑦−20𝑥3𝑦3+6𝑥𝑦5)⁠ with 6𝑥5𝑦−20𝑥3𝑦3+6𝑥𝑦5⁠ the imaginary part of (𝑥+𝑖𝑦)6⁠ computed formally. Algorithm 1.4.8 finds the single relation

𝑃72=𝑄2𝑃6(𝑃23−𝑃6),

so that, with new variables 𝑢2,𝑣2,𝑢6,𝑢7⁠ of degrees 2,2,6,7⁠,

𝑘[𝑃2,𝑄2,𝑃6,𝑃7]≅𝑘[𝑢2,𝑣2,𝑢6,𝑢7]/⟨𝑢72−𝑢23𝑣2𝑢6+𝑣2𝑢62⟩.

The relation has degree 14⁠, so by the shift argument of Example 2.2.8 the series is

1−𝑡14(1−𝑡2)2(1−𝑡6)(1−𝑡7)=1+𝑡7(1−𝑡2)2(1−𝑡6),

and this is the Molien series. By Proposition 2.3.15, 𝑘[𝑉]𝐺=𝑘[𝑃2,𝑄2,𝑃6,𝑃7]⁠. So here the invariant ring needs four generators, and they satisfy one relation.

The following OSCAR session carries out each step of this example: the Molien series, the invariants of degree 2⁠, the relation by elimination, and the Hilbert series of the presentation. At the end, King’s algorithm returns the same four invariants, up to scalars.

julia> K, s = quadratic_field(3);   # s is a square root of 3

julia> δ = matrix(K, [1//2 -s//2 0; s//2 1//2 0; 0 0 1]);

julia> ρ = matrix(K, [1 0 0; 0 -1 0; 0 0 -1]);

julia> G = matrix_group(δ, ρ); order(G)
12

julia> IR = invariant_ring(G);

julia> P, t = power_series_ring(QQ, 12, :t);

julia> evaluate(molien_series(IR), t)
1 + 2*t^2 + 3*t^4 + 5*t^6 + t^7 + 7*t^8 + 2*t^9 + 9*t^10 + 3*t^11 + O(t^12)

julia> foreach(println, basis(IR, 2))
x[1]^2 + x[2]^2
x[3]^2

julia> E, (x, y, z, u2, v2, u6, u7) =
           polynomial_ring(QQ, [:x, :y, :z, :u2, :v2, :u6, :u7]);

julia> P2, Q2, P6 = x^2 + y^2, z^2, x^2*(x^2 - 3*y^2)^2;

julia> P7 = x*y*z*(3*x^4 - 10*x^2*y^2 + 3*y^4);

julia> eliminate(ideal(E, [u2 - P2, v2 - Q2, u6 - P6]), [x, y, z])
Ideal generated by
  0

julia> eliminate(ideal(E, [u2 - P2, v2 - Q2, u6 - P6, u7 - P7]), [x, y, z])
Ideal generated by
  u2^3*v2*u6 - v2*u6^2 - u7^2

julia> S, (u2, v2, u6, u7) = graded_polynomial_ring(QQ, [:u2, :v2, :u6, :u7];
                                                   weights = [2, 2, 6, 7]);

julia> Q, _ = quo(S, ideal(S, [u7^2 - u2^3*v2*u6 + v2*u6^2]));

julia> hilbert_series_expanded(Q, 11)
1 + 2*t^2 + 3*t^4 + 5*t^6 + t^7 + 7*t^8 + 2*t^9 + 9*t^10 + 3*t^11 + O(t^12)

julia> foreach(println, fundamental_invariants(IR))
x[1]^2 + x[2]^2
x[3]^2
x[1]^6 - 6*x[1]^4*x[2]^2 + 9*x[1]^2*x[2]^4
x[1]^5*x[2]*x[3] - 10//3*x[1]^3*x[2]^3*x[3] + x[1]*x[2]^5*x[3]

Remark 2.3.21 (Kemper’s refinements). The algorithms used in practice refine the two above in several directions, all due to or implemented by Kemper and described in [DK15, chap. 3]:

  1. (1)computing 𝑘[𝑉]𝑑𝐺⁠ through a chain of subgroups with relative Reynolds operators, and choosing between averaging and the kernel method by the size of 𝐺⁠ [DK15, sec. 3.1];

  2. (2)using the Molien series as in Remark 2.3.14 (1), so that no degree without new generators is visited;

  3. (3)replacing the generators of degree ≤|𝐺|⁠ by a two-stage construction [Kem96, KS99], first a polynomial subalgebra over which 𝑘[𝑉]𝐺⁠ is a finitely generated module and then module generators; this needs the structure theory of Chapter 3 and is the subject of Section 3.3;

  4. (4)algorithms for the modular case [Kem96], where Theorem 2.3.4 fails and everything above has to be rebuilt.

None of this is discussed in these lecture notes.

End of lecture 10
18 November 2026

Example 2.3.22 (King’s algorithm for the dihedral group). Run Algorithm 2.3.11 on the group 𝐺⁠ of order 12⁠ of Example 2.3.20, with degrevlex⁠ and 𝑥≻𝑦≻𝑧⁠.

So 𝑆={12𝑃2,𝑄2,1132𝑃23−116𝑃6,116𝑃7}⁠, which generates the same algebra as 𝑃2,𝑄2,𝑃6,𝑃7⁠. The algorithm stops in degree 8⁠, well before |𝐺|+1=13⁠. In degrees 6⁠ and 7⁠, 𝑆⁠ receives invariants with four and three terms, 𝒢︀⁠ single monomials. On termination 𝒢︀={12𝑃2,𝑄2,𝑦6,𝑥𝑦5𝑧}⁠ is a Gröbner basis of 𝔥⁠. With the Molien series (Remark 2.3.14 (1)), step 1d is skipped in degrees 1⁠, 3⁠ and 5⁠, and in degree 4⁠, where dim𝑘[𝑉]4𝐺=3=dim𝑘[𝑆]4⁠.

2.4Abelian and permutation groups∗⁠

For abelian groups the methods of Section 2.3 are not needed: in suitable coordinates the invariant ring is spanned by monomials, and the computation reduces to bookkeeping on exponent vectors. For permutation groups the orbit sums of Proposition 3.1.27 give a degree bound that does not involve |𝐺|⁠. Nothing later depends on this section.

Abelian groups

The cyclic group of Example 1.2.9 acted diagonally. Every finite abelian group does so in suitable coordinates, provided 𝑘⁠ contains enough roots of unity. The following definition will be useful momentarily.

Definition 2.4.1 (Character). A character of a group 𝐺⁠ is a group homomorphism 𝜒:𝐺→𝑘×⁠. The characters of 𝐺⁠ form a group 𝐺̂⁠ under pointwise multiplication, (𝜒𝜓)(𝑔)≔𝜒(𝑔)𝜓(𝑔)⁠, whose neutral element is the trivial character 𝑔↦1⁠.

The letter 𝜒⁠ is standard both for characters and for characteristic polynomials (Proposition 2.2.14); in this section it always means a character.

Example 2.4.2 (Characters).
  1. (1)Let 𝐺=⟨𝑔⟩⁠ be cyclic of order 𝑚⁠, and let 𝜁∈𝑘⁠ be a primitive 𝑚⁠-th root of unity. A character 𝜒⁠ is determined by 𝜒(𝑔)⁠, and 𝜒(𝑔)𝑚=𝜒(𝑔𝑚)=1⁠. The 𝑚⁠ distinct powers 𝜁𝑐⁠, 0≤𝑐<𝑚⁠, are all the roots of 𝑇𝑚−1⁠ in 𝑘⁠, so the characters of 𝐺⁠ are the maps 𝜒𝑐:𝑔𝑗↦𝜁𝑐𝑗⁠ for 𝑐=0,…,𝑚−1⁠. In particular |𝐺̂|=𝑚⁠.

  2. (2)For every 𝐺≤𝐺𝐿𝑛(𝑘)⁠ the determinant 𝑔↦det𝑔⁠ is a character. For 𝐺≤𝐺𝐿2(𝑘)⁠ the trace is not one: a character maps 𝐼2⁠ to 1⁠, but tr𝐼2=2≠1⁠.

Proposition 2.4.3 (Simultaneous diagonalisation). Let 𝐺≤𝐺𝐿𝑛(𝑘)⁠ be finite and abelian, in the non-modular case, and let 𝑘⁠ contain a primitive 𝑁⁠-th root of unity, where 𝑁⁠ is the least common multiple of the orders of the elements of 𝐺⁠. Then 𝑘[𝑉]1⁠ has a basis 𝑦1,…,𝑦𝑛⁠ of linear forms such that

𝑔⋅𝑦𝑗=𝜒𝑗(𝑔) 𝑦𝑗 (𝑔∈𝐺,𝑗=1,…,𝑛)

for characters 𝜒1,…,𝜒𝑛⁠ of 𝐺⁠.

Proof. Each 𝑔⋅⁠ is a linear map on 𝑘[𝑉]1⁠ with (𝑔⋅)𝑁=1⁠, so its minimal polynomial divides 𝑇𝑁−1⁠, which splits over 𝑘⁠ into distinct linear factors. Hence each 𝑔⋅⁠ is diagonalisable, and the 𝑔⋅⁠ commute. Commuting diagonalisable maps have a common eigenbasis: the eigenspaces of one of them are stable under all the others, which are diagonalisable on each eigenspace, so one proceeds by induction on the dimension (Linear Algebra). The eigenvalue of 𝑔⋅⁠ on 𝑦𝑗⁠ is 𝜒𝑗(𝑔)⁠, and 𝜒𝑗(𝑔ℎ)=𝜒𝑗(𝑔)𝜒𝑗(ℎ)⁠ because (𝑔ℎ)⋅𝑦𝑗=𝑔⋅(ℎ⋅𝑦𝑗)⁠.□⁠

Since 𝑦1,…,𝑦𝑛⁠ are linearly independent linear forms, 𝑘[𝑉]=𝑘[𝑦1,…,𝑦𝑛]⁠, and the monomials 𝐲𝑎⁠ are a basis of 𝑘[𝑉]⁠ on which 𝐺⁠ acts by scalars:

𝑔⋅𝐲𝑎=𝜒𝑎(𝑔) 𝐲𝑎, 𝜒𝑎≔𝜒1𝑎1⋯𝜒𝑛𝑎𝑛.

The map 𝑎↦𝜒𝑎⁠ is a monoid homomorphism ℕ𝑛→𝐺̂⁠. We need one fact about the size of 𝐺̂⁠.

Lemma 2.4.4 (Number of characters). Let 𝐺⁠ be a finite abelian group. Then |𝐺̂|≤|𝐺|⁠, with equality if 𝑘⁠ contains a primitive 𝑁⁠-th root of unity, where 𝑁⁠ is the least common multiple of the orders of the elements of 𝐺⁠.
Proof. By Introduction to Algebra [Gat10, Lemma 7.3], 𝐺≅𝐶1×⋯×𝐶𝑟⁠ with cyclic groups 𝐶𝑖=⟨𝑔𝑖⟩⁠ of orders 𝑚𝑖⁠. A character of 𝐺⁠ is determined by its values on 𝑔1,…,𝑔𝑟⁠, and conversely any values 𝜒(𝑔𝑖)∈𝑘×⁠ with 𝜒(𝑔𝑖)𝑚𝑖=1⁠ define a character, since 𝐺⁠ is abelian. Each 𝜒(𝑔𝑖)⁠ is a root of 𝑇𝑚𝑖−1⁠, which has at most 𝑚𝑖⁠ roots in 𝑘⁠, so |𝐺̂|≤𝑚1⋯𝑚𝑟=|𝐺|⁠. If 𝜁∈𝑘⁠ is a primitive 𝑁⁠-th root of unity, then 𝜁𝑁/𝑚𝑖⁠ is a primitive 𝑚𝑖⁠-th root of unity, since 𝑚𝑖⁠ divides 𝑁⁠, and as in Example 2.4.2 (1) there are exactly 𝑚𝑖⁠ choices for 𝜒(𝑔𝑖)⁠.□⁠

Proposition 2.4.5 (Invariants of an abelian group). In the situation of Proposition 2.4.3 let ℳ︀≔{𝑎∈ℕ𝑛:𝜒𝑎=1}⁠, a submonoid of ℕ𝑛⁠, and let ℋ︀⁠ be the set of minimal elements of ℳ︀∖{0}⁠ for the componentwise order.

  1. (1)𝑘[𝑉]𝐺=⨁𝑎∈ℳ︀𝑘 𝐲𝑎⁠.

  2. (2)ℋ︀⁠ is finite, 𝑘[𝑉]𝐺=𝑘[𝐲ℎ:ℎ∈ℋ︀]⁠, and every generating set of 𝑘[𝑉]𝐺⁠ consisting of monomials in 𝐲⁠ contains {𝐲ℎ:ℎ∈ℋ︀}⁠.

  3. (3)|ℎ|≤|𝐺|⁠ for every ℎ∈ℋ︀⁠.

Proof.
  1. (1)For 𝑓=∑𝑎𝑐𝑎𝐲𝑎⁠ we have 𝑔⋅𝑓=∑𝑎𝑐𝑎𝜒𝑎(𝑔)𝐲𝑎⁠, so 𝑔⋅𝑓=𝑓⁠ for all 𝑔⁠ exactly when 𝜒𝑎=1⁠ for every 𝑎⁠ with 𝑐𝑎≠0⁠.

  2. (2)The monomials 𝐲𝑎⁠ with 𝑎∈ℳ︀∖{0}⁠ generate a monomial ideal, which by Lemma 1.3.6 is generated by finitely many of them; a minimal 𝑎⁠ must be one of those, so ℋ︀⁠ is finite. For generation argue by induction on |𝑎|⁠: given 𝑎∈ℳ︀∖{0}⁠, among the finitely many 𝑏∈ℳ︀∖{0}⁠ with 𝑏≤𝑎⁠ choose one with least |𝑏|⁠; it is minimal, so lies in ℋ︀⁠, and 𝑎−𝑏∈ℕ𝑛⁠ with 𝜒𝑎−𝑏=𝜒𝑎(𝜒𝑏)−1=1⁠ has smaller |𝑎−𝑏|⁠. Finally 𝐲ℎ⁠ with ℎ∈ℋ︀⁠ is not a product of two invariant monomials of positive degree, so no set of monomial generators can omit it.

  3. (3)Write 𝐲𝑎=𝑦𝑖1𝑦𝑖2⋯𝑦𝑖𝑑⁠ with 𝑑=|𝑎|⁠ and consider the 𝑑⁠ partial products 𝜒𝑖1⋯𝜒𝑖𝑠⁠ for 𝑠=0,…,𝑑−1⁠, elements of 𝐺̂⁠. If 𝑑>|𝐺|⁠, then 𝑑>|𝐺̂|⁠ by Lemma 2.4.4, and two of them coincide, say for 𝑠<𝑠′⁠, and then 𝜒𝑖𝑠+1⋯𝜒𝑖𝑠′=1⁠: the monomial 𝑦𝑖𝑠+1⋯𝑦𝑖𝑠′⁠ is invariant, of degree 𝑠′−𝑠⁠ with 0<𝑠′−𝑠<𝑑⁠. Its cofactor in 𝐲𝑎⁠ is then invariant too, and 𝑎⁠ is a sum of two nonzero elements of ℳ︀⁠, hence not minimal.□⁠

So computing 𝑘[𝑉]𝐺⁠ amounts to finding the characters, writing down the monoid ℳ︀⁠ and listing its minimal elements. Part (3) is Noether’s bound for abelian groups, by counting, and it gives an algorithm that needs no Gröbner basis: run through the exponent vectors 𝑎⁠ with |𝑎|≤|𝐺|⁠ in order of degree and keep those in ℳ︀⁠ that are not ≥⁠ a vector already kept. In terms of generators 𝑔1,…,𝑔𝑟⁠ of 𝐺⁠ of orders 𝑚1,…,𝑚𝑟⁠, with 𝜒𝑗(𝑔𝑖)=𝜁𝑚𝑖𝑐𝑖𝑗⁠ for primitive roots of unity 𝜁𝑚𝑖⁠, membership in ℳ︀⁠ is the system of congruences

∑𝑗=1𝑛𝑐𝑖𝑗 𝑎𝑗≡0 (mod 𝑚𝑖) (𝑖=1,…,𝑟),

so ℳ︀⁠ is the intersection of ℕ𝑛⁠ with a sublattice of finite index in ℤ𝑛⁠ (a subgroup of the form 𝐴ℤ𝑛⁠ for an integer matrix 𝐴⁠ with nonzero determinant), and ℋ︀⁠ is what polyhedral geometry calls its Hilbert basis (Definition 1.5.3, in the optional Section 1.5). The torus of Section 1.5 is the same picture with congruences replaced by equations.

Example 2.4.6 (A cyclic group of order three on 𝑘3⁠). Let 𝜁⁠ be a primitive cube root of unity and 𝐺=⟨𝑔⟩⁠ with 𝑔=diag(𝜁,𝜁,𝜁2)⁠, acting on 𝑘[𝑥1,𝑥2,𝑥3]⁠. The variables are already eigenvectors, with 𝑔⋅𝑥1=𝜁−1𝑥1⁠, 𝑔⋅𝑥2=𝜁−1𝑥2⁠ and 𝑔⋅𝑥3=𝜁−2𝑥3⁠ by Equation 1.4, so ℳ︀={𝑎:𝑎1+𝑎2+2𝑎3≡0 (mod 3)}⁠. Degree 1⁠ contains no solution; degree 2⁠ contains (1,0,1)⁠ and (0,1,1)⁠; degree 3⁠ contains (3,0,0)⁠, (0,3,0)⁠, (0,0,3)⁠, (2,1,0)⁠ and (1,2,0)⁠, none of them above a solution of degree 2⁠. By Proposition 2.4.5 (3) nothing of higher degree is minimal, so

𝑘[𝑉]𝐺=𝑘[𝑥1𝑥3,𝑥2𝑥3,𝑥13,𝑥23,𝑥33,𝑥12𝑥2,𝑥1𝑥22],

seven generators, with five attaining Noether’s bound. For Example 1.2.9 the same procedure gives ℳ︀={(𝑎,𝑏):𝑎≡𝑏 (mod 𝑚)}⁠ and ℋ︀={(1,1),(𝑚,0),(0,𝑚)}⁠.

julia> K, ζ = cyclotomic_field(3);

julia> G = matrix_group(diagonal_matrix(K, [ζ, ζ, ζ^2]));

julia> foreach(println, fundamental_invariants(invariant_ring(G)))
x[1]*x[3]
x[2]*x[3]
x[3]^3
x[2]^3
x[1]*x[2]^2
x[1]^2*x[2]
x[1]^3
Remark 2.4.7. The diagonalisation needs the roots of unity in 𝑘⁠. An abelian group given by rational matrices, a cyclic permutation group for instance, is diagonalised only over a cyclotomic extension, and the monomial generators found there have irrational coefficients. Rational generators are recovered by taking field traces, coefficientwise, of the Galois-conjugate monomials, or by working with orbit sums (Definition 3.1.25) from the outset; [Stu08, Example 2.7.1] carries this out for the cyclic group of order 5⁠.

Permutation groups

For 𝐺≤𝑆𝑛⁠ acting through permutation matrices, the orbit sums of monomials (Definition 3.1.25) span 𝑘[𝑉]𝐺⁠ in every characteristic, by Proposition 3.1.27. The degree bound improves as well.

Theorem 2.4.8 (Göbel’s bound). Let 𝐺≤𝑆𝑛⁠ be a permutation group and 𝑘⁠ any field. Then 𝑘[𝑉]𝐺⁠ is generated by 𝜎1,…,𝜎𝑛⁠ together with the orbit sums of the monomials 𝐱𝑎⁠ whose exponents, sorted decreasingly, satisfy 𝑎(1)−𝑎(2)≤1⁠, 𝑎(2)−𝑎(3)≤1⁠, …, and 𝑎(𝑛)=0⁠. Such a monomial has degree at most (𝑛2)⁠, so 𝛽(𝐺)≤max(𝑛,(𝑛2))⁠.

The proof [Göb95] is a rewriting argument in the spirit of Theorem 1.1.20 and is omitted. The bound does not involve |𝐺|⁠ at all. It is better than Theorem 2.1.10 whenever |𝐺|>max(𝑛,(𝑛2))⁠, for instance for 𝑆𝑛⁠ with 𝑛≥3⁠ and 𝐴𝑛⁠ with 𝑛≥4⁠, and it holds in the modular case, where Theorem 2.1.10 fails.

2.5Gröbner bases under group action∗⁠

Two topics from [Stu08, sec. 2.6] round off the chapter; neither is needed later.

Symmetric systems of equations. If an ideal 𝐼⊴𝑘[𝑉]⁠ is stable under 𝐺⁠, a Gröbner basis of 𝐼⁠ does not reflect the symmetry, and it is often much larger than the given generators. The alternative is to compute in the invariants. With generators 𝑓1,…,𝑓𝑚⁠ of 𝑘[𝑉]𝐺⁠ and new variables 𝐲⁠, the elimination ideal ⟨𝐼,𝑦1−𝑓1,…,𝑦𝑚−𝑓𝑚⟩∩𝑘[𝐲]⁠ describes the image of the set 𝑉(𝐼)⁠ of common zeros of 𝐼⁠ under 𝑣↦(𝑓1(𝑣),…,𝑓𝑚(𝑣))⁠. This map identifies the points of each 𝐺⁠-orbit and nothing else, so the new system has one solution for each 𝐺⁠-orbit of solutions of the old one. Each orbit is recovered by substituting its image into the relations 𝑦𝑗−𝑓𝑗⁠ and solving. The same construction shows that the ideal generated by the invariants in 𝐼⁠ has the same radical as 𝐼⁠, although in general it is smaller; see [Stu08, Proposition 2.6.4].

SAGBI bases. Section 1.4 noted that rewriting modulo a subalgebra is not Gröbner theory. There is an analogue for subalgebras. Fix a monomial order on 𝑘[𝑉]⁠.

Definition 2.5.1 (SAGBI basis). Let 𝐴⊆𝑘[𝑉]⁠ be a subalgebra. The leading monomials of the nonzero elements of 𝐴⁠ form a monoid under multiplication, since lm(𝑓𝑔)=lm(𝑓)lm(𝑔)⁠ (Lemma 1.1.18 (2), which holds for every monomial order). A subset 𝑆⊆𝐴⁠ is a SAGBI basis of 𝐴⁠ if the leading monomials of the elements of 𝑆⁠ generate this monoid. The notion is due to Robbiano and Sweedler [RS90]; the name abbreviates “subalgebra analogue to Gröbner bases for ideals”.

The proof of Theorem 1.1.20 shows that {𝜎1,…,𝜎𝑛}⁠ is a SAGBI basis of 𝑘[𝑉]𝑆𝑛⁠ for the lexicographic order: the leading monomials 𝑥1⋯𝑥𝑑⁠ generate the monoid of monomials with non-increasing exponents. Given a finite SAGBI basis, subalgebra membership is the rewriting process of that proof. However, a finitely generated subalgebra need not have a finite SAGBI basis. Göbel [Göb98] determined which permutation groups admit one: exactly the direct products of symmetric groups acting on disjoint sets of variables. In particular 𝑘[𝑉]𝐴3⁠, a free module of rank 2⁠ over 𝑘[𝜎1,𝜎2,𝜎3]⁠ by Proposition 1.1.31, has no finite SAGBI basis.

3Finite groups: module structure

Chapter 2 computed generators of 𝑘[𝑉]𝐺⁠. They do not yet describe the ring well: the generators satisfy relations, and there are usually more of them than the 𝑛=dim𝑘𝑉⁠ generators of a polynomial ring. This chapter shows that 𝑘[𝑉]𝐺⁠ is always a free module of finite rank over a polynomial subring in 𝑛⁠ generators, as 𝑘[𝐱]𝐴𝑛⁠ is over 𝑘[𝜎1,…,𝜎𝑛]⁠ by Theorem 1.1.20 and Proposition 1.1.31, and turns this into an algorithm.

Convention. Throughout, as in Chapter 2, 𝐺≤𝐺𝐿𝑛(𝑘)⁠ is finite, 𝑉=𝑘𝑛⁠, and the case is non-modular unless a statement says otherwise. The field 𝑘⁠ is infinite.

Characteristic 0⁠ guarantees an infinite field. Infinitude is used from Theorem 3.1.16 on.

3.1Graded algebras, homogeneous systems of parameters, Noether normalisation

So far we know one structural fact about 𝑘[𝑉]𝐺⁠: by Proposition 2.1.3, 𝑘[𝑉]⁠ is a finitely generated module over 𝑘[𝑉]𝐺⁠. This section studies statements of this kind for an arbitrary graded algebra 𝑅⁠: polynomial subrings over which 𝑅⁠ is a finitely generated module, the Krull dimension of 𝑅⁠ (Remark 3.1.4 below), and the Hilbert series of 𝑅⁠ as a module over such a subring. As a consequence we see why the Molien series has a pole of order 𝑛⁠ at 𝑡=1⁠ (Remark 2.2.20), and why the Molien series in Section 2.2 have denominators of the form ∏𝑖(1−𝑡𝑑𝑖)⁠.

The course Commutative Algebra usually does not cover graded rings and modules, so we introduce what we need here. For more, see [BH98, sec. 1.5].

Graded modules

Convention. In this chapter all graded algebras are assumed to be finitely generated as a 𝑘⁠-algebra, and to satisfy 𝑅0=𝑘⁠.
Remark 3.1.1. If 𝑅=𝑘[𝑔1,…,𝑔𝑚]⁠, then the homogeneous components of the 𝑔𝑗⁠ also generate 𝑅⁠. Those of degree 0⁠ lie in 𝑘⁠, so 𝑅⁠ is generated by finitely many homogeneous elements of 𝑅+⁠. There are finitely many monomials of degree 𝑑⁠ in these, so dim𝑘𝑅𝑑<∞⁠. Moreover 𝑅⁠ is Noetherian by Hilbert’s basis theorem [Gat13, Corollary 7.14]. Examples are 𝑘[𝑉]⁠, 𝑘[𝑉]𝐺⁠ by Theorem 2.1.12, their quotients by homogeneous ideals, and the subalgebras generated by finitely many homogeneous elements.

We will study modules over graded algebras, such as 𝑘[𝑉]⁠ as a module over 𝑘[𝑉]𝐺⁠, whose grading is compatible with that of the algebra.

Definition 3.1.2 (Graded module). Let 𝑅⁠ be a graded algebra. A graded 𝑅⁠-module is an 𝑅⁠-module 𝑀⁠ together with a decomposition 𝑀=⨁𝑑≥0𝑀𝑑⁠ into 𝑘⁠-subspaces such that 𝑅𝑑𝑀𝑒⊆𝑀𝑑+𝑒⁠ for all 𝑑,𝑒⁠. The elements of 𝑀𝑑⁠ are homogeneous of degree 𝑑⁠. If every 𝑀𝑑⁠ is finite-dimensional, the Hilbert series of 𝑀⁠ is

𝐻(𝑀,𝑡)≔∑𝑑≥0dim𝑘𝑀𝑑 𝑡𝑑∈ℤ[[𝑡]].

Example 3.1.3 (Graded modules). Let 𝑅⁠ be a graded algebra.

  1. (1)𝑅⁠ itself, every homogeneous ideal 𝐼⁠ of 𝑅⁠, and 𝑅/𝐼⁠ with (𝑅/𝐼)𝑑=𝑅𝑑/(𝐼∩𝑅𝑑)⁠ are graded 𝑅⁠-modules.

  2. (2)If 𝑅⁠ is a graded subalgebra of a graded algebra 𝑆⁠, then 𝑆⁠ is a graded 𝑅⁠-module. So 𝑘[𝑉]⁠ is a graded 𝑘[𝑉]𝐺⁠-module, and 𝑘[𝑉]⁠ and 𝑘[𝑉]𝐺⁠ are graded modules over 𝑘[𝜃1,…,𝜃𝑟]⁠ for homogeneous invariants 𝜃1,…,𝜃𝑟⁠.

  3. (3)Let 𝑀⁠ be a graded 𝑅⁠-module and 𝑁⊆𝑀⁠ a submodule generated by homogeneous elements. Then 𝑁=⨁𝑑(𝑁∩𝑀𝑑)⁠, so 𝑁⁠ is a graded 𝑅⁠-module, and so is 𝑀/𝑁⁠ with (𝑀/𝑁)𝑑=𝑀𝑑/(𝑁∩𝑀𝑑)⁠.

  4. (4)Not every submodule is graded. The ideal ⟨𝑥−1⟩⁠ of 𝑘[𝑥]⁠ contains 𝑥−1⁠ but not its homogeneous component 𝑥⁠, since otherwise it would contain 1=𝑥−(𝑥−1)⁠. So ⟨𝑥−1⟩⁠ is not the direct sum of its intersections with the spaces 𝑘[𝑥]𝑑⁠.

Krull dimension

Remark 3.1.4 (Krull dimension). Recall from Commutative Algebra [Gat13, Definition 11.1] that the Krull dimension dim𝑅⁠ of a ring 𝑅⁠ is the largest 𝑟⁠ such that there is a chain 𝔭0⊊⋯⊊𝔭𝑟⁠ of prime ideals of 𝑅⁠, and ∞⁠ if there is no largest such 𝑟⁠. The dimension of a 𝑘⁠-vector space 𝑊⁠ is written dim𝑘𝑊⁠. We use three facts about finitely generated 𝑘⁠-algebras 𝑅⁠.

  1. (1)If 𝑅⁠ is a finitely generated module over a subalgebra 𝐴⁠, then dim𝑅=dim𝐴⁠. Indeed, 𝑅⁠ is then integral over 𝐴⁠ by [Gat13, Proposition 9.5], and integral extensions preserve the dimension [Gat13, Lemma 11.8].

  2. (2)For 𝑓1,…,𝑓𝑟∈𝑅⁠ we have dim𝑘[𝑓1,…,𝑓𝑟]≤𝑟⁠, with equality if and only if 𝑓1,…,𝑓𝑟⁠ are algebraically independent over 𝑘⁠. Indeed, 𝑘[𝑓1,…,𝑓𝑟]≅𝑘[𝑦1,…,𝑦𝑟]/ker𝜑⁠ for the evaluation homomorphism 𝜑⁠ of Equation 1.2, and dim𝑘[𝑦1,…,𝑦𝑟]=𝑟⁠ by [Gat13, Proposition 11.9 (a)]. If ker𝜑≠0⁠, then by [Gat13, Lemma 1.21 and Corollary 2.4] the prime ideals of the quotient correspond to the prime ideals of 𝑘[𝐲]⁠ that contain ker𝜑⁠. These are nonzero, so putting the prime ideal 0⁠ in front of a chain of them gives a longer chain in 𝑘[𝐲]⁠. Hence dim𝑘[𝑓1,…,𝑓𝑟]≤𝑟−1⁠ in this case.

  3. (3)dim𝑅=0⁠ if and only if dim𝑘𝑅<∞⁠. Indeed, by Noether normalisation [Gat13, Proposition 10.5 and Remark 11.10], 𝑅⁠ is a finitely generated module over a polynomial ring 𝑘[𝑧1,…,𝑧𝑟]⊆𝑅⁠ with 𝑟=dim𝑅⁠. If dim𝑅=0⁠, then 𝑟=0⁠, so 𝑅⁠ is a finitely generated module over 𝑘⁠, that is, dim𝑘𝑅<∞⁠. Conversely, if dim𝑘𝑅<∞⁠, then dim𝑅=dim𝑘=0⁠ by (1).

Finitely generated modules over a polynomial subring

Commutative Algebra derives two statements from Nakayama’s lemma [Gat13, Corollary 3.27] for a finitely generated module 𝑀⁠ over a local ring with maximal ideal 𝔪⁠ [Gat13, Exercise 6.16]: if 𝔪𝑀=𝑀⁠ then 𝑀=0⁠, and elements of 𝑀⁠ generate 𝑀⁠ if their images span 𝑀/𝔪𝑀⁠. Their graded versions below put 𝑅+⁠ in the role of 𝔪⁠ and need no finiteness assumption. The second reduces the question whether given homogeneous elements generate a module 𝑀⁠ to a question about the vector space 𝑀/𝑅+𝑀⁠.

Notation. For an ideal 𝐼⁠ of 𝑅⁠, 𝐼𝑀⁠ is the submodule of 𝑀⁠ generated by the products 𝑎𝑚⁠ with 𝑎∈𝐼⁠ and 𝑚∈𝑀⁠, as in [Gat13, Definition 3.12 (a)]. For 𝐼=⟨𝜃1,…,𝜃𝑟⟩⁠ this is ⟨𝜃1,…,𝜃𝑟⟩𝑀=𝜃1𝑀+⋯+𝜃𝑟𝑀⁠.
Lemma 3.1.5 (Graded Nakayama lemma). Let 𝑅⁠ be a graded algebra and 𝑀⁠ a graded 𝑅⁠-module with 𝑅+𝑀=𝑀⁠. Then 𝑀=0⁠.
Proof. Suppose 𝑀≠0⁠ and let 𝑚∈𝑀𝑑⁠ be nonzero with 𝑑⁠ minimal. Since 𝑚∈𝑅+𝑀⁠, we have 𝑚=∑𝑗𝑟𝑗𝑚𝑗⁠ with 𝑟𝑗∈𝑅+⁠ and 𝑚𝑗∈𝑀⁠. Taking homogeneous components of degree 𝑑⁠ we may assume every 𝑟𝑗⁠ homogeneous of positive degree and every 𝑚𝑗⁠ homogeneous of degree 𝑑−deg𝑟𝑗<𝑑⁠. By minimality of 𝑑⁠ every 𝑚𝑗⁠ is zero, so 𝑚=0⁠, a contradiction.□⁠

Corollary 3.1.6 (Homogeneous generators of graded modules). Let 𝑅⁠ be a graded algebra and 𝑀⁠ a graded 𝑅⁠-module. A set 𝑆⁠ of homogeneous elements of 𝑀⁠ generates 𝑀⁠ as an 𝑅⁠-module if and only if the image of 𝑆⁠ spans the 𝑘⁠-vector space 𝑀/𝑅+𝑀⁠. Consequently:

  1. (1)𝑀⁠ is finitely generated if and only if dim𝑘𝑀/𝑅+𝑀<∞⁠.

  2. (2)A generating set of homogeneous elements is minimal, in the sense that no proper subset generates, if and only if its image is a basis of 𝑀/𝑅+𝑀⁠.

  3. (3)All minimal generating sets of homogeneous elements have the same number of elements and the same degrees, namely dim𝑘(𝑀/𝑅+𝑀)𝑑⁠ elements of degree 𝑑⁠.

Proof. If 𝑆⁠ generates 𝑀⁠, its image spans the quotient. Conversely let the image of 𝑆⁠ span 𝑀/𝑅+𝑀⁠ and let 𝑁⁠ be the submodule generated by 𝑆⁠. Then 𝑀=𝑁+𝑅+𝑀⁠, so the graded module 𝑀/𝑁⁠ of Example 3.1.3 (3) satisfies 𝑅+(𝑀/𝑁)=𝑀/𝑁⁠. Hence 𝑀/𝑁=0⁠ by Lemma 3.1.5, that is, 𝑁=𝑀⁠.

For (1), a finite generating set spans the quotient; conversely lift a basis of 𝑀/𝑅+𝑀⁠ to homogeneous elements. For (2), a homogeneous generating set whose image is not a basis contains an element whose image is a combination of the others, and the others still span the quotient, hence generate 𝑀⁠; conversely a generating set whose image is a basis loses the spanning property with any element. For (3), by (2) the images of a minimal generating set form a basis of 𝑀/𝑅+𝑀⁠ of homogeneous elements, so exactly dim𝑘(𝑀/𝑅+𝑀)𝑑⁠ of them have degree 𝑑⁠.□⁠

Example 3.1.7 (Generators of 𝑘[𝑥1,𝑥2]⁠ over the symmetric polynomials). Let 𝑛=2⁠, 𝐴≔𝑘[𝜎1,𝜎2]⊆𝑘[𝑉]⁠ and 𝑀≔𝑘[𝑉]⁠. Then 𝐴+𝑀=⟨𝜎1,𝜎2⟩⁠ is an ideal of 𝑘[𝑉]⁠. Modulo this ideal 𝑥2≡−𝑥1⁠ and 𝑥12=𝜎1𝑥1−𝜎2≡0⁠, so 𝑀/𝐴+𝑀⁠ is spanned by the images of 1⁠ and 𝑥1⁠. These are linearly independent, since the ideal contains no nonzero constant and its homogeneous elements of degree 1⁠ are the multiples of 𝜎1⁠. By Corollary 3.1.6, 1⁠ and 𝑥1⁠ generate 𝑘[𝑉]⁠ as an 𝐴⁠-module, and every minimal generating set of homogeneous elements consists of one element of degree 0⁠ and one of degree 1⁠.
Notation. For elements 𝜃1,…,𝜃𝑟⁠ of a graded algebra 𝑅⁠ we write 𝑘[𝜃]≔𝑘[𝜃1,…,𝜃𝑟]⁠ for the subalgebra and ⟨𝜃⟩≔⟨𝜃1,…,𝜃𝑟⟩⁠ for the ideal of 𝑅⁠ they generate.

Proposition 3.1.8 (Finiteness over a polynomial subring). Let 𝑅⁠ be a graded algebra and 𝜃1,…,𝜃𝑟∈𝑅+⁠ homogeneous. The following are equivalent.

  1. (1)𝑅⁠ is a finitely generated module over 𝑘[𝜃]⁠.

  2. (2)dim𝑘𝑅/⟨𝜃⟩<∞⁠.

  3. (3)For every homogeneous 𝑓∈𝑅+⁠ some power 𝑓𝑁⁠ lies in ⟨𝜃⟩⁠.

  4. (4)𝑅=𝑘[𝑓1,…,𝑓𝑚]⁠ for homogeneous 𝑓1,…,𝑓𝑚∈𝑅+⁠, each of which has a power in ⟨𝜃⟩⁠.

If they hold, 𝑅⁠ is generated over 𝑘[𝜃]⁠ by homogeneous elements lifting a basis of 𝑅/⟨𝜃⟩⁠.

Proof. Put 𝐴≔𝑘[𝜃]⁠. Then 𝑅⁠ is a graded 𝐴⁠-module and 𝐴+𝑅=⟨𝜃⟩⁠.

(1) ⇔⁠ (2). This is Corollary 3.1.6 (1).

(2) ⇒⁠ (3). The graded algebra 𝑅/⟨𝜃⟩⁠, being finite-dimensional, is zero in all degrees above some 𝐷⁠. So for homogeneous 𝑓∈𝑅+⁠ and 𝑁deg𝑓>𝐷⁠, the power 𝑓𝑁⁠ lies in ⟨𝜃⟩⁠.

(3) ⇒⁠ (4). By Remark 3.1.1, 𝑅⁠ is generated by finitely many homogeneous elements of 𝑅+⁠. Apply (3) to these.

(4) ⇒⁠ (2). Take 𝑁⁠ with 𝑓𝑗𝑁∈⟨𝜃⟩⁠ for all 𝑗⁠. Every monomial 𝑓1𝑎1⋯𝑓𝑚𝑎𝑚⁠ with some 𝑎𝑗≥𝑁⁠ lies in ⟨𝜃⟩⁠, so the finitely many monomials with all 𝑎𝑗<𝑁⁠ span 𝑅/⟨𝜃⟩⁠.

Last claim. By Corollary 3.1.6 for the 𝐴⁠-module 𝑅⁠.□⁠

For 𝑅=𝑘[𝑉]⁠, condition (4) with the variables as generators asks that some power of each 𝑥𝑖⁠ lie in ⟨𝜃⟩⁠. This is usually the easiest of the four to check.

The polynomial subrings of Proposition 3.1.8 get a name.

Definition 3.1.9 (Homogeneous system of parameters). Let 𝑅⁠ be a graded algebra. Homogeneous elements 𝜃1,…,𝜃𝑟∈𝑅+⁠ form a homogeneous system of parameters of 𝑅⁠, an hsop for short, if they are algebraically independent over 𝑘⁠ and 𝑅⁠ is a finitely generated module over 𝑘[𝜃]⁠.

Example 3.1.10 (Systems of parameters).

  1. (1)Let 𝑛=2⁠. Then 𝜎1,𝜎2⁠ is an hsop of 𝑘[𝑉]⁠: the two are algebraically independent by Theorem 1.1.20, and 𝑘[𝑉]⁠ is generated by 1,𝑥1⁠ as a 𝑘[𝜎1,𝜎2]⁠-module by Example 3.1.7.

  2. (2)Let char𝑘≠2⁠ and let 𝐴𝑛⁠ permute the variables. Then 𝜎1,…,𝜎𝑛⁠ is an hsop of 𝑘[𝑉]𝐴𝑛⁠: they are algebraically independent by Theorem 1.1.20, and 𝑘[𝑉]𝐴𝑛⁠ is generated by 1,Δ⁠ as a 𝑘[𝜎1,…,𝜎𝑛]⁠-module by Proposition 1.1.31. Unlike for 𝑆𝑛⁠, the hsop does not generate the invariant ring as an algebra: Δ⁠ is missing.

  3. (3)𝑥1⁠ and 𝑥1𝑥2⁠ are algebraically independent, since the monomials 𝑥1𝑎(𝑥1𝑥2)𝑏=𝑥1𝑎+𝑏𝑥2𝑏⁠ are pairwise distinct. But they are not an hsop of 𝑘[𝑥1,𝑥2]⁠: the quotient 𝑘[𝑥1,𝑥2]/⟨𝑥1,𝑥1𝑥2⟩=𝑘[𝑥1,𝑥2]/⟨𝑥1⟩≅𝑘[𝑥2]⁠ is infinite-dimensional, so Proposition 3.1.8 (2) fails.

  4. (4)Let char𝑘≠2⁠ and 𝐺={±𝐼}≤𝐺𝐿2(𝑘)⁠, the group of Example 1.2.9 for 𝑚=2⁠. Its invariant ring is generated by 𝑢=𝑥1𝑥2⁠, 𝑣=𝑥12⁠ and 𝑤=𝑥22⁠. Here 𝑣,𝑤⁠ is an hsop of 𝑘[𝑉]𝐺⁠: the monomials 𝑣𝑎𝑤𝑏=𝑥12𝑎𝑥22𝑏⁠ are pairwise distinct, and 𝑘[𝑉]𝐺=𝑘[𝑣,𝑤]+𝑢 𝑘[𝑣,𝑤]⁠ by Example 2.2.8. The generators 𝑢,𝑣,𝑤⁠ do not form an hsop, since 𝑢2=𝑣𝑤⁠.

The number of elements of an hsop does not depend on the choice.

Lemma 3.1.11 (Length of an hsop). Every hsop of a graded algebra 𝑅⁠ has exactly dim𝑅⁠ elements.
Proof. Let 𝜃1,…,𝜃𝑟⁠ be an hsop of 𝑅⁠. By Remark 3.1.4 (1) and (2), dim𝑅=dim𝑘[𝜃1,…,𝜃𝑟]=𝑟⁠.□⁠

For 𝑅=𝑘[𝑉]⁠ and for 𝑅=𝑘[𝑉]𝐺⁠, whether given elements form an hsop can be decided by looking at their common zeros.

Proposition 3.1.12 (Systems of parameters of the polynomial ring). Let 𝑓1,…,𝑓𝑛∈𝑘[𝑉]+⁠ be homogeneous, 𝑛=dim𝑘𝑉⁠, and let 𝑘¯⁠ be an algebraic closure of 𝑘⁠. The following are equivalent.

  1. (1)𝑓1,…,𝑓𝑛⁠ is an hsop of 𝑘[𝑉]⁠.

  2. (2)dim𝑘𝑘[𝑉]/⟨𝑓1,…,𝑓𝑛⟩<∞⁠.

  3. (3)The only common zero of 𝑓1,…,𝑓𝑛⁠ in 𝑘¯ 𝑛⁠ is 0⁠.

Proof. Write ⟨𝑓⟩≔⟨𝑓1,…,𝑓𝑛⟩⊴𝑘[𝑉]⁠ and 𝑘[𝑓]≔𝑘[𝑓1,…,𝑓𝑛]⁠.

(1) ⇒⁠ (2). By definition of an hsop, 𝑘[𝑉]⁠ is a finitely generated module over 𝑘[𝑓]⁠, which is (2) by Proposition 3.1.8.

(2) ⇒⁠ (1). By Proposition 3.1.8, 𝑘[𝑉]⁠ is a finitely generated module over 𝑘[𝑓]⁠. Then dim𝑘[𝑓]=dim𝑘[𝑉]=𝑛⁠ by Remark 3.1.4 (1) and (2), so the 𝑓𝑖⁠ are algebraically independent by Remark 3.1.4 (2).

(2) ⇒⁠ (3). By Proposition 3.1.8 (3), 𝑥𝑖𝑁∈⟨𝑓⟩⁠ for some 𝑁⁠ and all 𝑖⁠, so a common zero of the 𝑓𝑖⁠ is a common zero of 𝑥1𝑁,…,𝑥𝑛𝑁⁠.

(3) ⇒⁠ (2). The dimension of 𝑘[𝑉]𝑑/⟨𝑓⟩𝑑⁠, where ⟨𝑓⟩𝑑≔⟨𝑓⟩∩𝑘[𝑉]𝑑⁠, is the corank of a matrix with entries in 𝑘⁠, which does not change under field extension, so we may assume 𝑘=𝑘¯⁠. By Hilbert’s Nullstellensatz [Gat13, Corollary 10.14] the radical of ⟨𝑓⟩⁠ is the ideal of polynomials vanishing on the zero set of ⟨𝑓⟩⁠. By (3) this zero set is {0}⁠, so the radical is ⟨𝑥1,…,𝑥𝑛⟩⁠. So some power of each 𝑥𝑖⁠ lies in ⟨𝑓⟩⁠, which is Proposition 3.1.8 (4).□⁠

In Example 3.1.10 (3), 𝑥1⁠ and 𝑥1𝑥2⁠ have the common zeros (0,𝑐)⁠ for all 𝑐∈𝑘⁠.

Remark 3.1.13 (Testing finite dimension with a Gröbner basis). Condition (2) of Proposition 3.1.12 can be tested with a single Gröbner basis computation, see Proposition 3.3.1.

End of lecture 11
23 November 2026

Verified up to here. Above this point, the material taught has been checked. Everything else is an unverified draft; see the preface.
Corollary 3.1.14 (Systems of parameters of the invariant ring). Let 𝑓1,…,𝑓𝑛∈𝑘[𝑉]+𝐺⁠ be homogeneous, 𝑛=dim𝑘𝑉⁠. Then 𝑓1,…,𝑓𝑛⁠ is an hsop of 𝑘[𝑉]𝐺⁠ if and only if it is an hsop of 𝑘[𝑉]⁠, that is, if and only if the conditions of Proposition 3.1.12 hold.
Proof. Write 𝑘[𝑓]≔𝑘[𝑓1,…,𝑓𝑛]⁠. 𝑘[𝑉]⁠ is a finitely generated 𝑘[𝑉]𝐺⁠-module by Proposition 2.1.3 (2). If 𝑘[𝑉]𝐺⁠ is a finitely generated 𝑘[𝑓]⁠-module, then so is 𝑘[𝑉]⁠ by [Gat13, Lemma 9.6 (a)]. Conversely, if 𝑘[𝑉]⁠ is a finitely generated module over the Noetherian ring 𝑘[𝑓]⁠, then so is its submodule 𝑘[𝑉]𝐺⁠ by [Gat13, Corollary 7.9 (b)].□⁠
Corollary 3.1.15 (Dimension of the invariant ring). dim𝑘[𝑉]𝐺=𝑛⁠ for every finite 𝐺≤𝐺𝐿𝑛(𝑘)⁠ and every field 𝑘⁠, and every hsop of 𝑘[𝑉]𝐺⁠ has exactly 𝑛⁠ elements.
Proof. 𝑘[𝑉]⁠ is a finitely generated 𝑘[𝑉]𝐺⁠-module by Proposition 2.1.3 (2), so dim𝑘[𝑉]𝐺=dim𝑘[𝑉]⁠ by Remark 3.1.4 (1), and dim𝑘[𝑉]=𝑛⁠ by Remark 3.1.4 (2), the coordinates being algebraically independent. The second claim follows by Lemma 3.1.11.□⁠

This agrees with Proposition 2.1.3 (3): 𝑘[𝑉]𝐺⁠ contains 𝑛⁠ algebraically independent elements, and no more.

Noether normalisation

Recall Noether normalisation from Commutative Algebra [Gat13, Proposition 10.5]: a finitely generated 𝑘⁠-algebra 𝑅⁠ is a finitely generated module over a polynomial ring 𝑘[𝑧1,…,𝑧𝑟]⊆𝑅⁠, and if 𝑘⁠ is infinite, 𝑧1,…,𝑧𝑟⁠ can be chosen as 𝑘⁠-linear combinations of given generators of 𝑅⁠. For a graded algebra we want 𝑧1,…,𝑧𝑟⁠ to be homogeneous. If all generators have the same degree, their linear combinations are homogeneous of that degree, and the proof from Commutative Algebra gives the following theorem.

Theorem 3.1.16 (Noether normalisation, graded form). Let 𝑘⁠ be infinite and let 𝑅=𝑘[𝑓1,…,𝑓𝑚]⁠ be a graded algebra generated by homogeneous elements 𝑓1,…,𝑓𝑚⁠ of one common degree 𝑒≥1⁠. Then 𝑅⁠ has an hsop consisting of 𝑘⁠-linear combinations of 𝑓1,…,𝑓𝑚⁠.

Proof. Induction on 𝑚⁠. If 𝑓1,…,𝑓𝑚⁠ are algebraically independent they form an hsop. Otherwise let 0≠𝑃∈𝑘[𝑦1,…,𝑦𝑚]⁠ with 𝑃(𝑓1,…,𝑓𝑚)=0⁠. Writing 𝑃=∑𝑁𝑃𝑁⁠ with 𝑃𝑁⁠ homogeneous of degree 𝑁⁠, each 𝑃𝑁(𝑓)⁠ lies in 𝑅𝑁𝑒⁠, so all 𝑃𝑁(𝑓)⁠ vanish, and we may take 𝑃⁠ homogeneous, of some degree 𝑁≥1⁠.

Since 𝑘⁠ is infinite and 𝑃⁠ is homogeneous and nonzero, there are 𝑐1,…,𝑐𝑚−1∈𝑘⁠ with 𝜆≔𝑃(𝑐1,…,𝑐𝑚−1,1)≠0⁠ by [Gat13, Lemma 10.2]. Put 𝑔𝑖≔𝑓𝑖−𝑐𝑖𝑓𝑚⁠ for 𝑖<𝑚⁠; these are homogeneous of degree 𝑒⁠. Substituting 𝑓𝑖=𝑔𝑖+𝑐𝑖𝑓𝑚⁠ and collecting powers of 𝑓𝑚⁠ gives

0=𝑃(𝑓1,…,𝑓𝑚)=𝑃(𝑔1+𝑐1𝑓𝑚,…,𝑔𝑚−1+𝑐𝑚−1𝑓𝑚,𝑓𝑚)=𝜆𝑓𝑚𝑁+∑𝑗<𝑁𝑞𝑗(𝑔1,…,𝑔𝑚−1)𝑓𝑚 𝑗

with polynomials 𝑞𝑗⁠, because the coefficient of 𝑓𝑚𝑁⁠ collects the term 𝑐𝑖𝑓𝑚⁠ from every factor, which gives 𝑃(𝑐1,…,𝑐𝑚−1,1)⁠; this is the computation in the proof of [Gat13, Lemma 10.3]. So 𝑓𝑚⁠ is integral over 𝑅′≔𝑘[𝑔1,…,𝑔𝑚−1]⁠, and 𝑅=𝑅′[𝑓𝑚]⁠ is generated as an 𝑅′⁠-module by 1,𝑓𝑚,…,𝑓𝑚𝑁−1⁠. By induction 𝑅′⁠ has an hsop 𝜃1,…,𝜃𝑟⁠ consisting of linear combinations of the 𝑔𝑖⁠, hence of the 𝑓𝑖⁠. Since 𝑅⁠ is a finitely generated 𝑅′⁠-module and 𝑅′⁠ a finitely generated 𝑘[𝜃]⁠-module, 𝑅⁠ is a finitely generated 𝑘[𝜃]⁠-module by [Gat13, Lemma 9.6 (a)].□⁠

Example 3.1.17 (Linear combinations are needed). Let 𝐴≔𝑘[𝑥,𝑦]/⟨𝑥𝑦⟩⁠, graded by deg𝑥=deg𝑦=1⁠ and generated by 𝑓1=𝑥⁠ and 𝑓2=𝑦⁠. Neither generator alone is an hsop: 𝐴/⟨𝑥⟩≅𝑘[𝑥,𝑦]/⟨𝑥⟩≅𝑘[𝑦]⁠ is infinite-dimensional, so 𝐴⁠ is not a finitely generated 𝑘[𝑥]⁠-module by Proposition 3.1.8, and the same holds for 𝑦⁠.

The proof of Theorem 3.1.16 starts from the relation 𝑃=𝑦1𝑦2⁠. Here 𝑃(𝑐1,1)=𝑐1⁠, and we take 𝑐1=−1⁠, so 𝑔1=𝑥+𝑦⁠. Substituting 𝑥=𝑔1−𝑦⁠ into 𝑥𝑦=0⁠ gives 𝑦2−𝑔1𝑦=0⁠, so 𝑦⁠ is integral over 𝑘[𝑔1]⁠, and 1,𝑦⁠ generate 𝐴⁠ as a 𝑘[𝑥+𝑦]⁠-module. The powers (𝑥+𝑦)𝑑=𝑥𝑑+𝑦𝑑⁠ are nonzero in 𝐴⁠ and have distinct degrees, so 𝑥+𝑦⁠ is algebraically independent, and it is an hsop of 𝐴⁠. In particular dim𝐴=1⁠ by Lemma 3.1.11.

Corollary 3.1.18 (Existence of an hsop). Every graded algebra 𝑅⁠ over an infinite field has an hsop, of length dim𝑅⁠. If 𝑅=𝑘[𝑓1,…,𝑓𝑚]⁠ with deg𝑓𝑗=𝑒𝑗⁠ and 𝑒≔lcm(𝑒1,…,𝑒𝑚)⁠, an hsop can be found among the 𝑘⁠-linear combinations of 𝑓1𝑒/𝑒1,…,𝑓𝑚𝑒/𝑒𝑚⁠.
Proof. 𝑅′≔𝑘[𝑓1𝑒/𝑒1,…,𝑓𝑚𝑒/𝑒𝑚]⁠ is generated in degree 𝑒⁠, and 𝑅⁠ is spanned over 𝑅′⁠ by the monomials 𝑓𝑎⁠ with 𝑎𝑗<𝑒/𝑒𝑗⁠ for all 𝑗⁠. By Theorem 3.1.16, 𝑅′⁠ has an hsop 𝜃⁠ of the stated form, and 𝑅⁠ is a finitely generated 𝑘[𝜃]⁠-module by [Gat13, Lemma 9.6 (a)]. The length is dim𝑅⁠ by Lemma 3.1.11.□⁠

Regular sequences

An hsop 𝜃⁠ makes 𝑅⁠ a finitely generated 𝑘[𝜃]⁠-module. In Section 3.2 we ask when 𝑅⁠ is even a free 𝑘[𝜃]⁠-module, and the answer uses the following notion. It is not treated in Commutative Algebra; see [BH98, sec. 1.1].

Definition 3.1.19 (Regular sequence). Let 𝑀⁠ be a module over a ring 𝑅⁠. An element 𝜃∈𝑅⁠ is a nonzerodivisor on 𝑀⁠ if 𝜃𝑚=0⁠ implies 𝑚=0⁠ for 𝑚∈𝑀⁠. A sequence 𝜃1,…,𝜃𝑟⁠ of elements of 𝑅⁠ is regular on 𝑀⁠ if, for each 𝑖⁠, 𝜃𝑖⁠ is a nonzerodivisor on 𝑀/⟨𝜃1,…,𝜃𝑖−1⟩𝑀⁠; that is, if 𝜃𝑖𝑚∈⟨𝜃1,…,𝜃𝑖−1⟩𝑀⁠ implies 𝑚∈⟨𝜃1,…,𝜃𝑖−1⟩𝑀⁠. A sequence regular on 𝑅⁠ itself is called regular.

Example 3.1.20 (Regular and not regular).

  1. (1)𝑥1,…,𝑥𝑛⁠ is a regular sequence in 𝑘[𝑉]⁠: for each 𝑖⁠, the ring 𝑘[𝑉]/⟨𝑥1,…,𝑥𝑖−1⟩≅𝑘[𝑥𝑖,…,𝑥𝑛]⁠ is an integral domain, and 𝑥𝑖⁠ is nonzero in it.

  2. (2)Let 𝐴=𝑘[𝑥,𝑦]/⟨𝑥𝑦⟩⁠ as in Example 3.1.17. Then 𝑥⁠ is not a nonzerodivisor on 𝐴⁠: 𝑥⋅𝑦=0⁠ in 𝐴⁠, but 𝑦≠0⁠. So no sequence that starts with 𝑥⁠ is regular on 𝐴⁠. The element 𝑥+𝑦⁠ is a nonzerodivisor on 𝐴⁠. To see this, let 𝑓∈𝑘[𝑥,𝑦]⁠ with (𝑥+𝑦)𝑓∈⟨𝑥𝑦⟩⁠. Then 𝑥⁠ divides (𝑥+𝑦)𝑓⁠ but not 𝑥+𝑦⁠, and 𝑥⁠ is a prime element of 𝑘[𝑥,𝑦]⁠, since 𝑘[𝑥,𝑦]/⟨𝑥⟩≅𝑘[𝑦]⁠ is an integral domain. So 𝑥⁠ divides 𝑓⁠, and likewise 𝑦⁠ divides 𝑓⁠. Hence 𝑥𝑦⁠ divides 𝑓⁠, that is, 𝑓=0⁠ in 𝐴⁠.

In the graded setting the 𝜃𝑖⁠ will always be homogeneous of positive degree and 𝑀≠0⁠. Then 𝑀/⟨𝜃1,…,𝜃𝑟⟩𝑀≠0⁠ by Lemma 3.1.5; for general rings and modules this is added to the definition as a further condition. In general the order of a regular sequence matters.

Example 3.1.21 (Order matters). In 𝑅=𝑘[𝑥,𝑦,𝑧]⁠ the sequence 𝑥,𝑦(1−𝑥),𝑧(1−𝑥)⁠ is regular: 𝑥⁠ is a nonzerodivisor in a domain, 𝑅/⟨𝑥⟩≅𝑘[𝑦,𝑧]⁠ with 𝑦(1−𝑥)↦𝑦⁠, and 𝑅/⟨𝑥,𝑦(1−𝑥)⟩=𝑅/⟨𝑥,𝑦⟩≅𝑘[𝑧]⁠ with 𝑧(1−𝑥)↦𝑧⁠. The sequence 𝑦(1−𝑥),𝑧(1−𝑥),𝑥⁠ is not: in 𝑅/⟨𝑦(1−𝑥)⟩⁠,

𝑧(1−𝑥)⋅𝑦=𝑧⋅𝑦(1−𝑥)≡0,

while 𝑦∉⟨𝑦(1−𝑥)⟩⁠, every nonzero multiple of 𝑦(1−𝑥)⁠ having degree at least 2⁠. So 𝑧(1−𝑥)⁠ is a zero divisor there.

The elements in this example are not homogeneous. For homogeneous elements the order does not matter.

Lemma 3.1.22 (Homogeneous regular sequences may be reordered). Let 𝑅⁠ be a graded algebra, 𝑀⁠ a graded 𝑅⁠-module and 𝜃1,…,𝜃𝑟∈𝑅+⁠ homogeneous. If 𝜃1,…,𝜃𝑟⁠ is regular on 𝑀⁠, so is every permutation of it.

The proof is an exercise: swapping two neighbours changes none of the other ideals ⟨𝜃1,…,𝜃𝑗⟩⁠, so the case 𝑟=2⁠ suffices, and there the grading enters through a nonzero homogeneous element of least degree killed by 𝜃2⁠. Nothing below depends on the lemma; it is what allows one to speak of a regular set of homogeneous elements.

The Hilbert series over a polynomial subring

The denominators ∏𝑖(1−𝑡𝑑𝑖)⁠ in Section 2.2 are explained by the following theorem about graded modules over a polynomial ring.

Theorem 3.1.23 (Hilbert series of a module over a polynomial ring). Let 𝐴=𝑘[𝜃1,…,𝜃𝑟]⁠ be a polynomial ring with deg𝜃𝑖=𝑑𝑖≥1⁠ and 𝑀⁠ a finitely generated graded 𝐴⁠-module. Then

𝐻(𝑀,𝑡)∏𝑖=1𝑟(1−𝑡𝑑𝑖)

is a polynomial with integer coefficients. If 𝜃1,…,𝜃𝑟⁠ is an hsop of a graded algebra 𝑅⁠ and 𝑀=𝑅⁠, this polynomial 𝑃(𝑡)⁠ satisfies 𝑃(1)≥1⁠, so 𝐻(𝑅,𝑡)⁠ has a pole of order exactly 𝑟=dim𝑅⁠ at 𝑡=1⁠.

Proof. Induction on 𝑟⁠. For 𝑟=0⁠, 𝑀⁠ is a finite-dimensional vector space and 𝐻(𝑀,𝑡)⁠ a polynomial. For 𝑟≥1⁠ let 𝐾≔{𝑚∈𝑀:𝜃1𝑚=0}⁠ and 𝐶≔𝑀/𝜃1𝑀⁠. Both are graded 𝐴⁠-modules killed by 𝜃1⁠, hence modules over 𝐴/𝜃1𝐴=𝑘[𝜃2,…,𝜃𝑟]⁠. Both are finitely generated: 𝐶⁠ as a quotient of 𝑀⁠, and 𝐾⁠ as a submodule of the finitely generated module 𝑀⁠ over the Noetherian ring 𝐴⁠, by [Gat13, Corollary 7.9 (b)]. In each degree 𝑑⁠ the sequence

0⟶𝐾𝑑−𝑑1⟶𝑀𝑑−𝑑1⟶𝜃1𝑀𝑑⟶𝐶𝑑⟶0

is exact, so dim𝑘𝑀𝑑−dim𝑘𝑀𝑑−𝑑1=dim𝑘𝐶𝑑−dim𝑘𝐾𝑑−𝑑1⁠, that is (1−𝑡𝑑1)𝐻(𝑀,𝑡)=𝐻(𝐶,𝑡)−𝑡𝑑1𝐻(𝐾,𝑡)⁠. Multiply by ∏𝑖≥2(1−𝑡𝑑𝑖)⁠ and apply the induction hypothesis to 𝐶⁠ and 𝐾⁠.

For the second claim, 𝑅⁠ contains the polynomial ring 𝐴⁠ as a graded subspace, so 𝐻(𝑅,𝑡)−𝐻(𝐴,𝑡)⁠ has nonnegative coefficients, and 𝐻(𝐴,𝑡)=∏𝑖(1−𝑡𝑑𝑖)−1⁠ by Lemma 2.2.6 (1). Both series converge for real 0<𝑡<1⁠, since 𝐻(𝑅,𝑡)⁠ is bounded coefficientwise by 𝐻(𝐴,𝑡)⁠ times the number of module generators of each degree, and for such 𝑡⁠,

𝑃(𝑡)=𝐻(𝑅,𝑡)∏𝑖(1−𝑡𝑑𝑖)≥𝐻(𝐴,𝑡)∏𝑖(1−𝑡𝑑𝑖)=1.

A polynomial is continuous, so 𝑃(1)≥1⁠. Finally 1−𝑡𝑑=(1−𝑡)(1+𝑡+⋯+𝑡𝑑−1)⁠ with the second factor nonzero at 𝑡=1⁠, so 𝐻(𝑅,𝑡)=𝑃(𝑡)/∏𝑖(1−𝑡𝑑𝑖)⁠ has a pole of order exactly 𝑟⁠ there, and 𝑟=dim𝑅⁠ by Lemma 3.1.11.□⁠

Corollary 3.1.24 (Shape of the Molien series). Let 𝜃1,…,𝜃𝑛⁠ be an hsop of 𝑘[𝑉]𝐺⁠ with deg𝜃𝑖=𝑑𝑖⁠. Then

𝐻(𝑘[𝑉]𝐺,𝑡)=𝑃(𝑡)∏𝑖=1𝑛(1−𝑡𝑑𝑖) with 𝑃∈ℤ[𝑡] and 𝑃(1)=𝑑1⋯𝑑𝑛|𝐺|

if char𝑘=0⁠. In particular |𝐺|⁠ divides 𝑑1⋯𝑑𝑛⁠. The pole of the Molien series at 𝑡=1⁠ has order 𝑛=dim𝑘[𝑉]𝐺⁠ for every finite 𝐺⁠.

Proof. The shape and the pole order are Theorem 3.1.23 for 𝑅=𝑘[𝑉]𝐺⁠, with dim𝑘[𝑉]𝐺=𝑛⁠ by Corollary 3.1.15. For 𝑃(1)⁠, multiply by (1−𝑡)𝑛⁠ and let 𝑡→1⁠: the left side tends to 1/|𝐺|⁠ by Remark 2.2.20, the right side to 𝑃(1)/∏𝑖𝑑𝑖⁠ since (1−𝑡𝑑)/(1−𝑡)→𝑑⁠.□⁠

This answers the question left open in Remark 2.2.20: the order of the pole at 𝑡=1⁠ and the number of algebraically independent invariants in Proposition 2.1.3 (3) agree, because both equal dim𝑘[𝑉]𝐺⁠. In Section 3.2 we will see that 𝑃(𝑡)⁠ has nonnegative coefficients, and that 𝑃(1)⁠ is the number of generators of 𝑘[𝑉]𝐺⁠ as a free 𝑘[𝜃]⁠-module (Theorem 3.2.12).

Permutation groups

Let 𝐺≤𝑆𝑛⁠ act through permutation matrices, as in Example 1.2.4, so that 𝜋⋅𝑥𝑖=𝑥𝜋(𝑖)⁠. Nothing in this subsection depends on the characteristic. The invariants are built from the following sums.

Definition 3.1.25 (Orbit sum). Let 𝑚⁠ be a monomial. Each 𝜋⋅𝑚⁠ with 𝜋∈𝐺⁠ is again a monomial, so the orbit 𝐺⋅𝑚≔{𝜋⋅𝑚:𝜋∈𝐺}⁠ is a finite set of monomials. The orbit sum of 𝑚⁠ is

𝑜(𝑚)≔∑𝑚′∈𝐺⋅𝑚𝑚′.

Example 3.1.26 (Orbit sums). Let 𝑛=3⁠ and 𝑚=𝑥12𝑥2⁠. For 𝐺=𝑆3⁠ the orbit consists of the six monomials 𝑥𝑖2𝑥𝑗⁠ with 𝑖≠𝑗⁠. For the cyclic group 𝐺=⟨(1 2 3)⟩⁠ it is {𝑥12𝑥2,𝑥22𝑥3,𝑥32𝑥1}⁠, and

𝑜(𝑚)=𝑥12𝑥2+𝑥22𝑥3+𝑥32𝑥1

is the polynomial of Example 1.1.2 (3), which is invariant under ⟨(1 2 3)⟩⁠ but not symmetric. So the orbit sum depends on 𝐺⁠.

Proposition 3.1.27 (Invariants of a permutation group).
  1. (1)𝐺⁠ permutes the monomials: 𝜋⋅𝐱𝑎⁠ is the monomial with exponent 𝑎𝑖⁠ at 𝑥𝜋(𝑖)⁠.

  2. (2)The orbit sums 𝑜(𝑚)⁠ of the monomials 𝑚⁠ of degree 𝑑⁠ form a basis of 𝑘[𝑉]𝑑𝐺⁠. Hence dim𝑘[𝑉]𝑑𝐺⁠ is the number of 𝐺⁠-orbits on monomials of degree 𝑑⁠, independent of 𝑘⁠, and Molien’s formula, evaluated by Proposition 2.2.15, holds in every characteristic.

  3. (3)𝜎1,…,𝜎𝑛⁠ form an hsop of 𝑘[𝑉]𝐺⁠: they lie in 𝑘[𝑉]𝐺⁠, and 𝑘[𝑉]𝐺⁠ is a finitely generated module over 𝑘[𝜎1,…,𝜎𝑛]⁠.

Proof.
  1. (1)𝜋⋅𝐱𝑎=∏𝑖𝑥𝜋(𝑖)𝑎𝑖⁠.

  2. (2)Write 𝑓=∑𝑚𝑐𝑚𝑚⁠ over the monomials of degree 𝑑⁠. By (1), 𝜋⋅𝑓=∑𝑚𝑐𝑚 (𝜋⋅𝑚)⁠, so 𝑓⁠ is invariant exactly when 𝑐𝜋⋅𝑚=𝑐𝑚⁠ for all 𝜋⁠ and 𝑚⁠, that is, when the coefficients are constant on orbits. The orbit sums have disjoint supports, so they are linearly independent, and they span the invariants by what was just said. For the last claim, in characteristic 0⁠ the count agrees with Theorem 2.2.11, and the count does not depend on 𝑘⁠.

  3. (3)By Theorem 1.1.20 and Proposition 2.1.3 (2) for the group 𝑆𝑛⁠, 𝜎1,…,𝜎𝑛⁠ form an hsop of 𝑘[𝑉]⁠. They are 𝐺⁠-invariant since 𝐺≤𝑆𝑛⁠, so they form an hsop of 𝑘[𝑉]𝐺⁠ by Corollary 3.1.14.□⁠

The Reynolds operator, where it exists, sends a monomial 𝑚⁠ to 𝑜(𝑚)/|𝐺⋅𝑚|⁠, by the argument of Example 2.1.5 (1). So part (2) is Proposition 2.1.6 (4) without the division, and it covers the modular case.

Example 3.1.28 (The cyclic group of order four in 𝑆4⁠). Let 𝐺=⟨(1 2 3 4)⟩≤𝑆4⁠: the identity, two 4⁠-cycles and the double transposition (1 3)(2 4)⁠. By Proposition 2.2.15 they contribute (1−𝑡)−4⁠, (1−𝑡4)−1⁠ each, and (1−𝑡2)−2⁠ to Molien’s formula, so

𝐻(𝑘[𝑉]𝐺,𝑡)=14(1(1−𝑡)4+21−𝑡4+1(1−𝑡2)2)=1+𝑡2+𝑡3+2𝑡4+𝑡5(1−𝑡)(1−𝑡2)(1−𝑡3)(1−𝑡4).

In degree 2⁠ the monomials fall into three orbits, with orbit sums 𝑝2⁠, 𝑥1𝑥2+𝑥2𝑥3+𝑥3𝑥4+𝑥4𝑥1⁠ and 𝑥1𝑥3+𝑥2𝑥4⁠, matching the coefficient 3⁠ of 𝑡2⁠. King’s algorithm returns seven generators, of degrees 1,2,2,3,3,4,4⁠, all orbit sums; so 𝛽(𝐺)=4=|𝐺|⁠ here (Lemma 3.4.3).

julia> using Oscar

julia> C4 = permutation_group(4, [cperm([1, 2, 3, 4])]);

julia> IR = invariant_ring(QQ, C4);

julia> m = molien_series(IR);

julia> factor(numerator(m)), factor(denominator(m))
(t^3 + t^2 - t + 1, (t - 1)^4 * (t + 1)^2 * (t^2 + 1))

julia> foreach(println, basis(IR, 2))
x[1]^2 + x[2]^2 + x[3]^2 + x[4]^2
x[1]*x[2] + x[2]*x[3] + x[1]*x[4] + x[3]*x[4]
x[1]*x[3] + x[2]*x[4]

julia> foreach(println, fundamental_invariants(IR))
x[1] + x[2] + x[3] + x[4]
x[1]^2 + x[2]^2 + x[3]^2 + x[4]^2
x[1]*x[2] + x[2]*x[3] + x[1]*x[4] + x[3]*x[4]
x[1]^3 + x[2]^3 + x[3]^3 + x[4]^3
x[1]*x[2]^2 + x[2]*x[3]^2 + x[1]^2*x[4] + x[3]*x[4]^2
x[1]^4 + x[2]^4 + x[3]^4 + x[4]^4
x[1]*x[2]^3 + x[2]*x[3]^3 + x[1]^3*x[4] + x[3]*x[4]^3

By Proposition 3.1.27 (3), 𝜎1,…,𝜎4⁠ are an hsop for this group, so ∏𝑖=14(1−𝑡𝑖)⁠ clears the denominator of its Molien series in Corollary 3.1.24, and 𝑃(1)=24/4=6=[𝑆4:𝐺]⁠. What the coefficients of 𝑃⁠ count is explained in Section 3.2 (Corollary 3.2.15). By Theorem 3.1.23, 1,2,2,2⁠ are not the degrees of an hsop: the product 8⁠ is divisible by |𝐺|=4⁠, but the second result below is not a polynomial.

julia> t = gen(parent(m));

julia> m * (1 - t) * (1 - t^2) * (1 - t^3) * (1 - t^4)
t^5 + 2*t^4 + t^3 + t^2 + 1

julia> m * (1 - t) * (1 - t^2)^3
(t^4 + 2*t^3 + 1)//(t^2 + 1)

3.2The Cohen–Macaulay property

An hsop 𝜃1,…,𝜃𝑛⁠ makes 𝑘[𝑉]𝐺⁠ a finitely generated module over 𝑘[𝜃1,…,𝜃𝑛]⁠. The generators of a finitely generated module may satisfy relations; those of a free module do not. This section proves the theorem of Hochster and Eagon: 𝑘[𝑉]𝐺⁠ is free over 𝑘[𝜃]⁠ for every hsop 𝜃⁠. Consequently, once the degrees of an hsop are fixed, the Molien series determines the number and the degrees of the module generators, before any of them has been computed. The algorithm of Section 3.3 is based on this, and it explains the numerators of the Molien series in Section 2.2. Cohen–Macaulay rings are not treated in Commutative Algebra; see [BH98, chap. 2] for the general theory.

Free modules and regular sequences

We define free graded modules in general, because 𝑘[𝑉]⁠ and 𝑘[𝑉]𝐺⁠ will both be modules over the same polynomial ring 𝑘[𝜃]⁠. For finitely generated modules this is the notion of Commutative Algebra [Gat13, Definition 3.14], with a homogeneous basis.

Definition 3.2.1 (Free graded module). A graded module 𝑀⁠ over a graded algebra 𝐴⁠ is free if it has a basis of homogeneous elements 𝜂1,…,𝜂𝑠⁠: every 𝑚∈𝑀⁠ is uniquely of the form ∑𝑗𝜂𝑗𝑎𝑗⁠ with 𝑎𝑗∈𝐴⁠, that is, 𝑀=⨁𝑗𝜂𝑗𝐴⁠ with 𝑎↦𝜂𝑗𝑎⁠ injective. The number 𝑠⁠ is the rank of 𝑀⁠.
Example 3.2.2 (Free and not free).
  1. (1)Let 𝑛=2⁠ and 𝐴=𝑘[𝜎1,𝜎2]⁠. By Example 3.1.7, 1⁠ and 𝑥1⁠ generate 𝑘[𝑉]⁠ as an 𝐴⁠-module. They form a basis: if 𝑎+𝑏𝑥1=0⁠ with 𝑎,𝑏∈𝐴⁠, then applying the transposition 𝜏=(1 2)⁠ gives 𝑎+𝑏𝑥2=0⁠, so 𝑏(𝑥1−𝑥2)=0⁠. Hence 𝑏=0⁠, and then 𝑎=0⁠. So 𝑘[𝑉]⁠ is a free 𝐴⁠-module of rank 2⁠, with basis elements of degrees 0⁠ and 1⁠.

  2. (2)𝑀=𝑘[𝑥]/⟨𝑥2⟩⁠ is not a free 𝑘[𝑥]⁠-module: 𝑥2𝑀=0⁠, but 𝑥2𝜂≠0⁠ for every element 𝜂⁠ of a basis, since 𝑎↦𝜂𝑎⁠ is injective. This is a case of [Gat13, Example 3.15].

Let 𝜂1,…,𝜂𝑠⁠ be a homogeneous basis of 𝑀⁠. Then 𝐴+𝑀=⨁𝑗𝜂𝑗𝐴+⁠, so the images of the 𝜂𝑗⁠ form a basis of 𝑀/𝐴+𝑀⁠. Hence by Corollary 3.1.6 (3) the rank and the degrees 𝑒𝑗≔deg𝜂𝑗⁠ are determined by 𝑀⁠, and by the argument of Lemma 2.2.6 (2), 𝐻(𝑀,𝑡)=(∑𝑗𝑡𝑒𝑗)𝐻(𝐴,𝑡)⁠. In Example 3.2.2 (1) this reads 𝐻(𝑘[𝑉],𝑡)=(1+𝑡)/((1−𝑡)(1−𝑡2))=1/(1−𝑡)2⁠.

Lemma 3.2.3 (Free modules over a polynomial ring). Let 𝐴=𝑘[𝜃1,…,𝜃𝑟]⁠ be a polynomial ring with deg𝜃𝑖=𝑑𝑖≥1⁠ and 𝑀⁠ a finitely generated graded 𝐴⁠-module. The following are equivalent.

  1. (1)𝑀⁠ is free.

  2. (2)𝜃1,…,𝜃𝑟⁠ is regular on 𝑀⁠.

  3. (3)𝐻(𝑀,𝑡)=𝐻(𝑀/𝐴+𝑀,𝑡)/∏𝑖=1𝑟(1−𝑡𝑑𝑖)⁠.

If they hold, every family of homogeneous elements of 𝑀⁠ lifting a basis of 𝑀/𝐴+𝑀⁠ is a basis of 𝑀⁠.

Proof. Let 𝜂1,…,𝜂𝑠∈𝑀⁠ be homogeneous elements lifting a basis of 𝑀/𝐴+𝑀⁠, of degrees 𝑒𝑗⁠. They generate 𝑀⁠ by Corollary 3.1.6, so there is a surjection 𝜋:𝐹→𝑀⁠ from the free module 𝐹≔⨁𝑗𝜀𝑗𝐴⁠ with deg𝜀𝑗=𝑒𝑗⁠, sending 𝜀𝑗⁠ to 𝜂𝑗⁠, and 𝐻(𝐹,𝑡)=∑𝑗𝑡𝑒𝑗/∏𝑖(1−𝑡𝑑𝑖)=𝐻(𝑀/𝐴+𝑀,𝑡)/∏𝑖(1−𝑡𝑑𝑖)⁠ by Lemma 2.2.6 (1).

(3) ⇒⁠ (1). Then 𝐻(𝑀,𝑡)=𝐻(𝐹,𝑡)⁠, so in each degree 𝜋⁠ is a surjection between vector spaces of the same finite dimension, hence bijective. So 𝜋⁠ is an isomorphism and 𝜂1,…,𝜂𝑠⁠ is a basis; this also proves the final claim.

(1) ⇒⁠ (3). If 𝑀⁠ has a homogeneous basis of degrees 𝑒1′,…,𝑒𝑠′′⁠, then 𝐻(𝑀,𝑡)=∑𝑗𝑡𝑒𝑗′𝐻(𝐴,𝑡)⁠ and the images of the basis form a basis of 𝑀/𝐴+𝑀⁠, so 𝐻(𝑀/𝐴+𝑀,𝑡)=∑𝑗𝑡𝑒𝑗′⁠.

(1) ⇒⁠ (2). If 𝑀=⨁𝑗𝜂𝑗′𝐴⁠, then 𝑀/⟨𝜃1,…,𝜃𝑖−1⟩𝑀=⨁𝑗𝜂𝑗′ 𝑘[𝜃𝑖,…,𝜃𝑟]⁠, and 𝜃𝑖⁠ is a nonzerodivisor on each summand.

(2) ⇒⁠ (1). We show by induction on 𝑟⁠ that 𝜋⁠ is injective. For 𝑟=0⁠, 𝐴=𝑘⁠ and 𝑀=𝑀/𝐴+𝑀⁠. For 𝑟≥1⁠ let 𝑀¯≔𝑀/𝜃1𝑀⁠, a finitely generated graded module over 𝐴¯≔𝐴/𝜃1𝐴=𝑘[𝜃2,…,𝜃𝑟]⁠ on which 𝜃2,…,𝜃𝑟⁠ is regular by definition, with 𝑀¯/𝐴¯+𝑀¯=𝑀/𝐴+𝑀⁠. By induction 𝑀¯⁠ is free over 𝐴¯⁠ with basis the images 𝜂¯𝑗⁠. Now suppose ∑𝑗𝜂𝑗𝑎𝑗=0⁠ with 𝑎𝑗∈𝐴⁠ not all zero. Taking homogeneous components we may assume every 𝜂𝑗𝑎𝑗⁠ homogeneous of one degree 𝐷⁠, and we choose such a relation with 𝐷⁠ least. Reducing modulo 𝜃1⁠ gives ∑𝑗𝜂¯𝑗𝑎¯𝑗=0⁠, so every 𝑎¯𝑗=0⁠, that is 𝑎𝑗=𝜃1𝑎𝑗′⁠ with 𝑎𝑗′∈𝐴⁠ homogeneous. Then 𝜃1∑𝑗𝜂𝑗𝑎𝑗′=0⁠, and 𝜃1⁠ is a nonzerodivisor on 𝑀⁠, so ∑𝑗𝜂𝑗𝑎𝑗′=0⁠ is a relation of degree 𝐷−𝑑1⁠ with not all 𝑎𝑗′⁠ zero, contradicting the choice of 𝐷⁠.□⁠

Cohen–Macaulay algebras

The graded algebras that are free over every hsop have a name.

Definition 3.2.4 (Cohen–Macaulay). A graded algebra 𝑅⁠ is Cohen–Macaulay if 𝑅⁠ is a free module over 𝑘[𝜃1,…,𝜃𝑟]⁠ for every hsop 𝜃1,…,𝜃𝑟⁠ of 𝑅⁠. By Lemma 3.2.3 this says exactly that every hsop of 𝑅⁠ is a regular sequence.

Example 3.2.5 (Two one-dimensional algebras). Let 𝐴≔𝑘[𝑥,𝑦]/⟨𝑥𝑦⟩⁠ as in Example 3.1.17 and 𝐵≔𝑘[𝑥,𝑦]/⟨𝑥2𝑦,𝑥𝑦2⟩⁠, both graded by deg𝑥=deg𝑦=1⁠.

𝐴⁠ is Cohen–Macaulay. Since dim𝐴=1⁠, an hsop of 𝐴⁠ consists of one element 𝜃⁠ by Lemma 3.1.11, homogeneous of some degree 𝑑≥1⁠, so 𝜃=𝑎𝑥𝑑+𝑏𝑦𝑑⁠ with 𝑎,𝑏∈𝑘⁠. If 𝑏=0⁠, then 𝐴/⟨𝜃⟩⁠ maps onto 𝐴/⟨𝑥⟩≅𝑘[𝑦]⁠, so 𝜃⁠ is not an hsop by Proposition 3.1.8; likewise if 𝑎=0⁠. If 𝑎,𝑏≠0⁠, then 𝜃⁠ is a nonzerodivisor on 𝐴⁠ by the argument of Example 3.1.20 (2), since neither 𝑥⁠ nor 𝑦⁠ divides 𝜃⁠. So every hsop of 𝐴⁠ is a regular sequence. For 𝜃=𝑥+𝑦⁠, Lemma 3.2.3 lifts the basis 1,𝑥⁠ of 𝐴/⟨𝜃⟩≅𝑘[𝑥]/⟨𝑥2⟩⁠ to a basis of 𝐴⁠ over 𝑘[𝜃]⁠: 𝐴=𝑘[𝜃]⊕𝑥 𝑘[𝜃]⁠, and 𝐻(𝐴,𝑡)=(1+𝑡)/(1−𝑡)⁠.

𝐵⁠ is not Cohen–Macaulay. The element 𝜃=𝑥+𝑦⁠ is an hsop of 𝐵⁠: 𝑥3=𝑥2𝜃⁠ and 𝑦3=𝑦2𝜃⁠ in 𝐵⁠, so the monomials of degree at most 2⁠ generate 𝐵⁠ as a 𝑘[𝜃]⁠-module, and 𝜃𝑑≠0⁠ in 𝐵⁠ for all 𝑑⁠ (for 𝑑≥3⁠, 𝜃𝑑=𝑥𝑑+𝑦𝑑⁠), so 𝜃⁠ is algebraically independent as in Example 3.1.17. But every homogeneous element of positive degree lies in ⟨𝑥,𝑦⟩⁠ and so annihilates 𝑥𝑦≠0⁠. So no homogeneous element of positive degree is a nonzerodivisor on 𝐵⁠, and no hsop of 𝐵⁠ is regular. The Hilbert series shows this too. 𝐵⁠ has the basis 1⁠, 𝑥𝑦⁠, and 𝑥𝑎,𝑦𝑎⁠ for 𝑎≥1⁠, so

𝐻(𝐵,𝑡)=1+2𝑡+3𝑡2+2𝑡3+2𝑡4+⋯=1+𝑡+𝑡2−𝑡31−𝑡,

and if 𝐵⁠ were free over 𝑘[𝜃]⁠, the numerator would have nonnegative coefficients by Lemma 3.2.3 (3).

OSCAR’s is_cohen_macaulay decides the property for a quotient of a polynomial ring whose variables all have degree 1⁠, and is_regular_sequence tests a sequence.

Remark 3.2.6 (Depth). The largest length of a regular sequence of homogeneous elements of 𝑅+⁠ is the depth of 𝑅⁠. It is at most dim𝑅⁠, with equality exactly for Cohen–Macaulay algebras; see [BH98, sec. 1.2 and §2.1]. In Example 3.2.5, 𝐴⁠ has depth 1⁠ and 𝐵⁠ has depth 0⁠. We do not need depth below.

For 𝐴⁠ in Example 3.2.5 we could check every hsop by hand. In general there are infinitely many hsops, and the following theorem shows that it suffices to check one.

Theorem 3.2.7 (One hsop suffices). Let 𝑅⁠ be a graded algebra over an infinite field. If 𝑅⁠ is a free module over 𝑘[𝜃1,…,𝜃𝑟]⁠ for one hsop 𝜃1,…,𝜃𝑟⁠, then 𝑅⁠ is Cohen–Macaulay. In particular the polynomial ring 𝑘[𝑉]⁠ is Cohen–Macaulay, being free of rank 1⁠ over 𝑘[𝑥1,…,𝑥𝑛]⁠.

The proof is omitted. Stanley’s elementary argument, an induction on dim𝑅⁠ exchanging one parameter of a given hsop at a time for one of an hsop that is a regular sequence, is in [Stu08, Theorem 2.3.1]; the general theory, through local rings and depth, is in [BH98, sec. 2.1].

The theorem of Hochster and Eagon

The main theorem of this section follows from Theorem 3.2.7 for the polynomial ring 𝑘[𝑉]⁠ and the Reynolds operator.

Theorem 3.2.8 (Hochster–Eagon). In the non-modular case 𝑘[𝑉]𝐺⁠ is Cohen–Macaulay: for every hsop 𝜃1,…,𝜃𝑛⁠ of 𝑘[𝑉]𝐺⁠, the invariant ring is a free module of finite rank over 𝑘[𝜃1,…,𝜃𝑛]⁠.

Proof. Let 𝜃1,…,𝜃𝑛⁠ be an hsop of 𝑘[𝑉]𝐺⁠. By Corollary 3.1.14 it is an hsop of 𝑘[𝑉]⁠, hence a regular sequence on 𝑘[𝑉]⁠ by Theorem 3.2.7 and Lemma 3.2.3. We show it is regular on 𝑘[𝑉]𝐺⁠. Suppose 𝑔𝑖𝜃𝑖=𝑔1𝜃1+⋯+𝑔𝑖−1𝜃𝑖−1⁠ with 𝑔1,…,𝑔𝑖∈𝑘[𝑉]𝐺⁠. Regularity on 𝑘[𝑉]⁠ gives 𝑔𝑖=ℎ1𝜃1+⋯+ℎ𝑖−1𝜃𝑖−1⁠ with ℎ𝑗∈𝑘[𝑉]⁠. Apply the Reynolds operator, using Proposition 2.1.6 (2) and (3):

𝑔𝑖=ℛ︀(𝑔𝑖)=ℛ︀(ℎ1) 𝜃1+⋯+ℛ︀(ℎ𝑖−1) 𝜃𝑖−1∈⟨𝜃1,…,𝜃𝑖−1⟩ 𝑘[𝑉]𝐺.

So 𝜃1,…,𝜃𝑛⁠ is regular on 𝑘[𝑉]𝐺⁠, which is a finitely generated module over 𝑘[𝜃]⁠ by Definition 3.1.9, hence free by Lemma 3.2.3.□⁠

The theorem is from [HE71]; the argument above is the one in [DK15, Theorem 3.6.1]. In module language, ℛ︀⁠ is a 𝑘[𝜃]⁠-linear retraction, so 𝑘[𝑉]𝐺⁠ is a direct summand of the free module 𝑘[𝑉]⁠, and a regular sequence on a module is regular on each direct summand. Hochster and Roberts extended the theorem to all linearly reductive groups [HR74], the setting of Part II (Chapter 4).

Remark 3.2.9 (The modular case). Without the Reynolds operator the theorem fails. Let 𝑝≔char𝑘>0⁠ and let 𝐺=⟨𝑔⟩⁠ be cyclic of order 𝑝⁠, acting on 𝑘[𝑥1,𝑥2,𝑥3,𝑦1,𝑦2,𝑦3]⁠ by 𝑔⋅𝑥𝑖=𝑥𝑖⁠ and 𝑔⋅𝑦𝑖=𝑦𝑖+𝑥𝑖⁠. The 𝑥𝑖⁠ and the 2×2⁠ minors 𝑢𝑖𝑗≔𝑥𝑖𝑦𝑗−𝑥𝑗𝑦𝑖⁠ are invariant, and so are the orbit products 𝑁𝑖≔∏𝑐=0𝑝−1(𝑦𝑖+𝑐𝑥𝑖)=𝑦𝑖𝑝−𝑥𝑖𝑝−1𝑦𝑖⁠. The six invariants 𝑥1,𝑥2,𝑥3,𝑁1,𝑁2,𝑁3⁠ have no common zero but 0⁠, so they form an hsop of 𝑘[𝑉]𝐺⁠ by Corollary 3.1.14. But 𝑥1,𝑥2,𝑥3⁠ is not a regular sequence on 𝑘[𝑉]𝐺⁠. The matrix with rows (𝑥1,𝑥2,𝑥3)⁠, (𝑥1,𝑥2,𝑥3)⁠, (𝑦1,𝑦2,𝑦3)⁠ has determinant 0⁠, and expanding it along the first row gives

𝑢23 𝑥1−𝑢13 𝑥2+𝑢12 𝑥3=0.

So 𝑢12𝑥3∈⟨𝑥1,𝑥2⟩𝑘[𝑉]𝐺⁠, while 𝑢12∉⟨𝑥1,𝑥2⟩𝑘[𝑉]𝐺⁠: the invariant linear forms are the linear combinations of 𝑥1,𝑥2,𝑥3⁠, so the degree-2⁠ part of ⟨𝑥1,𝑥2⟩𝑘[𝑉]𝐺⁠ lies in 𝑘[𝑥1,𝑥2,𝑥3]⁠, and 𝑢12⁠ does not. So 𝑘[𝑉]𝐺⁠ is not Cohen–Macaulay. This is [DK15, Example 3.6.3]; for 𝑝=2⁠ it is the group of Remark 2.1.14 in other coordinates. Kemper [DK15, sec. 3.6] showed that every modular group has a representation with non-Cohen–Macaulay invariant ring, so nothing in the rest of this chapter extends to the modular case without change.

The Hironaka decomposition

In invariant theory the free module structure of Theorem 3.2.8 and its two kinds of generators have names of their own.

Definition 3.2.10 (Primary and secondary invariants). Let 𝜃1,…,𝜃𝑛⁠ be an hsop of 𝑘[𝑉]𝐺⁠ and 𝜂1,…,𝜂𝑠⁠ a homogeneous basis of 𝑘[𝑉]𝐺⁠ over 𝑘[𝜃1,…,𝜃𝑛]⁠, which exists by Theorem 3.2.8. The decomposition

𝑘[𝑉]𝐺=⨁𝑗=1𝑠𝜂𝑗 𝑘[𝜃1,…,𝜃𝑛]

(3.1)

is a Hironaka decomposition of 𝑘[𝑉]𝐺⁠; the 𝜃𝑖⁠ are primary invariants and the 𝜂𝑗⁠ secondary invariants. We write 𝑑𝑖≔deg𝜃𝑖⁠ and 𝑒𝑗≔deg𝜂𝑗⁠, and always take 𝜂1=1⁠, which is possible since 1∉⟨𝜃⟩𝑘[𝑉]𝐺⁠.

Every invariant is then uniquely of the form 𝑓=∑𝑗𝜂𝑗 𝑝𝑗(𝜃1,…,𝜃𝑛)⁠ with 𝑝𝑗∈𝑘[𝑦1,…,𝑦𝑛]⁠. In particular the primary and secondary invariants together generate 𝑘[𝑉]𝐺⁠ as a 𝑘⁠-algebra.

Example 3.2.11 (Hironaka decompositions).

  1. (1)For the cyclic group 𝐺⁠ of order 𝑚⁠ of Example 1.2.9, Example 2.2.8 shows that 𝑘[𝑉]𝐺=⨁𝑐=0𝑚−1𝑢𝑐 𝑘[𝑣,𝑤]⁠ with 𝑢=𝑥1𝑥2⁠, 𝑣=𝑥1𝑚⁠ and 𝑤=𝑥2𝑚⁠. This is a Hironaka decomposition with primary invariants 𝑣,𝑤⁠ and secondary invariants 1,𝑢,…,𝑢𝑚−1⁠.

  2. (2)For the trivial group acting on 𝑘1⁠, both 𝑘[𝑥]=𝑘[𝑥2]⊕𝑥 𝑘[𝑥2]⁠ and 𝑘[𝑥]=𝑘[𝑥3]⊕𝑥 𝑘[𝑥3]⊕𝑥2 𝑘[𝑥3]⁠ are Hironaka decompositions. So neither the primary nor the secondary invariants are unique, and neither are their degrees or the number of secondary invariants.

Once the primary invariants are chosen, however, the number and the degrees of the secondary invariants are determined.

Theorem 3.2.12 (Secondary invariants from the Molien series). Let char𝑘=0⁠, let 𝜃1,…,𝜃𝑛⁠ be primary invariants of degrees 𝑑1,…,𝑑𝑛⁠, and let 𝜂1,…,𝜂𝑠⁠ be secondary invariants with respect to them, of degrees 𝑒1=0,𝑒2,…,𝑒𝑠⁠.

  1. (1)

    𝐻(𝑘[𝑉]𝐺,𝑡)=𝑡𝑒1+𝑡𝑒2+⋯+𝑡𝑒𝑠∏𝑖=1𝑛(1−𝑡𝑑𝑖).

    (3.2)

  2. (2)The number 𝑠⁠ and the degrees 𝑒𝑗⁠ are determined by 𝑑1,…,𝑑𝑛⁠: the numerator ∑𝑗𝑡𝑒𝑗⁠ is 𝐻(𝑘[𝑉]𝐺,𝑡)∏𝑖(1−𝑡𝑑𝑖)⁠, and

    𝑠=𝑑1𝑑2⋯𝑑𝑛|𝐺|.
  3. (3)𝑒𝑗≤∑𝑖=1𝑛(𝑑𝑖−1)⁠ for every 𝑗⁠.

Proof.
  1. (1)Lemma 2.2.6 (2) applied to Equation 3.1, with 𝐻(𝑘[𝜃],𝑡)=∏𝑖(1−𝑡𝑑𝑖)−1⁠ from Lemma 2.2.6 (1).

  2. (2)The first claim is (1) multiplied out. Putting 𝑡=1⁠ in the numerator gives 𝑠⁠, and 𝑃(1)=𝑑1⋯𝑑𝑛/|𝐺|⁠ by Corollary 3.1.24.

  3. (3)The degree of a rational function is the degree of its numerator minus that of its denominator; it is additive under products and at most the maximum under sums. In Molien’s formula Equation 2.3 every summand 1/det(𝐼−𝑡𝑔)⁠ has degree −𝑛⁠, so 𝐻(𝑘[𝑉]𝐺,𝑡)⁠ has degree at most −𝑛⁠, and ∑𝑗𝑡𝑒𝑗=𝐻(𝑘[𝑉]𝐺,𝑡)∏𝑖(1−𝑡𝑑𝑖)⁠ has degree at most ∑𝑖𝑑𝑖−𝑛⁠.□⁠

So the polynomial 𝑃(𝑡)⁠ of Corollary 3.1.24 has nonnegative coefficients, and the coefficient of 𝑡𝑒⁠ is the number of secondary invariants of degree 𝑒⁠. In Example 3.2.11 (1) the numerator is 1+𝑡2+⋯+𝑡2(𝑚−1)⁠, as in Equation 2.2, and 𝑠=𝑚⋅𝑚/𝑚⁠. In non-modular positive characteristic all three parts hold with Molien’s formula taken in the sense of Remark 2.2.13.

Recognising secondary invariants needs a test for linear independence modulo ⟨𝜃⟩𝑘[𝑉]𝐺⁠, an ideal of a ring we do not yet know. The Reynolds operator moves the test into 𝑘[𝑉]⁠.

Proposition 3.2.13 (Secondary invariants modulo the primary ones). Assume the non-modular case, let 𝜃1,…,𝜃𝑛⁠ be primary invariants, and let 𝐼≔⟨𝜃1,…,𝜃𝑛⟩⊴𝑘[𝑉]⁠ be the ideal they generate in the polynomial ring. Then 𝐼∩𝑘[𝑉]𝐺=⟨𝜃1,…,𝜃𝑛⟩𝑘[𝑉]𝐺⁠, so the natural map 𝑘[𝑉]𝐺/⟨𝜃⟩𝑘[𝑉]𝐺→𝑘[𝑉]/𝐼⁠ is injective. Homogeneous invariants 𝜂1,…,𝜂𝑠⁠ are secondary invariants with respect to 𝜃⁠ if and only if their residues modulo 𝐼⁠ form a basis of the image of 𝑘[𝑉]𝐺⁠ in 𝑘[𝑉]/𝐼⁠; in characteristic 0⁠, if and only if their residues modulo 𝐼⁠ are linearly independent and 𝑠=𝑑1⋯𝑑𝑛/|𝐺|⁠.
Proof. If 𝑓=∑𝑖ℎ𝑖𝜃𝑖∈𝑘[𝑉]𝐺⁠ with ℎ𝑖∈𝑘[𝑉]⁠, then 𝑓=ℛ︀(𝑓)=∑𝑖ℛ︀(ℎ𝑖)𝜃𝑖⁠ lies in ⟨𝜃⟩𝑘[𝑉]𝐺⁠, by Proposition 2.1.6 (2) and (3); the other inclusion is clear. By Lemma 3.2.3, homogeneous invariants form a basis of 𝑘[𝑉]𝐺⁠ over 𝑘[𝜃]⁠ if and only if their residues form a basis of 𝑘[𝑉]𝐺/⟨𝜃⟩𝑘[𝑉]𝐺⁠, which the injection identifies with the image in 𝑘[𝑉]/𝐼⁠. That quotient has dimension 𝑠=𝑑1⋯𝑑𝑛/|𝐺|⁠ by Theorem 3.2.12 (2), so in characteristic 0⁠ a linearly independent family of that size is a basis.□⁠

The argument is that of Lemma 2.3.3 with ⟨𝜃⟩⁠ in place of ⟨𝑆⟩⁠, and it uses the Reynolds operator in the same way as the proof of Theorem 3.2.8.

Examples

We return to the examples of Chapter 1 and Chapter 2.

Example 3.2.14 (The alternating group). By Theorem 1.1.20, Proposition 1.1.31 is a Hironaka decomposition: 𝜃𝑖=𝜎𝑖⁠ of degrees 1,…,𝑛⁠, and 𝜂1=1⁠, 𝜂2=Δ⁠. The count is right, 𝑠=𝑛!/|𝐴𝑛|=2⁠, and so is the degree, 𝑒2=(𝑛2)=∑𝑖(𝑖−1)⁠: the bound of Theorem 3.2.12 (3) is attained. The series (1+𝑡(𝑛2))/∏𝑖(1−𝑡𝑖)⁠ of Corollary 2.2.7 is Equation 3.2.
Corollary 3.2.15 (Permutation groups). Let 𝐺≤𝑆𝑛⁠ act by permutation matrices, in the non-modular case. Then 𝜎1,…,𝜎𝑛⁠ are primary invariants for 𝐺⁠, there are 𝑠=[𝑆𝑛:𝐺]⁠ secondary invariants with respect to them, their degrees are the exponents of 𝐻(𝑘[𝑉]𝐺,𝑡)∏𝑖=1𝑛(1−𝑡𝑖)⁠, counted with multiplicity, all at most (𝑛2)⁠, and they can be chosen among the orbit sums of monomials.
Proof. 𝜎1,…,𝜎𝑛⁠ are algebraically independent (Theorem 1.1.20) and 𝑘[𝑉]𝐺⁠ is finitely generated over 𝑘[𝜎]⁠ (Proposition 3.1.27 (3)), so they form an hsop, with 𝑑1⋯𝑑𝑛=𝑛!⁠. The count and the degrees are Theorem 3.2.12, whose characteristic-0⁠ hypothesis can be dropped here because the Molien series of a permutation group is the same in every characteristic (Proposition 3.1.27 (2)). The orbit sums of degree 𝑒⁠ span 𝑘[𝑉]𝑒𝐺⁠, so by Proposition 3.2.13 a basis of the image modulo ⟨𝜎⟩⁠ can be selected among them.□⁠

For the cyclic group of Example 3.1.28 the numerator is 1+𝑡2+𝑡3+2𝑡4+𝑡5⁠. So there are six secondary invariants with respect to 𝜎1,…,𝜎4⁠, one each of degrees 0,2,3,5⁠ and two of degree 4⁠. This answers the question left open after Example 3.1.28: the coefficients of the numerator count secondary invariants, and their sum is 6=[𝑆4:𝐺]⁠.

Example 3.2.16 (The cyclic group). For the cyclic group 𝐺⁠ of order 𝑚⁠ of Example 1.2.9, with 𝑢=𝑥1𝑥2⁠, 𝑣=𝑥1𝑚⁠, 𝑤=𝑥2𝑚⁠, take 𝜃1≔𝑢⁠ and 𝜃2≔𝑣+𝑤⁠, the generators of 𝑘[𝑉]𝐷𝑚⁠ from Example 1.2.10. Their only common zero is 0⁠, so they are primary invariants by Corollary 3.1.14, of degrees 2⁠ and 𝑚⁠, and 𝑠=2𝑚/𝑚=2⁠. Multiplying Equation 2.2 by (1−𝑡2)(1−𝑡𝑚)⁠ gives the numerator 1+𝑡𝑚⁠, so the second secondary invariant has degree 𝑚⁠; 𝜂2≔𝑤⁠ will do, since 𝑤∉⟨𝑢,𝑣+𝑤⟩𝑘[𝑉]⁠: the degree-𝑚⁠ part of that ideal is 𝑢 𝑘[𝑉]𝑚−2+𝑘⋅(𝑣+𝑤)⁠, and 𝑥2𝑚⁠ is not of that form. Hence

𝑘[𝑉]𝐺=𝑘[𝑢, 𝑣+𝑤]⊕𝑤 𝑘[𝑢, 𝑣+𝑤], 𝑤2=(𝑣+𝑤) 𝑤−𝑢𝑚,

where the second equation is 𝑣𝑤=𝑢𝑚⁠ rewritten: it expresses the product of two secondary invariants in the decomposition. With the primary invariants 𝑣,𝑤⁠ of Example 3.2.11 (1) there are 𝑚⁠ secondary invariants; here the product of the degrees is 2𝑚⁠ instead of 𝑚2⁠, and there are only two. The dihedral group 𝐷𝑚⊇𝐺⁠ of Example 1.2.10 has 𝑘[𝑉]𝐷𝑚=𝑘[𝑢,𝑣+𝑤]⁠, a polynomial ring with 𝑠=1⁠; the subgroup 𝐺⁠ of index 2⁠ needs one more secondary invariant. If char𝑘≠2⁠, one can take 𝜂2≔𝑣−𝑤⁠ instead of 𝑤⁠, since 𝑣−𝑤≡−2𝑤⁠ modulo ⟨𝑢,𝑣+𝑤⟩⁠; this invariant is negated by the reflection 𝑟⁠ of Example 1.2.10.

Example 3.2.17 (The dihedral group of Example 2.3.20). There |𝐺|=12⁠ and 𝐻(𝑘[𝑉]𝐺,𝑡)=(1+𝑡7)/((1−𝑡2)2(1−𝑡6))⁠. The invariants 𝑃2=𝑥2+𝑦2⁠, 𝑄2=𝑧2⁠ and 𝑃6=𝑥2(𝑥2−3𝑦2)2⁠ have only the common zero 0⁠: 𝑧=0⁠ and 𝑥2=−𝑦2⁠ turn 𝑃6⁠ into 16𝑥6⁠. So they are primary invariants, with 𝑑1𝑑2𝑑3/|𝐺|=24/12=2⁠, and the numerator 1+𝑡7⁠ says that 𝜂2⁠ has degree 7⁠. The single invariant 𝑃7⁠ of that degree is not in ⟨𝑃2,𝑄2,𝑃6⟩𝑘[𝑉]𝐺⁠, whose degree-7⁠ part is 𝑃2 𝑘[𝑉]5𝐺+𝑄2 𝑘[𝑉]5𝐺+𝑃6 𝑘[𝑉]1𝐺=0⁠, there being no invariants of degrees 1⁠ and 5⁠. Hence

𝑘[𝑉]𝐺=𝑘[𝑃2,𝑄2,𝑃6]⊕𝑃7 𝑘[𝑃2,𝑄2,𝑃6].

This explains why 𝑃72⁠ is a polynomial in 𝑃2,𝑄2,𝑃6⁠, as the relation 𝑃72=𝑄2𝑃6(𝑃23−𝑃6)⁠ found there by elimination says. Indeed 𝑃72⁠ has degree 14⁠, so the decomposition gives 𝑃72=𝑎+𝑃7 𝑏⁠ with 𝑎,𝑏∈𝑘[𝑃2,𝑄2,𝑃6]⁠ homogeneous of degrees 14⁠ and 7⁠. Since 𝑃2,𝑄2,𝑃6⁠ have even degrees, 𝑏=0⁠.

OSCAR’s primary_invariants and secondary_invariants return a Hironaka decomposition. For the cyclic group of Example 3.1.28 it chooses primary invariants of degrees 1,2,2,4⁠ rather than 1,2,3,4⁠: the product drops from 24⁠ to 16⁠, so four secondary invariants suffice instead of six, with degrees given by the numerator 1+2𝑡3+𝑡4⁠ computed below. For Example 2.3.20 it returns the decomposition above, with 𝜂2=𝑃7/3⁠.

julia> foreach(println, primary_invariants(IR))
x[1] + x[2] + x[3] + x[4]
x[1]^2 + x[2]^2 + x[3]^2 + x[4]^2
x[1]*x[2] + x[2]*x[3] + x[1]*x[4] + x[3]*x[4]
x[1]^4 + x[2]^4 + x[3]^4 + x[4]^4

julia> foreach(println, secondary_invariants(IR))
1
x[1]^2*x[3] + x[1]*x[3]^2 + x[2]^2*x[4] + x[2]*x[4]^2
x[1]^2*x[2] + x[2]^2*x[3] + x[3]^2*x[4] + x[1]*x[4]^2
x[1]*x[2]^3 + x[2]*x[3]^3 + x[1]^3*x[4] + x[3]*x[4]^3

julia> m * (1 - t) * (1 - t^2)^2 * (1 - t^4)
t^4 + 2*t^3 + 1

julia> K, s = quadratic_field(3);   # s is a square root of 3

julia> δ = matrix(K, [1//2 -s//2 0; s//2 1//2 0; 0 0 1]);

julia> ρ = matrix(K, [1 0 0; 0 -1 0; 0 0 -1]);

julia> IR6 = invariant_ring(matrix_group(δ, ρ));

julia> foreach(println, primary_invariants(IR6))
x[1]^2 + x[2]^2
x[3]^2
x[1]^6 - 6*x[1]^4*x[2]^2 + 9*x[1]^2*x[2]^4

julia> foreach(println, secondary_invariants(IR6))
1
x[1]^5*x[2]*x[3] - 10//3*x[1]^3*x[2]^3*x[3] + x[1]*x[2]^5*x[3]

3.3Computing primary and secondary invariants

Remark 2.3.21 promised a two-stage construction of generators: first a polynomial subalgebra over which 𝑘[𝑉]𝐺⁠ is a finitely generated module, then module generators. Section 3.2 says what the stages produce, an hsop and a basis whose number and degrees are known in advance. This section makes both computable. Primary invariants are found by a search steered by the Molien series and certified by a Gröbner basis; secondary invariants are then linear algebra modulo the same Gröbner basis. The algorithms are those of [Stu08, sec. 2.5] and [DK15, sec. 3.5 and §3.7], with Kemper’s refinements [Kem99].

Recognising primary invariants

By Corollary 3.1.14, 𝑛⁠ homogeneous invariants are primary invariants exactly when 𝑘[𝑉]⁠ modulo the ideal they generate is finite-dimensional. A Gröbner basis of that ideal decides this.

Proposition 3.3.1 (Zero-dimensionality test). Let 𝐼⊴𝑘[𝑉]⁠ be a homogeneous ideal and 𝒢︀⁠ a Gröbner basis of 𝐼⁠ for any monomial order. Then dim𝑘𝑘[𝑉]/𝐼<∞⁠ if and only if for every 𝑖⁠ some power 𝑥𝑖𝑎𝑖⁠ is the leading monomial of an element of 𝒢︀⁠. In that case dim𝑘𝑘[𝑉]/𝐼⁠ is the number of standard monomials.
Proof. By Proposition 2.3.18 the standard monomials form a basis of 𝑘[𝑉]/𝐼⁠. If every 𝑥𝑖𝑎𝑖⁠ is a leading monomial, every standard monomial has all exponents below max𝑖𝑎𝑖⁠, so there are finitely many. Conversely, if 𝑘[𝑉]/𝐼⁠ is finite-dimensional, the powers 1,𝑥𝑖,𝑥𝑖2,…⁠ are linearly dependent modulo 𝐼⁠, and since 𝐼⁠ is homogeneous each homogeneous component of the dependence lies in 𝐼⁠, so 𝑥𝑖𝑁∈𝐼⁠ for some 𝑁⁠. Then 𝑥𝑖𝑁∈𝐿(𝐼)⁠ is divisible by the leading monomial of some 𝑔∈𝒢︀⁠, which is therefore a power of 𝑥𝑖⁠.□⁠

In OSCAR, dim(I) returns the Krull dimension of 𝑘[𝑉]/𝐼⁠, which is 0⁠ exactly in this case by Remark 3.1.4 (3), and leading_ideal(I) shows the pure powers.

Finding primary invariants

The simplest strategy collects invariants degree by degree until their common zero set has shrunk to the origin, then thins them out to 𝑛⁠ elements. Two Gröbner basis tests from [CLO15, sec. 4.2] do the bookkeeping: 𝑓⁠ lies in the radical of an ideal ⟨𝑄⟩⁠ if and only if 1∈⟨𝑄,1−𝑧𝑓⟩⊴𝑘[𝑉][𝑧]⁠ with a new variable 𝑧⁠, and the common zero set of 𝑄⁠ is {0}⁠ if and only if Proposition 3.3.1 applies to ⟨𝑄⟩⁠.

Algorithm 3.3.2 (Primary invariants by degree). Input: the Reynolds operator of 𝐺⁠, in the non-modular case, and the Molien series.

Output: primary invariants 𝜃1,…,𝜃𝑛⁠.

  1. 𝑄≔∅⁠ and 𝑑≔0⁠.
  2. Repeat until the only common zero of 𝑄⁠ is 0⁠: put 𝑑≔𝑑+1⁠; if dim𝑘𝑘[𝑉]𝑑𝐺>0⁠, run through a basis of 𝑘[𝑉]𝑑𝐺⁠ and adjoin to 𝑄⁠ every element that does not lie in the radical of ⟨𝑄⟩⁠.
  3. If |𝑄|=𝑛⁠, return 𝑄⁠. Otherwise let 𝑒⁠ be the least common multiple of the degrees of the elements of 𝑄⁠, replace each 𝑞∈𝑄⁠ by 𝑞𝑒/deg𝑞⁠, choose 𝑛⁠ random 𝑘⁠-linear combinations 𝜃1,…,𝜃𝑛⁠ of the elements of 𝑄⁠, and return them if their only common zero is 0⁠; otherwise choose again.
Proposition 3.3.3 (Correctness). Algorithm 3.3.2 returns primary invariants of 𝐺⁠. Step 1 ends in degree |𝐺|⁠ at the latest, and a random choice in step 2 fails with probability tending to 0⁠ as the coefficients are drawn from larger finite subsets of 𝑘⁠.

Proof. After the pass through degree 𝑑⁠ the radical of ⟨𝑄⟩⁠ contains every element of the basis of 𝑘[𝑉]𝑑𝐺⁠, hence 𝑘[𝑉]𝑑𝐺⁠ itself, since a radical is an ideal; later additions to 𝑄⁠ only enlarge it. By Proposition 2.3.5 the Hilbert ideal 𝔥⁠ is generated by invariants of degree at most |𝐺|⁠, so after that degree the radical of ⟨𝑄⟩⁠ contains 𝔥⁠. Now 𝔥⁠ contains an hsop of 𝑘[𝑉]𝐺⁠, which exists by Corollary 3.1.18 and has no common zero but 0⁠ by Corollary 3.1.14; so the common zeros of 𝑄⁠ are those of 𝔥⁠, namely 0⁠ alone, and step 1 ends.

In step 2 the powers have the same zero set as 𝑄⁠, so by the proof of (3) ⇒⁠ (2) in Proposition 3.1.12 and Proposition 3.1.8, 𝑘[𝑉]⁠ is a finitely generated module over 𝑅′≔𝑘[𝑞𝑒/deg𝑞:𝑞∈𝑄]⁠, a graded algebra generated in degree 𝑒⁠ with dim𝑅′=𝑛⁠ by Remark 3.1.4 (1). By Theorem 3.1.16 and Lemma 3.1.11 some linear combinations 𝜃1,…,𝜃𝑛⁠ of its generators form an hsop of 𝑅′⁠, so 𝑘[𝑉]⁠ is finitely generated over 𝑘[𝜃]⁠, and 𝜃⁠ is an hsop of 𝑘[𝑉]⁠, hence of 𝑘[𝑉]𝐺⁠ by Corollary 3.1.14. The coefficient matrices that yield an hsop form the complement of the zero set of a nonzero polynomial in the 𝑛|𝑄|⁠ coefficients by [Kem99, Proposition 1], and a nonzero polynomial vanishes at a small fraction of the points of a large finite grid.□⁠

Step 2 is where the degrees get large: every 𝜃𝑖⁠ has degree 𝑒⁠, and 𝑒⁠ may exceed |𝐺|⁠. Dade’s construction avoids the search and keeps the degrees divisors of |𝐺|⁠, at the price of a large product.

Proposition 3.3.4 (Dade’s construction). Choose linear forms ℓ1,…,ℓ𝑛∈𝑘[𝑉]1⁠ one after the other such that ℓ𝑖⁠ lies outside every subspace spanned by 𝑔1⋅ℓ1,…,𝑔𝑖−1⋅ℓ𝑖−1⁠ with 𝑔1,…,𝑔𝑖−1∈𝐺⁠; this is possible because 𝑘⁠ is infinite and there are finitely many such subspaces, all proper. Then

𝜃𝑖≔∏ℓ∈𝐺⋅ℓ𝑖ℓ (𝑖=1,…,𝑛)

are primary invariants of 𝐺⁠, and deg𝜃𝑖=|𝐺⋅ℓ𝑖|⁠ divides |𝐺|⁠.

Proof. Each 𝑔∈𝐺⁠ permutes the orbit 𝐺⋅ℓ𝑖⁠, and 𝑓↦𝑔⋅𝑓⁠ is a ring homomorphism, so 𝜃𝑖⁠ is invariant. Its degree is the size of the orbit, which divides |𝐺|⁠ by the orbit equation [Gat10, Satz 7.17 (a)]. Let 𝑣⁠ be a common zero of 𝜃1,…,𝜃𝑛⁠ over 𝑘¯⁠. Each 𝜃𝑖⁠ is a product of linear forms, so (𝑔𝑖⋅ℓ𝑖)(𝑣)=0⁠ for some 𝑔𝑖∈𝐺⁠. The forms 𝑔1⋅ℓ1,…,𝑔𝑛⋅ℓ𝑛⁠ are linearly independent: if 𝑔𝑖⋅ℓ𝑖⁠ were in the span of the earlier ones, applying 𝑔𝑖−1⁠ would put ℓ𝑖⁠ into one of the excluded subspaces. So all elements of a basis of 𝑘[𝑉]1⁠ vanish at 𝑣⁠, and 𝑣=0⁠. Apply Corollary 3.1.14.□⁠

For 𝑆3⁠ the forms 𝑥1⁠, 𝑥1+𝑥2⁠ and 𝑥1+2𝑥2+4𝑥3⁠ have orbits of sizes 3,3,6⁠. So Dade’s construction gives primary invariants of degrees 3,3,6⁠, with product 54⁠ and 54/6=9⁠ secondary invariants, where 𝜎1,𝜎2,𝜎3⁠ need only one. This is typical, as [DK15, sec. 3.5.1] observes: the construction is cheap, but the large product of the degrees makes the computation of secondary invariants expensive.

Remark 3.3.5 (Optimal primary invariants). Since 𝑠=𝑑1⋯𝑑𝑛/|𝐺|⁠ secondary invariants have to be found and stored, the quantity to minimise is the product of the degrees. Three conditions on a degree vector 𝑑1≤⋯≤𝑑𝑛⁠ are necessary for primary invariants of those degrees to exist: |𝐺|⁠ divides 𝑑1⋯𝑑𝑛⁠ (Corollary 3.1.24); 𝐻(𝑘[𝑉]𝐺,𝑡)∏𝑖(1−𝑡𝑑𝑖)⁠ is a polynomial with nonnegative coefficients (Theorem 3.2.12); and dim𝑘𝑘[𝑉]𝑑𝐺⁠ is at least the number of 𝑖⁠ with 𝑑𝑖=𝑑⁠, since algebraically independent elements are linearly independent. For the group of Example 3.1.28, with dim𝑘𝑘[𝑉]1𝐺=1⁠ and dim𝑘𝑘[𝑉]2𝐺=3⁠, the third condition rules out (1,1,∗,∗)⁠ and (2,2,2,2)⁠. The second rules out (1,2,2,2)⁠, by the computation at the end of Section 3.1, and in the same way (1,2,2,3)⁠. So (1,2,2,4)⁠, with product 16⁠, is the first candidate, and OSCAR found primary invariants of these degrees in Section 3.2.

The conditions are not sufficient. Let 𝑘=ℂ⁠ and 𝐺=⟨diag(1,1,𝑖), diag(−1,−1,1)⟩⁠, abelian of order 8⁠. It is diagonal, so it scales each monomial, and 𝑘[𝑉]𝐺⁠ is spanned by the invariant monomials, here the 𝑥1𝑎𝑥2𝑏𝑥3𝑐⁠ with 𝑎+𝑏⁠ even and 4∣𝑐⁠, so 𝑘[𝑉]𝐺=𝑘[𝑥12,𝑥1𝑥2,𝑥22,𝑥34]⁠ and

𝐻(𝑘[𝑉]𝐺,𝑡)=1+𝑡2(1−𝑡2)2⋅11−𝑡4=1(1−𝑡2)3,

the series of a polynomial ring in three generators of degree 2⁠. The degrees (2,2,2)⁠ pass all three conditions, yet every invariant of degree 2⁠ vanishes on the 𝑥3⁠-axis, so no three of them are an hsop by Corollary 3.1.14. The first degree vector that works is (2,2,4)⁠, with 𝑥12,𝑥22,𝑥34⁠ and the secondary invariants 1,𝑥1𝑥2⁠. The example, due to Stanley, also shows that a Hilbert series of the form 1/∏𝑖(1−𝑡𝑑𝑖)⁠ does not make 𝑘[𝑉]𝐺⁠ a polynomial ring: here 𝑘[𝑉]𝐺≅𝑘[𝑢1,𝑢2,𝑢3,𝑢4]/⟨𝑢1𝑢3−𝑢22⟩⁠ with 𝑢1,𝑢2,𝑢3⁠ of degree 2⁠ and 𝑢4⁠ of degree 4⁠.

Kemper’s theorem [DK15, Theorem 3.5.3] gives the exact condition: degrees 𝑑1,…,𝑑𝑛⁠ occur for an hsop of 𝑘[𝑉]𝐺⁠ if and only if for every subset 𝐽⊆{1,…,𝑛}⁠ the ring 𝑘[𝑉]/𝐼𝐽⁠ has Krull dimension at most 𝑛−|𝐽|⁠, where 𝐼𝐽⁠ is the ideal of 𝑘[𝑉]⁠ generated by all invariants of the degrees 𝑑𝑗⁠, 𝑗∈𝐽⁠. Each condition is a Gröbner basis computation, and the degree vectors are enumerated by increasing product; once a vector passes, the 𝜃𝑖⁠ are chosen degree by degree, at random inside 𝑘[𝑉]𝑑𝑖𝐺⁠, with the dimension test deciding each choice. This is Kemper’s algorithm [Kem99], which OSCAR’s primary_invariants runs, and it guarantees a minimal product.

Finding secondary invariants

Once primary invariants are fixed, Theorem 3.2.12 names the degrees of the secondary invariants, and Proposition 3.2.13 says how to recognise them: linear independence modulo 𝐼=⟨𝜃1,…,𝜃𝑛⟩⊴𝑘[𝑉]⁠. Normal forms with respect to a Gröbner basis of 𝐼⁠ represent residues faithfully by Proposition 2.3.18, so the test is linear algebra on normal forms.

Algorithm 3.3.6 (Secondary invariants). Input: primary invariants 𝜃1,…,𝜃𝑛⁠, the Reynolds operator, and the Molien series; char𝑘=0⁠.

Output: secondary invariants 𝜂1,…,𝜂𝑠⁠ with respect to 𝜃⁠.

  1. (1)Compute a Gröbner basis 𝒢︀⁠ of 𝐼≔⟨𝜃1,…,𝜃𝑛⟩⊴𝑘[𝑉]⁠.

  2. (2)Compute 𝐻(𝑘[𝑉]𝐺,𝑡)∏𝑖(1−𝑡𝑑𝑖)=∑𝑒𝑐𝑒𝑡𝑒⁠.

  3. (3)𝑆≔{1}⁠. For each 𝑒≥1⁠ with 𝑐𝑒>0⁠, in increasing order, accept candidates until 𝑐𝑒⁠ of degree 𝑒⁠ have been accepted, where a candidate is accepted if its normal form modulo 𝒢︀⁠ is linearly independent of the normal forms of the elements of 𝑆⁠ of degree 𝑒⁠ accepted so far. Candidates are, first, the products 𝜂𝜂′⁠ of elements of 𝑆⁠ with deg𝜂+deg𝜂′=𝑒⁠, and then the invariants ℛ︀(𝑚)⁠ for the standard monomials 𝑚⁠ of degree 𝑒⁠.

  4. (4)Return 𝑆⁠.

Proposition 3.3.7 (Correctness). Algorithm 3.3.6 returns secondary invariants with respect to 𝜃1,…,𝜃𝑛⁠. Degrees above ∑𝑖(𝑑𝑖−1)⁠ are never visited.

Proof. Let 𝐴≔𝑘[𝜃]⁠. By Proposition 3.2.13, 𝑘[𝑉]𝐺/𝐴+𝑘[𝑉]𝐺⁠ embeds into 𝑘[𝑉]/𝐼⁠, and by Theorem 3.2.12 (2) its degree-𝑒⁠ part has dimension 𝑐𝑒⁠. The normal form is 𝑘⁠-linear with kernel 𝐼⁠ (Proposition 2.3.18), so 𝑐𝑒⁠ invariants of degree 𝑒⁠ with linearly independent normal forms form a basis of that part, and a basis in every degree is a set of secondary invariants by Proposition 3.2.13.

It remains to see that the candidates span the degree-𝑒⁠ part. The standard monomials form a basis of 𝑘[𝑉]/𝐼=𝑘[𝑉]/𝐴+𝑘[𝑉]⁠, hence generate 𝑘[𝑉]⁠ over 𝐴⁠ by Corollary 3.1.6: 𝑘[𝑉]𝑒=∑𝑚𝑚 𝐴𝑒−deg𝑚⁠ over the standard monomials 𝑚⁠ of degree at most 𝑒⁠. Apply ℛ︀⁠, which is 𝐴⁠-linear by Proposition 2.1.6 (3) and maps 𝑘[𝑉]𝑒⁠ onto 𝑘[𝑉]𝑒𝐺⁠: 𝑘[𝑉]𝑒𝐺=∑𝑚ℛ︀(𝑚) 𝐴𝑒−deg𝑚⁠. Modulo 𝐴+𝑘[𝑉]𝐺⁠ only the terms with deg𝑚=𝑒⁠ survive, so the residues of the ℛ︀(𝑚)⁠ with 𝑚⁠ standard of degree 𝑒⁠ span the degree-𝑒⁠ part. The degree bound is Theorem 3.2.12 (3).□⁠

Products are tried first because they are cheap to compute and lead to fewer algebra generators. A secondary invariant that is not a product of two secondary invariants of positive degree is called irreducible. With the order of candidates in step 3, every secondary invariant is a product of irreducible ones, so the primary and the irreducible secondary invariants generate 𝑘[𝑉]𝐺⁠ as a 𝑘⁠-algebra. OSCAR’s irreducible_secondary_invariants returns them, and fundamental_invariants(IR, :primary_and_secondary) runs this two-stage construction in place of King’s algorithm.

Rewriting in a Hironaka decomposition

Given a Hironaka decomposition, every invariant has a unique expression 𝑓=∑𝑗𝜂𝑗 𝑝𝑗(𝜃)⁠, and one Gröbner basis computes it. This is the normal form of Theorem 1.4.7, with the monomial order chosen so that products of secondary invariants are rewritten.

Proposition 3.3.8 (Hironaka normal form). Let 𝜃1,…,𝜃𝑛⁠ and 𝜂1=1,𝜂2,…,𝜂𝑠⁠ be primary and secondary invariants. Adjoin variables 𝑦1,…,𝑦𝑛⁠ and 𝑧2,…,𝑧𝑠⁠, let 𝐽≔⟨𝑦𝑖−𝜃𝑖,𝑧𝑗−𝜂𝑗⟩⊴𝑘[𝐱,𝐲,𝐳]⁠, and fix a block order with 𝐱≻𝐳≻𝐲⁠ in which the 𝐳⁠-block is compared by a degree order. Here a block order with three blocks compares the 𝐱⁠-parts of two monomials first, then the 𝐳⁠-parts, then the 𝐲⁠-parts, each by a fixed monomial order, and a degree order is a monomial order that compares total degrees first, such as degrevlex⁠. Let 𝒢︀⁠ be a Gröbner basis of 𝐽⁠. Then for 𝑓∈𝑘[𝑉]⁠,

𝑓∈𝑘[𝑉]𝐺 ⟺ NF𝒢︀(𝑓)=𝑝1(𝐲)+∑𝑗=2𝑠𝑧𝑗 𝑝𝑗(𝐲) for some 𝑝𝑗∈𝑘[𝐲],

and then 𝑓=𝑝1(𝜃)+∑𝑗≥2𝜂𝑗 𝑝𝑗(𝜃)⁠ is the expression of 𝑓⁠ in the Hironaka decomposition.

Proof. The order eliminates 𝐱⁠, so by Theorem 1.4.7 (2), 𝑓∈𝑘[𝜃,𝜂]=𝑘[𝑉]𝐺⁠ if and only if NF𝒢︀(𝑓)∈𝑘[𝐲,𝐳]⁠, and then 𝑓⁠ is the normal form evaluated at 𝜃,𝜂⁠. It remains to see that no normal form contains a monomial of degree at least 2⁠ in 𝐳⁠. For 2≤𝑖≤𝑗≤𝑠⁠ write 𝜂𝑖𝜂𝑗=∑𝑙𝜂𝑙 𝑞𝑖𝑗𝑙(𝜃)⁠ in the decomposition. The polynomial 𝑧𝑖𝑧𝑗−∑𝑙𝑧𝑙 𝑞𝑖𝑗𝑙(𝐲)⁠, with 𝑧1≔1⁠, is mapped to 0⁠ by the substitution 𝐲↦𝜃⁠, 𝐳↦𝜂⁠, so it lies in 𝐽⁠ by the proof of Theorem 1.4.7 (1), and its leading monomial is 𝑧𝑖𝑧𝑗⁠, the only monomial of 𝐳⁠-degree 2⁠ in it. Hence 𝒢︀⁠ contains an element whose leading monomial divides 𝑧𝑖𝑧𝑗⁠. It is not 1⁠, and not a single 𝑧𝑖⁠: for 𝑔=𝑧𝑖−ℎ∈𝐽⁠ with ℎ≺𝑧𝑖⁠, evaluating gives 𝜂𝑖=ℎ(𝜃,𝜂)⁠ with ℎ⁠ of 𝐳⁠-degree at most 1⁠, a relation among the basis elements over 𝑘[𝜃]⁠. So every 𝑧𝑖𝑧𝑗⁠ is a leading monomial, and every monomial of 𝐳⁠-degree at least 2⁠ reduces.□⁠

This is [Stu08, Subroutine 2.5.6]. The Gröbner basis contains the rewriting rules for all products 𝜂𝑖𝜂𝑗⁠, the multiplication table of the secondary invariants, which Section 3.4 shows to be the whole presentation of 𝑘[𝑉]𝐺⁠.

In OSCAR

The running example of [Stu08, sec. 2.3] is the cyclic group of order 4⁠ generated by 𝑥1↦𝑥2↦−𝑥1⁠, 𝑥3↦−𝑥3⁠. The degrees 2,2,4⁠ pass the tests of Remark 3.3.5, and 𝑥12+𝑥22⁠, 𝑥32⁠, 𝑥14+𝑥24⁠ are primary invariants by Proposition 3.3.1. OSCAR chooses a different third one. By Theorem 3.2.12 the numerator 1+2𝑡3+𝑡4⁠ means four secondary invariants, of degrees 0,3,3,4⁠. The three of positive degree are all irreducible.

julia> M = matrix(QQ, [0 -1 0; 1 0 0; 0 0 -1]);

julia> IRS = invariant_ring(matrix_group(M));

julia> ms = molien_series(IRS); ts = gen(parent(ms));

julia> x = gens(polynomial_ring(IRS));

julia> I = ideal([x[1]^2 + x[2]^2, x[3]^2, x[1]^4 + x[2]^4]);

julia> dim(I)
0

julia> leading_ideal(I)
Ideal generated by
  x[3]^2
  x[1]^2
  x[2]^4

julia> foreach(println, primary_invariants(IRS))
x[1]^2 + x[2]^2
x[3]^2
x[1]^2*x[2]^2

julia> ms * (1 - ts^2)^2 * (1 - ts^4)
t^4 + 2*t^3 + 1

julia> foreach(println, secondary_invariants(IRS))
1
x[1]*x[2]*x[3]
x[1]^2*x[3] - x[2]^2*x[3]
x[1]^3*x[2] - x[1]*x[2]^3

julia> foreach(println, irreducible_secondary_invariants(IRS))
x[1]*x[2]*x[3]
x[1]^2*x[3] - x[2]^2*x[3]
x[1]^3*x[2] - x[1]*x[2]^3

A larger case, from the old exercise sheets: 𝑆4⁠ acting on the six two-element subsets of {1,2,3,4}⁠, acting on 6⁠ points. Primary invariants of degrees 1,2,2,3,3,4⁠, product 144⁠, give 𝑠=144/24=6⁠ secondary invariants, three of them irreducible; together with the primary ones that is nine generators, with the same degrees as the nine that King’s algorithm finds.

julia> H = permutation_group(6, [cperm([1, 4, 6, 3], [2, 5]),
                                  cperm([2, 4], [3, 5])]);

julia> IRH = invariant_ring(QQ, H);

julia> mh = molien_series(IRH); th = gen(parent(mh));

julia> ph = primary_invariants(IRH); println([degree(Int, f) for f in ph])
[1, 2, 2, 3, 3, 4]

julia> mh * prod(1 - th^degree(Int, f) for f in ph)
t^9 + t^6 + t^5 + t^4 + t^3 + 1

julia> println([degree(Int, f) for f in secondary_invariants(IRH)])
[0, 3, 4, 5, 6, 9]

julia> println([degree(Int, f) for f in irreducible_secondary_invariants(IRH)])
[3, 4, 5]

julia> println([degree(Int, f) for f in fundamental_invariants(IRH)])
[1, 2, 2, 3, 3, 3, 4, 4, 5]

3.4Syzygies

A generating set of 𝑘[𝑉]𝐺⁠, whether computed by Algorithm 2.3.11 or from a Hironaka decomposition, describes the ring only together with the relations among the generators. This section computes these relations: in general by elimination as in Section 1.4, and for a Hironaka decomposition from the products of the secondary invariants. From the relations and the Molien series we then decide whether 𝑘[𝑉]𝐺⁠ is a polynomial ring. For the 2V+1U course this is the last section; it completes the answers to the four questions of Section 1.2 for finite groups.

Presentations

Let 𝑓1,…,𝑓𝑚⁠ be homogeneous generators of 𝑘[𝑉]𝐺⁠ of degrees 𝑑1,…,𝑑𝑚⁠ and let 𝜑:𝑘[𝑦1,…,𝑦𝑚]→𝑘[𝑉]𝐺⁠, 𝑦𝑗↦𝑓𝑗⁠, be the evaluation homomorphism of Equation 1.2, surjective by assumption.

Definition 3.4.1 (Presentation, syzygies). The kernel 𝐼≔ker𝜑⊴𝑘[𝑦1,…,𝑦𝑚]⁠ is the ideal of relations of 𝑓1,…,𝑓𝑚⁠, and its elements are the syzygies among the generators. The isomorphism 𝑘[𝑉]𝐺≅𝑘[𝑦1,…,𝑦𝑚]/𝐼⁠ is a presentation of the invariant ring.
Example 3.4.2 (Ideals of relations).
  1. (1)For 𝐺=𝑆𝑛⁠ and the generators 𝜎1,…,𝜎𝑛⁠, the ideal of relations is 0⁠ by Theorem 1.1.20.

  2. (2)For the cyclic group of Example 1.2.9 and the generators 𝑢,𝑣,𝑤⁠, the ideal of relations is ⟨𝑦1𝑚−𝑦2𝑦3⟩⁠, as shown there.

  3. (3)For 𝑛=2⁠, the symmetric polynomials are also generated by 𝜎1⁠, 𝜎2⁠ and 𝑝2=𝑥12+𝑥22⁠. Since 𝑝2=𝜎12−2𝜎2⁠ (Example 1.1.24), the ideal of relations contains 𝑦12−2𝑦2−𝑦3⁠. It is generated by this polynomial: modulo it, every 𝑔∈𝑘[𝑦1,𝑦2,𝑦3]⁠ is congruent to 𝑔(𝑦1,𝑦2,𝑦12−2𝑦2)∈𝑘[𝑦1,𝑦2]⁠, and a relation in 𝑘[𝑦1,𝑦2]⁠ is 0⁠ by Theorem 1.1.20. Here the relation only says that the generator 𝑝2⁠ is superfluous.

With deg𝑦𝑗≔𝑑𝑗⁠ the ideal 𝐼⁠ is homogeneous and the presentation is one of graded algebras (Example 2.2.3 (3)). Theorem 1.4.7 computes 𝐼⁠: a Gröbner basis of it is the 𝐲⁠-part of a Gröbner basis of ⟨𝑦𝑗−𝑓𝑗⟩⁠ for an elimination order for 𝐱⁠, and Proposition 2.3.18 then reads 𝐻(𝑘[𝑉]𝐺,𝑡)⁠ off its leading monomials, which is how Algorithm 2.3.19 tested completeness. Neither the generators nor the relations are unique, but their minimal number and degrees are.

Lemma 3.4.3 (Minimal generators are well defined).
  1. (1)Homogeneous elements 𝑓1,…,𝑓𝑚∈𝑅+⁠ of a graded algebra 𝑅⁠ generate 𝑅⁠ as a 𝑘⁠-algebra if and only if they generate the ideal 𝑅+⁠, if and only if their images span 𝑅+/𝑅+2⁠. Hence all generating sets of homogeneous elements from which nothing can be omitted have the same number of elements and the same degrees, namely dim𝑘(𝑅+/𝑅+2)𝑑⁠ elements of degree 𝑑⁠. For 𝑅=𝑘[𝑉]𝐺⁠ the largest such degree is 𝛽(𝐺)⁠ of Definition 2.1.8.

  2. (2)Homogeneous elements of a homogeneous ideal 𝐼⊴𝑘[𝑦1,…,𝑦𝑚]⁠ generate 𝐼⁠ if and only if their images span 𝐼/⟨𝐲⟩𝐼⁠. Hence all minimal generating sets of 𝐼⁠ by homogeneous elements have the same number of elements and the same degrees.

Proof.
  1. (1)If the 𝑓𝑗⁠ generate the algebra, an element of 𝑅+⁠ is a polynomial in them without constant term, hence lies in ⟨𝑓1,…,𝑓𝑚⟩⁠. Conversely let 𝑅+=⟨𝑓1,…,𝑓𝑚⟩⁠ and ℎ∈𝑅𝑑⁠. Then ℎ=∑𝑗𝑞𝑗𝑓𝑗⁠ with 𝑞𝑗⁠ homogeneous of degree 𝑑−deg𝑓𝑗<𝑑⁠, and by induction on 𝑑⁠ each 𝑞𝑗⁠ is a polynomial in the 𝑓𝑗⁠, hence so is ℎ⁠; this is the argument of Theorem 2.3.4 without the Reynolds operator. The second equivalence and the count are Corollary 3.1.6 for the graded 𝑅⁠-module 𝑀=𝑅+⁠, for which 𝑅+𝑀=𝑅+2⁠.

  2. (2)Corollary 3.1.6 for the graded module 𝐼⁠ over 𝑘[𝐲]⁠.□⁠

So the number and the degrees of the elements of a minimal homogeneous generating set of 𝑘[𝑉]𝐺⁠ depend only on 𝐺⁠, and so do the number and the degrees of a minimal set of syzygies for such a generating set. In Example 3.4.2 (3) the generating set is not minimal, and the relation 𝑦12−2𝑦2−𝑦3⁠ involves the superfluous generator linearly. King’s algorithm returns a minimal set (Theorem 2.3.13). For a homogeneous ideal, the OSCAR command minimal_generating_set computes a minimal generating set.

Syzygies of a Hironaka decomposition

For generators coming from a Hironaka decomposition the relations need no elimination: they are the multiplication table of the secondary invariants, which Proposition 3.3.8 already computed.

Theorem 3.4.4 (Syzygies from the multiplication table). Let 𝜃1,…,𝜃𝑛⁠ and 𝜂1=1,𝜂2,…,𝜂𝑠⁠ be primary and secondary invariants, and for 2≤𝑖≤𝑗≤𝑠⁠ write

𝜂𝑖𝜂𝑗=∑𝑙=1𝑠𝜂𝑙 𝑞𝑖𝑗𝑙(𝜃1,…,𝜃𝑛)

with 𝑞𝑖𝑗𝑙∈𝑘[𝑦1,…,𝑦𝑛]⁠, as Equation 3.1 allows. Then the ideal of relations of the generators 𝜃1,…,𝜃𝑛,𝜂2,…,𝜂𝑠⁠, in the variables 𝑦1,…,𝑦𝑛,𝑧2,…,𝑧𝑠⁠, is generated by the 𝑠(𝑠−1)/2⁠ polynomials

𝜌𝑖𝑗≔𝑧𝑖𝑧𝑗−∑𝑙=1𝑠𝑧𝑙 𝑞𝑖𝑗𝑙(𝑦1,…,𝑦𝑛) (2≤𝑖≤𝑗≤𝑠), 𝑧1≔1.
Proof. Each 𝜌𝑖𝑗⁠ is a relation. Let 𝐽⁠ be the ideal they generate and let 𝑔∈𝑘[𝐲,𝐳]⁠ be any relation. Modulo 𝐽⁠, a monomial of degree at least 2⁠ in 𝐳⁠ is congruent to a combination of monomials of smaller 𝐳⁠-degree, so by induction 𝑔≡∑𝑙=1𝑠𝑧𝑙 𝑝𝑙(𝐲) (mod 𝐽)⁠ for some 𝑝𝑙∈𝑘[𝐲]⁠, with 𝑧1=1⁠. Evaluating, 0=∑𝑙𝜂𝑙 𝑝𝑙(𝜃)⁠, so every 𝑝𝑙(𝜃)=0⁠ because the sum Equation 3.1 is direct, and every 𝑝𝑙=0⁠ because the 𝜃𝑖⁠ are algebraically independent. Hence 𝑔∈𝐽⁠.□⁠

This is [KS99, Proposition 12]. The degrees of the relations are 𝑒𝑖+𝑒𝑗≤2∑𝑖(𝑑𝑖−1)⁠ by Theorem 3.2.12 (3). Some of them say that a product 𝜂𝑖𝜂𝑗⁠ is itself a secondary invariant, and then the generator 𝜂𝑖𝜂𝑗⁠ and the relation 𝜌𝑖𝑗⁠ can both be dropped; what remains, after Lemma 3.4.3, is the presentation on the primary and the irreducible secondary invariants.

Example 3.4.5 (Three presentations).

  1. (1)For the cyclic group of Example 3.2.16, 𝑠=2⁠, and writing 𝑧≔𝑧2⁠, the single relation is 𝜌22=𝑧2−𝑦2𝑧+𝑦1𝑚⁠, from 𝑤2=(𝑣+𝑤) 𝑤−𝑢𝑚⁠. The presentation of Example 1.2.9 on the generators 𝑢,𝑣,𝑤⁠ had the single relation 𝑢𝑚−𝑣𝑤⁠; substituting 𝑣=(𝑣+𝑤)−𝑤⁠ turns one into the other.

  2. (2)For the dihedral group of Example 3.2.17, 𝑠=2⁠ and 𝜌22=𝑧2−𝑦2𝑦3(𝑦13−𝑦3)⁠. This is the relation that Example 2.3.20 found by elimination, and by Theorem 3.4.4 it generates the ideal of relations.

  3. (3)For 𝐴𝑛⁠ with 𝜃=𝜎⁠, 𝜂2=Δ⁠, the relation 𝜌22=𝑧2−𝐷(𝑦1,…,𝑦𝑛)⁠, where 𝐷∈𝑘[𝑦1,…,𝑦𝑛]⁠ is the polynomial with Δ2=𝐷(𝜎1,…,𝜎𝑛)⁠, the discriminant, computed for 𝑛=3⁠ in Example 1.1.34: 𝑘[𝑉]𝐴𝑛≅𝑘[𝑦1,…,𝑦𝑛,𝑧]/⟨𝑧2−𝐷⟩⁠.

Remark 3.4.6 (What the Hilbert series of a presentation says). 𝐻(𝑘[𝑉]𝐺,𝑡)=𝐻(𝑘[𝐲]/𝐼,𝑡)⁠ carries the degrees of the syzygies. For 𝐼=0⁠ it is 1/∏𝑗(1−𝑡𝑑𝑗)⁠; for 𝐼=⟨𝑔⟩⁠ with deg𝑔=𝑒⁠ the ideal is 𝑘[𝐲](−𝑒)⁠, where 𝑀(−𝑒)⁠ is 𝑀⁠ with degrees shifted, 𝑀(−𝑒)𝑑≔𝑀𝑑−𝑒⁠, and the series is (1−𝑡𝑒)/∏𝑗(1−𝑡𝑑𝑗)⁠, as in Equation 2.2, with numerators 1−𝑡2𝑚⁠, 1−𝑡14⁠ and 1−𝑡𝑛(𝑛−1)⁠ for the three presentations of Example 3.4.5. Finite and minimal resolutions and first and second syzygies, used below, are terms from homological algebra that we do not define; see [Eis95]. In general Hilbert’s syzygy theorem [Eis95, Theorem 1.13 and Corollary 19.8] gives a finite resolution 0→𝐹𝑝→…→𝐹1→𝑘[𝐲]→𝑘[𝐲]/𝐼→0⁠ by free graded modules 𝐹𝑖=⨁𝑗𝑘[𝐲](−𝑎𝑖𝑗)⁠, 𝑝≤𝑚⁠, and the Hilbert series alternate:

𝐻(𝑘[𝑉]𝐺,𝑡)=∑𝑖=0𝑝(−1)𝑖∑𝑗𝑡𝑎𝑖𝑗∏𝑗=1𝑚(1−𝑡𝑑𝑗).

For a minimal resolution the 𝑎1𝑗⁠ are the degrees of a minimal set of syzygies, the 𝑎2𝑗⁠ those of the relations among them, and so on. The numerator over ∏𝑗(1−𝑡𝑑𝑗)⁠ therefore lists first syzygies with a minus sign and second syzygies with a plus sign. Negative coefficients do not contradict Theorem 3.2.12: there the denominator is the product over an hsop, here over all generators. OSCAR’s free_resolution computes the resolution.

When the invariant ring is a polynomial ring

The simplest presentation has no syzygies at all, and the Hironaka decomposition says when that happens.

Proposition 3.4.7 (Polynomial invariant rings). In the non-modular case the following are equivalent.

  1. (1)𝑘[𝑉]𝐺⁠ is a polynomial ring: it is generated by algebraically independent elements.

  2. (2)𝑘[𝑉]𝐺⁠ is generated by 𝑛⁠ elements.

  3. (3)Some hsop 𝜃⁠ of 𝑘[𝑉]𝐺⁠ has a single secondary invariant: 𝑘[𝑉]𝐺=𝑘[𝜃1,…,𝜃𝑛]⁠.

  4. (4)Some hsop of 𝑘[𝑉]𝐺⁠ has 𝑑1⋯𝑑𝑛=|𝐺|⁠ (characteristic 0⁠).

Proof. (1) ⇒⁠ (2). Algebraically independent generators 𝑓1,…,𝑓𝑟⁠ have 𝑟=dim𝑘[𝑓]=dim𝑘[𝑉]𝐺=𝑛⁠ by Remark 3.1.4 (2) and Corollary 3.1.15.

(2) ⇒⁠ (1). If 𝑓1,…,𝑓𝑛⁠ generate, then dim𝑘[𝑓1,…,𝑓𝑛]=𝑛⁠, so they are algebraically independent by Remark 3.1.4 (2). The same reasoning shows that no 𝑚<𝑛⁠ elements generate.

(1) ⇒⁠ (3). By (1) and (2), 𝑘[𝑉]𝐺=𝑘[𝑓1,…,𝑓𝑛]⁠ for some 𝑓𝑗⁠, which need not be homogeneous; subtracting their constant terms, we may assume 𝑓𝑗∈𝑘[𝑉]+𝐺⁠. Then every element of 𝑘[𝑉]+𝐺⁠ is a polynomial in the 𝑓𝑗⁠ without constant term, so the images of 𝑓1,…,𝑓𝑛⁠ span 𝑘[𝑉]+𝐺/(𝑘[𝑉]+𝐺)2⁠. By Lemma 3.4.3 (1), 𝑘[𝑉]𝐺⁠ is therefore generated by at most 𝑛⁠ homogeneous elements of positive degree, hence by exactly 𝑛⁠, say 𝜃1,…,𝜃𝑛⁠, and these are algebraically independent by (2) ⇒⁠ (1). So they form an hsop, and 𝑘[𝑉]𝐺=𝑘[𝜃]⁠ is free of rank 1⁠ over it, with the single secondary invariant 1⁠.

(3) ⇒⁠ (1). The 𝜃𝑖⁠ of an hsop are algebraically independent.

(3) ⇔⁠ (4). 𝑠=𝑑1⋯𝑑𝑛/|𝐺|⁠ by Theorem 3.2.12 (2).□⁠

The proof of (2) ⇒⁠ (1) shows that every generating set of 𝑘[𝑉]𝐺⁠ has at least 𝑛⁠ elements, so (2) says that the minimal number of generators is as small as possible. Condition (2) can be checked by running Algorithm 2.3.11 and counting. Condition (4) cannot be read off the Molien series alone: Stanley’s example in Remark 3.3.5 has the Molien series of a polynomial ring, but its invariant ring is not one. The series does exclude many cases, though. If 𝑘[𝑉]𝐺⁠ is a polynomial ring in homogeneous generators of degrees 𝑑1,…,𝑑𝑛⁠, its Hilbert series is 1/∏𝑖(1−𝑡𝑑𝑖)⁠ by Lemma 2.2.6 (1), and comparing with the leading term 1|𝐺|(1−𝑡)−𝑛⁠ of Remark 2.2.20 gives 𝑑1⋯𝑑𝑛=|𝐺|⁠. For the cyclic group of Example 3.1.28 this leaves the degree vectors (1,1,1,4)⁠ and (1,1,2,2)⁠, and both are excluded because dim𝑘𝑘[𝑉]1𝐺=1⁠. So this invariant ring is not a polynomial ring. Kemper [DK15, Theorem 3.9.4] sharpened (4) to a test by linear algebra: 𝑛⁠ algebraically independent homogeneous invariants 𝑓1,…,𝑓𝑛⁠ with 𝑑1⋯𝑑𝑛=|𝐺|⁠ generate 𝑘[𝑉]𝐺⁠, and algebraic independence can be tested by checking that the Jacobian determinant det(𝜕𝑓𝑖/𝜕𝑥𝑗)⁠ is nonzero.

Section 3.5 characterises the groups with a polynomial invariant ring: in the non-modular case, 𝑘[𝑉]𝐺⁠ is a polynomial ring exactly when 𝐺⁠ is generated by elements that fix a hyperplane of 𝑉⁠ pointwise, and then 𝑑1⋯𝑑𝑛=|𝐺|⁠ and ∑𝑖(𝑑𝑖−1)⁠ is the number of such elements. 𝑆𝑛⁠ is generated by its transpositions, which are of this kind. 𝐴𝑛⁠ for 𝑛≥3⁠, the cyclic groups of Example 1.2.9 and Example 3.1.28 and the dihedral group of Example 2.3.20 contain no element of this kind, so their invariant rings are not polynomial rings; for 𝐴𝑛⁠ this is the claim made after Proposition 1.1.31. For most groups the Hironaka decomposition with 𝑠>1⁠, or the presentation with its syzygies, is the best description available.

OSCAR’s affine_algebra returns the presentation; with algo_gens = :primary_and_secondary it uses the primary and irreducible secondary invariants as generators. For the cyclic group of order 3⁠ of Example 1.2.9, OSCAR takes the generators 𝑢⁠, 𝑤⁠, 𝑣+𝑤⁠ and calls them y1, y2, y3. So its y2 is the 𝑧⁠ and its y3 the 𝑦2⁠ of Example 3.4.5 (1), and the relation it prints is 𝜌22⁠. The reduced Hilbert series it prints is (1−𝑡+𝑡2)/((1−𝑡)(1−𝑡3))⁠, which equals the series (1+𝑡3)/((1−𝑡2)(1−𝑡3))⁠ of Equation 2.2 for 𝑚=3⁠. For the cyclic group of Example 3.1.28, with 𝑠=4⁠ and 𝑒=0,3,3,4⁠, the six relations 𝜌𝑖𝑗⁠ have degrees 6,6,6,7,7,8⁠ and none of them is redundant.

julia> K3, ζ = cyclotomic_field(3);

julia> IR3 = invariant_ring(matrix_group(matrix(K3, [ζ 0; 0 ζ^-1])));

julia> Q3, φ3 = affine_algebra(IR3, algo_gens = :primary_and_secondary);

julia> modulus(Q3)
Ideal generated by
  y1^3 + y2^2 - y2*y3

julia> foreach(println, [φ3(y) for y in gens(Q3)])
x[1]*x[2]
x[2]^3
x[1]^3 + x[2]^3

julia> hilbert_series_reduced(Q3)
(t^2 - t + 1, t^4 - t^3 - t + 1)

julia> Q, _ = affine_algebra(IR, algo_gens = :primary_and_secondary);

julia> println([degree(Int, f) for f in gens(base_ring(Q))])
[1, 2, 2, 3, 3, 4, 4]

julia> println([degree(Int, f) for f in minimal_generating_set(modulus(Q))])
[6, 6, 6, 7, 7, 8]

3.5Reflection groups∗⁠

Proposition 3.4.7 decides for a given group, after a computation, whether its invariant ring is a polynomial ring. This section characterises these groups by a property of their elements, and proves the half of the characterisation that follows from the Molien series. Nothing in Part II depends on it.

Definition 3.5.1 (Pseudo-reflection, reflection group). An element 𝑔∈𝐺𝐿𝑛(𝑘)⁠ of finite order is a pseudo-reflection if it fixes a hyperplane of 𝑉⁠ pointwise and is not the identity, that is, if rank(𝑔−𝐼)=1⁠. A finite group 𝐺≤𝐺𝐿𝑛(𝑘)⁠ is a reflection group if it is generated by its pseudo-reflections.

In the non-modular case a pseudo-reflection 𝑔⁠ is diagonalisable, since its order is not divisible by char𝑘⁠. Its eigenvalues are 1⁠, with multiplicity 𝑛−1⁠, and a root of unity 𝜆≠1⁠; for 𝜆=−1⁠ it is a reflection in the usual sense.

Example 3.5.2 (Reflection groups and groups without pseudo-reflections).
  1. (1)The permutation matrix of 𝜋∈𝑆𝑛⁠ fixes exactly the vectors that are constant on the cycles of 𝜋⁠. So it is a pseudo-reflection if and only if 𝜋⁠ is a transposition. Hence 𝑆𝑛⁠ is a reflection group, and 𝐴𝑛⁠ contains no pseudo-reflection.

  2. (2)The dihedral group 𝐷𝑚⁠ of Example 1.2.10 is generated by its 𝑚⁠ reflections 𝑟𝑔𝑗⁠ (Example 2.2.17), so it is a reflection group.

  3. (3)The cyclic group ⟨𝑔⟩⁠ of Example 1.2.9 contains no pseudo-reflection: every 𝑔𝑗≠𝐼⁠ has the two eigenvalues 𝜁𝑗,𝜁−𝑗≠1⁠. The groups of Example 3.1.28 and Example 2.3.20 contain none either: their elements other than 𝐼⁠ have fixed spaces of dimension at most 𝑛−2⁠.

Theorem 3.5.3 (Chevalley–Shephard–Todd). Let char𝑘=0⁠. Then 𝑘[𝑉]𝐺⁠ is a polynomial ring if and only if 𝐺⁠ is a reflection group.

Shephard and Todd classified the finite reflection groups over ℂ⁠ and verified the theorem case by case [ST54]; Chevalley proved the “if” direction uniformly [Che55], and Serre the “only if”, in every characteristic, while “if” fails in the modular case, as [DK15, Example 3.9.6] shows. Complete proofs are in [Stu08, sec. 2.4] and [Ben93, chap. 7]; the “if” direction is omitted here. The “only if” direction rests on the expansion of the Molien series at 𝑡=1⁠. Its leading term was determined in Remark 2.2.20 and Corollary 3.1.24; we now need the next term.

Lemma 3.5.4 (The Molien series near 𝑡=1⁠). Let char𝑘=0⁠ and let 𝑟⁠ be the number of pseudo-reflections in 𝐺⁠. Then, as 𝑡→1⁠,

𝐻(𝑘[𝑉]𝐺,𝑡)=1|𝐺|(1−𝑡)−𝑛+𝑟2|𝐺|(1−𝑡)−𝑛+1+𝑂((1−𝑡)−𝑛+2).

Proof. In Equation 2.3, the summand of 𝑔⁠ with eigenvalues 𝜆1,…,𝜆𝑛⁠ is ∏𝑖(1−𝜆𝑖𝑡)−1⁠, with a pole at 𝑡=1⁠ of order the multiplicity of the eigenvalue 1⁠. Only 𝑔=1⁠ contributes to the order 𝑛⁠, and its summand (1−𝑡)−𝑛⁠ contributes nothing to the order 𝑛−1⁠. The summands of order exactly 𝑛−1⁠ are those of the pseudo-reflections, (1−𝑡)−𝑛+1(1−𝜆𝑡)−1⁠ with 𝜆≠1⁠ the remaining eigenvalue, whose coefficient at (1−𝑡)−𝑛+1⁠ is (1−𝜆)−1⁠. Now 𝑔⁠ is a pseudo-reflection if and only if 𝑔−1⁠ is, with eigenvalue 𝜆−1⁠, and

11−𝜆+11−𝜆−1=11−𝜆+𝜆𝜆−1=1,

while for 𝑔=𝑔−1⁠, that is 𝜆=−1⁠, the single term is 1/2⁠. So the coefficients of the pseudo-reflections sum to 𝑟/2⁠.□⁠

Corollary 3.5.5 (Degrees of a polynomial invariant ring). Let char𝑘=0⁠ and 𝑘[𝑉]𝐺=𝑘[𝜃1,…,𝜃𝑛]⁠ with 𝑑𝑖≔deg𝜃𝑖⁠. Then

|𝐺|=𝑑1𝑑2⋯𝑑𝑛 and 𝑟=∑𝑖=1𝑛(𝑑𝑖−1),

where 𝑟⁠ is the number of pseudo-reflections in 𝐺⁠.

Proof. 𝐻(𝑘[𝑉]𝐺,𝑡)=∏𝑖(1−𝑡𝑑𝑖)−1⁠ by Lemma 2.2.6 (1). Put 𝑡=1−𝑢⁠. Then 1+𝑡+⋯+𝑡𝑑−1=𝑑−(𝑑2)𝑢+𝑂(𝑢2)⁠, so

11−𝑡𝑑=1𝑢 (1+𝑡+⋯+𝑡𝑑−1)=1𝑑 𝑢(1+𝑑−12 𝑢+𝑂(𝑢2)),

and the product over 𝑖⁠ is 1𝑑1⋯𝑑𝑛𝑢−𝑛(1+12∑𝑖(𝑑𝑖−1) 𝑢+𝑂(𝑢2))⁠. Compare with Lemma 3.5.4.□⁠

We apply the corollary to the groups of Example 3.5.2. For 𝑆𝑛⁠ the degrees are 1,…,𝑛⁠, with product 𝑛!⁠, and there are ∑𝑖(𝑖−1)=(𝑛2)⁠ transpositions. For 𝐷𝑚⁠ the degrees are 2⁠ and 𝑚⁠, with product 2𝑚⁠, and there are 1+(𝑚−1)=𝑚⁠ reflections. 𝐴𝑛⁠ for 𝑛≥3⁠ has 𝑟=0⁠, so a polynomial invariant ring would have all 𝑑𝑖=1⁠ and |𝐴𝑛|=𝑑1⋯𝑑𝑛=1⁠. So 𝑘[𝑉]𝐴𝑛⁠ is not a polynomial ring, which was left open after Proposition 1.1.31. The same count excludes every nontrivial group without pseudo-reflections, such as those of Example 1.2.9, Example 3.1.28 and Example 2.3.20.

Proof sketch of the “only if” direction of Theorem 3.5.3, given the “if” direction. Let 𝑘[𝑉]𝐺=𝑘[𝜃1,…,𝜃𝑛]⁠ and let 𝐻≤𝐺⁠ be generated by the pseudo-reflections of 𝐺⁠, so that 𝑘[𝑉]𝐻=𝑘[𝜓1,…,𝜓𝑛]⁠ with deg𝜓𝑖=𝑒𝑖⁠ by the “if” direction. Each 𝜃𝑖⁠ is a polynomial in the 𝜓𝑙⁠, and since the Jacobian determinant of algebraically independent polynomials is nonzero in characteristic 0⁠ [Ben93, Proposition 5.4.2], the chain rule yields a permutation 𝜋⁠ with 𝜓𝑖⁠ occurring in 𝜃𝜋(𝑖)⁠, hence 𝑒𝑖≤𝑑𝜋(𝑖)⁠. Both groups contain the same pseudo-reflections, so Corollary 3.5.5 gives ∑𝑖(𝑑𝑖−1)=∑𝑖(𝑒𝑖−1)⁠, hence 𝑒𝑖=𝑑𝜋(𝑖)⁠, hence |𝐻|=∏𝑖𝑒𝑖=∏𝑖𝑑𝑖=|𝐺|⁠ and 𝐻=𝐺⁠. The details are in [Stu08, sec. 2.4].

Definition 3.5.6 (Coinvariant algebra). The coinvariant algebra of 𝐺⁠ is 𝑘[𝑉]𝐺≔𝑘[𝑉]/𝔥⁠, the quotient by the Hilbert ideal of Definition 2.3.1 (not to be confused with the degree-𝑑⁠ part 𝑘[𝑉]𝑑⁠).
Example 3.5.7 (Coinvariant algebras).
  1. (1)Let 𝐺=𝑆2⁠ act on 𝑘2⁠ by permuting the coordinates. Every invariant of positive degree is a polynomial in 𝜎1,𝜎2⁠ without constant term, so 𝔥=⟨𝜎1,𝜎2⟩⁠. By Example 3.1.7, 𝑘[𝑉]𝐺⁠ has the basis 1,𝑥1⁠, so dim𝑘𝑘[𝑉]𝐺=2=|𝐺|⁠.

  2. (2)Let char𝑘≠2⁠ and 𝐺={±𝐼}⁠ as in Example 3.1.10 (4). Every invariant of positive degree is a polynomial in 𝑢,𝑣,𝑤⁠ without constant term, so 𝔥=⟨𝑥12,𝑥1𝑥2,𝑥22⟩⁠, and 𝑘[𝑉]𝐺⁠ has the basis 1,𝑥1,𝑥2⁠. So dim𝑘𝑘[𝑉]𝐺=3≠|𝐺|⁠. This group contains no pseudo-reflection, since rank(−𝐼−𝐼)=2⁠.

Proposition 3.5.8 (Coinvariants of a reflection group). Let char𝑘=0⁠ and 𝑘[𝑉]𝐺=𝑘[𝜃1,…,𝜃𝑛]⁠ with degrees 𝑑𝑖⁠. Then 𝑘[𝑉]⁠ is a free 𝑘[𝑉]𝐺⁠-module of rank |𝐺|⁠, and

𝐻(𝑘[𝑉]𝐺,𝑡)=∏𝑖=1𝑛(1+𝑡+⋯+𝑡𝑑𝑖−1), dim𝑘𝑘[𝑉]𝐺=|𝐺|.
Proof. 𝜃⁠ is an hsop of 𝑘[𝑉]⁠ by Corollary 3.1.14, so 𝑘[𝑉]⁠ is free over 𝑘[𝜃]=𝑘[𝑉]𝐺⁠ by Theorem 3.2.7, and 𝔥=⟨𝜃1,…,𝜃𝑛⟩𝑘[𝑉]⁠. By Lemma 3.2.3 (3), 𝐻(𝑘[𝑉]𝐺,𝑡)=𝐻(𝑘[𝑉],𝑡)∏𝑖(1−𝑡𝑑𝑖)=∏𝑖(1−𝑡𝑑𝑖)/(1−𝑡)𝑛⁠, which is the displayed product; its value at 𝑡=1⁠ is 𝑑1⋯𝑑𝑛=|𝐺|⁠ by Corollary 3.5.5, and that is the rank.□⁠

Chevalley [Che55] proved more: 𝐺⁠ acts on 𝑘[𝑉]𝐺⁠, and as a representation it is the regular representation of 𝐺⁠, each irreducible representation occurring as often as its dimension (terms not needed here). For 𝑆𝑛⁠ the series ∏𝑖=1𝑛(1+𝑡+⋯+𝑡𝑖−1)⁠ counts permutations by their number of inversions, and 𝑘[𝐱]/⟨𝜎1,…,𝜎𝑛⟩⁠ is the algebra whose structure underlies much of the combinatorics of 𝑆𝑛⁠; see [Sta79].

OSCAR reads the expansion of Lemma 3.5.4 off the Molien series, after the substitution 𝑡=1−𝑢⁠ in a Laurent series ring. For 𝑆4⁠ the coefficients are 1/24⁠ and 6/48⁠; for the cyclic group of Example 3.1.28 the second one vanishes.

julia> L, u = laurent_series_ring(QQ, 8, :u);

julia> at_one(f) = evaluate(numerator(f), 1 - u) //
                   evaluate(denominator(f), 1 - u);

julia> at_one(molien_series(invariant_ring(QQ, symmetric_group(4))))
1//24*u^-4 + 1//8*u^-3 + 59//288*u^-2 + 17//72*u^-1 + O(u^0)

julia> at_one(m)
1//4*u^-4 + 1//16*u^-2 + 3//16*u^-1 + O(u^0)

julia> S4 = collect(symmetric_group(4));

julia> count(g -> rank(permutation_matrix(QQ, g) - 1) == 1, S4)
6

Part IIReductive groups and classical invariant theory

4Linear algebraic groups

Unverified draft. This chapter has not yet been checked by the lecturer. Expect errors, from the English to the mathematics; see the preface.

Part II drops the assumption that 𝐺⁠ is finite. In Part I the Reynolds operator was the average over the group; for the groups of Part II a Reynolds operator exists for a different reason, which we call linear reductivity. This chapter introduces these groups and their representations, proves that linear reductivity gives a Reynolds operator, and deduces Hilbert’s finiteness theorem. It is background: everything here is standard, most of it is proved in Derksen and Kemper [DK15], and the proofs we give are the ones that reuse Part I.

Convention. Throughout Part II, 𝑘⁠ is algebraically closed of characteristic 0⁠ unless a statement says otherwise.

The reader may take 𝑘=ℂ⁠ throughout. Where algebraic closure is used, the text says so. Where only infinitude of 𝑘⁠ is used, it says that instead.

4.1Linear algebraic groups and rational representations

Part I let 𝐺⁠ be any finite subgroup of 𝐺𝐿𝑛(𝑘)⁠. For infinite groups we need a restriction: there are subgroups of 𝐺𝐿𝑛(ℂ)⁠ whose invariant ring is not finitely generated (Remark 4.3.4 below). The groups we study are those defined by polynomial equations in 𝐺𝐿𝑛(𝑘)⁠, acting through representations given by polynomials. This section defines both and lists the examples we use in Part II.

Closed subgroups of the general linear group

We recall some notions from Commutative Algebra. For a set 𝑆⁠ of polynomials in 𝑘[𝑦1,…,𝑦𝑁]⁠, its zero locus is 𝑉(𝑆)≔{𝑐∈𝑘𝑁:𝑓(𝑐)=0 for all 𝑓∈𝑆}⁠, and the subsets of 𝑘𝑁⁠ of this form are the affine varieties [Gat13, Definition 0.3 (c)]; Gathmann writes 𝔸𝑘𝑁⁠ for 𝑘𝑁⁠. Varieties in these notes are always of this kind. For a subset 𝑋⊆𝑘𝑁⁠ let 𝐼(𝑋)⁠ be the ideal of polynomials vanishing on 𝑋⁠. The coordinate ring of 𝑋⁠ is

𝑘[𝑋]≔𝑘[𝑦1,…,𝑦𝑁]/𝐼(𝑋),

the ring of functions 𝑋→𝑘⁠ given by polynomials [Gat13, Construction 0.5], written 𝐴(𝑋)⁠ there. For varieties 𝑋⊆𝑘𝑁⁠ and 𝑌⊆𝑘𝑀⁠, a morphism 𝑋→𝑌⁠ [Gat13, Construction 0.11] is a map given by polynomials, that is, of the form 𝑐↦(𝑓1(𝑐),…,𝑓𝑀(𝑐))⁠ with 𝑓𝑖∈𝑘[𝑦1,…,𝑦𝑁]⁠. The subvarieties of a variety 𝑋⁠ [Gat13, Construction 0.8], those varieties contained in 𝑋⁠, are the zero loci 𝑉𝑋(𝑆)={𝑐∈𝑋:𝑓(𝑐)=0 for all 𝑓∈𝑆}⁠ of subsets 𝑆⊆𝑘[𝑋]⁠.

Remark 4.1.1 (Radicals and the Nullstellensatz). Let 𝐼⁠ be an ideal of the polynomial ring 𝑘[𝑦1,…,𝑦𝑁]⁠.

  1. (1)The radical of 𝐼⁠ [Gat13, Construction 1.1 (e)] is the ideal 𝐼≔{𝑓:𝑓𝑚∈𝐼 for some 𝑚≥1}⁠, which contains 𝐼⁠. An ideal 𝐼⁠ is radical if 𝐼=𝐼⁠.

  2. (2)For 𝑌⊆𝑘𝑁⁠ let 𝐼(𝑌)⁠ be the ideal of the polynomials that vanish on 𝑌⁠. The Zariski closure 𝑌¯⁠ (Definition 4.1.2 below), the smallest closed set containing 𝑌⁠, is 𝑉(𝐼(𝑌))⁠ by [Gat13, Lemma 0.9].

  3. (3)Hilbert’s Nullstellensatz [Gat13, Corollary 10.14]. Since 𝑘⁠ is algebraically closed, 𝐼(𝑉(𝐼))=𝐼⁠. That is, a polynomial vanishes on 𝑉(𝐼)⁠ if and only if some power of it lies in 𝐼⁠.

Commutative Algebra does not put a topology on varieties. We need the language of topology for density arguments and, in Section 4.4, for the closures of orbits.

Definition 4.1.2 (Zariski topology). Let 𝑋⊆𝑘𝑁⁠ be a variety. A subset of 𝑋⁠ is closed if it is a subvariety of 𝑋⁠, and open if its complement in 𝑋⁠ is closed. This is the Zariski topology on 𝑋⁠. The closure 𝑆¯⁠ of a subset 𝑆⊆𝑋⁠ is the smallest closed subset containing 𝑆⁠, and 𝑆⁠ is dense in 𝑋⁠ if 𝑆¯=𝑋⁠.
Example 4.1.3 (Closed subsets of the line).
  1. (1)The closed subsets of 𝑘=𝑘1⁠ are 𝑘⁠ and the finite subsets. Indeed 𝑉({0})=𝑘⁠, and if 𝑆⁠ contains a polynomial 𝑓≠0⁠ then 𝑉(𝑆)⊆𝑉(𝑓)⁠ is finite, as 𝑓⁠ has at most deg𝑓⁠ zeros [Gat23, Lemma 11.15 (b)]. Conversely {𝑐1,…,𝑐𝑚}=𝑉((𝑦−𝑐1)⋯(𝑦−𝑐𝑚))⁠.

  2. (2)Let 𝑘=ℂ⁠. The unit circle {𝑐∈ℂ:|𝑐|=1}⁠, an example from [Gat13, Exercise 0.15 (d)], is closed in the usual topology of ℂ⁠, but not in the Zariski topology: it is infinite and not all of ℂ⁠.

  3. (3)If 𝑘⁠ is infinite, the Zariski topology on 𝑘⁠ is not Hausdorff: two nonempty open subsets have finite complements, so they intersect.

The following lemma collects what we use about the Zariski topology.

Lemma 4.1.4 (Properties of the Zariski topology). Let 𝑋⊆𝑘𝑁⁠ be a variety.

  1. (1)The closed subsets of 𝑋⁠ satisfy the axioms of the closed sets of a topology: ∅⁠ and 𝑋⁠ are closed, and finite unions and arbitrary intersections of closed subsets are closed.

  2. (2)Every descending chain 𝑍0⊇𝑍1⊇⋯⁠ of closed subsets of 𝑋⁠ becomes stationary.

  3. (3)The closure of 𝑆⊆𝑋⁠ is 𝑆¯=𝑉𝑋(𝐼(𝑆))⁠, where 𝐼(𝑆)⊴𝑘[𝑋]⁠ is the ideal of functions vanishing on 𝑆⁠.

  4. (4)Morphisms of varieties are continuous.

  5. (5)Let 𝑘⁠ be infinite. If 𝑓∈𝑘[𝑦1,…,𝑦𝑁]⁠ vanishes on a nonempty open subset of 𝑘𝑁⁠, then 𝑓=0⁠. In particular, every nonempty open subset of 𝑘𝑁⁠ is dense in 𝑘𝑁⁠.

Proof.
  1. (1)∅=𝑉𝑋(1)⁠, 𝑋=𝑉𝑋(0)⁠, and ⋂𝑖𝑉𝑋(𝑆𝑖)=𝑉𝑋(⋃𝑖𝑆𝑖)⁠. For two subsets 𝑆,𝑇⊆𝑘[𝑋]⁠ let 𝑆𝑇≔{𝑓𝑔:𝑓∈𝑆,𝑔∈𝑇}⁠. We claim 𝑉𝑋(𝑆)∪𝑉𝑋(𝑇)=𝑉𝑋(𝑆𝑇)⁠. Every 𝑓𝑔⁠ vanishes on 𝑉𝑋(𝑆)∪𝑉𝑋(𝑇)⁠. Conversely, at a point outside 𝑉𝑋(𝑆)∪𝑉𝑋(𝑇)⁠ some 𝑓∈𝑆⁠ and some 𝑔∈𝑇⁠ do not vanish, so 𝑓𝑔⁠ does not vanish there either.

  2. (2)This is [Gat13, Remark 7.15]: the ideals 𝐼(𝑍𝑖)⁠ form an ascending chain in the Noetherian ring 𝑘[𝑋]⁠, and 𝑍𝑖=𝑉𝑋(𝐼(𝑍𝑖))⁠ by [Gat13, Lemma 0.9 (c)].

  3. (3)𝑉𝑋(𝐼(𝑆))⁠ is closed and contains 𝑆⁠. If 𝑉𝑋(𝑇)⁠ is a closed subset containing 𝑆⁠, then every element of 𝑇⁠ vanishes on 𝑆⁠, so 𝑇⊆𝐼(𝑆)⁠ and 𝑉𝑋(𝑇)⊇𝑉𝑋(𝐼(𝑆))⁠.

  4. (4)Let 𝜑:𝑋→𝑌⁠ be a morphism and 𝑉𝑌(𝑇)⁠ a closed subset of 𝑌⁠. Then 𝜑−1(𝑉𝑌(𝑇))=𝑉𝑋({𝑓∘𝜑:𝑓∈𝑇})⁠, and each 𝑓∘𝜑⁠ is a polynomial function on 𝑋⁠.

  5. (5)Let 𝑈⁠ be nonempty and open, so 𝑈=𝑘𝑁∖𝑉(𝑆)⁠ for some set 𝑆⁠ of polynomials. Some 𝑔∈𝑆⁠ does not vanish at a point of 𝑈⁠, so 𝑔≠0⁠, and 𝑓⁠ vanishes wherever 𝑔⁠ does not; hence 𝑓𝑔⁠ vanishes on all of 𝑘𝑁⁠. A polynomial vanishing on 𝑘𝑁⁠ is zero: for 𝑁=1⁠ this is [Gat23, Folgerung 11.16], and for 𝑁>1⁠ write 𝑓𝑔=∑𝑖ℎ𝑖𝑦𝑁𝑖⁠ with ℎ𝑖∈𝑘[𝑦1,…,𝑦𝑁−1]⁠; for each 𝑐∈𝑘𝑁−1⁠ the polynomial ∑𝑖ℎ𝑖(𝑐)𝑦𝑁𝑖⁠ in one variable vanishes on 𝑘⁠, so every ℎ𝑖⁠ vanishes on 𝑘𝑁−1⁠, and ℎ𝑖=0⁠ by induction. As 𝑘[𝑦1,…,𝑦𝑁]⁠ is an integral domain and 𝑔≠0⁠, we get 𝑓=0⁠. For the last claim, a closed set 𝑉(𝑇)⊇𝑈⁠ has 𝑇⊆𝐼(𝑈)=0⁠, so 𝑉(𝑇)=𝑘𝑁⁠.□⁠

𝐺𝐿𝑛(𝑘)⁠ is not closed in 𝑘𝑛×𝑛⁠; it is the open complement of 𝑉(det)⁠. Here 𝑧𝑖𝑗⁠ denotes the coordinate function 𝑔↦𝑔𝑖𝑗⁠ on 𝑘𝑛×𝑛⁠, and det(𝑧)=det((𝑧𝑖𝑗)𝑖,𝑗)⁠ is the determinant as a polynomial in them. 𝐺𝐿𝑛(𝑘)⁠ is a variety all the same: the map 𝑔↦(𝑔,det(𝑔)−1)⁠ identifies it with the variety {(𝑔,𝑠):𝑠det(𝑔)=1}⁠ in 𝑘𝑛2+1⁠. Its coordinate ring is

𝑘[𝐺𝐿𝑛]=𝑘[𝑧𝑖𝑗,det(𝑧)−1],

the functions on 𝐺𝐿𝑛(𝑘)⁠ that are polynomials in the entries 𝑧𝑖𝑗⁠ and in det(𝑧)−1⁠. A subset of 𝐺𝐿𝑛(𝑘)⁠ is closed if it is the zero set of such functions; clearing denominators, this is the same as the intersection of 𝐺𝐿𝑛(𝑘)⁠ with a closed subset of 𝑘𝑛×𝑛⁠.

Definition 4.1.5 (Linear algebraic group). A linear algebraic group is a subgroup 𝐺≤𝐺𝐿𝑛(𝑘)⁠ that is closed in 𝐺𝐿𝑛(𝑘)⁠. Its coordinate ring is 𝑘[𝐺]≔𝑘[𝐺𝐿𝑛]/𝐼(𝐺)⁠, where 𝐼(𝐺)⁠ is the ideal of functions in 𝑘[𝐺𝐿𝑛]⁠ vanishing on 𝐺⁠. So 𝑘[𝐺]⁠ is the ring of functions 𝐺→𝑘⁠ obtained by restricting elements of 𝑘[𝐺𝐿𝑛]⁠; these are the regular functions on 𝐺⁠.

A morphism of linear algebraic groups 𝜑:𝐺→𝐻⁠, 𝐻≤𝐺𝐿𝑚(𝑘)⁠, is a group homomorphism whose 𝑚2⁠ matrix entries 𝑔↦𝜑(𝑔)𝑖𝑗⁠ are regular functions on 𝐺⁠.

Multiplication (𝑔,ℎ)↦𝑔ℎ⁠ and inversion 𝑔↦𝑔−1⁠ are given by polynomials in the entries and in det(𝑧)−1⁠, the latter by Cramer’s rule, 𝑔−1=det(𝑔)−1adj(𝑔)⁠. So they are morphisms of varieties, and composing a regular function with either gives a regular function. In particular 𝑔↦𝜑(𝑔−1)=𝜑(𝑔)−1⁠ is regular whenever 𝜑⁠ is, which is used below without further comment.

Example 4.1.6 (The groups of Part II).
  1. (1)𝐺𝐿𝑛(𝑘)⁠ itself, and 𝑆𝐿𝑛(𝑘)=𝑉(det−1)⁠.

  2. (2)The diagonal matrices 𝐷𝑛≔𝑉(𝑧𝑖𝑗:𝑖≠𝑗)⁠. The map 𝑡↦diag(𝑡1,…,𝑡𝑛)⁠ identifies 𝐷𝑛⁠ with the torus 𝑇=(𝑘×)𝑛⁠ of Definition 1.5.1, and 𝑘[𝐷𝑛]⁠ with the Laurent polynomial ring 𝑘[𝑡1±1,…,𝑡𝑛±1]⁠. Indeed the restrictions of 𝑧𝑖𝑖⁠ and det(𝑧)−1⁠ are 𝑡𝑖⁠ and (𝑡1⋯𝑡𝑛)−1⁠, and distinct Laurent monomials are linearly independent as functions on (𝑘×)𝑛⁠: if a Laurent polynomial vanishes on (𝑘×)𝑛⁠, its product with a suitable monomial is a polynomial vanishing on the nonempty open set (𝑘×)𝑛=𝑘𝑛∖𝑉(𝑡1⋯𝑡𝑛)⁠, hence zero by Lemma 4.1.4 (5).

  3. (3)The scalar matrices {𝑡𝐼𝑛:𝑡∈𝑘×}⁠ of Example 1.2.11, a torus of rank 1⁠.

  4. (4)Every finite subgroup: a point 𝑐∈𝑘𝑁⁠ is the closed set 𝑉(𝑦1−𝑐1,…,𝑦𝑁−𝑐𝑁)⁠, so finite sets are closed by Lemma 4.1.4 (1). Every subset of a finite set is finite, so the Zariski topology on a finite set is discrete. Moreover 𝑘[𝐺]⁠ is the ring of all functions 𝐺→𝑘⁠, since every function on a finite subset of 𝑘𝑁⁠ is the restriction of a polynomial [Gat13, Example 1.15 (b)]. Every representation of a finite group is therefore rational in the sense of Definition 4.1.8 below, and Part I is the special case of Part II in which 𝐺⁠ is finite.

  5. (5)The additive group 𝐺𝑎≔{(1𝑠01):𝑠∈𝑘}≅(𝑘,+)⁠, with 𝑘[𝐺𝑎]=𝑘[𝑠]⁠. It is our standard example of a group that is not linearly reductive, see Example 4.2.2 and Remark 4.3.4 below.

  6. (6)The orthogonal group 𝑂𝑛={𝑔:𝑔𝖳𝑔=𝐼}⁠, the symplectic group, and the upper triangular matrices are closed; none of them is used in these notes.

Not every subgroup of 𝐺𝐿𝑛(𝑘)⁠ is closed. Let 𝑘=ℂ⁠ and 𝑆1≔{𝑡∈ℂ×:|𝑡|=1}≤𝐺𝐿1(ℂ)⁠. A closed subset of 𝐺𝐿1(ℂ)=ℂ×⁠ is the intersection of ℂ×⁠ with a closed subset of ℂ⁠, so by Example 4.1.3 (1) it is finite or all of ℂ×⁠. As 𝑆1⁠ is infinite, it is not closed, and its closure is 𝐺𝐿1(ℂ)⁠.

Remark 4.1.7 (Group law and coordinate ring). Because multiplication is polynomial, (𝑔,ℎ)↦𝑓(𝑔ℎ)⁠ is a regular function on 𝐺×𝐺⁠ for every 𝑓∈𝑘[𝐺]⁠, and 𝑘[𝐺×𝐺]=𝑘[𝐺]⊗𝑘𝑘[𝐺]⁠. So there is a 𝑘⁠-algebra homomorphism 𝜇∗:𝑘[𝐺]→𝑘[𝐺]⊗𝑘[𝐺]⁠, the comultiplication, with 𝑓(𝑔ℎ)=∑𝑖𝑓𝑖(𝑔)𝑓𝑖′(ℎ)⁠ whenever 𝜇∗(𝑓)=∑𝑖𝑓𝑖⊗𝑓𝑖′⁠. Textbooks on algebraic groups, such as [Hum75, sec. 7.6] and [Bor91, sec. I.1], build the whole theory on 𝜇∗⁠; abstractly, a linear algebraic group is an affine variety with a group law given by morphisms, and by [Hum75, Theorem 8.6] every such group is isomorphic to a closed subgroup of some 𝐺𝐿𝑛⁠. These notes never leave 𝐺𝐿𝑛⁠, and use 𝜇∗⁠ only in the following disguise: an identity between regular functions that holds for all 𝑔,ℎ∈𝐺⁠ is an identity in 𝑘[𝐺]⊗𝑘[𝐺]⁠, so coefficients may be compared. Proposition 4.2.11 below is the one place that needs it.

The identity component 𝐺∘⁠ is the connected component of 𝐼𝑛⁠ in the Zariski topology; by [Hum75, sec. 7.3] it is a closed normal subgroup of finite index. 𝐺𝐿𝑛⁠, 𝑆𝐿𝑛⁠, tori and 𝐺𝑎⁠ are connected, 𝑂𝑛⁠ has two components, and a finite group has 𝐺∘=1⁠.

Rational representations

Definition 4.1.8 (Rational representation). A rational representation of a linear algebraic group 𝐺⁠ is a finite-dimensional 𝑘⁠-vector space 𝑉⁠ with a morphism of algebraic groups 𝜌:𝐺→𝐺𝐿(𝑉)⁠; that is, in one and hence every basis of 𝑉⁠, the matrix entries of 𝜌(𝑔)⁠ are regular functions of 𝑔⁠. We write 𝑔⋅𝑣≔𝜌(𝑔)𝑣⁠. A subrepresentation is a 𝐺⁠-stable subspace 𝑈⊆𝑉⁠; the restriction 𝜌|𝑈⁠ is again rational, as is the induced representation on 𝑉/𝑈⁠. A representation is irreducible if it is nonzero and has no subrepresentation other than 0⁠ and itself. If the entries are polynomials in the 𝑧𝑖𝑗⁠ alone, with no det(𝑧)−1⁠, the representation is polynomial.

We write 𝑘[𝑉]𝐺⁠ for the invariant ring of Definition 1.2.3 with 𝐺⁠ acting through 𝜌⁠; only the image 𝜌(𝐺)≤𝐺𝐿(𝑉)⁠ matters, as before.

Example 4.1.9 (Rational representations in use).
  1. (1)The natural representation of 𝐺𝐿𝑛⁠ or 𝑆𝐿𝑛⁠ on 𝑉=𝑘𝑛⁠, 𝜌=id⁠. Both have 𝑘[𝑉]𝐺=𝑘⁠: for 𝐺𝐿𝑛⁠ by Example 1.2.11, since it contains the scalars; for 𝑆𝐿𝑛⁠ with 𝑛≥2⁠ because 𝑆𝐿𝑛⁠ acts transitively on 𝑉∖{0}⁠ (complete 𝑣≠0⁠ to a basis and scale the last vector). So an invariant 𝑓⁠ is constant on 𝑉∖{0}⁠, and 𝑓−𝑓(𝑒1)⁠ vanishes on this nonempty open set, hence is zero by Lemma 4.1.4 (5). Both arguments use only that 𝑘⁠ is infinite.

  2. (2)The torus action of Definition 1.5.1, 𝑡↦diag(𝑡𝑎1,…,𝑡𝑎𝑛)⁠ for 𝑎1,…,𝑎𝑛∈ℤ𝑟⁠, is a rational representation of 𝑇=(𝑘×)𝑟⁠: Laurent monomials are regular on 𝑇⁠ by Example 4.1.6 (2). Up to a change of basis, every rational representation of a torus is of this form (Proposition 4.2.11 below).

  3. (3)Conjugation of 𝐺𝐿𝑛⁠ on 𝑉=𝑘𝑛×𝑛⁠, 𝐴↦𝑔𝐴𝑔−1⁠, from Example 1.2.12, is rational: the entries of 𝑔𝐴𝑔−1⁠ are polynomials in the entries of 𝑔⁠ and of 𝑔−1⁠. For 𝑛≥2⁠ it is not polynomial. The determinant 𝑔↦det(𝑔)⁠ is a one-dimensional polynomial representation.

  4. (4)Every representation of a finite group, by Example 4.1.6 (4).

  5. (5)Not every representation is rational. Let 𝑘=ℂ⁠. Complex conjugation 𝑡↦𝑡¯⁠ is a group homomorphism 𝐺𝐿1(ℂ)→𝐺𝐿1(ℂ)⁠. By Example 4.1.6 (2) the regular functions on 𝐺𝐿1(ℂ)=ℂ×⁠ are the Laurent polynomials in 𝑡⁠. If 𝑝⁠ were one with 𝑝(𝑡)=𝑡¯⁠ for all 𝑡⁠, then 𝑝(𝑡)−𝑡⁠ would vanish at every real 𝑡≠0⁠; after multiplication with a power of 𝑡⁠ this is a polynomial with infinitely many zeros, so 𝑝=𝑡⁠ by [Gat23, Lemma 11.15 (b)]. But 𝑖¯=−𝑖≠𝑖⁠.

The action on polynomial functions is again rational, so the invariant theory of Section 1.2 applies.

Lemma 4.1.10 (The action on polynomials is rational). Let 𝑉=𝑘𝑛⁠ be a rational representation of 𝐺⁠ and let 𝐺⁠ act on 𝑘[𝑉]=𝑘[𝑥1,…,𝑥𝑛]⁠ by Definition 1.2.1, (𝑔⋅𝑓)(𝑣)≔𝑓(𝑔−1⋅𝑣)⁠. Then each 𝑘[𝑉]𝑑⁠ is a rational representation of 𝐺⁠, and 𝑘[𝑉]𝐺=⨁𝑑(𝑘[𝑉]𝑑)𝐺⁠ is a graded subalgebra.
Proof. By Definition 1.2.1, 𝑔⋅𝑥𝑖=∑𝑗(𝜌(𝑔)−1)𝑖𝑗 𝑥𝑗⁠, so in the monomial basis of 𝑘[𝑉]𝑑⁠ the matrix of 𝑔⋅⁠ has entries that are polynomials in the entries of 𝜌(𝑔)−1=𝜌(𝑔−1)⁠. These are regular functions of 𝑔⁠. The grading statement is Proposition 1.2.7, whose proof used only that 𝑔⋅⁠ substitutes linear forms for the variables.□⁠

Binary forms

Chapter 5 studies one family of representations of 𝑆𝐿2⁠, which we introduce now.

Definition 4.1.11 (Binary forms and their invariants). Let 𝑘[𝑥,𝑦]⁠ be the coordinate ring of 𝑘2⁠. The space of binary forms of degree 𝑑⁠ is 𝑉𝑑≔𝑘[𝑥,𝑦]𝑑⁠, of dimension 𝑑+1⁠, with basis 𝑥𝑑,𝑥𝑑−1𝑦,…,𝑦𝑑⁠. By Lemma 4.1.10, 𝐺𝐿2⁠ acts on 𝑉𝑑⁠ by substitution, (𝑔⋅𝑓)(𝑣)=𝑓(𝑔−1𝑣)⁠, and this is a rational representation of 𝐺𝐿2⁠ and of 𝑆𝐿2⁠.

Write 𝑓=𝑎0𝑥𝑑+𝑎1𝑥𝑑−1𝑦+⋯+𝑎𝑑𝑦𝑑⁠ and let 𝑎0,…,𝑎𝑑⁠ be the coordinate functions on 𝑉𝑑⁠, so 𝑘[𝑉𝑑]=𝑘[𝑎0,…,𝑎𝑑]⁠. An invariant of binary forms of degree 𝑑⁠ is an element of 𝑘[𝑉𝑑]𝑆𝐿2⁠, for the action of Definition 1.2.1 on 𝑘[𝑉𝑑]⁠: (𝑔⋅𝐹)(𝑓)=𝐹(𝑔−1⋅𝑓)=𝐹(𝑓∘𝑔)⁠, where 𝑓∘𝑔⁠ is 𝑓⁠ with 𝑔⁠ substituted for the variables. So 𝐹⁠ is invariant exactly when substituting any 𝑔∈𝑆𝐿2⁠ into a form does not change the value of 𝐹⁠ on its coefficients. This is the classical definition.

𝑆𝐿2⁠ rather than 𝐺𝐿2⁠ because a scalar matrix 𝑡𝐼⁠ acts on 𝑉𝑑⁠ by 𝑡−𝑑⁠, so as in Example 1.2.11 no polynomial of positive degree in the 𝑎𝑖⁠ is 𝐺𝐿2⁠-invariant. The 𝐺𝐿2⁠-invariants up to a power of det⁠ are exactly the 𝑆𝐿2⁠-invariants; Section 5.1 (chapter 5) makes this precise.

Example 4.1.12 (Linear forms). For 𝑑=1⁠, 𝑉1={𝑎0𝑥+𝑎1𝑦}⁠ and 𝑆𝐿2⁠ acts transitively on 𝑉1∖{0}⁠: the orbit of 𝑥⁠ consists of all 𝑔11𝑥+𝑔12𝑦⁠, and every nonzero pair (𝑔11,𝑔12)⁠ is the first row of a matrix of determinant 1⁠. As in Example 4.1.9 (1), 𝑘[𝑉1]𝑆𝐿2=𝑘⁠.

Example 4.1.13 (The discriminant of a binary quadratic). For 𝑑=2⁠ let 𝐷≔𝑎12−4𝑎0𝑎2∈𝑘[𝑉2]2⁠. Then

𝐷(𝑓∘𝑔)=det(𝑔)2 𝐷(𝑓) (𝑔∈𝐺𝐿2, 𝑓∈𝑉2),

so 𝐷⁠ is an invariant of binary quadratics, and 𝑔⋅𝐷=det(𝑔)2𝐷⁠ for 𝑔∈𝐺𝐿2⁠. To see this, factor 𝑓=ℓ1ℓ2⁠ into linear forms ℓ𝑖=𝑝𝑖𝑥+𝑞𝑖𝑦⁠, which is possible because 𝑘⁠ is algebraically closed. Expanding the product and comparing with the definition of 𝐷⁠,

𝐷(ℓ1ℓ2)=(𝑝1𝑞2+𝑝2𝑞1)2−4𝑝1𝑝2𝑞1𝑞2=(𝑝1𝑞2−𝑝2𝑞1)2=det(𝐿)2,

where 𝐿⁠ is the matrix with rows (𝑝1,𝑞1)⁠ and (𝑝2,𝑞2)⁠. Substituting 𝑔⁠ replaces each row by its product with 𝑔⁠, so 𝐿⁠ becomes 𝐿𝑔⁠ and 𝐷⁠ is multiplied by det(𝑔)2⁠. The vanishing of 𝐷⁠ says that 𝑓⁠ is the square of a linear form.

Section 4.3 shows that 𝐷⁠ generates 𝑘[𝑉2]𝑆𝐿2⁠, and Section 4.4 describes the orbits of 𝑆𝐿2⁠ on 𝑉2⁠ through it.

4.2Linearly reductive groups

In Part I the Reynolds operator, obtained by averaging over a finite group, was the main tool beyond linear algebra. This section introduces a property of a group that gives a Reynolds operator with the properties of Proposition 2.1.6 without averaging, and checks it for the groups of Example 4.1.6. The property is about representations: every subrepresentation has a complement that is again a subrepresentation.

Complete reducibility

Definition 4.2.1 (Linearly reductive group). A linear algebraic group 𝐺⁠ is linearly reductive if for every rational representation 𝑉⁠ of 𝐺⁠ and every subrepresentation 𝑈⊆𝑉⁠ there is a subrepresentation 𝑈′⊆𝑉⁠ with 𝑉=𝑈⊕𝑈′⁠.
Example 4.2.2 (A linearly reductive group and one that is not).
  1. (1)Let 𝐺={𝑡𝐼𝑛:𝑡∈𝑘×}⁠ be the group of scalar matrices of Example 1.2.11, acting on 𝑉=𝑘𝑛⁠ by matrix multiplication. Every subspace 𝑈⊆𝑉⁠ is 𝐺⁠-stable, so every complementary subspace of 𝑈⁠ is a 𝐺⁠-stable complement. That 𝐺⁠ is linearly reductive, that is, that such complements exist in every rational representation, follows from Corollary 4.2.12 below, since 𝐺⁠ is a torus of rank 1⁠.

  2. (2)The additive group 𝐺𝑎⁠ of Example 4.1.6 (5) is not linearly reductive. Let it act on 𝑉=𝑘2⁠ by matrix multiplication, so 𝑔⋅(𝑤1,𝑤2)=(𝑤1+𝑠𝑤2,𝑤2)⁠ for the matrix 𝑔⁠ with upper right entry 𝑠⁠. The line 𝑈=𝑘𝑒1⁠ is a subrepresentation. A 𝐺𝑎⁠-stable complement would be a line 𝑘𝑤⁠ with 𝑤2≠0⁠, and 𝑔⋅𝑤=𝑐𝑤⁠ for some 𝑐∈𝑘⁠. Comparing second coordinates gives 𝑐=1⁠, and then 𝑠𝑤2=0⁠, which fails for 𝑠≠0⁠.

By induction on the dimension, the property of Definition 4.2.1 says that every rational representation is a direct sum of irreducible subrepresentations; conversely a direct sum of irreducibles has a complement for every subrepresentation. We use only the form stated; the equivalence, and further characterisations, are in [DK15, Theorem 2.2.5].

Proposition 4.2.3 (Maschke’s theorem). A finite group 𝐺⁠ is linearly reductive if and only if char𝑘⁠ does not divide |𝐺|⁠.

Proof. Let |𝐺|⁠ be invertible in 𝑘⁠, let 𝑈⊆𝑉⁠ be a subrepresentation and 𝑝:𝑉→𝑈⁠ any 𝑘⁠-linear projection with 𝑝|𝑈=id⁠. Averaging,

𝑞≔1|𝐺|∑𝑔∈𝐺𝜌(𝑔) 𝑝 𝜌(𝑔)−1,

is again a projection onto 𝑈⁠: it maps into 𝑈⁠ because 𝑈⁠ is 𝐺⁠-stable, and it is the identity on 𝑈⁠ for the same reason. It commutes with every 𝜌(ℎ)⁠, as 𝑔↦ℎ𝑔⁠ permutes 𝐺⁠. Hence 𝑈′≔ker𝑞⁠ is a 𝐺⁠-stable complement of 𝑈⁠.

Conversely let char𝑘⁠ divide |𝐺|⁠. Let 𝐺⁠ act on the vector space 𝑊≔⨁ℎ∈𝐺𝑘 𝑒ℎ⁠ with basis indexed by 𝐺⁠, by permuting the basis, 𝑔⋅𝑒ℎ≔𝑒𝑔ℎ⁠, and let 𝑈≔{∑ℎ𝑐ℎ𝑒ℎ:∑ℎ𝑐ℎ=0}⁠, a subrepresentation of codimension 1⁠ on whose quotient 𝐺⁠ acts trivially. A 𝐺⁠-stable complement of 𝑈⁠ would be a line 𝑘𝑤⁠ isomorphic to that quotient, so 𝑤⁠ would be fixed by 𝐺⁠. But a vector fixed by 𝐺⁠ has all its coefficients equal, and ∑ℎ𝑒ℎ⁠ lies in 𝑈⁠ because its coefficient sum is |𝐺|=0⁠ in 𝑘⁠. So 𝑈⁠ has no stable complement.□⁠

For |𝐺|=2⁠ and char𝑘=2⁠, the group acts on 𝑊=𝑘𝑒1⊕𝑘𝑒2⁠ by swapping the two basis vectors, and 𝑈=𝑘(𝑒1+𝑒2)⁠ because −1=1⁠ in 𝑘⁠. The vectors fixed by 𝐺⁠ are the multiples of 𝑒1+𝑒2⁠, so 𝑈⁠ is the only 𝐺⁠-stable line in 𝑊⁠, and it has no 𝐺⁠-stable complement. In general, Proposition 4.2.3 says that for a finite group, linear reductivity is the non-modular hypothesis of Part I (Remark 2.1.14).

The following definition will be useful momentarily.

Definition 4.2.4 (Equivariant maps, invariants). Let 𝑉⁠ and 𝑊⁠ be 𝑘⁠-vector spaces on which 𝐺⁠ acts by linear maps. Examples are rational representations, and the polynomial ring of a rational representation with the action of Definition 1.2.1.

  1. (1)A 𝑘⁠-linear map 𝜑:𝑉→𝑊⁠ is 𝐺⁠-equivariant if 𝜑(𝑔⋅𝑣)=𝑔⋅𝜑(𝑣)⁠ for all 𝑔∈𝐺⁠ and 𝑣∈𝑉⁠.

  2. (2)𝐺⁠ acts trivially on 𝑊⁠ if 𝑔⋅𝑤=𝑤⁠ for all 𝑔∈𝐺⁠ and 𝑤∈𝑊⁠. Then 𝜑:𝑉→𝑊⁠ is 𝐺⁠-equivariant if and only if 𝜑(𝑔⋅𝑣)=𝜑(𝑣)⁠ for all 𝑔⁠ and 𝑣⁠.

  3. (3)The invariants of 𝑉⁠ are 𝑉𝐺≔{𝑣∈𝑉:𝑔⋅𝑣=𝑣 for all 𝑔∈𝐺}⁠, a 𝐺⁠-stable subspace on which 𝐺⁠ acts trivially. For the polynomial ring of a rational representation this is the invariant ring of Definition 1.2.3.

Example 4.2.5 (Equivariant maps).
  1. (1)Let 𝐺𝐿𝑛⁠ act on 𝑉=𝑘𝑛×𝑛⁠ by conjugation, as in Example 4.1.9 (3), and trivially on 𝑊=𝑘⁠. The trace tr:𝑉→𝑘⁠ is 𝐺𝐿𝑛⁠-equivariant, since tr(𝑔𝐴𝑔−1)=tr(𝐴)⁠.

  2. (2)Let 𝐺𝐿𝑛⁠ act on 𝑉=𝑘𝑛⁠ by matrix multiplication. Then 𝑉𝐺=0⁠, since 𝑡𝐼𝑛⁠ with 𝑡≠1⁠ fixes only 0⁠. For the same reason no nonzero linear form ℓ:𝑉→𝑘⁠ is equivariant into the trivial representation 𝑘⁠: if ℓ(𝑣)≠0⁠, then ℓ(𝑡𝑣)=𝑡ℓ(𝑣)≠ℓ(𝑣)⁠.

All properties of the Reynolds operator will follow from the next lemma.

Lemma 4.2.6 (The complement of the invariants). Let 𝐺⁠ be linearly reductive and 𝑉⁠ a rational representation.

  1. (1)𝑉𝐺⁠ has exactly one 𝐺⁠-stable complement 𝑉′⁠ in 𝑉⁠.

  2. (2)𝑉′𝐺=0⁠, and every 𝐺⁠-equivariant linear map from 𝑉′⁠ to a vector space with trivial 𝐺⁠-action is zero.

Proof. We prove (2) first, for any 𝐺⁠-stable complement 𝑉′⁠.

  1. 𝑉′𝐺=𝑉′∩𝑉𝐺=0⁠. Let 𝜑:𝑉′→𝑊⁠ be equivariant with 𝐺⁠ acting trivially on 𝑊⁠. Then ker𝜑⁠ is a subrepresentation of 𝑉′⁠, so 𝑉′=ker𝜑⊕𝐶⁠ with 𝐶⁠ a subrepresentation. 𝜑|𝐶⁠ is injective and equivariant, so 𝐶⁠ is isomorphic as a representation to 𝜑(𝐶)⊆𝑊⁠, on which 𝐺⁠ acts trivially. Hence 𝐶⊆𝑉′𝐺=0⁠ and 𝜑=0⁠.

  2. A complement exists by Definition 4.2.1. If 𝑉′⁠ and 𝑉″⁠ are two of them, let 𝑝:𝑉→𝑉𝐺⁠ be the projection along 𝑉′⁠. It is equivariant into a trivial representation, so by (2) applied to 𝑉″⁠ its restriction to 𝑉″⁠ vanishes: 𝑉″⊆ker𝑝=𝑉′⁠. Both have dimension dim𝑉−dim𝑉𝐺⁠, so 𝑉″=𝑉′⁠.□⁠

The Reynolds operator

Theorem 4.2.7 (Reynolds operator of a linearly reductive group). Let 𝐺⁠ be linearly reductive and 𝑉=𝑘𝑛⁠ a rational representation. There is exactly one map ℛ︀:𝑘[𝑉]→𝑘[𝑉]𝐺⁠ that is 𝑘⁠-linear, the identity on 𝑘[𝑉]𝐺⁠, and 𝐺⁠-equivariant, that is ℛ︀(𝑔⋅𝑓)=ℛ︀(𝑓)⁠ for all 𝑔∈𝐺⁠ and 𝑓∈𝑘[𝑉]⁠. We call ℛ︀⁠ the Reynolds operator of 𝐺⁠. It satisfies:

  1. (1)ℛ︀⁠ maps 𝑘[𝑉]𝑑⁠ onto 𝑘[𝑉]𝑑𝐺⁠ for every 𝑑⁠, so it is a projection of 𝑘[𝑉]⁠ onto 𝑘[𝑉]𝐺⁠ preserving degrees.

  2. (2)ℛ︀(ℎ𝑓)=ℎ ℛ︀(𝑓)⁠ for ℎ∈𝑘[𝑉]𝐺⁠ and 𝑓∈𝑘[𝑉]⁠: ℛ︀⁠ is 𝑘[𝑉]𝐺⁠-linear.

  3. (3)𝑘[𝑉]𝑑𝐺⁠ is spanned by the ℛ︀(𝐱𝑎)⁠ with |𝑎|=𝑑⁠.

  4. (4)ℛ︀(𝑈)=𝑈𝐺⁠ for every 𝐺⁠-stable subspace 𝑈⊆𝑘[𝑉]⁠; in particular ℛ︀(𝐼)⊆𝐼⁠ for every 𝐺⁠-stable ideal 𝐼⁠.

Proof. For 𝑒≥0⁠ let 𝑊𝑒≔⨁𝑑≤𝑒𝑘[𝑉]𝑑⁠, a finite-dimensional rational representation by Lemma 4.1.10, and let 𝑊𝑒=𝑊𝑒𝐺⊕𝑊𝑒′⁠ be the decomposition of Lemma 4.2.6. Let ℛ︀𝑒:𝑊𝑒→𝑊𝑒𝐺⁠ be the projection along 𝑊𝑒′⁠.

Compatibility. For 𝑒≤𝑒′⁠, the restriction of ℛ︀𝑒′⁠ to 𝑊𝑒⁠ is an equivariant map into the trivial representation 𝑊𝑒′𝐺⁠. It is the identity on 𝑊𝑒𝐺⁠, and it vanishes on 𝑊𝑒′⁠ by Lemma 4.2.6 (2). So it equals ℛ︀𝑒⁠, and ℛ︀(𝑓)≔ℛ︀𝑒(𝑓)⁠ for any 𝑒≥deg𝑓⁠ is well defined.

Existence. ℛ︀⁠ is 𝑘⁠-linear and the identity on invariants by construction. For 𝑓∈𝑊𝑒⁠ write 𝑓=𝑎+𝑏⁠ with 𝑎∈𝑊𝑒𝐺⁠, 𝑏∈𝑊𝑒′⁠; then 𝑔⋅𝑓=𝑎+𝑔⋅𝑏⁠ with 𝑔⋅𝑏∈𝑊𝑒′⁠, so ℛ︀(𝑔⋅𝑓)=𝑎=ℛ︀(𝑓)⁠.

Uniqueness. Let ℛ︀′⁠ be another linear, equivariant map 𝑘[𝑉]→𝑘[𝑉]𝐺⁠ fixing 𝑘[𝑉]𝐺⁠. On 𝑊𝑒𝐺⁠ both agree with the identity; on 𝑊𝑒′⁠ both are equivariant maps into a trivial representation, hence zero by Lemma 4.2.6 (2). So ℛ︀′=ℛ︀⁠ on every 𝑊𝑒⁠.

  1. (1)By Lemma 4.1.10 each 𝑘[𝑉]𝑑⁠ is a subrepresentation of 𝑊𝑒⁠, with its own decomposition 𝑘[𝑉]𝑑=𝑘[𝑉]𝑑𝐺⊕(𝑘[𝑉]𝑑)′⁠. The sum ⨁𝑑≤𝑒(𝑘[𝑉]𝑑)′⁠ is a 𝐺⁠-stable complement of 𝑊𝑒𝐺=⨁𝑑≤𝑒𝑘[𝑉]𝑑𝐺⁠, hence equals 𝑊𝑒′⁠ by uniqueness. So ℛ︀⁠ projects 𝑘[𝑉]𝑑⁠ onto 𝑘[𝑉]𝑑𝐺⁠ along (𝑘[𝑉]𝑑)′⁠.

  2. (2)Let 𝑓∈𝑊𝑒⁠ and write 𝑓=ℛ︀(𝑓)+𝑓′⁠ with 𝑓′∈𝑊𝑒′⁠. Then ℎ𝑓=ℎℛ︀(𝑓)+ℎ𝑓′⁠ with ℎℛ︀(𝑓)⁠ invariant, so ℛ︀(ℎ𝑓)=ℎℛ︀(𝑓)+ℛ︀(ℎ𝑓′)⁠, and it remains to see ℛ︀(ℎ𝑓′)=0⁠. The map 𝑊𝑒′→𝑘[𝑉]𝐺⁠, 𝑢↦ℛ︀(ℎ𝑢)⁠, is linear and equivariant into a trivial representation, since 𝑔⋅(ℎ𝑢)=(𝑔⋅ℎ)(𝑔⋅𝑢)=ℎ (𝑔⋅𝑢)⁠ gives ℛ︀(ℎ(𝑔⋅𝑢))=ℛ︀(𝑔⋅(ℎ𝑢))=ℛ︀(ℎ𝑢)⁠. By Lemma 4.2.6 (2) it is zero.

  3. (3)The monomials of degree 𝑑⁠ span 𝑘[𝑉]𝑑⁠, and ℛ︀⁠ maps 𝑘[𝑉]𝑑⁠ onto 𝑘[𝑉]𝑑𝐺⁠ by (1).

  4. (4)Let 𝑓∈𝑈⁠ and 𝑒≔deg𝑓⁠. Then 𝑈𝑒≔𝑈∩𝑊𝑒⁠ is a subrepresentation of 𝑊𝑒⁠ containing 𝑓⁠, with its own decomposition 𝑈𝑒=𝑈𝑒𝐺⊕𝑈𝑒′⁠. The restriction of ℛ︀𝑒⁠ to 𝑈𝑒⁠ is equivariant into a trivial representation, the identity on 𝑈𝑒𝐺⁠ and zero on 𝑈𝑒′⁠; so ℛ︀(𝑓)∈𝑈𝑒𝐺⊆𝑈𝐺⁠. The inclusion 𝑈𝐺⊆ℛ︀(𝑈)⁠ holds because ℛ︀⁠ fixes invariants.□⁠

Remark 4.2.8 (What this gives back). For a finite group in the non-modular case, averaging is 𝑘⁠-linear and the identity on invariants by Proposition 2.1.6 (1), (2), and it is equivariant because 𝑔↦𝑔ℎ⁠ permutes 𝐺⁠. By the uniqueness just proved it is ℛ︀⁠, so Part I’s Reynolds operator is the case of Theorem 4.2.7 for the groups of Proposition 4.2.3.

More useful is the other direction. Proposition 2.1.6 (1)–(4) are exactly (1)–(3) above together with linearity, and several results of Part I were proved from those four properties and nothing else about 𝐺⁠: Lemma 2.3.3, Theorem 2.3.4, and the step in the proof of Theorem 3.2.8 that passes from a regular sequence on 𝑘[𝑉]⁠ to one on 𝑘[𝑉]𝐺⁠. Each of them holds, with the same proof, for every linearly reductive group. Section 4.3 uses this.

Property (4) is new; it is what Section 4.4 needs to compare zero sets of invariants with zero sets of polynomials.

Tori

For a torus we can write down the Reynolds operator explicitly. The reason is that every rational representation of a torus decomposes into weight spaces, as 𝑘[𝑉]⁠ decomposed into the spans of monomials in Proposition 1.5.2. The following definition will be useful momentarily.

Definition 4.2.9 (Weights). Let 𝑇=(𝑘×)𝑟⁠, let 𝑉⁠ be a rational representation of 𝑇⁠, and for 𝑎∈ℤ𝑟⁠ write 𝑡𝑎≔𝑡1𝑎1⋯𝑡𝑟𝑎𝑟⁠ as in Definition 1.5.1. The weight space of 𝑎⁠ is

𝑊𝑎≔{𝑣∈𝑉:𝑡⋅𝑣=𝑡𝑎𝑣 for all 𝑡∈𝑇}.

If 𝑊𝑎≠0⁠, then 𝑎⁠ is a weight of 𝑉⁠, and the nonzero elements of 𝑊𝑎⁠ are the weight vectors of weight 𝑎⁠.

Example 4.2.10 (Weights of a one-parameter torus). Let 𝑇=𝑘×⁠ act on 𝑉=𝑘3⁠ with weights 1,1,−2⁠ as in Example 1.5.6, that is, 𝑡⋅(𝑣1,𝑣2,𝑣3)=(𝑡𝑣1,𝑡𝑣2,𝑡−2𝑣3)⁠.

  1. (1)𝑊1=𝑘𝑒1⊕𝑘𝑒2⁠ and 𝑊−2=𝑘𝑒3⁠, and 𝑊𝑎=0⁠ for every other 𝑎∈ℤ⁠. So 𝑉=𝑊1⊕𝑊−2⁠.

  2. (2)𝑒1+𝑒3⁠ is not a weight vector: 𝑡⋅(𝑒1+𝑒3)=𝑡𝑒1+𝑡−2𝑒3⁠ is a multiple of 𝑒1+𝑒3⁠ only if 𝑡3=1⁠.

  3. (3)Each 𝑘[𝑉]𝑑⁠ is a rational representation of 𝑇⁠ by Lemma 4.1.10, and Definition 1.5.1 gives 𝑡⋅𝐱𝑢=𝑡−𝐴𝑢𝐱𝑢⁠ with 𝐴=(11−2)⁠. So every monomial 𝐱𝑢⁠ is a weight vector of weight −𝐴𝑢⁠: for instance 𝑥1⁠ has weight −1⁠, 𝑥3⁠ has weight 2⁠, and 𝑥12𝑥3⁠ has weight 0⁠. The invariants in 𝑘[𝑉]𝑑⁠ form the weight space (𝑘[𝑉]𝑑)0⁠, which is Proposition 1.5.2.

Proposition 4.2.11 (Weight decomposition). Let 𝑇=(𝑘×)𝑟⁠ act rationally on 𝑉⁠. Then 𝑉=⨁𝑎𝑊𝑎⁠, with only finitely many 𝑊𝑎≠0⁠, and every subrepresentation 𝑈⊆𝑉⁠ satisfies 𝑈=⨁𝑎(𝑈∩𝑊𝑎)⁠. In a basis of weight vectors 𝑇⁠ acts by diag(𝑡𝑎1,…,𝑡𝑎𝑛)⁠ with 𝑎1,…,𝑎𝑛∈ℤ𝑟⁠, as in Definition 1.5.1.

Proof. The entries of 𝜌(𝑡)⁠ are Laurent polynomials in 𝑡1,…,𝑡𝑟⁠ by Example 4.1.6 (2), so collecting coefficients, 𝜌(𝑡)=∑𝑎𝑡𝑎𝑃𝑎⁠ with 𝑃𝑎∈End(𝑉)⁠ and finitely many 𝑃𝑎≠0⁠. The identity 𝜌(𝑠𝑡)=𝜌(𝑠)𝜌(𝑡)⁠ for all 𝑠,𝑡∈𝑇⁠ reads

∑𝑎𝑠𝑎𝑡𝑎𝑃𝑎=∑𝑎,𝑏𝑠𝑏𝑡𝑎 𝑃𝑏𝑃𝑎.

Both sides are Laurent polynomials in the 2𝑟⁠ variables 𝑠𝑖,𝑡𝑖⁠ with coefficients in End(𝑉)⁠, and they agree at every point of (𝑘×)2𝑟⁠. By Example 4.1.6 (2), applied to each matrix entry, they agree coefficientwise, which gives 𝑃𝑏𝑃𝑎=𝛿𝑎𝑏𝑃𝑎⁠. From 𝜌(1)=id⁠, ∑𝑎𝑃𝑎=id⁠. So the 𝑃𝑎⁠ are orthogonal idempotents summing to the identity, and 𝑉=⨁𝑎𝑃𝑎𝑉⁠.

𝑃𝑎𝑉⊆𝑊𝑎⁠, since 𝑡⋅𝑃𝑎𝑣=∑𝑏𝑡𝑏𝑃𝑏𝑃𝑎𝑣=𝑡𝑎𝑃𝑎𝑣⁠. Conversely, for 𝑣∈𝑊𝑏⁠ the identity ∑𝑎𝑡𝑎𝑃𝑎𝑣=𝑡⋅𝑣=𝑡𝑏𝑣⁠ holds for all 𝑡⁠, and comparing coefficients of 𝑡𝑎⁠ as before gives 𝑃𝑎𝑣=𝛿𝑎𝑏𝑣⁠. So 𝑃𝑎⁠ is the identity on 𝑊𝑎⁠, and 𝑊𝑎=𝑃𝑎𝑉⁠.

A subrepresentation 𝑈⁠ is a rational representation of 𝑇⁠ in its own right, so the decomposition applies to it, and its weight spaces are 𝑈𝑎=𝑈∩𝑊𝑎⁠.□⁠

Corollary 4.2.12 (Tori are linearly reductive). Every torus 𝑇=(𝑘×)𝑟⁠ is linearly reductive, in every characteristic. For the action of Definition 1.5.1 on 𝑉=𝑘𝑛⁠ with weights 𝑎1,…,𝑎𝑛⁠, the Reynolds operator is

ℛ︀(∑𝑢𝑐𝑢𝐱𝑢)=∑𝐴𝑢=0𝑐𝑢𝐱𝑢,

the projection onto the span of the invariant monomials of Proposition 1.5.2.

Proof. Let 𝑈⊆𝑉⁠ be a subrepresentation. By Proposition 4.2.11, 𝑈=⨁𝑎(𝑈∩𝑊𝑎)⁠; choose a complement 𝐶𝑎⁠ of 𝑈∩𝑊𝑎⁠ in each 𝑊𝑎⁠. Since 𝑇⁠ acts on 𝑊𝑎⁠ by scalars, every subspace of 𝑊𝑎⁠ is 𝑇⁠-stable, so 𝐶≔⨁𝑎𝐶𝑎⁠ is a subrepresentation, and 𝑉=𝑈⊕𝐶⁠.

For the Reynolds operator: by Definition 1.5.1, 𝑡⋅𝐱𝑢=𝑡−𝐴𝑢𝐱𝑢⁠, so the monomials are weight vectors of 𝑘[𝑉]𝑑⁠ and 𝑘[𝑉]𝑑𝑇=(𝑘[𝑉]𝑑)0⁠ is spanned by those with 𝐴𝑢=0⁠. The projection onto (𝑘[𝑉]𝑑)0⁠ along ⨁𝑎≠0(𝑘[𝑉]𝑑)𝑎⁠ is linear, equivariant and fixes invariants, so it is ℛ︀⁠ by uniqueness.□⁠

The proof used only that 𝑘⁠ is infinite. The formula says that ℛ︀(𝑓)⁠ is the constant term of 𝑡⋅𝑓⁠, viewed as a Laurent polynomial in 𝑡1,…,𝑡𝑟⁠ with coefficients in 𝑘[𝑉]⁠. Over ℂ⁠ this is the average of 𝑡⋅𝑓⁠ over the compact subgroup {𝑡:|𝑡1|=⋯=|𝑡𝑟|=1}⁠, because the average of 𝑡𝑚⁠ over it is 0⁠ for 𝑚≠0⁠. The proof of the next theorem uses such an average.

The general and special linear groups

Theorem 4.2.13 (Weyl’s unitarian trick). In characteristic 0⁠, 𝐺𝐿𝑛(𝑘)⁠ and 𝑆𝐿𝑛(𝑘)⁠ are linearly reductive.

Proof. We give the argument for 𝑘=ℂ⁠ and 𝐺=𝐺𝐿𝑛(ℂ)⁠; for 𝑆𝐿𝑛⁠ replace 𝑈(𝑛)⁠ by 𝑆𝑈(𝑛)⁠ throughout. Two facts are used without proof. First, the unitary group 𝐾≔𝑈(𝑛)={𝑔:𝑔∗𝑔=𝐼}⁠ is a compact subgroup of 𝐺⁠ which is Zariski dense [Kra85, DK15, sec. 2.2.1]: a regular function on 𝐺⁠ vanishing on 𝐾⁠ is zero. Second, a compact group carries a Haar integral, a translation-invariant positive linear functional ∫𝐾⁠ on continuous functions with ∫𝐾1=1⁠.

Let 𝑉⁠ be a rational representation and 𝑈⊆𝑉⁠ a subrepresentation. Choose any Hermitian inner product ⟨ , ⟩⁠ on 𝑉⁠ and average it,

⟨𝑣,𝑤⟩𝐾≔∫𝐾⟨𝜌(ℎ)𝑣,𝜌(ℎ)𝑤⟩ 𝑑ℎ,

which is a 𝐾⁠-invariant Hermitian inner product; the integrand is continuous in ℎ⁠ because the entries of 𝜌(ℎ)⁠ are regular functions of ℎ⁠. The orthogonal complement 𝑈⟂⁠ with respect to ⟨ , ⟩𝐾⁠ is 𝐾⁠-stable. The set {𝑔∈𝐺:𝜌(𝑔)𝑈⟂⊆𝑈⟂}⁠ is the zero set of regular functions on 𝐺⁠, namely ℓ(𝜌(𝑔)𝑢)⁠ for a basis 𝑢⁠ of 𝑈⟂⁠ and linear forms ℓ⁠ vanishing on 𝑈⟂⁠; it contains the dense subgroup 𝐾⁠, so it is all of 𝐺⁠. Hence 𝑉=𝑈⊕𝑈⟂⁠ with 𝑈⟂⁠ a subrepresentation.

For an arbitrary algebraically closed 𝑘⁠ of characteristic 0⁠ the theorem is a special case of [DK15, Theorem 2.2.13], which also covers 𝑂𝑛⁠, 𝑆𝑝2𝑛⁠, every semisimple group (a class of groups we do not define; 𝑆𝐿𝑛⁠ and 𝑆𝑝2𝑛⁠ belong to it), and direct products of these with tori and with finite groups.□⁠

The trick is due to Weyl [Wey46]. The same averaging shows that the Reynolds operator of 𝐺𝐿𝑛(ℂ)⁠ is ℛ︀(𝑓)=∫𝐾ℎ⋅𝑓 𝑑ℎ⁠, an average over the compact subgroup 𝐾⁠. This formula is of no use for computation; Section 5.3 replaces it by Cayley’s differential operator.

Remark 4.2.14 (Positive characteristic). Over a field of characteristic 𝑝>0⁠ few groups are linearly reductive: by a theorem of Nagata [Nag61, DK15, Theorem 2.2.19], 𝐺⁠ is linearly reductive if and only if 𝐺∘⁠ is a torus and 𝑝⁠ does not divide [𝐺:𝐺∘]⁠. In particular 𝑆𝐿2⁠ is not linearly reductive. This can be seen on the binary forms of degree 𝑝⁠. The span of 𝑥𝑝⁠ and 𝑦𝑝⁠ is a subrepresentation, as (𝛼𝑥+𝛽𝑦)𝑝=𝛼𝑝𝑥𝑝+𝛽𝑝𝑦𝑝⁠. The weight spaces of the diagonal torus {diag(𝑠,𝑠−1):𝑠∈𝑘×}⁠ of 𝑆𝐿2⁠ on 𝑉𝑝⁠ are the lines spanned by the monomials, so by Proposition 4.2.11 a stable complement would have to be the span of the remaining monomials; but the substitution 𝑥↦𝑥+𝑦⁠ does not preserve it. This is why Part II assumes characteristic 0⁠. Hilbert’s finiteness theorem holds in positive characteristic for 𝐺𝐿𝑛⁠ and 𝑆𝐿𝑛⁠ as well, by a harder argument of Nagata and Haboush with a weaker notion of reductivity, see [DK15, sec. 2.2.2]; we do not use it. A subgroup is unipotent if it is conjugate to a group of upper triangular matrices with ones on the diagonal, and 𝐺⁠ is reductive if its largest connected normal unipotent subgroup is trivial. In characteristic 0⁠ this is the same as linearly reductive, in characteristic 𝑝⁠ it is weaker.

In every characteristic 𝐺𝑎⁠ is not linearly reductive, by Example 4.2.2 (2).

4.3Hilbert’s finiteness theorem

The first question of Section 1.2 was whether 𝑘[𝑉]𝐺⁠ is finitely generated. For linearly reductive groups the answer is yes, and the proof is the Hilbert ideal argument of Theorem 2.3.4, which used only properties of the Reynolds operator. This section states the theorem and its consequences for the structure of 𝑘[𝑉]𝐺⁠ as a graded algebra, explains why the hypothesis on 𝐺⁠ cannot be dropped, and computes the invariants of binary quadratics.

The theorem

Theorem 4.3.1 (Hilbert’s finiteness theorem). Let 𝐺⁠ be linearly reductive and 𝑉⁠ a rational representation. Then 𝑘[𝑉]𝐺⁠ is a finitely generated 𝑘⁠-algebra. More precisely, for homogeneous invariants 𝑓1,…,𝑓𝑟∈𝑘[𝑉]+𝐺⁠,

𝑘[𝑉]𝐺=𝑘[𝑓1,…,𝑓𝑟] ⟺ 𝔥=⟨𝑓1,…,𝑓𝑟⟩,

where 𝔥=⟨𝑘[𝑉]+𝐺⟩⊴𝑘[𝑉]⁠ is the Hilbert ideal of Definition 2.3.1, and 𝔥⁠ is generated by finitely many homogeneous invariants.

Proof. The equivalence is Theorem 2.3.4. Its proof, through Lemma 2.3.3, used of 𝐺⁠ only Proposition 2.1.6 (1)–(3), which Theorem 4.2.7 provides; see Remark 4.2.8. By Hilbert’s basis theorem [Gat13, Proposition 7.13] 𝑘[𝑉]⁠ is Noetherian, so 𝔥⁠ is finitely generated, and since it is generated by the homogeneous invariants of positive degree, finitely many of those suffice. Apply the equivalence to them.□⁠

This is the theorem of Hilbert [Hil90], proved there for 𝑆𝐿𝑛⁠ with the Reynolds operator supplied by Cayley’s Ω⁠-process; Section 5.4 gives that version. The proof was the first application of the basis theorem. It shows that finitely many generators exist without saying how to find them, and Gordan objected to it as theology rather than mathematics. Hilbert’s answer three years later [Hil93] was an algorithm, the subject of Section 6.1. The proof above is from [DK15, Theorem 2.2.10].

Consequences

Corollary 4.3.2 (The invariant ring as a graded algebra). Let 𝐺⁠ be linearly reductive and 𝑉=𝑘𝑛⁠ a rational representation. Then 𝑘[𝑉]𝐺⁠ is a graded algebra in the sense of Definition 2.2.1, generated by finitely many homogeneous elements, and so everything in Section 3.1 applies:

  1. (1)𝑘[𝑉]𝐺⁠ is Noetherian and has an hsop 𝜃1,…,𝜃𝑟⁠, with 𝑟=dim𝑘[𝑉]𝐺≤𝑛⁠.

  2. (2)𝐻(𝑘[𝑉]𝐺,𝑡)∏𝑖=1𝑟(1−𝑡𝑑𝑖)⁠ is a polynomial, where 𝑑𝑖=deg𝜃𝑖⁠, and 𝐻(𝑘[𝑉]𝐺,𝑡)⁠ has a pole of order 𝑟⁠ at 𝑡=1⁠.

Proof. 𝑘[𝑉]𝐺⁠ is graded by Lemma 4.1.10, with 𝑘[𝑉]0𝐺=𝑘⁠ and finite-dimensional components, and finitely generated by Theorem 4.3.1; the homogeneous components of any finite generating set are homogeneous generators. An hsop exists by Corollary 3.1.18, of length dim𝑘[𝑉]𝐺⁠. Its elements are algebraically independent elements of 𝑘[𝑉]⁠, of which there are at most 𝑛⁠ by Remark 1.1.13. Part (2) is Theorem 3.1.23.□⁠

For finite groups 𝑟=𝑛⁠ by Corollary 3.1.15. In general 𝑟⁠ can take any value between 0⁠ and 𝑛⁠: it is 0⁠ for the scalars of Example 1.2.11, and 2⁠ for the torus of Example 1.5.6, whose invariant ring 𝑘[𝑢,𝑣,𝑤]/⟨𝑢2−𝑣𝑤⟩⁠ has the hsop 𝑣,𝑤⁠ and Hilbert series (1+𝑡3)/(1−𝑡3)2⁠. Cohen–Macaulayness, however, carries over.

Theorem 4.3.3 (Hochster–Roberts). If 𝐺⁠ is linearly reductive, then 𝑘[𝑉]𝐺⁠ is Cohen–Macaulay: it is a free module over 𝑘[𝜃1,…,𝜃𝑟]⁠ for every hsop.

This is [HR74], the theorem that Theorem 3.2.8 announced; it is not proved here. The proof of Theorem 3.2.8 does not carry over as it stands: it used Corollary 3.1.14 to see that an hsop of 𝑘[𝑉]𝐺⁠ is an hsop of 𝑘[𝑉]⁠, which needs 𝑟=𝑛⁠. The Reynolds step of that proof survives, by Remark 4.2.8; the general case needs a different argument, see [DK15, sec. 2.6.2].

Beyond linearly reductive groups

Remark 4.3.4 (Hilbert’s fourteenth problem). Every invariant ring is of the form 𝐿∩𝑘[𝑥1,…,𝑥𝑛]⁠ with 𝐿⁠ a subfield of 𝑘(𝑥1,…,𝑥𝑛)⁠, namely 𝐿=𝑘(𝑥1,…,𝑥𝑛)𝐺⁠. Hilbert’s fourteenth problem of 1900 asked whether every ring of this form is finitely generated. Nagata answered no [Nag59]: there is a solvable subgroup 𝐺≤𝐺𝐿32(ℂ)⁠, generated by a torus and thirteen copies of 𝐺𝑎⁠, whose invariant ring in the natural representation is not finitely generated, see [DK15, Example 2.1.4]; later counterexamples [DK15, Example 2.1.6] live in dimension 5⁠. So the hypothesis on 𝐺⁠ in Theorem 4.3.1 cannot be dropped. Conversely, by [DK15, Theorem 2.2.17], if 𝑘[𝑋]𝐺⁠ is finitely generated for every affine variety 𝑋⁠ on which 𝐺⁠ acts, then 𝐺⁠ is linearly reductive. For a single representation of a group that is not linearly reductive, no criterion for finite generation is known.

Examples

Example 4.3.5 (Three rings from Part I, revisited).
  1. (1)The scalars 𝑘×𝐼𝑛⁠ of Example 1.2.11 form a torus, so they are linearly reductive by Corollary 4.2.12, and 𝑘[𝑉]𝐺=𝑘⁠ is finitely generated, by the empty set. The Reynolds operator is ℛ︀(𝑓)=𝑓(0)⁠, the projection onto degree 0⁠.

  2. (2)The torus of Example 1.5.6 is linearly reductive, and Theorem 4.3.1 gives finite generation of 𝑘[𝑉]𝑇⁠ abstractly, where Theorem 1.5.4 gave it with the generators 𝑥12𝑥3⁠, 𝑥1𝑥2𝑥3⁠, 𝑥22𝑥3⁠. The Hilbert ideal is 𝔥=⟨𝑥12𝑥3,𝑥1𝑥2𝑥3,𝑥22𝑥3⟩⁠, and Theorem 4.3.1 says that any set of homogeneous invariants generating 𝔥⁠ generates the ring; for these three monomials this recovers Theorem 1.5.4.

  3. (3)A finite non-modular group is linearly reductive by Proposition 4.2.3, and Theorem 4.3.1 is Theorem 2.1.12 with Hilbert’s proof, the third one given there.

OSCAR has the torus case in the form of Proposition 1.5.2: a torus is given by its rank, a representation by its weight matrix, the matrix 𝐴∈ℤ𝑟×𝑛⁠ of Definition 1.5.1 with one column per variable (OSCAR takes the transpose, one row per variable), and fundamental_invariants returns the Hilbert basis of Definition 1.5.3 as monomials.

julia> using Oscar

julia> T = torus_group(QQ, 1);

julia> rT = representation_from_weights(T, [1, 1, -2]);

julia> foreach(println, fundamental_invariants(invariant_ring(rT)))
X[1]^2*X[3]
X[1]*X[2]*X[3]
X[2]^2*X[3]

We now compute the first invariant ring to which Part I does not apply.

Proposition 4.3.6 (Invariants of binary quadratics). 𝑘[𝑉2]𝑆𝐿2=𝑘[𝐷]⁠ with 𝐷=𝑎12−4𝑎0𝑎2⁠ the discriminant of Example 4.1.13, a polynomial ring in one variable.

Proof. 𝐷⁠ is invariant by Example 4.1.13, so 𝑘[𝐷]⊆𝑘[𝑉2]𝑆𝐿2⁠. Let 𝐹∈𝑘[𝑉2]𝑆𝐿2⁠. We use two kinds of elements of 𝑆𝐿2⁠.

The diagonal torus. For 𝑔=diag(𝑠,𝑠−1)⁠ and 𝑓=𝑎0𝑥2+𝑎1𝑥𝑦+𝑎2𝑦2⁠, 𝑓∘𝑔=𝑠2𝑎0𝑥2+𝑎1𝑥𝑦+𝑠−2𝑎2𝑦2⁠, so by Definition 4.1.11 𝑔⋅𝑎0=𝑠2𝑎0⁠, 𝑔⋅𝑎1=𝑎1⁠, 𝑔⋅𝑎2=𝑠−2𝑎2⁠. This is the action of Definition 1.5.1 with weight matrix (−2 0 2)⁠, and by Proposition 1.5.2 the invariants of this torus are spanned by the monomials 𝑎0𝑖𝑎1𝑗𝑎2𝑙⁠ with 𝑖=𝑙⁠. Hence 𝐹∈𝑘[𝑎1,𝑎0𝑎2]=𝑘[𝑎1,𝐷]⁠, the last equality because 𝑎0𝑎2=(𝑎12−𝐷)/4⁠. Write 𝐹=∑𝑖=0𝑚ℎ𝑖(𝐷) 𝑎1𝑖⁠ with polynomials ℎ𝑖⁠ in one variable and ℎ𝑚≠0⁠.

A unipotent element. For 𝑢=(10𝑠1)⁠, 𝑓∘𝑢=𝑓(𝑥,𝑠𝑥+𝑦)=(𝑎0+𝑠𝑎1+𝑠2𝑎2)𝑥2+(𝑎1+2𝑠𝑎2)𝑥𝑦+𝑎2𝑦2⁠. So 𝑎1(𝑓∘𝑢)=𝑎1(𝑓)+2𝑠𝑎2(𝑓)⁠, and 𝐷(𝑓∘𝑢)=𝐷(𝑓)⁠ by invariance of 𝐷⁠. Hence 𝐹(𝑓∘𝑢)=𝐹(𝑓)⁠ says, for all 𝑠∈𝑘⁠ and 𝑓∈𝑉2⁠,

∑𝑖=0𝑚ℎ𝑖(𝐷) 𝑎1𝑖=∑𝑖=0𝑚ℎ𝑖(𝐷) (𝑎1+2𝑠𝑎2)𝑖.

Both sides are polynomials in 𝑎0,𝑎1,𝑎2,𝑠⁠ that agree at every point of 𝑘4⁠, so by Lemma 4.1.4 (5) this is an identity in 𝑘[𝑎0,𝑎1,𝑎2,𝑠]⁠. The coefficient of 𝑠𝑚⁠ on the right is ℎ𝑚(𝐷) (2𝑎2)𝑚⁠, which is nonzero because ℎ𝑚(𝐷)≠0⁠: 𝐷⁠ is not constant, so 𝑘[𝐷]⁠ is a polynomial ring. On the left the coefficient of 𝑠𝑚⁠ is zero unless 𝑚=0⁠. Hence 𝑚=0⁠ and 𝐹=ℎ0(𝐷)∈𝑘[𝐷]⁠.□⁠

Chapter 5 uses the same two subgroups, the diagonal torus and the unipotent matrices, together with the Reynolds operator. By [DK15, Example 2.1.2], binary cubics have again a single generator, their discriminant (Section 5.2 gives the formula), and from degree 4⁠ on the invariant ring needs more than one; Section 5.2 computes them.

OSCAR computes invariants of reductive groups with Derksen’s algorithm of Section 6.2, and realises the Reynolds operator of 𝑆𝐿𝑛⁠ by the Ω⁠-process of Section 5.3. It writes a binary form of degree 𝑑⁠ with binomial coefficients, 𝑓=∑𝑖(𝑑𝑖)𝑏𝑖𝑥𝑑−𝑖𝑦𝑖⁠, so its coordinates are 𝑏𝑖=𝑎𝑖/(𝑑𝑖)⁠. In these coordinates the discriminant of the quadratic is 𝑏12−𝑏0𝑏2=𝐷/4⁠. The second computation below is the cubic; the invariant it returns is the discriminant of the cubic (Section 5.2 gives the formula) divided by 27⁠. The third applies the Reynolds operator to a monomial and returns, after scaling, the same invariant, as Theorem 4.2.7 (3) predicts.

julia> G = linearly_reductive_group(:SL, 2, QQ);

julia> S2, (b0, b1, b2) = graded_polynomial_ring(QQ, [:b0, :b1, :b2]);

julia> IR2 = invariant_ring(S2, representation_on_forms(G, 2));

julia> foreach(println, fundamental_invariants(IR2))
-b0*b2 + b1^2

julia> S3, (b0, b1, b2, b3) =
           graded_polynomial_ring(QQ, [:b0, :b1, :b2, :b3]);

julia> IR3 = invariant_ring(S3, representation_on_forms(G, 3));

julia> foreach(println, fundamental_invariants(IR3))
-b0^2*b3^2 + 6*b0*b1*b2*b3 - 4*b0*b2^3 - 4*b1^3*b3 + 3*b1^2*b2^2

julia> 105 * reynolds_operator(IR3, b1^2*b2^2)
-b0^2*b3^2 + 6*b0*b1*b2*b3 - 4*b0*b2^3 - 4*b1^3*b3 + 3*b1^2*b2^2

4.4The nullcone and the quotient

For a finite group the invariants separate orbits: two points with the same invariants lie in one orbit, because Proposition 2.1.3 makes 𝑘[𝑉]⁠ integral over 𝑘[𝑉]𝐺⁠. For infinite groups this fails. For the scalars of Example 1.2.11 there is no invariant of positive degree, so the invariants do not distinguish any two points, and every orbit has 0⁠ in its closure. This section describes which points the invariants of a linearly reductive group can distinguish. They separate the closed orbits (Theorem 4.4.13). The points that they cannot distinguish from 0⁠ form the nullcone, which can be described by one-parameter subgroups, and through the Hilbert–Mumford criterion by a torus. Both results are used in chapter 6, where Derksen’s algorithm computes the nullcone before any invariant.

The nullcone

Definition 4.4.1 (Nullcone). Let 𝐺⁠ be a linear algebraic group and 𝑉⁠ a rational representation. The nullcone is the common zero set of the homogeneous invariants of positive degree,

𝒩︀≔𝑉(𝑘[𝑉]+𝐺)={𝑣∈𝑉:𝑓(𝑣)=0 for all homogeneous 𝑓∈𝑘[𝑉]+𝐺},

the zero set of the Hilbert ideal 𝔥⁠. It is closed, contains 0⁠, is closed under scalar multiplication because its equations are homogeneous, and is 𝐺⁠-stable because invariants are constant on orbits: 𝑓(𝑔⋅𝑣)=(𝑔−1⋅𝑓)(𝑣)=𝑓(𝑣)⁠.

Example 4.4.2 (Three nullcones).
  1. (1)For a finite group 𝒩︀={0}⁠: by Proposition 2.1.3 (1) each coordinate 𝑥𝑖⁠ satisfies a monic equation whose other coefficients are invariants of positive degree, so they vanish at 𝑣∈𝒩︀⁠ and 𝑥𝑖(𝑣)|𝐺|=0⁠.

  2. (2)For the scalars of Example 1.2.11, 𝑘[𝑉]𝐺=𝑘⁠ has no elements of positive degree, so 𝒩︀=𝑉⁠.

  3. (3)For the binary quadratics, every homogeneous invariant of positive degree is a multiple of a power of 𝐷⁠ by Proposition 4.3.6. So 𝒩︀=𝑉(𝐷)⊆𝑉2⁠, which by Example 4.1.13 is the set of squares of linear forms.

To describe the nullcone in general we use homomorphisms from 𝑘×⁠ to 𝐺⁠. The following definition will be useful momentarily.

Definition 4.4.3 (One-parameter subgroup, limit).
  1. (1)A one-parameter subgroup of a linear algebraic group 𝐺⁠ is a morphism of algebraic groups 𝜆:𝑘×→𝐺⁠, that is, a group homomorphism whose matrix entries are Laurent polynomials in 𝑠∈𝑘×⁠.

  2. (2)Let 𝑉⁠ be a rational representation of 𝐺⁠, 𝜆⁠ a one-parameter subgroup and 𝑣∈𝑉⁠. Then the coordinates of 𝜆(𝑠)⋅𝑣⁠ are Laurent polynomials in 𝑠⁠. If they are polynomials, with no negative powers of 𝑠⁠, and 𝑤⁠ is the vector of their constant terms, we say that the limit exists and write

    lim𝑠→0𝜆(𝑠)⋅𝑣=𝑤.

Over ℂ⁠ this is the limit in the usual sense. In general it says that 𝑠↦𝜆(𝑠)⋅𝑣⁠ extends to a morphism 𝑘→𝑉⁠ with value 𝑤⁠ at 0⁠.

Example 4.4.4 (Limits).
  1. (1)𝜆(𝑠)≔diag(𝑠,𝑠−1)⁠ is a one-parameter subgroup of 𝑆𝐿2⁠. On 𝑉2⁠, Definition 4.1.11 gives 𝜆(𝑠)⋅𝑓=𝑓(𝑠−1𝑥,𝑠𝑦)⁠, so

    𝜆(𝑠)⋅(𝑎0𝑥2+𝑎1𝑥𝑦+𝑎2𝑦2)=𝑠−2𝑎0𝑥2+𝑎1𝑥𝑦+𝑠2𝑎2𝑦2.

    Hence lim𝑠→0𝜆(𝑠)⋅𝑦2=0⁠ and lim𝑠→0𝜆(𝑠)⋅𝑥𝑦=𝑥𝑦⁠, while 𝜆(𝑠)⋅𝑥2=𝑠−2𝑥2⁠ has no limit.

  2. (2)For the scalars of Example 1.2.11, 𝜆(𝑠)≔𝑠𝐼𝑛⁠ is a one-parameter subgroup with 𝜆(𝑠)⋅𝑣=𝑠𝑣⁠, so lim𝑠→0𝜆(𝑠)⋅𝑣=0⁠ for every 𝑣∈𝑉⁠.

For tori and for 𝐺𝐿𝑛⁠ the one-parameter subgroups can be listed.

Lemma 4.4.5 (One-parameter subgroups of tori and of 𝐺𝐿𝑛⁠).
  1. (1)The one-parameter subgroups of a torus 𝑇=(𝑘×)𝑟⁠ are the maps 𝜆(𝑠)=(𝑠𝑚1,…,𝑠𝑚𝑟)⁠ with 𝑚∈ℤ𝑟⁠.

  2. (2)The one-parameter subgroups of 𝐺𝐿𝑛⁠ are the maps 𝜆(𝑠)=𝑔diag(𝑠𝑚1,…,𝑠𝑚𝑛)𝑔−1⁠ with 𝑔∈𝐺𝐿𝑛⁠ and 𝑚∈ℤ𝑛⁠.

Proof. The maps listed are one-parameter subgroups.

  1. (1)Let 𝜆⁠ be a one-parameter subgroup of 𝑇⁠. Its 𝑖⁠-th coordinate 𝜆𝑖:𝑘×→𝑘×=𝐺𝐿1(𝑘)⁠ is a rational representation of the torus 𝑘×⁠ on 𝑘⁠. By Proposition 4.2.11, 𝑘⁠ is the weight space of a single weight 𝑚𝑖∈ℤ⁠, that is, 𝜆𝑖(𝑠)=𝑠𝑚𝑖⁠.

  2. (2)Let 𝜆⁠ be a one-parameter subgroup of 𝐺𝐿𝑛⁠. By Proposition 4.2.11, applied to the representation 𝜆⁠ of 𝑘×⁠ on 𝑘𝑛⁠, there is a basis of weight vectors, in which 𝜆(𝑠)⁠ is diag(𝑠𝑚1,…,𝑠𝑚𝑛)⁠. Let 𝑔⁠ be the matrix whose columns are this basis.□⁠

Lemma 4.4.6 (Limits along one-parameter subgroups lie in the nullcone). If lim𝑠→0𝜆(𝑠)⋅𝑣=0⁠ for some one-parameter subgroup 𝜆⁠ of 𝐺⁠, then 𝑣∈𝒩︀⁠.
Proof. Let 𝑓∈𝑘[𝑉]𝐺⁠ be homogeneous of degree 𝑑>0⁠. The coordinates of 𝜆(𝑠)⋅𝑣⁠ are polynomials in 𝑠⁠ with constant terms 0⁠, so 𝑝(𝑠)≔𝑓(𝜆(𝑠)⋅𝑣)⁠ is a polynomial in 𝑠⁠ with 𝑝(0)=𝑓(0)=0⁠, the last because 𝑓⁠ is homogeneous of positive degree. For 𝑠∈𝑘×⁠ we have 𝑝(𝑠)=𝑓(𝑣)⁠, because 𝑓⁠ is constant on orbits (Definition 4.4.1). So the polynomial 𝑝−𝑓(𝑣)⁠ has infinitely many zeros, hence is zero [Gat23, Lemma 11.15 (b)], and 𝑓(𝑣)=𝑝(0)=0⁠.□⁠

For a torus the converse holds too, and Proposition 1.5.2 turns it into a statement about the weights. For 𝑚,𝑎∈ℤ𝑟⁠ we write ⟨𝑚,𝑎⟩≔𝑚1𝑎1+⋯+𝑚𝑟𝑎𝑟⁠.

Proposition 4.4.7 (Nullcone of a torus). Let 𝑇=(𝑘×)𝑟⁠ act on 𝑉=𝑘𝑛⁠ with weights 𝑎1,…,𝑎𝑛∈ℤ𝑟⁠ as in Definition 1.5.1, and for 𝑣∈𝑉⁠ let 𝑆(𝑣)≔{𝑗:𝑣𝑗≠0}⁠. The following are equivalent.

  1. (1)𝑣∈𝒩︀⁠.

  2. (2)There is 𝑚∈ℤ𝑟⁠ with ⟨𝑚,𝑎𝑗⟩>0⁠ for all 𝑗∈𝑆(𝑣)⁠.

  3. (3)lim𝑠→0𝜆(𝑠)⋅𝑣=0⁠ for some one-parameter subgroup 𝜆⁠ of 𝑇⁠.

Geometrically, (2) says that 0⁠ is not in the convex hull of the weights 𝑎𝑗⁠, 𝑗∈𝑆(𝑣)⁠.

Proof. (2) ⇔⁠ (3). By Lemma 4.4.5 (1) the one-parameter subgroups of 𝑇⁠ are the maps 𝜆(𝑠)=(𝑠𝑚1,…,𝑠𝑚𝑟)⁠ with 𝑚∈ℤ𝑟⁠. For such 𝜆⁠, Definition 1.5.1 gives 𝜆(𝑠)⋅𝑣=(𝑠⟨𝑚,𝑎𝑗⟩𝑣𝑗)𝑗⁠, and its limit exists and is 0⁠ exactly when ⟨𝑚,𝑎𝑗⟩>0⁠ for every 𝑗⁠ with 𝑣𝑗≠0⁠.

(3) ⇒⁠ (1) is Lemma 4.4.6.

(1) ⇒⁠ (2) is an exercise (sheet 9); we sketch the argument. Let 𝑣∈𝒩︀⁠. Every invariant monomial of positive degree vanishes at 𝑣⁠, so by Proposition 1.5.2 no nonzero 𝑢∈ℕ𝑛⁠ with 𝑢𝑗=0⁠ for 𝑗∉𝑆(𝑣)⁠ has 𝐴𝑢=0⁠. Hence 0⁠ is not in the convex hull 𝐶⁠ of the 𝑎𝑗⁠, 𝑗∈𝑆(𝑣)⁠: otherwise 0⁠ would be a convex combination of affinely independent 𝑎𝑗⁠, its coefficients would be rational, and clearing denominators would give such a 𝑢⁠. The point of 𝐶⁠ closest to 0⁠ gives 𝑚∈ℝ𝑟⁠ with ⟨𝑚,𝑎𝑗⟩>0⁠ for all 𝑗∈𝑆(𝑣)⁠, and a nearby rational 𝑚⁠, scaled, lies in ℤ𝑟⁠.□⁠

The nullcone is also what decides whether invariants form an hsop. For a finite group this was the condition 𝑉(𝜃)={0}⁠ of Corollary 3.1.14; here {0}⁠ becomes 𝒩︀⁠.

Proposition 4.4.8 (Parameters and the nullcone). Let 𝐺⁠ be linearly reductive and 𝑓1,…,𝑓𝑟∈𝑘[𝑉]𝐺⁠ homogeneous of positive degree.

  1. (1)If 𝑉(𝑓1,…,𝑓𝑟)=𝒩︀⁠, then 𝑘[𝑉]𝐺⁠ is a finitely generated module over 𝑘[𝑓1,…,𝑓𝑟]⁠. If moreover 𝑟=dim𝑘[𝑉]𝐺⁠, then 𝑓1,…,𝑓𝑟⁠ is an hsop of 𝑘[𝑉]𝐺⁠.

  2. (2)Conversely, every hsop 𝜃1,…,𝜃𝑟⁠ of 𝑘[𝑉]𝐺⁠ has 𝑉(𝜃1,…,𝜃𝑟)=𝒩︀⁠.

Proof.
  1. (1)Let ℎ1,…,ℎ𝑠⁠ be homogeneous generators of 𝑘[𝑉]𝐺⁠ of positive degree, which exist by Theorem 4.3.1, and 𝐽≔⟨𝑓1,…,𝑓𝑟⟩⊴𝑘[𝑉]⁠. Then 𝑉(𝐽)=𝒩︀=𝑉(ℎ1,…,ℎ𝑠)⁠, since the ℎ𝑖⁠ generate 𝔥⁠. By the Nullstellensatz [Gat13, Corollary 10.14], which uses that 𝑘⁠ is algebraically closed, the ideal of polynomials vanishing on this set is 𝐽=⟨ℎ1,…,ℎ𝑠⟩∋ℎ𝑖⁠. So ℎ𝑖𝑁=∑𝑗𝑐𝑗𝑓𝑗⁠ for some 𝑁⁠ and 𝑐𝑗∈𝑘[𝑉]⁠, which we may take homogeneous. Applying ℛ︀⁠ and Theorem 4.2.7 (2), ℎ𝑖𝑁=∑𝑗ℛ︀(𝑐𝑗)𝑓𝑗⁠ lies in the ideal of 𝑘[𝑉]𝐺⁠ generated by the 𝑓𝑗⁠. This is Proposition 3.1.8 (4), so 𝑘[𝑉]𝐺⁠ is finitely generated over 𝑘[𝑓1,…,𝑓𝑟]⁠. If 𝑟=dim𝑘[𝑉]𝐺⁠, then dim𝑘[𝑓1,…,𝑓𝑟]=𝑟⁠ by Remark 3.1.4 (1), and the 𝑓𝑗⁠ are algebraically independent by Remark 3.1.4 (2).

  2. (2)𝑉(𝜃)⊇𝒩︀⁠ because the 𝜃𝑖⁠ are invariants of positive degree. Conversely let 𝑣∈𝑉(𝜃)⁠ and ℎ∈𝑘[𝑉]+𝐺⁠ homogeneous. As 𝑘[𝑉]𝐺⁠ is a finitely generated 𝑘[𝜃]⁠-module, ℎ⁠ is integral over 𝑘[𝜃]⁠ by [Gat13, Proposition 9.5]: ℎ𝑁+𝑐1ℎ𝑁−1+⋯+𝑐𝑁=0⁠ with 𝑐𝑖∈𝑘[𝜃]⁠, and comparing degrees we may take the 𝑐𝑖⁠ homogeneous of positive degree, hence in ⟨𝜃⟩⁠. Evaluating at 𝑣⁠ gives ℎ(𝑣)𝑁=0⁠. So 𝑣∈𝒩︀⁠.□⁠

The quotient

Since 𝑘[𝑉]𝐺⁠ is a finitely generated 𝑘⁠-algebra and an integral domain, it is the coordinate ring of a variety [Gat13, Remark 1.31]. We construct this variety from generators of 𝑘[𝑉]𝐺⁠.

Definition 4.4.9 (Categorical quotient). Let 𝐺⁠ be linearly reductive and 𝑉⁠ a rational representation. Choose homogeneous generators 𝑓1,…,𝑓𝑚⁠ of positive degree of the 𝑘⁠-algebra 𝑘[𝑉]𝐺⁠, which exist by Corollary 4.3.2, and let 𝑃≔ker𝜑⁠ for the homomorphism 𝜑:𝑘[𝑦1,…,𝑦𝑚]→𝑘[𝑉]𝐺⁠, 𝑦𝑖↦𝑓𝑖⁠, of Equation 1.2; 𝑃⁠ is the ideal of relations that Algorithm 1.4.8 computes. The categorical quotient is the variety

𝑉⫽𝐺≔𝑉(𝑃)⊆𝑘𝑚,

and the quotient map is 𝜋:𝑉→𝑉⫽𝐺⁠, 𝑣↦(𝑓1(𝑣),…,𝑓𝑚(𝑣))⁠.

Lemma 4.4.10 (The quotient as a variety). In the situation of Definition 4.4.9:

  1. (1)𝜋⁠ is a morphism of varieties, 𝐼(𝑉⫽𝐺)=𝑃⁠, and 𝑦𝑖↦𝑓𝑖⁠ induces an isomorphism 𝑘[𝑉⫽𝐺]=𝑘[𝑦1,…,𝑦𝑚]/𝑃≅𝑘[𝑉]𝐺⁠. Through it we regard elements of 𝑘[𝑉]𝐺⁠ as functions on 𝑉⫽𝐺⁠; then 𝑓(𝜋(𝑣))=𝑓(𝑣)⁠ for 𝑓∈𝑘[𝑉]𝐺⁠ and 𝑣∈𝑉⁠.

  2. (2)The points 𝑦⁠ of 𝑉⫽𝐺⁠ correspond bijectively to the maximal ideals 𝔪𝑦≔{𝑓∈𝑘[𝑉]𝐺:𝑓(𝑦)=0}⁠ of 𝑘[𝑉]𝐺⁠, and 𝔪𝜋(𝑣)=𝔪𝑣≔{𝑓∈𝑘[𝑉]𝐺:𝑓(𝑣)=0}⁠.

  3. (3)𝜋(0)=0⁠, and 𝜋−1(0)=𝒩︀⁠.

Proof.
  1. (1)By the homomorphism theorem 𝑘[𝑦1,…,𝑦𝑚]/𝑃≅𝑘[𝑉]𝐺⁠, a subring of the integral domain 𝑘[𝑉]⁠, so 𝑃⁠ is a prime ideal. By the Nullstellensatz [Gat13, Corollary 10.14], 𝐼(𝑉(𝑃))=𝑃=𝑃⁠. For 𝑔∈𝑃⁠ and 𝑣∈𝑉⁠ we have 𝑔(𝜋(𝑣))=𝑔(𝑓1,…,𝑓𝑚)(𝑣)=0⁠, so 𝜋⁠ maps 𝑉⁠ into 𝑉(𝑃)⁠, and its coordinates 𝑓𝑖⁠ are polynomials. If 𝑓=𝑔(𝑓1,…,𝑓𝑚)⁠, then 𝑓⁠ corresponds to the function 𝑔⁠ on 𝑉⫽𝐺⁠, and 𝑔(𝜋(𝑣))=𝑔(𝑓1(𝑣),…,𝑓𝑚(𝑣))=𝑓(𝑣)⁠.

  2. (2)The points of a variety correspond to the maximal ideals of its coordinate ring, a point corresponding to the ideal of functions vanishing at it [Gat13, Remark 10.11]. Under the isomorphism of (1) this ideal is 𝔪𝑦⁠, and 𝔪𝜋(𝑣)=𝔪𝑣⁠ because 𝑓(𝜋(𝑣))=𝑓(𝑣)⁠.

  3. (3)Every 𝑓𝑖⁠ is homogeneous of positive degree, so 𝑓𝑖(0)=0⁠. A homogeneous invariant of positive degree is a polynomial in the 𝑓𝑖⁠ without constant term, so it vanishes wherever all 𝑓𝑖⁠ do; hence 𝜋−1(0)=𝑉(𝑓1,…,𝑓𝑚)=𝒩︀⁠.□⁠

Another choice of generators changes 𝑉⫽𝐺⁠ by an isomorphism of varieties, since both coordinate rings are isomorphic to 𝑘[𝑉]𝐺⁠.

Example 4.4.11 (The quotient by ±1⁠). Let 𝐺={±𝐼2}≤𝐺𝐿2(𝑘)⁠, the group of Example 1.2.9 for 𝑚=2⁠. Its invariant ring is generated by 𝑓1=𝑥12⁠, 𝑓2=𝑥1𝑥2⁠ and 𝑓3=𝑥22⁠, with the single relation 𝑓22=𝑓1𝑓3⁠, so 𝑃=⟨𝑦22−𝑦1𝑦3⟩⁠ and

𝑉⫽𝐺=𝑉(𝑦22−𝑦1𝑦3)⊆𝑘3, 𝜋(𝑣)=(𝑣12,𝑣1𝑣2,𝑣22).

𝑉⫽𝐺⁠ is a quadric cone. If 𝜋(𝑣)=𝜋(𝑤)⁠, then 𝑣12=𝑤12⁠, 𝑣22=𝑤22⁠ and 𝑣1𝑣2=𝑤1𝑤2⁠, which forces 𝑤=±𝑣⁠. So the fibres of 𝜋⁠ are exactly the orbits, and the points of 𝑉⫽𝐺⁠ correspond to the orbits of 𝐺⁠.

The name is from geometric invariant theory: by [MFK94, chap. 1 §2], every morphism 𝑉→𝑍⁠ that is constant on orbits factors through 𝜋⁠. We only need to know what the points of 𝑉⫽𝐺⁠ are. For a finite group they correspond to the orbits, as in Example 4.4.11. For infinite groups this fails.

Example 4.4.12 (Scalars). For the scalars of Example 1.2.11, 𝑘[𝑉]𝐺=𝑘⁠, so 𝑚=0⁠, 𝑉⫽𝐺⁠ is a point and 𝜋⁠ is constant: the invariants do not distinguish any two points of 𝑉⁠, and 𝒩︀=𝑉⁠. The orbit of 𝑣≠0⁠ is 𝑘×𝑣⁠, and its closure is the line 𝑘𝑣⁠, which contains the orbit {0}⁠. So {0}⁠ is the only closed orbit, and it lies in the closure of every orbit.

For linearly reductive groups the next theorem shows that this is the general picture: the points of 𝑉⫽𝐺⁠ correspond to the closed orbits.

Theorem 4.4.13 (Points of the quotient). Let 𝐺⁠ be linearly reductive and 𝑉⁠ a rational representation, with quotient map 𝜋:𝑉→𝑉⫽𝐺⁠.

  1. (1)𝜋⁠ is surjective.

  2. (2)If 𝑌1,𝑌2⊆𝑉⁠ are closed and 𝐺⁠-stable, then 𝜋(𝑌1)¯∩𝜋(𝑌2)¯=𝜋(𝑌1∩𝑌2)¯⁠. In particular disjoint closed 𝐺⁠-stable sets have disjoint images.

  3. (3)𝜋⁠ maps closed 𝐺⁠-stable subsets of 𝑉⁠ to closed subsets.

  4. (4)Every fibre 𝜋−1(𝑦)⁠ contains exactly one closed orbit, and that orbit lies in the closure of every orbit contained in the fibre.

  5. (5)𝜋(𝑣)=𝜋(𝑤)⁠ if and only if 𝐺⋅𝑣¯∩𝐺⋅𝑤¯≠∅⁠.

  6. (6)𝒩︀={𝑣∈𝑉:0∈𝐺⋅𝑣¯}⁠.

Proof. We use three facts throughout. First, 𝜋⁠ is constant on orbits, since invariants are. Second, every invariant 𝑓⁠ satisfies 𝑓(𝜋(𝑣))=𝑓(𝑣)⁠ by Lemma 4.4.10 (1), so it takes the same value at points with the same image. Third, each 𝑔∈𝐺⁠ acts on 𝑉⁠ by an invertible linear map, which is continuous by Lemma 4.1.4 (4); so the closure of a 𝐺⁠-stable set is 𝐺⁠-stable. Zero sets and vanishing ideals are related by the Nullstellensatz [Gat13, Corollary 10.14], so 𝑘⁠ algebraically closed is used in every part.

  1. (1)Let 𝑦∈𝑉⫽𝐺⁠, and let 𝔪≔𝔪𝑦⁠ be the maximal ideal of Lemma 4.4.10 (2). If a point 𝑣∈𝑉⁠ is a common zero of 𝔪⁠, then 𝔪⊆𝔪𝑣⁠, so 𝔪=𝔪𝑣⁠ and 𝜋(𝑣)=𝑦⁠. If no such 𝑣⁠ exists, the ideal 𝔪𝑘[𝑉]⁠ of 𝑘[𝑉]⁠ has no zero, so by [Gat13, Remark 10.12] it is not a proper ideal. Then 1=∑𝑖𝑐𝑖ℎ𝑖⁠ with 𝑐𝑖∈𝑘[𝑉]⁠ and ℎ𝑖∈𝔪⁠. Applying ℛ︀⁠ and Theorem 4.2.7 (2), 1=∑𝑖ℛ︀(𝑐𝑖)ℎ𝑖∈𝔪⁠, a contradiction.

  2. (2)Let 𝐼𝑗≔𝐼(𝑌𝑗)⊴𝑘[𝑉]⁠ be the vanishing ideals; they are 𝐺⁠-stable because the 𝑌𝑗⁠ are. An invariant vanishes on 𝜋(𝑌𝑗)⁠ exactly when it vanishes on 𝑌𝑗⁠, so 𝐼(𝜋(𝑌𝑗))=𝐼𝑗∩𝑘[𝑉]𝐺≕𝐼𝑗𝐺⁠ and 𝜋(𝑌𝑗)¯=𝑉(𝐼𝑗𝐺)⁠ by Lemma 4.1.4 (3). Likewise 𝑌1∩𝑌2=𝑉(𝐼1+𝐼2)⁠, so 𝐼(𝑌1∩𝑌2)=𝐼1+𝐼2⁠ and 𝜋(𝑌1∩𝑌2)¯=𝑉((𝐼1+𝐼2)𝐺)=𝑉((𝐼1+𝐼2)𝐺)⁠, the last step because an invariant with a power in 𝐼1+𝐼2⁠ has that power in (𝐼1+𝐼2)𝐺⁠. Now (𝐼1+𝐼2)𝐺=𝐼1𝐺+𝐼2𝐺⁠: the inclusion ⊇⁠ is clear, and if 𝑓=𝑐1+𝑐2⁠ is invariant with 𝑐𝑗∈𝐼𝑗⁠, then 𝑓=ℛ︀(𝑓)=ℛ︀(𝑐1)+ℛ︀(𝑐2)⁠ with ℛ︀(𝑐𝑗)∈𝐼𝑗𝐺⁠ by Theorem 4.2.7 (4). Hence 𝜋(𝑌1∩𝑌2)¯=𝑉(𝐼1𝐺+𝐼2𝐺)=𝑉(𝐼1𝐺)∩𝑉(𝐼2𝐺)⁠.

  3. (3)Let 𝑌⁠ be closed and 𝐺⁠-stable and 𝑦∈𝜋(𝑌)¯⁠. The fibre 𝜋−1(𝑦)⁠ is closed, 𝐺⁠-stable, and nonempty by (1). If it were disjoint from 𝑌⁠, then by (2) the closures of 𝜋(𝜋−1(𝑦))={𝑦}⁠ and of 𝜋(𝑌)⁠ would be disjoint, but 𝑦⁠ lies in both. So 𝑦∈𝜋(𝑌)⁠.

  4. (4)The fibre 𝐹≔𝜋−1(𝑦)⁠ is closed, 𝐺⁠-stable and nonempty. Every orbit 𝐺⋅𝑣⁠ is open in its closure 𝐺⋅𝑣¯⁠ [Hum75, sec. 8.3]; this is the one fact about orbits of algebraic groups we take from the literature. Hence 𝐺⋅𝑣¯∖𝐺⋅𝑣⁠ is closed and 𝐺⁠-stable. Closed subsets of 𝑉⁠ satisfy the descending chain condition by Lemma 4.1.4 (2), so we can choose 𝑣∈𝐹⁠ with 𝐺⋅𝑣¯⁠ minimal among the orbit closures of points of 𝐹⁠. If 𝐺⋅𝑣⁠ were not closed, a point 𝑤∈𝐺⋅𝑣¯∖𝐺⋅𝑣⁠ would lie in 𝐹⁠ with 𝐺⋅𝑤¯⊊𝐺⋅𝑣¯⁠. So 𝐺⋅𝑣⁠ is closed.

    Let 𝑤∈𝐹⁠ be arbitrary. Both 𝐺⋅𝑤¯⁠ and 𝐺⋅𝑣⁠ are closed, 𝐺⁠-stable, and their images contain 𝑦⁠, so by (2) they intersect. As 𝐺⋅𝑣⁠ is a single orbit and 𝐺⋅𝑤¯⁠ is 𝐺⁠-stable, 𝐺⋅𝑣⊆𝐺⋅𝑤¯⁠. If 𝐺⋅𝑤⁠ is closed as well, this gives 𝐺⋅𝑣⊆𝐺⋅𝑤⁠, hence equality.

  5. (5)If 𝜋(𝑣)=𝜋(𝑤)⁠, the closed orbit of their common fibre lies in both closures by (4). Conversely 𝜋⁠ is continuous by Lemma 4.1.4 (4) and constant on orbits, so it maps 𝐺⋅𝑣¯⁠ into {𝜋(𝑣)}¯={𝜋(𝑣)}⁠; a common point of the two closures has image 𝜋(𝑣)=𝜋(𝑤)⁠.

  6. (6)If 0∈𝐺⋅𝑣¯⁠, then every homogeneous invariant 𝑓⁠ of positive degree is constant on 𝐺⋅𝑣⁠, hence on its closure, so 𝑓(𝑣)=𝑓(0)=0⁠ and 𝑣∈𝒩︀⁠. Conversely let 𝑣∈𝒩︀⁠, that is 𝜋(𝑣)=0⁠ by Lemma 4.4.10 (3). The sets {0}⁠ and 𝐺⋅𝑣¯⁠ are closed and 𝐺⁠-stable, and 0⁠ lies in the image of both, so by (2) they intersect: 0∈𝐺⋅𝑣¯⁠.□⁠

This is [DK15, sec. 2.3]; the general statement, for linearly reductive groups acting on affine varieties, is proved the same way. By part (5), the invariants separate two orbits exactly when their closures are disjoint. For a finite group every orbit is finite, hence closed, so each fibre is one orbit, which is the separation statement we started from.

The Hilbert–Mumford criterion

Theorem 4.4.13 (6) describes 𝒩︀⁠ by orbit closures. The criterion of Hilbert and Mumford says that the closure can be reached along a one-parameter subgroup, which reduces the nullcone of 𝐺⁠ to that of a torus, where Proposition 4.4.7 computes it.

Theorem 4.4.14 (Hilbert–Mumford criterion). Let 𝐺⁠ be 𝐺𝐿𝑛(𝑘)⁠ or 𝑆𝐿𝑛(𝑘)⁠, let 𝑇≤𝐺⁠ be the subgroup of diagonal matrices, and let 𝑉⁠ be a rational representation of 𝐺⁠. Write 𝒩︀𝐺⁠ and 𝒩︀𝑇⁠ for the nullcones of 𝑉⁠ under 𝐺⁠ and under 𝑇⁠. Then

𝒩︀𝐺=𝐺⋅𝒩︀𝑇;

that is, 𝑣∈𝒩︀𝐺⁠ if and only if 𝑔⋅𝑣∈𝒩︀𝑇⁠ for some 𝑔∈𝐺⁠.

The theorem is not proved here; it is [DK15, Theorem 2.5.3], where it is stated for any linearly reductive 𝐺⁠ with 𝑇⁠ a maximal torus (a closed subgroup isomorphic to some (𝑘×)𝑟⁠ and maximal with this property; for 𝐺𝐿𝑛⁠ and 𝑆𝐿𝑛⁠ the diagonal matrices). Hilbert proved it for 𝑆𝐿𝑛⁠ [Hil93], and Mumford in general [MFK94, chap. 2 §1]. The inclusion ⊇⁠ holds because every 𝐺⁠-invariant is a 𝑇⁠-invariant, so 𝒩︀𝑇⊆𝒩︀𝐺⁠, and 𝒩︀𝐺⁠ is 𝐺⁠-stable. The inclusion ⊆⁠ is the difficult part.

Corollary 4.4.15 (One-parameter subgroups). In the setting of Theorem 4.4.14, 𝑣∈𝒩︀𝐺⁠ if and only if lim𝑠→0𝜆(𝑠)⋅𝑣=0⁠ for some one-parameter subgroup 𝜆⁠ of 𝐺⁠.
Proof. If 𝑣∈𝒩︀𝐺⁠, choose 𝑔⁠ with 𝑔⋅𝑣∈𝒩︀𝑇⁠; by Proposition 4.4.7 there is a one-parameter subgroup 𝜇⁠ of 𝑇⁠ with lim𝑠→0𝜇(𝑠)⋅(𝑔⋅𝑣)=0⁠, and 𝜆(𝑠)≔𝑔−1𝜇(𝑠)𝑔⁠ is a one-parameter subgroup of 𝐺⁠ with 𝜆(𝑠)⋅𝑣=𝑔−1⋅(𝜇(𝑠)⋅(𝑔⋅𝑣))→0⁠. The converse is Lemma 4.4.6.□⁠

Example 4.4.16 (Nullcone of binary forms). Let 𝑆𝐿2⁠ act on 𝑉𝑑⁠, and let 𝑇⁠ be its diagonal torus. For 𝑡=diag(𝑠,𝑠−1)∈𝑇⁠ and 𝑓=∑𝑖𝑎𝑖𝑥𝑑−𝑖𝑦𝑖⁠, Definition 4.1.11 gives 𝑡⋅𝑓=𝑓(𝑠−1𝑥,𝑠𝑦)=∑𝑖𝑠2𝑖−𝑑𝑎𝑖𝑥𝑑−𝑖𝑦𝑖⁠, so 𝑇⁠ acts on 𝑉𝑑⁠ with weights 2𝑖−𝑑⁠, 𝑖=0,…,𝑑⁠. By Proposition 4.4.7, 𝑓∈𝒩︀𝑇⁠ exactly when the weights 2𝑖−𝑑⁠ with 𝑎𝑖≠0⁠ are all positive or all negative, that is, when 𝑓⁠ is divisible by 𝑦𝑒⁠ or by 𝑥𝑒⁠ with 𝑒=⌊𝑑/2⌋+1⁠. Since 𝑔⋅(𝑥𝑒ℎ)=(𝑔⋅𝑥)𝑒(𝑔⋅ℎ)⁠ and 𝑔⋅𝑥⁠ runs through all nonzero linear forms, Theorem 4.4.14 gives: 𝑓∈𝒩︀⁠ if and only if 𝑓⁠ has a linear factor of multiplicity greater than 𝑑/2⁠.

For 𝑑=2⁠ these are the squares of linear forms, in accordance with Example 4.4.2 (3). For 𝑑=3⁠ they are the cubics with a linear factor of multiplicity at least 2⁠, the zero set of the discriminant of the cubic (Section 5.2 gives the formula). For 𝑑=4⁠ they are the quartics with a linear factor of multiplicity at least 3⁠, and the two generators of 𝑘[𝑉4]𝑆𝐿2⁠, of degrees 2⁠ and 3⁠, cut them out; Section 5.2 returns to this.

Examples

Example 4.4.17 (Conjugation, concluded). Let 𝐺=𝐺𝐿𝑛(𝑘)⁠ act on 𝑉=𝑘𝑛×𝑛⁠ by conjugation, and let 𝑐1,…,𝑐𝑛⁠ be the coefficients of the characteristic polynomial as in Example 1.2.12. Then:

  1. (1)𝑘[𝑉]𝐺=𝑘[𝑐1,…,𝑐𝑛]⁠, and the 𝑐𝑖⁠ are algebraically independent.

  2. (2)𝒩︀⁠ is the set of nilpotent matrices.

  3. (3)𝑉⫽𝐺=𝑘𝑛⁠ with 𝜋(𝐴)=(𝑐1(𝐴),…,𝑐𝑛(𝐴))⁠: the quotient map sends a matrix to its characteristic polynomial. The closed orbits are exactly the orbits of diagonalisable matrices, one in each fibre, and the closure of the orbit of every matrix contains the diagonalisable matrices with the same characteristic polynomial.

Proof.
  1. (1)Let 𝒟︀⊆𝑉⁠ be the space of diagonal matrices and res:𝑘[𝑉]→𝑘[𝒟︀]=𝑘[𝑥1,…,𝑥𝑛]⁠ the restriction, 𝑥𝑖⁠ being the 𝑖⁠-th diagonal entry. Conjugation by a permutation matrix 𝑃𝜋⁠ permutes the diagonal entries, so for an invariant ℎ⁠ the restriction res(ℎ)⁠ is a symmetric polynomial, and by Theorem 1.1.20 res(ℎ)=Φ(𝜎1,…,𝜎𝑛)⁠ for a polynomial Φ⁠. If 𝐴⁠ has eigenvalues 𝛼1,…,𝛼𝑛⁠, listed with multiplicity, then 𝑐𝑑(𝐴)=𝜎𝑑(𝛼1,…,𝛼𝑛)⁠ by Equation 1.1; in particular res(𝑐𝑑)=𝜎𝑑⁠. So ℎ−Φ(𝑐1,…,𝑐𝑛)⁠ is an invariant vanishing on 𝒟︀⁠, hence on 𝐺⋅𝒟︀⁠.

    We show that 𝐺⋅𝒟︀⁠ contains a nonempty open subset of 𝑉⁠. By Theorem 1.1.20, ∏𝑖<𝑗(𝑥𝑖−𝑥𝑗)2=Ψ(𝜎1,…,𝜎𝑛)⁠ for a polynomial Ψ⁠. Then Ψ(𝑐1,…,𝑐𝑛)∈𝑘[𝑉]⁠ takes the value ∏𝑖<𝑗(𝛼𝑖−𝛼𝑗)2⁠ at 𝐴⁠, so the matrices with 𝑛⁠ distinct eigenvalues form the open set 𝑈≔𝑉∖𝑉(Ψ(𝑐1,…,𝑐𝑛))⁠. It is nonempty, as it contains diag(1,2,…,𝑛)⁠, and 𝑈⊆𝐺⋅𝒟︀⁠ because a matrix with 𝑛⁠ distinct eigenvalues is diagonalisable. By Lemma 4.1.4 (5), ℎ=Φ(𝑐1,…,𝑐𝑛)⁠. The 𝑐𝑑⁠ are algebraically independent because their restrictions 𝜎𝑑⁠ are, by Theorem 1.1.20.

  2. (2)By (1), every homogeneous invariant of positive degree is a polynomial without constant term in the 𝑐𝑑⁠. So 𝐴∈𝒩︀⁠ exactly when 𝑐1(𝐴)=⋯=𝑐𝑛(𝐴)=0⁠, that is, when the characteristic polynomial 𝜒𝐴(𝑧)≔det(𝑧𝐼−𝐴)⁠ equals 𝑧𝑛⁠. This means that 𝐴⁠ is nilpotent: if 𝜒𝐴(𝑧)=𝑧𝑛⁠, then 𝐴𝑛=0⁠ by the Cayley–Hamilton theorem, and a nilpotent matrix has only the eigenvalue 0⁠. Here the one-parameter subgroup of Corollary 4.4.15 can be written down. Let 𝐴⁠ be upper triangular, as every nilpotent matrix is after conjugation, and 𝜆(𝑠)≔diag(𝑠−1,𝑠−2,…,𝑠−𝑛)⁠. Then (𝜆(𝑠)𝐴𝜆(𝑠)−1)𝑖𝑗=𝑠𝑗−𝑖𝑎𝑖𝑗⁠, so the entries above the diagonal tend to 0⁠ and

    lim𝑠→0𝜆(𝑠)⋅𝐴=diag(𝑎11,…,𝑎𝑛𝑛),

    (4.1)

    which is 0⁠ for nilpotent 𝐴⁠.

  3. (3)By (1), 𝑘[𝑉]𝐺⁠ is a polynomial ring in the 𝑐𝑖⁠, so 𝑉⫽𝐺=𝑘𝑛⁠ and 𝜋=(𝑐1,…,𝑐𝑛)⁠; the fibre over a point is the set of matrices with the corresponding characteristic polynomial. Diagonalisable matrices with the same characteristic polynomial are conjugate, so each fibre contains exactly one orbit 𝐺⋅𝐷⁠ of diagonalisable matrices, with 𝐷⁠ the diagonal matrix of the roots of the characteristic polynomial. Let 𝑂⁠ be the closed orbit of the fibre, Theorem 4.4.13 (4), and pick 𝐵∈𝑂⁠. Every matrix is conjugate to an upper triangular one, 𝑘⁠ being algebraically closed, and Equation 4.1 then shows that the closure of 𝐺⋅𝐵⁠ contains a diagonal matrix with the same characteristic polynomial, which lies in 𝐺⋅𝐷⁠. As 𝑂⁠ is closed, 𝐺⋅𝐷⊆𝑂⁠, so 𝑂=𝐺⋅𝐷⁠. The last claim is Equation 4.1 again, together with Theorem 4.4.13 (4).□⁠

This proves the claim of Example 1.2.12. Since the scalars act trivially and 𝐺𝐿𝑛=𝑆𝐿𝑛⋅𝑘×⁠ over an algebraically closed field, the 𝑆𝐿𝑛⁠-invariants of conjugation are the same ring, which is the form OSCAR computes below.

Example 4.4.18 (Binary quadratics). By Proposition 4.3.6, 𝑉2⫽𝑆𝐿2=𝑘⁠ with 𝜋=𝐷⁠. The fibre over 𝑐≠0⁠ is a single closed orbit: a form with 𝐷(𝑓)=𝑐⁠ factors as ℓ1ℓ2⁠ with independent linear forms, some 𝑔∈𝐺𝐿2⁠ has 𝑓∘𝑔=𝑥𝑦⁠, and adjusting by diag(1,det(𝑔)−1)⁠ puts 𝑓⁠ in the 𝑆𝐿2⁠-orbit of 𝜇 𝑥𝑦⁠ with 𝜇2=𝑐⁠. Moreover 𝜇 𝑥𝑦⁠ and −𝜇 𝑥𝑦⁠ lie in the same orbit, as the substitution 𝑥↦𝑦⁠, 𝑦↦−𝑥⁠ has determinant 1⁠. The fibre over 0⁠ is 𝒩︀={ℓ2:ℓ∈𝑉1}⁠ by Example 4.4.2 (3). It consists of two orbits by Example 4.1.12: the closed orbit {0}⁠, and the nonzero squares, whose closure contains 0⁠ because lim𝑠→0𝜆(𝑠)⋅𝑦2=0⁠ in Example 4.4.4 (1).

OSCAR’s null_cone_ideal returns an ideal whose zero set is the nullcone, computed from the graph of the action as in Section 6.2 (chapter 6), not necessarily generated by invariants. For 𝑆𝐿2⁠ acting on 2×2⁠ matrices by conjugation, with the entries read row by row, the invariants are the trace and the trace of the square, and the nullcone is cut out by trace and determinant, as Example 4.4.17 (2) says. The conjugation action is entered by its matrix on the basis of elementary matrices.

julia> Z = base_ring(group_ideal(G)); g = canonical_representation(G);

julia> ginv = matrix(Z, 2, 2, [g[2,2] -g[1,2]; -g[2,1] g[1,1]]);

julia> E(i, j) = matrix(Z, 2, 2, [a == i && b == j for a in 1:2, b in 1:2]);

julia> idx = [(1,1), (1,2), (2,1), (2,2)];

julia> M = matrix(Z, [(g*E(i,j)*ginv)[a,b] for (a,b) in idx, (i,j) in idx]);

julia> IRM = invariant_ring(representation_reductive_group(G, M));

julia> foreach(println, fundamental_invariants(IRM))
X[1] + X[4]
X[1]^2 + 2*X[2]*X[3] + X[4]^2

julia> null_cone_ideal(IRM)
Ideal generated by
  x[1] + x[4]
  x[2]*x[3] + x[4]^2

What chapter 6 needs

Hilbert’s algorithm, Algorithm 6.1.13, is Proposition 4.4.8 read as instructions: homogeneous invariants whose common zero set is 𝒩︀⁠ are primary invariants, and the rest of 𝑘[𝑉]𝐺⁠ is a finite module over them. The nullcone itself is found through Theorem 4.4.14 and one elimination, Proposition 6.1.10. Derksen’s algorithm, Algorithm 6.2.6, computes an ideal with zero set 𝒩︀⁠ from the graph of the action instead and applies ℛ︀⁠ to its generators; the OSCAR calls above are that algorithm, and Theorem 6.2.4 is why it works. Both algorithms compute the nullcone first, before any invariant.

5Classical invariant theory of forms

Unverified draft. This chapter has not yet been checked by the lecturer. Expect errors, from the English to the mathematics; see the preface.

This chapter treats the invariant theory of the 19th century: 𝐺𝐿𝑛⁠ acts on the coefficients of a form, and we look for the polynomials in these coefficients that are invariant. Chapter 4 proved finite generation and constructed the Reynolds operator for every linearly reductive group. Here we study the family of examples for which the theory was developed, together with the tools that compute its invariants: transvectants, Cayley’s Ω⁠-process, the Lie algebra of 𝑆𝐿2⁠, and the symbolic method. The conventions of chapter 4 stay in force: 𝑘⁠ is algebraically closed of characteristic 0⁠, and the reader may take 𝑘=ℂ⁠.

5.1Forms, invariants, covariants

Chapter 4 defined invariants of binary forms and proved that the discriminant generates them for 𝑑=2⁠. Before computing further invariants we need the notions in which the classical results are stated: forms in any number of variables; relative invariants of 𝐺𝐿𝑛⁠ and their relation to invariants of 𝑆𝐿𝑛⁠, which chapter 4 promised to clarify; and covariants, which depend on the variables of the form as well as on its coefficients. Most classical constructions produce covariants. This section gives the definitions, the three numbers attached to every covariant, and the first examples.

Forms in 𝑛⁠ variables

Write 𝐱=(𝑥1,…,𝑥𝑛)⁠ and 𝑘[𝐱]𝑑⁠ for the forms of degree 𝑑⁠ in 𝑛⁠ variables, as in Section 1.2; for 𝑛=2⁠ this is the space 𝑉𝑑⁠ of Definition 4.1.11. Throughout this section

𝑉≔𝑘[𝐱]𝑑, 𝑓=∑|𝛼|=𝑑𝑎𝛼 𝐱𝛼,

where the sum runs over all 𝛼∈ℕ𝑛⁠ with |𝛼|=𝑑⁠, and the coefficients 𝑎𝛼⁠ are the coordinate functions on 𝑉⁠, so 𝑘[𝑉]=𝑘[𝑎𝛼:|𝛼|=𝑑]⁠, a polynomial ring in (𝑛+𝑑−1𝑑)⁠ variables. For 𝑔∈𝑘𝑛×𝑛⁠ let 𝑓∘𝑔⁠ be 𝑓⁠ with 𝑔⁠ substituted for the variables,

(𝑓∘𝑔)(𝐱)≔𝑓(𝑔𝐱), (𝑓∘𝑔)∘ℎ=𝑓∘(𝑔ℎ).

𝐺𝐿𝑛⁠ acts on 𝑉⁠ by Definition 1.2.1, 𝑔⋅𝑓=𝑓∘𝑔−1⁠, a rational representation by Lemma 4.1.10, and on 𝑘[𝑉]⁠ by

(𝑔⋅𝑃)(𝑓)=𝑃(𝑔−1⋅𝑓)=𝑃(𝑓∘𝑔) (𝑃∈𝑘[𝑉], 𝑓∈𝑉),

(5.1)

the two inverses cancelling as in Definition 4.1.11. The substitution 𝑓↦𝑓∘𝑔⁠ is defined for every matrix 𝑔⁠, invertible or not, and its coefficients are polynomials in the entries of 𝑔⁠; Section 5.3 relies on that.

Definition 5.1.1 (Invariants and relative invariants of forms). An invariant of forms of degree 𝑑⁠ in 𝑛⁠ variables is an element of 𝑘[𝑉]𝑆𝐿𝑛⁠, for 𝑉=𝑘[𝐱]𝑑⁠ and the action Equation 5.1. A polynomial 𝑃∈𝑘[𝑉]⁠ is a relative invariant of weight 𝑝⁠, 𝑝∈ℕ⁠, if

𝑔⋅𝑃=det(𝑔)𝑝 𝑃 for all 𝑔∈𝐺𝐿𝑛.

This use of weight is unrelated to the torus weights of Definition 4.2.9.

Example 5.1.2 (Binary quadratics). Let 𝑛=𝑑=2⁠ and 𝑓=𝑎0𝑥2+𝑎1𝑥𝑦+𝑎2𝑦2⁠.

  1. (1)The discriminant 𝐷=𝑎12−4𝑎0𝑎2⁠ is a relative invariant of weight 2⁠: this is the identity 𝑔⋅𝐷=det(𝑔)2𝐷⁠ of Example 4.1.13.

  2. (2)The coordinate 𝑎1⁠ is not an invariant. For 𝑔=(10𝑠1)⁠ the proof of Proposition 4.3.6 computed the coefficient of 𝑥𝑦⁠ in 𝑓∘𝑔⁠ as 𝑎1+2𝑠𝑎2⁠, so 𝑔⋅𝑎1=𝑎1+2𝑠𝑎2⁠ by Equation 5.1. Yet every diagonal matrix diag(𝑠,𝑠−1)∈𝑆𝐿2⁠ fixes 𝑎1⁠, since 𝑓(𝑠𝑥,𝑠−1𝑦)=𝑠2𝑎0𝑥2+𝑎1𝑥𝑦+𝑠−2𝑎2𝑦2⁠.

A relative invariant is 𝑆𝐿𝑛⁠-invariant because det⁠ is 1⁠ there. The converse needs homogeneity, and it holds for every rational representation of 𝐺𝐿𝑛⁠, so we state it in that generality.

Proposition 5.1.3 (Relative invariants are the homogeneous invariants). Let 𝑉⁠ be a rational representation of 𝐺𝐿𝑛⁠ and let 𝑃∈𝑘[𝑉]⁠ satisfy (𝑠𝐼)⋅𝑃=𝑠𝑒𝑃⁠ for all 𝑠∈𝑘×⁠ and some 𝑒∈ℤ⁠. Then 𝑃⁠ is 𝑆𝐿𝑛⁠-invariant if and only if 𝑃⁠ is a relative invariant of some weight 𝑝⁠, and in that case 𝑛𝑝=𝑒⁠. In particular 𝑃=0⁠ unless 𝑛∣𝑒⁠.

For 𝑉=𝑘[𝐱]𝑑⁠ and 𝑃∈𝑘[𝑉]𝑚⁠ one has 𝑒=𝑚𝑑⁠: the invariants of forms of degree 𝑑⁠ that are homogeneous of degree 𝑚⁠ in the coefficients are the relative invariants of weight 𝑚𝑑/𝑛⁠, and there are none if 𝑛∤𝑚𝑑⁠.

Proof. Let 𝑃⁠ be 𝑆𝐿𝑛⁠-invariant and 𝑔∈𝐺𝐿𝑛⁠. Since 𝑘⁠ is algebraically closed, choose 𝑠∈𝑘×⁠ with 𝑠𝑛=det(𝑔)⁠; then 𝑠−1𝑔∈𝑆𝐿𝑛⁠ and

𝑔⋅𝑃=(𝑠𝐼)⋅((𝑠−1𝑔)⋅𝑃)=(𝑠𝐼)⋅𝑃=𝑠𝑒𝑃.

For 𝑔=𝐼⁠ this reads 𝑃=𝜁𝑒𝑃⁠ for every 𝑛⁠-th root of unity 𝜁⁠, so either 𝑃=0⁠ or 𝑛∣𝑒⁠. If 𝑛∣𝑒⁠, then 𝑠𝑒⁠ depends only on 𝑠𝑛=det(𝑔)⁠, namely 𝑠𝑒=det(𝑔)𝑒/𝑛⁠, and 𝑃⁠ is a relative invariant of weight 𝑝=𝑒/𝑛⁠. Conversely a relative invariant is fixed by 𝑆𝐿𝑛⁠, and comparing (𝑠𝐼)⋅𝑃=det(𝑠𝐼)𝑝𝑃=𝑠𝑛𝑝𝑃⁠ with 𝑠𝑒𝑃⁠ gives 𝑛𝑝=𝑒⁠ when 𝑃≠0⁠.

For 𝑉=𝑘[𝐱]𝑑⁠ and 𝑔=𝑠𝐼⁠ we have 𝑓∘𝑔=𝑠𝑑𝑓⁠, so by Equation 5.1 (𝑠𝐼)⋅𝑎𝛼=𝑠𝑑𝑎𝛼⁠ for every coordinate, and (𝑠𝐼)⋅𝑃=𝑠𝑚𝑑𝑃⁠ for 𝑃∈𝑘[𝑉]𝑚⁠.□⁠

This is the precise form of the remark after Definition 4.1.11: the 𝐺𝐿𝑛⁠-invariants up to a power of det⁠ are exactly the 𝑆𝐿𝑛⁠-invariants, and the power is forced by the degree. By Lemma 4.1.10 every 𝑆𝐿𝑛⁠-invariant is a sum of homogeneous ones, so

𝑘[𝑉]𝑆𝐿𝑛=⨁𝑚≥0𝑘[𝑉]𝑚𝑆𝐿𝑛=⨁𝑝≥0{relative invariants of weight 𝑝},

and nothing is lost by working with 𝑆𝐿𝑛⁠. For the discriminant of Example 5.1.2 (1), 𝑚=𝑑=𝑛=2⁠ gives the weight 𝑚𝑑/𝑛=2⁠.

Example 5.1.4 (Quadratic forms in 𝑛⁠ variables). Let 𝑑=2⁠. A quadratic form is 𝑓=𝐱𝖳𝐴𝐱⁠ for a unique symmetric matrix 𝐴⁠, with 𝑎𝛼=𝐴𝑖𝑖⁠ for 𝛼=2𝑒𝑖⁠ and 𝑎𝛼=2𝐴𝑖𝑗⁠ for 𝛼=𝑒𝑖+𝑒𝑗⁠, 𝑖≠𝑗⁠, where 𝑒𝑖∈ℕ𝑛⁠ is the 𝑖⁠-th unit vector; so 𝑘[𝑉]⁠ is the polynomial ring in the entries 𝐴𝑖𝑗⁠, 𝑖≤𝑗⁠. Substitution is 𝑓∘𝑔=𝐱𝖳(𝑔𝖳𝐴𝑔)𝐱⁠, so (𝑔⋅𝑃)(𝐴)=𝑃(𝑔𝖳𝐴𝑔)⁠, and det𝐴⁠ is a relative invariant of weight 2⁠. It generates:

𝑘[𝑉]𝑆𝐿𝑛=𝑘[det𝐴].

For 𝑛=2⁠, det𝐴=𝑎0𝑎2−𝑎12/4=−𝐷/4⁠, and this is Proposition 4.3.6 again.

To see it, let 𝑃⁠ be an invariant, homogeneous of degree 𝑚⁠, hence of some weight 𝑝⁠ by Proposition 5.1.3, and put 𝑐≔𝑃(𝐼)⁠. Then 𝑃(𝑔𝖳𝑔)=det(𝑔)𝑝𝑐⁠ for all 𝑔∈𝐺𝐿𝑛⁠, and both sides are polynomials in the entries of 𝑔⁠ that agree on the dense open set det𝑔≠0⁠ of 𝑘𝑛×𝑛⁠, hence everywhere. Replacing 𝑔⁠ by diag(−1,1,…,1) 𝑔⁠ leaves 𝑔𝖳𝑔⁠ fixed and changes det𝑔⁠ by −1⁠, so 𝑐=0⁠ if 𝑝⁠ is odd, and then 𝑃⁠ vanishes on every matrix of the form 𝑔𝖳𝑔⁠. Every symmetric matrix is of that form: a symmetric bilinear form is diagonalisable, 𝐴=ℎ𝖳diag(𝜆1,…,𝜆𝑛) ℎ⁠ with ℎ∈𝐺𝐿𝑛⁠, and 𝑘⁠ contains the square roots of the 𝜆𝑖⁠. So for odd 𝑝⁠, 𝑃=0⁠, and for even 𝑝⁠, 𝑃(𝐴)=𝑐det(𝐴)𝑝/2⁠ for every symmetric 𝐴⁠, that is 𝑃=𝑐 (det𝐴)𝑝/2∈𝑘[det𝐴]⁠.

Covariants

Chapter 4 regarded a form only through its coefficients. The classical theory also keeps the variables, so that the form itself, its Hessian and similar constructions count as invariant objects. Formally, let 𝐺𝐿𝑛⁠ act on 𝑉⊕𝑘𝑛⁠ by 𝑔⋅(𝑓,𝑣)≔(𝑔⋅𝑓,𝑔𝑣)⁠, the direct sum of the representation on forms and the natural one; by Lemma 4.1.10 this gives a rational representation on

𝑘[𝑉⊕𝑘𝑛]=𝑘[𝑎𝛼:|𝛼|=𝑑][𝑥1,…,𝑥𝑛],

the polynomials in the coefficients and the variables, with (𝑔⋅𝐶)(𝑓,𝑣)=𝐶(𝑔−1⋅(𝑓,𝑣))=𝐶(𝑓∘𝑔,𝑔−1𝑣)⁠. For fixed 𝑓⁠ we read 𝐶(𝑓,𝐱)⁠ as a polynomial in 𝐱⁠ and write 𝐶(𝑓)∘𝑔⁠ for the result of substituting 𝑔⁠ into it.

Definition 5.1.5 (Covariant). A covariant of weight 𝑝⁠ of forms of degree 𝑑⁠ in 𝑛⁠ variables is a polynomial 𝐶∈𝑘[𝑉⊕𝑘𝑛]⁠ with 𝑔⋅𝐶=det(𝑔)𝑝𝐶⁠ for all 𝑔∈𝐺𝐿𝑛⁠; written out,

𝐶(𝑓∘𝑔,𝐱)=det(𝑔)𝑝 𝐶(𝑓,𝑔𝐱) (𝑔∈𝐺𝐿𝑛, 𝑓∈𝑉),

(5.2)

the covariant of the substituted form is the substituted covariant, up to the factor det(𝑔)𝑝⁠. If 𝐶⁠ is homogeneous of degree 𝑚⁠ in the coefficients 𝑎𝛼⁠ and of degree 𝑟⁠ in 𝑥1,…,𝑥𝑛⁠, then 𝑚⁠ is its degree and 𝑟⁠ its order. A covariant of order 0⁠ is an invariant, and a sum of covariants is a covariant exactly when all summands have the same weight.

Example 5.1.6 (The form and the Hessian).
  1. (1)The form itself, 𝐶(𝑓,𝐱)≔𝑓(𝐱)⁠, is a covariant of degree 1⁠, order 𝑑⁠, weight 0⁠: Equation 5.2 reads (𝑓∘𝑔)(𝐱)=𝑓(𝑔𝐱)⁠, the definition of 𝑓∘𝑔⁠.

  2. (2)The Hessian

    𝐻(𝑓,𝐱)≔det(𝜕2𝑓𝜕𝑥𝑖 𝜕𝑥𝑗)𝑖,𝑗

    is a covariant of degree 𝑛⁠, order 𝑛(𝑑−2)⁠ and weight 2⁠ for 𝑑≥2⁠. Its degree and order are read off from the entries, each of degree 1⁠ in the coefficients and 𝑑−2⁠ in 𝐱⁠; the weight is computed in the proof below. For 𝑑=2⁠ it is the invariant 2𝑛det𝐴⁠ of Example 5.1.4; for a binary quadratic, 𝐻=4𝑎0𝑎2−𝑎12=−𝐷⁠.

  3. (3)If 𝐶1,…,𝐶𝑛⁠ are covariants of weights 𝑝1,…,𝑝𝑛⁠, their Jacobian 𝐽≔det(𝜕𝐶𝑖/𝜕𝑥𝑗)𝑖,𝑗⁠ is a covariant of weight 𝑝1+⋯+𝑝𝑛+1⁠.

  4. (4)A partial derivative of 𝑓⁠ is not a covariant. Let 𝑛=𝑑=2⁠, write 𝑥,𝑦⁠ for 𝑥1,𝑥2⁠, let 𝐶(𝑓,𝑥,𝑦)≔𝜕𝑓/𝜕𝑥⁠ and 𝑔≔diag(𝑠,𝑠−1)⁠, so that 𝑓∘𝑔=𝑠2𝑎0𝑥2+𝑎1𝑥𝑦+𝑠−2𝑎2𝑦2⁠. Then

    𝐶(𝑓∘𝑔,𝑥,𝑦)=2𝑠2𝑎0𝑥+𝑎1𝑦, 𝐶(𝑓,𝑠𝑥,𝑠−1𝑦)=2𝑠𝑎0𝑥+𝑠−1𝑎1𝑦,

    and since det(𝑔)=1⁠, Equation 5.2 would require these to agree for all 𝑠∈𝑘×⁠.

Proof.
  1. (1)Differentiating (𝑓∘𝑔)(𝐱)=𝑓(𝑔𝐱)⁠ twice by the chain rule gives, with 𝜕𝑖≔𝜕/𝜕𝑥𝑖⁠,

    𝜕𝑖𝜕𝑗(𝑓∘𝑔)(𝐱)=∑𝑘,𝑙𝑔𝑘𝑖 𝑔𝑙𝑗 (𝜕𝑘𝜕𝑙𝑓)(𝑔𝐱),

    that is, the Hessian matrix of 𝑓∘𝑔⁠ at 𝐱⁠ is 𝑔𝖳(Hessian matrix of 𝑓 at 𝑔𝐱) 𝑔⁠. Taking determinants, 𝐻(𝑓∘𝑔,𝐱)=det(𝑔)2𝐻(𝑓,𝑔𝐱)⁠.

  2. (2)Differentiating Equation 5.2 for 𝐶𝑖⁠ with respect to 𝑥𝑗⁠,

    𝜕𝑗[𝐶𝑖(𝑓∘𝑔,⋅)](𝐱)=det(𝑔)𝑝𝑖∑𝑙(𝜕𝑙𝐶𝑖)(𝑓,𝑔𝐱) 𝑔𝑙𝑗,

    so the Jacobian matrix of the substituted covariants is diag(det(𝑔)𝑝𝑖)⋅(𝜕𝑙𝐶𝑖)(𝑓,𝑔𝐱)⋅𝑔⁠, whose determinant is det(𝑔)𝑝1+⋯+𝑝𝑛+1𝐽(𝑓,𝑔𝐱)⁠.□⁠

The scalar matrix 𝑠𝐼⁠ acts on a bihomogeneous 𝐶⁠ (homogeneous separately in the coefficients 𝑎𝛼⁠ and in 𝐱⁠) of degree 𝑚⁠ and order 𝑟⁠ by 𝐶(𝑠𝑑𝑓,𝑠−1𝐱)=𝑠𝑚𝑑−𝑟𝐶(𝑓,𝐱)⁠, so Proposition 5.1.3 applies with 𝑒=𝑚𝑑−𝑟⁠ and says: a bihomogeneous 𝐶⁠ is a covariant of some weight if and only if it is 𝑆𝐿𝑛⁠-invariant, and then

𝑚𝑑=𝑛𝑝+𝑟.

(5.3)

Degree and order determine the weight, and degree and weight determine the order. We use both pairs: the order is the degree of 𝐶⁠ as a polynomial in 𝐱⁠, and for binary forms the weight is determined by the action of the diagonal torus, by Lemma 5.1.9 below. For the Hessian of Example 5.1.6 (2), 𝑛𝑑=2𝑛+𝑛(𝑑−2)⁠. Since every element of 𝑘[𝑉⊕𝑘𝑛]⁠ is a sum of bihomogeneous ones, and the action preserves bidegrees, the covariants of all weights together span the bigraded algebra 𝑘[𝑉⊕𝑘𝑛]𝑆𝐿𝑛⁠, the ring of covariants. It is finitely generated by Theorem 4.3.1, as 𝑆𝐿𝑛⁠ is linearly reductive by Theorem 4.2.13. For 𝑛=2⁠, Gordan proved this twenty-two years before Hilbert; see Section 5.6.

The constructions extend verbatim to several forms 𝑓1,…,𝑓𝑟⁠ of degrees 𝑑1,…,𝑑𝑟⁠: replace 𝑉⁠ by 𝑘[𝐱]𝑑1⊕⋯⊕𝑘[𝐱]𝑑𝑟⁠. Invariants and covariants of such a tuple are called joint.

Weight and the torus

The word weight is in use in several senses: the weighted gradings of Example 2.2.3 (2), the torus weights of Definition 4.2.9, the weight 𝑝⁠ of a relative invariant in Definition 5.1.1, and, for binary forms, the older isobaric weight defined next. Lemma 5.1.9 below shows that the weight 𝑝⁠ of a relative invariant equals its isobaric weight, and Example 5.2.10 below that a monomial of degree 𝑚⁠ and isobaric weight 𝑤⁠ has torus weight 𝑚𝑑−2𝑤⁠ for the diagonal torus {diag(𝑠,𝑠−1)}⁠ of 𝑆𝐿2⁠. Let 𝑛=2⁠ and 𝑓=∑𝑖=0𝑑𝑎𝑖𝑥𝑑−𝑖𝑦𝑖⁠ as in Definition 4.1.11.

Definition 5.1.7 (Weight of a monomial, isobaric polynomial). The weight of a monomial 𝑎0𝑒0𝑎1𝑒1⋯𝑎𝑑𝑒𝑑∈𝑘[𝑉𝑑]⁠ is 𝑤≔∑𝑖=0𝑑𝑖 𝑒𝑖⁠. A polynomial 𝑃∈𝑘[𝑉𝑑]⁠ is isobaric of weight 𝑤⁠ if all monomials occurring in 𝑃⁠ have weight 𝑤⁠.
Example 5.1.8 (Isobaric and not isobaric). Let 𝑑=2⁠. The monomials 𝑎0𝑎2⁠ and 𝑎12⁠ both have weight 2⁠, so the discriminant 𝐷=𝑎12−4𝑎0𝑎2⁠ is isobaric of weight 2⁠; this is also its weight as a relative invariant, by Example 5.1.2 (1). The polynomial 𝑎0+𝑎2⁠ is not isobaric: its monomials have weights 0⁠ and 2⁠.
Lemma 5.1.9 (Invariants are isobaric). A relative invariant of binary forms of degree 𝑑⁠ that is homogeneous of degree 𝑚⁠ is isobaric of weight 𝑚𝑑/2⁠, which is also its weight in the sense of Definition 5.1.1. More generally, the coefficient of 𝑥𝑟−𝑗𝑦𝑗⁠ in a covariant of degree 𝑚⁠ and order 𝑟⁠ is isobaric of weight (𝑚𝑑−𝑟)/2+𝑗⁠.
Proof. For 𝑡=diag(𝑠,𝑠−1)∈𝑆𝐿2⁠, as in Example 4.4.16, 𝑓∘𝑡=∑𝑖𝑠𝑑−2𝑖𝑎𝑖𝑥𝑑−𝑖𝑦𝑖⁠, so by Equation 5.1 𝑡⋅𝑎𝑖=𝑠𝑑−2𝑖𝑎𝑖⁠ and 𝑡⋅(𝑎0𝑒0⋯𝑎𝑑𝑒𝑑)=𝑠𝑚𝑑−2𝑤 𝑎0𝑒0⋯𝑎𝑑𝑒𝑑⁠ for a monomial of degree 𝑚⁠ and weight 𝑤⁠. A polynomial fixed by every 𝑡⁠ can therefore only contain monomials with 𝑚𝑑−2𝑤=0⁠; this is Proposition 1.5.2 for the torus {𝑡}⁠ of rank 1⁠. The weight 𝑝⁠ of Definition 5.1.1 is 𝑚𝑑/2⁠ by Proposition 5.1.3. For a covariant 𝐶⁠ of order 𝑟⁠, 𝑡⋅𝐶=𝐶⁠ reads 𝐶(𝑓∘𝑡,𝐱)=𝐶(𝑓,𝑠𝑥,𝑠−1𝑦)⁠, and comparing the coefficients of 𝑥𝑟−𝑗𝑦𝑗⁠ on both sides gives 𝑚𝑑−2𝑤=𝑟−2𝑗⁠ for every monomial of that coefficient.□⁠

So the diagonal torus determines which monomials an invariant of degree 𝑚⁠ may contain, and leaves the question of which combinations of them are invariant under the rest of 𝑆𝐿2⁠; by Example 5.1.2 (2), not all of them are. That was the plan of the proof of Proposition 4.3.6, and Section 5.2 and Section 5.5 follow it for every 𝑑⁠.

5.2Binary forms

For binary forms the invariants and covariants can be described explicitly: one construction, the transvectant, produces every covariant from the form itself (Section 5.6 below), the invariant rings for 𝑑≤4⁠ have one or two generators, and the number of invariants of each degree is a number of partitions. This section works out 𝑑=3⁠ and 𝑑=4⁠, which chapter 4 promised, states what is known for 𝑑≤10⁠, and proves the counting formula. For the latter we introduce the Lie algebra of 𝑆𝐿2⁠ and determine the structure of the rational representations of 𝑆𝐿2⁠. Throughout, 𝑛=2⁠, 𝑓=∑𝑖=0𝑑𝑎𝑖𝑥𝑑−𝑖𝑦𝑖∈𝑉𝑑⁠ as in Definition 4.1.11, and 𝑘[𝑉𝑑]=𝑘[𝑎0,…,𝑎𝑑]⁠.

Transvectants

The Hessian of Example 5.1.6 was built from second derivatives and a 2×2⁠ determinant. The general construction pairs two covariants through 𝑟⁠-th derivatives.

Definition 5.2.1 (Transvectant). For polynomials 𝐶,𝐶′∈𝑘[𝑉𝑑][𝑥,𝑦]⁠ and 𝑟≥0⁠, the 𝑟⁠-th transvectant is

(𝐶,𝐶′)𝑟≔∑𝑖=0𝑟(−1)𝑖(𝑟𝑖) 𝜕𝑟𝐶𝜕𝑥𝑟−𝑖 𝜕𝑦𝑖 𝜕𝑟𝐶′𝜕𝑥𝑖 𝜕𝑦𝑟−𝑖.
Example 5.2.2 (Transvectants).
  1. (1)For all 𝐶,𝐶′⁠, (𝐶,𝐶′)0=𝐶𝐶′⁠ and (𝐶,𝐶′)1=𝐶𝑥𝐶𝑦′−𝐶𝑦𝐶𝑥′⁠, subscripts denoting partial derivatives, the Jacobian of Example 5.1.6 (3). For a binary form 𝑓⁠, (𝑓,𝑓)2=2(𝑓𝑥𝑥𝑓𝑦𝑦−𝑓𝑥𝑦2)⁠ is twice the Hessian.

  2. (2)For 𝐶=𝑥2⁠ and 𝐶′=𝑦2⁠,

    (𝑥2,𝑦2)0=𝑥2𝑦2, (𝑥2,𝑦2)1=2𝑥⋅2𝑦=4𝑥𝑦,(𝑥2,𝑦2)2=2⋅2=4, (𝑥2,𝑦2)3=0.

    Each step lowers the degree in 𝑥,𝑦⁠ by 2⁠. Exchanging the two arguments, (𝑦2,𝑥2)1=−4𝑥𝑦⁠.

The transvectant is bilinear, and (𝐶′,𝐶)𝑟=(−1)𝑟(𝐶,𝐶′)𝑟⁠, so (𝐶,𝐶)𝑟=0⁠ for odd 𝑟⁠; it vanishes if 𝑟⁠ exceeds the order of 𝐶⁠ or of 𝐶′⁠. Other authors, such as [Olv99], divide by constants depending on 𝑟⁠ and the orders; we leave them out, since they do not matter here.

To show that transvectants of covariants are covariants, we use a differential operator in four variables, which returns for general 𝑛⁠ in Section 5.3. The following definition will be useful momentarily.

Definition 5.2.3 (The operator Ω⁠ for 𝑛=2⁠). Let 𝐴⁠ be a commutative 𝑘⁠-algebra, for instance 𝐴=𝑘[𝑉𝑑]⁠, and let 𝑥1,𝑦1,𝑥2,𝑦2⁠ be four variables. On 𝐴[𝑥1,𝑦1,𝑥2,𝑦2]⁠ let

Ω≔𝜕2𝜕𝑥1 𝜕𝑦2−𝜕2𝜕𝑦1 𝜕𝑥2,

the elements of 𝐴⁠ being treated as constants. For 𝑔∈𝑘2×2⁠ and Ψ∈𝐴[𝑥1,𝑦1,𝑥2,𝑦2]⁠ let Ψ∘𝑔⁠ be the result of substituting 𝑔(𝑥𝑗𝑦𝑗)⁠ for (𝑥𝑗𝑦𝑗)⁠, 𝑗=1,2⁠.

Example 5.2.4 (Ω⁠ on a determinant). Let Ψ≔𝑥1𝑦2−𝑦1𝑥2⁠, the determinant of the matrix with columns (𝑥1𝑦1)⁠ and (𝑥2𝑦2)⁠. Then ΩΨ=1−(−1)=2⁠, whereas Ω(𝑥1𝑥2)=0⁠. Substituting 𝑔⁠ multiplies each column by 𝑔⁠, so Ψ∘𝑔=det(𝑔) Ψ⁠, and

Ω(Ψ∘𝑔)=2det(𝑔)=det(𝑔) (ΩΨ)∘𝑔.

The next lemma shows that this holds for every Ψ⁠.

Lemma 5.2.5 (The operator Ω⁠ commutes with substitution up to det⁠). Ω(Ψ∘𝑔)=det(𝑔) (ΩΨ)∘𝑔⁠ for every Ψ⁠ and every 𝑔∈𝑘2×2⁠; hence Ω𝑟(Ψ∘𝑔)=det(𝑔)𝑟(Ω𝑟Ψ)∘𝑔⁠ for all 𝑟⁠.

Proof. By the chain rule, with 𝜕𝑥1⁠ short for 𝜕/𝜕𝑥1⁠,

𝜕𝑥1(Ψ∘𝑔)=(𝑔11 𝜕𝑥1Ψ+𝑔21 𝜕𝑦1Ψ)∘𝑔, 𝜕𝑦2(Ψ∘𝑔)=(𝑔12 𝜕𝑥2Ψ+𝑔22 𝜕𝑦2Ψ)∘𝑔,

and likewise for 𝜕𝑦1⁠ and 𝜕𝑥2⁠ with the roles of the two columns of 𝑔⁠ exchanged. Expanding 𝜕𝑥1𝜕𝑦2⁠ and 𝜕𝑦1𝜕𝑥2⁠ of Ψ∘𝑔⁠ gives four terms each; the terms in 𝜕𝑥1𝜕𝑥2Ψ⁠ and in 𝜕𝑦1𝜕𝑦2Ψ⁠ carry the same coefficient in both and cancel in the difference, and the rest is

Ω(Ψ∘𝑔)=((𝑔11𝑔22−𝑔12𝑔21) 𝜕𝑥1𝜕𝑦2Ψ+(𝑔21𝑔12−𝑔22𝑔11) 𝜕𝑦1𝜕𝑥2Ψ)∘𝑔=det(𝑔) (ΩΨ)∘𝑔.

The second claim follows by induction on 𝑟⁠, applying the first to Ω𝑟−1Ψ⁠.□⁠

Theorem 5.2.6 (Transvectants of covariants are covariants). Let 𝐶⁠ and 𝐶′⁠ be covariants of binary forms of degrees 𝑚,𝑚′⁠, orders 𝑟1,𝑟2⁠ and weights 𝑝,𝑝′⁠. Then (𝐶,𝐶′)𝑟⁠ is a covariant of degree 𝑚+𝑚′⁠, order 𝑟1+𝑟2−2𝑟⁠ and weight 𝑝+𝑝′+𝑟⁠, or zero. The same holds for joint covariants of several binary forms.

Proof. Put Ψ(𝑓;𝑥1,𝑦1,𝑥2,𝑦2)≔𝐶(𝑓,𝑥1,𝑦1) 𝐶′(𝑓,𝑥2,𝑦2)⁠, an element of 𝐴[𝑥1,𝑦1,𝑥2,𝑦2]⁠ for 𝐴=𝑘[𝑉𝑑]⁠ as in Definition 5.2.3, and let 𝛿⁠ be the substitution 𝑥1=𝑥2=𝑥⁠, 𝑦1=𝑦2=𝑦⁠. The two summands of Ω⁠ commute, so the binomial theorem gives

Ω𝑟Ψ=∑𝑖=0𝑟(−1)𝑖(𝑟𝑖) 𝜕𝑥1𝑟−𝑖𝜕𝑦1𝑖𝐶(𝑓,𝑥1,𝑦1) 𝜕𝑥2𝑖𝜕𝑦2𝑟−𝑖𝐶′(𝑓,𝑥2,𝑦2),

and 𝛿(Ω𝑟Ψ)=(𝐶,𝐶′)𝑟⁠. For 𝑔∈𝐺𝐿2⁠, Equation 5.2 for 𝐶⁠ and 𝐶′⁠ says Ψ(𝑓∘𝑔;⋅)=det(𝑔)𝑝+𝑝′ Ψ(𝑓;⋅)∘𝑔⁠. Apply 𝛿Ω𝑟⁠, using Lemma 5.2.5 and the fact that 𝛿⁠ commutes with substituting 𝑔⁠:

(𝐶,𝐶′)𝑟(𝑓∘𝑔,𝑥,𝑦)=det(𝑔)𝑝+𝑝′𝛿(Ω𝑟(Ψ(𝑓;⋅)∘𝑔))=det(𝑔)𝑝+𝑝′+𝑟 ((𝐶,𝐶′)𝑟(𝑓)∘𝑔)(𝑥,𝑦).

This is Equation 5.2 for (𝐶,𝐶′)𝑟⁠ with weight 𝑝+𝑝′+𝑟⁠. The degree is 𝑚+𝑚′⁠ since derivatives in 𝑥,𝑦⁠ do not touch the coefficients, and the order is 𝑟1+𝑟2−2𝑟⁠ as each summand has 2𝑟⁠ derivatives in 𝑥,𝑦⁠. For joint covariants the same computation applies with 𝑓⁠ replaced by a tuple of forms.□⁠

The weight is consistent with Equation 5.3: (𝑚+𝑚′)𝑑=2(𝑝+𝑝′+𝑟)+(𝑟1+𝑟2−2𝑟)⁠ follows from 𝑚𝑑=2𝑝+𝑟1⁠ and 𝑚′𝑑=2𝑝′+𝑟2⁠. Starting from the form itself, transvectants of transvectants produce covariants of every degree, and Section 5.6 explains why finitely many of them suffice.

The cubic

Let 𝑑=3⁠, 𝑓=𝑎0𝑥3+𝑎1𝑥2𝑦+𝑎2𝑥𝑦2+𝑎3𝑦3⁠. The transvectant (𝑓,𝑓)2⁠ has every coefficient divisible by 8⁠; put

𝐻≔18(𝑓,𝑓)2=(3𝑎0𝑎2−𝑎12) 𝑥2+(9𝑎0𝑎3−𝑎1𝑎2) 𝑥𝑦+(3𝑎1𝑎3−𝑎22) 𝑦2,

a quarter of the Hessian of Example 5.1.6, and

𝑇≔(𝑓,𝐻)1=𝑓𝑥𝐻𝑦−𝑓𝑦𝐻𝑥, 𝐷≔𝑎12𝑎22−4𝑎0𝑎23−4𝑎13𝑎3−27𝑎02𝑎32+18𝑎0𝑎1𝑎2𝑎3.

𝐷⁠ is the discriminant of the cubic: for 𝑎0=1⁠ it is the polynomial of Example 1.1.34 in the coefficients of 𝑧3+𝑎1𝑧2+𝑎2𝑧+𝑎3⁠, the square of the Vandermonde determinant of the roots, and in general 𝐷(𝑓)=𝑎04∏𝑖<𝑗(𝜌𝑖−𝜌𝑗)2⁠ for 𝑓=𝑎0∏𝑖(𝑥−𝜌𝑖𝑦)⁠. Expanding the transvectants, one finds (𝐻,𝐻)2=6𝐷⁠, so that 𝐷⁠ is a covariant by Theorem 5.2.6, and the discriminant of the quadratic form 𝐻⁠ is −3𝐷⁠. By Theorem 5.2.6 the four covariants have

degree 𝑚⁠order 𝑟⁠weight 𝑝⁠
𝑓⁠1⁠3⁠0⁠
𝐻⁠2⁠2⁠2⁠
𝑇⁠3⁠3⁠3⁠
𝐷⁠4⁠0⁠6⁠

in accordance with Equation 5.3. OSCAR has no transvectants, but they are a few lines of Julia: a form is a polynomial in a ring that contains its coefficients as variables, and derivative differentiates.

julia> using Oscar

julia> R, (a0, a1, a2, a3, x, y) =
           polynomial_ring(QQ, [:a0, :a1, :a2, :a3, :x, :y]);

julia> dx(f, i) = i == 0 ? f : dx(derivative(f, x), i - 1);

julia> dy(f, i) = i == 0 ? f : dy(derivative(f, y), i - 1);

julia> transvectant(f, g, r) = sum((-1)^i * binomial(r, i) *
           dx(dy(f, i), r - i) * dy(dx(g, i), r - i) for i in 0:r);

julia> f = a0*x^3 + a1*x^2*y + a2*x*y^2 + a3*y^3;

julia> H = divexact(transvectant(f, f, 2), 8)
3*a0*a2*x^2 + 9*a0*a3*x*y - a1^2*x^2 - a1*a2*x*y + 3*a1*a3*y^2 - a2^2*y^2

julia> T = transvectant(f, H, 1);

julia> D = divexact(transvectant(H, H, 2), 6)
-27*a0^2*a3^2 + 18*a0*a1*a2*a3 - 4*a0*a2^3 - 4*a1^3*a3 + a1^2*a2^2

julia> iszero(T^2 + 4*H^3 + 27*D*f^2)
true

The last line verifies a relation among the four covariants, part (2) of the next theorem.

Theorem 5.2.7 (Invariants of the binary cubic).
  1. (1)𝑘[𝑉3]𝑆𝐿2=𝑘[𝐷]⁠, a polynomial ring in one variable.

  2. (2)The covariants 𝑓,𝐻,𝑇,𝐷⁠ satisfy 𝑇2+4𝐻3+27𝐷𝑓2=0⁠.

  3. (3)The nullcone of 𝑉3⁠ is 𝑉(𝐷)⁠, the cubics with a multiple root.

Proof.
  1. (1)This is proved in Section 5.5, Example 5.5.11, once the symbolic method is available; it is the statement that chapter 4 cited from [DK15, Example 2.1.2]. For the moment, Theorem 5.2.27 below shows that the count of invariants of degree 𝑚⁠ is 1⁠ if 4∣𝑚⁠ and 0⁠ otherwise for 𝑚≤12⁠, which 𝐷𝑗⁠ accounts for.

  2. (2)This is the identity just verified by expansion.

  3. (3)By Example 4.4.16, for 𝑑=3⁠ the nullcone consists of the cubics with a linear factor of multiplicity at least 2⁠, that is, with a multiple root; and these are the cubics with 𝐷(𝑓)=0⁠.□⁠

Section 5.6 shows that 𝑓,𝐻,𝑇,𝐷⁠ generate the whole ring of covariants of the cubic, and that Theorem 5.2.7 (2) is its only relation.

The quartic

Let 𝑑=4⁠, 𝑓=𝑎0𝑥4+𝑎1𝑥3𝑦+𝑎2𝑥2𝑦2+𝑎3𝑥𝑦3+𝑎4𝑦4⁠, and 𝐻≔12(𝑓,𝑓)2⁠ its Hessian; the normalisation differs from the cubic’s 𝐻⁠, a quarter of the Hessian. The transvectants (𝑓,𝑓)4⁠ and (𝑓,𝐻)4⁠ are invariants by Theorem 5.2.6, of degrees 2⁠ and 3⁠; dividing out the constants 96⁠ and 576⁠ that the expansion produces,

𝐼≔12 𝑎0𝑎4−3 𝑎1𝑎3+𝑎22,𝐽≔72 𝑎0𝑎2𝑎4+9 𝑎1𝑎2𝑎3−27 𝑎0𝑎32−27 𝑎12𝑎4−2 𝑎23.

Both are isobaric, of weights 4⁠ and 6⁠, as Lemma 5.1.9 requires. The discriminant 𝐷⁠ of the quartic, 𝑎06∏𝑖<𝑗(𝜌𝑖−𝜌𝑗)2⁠ in terms of the roots, is an invariant of degree 6⁠, and expanding both sides one finds

27 𝐷=4𝐼3−𝐽2.

(5.4)

Theorem 5.2.8 (Invariants of the binary quartic).
  1. (1)𝑘[𝑉4]𝑆𝐿2=𝑘[𝐼,𝐽]⁠, and 𝐼,𝐽⁠ are algebraically independent: the invariant ring is a polynomial ring in generators of degrees 2⁠ and 3⁠, with Hilbert series 1/((1−𝑡2)(1−𝑡3))⁠.

  2. (2)The nullcone of 𝑉4⁠ is 𝑉(𝐼,𝐽)⁠, the quartics with a triple root.

  3. (3)For 𝐷(𝑓)≠0⁠, the value of

    𝑗(𝑓)≔1728 4𝐼34𝐼3−𝐽2=256 𝐼3𝐷

    depends only on the 𝐺𝐿2⁠-orbit of 𝑓⁠, and two quartics with four distinct roots lie in the same 𝐺𝐿2⁠-orbit if and only if their 𝑗⁠-values agree.

Proof. Algebraic independence. In the lexicographic order with 𝑎0>𝑎1>⋯>𝑎4⁠ the leading monomials are lm(𝐼)=𝑎0𝑎4⁠ and lm(𝐽)=𝑎0𝑎2𝑎4⁠, and lm(𝐼𝑏𝐽𝑐)=𝑎0𝑏+𝑐𝑎2𝑐𝑎4𝑏+𝑐⁠ determines (𝑏,𝑐)⁠. So distinct monomials in 𝐼,𝐽⁠ have distinct leading monomials, and 𝐼,𝐽⁠ are algebraically independent by Lemma 1.1.19. The Hilbert series of 𝑘[𝐼,𝐽]⁠ is then Lemma 2.2.6 (1). That 𝐼⁠ and 𝐽⁠ generate is proved in Section 5.5, Example 5.5.12.

  1. (1)By Example 4.4.16 the nullcone consists of the quartics with a root of multiplicity at least 3⁠. Such a form lies in the 𝑆𝐿2⁠-orbit of a multiple of 𝑥3𝑦⁠ or 𝑥4⁠, on which 𝐼⁠ and 𝐽⁠ vanish, and 𝐼,𝐽⁠ are constant on orbits. Conversely let 𝐼(𝑓)=𝐽(𝑓)=0⁠. Then 𝐷(𝑓)=0⁠ by Equation 5.4, so 𝑓⁠ has a multiple root. After a substitution 𝑔∈𝑆𝐿2⁠, which changes neither 𝐼(𝑓)⁠ nor 𝐽(𝑓)⁠, we may assume 𝑓=𝑥2(𝑎0𝑥2+𝑎1𝑥𝑦+𝑎2𝑦2)⁠, that is 𝑎3=𝑎4=0⁠. Then 𝐼=𝑎22⁠ and 𝐽=−2𝑎23⁠ force 𝑎2=0⁠, so 𝑥3⁠ divides 𝑓⁠.

  2. (2)𝐼3⁠ and 𝐷⁠ are relative invariants of the same weight 12⁠, so their ratio is constant on 𝐺𝐿2⁠-orbits where 𝐷≠0⁠. For the converse substitute 𝑔∈𝐺𝐿2⁠ to bring three of the four distinct roots, taken in 𝑘∪{∞}⁠ with a root ∞⁠ meaning the linear factor 𝑦⁠, to 0,1,∞⁠: 𝑓∘𝑔=𝑐 𝑥𝑦(𝑥−𝑦)(𝑥−𝜆𝑦)⁠ with 𝜆≠0,1⁠. For this form a direct expansion gives 𝐼=𝑐2(𝜆2−𝜆+1)⁠ and 𝐷=𝑐6𝜆2(𝜆−1)2⁠, so 𝑗(𝑓)=256 (𝜆2−𝜆+1)3/(𝜆2(𝜆−1)2)⁠, a rational function of 𝜆⁠ of degree 6⁠ that takes each value at exactly the six cross-ratios 𝜆,1−𝜆,1/𝜆,…⁠ obtained by permuting the four roots (the cross-ratio of four points of 𝑘∪{∞}⁠ is their one invariant under the Möbius transformations 𝑧↦(𝑎𝑧+𝑏)/(𝑐𝑧+𝑑)⁠ induced by 𝐺𝐿2⁠, and depends on their order); those are the 𝜆⁠ of the forms 𝑥𝑦(𝑥−𝑦)(𝑥−𝜆′𝑦)⁠ in the 𝐺𝐿2⁠-orbit of 𝑓⁠, and 𝑐⁠ is absorbed by a scalar matrix.□⁠

Part (3) has a geometric meaning. The four roots of 𝑓⁠ are the branch points of the double cover 𝑤2=𝑓(𝑥,1)⁠ of the projective line, an elliptic curve, and 𝑗(𝑓)⁠ is its 𝑗⁠-invariant: the expression in 𝜆⁠ is the 𝑗⁠-invariant of the Legendre curve 𝑤2=𝑥(𝑥−1)(𝑥−𝜆)⁠. Nothing below depends on this.

OSCAR computes the ring by Derksen’s algorithm of Section 6.2 in a few seconds. Recall from Section 4.3 that OSCAR writes the form with binomial coefficients, 𝑓=∑𝑖(4𝑖)𝑐𝑖𝑥4−𝑖𝑦𝑖⁠, so 𝑎1=4𝑐1⁠, 𝑎2=6𝑐2⁠, 𝑎3=4𝑐3⁠: its two generators are 𝐼/12⁠ and 𝐽/432⁠, the latter the determinant of the matrix (𝑐𝑖+𝑗)0≤𝑖,𝑗≤2⁠, called the catalecticant. The presentation has no relation, and the nullcone ideal computed from the graph of the action, as in Section 6.2 (chapter 6), is generated by 𝐼⁠ together with a cubic that is not invariant, with the same zero set as ⟨𝐼,𝐽⟩⁠.

julia> G = linearly_reductive_group(:SL, 2, QQ);

julia> S4, (c0, c1, c2, c3, c4) =
           graded_polynomial_ring(QQ, [:c0, :c1, :c2, :c3, :c4]);

julia> IR4 = invariant_ring(S4, representation_on_forms(G, 4));

julia> foreach(println, fundamental_invariants(IR4))
c0*c4 - 4*c1*c3 + 3*c2^2
c0*c2*c4 - c0*c3^2 - c1^2*c4 + 2*c1*c2*c3 - c2^3

julia> Q4, _ = affine_algebra(IR4); modulus(Q4)
Ideal generated by
  0

julia> null_cone_ideal(IR4)
Ideal generated by
  x[1]*x[5] - 4*x[2]*x[4] + 3*x[3]^2
  4*x[1]*x[3]*x[5] - 3*x[1]*x[4]^2 - 3*x[2]^2*x[5] + 2*x[2]*x[3]*x[4]

Weights and the Lie algebra of 𝑆𝐿2⁠

For a finite group, Molien’s theorem Theorem 2.2.11 gave the Hilbert series before any invariant was known. For 𝑆𝐿2⁠ the analogue is a count of partitions, due to Cayley [Cay56] and proved by Sylvester [Syl78]. Its two ingredients are the diagonal torus, which Lemma 5.1.9 has already used, and the structure of the rational representations of 𝑆𝐿2⁠, which we determine with three differential operators. Nothing from the theory of Lie algebras is assumed: the operators are defined by differentiating the action, and the relations between them are computed. The following definition will be useful momentarily.

Definition 5.2.9 (Weight spaces). Let 𝑊⁠ be a rational representation of 𝑆𝐿2⁠. For 𝜆∈ℤ⁠ the weight space of weight 𝜆⁠ is

𝑊𝜆≔{𝑤∈𝑊:diag(𝑠,𝑠−1)⋅𝑤=𝑠𝜆𝑤 for all 𝑠∈𝑘×}.

Its nonzero elements are the weight vectors of weight 𝜆⁠, and dim𝑊𝜆⁠ is the multiplicity of 𝜆⁠ in 𝑊⁠.

By Proposition 4.2.11, applied to the diagonal torus {diag(𝑠,𝑠−1):𝑠∈𝑘×}≅𝑘×⁠, we have 𝑊=⨁𝜆∈ℤ𝑊𝜆⁠. This is the weight of Definition 4.2.9 for this diagonal torus; the following example relates it to the isobaric weight of Definition 5.1.7.

Example 5.2.10 (Weight spaces of binary forms).
  1. (1)In 𝑉𝑑⁠, with the action of Definition 4.1.11, the monomial 𝑥𝑑−𝑖𝑦𝑖⁠ is a weight vector of weight 2𝑖−𝑑⁠, by Example 4.4.16.

  2. (2)In 𝑊=𝑘[𝑉𝑑]𝑚⁠ the monomials are weight vectors: by the proof of Lemma 5.1.9, a monomial of degree 𝑚⁠ and weight 𝑤⁠ in the sense of Definition 5.1.7 lies in 𝑊𝑚𝑑−2𝑤⁠. For 𝑑=𝑚=2⁠ the monomials 𝑎02⁠, 𝑎0𝑎1⁠, 𝑎0𝑎2⁠, 𝑎12⁠, 𝑎1𝑎2⁠, 𝑎22⁠ have weights 𝑤=0,1,2,2,3,4⁠, hence lie in 𝑊𝜆⁠ for 𝜆=4,2,0,0,−2,−4⁠. So dim𝑊4=dim𝑊2=1⁠ and dim𝑊0=2⁠.

Differentiating the action

We use two copies 𝑢,𝑢−⁠ of the additive group (𝑘,+)⁠ in 𝑆𝐿2⁠ and the one-parameter subgroup 𝑡⁠ (Definition 4.4.3):

𝑢(𝑠)≔(1𝑠01), 𝑢−(𝑠)≔(10𝑠1), 𝑡(𝑠)≔(𝑠00𝑠−1),

with 𝑢(𝑠)𝑢(𝑠′)=𝑢(𝑠+𝑠′)⁠, likewise for 𝑢−⁠, and 𝑡(𝑠)𝑡(𝑠′)=𝑡(𝑠𝑠′)⁠. The proof of Proposition 4.3.6 used 𝑡⁠ and 𝑢−⁠; the identities

𝑡(𝑠) 𝑢(𝑠′) 𝑡(𝑠)−1=𝑢(𝑠2𝑠′), 𝑡(𝑠) 𝑢−(𝑠′) 𝑡(𝑠)−1=𝑢−(𝑠−2𝑠′)

(5.5)

are checked by multiplying out.

Lemma 5.2.11 (Generators of 𝑆𝐿2⁠). 𝑆𝐿2(𝑘)⁠ is generated by the matrices 𝑢(𝑠)⁠ and 𝑢−(𝑠)⁠, 𝑠∈𝑘⁠.
Proof. Let 𝑔=(𝑎𝑏𝑐𝑑)∈𝑆𝐿2⁠. If 𝑐≠0⁠, then 𝑔=𝑢((𝑎−1)/𝑐) 𝑢−(𝑐) 𝑢((𝑑−1)/𝑐)⁠: the product has entries 𝑎⁠, 𝑐⁠ and 𝑑⁠ in the places (1,1)⁠, (2,1)⁠, (2,2)⁠, and the entry (1,2)⁠ is (𝑎(𝑑−1)+𝑎−1)/𝑐=(𝑎𝑑−1)/𝑐=𝑏⁠. If 𝑐=0⁠, then 𝑔 𝑢−(1)⁠ has entry (2,1)⁠ equal to 𝑑=𝑎−1≠0⁠, so 𝑔𝑢−(1)⁠ and hence 𝑔⁠ is a product of the generators.□⁠

Let 𝑊⁠ be a rational representation of 𝑆𝐿2⁠, 𝜌:𝑆𝐿2→𝐺𝐿(𝑊)⁠. The entries of 𝜌(𝑢(𝑠))⁠ are regular functions on 𝑆𝐿2⁠ evaluated at a matrix with entries 1,𝑠,0,1⁠ and determinant 1⁠, hence polynomials in 𝑠⁠; likewise for 𝑢−(𝑠)⁠, and the entries of 𝜌(𝑡(𝑠))⁠ are Laurent polynomials in 𝑠⁠. So we can differentiate them.

Definition 5.2.12 (The operators 𝐸⁠, 𝐹⁠, 𝐻⁠). For a rational representation 𝜌:𝑆𝐿2→𝐺𝐿(𝑊)⁠ let 𝐸𝑊,𝐹𝑊,𝐻𝑊:𝑊→𝑊⁠ be the linear maps

𝐸𝑊≔𝑑𝑑𝑠𝜌(𝑢(𝑠))|𝑠=0, 𝐹𝑊≔𝑑𝑑𝑠𝜌(𝑢−(𝑠))|𝑠=0, 𝐻𝑊≔𝑑𝑑𝑠𝜌(𝑡(𝑠))|𝑠=1,

where the matrices are differentiated entrywise. We write 𝐸,𝐹,𝐻⁠ when 𝑊⁠ is clear.

Example 5.2.13 (The natural representation). Let 𝑊=𝑘2⁠ and 𝜌(𝑔)=𝑔⁠. Differentiating 𝑢(𝑠)⁠, 𝑢−(𝑠)⁠ and 𝑡(𝑠)⁠ entrywise gives

𝐸=(0100), 𝐹=(0010), 𝐻=(100−1).

Here 𝑒1∈𝑊1⁠ and 𝑒2∈𝑊−1⁠, and 𝐸𝑒2=𝑒1⁠, 𝐹𝑒1=𝑒2⁠, 𝐸𝑒1=𝐹𝑒2=0⁠: 𝐸⁠ raises weights by 2⁠ and 𝐹⁠ lowers them by 2⁠. Moreover 𝐸2=0⁠, so 𝑢(𝑠)=𝐼+𝑠𝐸⁠, and 𝐸𝐹−𝐹𝐸=𝐻⁠.

The operator 𝐻⁠ is not the Hessian of Section 5.1, which does not occur again in this section.

Lemma 5.2.14 (The group from the operators). Let 𝑊⁠ be a rational representation of 𝑆𝐿2⁠.

  1. (1)𝐸⁠ and 𝐹⁠ are nilpotent, and 𝜌(𝑢(𝑠))=exp(𝑠𝐸)≔∑𝑗≥0𝑠𝑗𝑗!𝐸𝑗⁠, 𝜌(𝑢−(𝑠))=exp(𝑠𝐹)⁠.

  2. (2)𝐻⁠ acts on 𝑊𝜆⁠ as multiplication by 𝜆⁠, and 𝐸(𝑊𝜆)⊆𝑊𝜆+2⁠, 𝐹(𝑊𝜆)⊆𝑊𝜆−2⁠.

  3. (3)A subspace 𝑈⊆𝑊⁠ is a subrepresentation if and only if 𝐸(𝑈)⊆𝑈⁠ and 𝐹(𝑈)⊆𝑈⁠.

  4. (4)𝑊𝑆𝐿2=ker𝐸∩ker𝐹⁠.

  5. (5)𝐸𝐹−𝐹𝐸=𝐻⁠.

Proof.
  1. (1)Put 𝜙(𝑠)≔𝜌(𝑢(𝑠))=∑𝑗=0𝑁𝑠𝑗𝑅𝑗⁠ with 𝑅𝑗∈End(𝑊)⁠, 𝑅0=𝐼⁠, and 𝑅1=𝜙′(0)=𝐸⁠. Differentiating 𝜙(𝑠+𝑠′)=𝜙(𝑠)𝜙(𝑠′)⁠ with respect to 𝑠′⁠ at 𝑠′=0⁠ gives 𝜙′(𝑠)=𝜙(𝑠)𝐸⁠, and comparing coefficients of 𝑠𝑗⁠, (𝑗+1)𝑅𝑗+1=𝑅𝑗𝐸⁠. Hence 𝑅𝑗=𝐸𝑗/𝑗!⁠ by induction, using char𝑘=0⁠, and 𝐸𝑗=0⁠ for 𝑗>𝑁⁠. The same for 𝑢−⁠.

  2. (2)On 𝑊𝜆⁠, 𝜌(𝑡(𝑠))=𝑠𝜆⁠, whose derivative at 𝑠=1⁠ is 𝜆⁠. By Equation 5.5, 𝜌(𝑡(𝑠))exp(𝑠′𝐸)𝜌(𝑡(𝑠))−1=exp(𝑠2𝑠′𝐸)⁠; the coefficient of 𝑠′⁠ gives 𝜌(𝑡(𝑠)) 𝐸 𝜌(𝑡(𝑠))−1=𝑠2𝐸⁠. For 𝑤∈𝑊𝜆⁠ this reads 𝜌(𝑡(𝑠))𝐸𝑤=𝑠2𝐸𝜌(𝑡(𝑠))𝑤=𝑠𝜆+2𝐸𝑤⁠. The same with 𝑠−2⁠ for 𝐹⁠.

  3. (3)If 𝑈⁠ is stable under 𝐸⁠ and 𝐹⁠, it is stable under exp(𝑠𝐸)⁠ and exp(𝑠𝐹)⁠, hence under 𝑆𝐿2⁠ by Lemma 5.2.11. Conversely, let 𝜌(𝑢(𝑠))𝑈⊆𝑈⁠ for all 𝑠⁠ and let 𝑤∈𝑈⁠. Then 𝜌(𝑢(𝑠))𝑤=∑𝑗=0𝑁𝑠𝑗𝑅𝑗𝑤⁠ lies in 𝑈⁠ for every 𝑠∈𝑘⁠. Choosing 𝑁+1⁠ distinct values of 𝑠⁠ and inverting the Vandermonde matrix shows that each 𝑅𝑗𝑤⁠ is a linear combination of these vectors, so 𝑅𝑗𝑤∈𝑈⁠; in particular 𝐸𝑤=𝑅1𝑤∈𝑈⁠. The same argument applies to 𝐹⁠.

  4. (4)By (1), 𝜌(𝑢(𝑠))𝑤=𝑤⁠ for all 𝑠⁠ if and only if ∑𝑗≥1𝑠𝑗𝑗!𝐸𝑗𝑤=0⁠ for all 𝑠⁠, if and only if 𝐸𝑗𝑤=0⁠ for all 𝑗≥1⁠, if and only if 𝐸𝑤=0⁠; likewise for 𝑢−⁠ and 𝐹⁠; and the 𝑢(𝑠),𝑢−(𝑠)⁠ generate 𝑆𝐿2⁠.

  5. (5)For 𝑎,𝑏∈𝑘⁠ with 1+𝑎𝑏≠0⁠, multiplying out shows

    𝑢−(𝑏) 𝑢(𝑎)=𝑢(𝑎1+𝑎𝑏)𝑡(11+𝑎𝑏)𝑢−(𝑏1+𝑎𝑏).

    Put 𝑐≔1/(1+𝑎𝑏)⁠ and let 𝜋𝜆⁠ be the projection of 𝑊⁠ onto 𝑊𝜆⁠ along the other weight spaces, so that 𝜌(𝑡(𝑐))=∑𝜆𝑐𝜆𝜋𝜆⁠. Applying 𝜌⁠ and using (1) gives

    exp(𝑏𝐹)exp(𝑎𝐸)=exp(𝑐𝑎𝐸)(∑𝜆𝑐𝜆𝜋𝜆)exp(𝑐𝑏𝐹).

    Both sides are rational functions of 𝑎,𝑏⁠ that are defined at 𝑎=𝑏=0⁠ and agree wherever 1+𝑎𝑏≠0⁠, so their power series expansions in 𝑎,𝑏⁠ agree. On the left the coefficient of 𝑎𝑏⁠ is 𝐹𝐸⁠. On the right, exp(𝑐𝑎𝐸)⁠ and exp(𝑐𝑏𝐹)⁠ contain no term in 𝑎𝑏⁠, since 𝑐𝑎=𝑎−𝑎2𝑏+…⁠ and 𝑐𝑏=𝑏−𝑎𝑏2+…⁠, and the middle factor is 𝐼−𝑎𝑏∑𝜆𝜆𝜋𝜆+…⁠, since 𝑐𝜆=1−𝜆𝑎𝑏+…⁠. So the coefficient of 𝑎𝑏⁠ on the right is 𝐸𝐹−∑𝜆𝜆𝜋𝜆⁠, which is 𝐸𝐹−𝐻⁠ by (2).□⁠

Let 𝑉⁠ be a rational representation of 𝑆𝐿2⁠. By Lemma 4.1.10 each 𝑘[𝑉]𝑚⁠ is a rational representation, with the action of Definition 1.2.1, and Definition 5.2.12 applied to every 𝑘[𝑉]𝑚⁠ gives linear maps 𝐸,𝐹,𝐻:𝑘[𝑉]→𝑘[𝑉]⁠. These maps are of a special kind, which the following definition describes.

Definition 5.2.15 (Derivation). Let 𝑅⁠ be a commutative 𝑘⁠-algebra. A 𝑘⁠-linear map 𝛿:𝑅→𝑅⁠ is a derivation if

𝛿(𝑃𝑄)=𝛿(𝑃) 𝑄+𝑃 𝛿(𝑄) for all 𝑃,𝑄∈𝑅.
Example 5.2.16 (Derivations of 𝑘[𝑉𝑑]⁠). By the product rule, each partial derivative 𝜕/𝜕𝑎𝑖⁠ is a derivation of 𝑘[𝑉𝑑]=𝑘[𝑎0,…,𝑎𝑑]⁠, and so is every ∑𝑖𝑐𝑖 𝜕/𝜕𝑎𝑖⁠ with 𝑐𝑖∈𝑘[𝑉𝑑]⁠. Multiplication by 𝑎0⁠ is 𝑘⁠-linear but not a derivation: it maps 1=1⋅1⁠ to 𝑎0⁠, whereas 𝑎0⋅1+1⋅𝑎0=2𝑎0⁠.
Lemma 5.2.17 (Derivations of a polynomial ring).
  1. (1)A derivation 𝛿⁠ of 𝑘[𝑉𝑑]⁠ is determined by 𝛿(𝑎0),…,𝛿(𝑎𝑑)⁠: it equals ∑𝑖𝛿(𝑎𝑖) 𝜕/𝜕𝑎𝑖⁠.

  2. (2)If 𝛿,𝛿′⁠ are derivations of a commutative 𝑘⁠-algebra, then so is 𝛿𝛿′−𝛿′𝛿⁠.

  3. (3)For a rational representation 𝑉⁠ of 𝑆𝐿2⁠, the maps 𝐸,𝐹,𝐻⁠ on 𝑘[𝑉]⁠ are derivations.

Proof.
  1. (1)Both 𝛿⁠ and 𝛿0≔∑𝑖𝛿(𝑎𝑖) 𝜕/𝜕𝑎𝑖⁠ are derivations, by Example 5.2.16, and they agree on 𝑎0,…,𝑎𝑑⁠. Every derivation kills 1⁠, as 𝛿(1)=𝛿(1⋅1)=2𝛿(1)⁠. By the product rule and induction on the degree, 𝛿⁠ and 𝛿0⁠ agree on all monomials, hence by linearity everywhere.

  2. (2)Expanding, 𝛿𝛿′(𝑃𝑄)=𝛿𝛿′(𝑃) 𝑄+𝛿′(𝑃) 𝛿(𝑄)+𝛿(𝑃) 𝛿′(𝑄)+𝑃 𝛿𝛿′(𝑄)⁠. The two middle terms are symmetric in 𝛿⁠ and 𝛿′⁠, so they cancel in 𝛿𝛿′(𝑃𝑄)−𝛿′𝛿(𝑃𝑄)⁠.

  3. (3)𝑆𝐿2⁠ acts on 𝑘[𝑉]⁠ by 𝑘⁠-algebra homomorphisms, so 𝑢(𝑠)⋅(𝑃𝑄)=(𝑢(𝑠)⋅𝑃) (𝑢(𝑠)⋅𝑄)⁠. Both factors are polynomials in 𝑠⁠ with coefficients in 𝑘[𝑉]⁠, and differentiating at 𝑠=0⁠ by the product rule gives 𝐸(𝑃𝑄)=(𝐸𝑃) 𝑄+𝑃 (𝐸𝑄)⁠. The same argument applies to 𝐹⁠, and to 𝐻⁠ at 𝑠=1⁠.□⁠

On binary forms the values of 𝐸,𝐹,𝐻⁠ on the variables are easy to compute.

Proposition 5.2.18 (The operators on the coefficients of a binary form). On 𝑘[𝑉𝑑]=𝑘[𝑎0,…,𝑎𝑑]⁠, with 𝜕𝑖≔𝜕/𝜕𝑎𝑖⁠,

𝐸=∑𝑖=1𝑑(𝑑−𝑖+1) 𝑎𝑖−1 𝜕𝑖, 𝐹=∑𝑖=0𝑑−1(𝑖+1) 𝑎𝑖+1 𝜕𝑖, 𝐻=∑𝑖=0𝑑(𝑑−2𝑖) 𝑎𝑖 𝜕𝑖,

and [𝐸,𝐹]≔𝐸𝐹−𝐹𝐸=𝐻⁠, [𝐻,𝐸]=2𝐸⁠, [𝐻,𝐹]=−2𝐹⁠.

Proof. By Lemma 5.2.17 (1) and (3) it suffices to compute 𝐸𝑎𝑖⁠, 𝐹𝑎𝑖⁠ and 𝐻𝑎𝑖⁠. By Equation 5.1, (𝑢(𝑠)⋅𝑃)(𝑓)=𝑃(𝑓∘𝑢(𝑠))⁠, and 𝑓∘𝑢(𝑠)=𝑓(𝑥+𝑠𝑦,𝑦)=∑𝑖𝑎𝑖(𝑥+𝑠𝑦)𝑑−𝑖𝑦𝑖⁠ has coefficient ∑𝑗≥0(𝑑−𝑖+𝑗𝑗)𝑠𝑗𝑎𝑖−𝑗⁠ at 𝑥𝑑−𝑖𝑦𝑖⁠. So 𝑢(𝑠)⋅𝑎𝑖⁠ is that sum, and its derivative at 𝑠=0⁠ is (𝑑−𝑖+1)𝑎𝑖−1⁠. Likewise 𝑓∘𝑢−(𝑠)=𝑓(𝑥,𝑠𝑥+𝑦)⁠ has coefficient ∑𝑗≥0(𝑖+𝑗𝑗)𝑠𝑗𝑎𝑖+𝑗⁠ at 𝑥𝑑−𝑖𝑦𝑖⁠, giving 𝐹𝑎𝑖=(𝑖+1)𝑎𝑖+1⁠, and 𝑡(𝑠)⋅𝑎𝑖=𝑠𝑑−2𝑖𝑎𝑖⁠ by the proof of Lemma 5.1.9 gives 𝐻𝑎𝑖=(𝑑−2𝑖)𝑎𝑖⁠. The three relations hold by Lemma 5.2.14 (5) and (2); we check them directly. By Lemma 5.2.17 (2) both sides of each relation are derivations, so by Lemma 5.2.17 (1) it suffices to compare them on the 𝑎𝑖⁠: 𝐸𝐹𝑎𝑖−𝐹𝐸𝑎𝑖=(𝑖+1)(𝑑−𝑖) 𝑎𝑖−𝑖(𝑑−𝑖+1) 𝑎𝑖=(𝑑−2𝑖) 𝑎𝑖⁠, and 𝐻𝐸𝑎𝑖−𝐸𝐻𝑎𝑖=(𝑑−𝑖+1)(𝑑−2𝑖+2−𝑑+2𝑖) 𝑎𝑖−1=2𝐸𝑎𝑖⁠, similarly for 𝐹⁠.□⁠
Example 5.2.19 (The operators for binary quadratics). For 𝑑=2⁠, Proposition 5.2.18 gives 𝐸=2𝑎0𝜕1+𝑎1𝜕2⁠, 𝐹=𝑎1𝜕0+2𝑎2𝜕1⁠, 𝐻=2𝑎0𝜕0−2𝑎2𝜕2⁠, and 𝐸(𝑎12−4𝑎0𝑎2)=4𝑎0𝑎1−4𝑎0𝑎1=0⁠, 𝐹(𝑎12−4𝑎0𝑎2)=4𝑎1𝑎2−4𝑎1𝑎2=0⁠: the discriminant is killed by 𝐸⁠ and 𝐹⁠, as Lemma 5.2.14 (4) demands.

The three derivations, with their three relations, are the Lie algebra 𝔰𝔩2⁠ acting on 𝑘[𝑉𝑑]⁠; the name is all we take from Lie theory.

Highest weight vectors

The relations of Lemma 5.2.14, together with finite dimensionality, determine the structure of every rational representation of 𝑆𝐿2⁠. The main step is to apply 𝐹⁠ repeatedly to a vector that 𝐸⁠ kills. The following definition will be useful momentarily.

Definition 5.2.20 (Highest weight vector). Let 𝑊⁠ be a rational representation of 𝑆𝐿2⁠ and 𝜆∈ℤ⁠. A highest weight vector of weight 𝜆⁠ is a vector 𝑤∈𝑊𝜆⁠ with 𝐸𝑤=0⁠.

Example 5.2.21 (Highest weight vectors of binary quadratics). Let 𝑑=𝑚=2⁠ and 𝑊=𝑘[𝑉2]2⁠, with the weight spaces of Example 5.2.10 (2) and 𝐸=2𝑎0𝜕1+𝑎1𝜕2⁠ from Example 5.2.19.

  1. (1)𝑎02∈𝑊4⁠ and 𝐸(𝑎02)=0⁠, so 𝑎02⁠ is a highest weight vector of weight 4⁠.

  2. (2)𝐷=𝑎12−4𝑎0𝑎2∈𝑊0⁠ and 𝐸𝐷=0⁠, so 𝐷⁠ is a highest weight vector of weight 0⁠.

  3. (3)𝑊2⁠ is spanned by 𝑎0𝑎1⁠, and 𝐸(𝑎0𝑎1)=2𝑎02≠0⁠; so the only highest weight vector of weight 2⁠ in 𝑊⁠ is 0⁠.

Lemma 5.2.22 (Strings). Let 𝑊⁠ be a rational representation of 𝑆𝐿2⁠, 𝜆∈ℤ⁠, and 𝑤∈𝑊𝜆⁠ a highest weight vector. Then 𝐹𝑗𝑤∈𝑊𝜆−2𝑗⁠ and

𝐸𝐹𝑗𝑤=𝑗(𝜆−𝑗+1) 𝐹𝑗−1𝑤 (𝑗≥1).

If 𝑤≠0⁠, then 𝜆≥0⁠, the vectors 𝑤,𝐹𝑤,…,𝐹𝜆𝑤⁠ are nonzero, 𝐹𝜆+1𝑤=0⁠, and their span 𝑈⁠ is a subrepresentation of 𝑊⁠ isomorphic to 𝑉𝜆⁠.

Proof. The weight of 𝐹𝑗𝑤⁠ is Lemma 5.2.14 (2). By Lemma 5.2.14 (5), 𝐸𝐹=𝐹𝐸+𝐻⁠. So the formula holds for 𝑗=1⁠, 𝐸𝐹𝑤=𝐹𝐸𝑤+𝐻𝑤=𝜆𝑤⁠, and if it holds for 𝑗−1⁠ then

𝐸𝐹𝑗𝑤=𝐹𝐸𝐹𝑗−1𝑤+𝐻𝐹𝑗−1𝑤=(𝑗−1)(𝜆−𝑗+2)𝐹𝑗−1𝑤+(𝜆−2𝑗+2)𝐹𝑗−1𝑤=𝑗(𝜆−𝑗+1)𝐹𝑗−1𝑤.

Now let 𝑤≠0⁠. The 𝐹𝑗𝑤⁠ lie in distinct weight spaces, so they cannot all be nonzero, and if 𝑗≥1⁠ is minimal with 𝐹𝑗𝑤=0⁠, then 0=𝐸𝐹𝑗𝑤=𝑗(𝜆−𝑗+1)𝐹𝑗−1𝑤⁠ with 𝐹𝑗−1𝑤≠0⁠ forces 𝑗=𝜆+1⁠. Hence 𝜆≥0⁠ and the string is as stated. 𝑈⁠ is stable under 𝐹⁠, under 𝐸⁠ by the formula, and under 𝐻⁠ by weights, so it is a subrepresentation by Lemma 5.2.14 (3). In 𝑉𝜆⁠, with the action 𝑔⋅𝑓=𝑓∘𝑔−1⁠ of Definition 4.1.11, 𝑦𝜆⁠ has weight 𝜆⁠ by Example 4.4.16, 𝐸𝑦𝜆=𝑑𝑑𝑠𝑦𝜆=0⁠ since 𝑢(𝑠)⋅𝑓=𝑓(𝑥−𝑠𝑦,𝑦)⁠, and 𝐹𝑗𝑦𝜆=𝑑𝑗𝑑𝑠𝑗(𝑦−𝑠𝑥)𝜆|𝑠=0=(−1)𝑗𝜆(𝜆−1)⋯(𝜆−𝑗+1) 𝑥𝑗𝑦𝜆−𝑗⁠ is nonzero for 𝑗≤𝜆⁠. The linear map 𝑈→𝑉𝜆⁠, 𝐹𝑗𝑤↦𝐹𝑗𝑦𝜆⁠, is bijective and commutes with 𝐸⁠, 𝐹⁠ and 𝐻⁠, whose action on both strings is given by the same formulas in 𝜆⁠; so it commutes with exp(𝑠𝐸)⁠ and exp(𝑠𝐹)⁠, hence with 𝑆𝐿2⁠ by Lemma 5.2.11.□⁠

Theorem 5.2.23 (Representations of 𝑆𝐿2⁠). Let 𝑊⁠ be a rational representation of 𝑆𝐿2⁠. Then 𝑊⁠ is a direct sum of subrepresentations isomorphic to 𝑉𝑒⁠, 𝑒≥0⁠, the number of summands isomorphic to 𝑉𝑒⁠ being dim𝑊𝑒−dim𝑊𝑒+2⁠. In particular:

  1. (1)The irreducible rational representations of 𝑆𝐿2⁠ are the 𝑉𝑒⁠.

  2. (2)For 𝜆≥0⁠, the highest weight vectors of weight 𝜆⁠ form a subspace of dimension dim𝑊𝜆−dim𝑊𝜆+2⁠.

  3. (3)𝑊𝑆𝐿2=ker𝐸∩𝑊0⁠, and dim𝑊𝑆𝐿2=dim𝑊0−dim𝑊2⁠.

Proof. 𝑆𝐿2⁠ is linearly reductive by Theorem 4.2.13, so 𝑊⁠ is a direct sum of irreducible subrepresentations, as noted after Definition 4.2.1. Let 𝑊′≠0⁠ be irreducible. By Proposition 4.2.11 it is the sum of its weight spaces; let 𝜆⁠ be the largest weight with 𝑊𝜆′≠0⁠ and 0≠𝑤∈𝑊𝜆′⁠. Then 𝐸𝑤∈𝑊𝜆+2′=0⁠, and Lemma 5.2.22 gives a subrepresentation 𝑈≅𝑉𝜆⁠ of 𝑊′⁠, so 𝑊′=𝑈≅𝑉𝜆⁠. This proves the decomposition.

By the proof of Lemma 5.2.22, 𝑉𝑒⁠ has the basis 𝐹𝑗𝑦𝑒⁠, 0≤𝑗≤𝑒⁠, with 𝐹𝑗𝑦𝑒⁠ of weight 𝑒−2𝑗⁠, and 𝐸𝐹𝑗𝑦𝑒=𝑗(𝑒−𝑗+1)𝐹𝑗−1𝑦𝑒≠0⁠ for 1≤𝑗≤𝑒⁠. So the nonzero highest weight vectors of 𝑉𝑒⁠ are the nonzero multiples of 𝑦𝑒⁠, all of weight 𝑒⁠. This gives (1): a nonzero subrepresentation of 𝑉𝑒⁠ contains a nonzero vector 𝑤⁠ of maximal weight, 𝐸𝑤=0⁠ as in the first paragraph, so 𝑤⁠ is a multiple of 𝑦𝑒⁠, and its string is all of 𝑉𝑒⁠.

Write 𝑊≅⨁𝑒𝑉𝑒𝑛𝑒⁠. The weights of 𝑉𝑒⁠ are 𝑒,𝑒−2,…,−𝑒⁠, each with multiplicity 1⁠, so dim𝑊𝜇=∑𝑒≥|𝜇|, 𝑒≡𝜇𝑛𝑒⁠ and 𝑛𝜇=dim𝑊𝜇−dim𝑊𝜇+2⁠ for 𝜇≥0⁠. For (2), write 𝑤∈𝑊𝜆⁠ as the sum of its components in the summands. 𝐸⁠ maps each summand to itself, so 𝐸𝑤=0⁠ if and only if every component is a highest weight vector, and by the previous paragraph this means that 𝑤⁠ lies in the sum of the spaces (𝑉𝜆)𝜆⁠ of the 𝑉𝜆⁠-summands, of dimension 𝑛𝜆⁠. For (3), apply (2) with 𝜆=0⁠: ker𝐸∩𝑊0⁠ is the sum of the 𝑉0⁠-summands, on which 𝑆𝐿2⁠ acts trivially, and conversely 𝑊𝑆𝐿2⊆ker𝐸∩ker𝐻⁠ by Lemma 5.2.14 (4) and (5).□⁠

Part (3) is the linear algebra method. For 𝑃∈𝑘[𝑉𝑑]𝑚⁠: 𝑃⁠ is an invariant if and only if 𝑃⁠ is isobaric of weight 𝑚𝑑/2⁠ and 𝐸𝑃=0⁠. The unknowns are the coefficients of the isobaric monomials, the equations are the coefficients of 𝐸𝑃⁠, and the dimension of the solution space is known in advance by Theorem 5.2.27 below. For the quartic in degree 2⁠ the isobaric monomials of weight 4⁠ are 𝑎0𝑎4⁠, 𝑎1𝑎3⁠, 𝑎22⁠, and with 𝐸𝑎4=𝑎3⁠, 𝐸𝑎3=2𝑎2⁠, 𝐸𝑎2=3𝑎1⁠, 𝐸𝑎1=4𝑎0⁠,

𝐸(𝛼 𝑎0𝑎4+𝛽 𝑎1𝑎3+𝛾 𝑎22)=(𝛼+4𝛽) 𝑎0𝑎3+(2𝛽+6𝛾) 𝑎1𝑎2,

whose kernel is spanned by (12,−3,1)⁠: the invariant 𝐼⁠ of Theorem 5.2.8, found without transvectants. Sturmfels [Stu08, Example 4.5.3] reports the same method producing the degree-6⁠ invariant of the ternary (three-variable) cubic from 103⁠ isobaric monomials and 540⁠ linear equations; the equations are those of the six operators 𝐸𝑖𝑗⁠, 𝑖≠𝑗⁠, of 𝔰𝔩3⁠, where 𝐸𝑖𝑗⁠ differentiates the action of 𝐺𝐿3⁠ along the matrix with entry 1⁠ in row 𝑖⁠, column 𝑗⁠ and 0⁠ everywhere else, and by [Stu08, Theorem 4.5.2] the method is the same for every 𝑛⁠. For a connected group 𝐺⁠ the general statement is that the invariants are the polynomials killed by the Lie algebra of 𝐺⁠ [DK15, sec. A.2]; Lemma 5.2.14 is that statement for 𝑆𝐿2⁠, where the Lie algebra is spanned by 𝐸,𝐹,𝐻⁠.

Counting invariants

Theorem 5.2.24 (Invariants of 𝑆𝐿2⁠ counted by weights). For every rational representation 𝑊⁠ of 𝑆𝐿2⁠,

dim𝑊𝑆𝐿2=dim𝑊0−dim𝑊2.
Proof. By Theorem 5.2.23, 𝑊⁠ is a direct sum of copies of the 𝑉𝑒⁠, and 𝑉𝑒⁠ has multiplicity 1⁠ at each of the weights 𝑒,𝑒−2,…,−𝑒⁠ and 0⁠ elsewhere; so a summand 𝑉𝑒⁠ contributes 1⁠ to both sides if 𝑒=0⁠ and 0⁠ otherwise.□⁠

So counting invariants comes down to counting monomials. The following definition will be useful momentarily.

Definition 5.2.25 (The numbers 𝑝(𝑑,𝑚,𝑤)⁠). For 𝑑,𝑚≥0⁠ and 𝑤∈ℤ⁠ let 𝑝(𝑑,𝑚,𝑤)⁠ be the number of monomials of degree 𝑚⁠ in 𝑎0,…,𝑎𝑑⁠ of weight 𝑤⁠, in the sense of Definition 5.1.7.

A monomial 𝑎0𝑒0⋯𝑎𝑑𝑒𝑑⁠ of degree 𝑚⁠ and weight 𝑤⁠ is the multiset of 𝑚⁠ elements of {0,…,𝑑}⁠ in which 𝑖⁠ occurs 𝑒𝑖⁠ times; its elements sum to 𝑤⁠. Leaving out the zeros, it is a partition of 𝑤⁠ into at most 𝑚⁠ parts, each at most 𝑑⁠. So 𝑝(𝑑,𝑚,𝑤)⁠ is the number of these partitions; in particular 𝑝(𝑑,𝑚,𝑤)=0⁠ for 𝑤<0⁠.

Example 5.2.26 (Counting monomials).
  1. (1)For 𝑑=𝑚=2⁠, the monomials listed in Example 5.2.10 (2) give 𝑝(2,2,𝑤)=1,1,2,1,1⁠ for 𝑤=0,1,2,3,4⁠.

  2. (2)For 𝑑=4⁠ and 𝑚=2⁠, 𝑝(4,2,4)=3⁠, counting 𝑎0𝑎4⁠, 𝑎1𝑎3⁠, 𝑎22⁠, or the partitions 4⁠, 3+1⁠, 2+2⁠; and 𝑝(4,2,3)=2⁠, counting 𝑎0𝑎3⁠, 𝑎1𝑎2⁠, or 3⁠, 2+1⁠.

Theorem 5.2.27 (Cayley–Sylvester formula). For 𝑑,𝑚≥0⁠, with 𝑝⁠ as in Definition 5.2.25,

dim𝑘[𝑉𝑑]𝑚𝑆𝐿2=𝑝(𝑑,𝑚,𝑚𝑑2)−𝑝(𝑑,𝑚,𝑚𝑑2−1)

if 𝑚𝑑⁠ is even, and 0⁠ if 𝑚𝑑⁠ is odd.

Proof. Let 𝑊≔𝑘[𝑉𝑑]𝑚⁠. By Example 5.2.10 (2), a monomial of degree 𝑚⁠ and weight 𝑤⁠ is a weight vector of weight 𝑚𝑑−2𝑤⁠ in 𝑊⁠, so dim𝑊𝜆=𝑝(𝑑,𝑚,(𝑚𝑑−𝜆)/2)⁠ for 𝜆≡𝑚𝑑 (mod 2)⁠ and 0⁠ otherwise. Now apply Theorem 5.2.24.□⁠
Remark 5.2.28.
  1. (1)By Example 5.2.26, the formula gives 𝑝(2,2,2)−𝑝(2,2,1)=1⁠ for 𝑑=𝑚=2⁠, accounted for by the discriminant, and 𝑝(4,2,4)−𝑝(4,2,3)=1⁠ for 𝑑=4⁠, 𝑚=2⁠, accounted for by the invariant 𝐼⁠ of Theorem 5.2.8.

  2. (2)By [Stu08, sec. 4.2], the numbers 𝑝(𝑑,𝑚,𝑤)⁠ are the coefficients of the Gaussian binomial coefficient

    (𝑑+𝑚𝑚)𝑞=(1−𝑞𝑑+1)(1−𝑞𝑑+2)⋯(1−𝑞𝑑+𝑚)(1−𝑞)(1−𝑞2)⋯(1−𝑞𝑚)=∑𝑤=0𝑚𝑑𝑝(𝑑,𝑚,𝑤) 𝑞𝑤,

    a polynomial in 𝑞⁠. This is how the count is computed in practice: the number of invariants of degree 𝑚⁠ is the coefficient of 𝑞𝑚𝑑/2⁠ in (1−𝑞)(𝑑+𝑚𝑚)𝑞⁠. Sylvester’s contribution was to prove that this coefficient is never negative, which is the statement that dim𝑊0≥dim𝑊2⁠ for 𝑊=𝑘[𝑉𝑑]𝑚⁠.

  3. (3)Transposing partitions gives 𝑝(𝑑,𝑚,𝑤)=𝑝(𝑚,𝑑,𝑤)⁠, hence Hermite reciprocity: the binary form of degree 𝑑⁠ has as many invariants of degree 𝑚⁠ as the form of degree 𝑚⁠ has invariants of degree 𝑑⁠.

  4. (4)Summing over 𝑚⁠, the Hilbert series is a constant term; this is the next corollary.

Corollary 5.2.29 (Hilbert series of the invariants of binary forms). Expand the rational function below as a power series in 𝑡⁠ whose coefficients are Laurent polynomials in 𝑧⁠, and let CT𝑧⁠ denote the coefficient of 𝑧0⁠. Then

𝐻(𝑘[𝑉𝑑]𝑆𝐿2,𝑡)=CT𝑧1−𝑧2∏𝑖=0𝑑(1−𝑧𝑑−2𝑖 𝑡).
Proof. Let 𝑊≔𝑘[𝑉𝑑]𝑚⁠. Expanding ∏𝑖(1−𝑧𝑑−2𝑖𝑡)−1⁠, the coefficient of 𝑡𝑚𝑧𝜆⁠ is the number of monomials 𝑎0𝑒0⋯𝑎𝑑𝑒𝑑⁠ of degree 𝑚⁠ with ∑𝑖𝑒𝑖(𝑑−2𝑖)=𝜆⁠, that is dim𝑊𝜆⁠. The factor 1−𝑧2⁠ turns the coefficient of 𝑡𝑚𝑧0⁠ into dim𝑊0−dim𝑊−2⁠, and dim𝑊−2=dim𝑊2⁠ because 𝑎𝑖↦𝑎𝑑−𝑖⁠, induced by 𝑥↔𝑦⁠, maps the weight 𝜆⁠ space onto the weight −𝜆⁠ space. Apply Theorem 5.2.24.□⁠

Over ℂ⁠ the coefficient of 𝑧0⁠ of a Laurent series is 12𝜋𝑖∮𝑑𝑧𝑧⁠ over the unit circle, and the corollary becomes Weyl’s integration formula [Wey46, DK15, Example 4.6.1 and Corollary 4.6.9]

𝐻(ℂ[𝑉𝑑]𝑆𝐿2,𝑡)=12𝜋𝑖∮|𝑧|=1(1−𝑧2) 𝑑𝑧𝑧∏𝑖=0𝑑(1−𝑧𝑑−2𝑖𝑡),

Molien’s formula Equation 2.3 with the average over the finite group replaced by an integral over the maximal compact subgroup 𝑆𝑈(2)⁠, reduced to its maximal torus |𝑧|=1⁠. The integral can be evaluated by residues, which is how the closed forms below were first found; for a linearly reductive group of rank 𝑟⁠ the same formula holds with an 𝑟⁠-fold constant term and the factor ∏𝛼(1−𝑧𝛼)⁠ over the positive roots in place of 1−𝑧2⁠, see [DK15, sec. 4.6.3]. None of this is needed below. The count itself is a loop over partitions, here through the Gaussian binomial coefficient.

julia> Zq, q = polynomial_ring(ZZ, :q);

julia> gauss(d, m) = divexact(prod(1 - q^(d + i) for i in 1:m; init = Zq(1)),
                              prod(1 - q^i for i in 1:m; init = Zq(1)));

julia> cf(g, w) = w < 0 ? 0 : coeff(g, w);

julia> cs(d, m) = isodd(d * m) ? 0 :
           Int(cf(gauss(d, m), d*m÷2) - cf(gauss(d, m), d*m÷2 - 1));

julia> println([cs(3, m) for m in 0:12])
[1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1]

julia> println([cs(4, m) for m in 0:12])
[1, 0, 1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 3]

julia> println([cs(5, m) for m in 0:20])
[1, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 3, 0, 0, 0, 4, 0, 1, 0, 5]

julia> println([cs(6, m) for m in 0:16])
[1, 0, 1, 0, 2, 0, 3, 0, 4, 0, 6, 0, 8, 0, 10, 1, 13]

The second line is the expansion of 1/((1−𝑡2)(1−𝑡3))⁠, as Theorem 5.2.8 says; the first is 1/(1−𝑡4)⁠.

Higher degrees

For 𝑑≥5⁠ the invariant rings are known explicitly up to 𝑑=10⁠, by work stretching from Hermite and Clebsch to 2010; the methods are those of this chapter, transvectants and the symbolic method, with computer algebra from 𝑑=7⁠ on. What is known, as surveyed in [DK15, Example 2.1.2] and [Stu08, sec. 3.7]:

𝑑⁠generatorsdegreesrelations
2⁠1⁠2⁠none
3⁠1⁠4⁠none
4⁠2⁠2,3⁠none
5⁠4⁠4,8,12,18⁠one, of degree 36⁠
6⁠5⁠2,4,6,10,15⁠one, of degree 30⁠
7⁠30⁠4,…,30⁠[DL88]
8⁠9⁠2,3,…,10⁠[Shi67]
9⁠92⁠[BP10b]
10⁠106⁠[BP10a]

For the quintic and the sextic the single relation makes the ring a hypersurface, a quotient of a polynomial ring by one relation, and the Hilbert series follows from Lemma 2.2.6 as in Section 3.4:

𝐻(𝑘[𝑉5]𝑆𝐿2,𝑡)=1+𝑡18(1−𝑡4)(1−𝑡8)(1−𝑡12),𝐻(𝑘[𝑉6]𝑆𝐿2,𝑡)=1+𝑡15(1−𝑡2)(1−𝑡4)(1−𝑡6)(1−𝑡10),

which the Cayley–Sylvester counts above confirm through degree 20⁠ and 16⁠. Read with Corollary 4.3.2 and Theorem 4.3.3, the first says that 𝑘[𝑉5]𝑆𝐿2⁠ is a free module of rank 2⁠ over the polynomial ring in its generators of degrees 4,8,12⁠, with basis 1⁠ and the generator of degree 18⁠, whose square is the relation; the Krull dimension is 3⁠, the pole order at 𝑡=1⁠. In general dim𝑘[𝑉𝑑]𝑆𝐿2=𝑑−2⁠ for 𝑑≥3⁠, three parameters being lost to the group, which we do not prove. Derksen’s algorithm, which took seconds for 𝑑=4⁠, did not finish the quintic in fifteen minutes on the author’s machine, so there is no transcript; Section 6.3 discusses why the cost grows this fast.

5.3Cayley’s Ω⁠-process

The Reynolds operator of 𝑆𝐿𝑛⁠ exists by Theorem 4.2.7, and the proof of Theorem 4.2.13 identified it over ℂ⁠ with an integral over 𝑆𝑈(𝑛)⁠, which does not lend itself to computation. This section gives the formula that was used in the 19th century instead: a differential operator in the entries of a generic matrix, applied to the transformed polynomial. It is what chapter 4 promised after Theorem 4.2.13, it is what OSCAR’s reynolds_operator computes, and Section 5.4 runs Hilbert’s 1890 proof with it. For 𝑛=2⁠ the operator appeared in Definition 5.2.3.

The operator and its main rule

Let 𝑍=(𝑧𝑖𝑗)⁠ be an 𝑛×𝑛⁠ matrix of indeterminates, 𝑘[𝑍]≔𝑘[𝑧𝑖𝑗:1≤𝑖,𝑗≤𝑛]⁠ and 𝛿≔det𝑍∈𝑘[𝑍]⁠. For a commutative 𝑘⁠-algebra 𝐴⁠ let 𝐴[𝑍]⁠ be the polynomial ring over 𝐴⁠ in the 𝑧𝑖𝑗⁠.

Definition 5.3.1 (Cayley’s Ω⁠-process). Cayley’s Ω⁠-process is the operator on 𝐴[𝑍]⁠ given by the determinant of the matrix of partial derivatives,

Ω≔det(𝜕𝜕𝑧𝑖𝑗)𝑖,𝑗=∑𝜎∈𝑆𝑛sgn(𝜎) 𝜕𝑛𝜕𝑧1𝜎(1) 𝜕𝑧2𝜎(2)⋯𝜕𝑧𝑛𝜎(𝑛),

(5.6)

where sgn(𝜎)⁠ is the sign of the permutation 𝜎⁠ [Gat23, Definition 2.13] and the elements of 𝐴⁠ are treated as constants.

Ω⁠ is 𝐴⁠-linear and lowers degrees in the 𝑧𝑖𝑗⁠ by 𝑛⁠. The partial derivatives commute, so the order of the factors in each summand of Equation 5.6 does not matter.

Example 5.3.2 (Ω⁠ for 𝑛=1⁠ and 𝑛=2⁠). For 𝑛=1⁠, Ω=𝑑/𝑑𝑧11⁠. For 𝑛=2⁠,

Ω=𝜕2𝜕𝑧11 𝜕𝑧22−𝜕2𝜕𝑧12 𝜕𝑧21,

and with 𝑍=(𝑥1𝑥2𝑦1𝑦2)⁠ this is the operator of Definition 5.2.3. Here Ω(𝛿)=Ω(𝑧11𝑧22−𝑧12𝑧21)=1+1=2⁠, while Ω(𝑧112)=0⁠.

The substitution rule of Lemma 5.2.5 holds for every 𝑛⁠. For Ψ∈𝐴[𝑍]⁠ and 𝑔∈𝑘𝑛×𝑛⁠ write Ψ(𝑔𝑍)⁠ and Ψ(𝑍𝑔)⁠ for the results of substituting the entries of the matrix products 𝑔𝑍⁠ and 𝑍𝑔⁠ for the 𝑧𝑖𝑗⁠.

Theorem 5.3.3 (Main rule for the Ω⁠-process). For every Ψ∈𝐴[𝑍]⁠, every 𝑔∈𝑘𝑛×𝑛⁠ and every 𝑝≥0⁠,

Ω𝑝(Ψ(𝑔𝑍))=det(𝑔)𝑝 (Ω𝑝Ψ)(𝑔𝑍), Ω𝑝(Ψ(𝑍𝑔))=det(𝑔)𝑝 (Ω𝑝Ψ)(𝑍𝑔).

Proof. It suffices to treat 𝑝=1⁠; the general case follows by induction, applying the case 𝑝=1⁠ to Ω𝑝−1Ψ⁠. Write 𝜕𝑖𝑗≔𝜕/𝜕𝑧𝑖𝑗⁠. The entry (𝑖,𝑗)⁠ of 𝑔𝑍⁠ is ∑𝑘𝑔𝑖𝑘𝑧𝑘𝑗⁠, so by the chain rule 𝜕𝑖𝑗(Ψ(𝑔𝑍))=∑𝑘𝑔𝑘𝑖 (𝜕𝑘𝑗Ψ)(𝑔𝑍)⁠, and iterating,

𝜕1𝜎(1)⋯𝜕𝑛𝜎(𝑛)(Ψ(𝑔𝑍))=∑𝑘1,…,𝑘𝑛=1𝑛𝑔𝑘11⋯𝑔𝑘𝑛𝑛 (𝜕𝑘1𝜎(1)⋯𝜕𝑘𝑛𝜎(𝑛)Ψ)(𝑔𝑍).

Multiply by sgn(𝜎)⁠ and sum over 𝜎∈𝑆𝑛⁠. If 𝑘𝑖=𝑘𝑗⁠ for some 𝑖≠𝑗⁠, the terms for 𝜎⁠ and for 𝜎∘(𝑖 𝑗)⁠ involve the same product of commuting operators with opposite signs and cancel. So only the index tuples with distinct entries survive, that is, (𝑘1,…,𝑘𝑛)=(𝜏(1),…,𝜏(𝑛))⁠ for some 𝜏∈𝑆𝑛⁠, and for those, reindexing by 𝑖↦𝜏−1(𝑖)⁠,

∑𝜎sgn(𝜎) ∏𝑖𝜕𝜏(𝑖)𝜎(𝑖)=sgn(𝜏)∑𝜎sgn(𝜎𝜏−1)∏𝑖𝜕𝑖, 𝜎𝜏−1(𝑖)=sgn(𝜏) Ω.

Hence Ω(Ψ(𝑔𝑍))=∑𝜏sgn(𝜏) 𝑔𝜏(1)1⋯𝑔𝜏(𝑛)𝑛 (ΩΨ)(𝑔𝑍)=det(𝑔) (ΩΨ)(𝑔𝑍)⁠. The rule for 𝑍𝑔⁠ is the same computation with the roles of rows and columns exchanged.□⁠

The second ingredient is the value of Ω𝑝⁠ on 𝛿𝑝⁠.

Lemma 5.3.4 (The constants 𝑐𝑝⁠). For 𝑝≥0⁠, 𝑐𝑝≔Ω𝑝(𝛿𝑝)⁠ is a positive integer. For 𝑛=2⁠, Ω(𝛿𝑝)=𝑝(𝑝+1)𝛿𝑝−1⁠ and 𝑐𝑝=𝑝! (𝑝+1)!⁠.

Proof. For 𝛼∈ℕ𝑛×𝑛⁠ write 𝑍𝛼≔∏𝑖,𝑗𝑧𝑖𝑗𝛼𝑖𝑗⁠, 𝜕𝛼≔∏𝑖,𝑗𝜕𝑖𝑗𝛼𝑖𝑗⁠ with 𝜕𝑖𝑗≔𝜕/𝜕𝑧𝑖𝑗⁠, and |𝛼|≔∑𝑖,𝑗𝛼𝑖𝑗⁠. For Φ=∑𝛼𝑏𝛼𝑍𝛼∈𝑘[𝑍]⁠ let Φ(𝜕)≔∑𝛼𝑏𝛼𝜕𝛼⁠ be the operator obtained by substituting 𝜕𝑖𝑗⁠ for 𝑧𝑖𝑗⁠; since the 𝜕𝑖𝑗⁠ commute, Φ↦Φ(𝜕)⁠ is a ring homomorphism, and Ω𝑝=𝛿𝑝(𝜕)⁠. For homogeneous Φ⁠ of degree 𝑒⁠, 𝜕𝛼𝑍𝛽⁠ with |𝛼|=|𝛽|=𝑒⁠ is 𝛼!≔∏𝑖𝑗𝛼𝑖𝑗!⁠ if 𝛼=𝛽⁠ and 0⁠ otherwise, so

Φ(𝜕)(Φ)=∑𝛼𝑏𝛼2 𝛼!.

For Φ=𝛿𝑝⁠ the coefficients are integers, not all zero, so 𝑐𝑝=Ω𝑝(𝛿𝑝)>0⁠. For 𝑛=2⁠, 𝛿=𝑧11𝑧22−𝑧12𝑧21⁠ and 𝜕11𝜕22𝛿𝑝=𝑝𝛿𝑝−1+𝑝(𝑝−1)𝛿𝑝−2𝑧11𝑧22⁠, 𝜕12𝜕21𝛿𝑝=−𝑝𝛿𝑝−1+𝑝(𝑝−1)𝛿𝑝−2𝑧12𝑧21⁠; subtracting, Ω(𝛿𝑝)=(2𝑝+𝑝(𝑝−1))𝛿𝑝−1=𝑝(𝑝+1)𝛿𝑝−1⁠, and 𝑐𝑝=∏𝑗=1𝑝𝑗(𝑗+1)⁠.□⁠

The Reynolds operator of 𝑆𝐿𝑛⁠

Let 𝜌:𝐺𝐿𝑛→𝐺𝐿(𝑉)⁠ be a polynomial representation in the sense of Definition 4.1.8, that is, the entries of 𝜌(𝑔)⁠ are polynomials in the 𝑧𝑖𝑗⁠. Then 𝜌⁠ extends to a polynomial map 𝑘𝑛×𝑛→End(𝑉)⁠, and 𝜌(𝑔ℎ)=𝜌(𝑔)𝜌(ℎ)⁠ holds for all matrices 𝑔,ℎ⁠, being a polynomial identity valid on the dense subset 𝐺𝐿𝑛×𝐺𝐿𝑛⁠.

Definition 5.3.5 (Homogeneous polynomial representation). A polynomial representation 𝜌⁠ of 𝐺𝐿𝑛⁠ is homogeneous of degree 𝑑⁠ if 𝜌(𝑠𝑔)=𝑠𝑑𝜌(𝑔)⁠ for all 𝑠∈𝑘⁠ and 𝑔∈𝑘𝑛×𝑛⁠.
Example 5.3.6 (Forms).
  1. (1)Let 𝑉=𝑘[𝐱]𝑑⁠ be the space of forms of degree 𝑑⁠ in 𝑛⁠ variables, with

    𝜌(𝑔)𝑓≔𝑓∘𝑔𝖳.

    This is a left action because (𝑓∘ℎ𝖳)∘𝑔𝖳=𝑓∘(𝑔ℎ)𝖳⁠. The coefficients of 𝑓(𝑔𝖳𝐱)⁠ are homogeneous polynomials of degree 𝑑⁠ in the entries of 𝑔⁠, so 𝜌⁠ is polynomial and homogeneous of degree 𝑑⁠.

  2. (2)The action 𝑔⋅𝑓=𝑓∘𝑔−1⁠ of Section 5.1 is not polynomial. For 𝑛=2⁠ and 𝑑=1⁠, 𝑔⋅𝑥=𝑥∘𝑔−1=(𝑔22 𝑥−𝑔12 𝑦)/det(𝑔)⁠, and 𝑔22/det(𝑔)⁠ is not a polynomial in the entries of 𝑔⁠.

On 𝑆𝐿𝑛⁠ the two actions of Example 5.3.6 differ by the automorphism 𝑔↦(𝑔−1)𝖳⁠ of 𝑆𝐿𝑛⁠. So both have the same image in 𝐺𝐿(𝑉)⁠, the same invariant ring 𝑘[𝑉]𝑆𝐿𝑛⁠ and the same Reynolds operator, which depends only on the set of operators 𝑃↦𝑔⋅𝑃⁠.

Let 𝑆𝐿𝑛⁠ act on 𝑘[𝑉]⁠ through 𝜌⁠ as in Definition 1.2.1, (𝑔⋅𝑃)(𝑣)=𝑃(𝜌(𝑔)−1𝑣)⁠. For 𝑃∈𝑘[𝑉]⁠ put

Φ𝑃(𝑣,𝑍)≔𝑃(𝜌(𝑍) 𝑣)∈𝑘[𝑉][𝑍],

the value of 𝑃⁠ on the transformed vector, a polynomial in the coordinates of 𝑣⁠ and in the 𝑧𝑖𝑗⁠ with Φ𝑃(𝑣,𝑔)=(𝑔−1⋅𝑃)(𝑣)⁠ for 𝑔∈𝑆𝐿𝑛⁠. If 𝑃∈𝑘[𝑉]𝑚⁠, then Φ𝑃⁠ is homogeneous of degree 𝑚𝑑⁠ in 𝑍⁠, and for 𝑃⁠ a coordinate function of 𝑉⁠ it is a matrix entry of 𝜌⁠.

Theorem 5.3.7 (The Reynolds operator of 𝑆𝐿𝑛⁠ by the Ω⁠-process). Let 𝜌⁠ be a polynomial representation of 𝐺𝐿𝑛⁠ on 𝑉⁠, homogeneous of degree 𝑑⁠, and let ℛ︀:𝑘[𝑉]→𝑘[𝑉]𝑆𝐿𝑛⁠ be the Reynolds operator of 𝑆𝐿𝑛⁠. For 𝑃∈𝑘[𝑉]𝑚⁠:

  1. (1)If 𝑛∤𝑚𝑑⁠, then 𝑘[𝑉]𝑚𝑆𝐿𝑛=0⁠ and ℛ︀(𝑃)=0⁠.

  2. (2)If 𝑚𝑑=𝑛𝑝⁠, then Ω𝑝Φ𝑃⁠ has degree 0⁠ in 𝑍⁠, so it lies in 𝑘[𝑉]⁠, and

    ℛ︀(𝑃)=1𝑐𝑝 Ω𝑝Φ𝑃.

Proof. Define ℛ︀′:𝑘[𝑉]→𝑘[𝑉]⁠ on 𝑘[𝑉]𝑚⁠ by the formula in (2) when 𝑛∣𝑚𝑑⁠ and by 0⁠ otherwise, and extend linearly. We verify that ℛ︀′⁠ is linear, maps into 𝑘[𝑉]𝑆𝐿𝑛⁠, is the identity on 𝑘[𝑉]𝑆𝐿𝑛⁠, and satisfies ℛ︀′(𝑔⋅𝑃)=ℛ︀′(𝑃)⁠ for 𝑔∈𝑆𝐿𝑛⁠; then ℛ︀′=ℛ︀⁠ by the uniqueness in Theorem 4.2.7, and (1) follows because ℛ︀⁠ maps 𝑘[𝑉]𝑚⁠ onto 𝑘[𝑉]𝑚𝑆𝐿𝑛⁠. Linearity is clear, and in (2) the degree of Ω𝑝Φ𝑃⁠ in 𝑍⁠ is 𝑚𝑑−𝑛𝑝=0⁠. Throughout, Ω⁠ acts on the variables 𝑧𝑖𝑗⁠ only and commutes with any substitution in 𝑣⁠.

Invariance of the image. Let 𝑃∈𝑘[𝑉]𝑚⁠, 𝑚𝑑=𝑛𝑝⁠, and ℎ∈𝑆𝐿𝑛⁠. Since 𝜌(𝑍)𝜌(ℎ)=𝜌(𝑍ℎ)⁠, Φ𝑃(𝜌(ℎ)𝑣,𝑍)=𝑃(𝜌(𝑍ℎ)𝑣)=Φ𝑃(𝑣,𝑍ℎ)⁠. Applying Ω𝑝⁠ and Theorem 5.3.3,

(Ω𝑝Φ𝑃)(𝜌(ℎ)𝑣)=det(ℎ)𝑝 (Ω𝑝Φ𝑃)(𝑣,𝑍ℎ)=(Ω𝑝Φ𝑃)(𝑣),

the last step because Ω𝑝Φ𝑃⁠ does not involve 𝑍⁠. So ℛ︀′(𝑃)⁠ is constant on 𝑆𝐿𝑛⁠-orbits, that is, invariant.

Equivariance. For 𝑔∈𝑆𝐿𝑛⁠, Φ𝑔⋅𝑃(𝑣,𝑍)=(𝑔⋅𝑃)(𝜌(𝑍)𝑣)=𝑃(𝜌(𝑔)−1𝜌(𝑍)𝑣)=Φ𝑃(𝑣,𝑔−1𝑍)⁠, and Theorem 5.3.3 with det(𝑔−1)=1⁠ gives Ω𝑝Φ𝑔⋅𝑃=(Ω𝑝Φ𝑃)(𝑣,𝑔−1𝑍)=Ω𝑝Φ𝑃⁠.

Identity on invariants. Let 𝑃∈𝑘[𝑉]𝑚𝑆𝐿𝑛⁠. For 𝑔∈𝑆𝐿𝑛⁠, Φ𝑃(𝑣,𝑔)=(𝑔−1⋅𝑃)(𝑣)=𝑃(𝑣)⁠. For 𝑧∈𝐺𝐿𝑛⁠ choose 𝑠∈𝑘×⁠ with 𝑠𝑛=det𝑧⁠; then 𝑠−1𝑧∈𝑆𝐿𝑛⁠ and by homogeneity Φ𝑃(𝑣,𝑧)=𝑠𝑚𝑑 Φ𝑃(𝑣,𝑠−1𝑧)=𝑠𝑚𝑑𝑃(𝑣)⁠. Taking 𝑧=𝜁𝐼⁠ with 𝜁⁠ a primitive 𝑛⁠-th root of unity gives 𝑃=𝜁𝑚𝑑𝑃⁠, so 𝑃=0⁠ unless 𝑛∣𝑚𝑑⁠, which proves the first claim of (1). If 𝑚𝑑=𝑛𝑝⁠, then 𝑠𝑚𝑑=(𝑠𝑛)𝑝=det(𝑧)𝑝⁠ and Φ𝑃(𝑣,𝑍)=det(𝑍)𝑝𝑃(𝑣)⁠ holds on 𝐺𝐿𝑛⁠, hence as polynomials in 𝑍⁠. Therefore Ω𝑝Φ𝑃=𝑃⋅Ω𝑝(𝛿𝑝)=𝑐𝑝𝑃⁠ and ℛ︀′(𝑃)=𝑃⁠.□⁠

The theorem turns Theorem 4.2.7 (3) into an algorithm: the invariants of degree 𝑚⁠ are spanned by the Ω𝑝Φ𝑃⁠ with 𝑃⁠ running over the monomials of degree 𝑚⁠, and Ω𝑝Φ𝑃⁠ is zero unless 𝑃⁠ is invariant under the diagonal torus, which for binary forms is Lemma 5.1.9. Each step is explicit, and the cost is in the expansion of Φ𝑃⁠, a polynomial of degree 𝑚𝑑⁠ in 𝑛2+dim𝑉⁠ variables: for the ternary cubic and 𝑃=𝑎1114⁠, Sturmfels [Stu08, Proposition 4.4.7] reports 18 630⁠ monomials in Φ𝑃⁠ and 25⁠ in the invariant Ω4Φ𝑃⁠. The linear algebra of Theorem 5.2.23 and the symbolic method of Section 5.5 below are cheaper ways to the same invariants.

Worked examples on binary forms

Example 5.3.8 (The discriminant from a monomial). Let 𝑛=𝑑=2⁠ and 𝑓=𝑎0𝑥2+𝑎1𝑥𝑦+𝑎2𝑦2⁠. We compute with 𝑓∘𝑍⁠ rather than 𝑓∘𝑍𝖳⁠, which changes neither 𝛿⁠ nor Ω⁠:

𝑓∘𝑍=(𝑎0𝑧112+𝑎1𝑧11𝑧21+𝑎2𝑧212) 𝑥2+(2𝑎0𝑧11𝑧12+𝑎1(𝑧11𝑧22+𝑧12𝑧21)+2𝑎2𝑧21𝑧22) 𝑥𝑦+(𝑎0𝑧122+𝑎1𝑧12𝑧22+𝑎2𝑧222) 𝑦2.

For 𝑃=𝑎12⁠, Φ𝑃⁠ is the square of the middle coefficient, of degree 4=2𝑝⁠ in 𝑍⁠ with 𝑝=2⁠. Applying Ω2=(𝜕11𝜕22−𝜕12𝜕21)2⁠ term by term gives Ω2Φ𝑃=4𝑎12−16𝑎0𝑎2=4𝐷⁠, and 𝑐2=2! 3!=12⁠, so

ℛ︀(𝑎12)=13𝐷, and likewise ℛ︀(𝑎0𝑎2)=−16𝐷.

As a check, ℛ︀(𝐷)=ℛ︀(𝑎12)−4ℛ︀(𝑎0𝑎2)=𝐷⁠, as it must be. The monomial 𝑎0𝑎1⁠ is not isobaric, and Ω2Φ𝑎0𝑎1=0⁠.

The expansion is tedious by hand and immediate in Julia; the second block asks OSCAR for the same values in its binomial coordinates, in which 𝑎1=2𝑏1⁠ and 𝐷=4(𝑏12−𝑏0𝑏2)⁠, so that ℛ︀(𝑏12)=ℛ︀(𝑎12)/4=(𝑏12−𝑏0𝑏2)/3⁠ and ℛ︀(𝑏0𝑏2)=−𝐷/6=−23(𝑏12−𝑏0𝑏2)⁠.

julia> R, (a0, a1, a2, z11, z12, z21, z22, x, y) = polynomial_ring(QQ,
           [:a0, :a1, :a2, :z11, :z12, :z21, :z22, :x, :y]);

julia> f = a0*x^2 + a1*x*y + a2*y^2;

julia> fZ = evaluate(f, [a0, a1, a2, z11, z12, z21, z22,
                         z11*x + z12*y, z21*x + z22*y]);

julia> c = [coeff(fZ, [x, y], [2 - i, i]) for i in 0:2];

julia> Ω(P) = derivative(derivative(P, z11), z22) -
              derivative(derivative(P, z12), z21);

julia> Ω(Ω(c[2]^2)), Ω(Ω(c[1]*c[3])), Ω(Ω(c[1]*c[2]))
(-16*a0*a2 + 4*a1^2, 8*a0*a2 - 2*a1^2, 0)

julia> Ω(Ω((z11*z22 - z12*z21)^2))
12

julia> S2, (b0, b1, b2) = graded_polynomial_ring(QQ, [:b0, :b1, :b2]);

julia> IR2 = invariant_ring(S2, representation_on_forms(G, 2));

julia> reynolds_operator(IR2, b1^2), reynolds_operator(IR2, b0*b2)
(-1//3*b0*b2 + 1//3*b1^2, 2//3*b0*b2 - 2//3*b1^2)

This is what the transcript of Section 4.3 did for the cubic: 𝑏12𝑏22⁠ has 𝑚=4⁠, 𝑑=3⁠, so 𝑝=6⁠, 𝑐6=6! 7!=3 628 800⁠, and Ω6⁠ applied to a polynomial of degree 12⁠ in the four 𝑧𝑖𝑗⁠ returned 1/105⁠ times OSCAR’s generator, the discriminant in OSCAR’s coordinates. In OSCAR, reynolds_operator(IR, f) for 𝑆𝐿𝑛⁠ is Theorem 5.3.7, implemented as in [DK15, Proposition 4.5.28].

5.4Hilbert’s finiteness theorem via Ω⁠

The proof of Theorem 4.3.1 used two things: the basis theorem, to get finitely many invariants generating the Hilbert ideal, and the 𝑘[𝑉]𝐺⁠-linearity of the Reynolds operator, to turn ideal generators into algebra generators. In 1890 the second ingredient did not exist as a theorem; Hilbert supplied it for 𝑆𝐿𝑛⁠ by the Ω⁠-process, and this section runs his argument [Hil90] following [Stu08, sec. 4.3]. We will see what the computation provides and what it does not; Section 6.1 closes the remaining gap.

Throughout, 𝜌⁠ is a polynomial representation of 𝐺𝐿𝑛⁠ on 𝑉⁠, homogeneous of degree 𝑑⁠, as in Section 5.3, and invariants are taken with respect to 𝑆𝐿𝑛⁠. Recall from Definition 2.3.1 that the Hilbert ideal is 𝔥=⟨𝑘[𝑉]+𝑆𝐿𝑛⟩⊴𝑘[𝑉]⁠.

Theorem 5.4.1 (Hilbert’s finiteness theorem, 1890 version). Let 𝐽1,…,𝐽𝑟∈𝑘[𝑉]𝑆𝐿𝑛⁠ be homogeneous invariants of positive degrees 𝑚1,…,𝑚𝑟⁠ that generate 𝔥⁠; they exist by Hilbert’s basis theorem [Gat13, Proposition 7.13], as in the proof of Theorem 4.3.1. Then 𝑘[𝑉]𝑆𝐿𝑛=𝑘[𝐽1,…,𝐽𝑟]⁠. More precisely, if 𝐽⁠ is a homogeneous invariant of degree 𝑚⁠, with 𝑚𝑑=𝑛𝑝⁠, and 𝐽=∑𝑖=1𝑟𝑓𝑖𝐽𝑖⁠ with 𝑓𝑖∈𝑘[𝑉]⁠ homogeneous of degree 𝑚−𝑚𝑖⁠, then

𝑐𝑝 𝐽=∑𝑖=1𝑟𝐽𝑖⋅Ω𝑝(𝛿𝑝𝑖 Φ𝑓𝑖), 𝑝𝑖≔𝑚𝑖𝑑/𝑛,

(5.7)

and each 𝑄𝑖≔Ω𝑝(𝛿𝑝𝑖Φ𝑓𝑖)⁠ is an invariant of degree 𝑚−𝑚𝑖<𝑚⁠.

Proof. The map 𝑃↦Φ𝑃⁠ is the evaluation of 𝑃⁠ at 𝜌(𝑍)𝑣⁠, hence a ring homomorphism 𝑘[𝑉]→𝑘[𝑉][𝑍]⁠, and for a homogeneous invariant 𝐽𝑖⁠ the proof of Theorem 5.3.7 gave Φ𝐽𝑖=𝛿𝑝𝑖𝐽𝑖⁠. So Φ𝐽=𝛿𝑝𝐽⁠ and

𝛿𝑝𝐽=Φ𝐽=∑𝑖Φ𝑓𝑖 Φ𝐽𝑖=∑𝑖𝛿𝑝𝑖Φ𝑓𝑖 𝐽𝑖.

Apply Ω𝑝⁠ to both sides; the 𝐽𝑖⁠ do not involve 𝑍⁠, and Ω𝑝(𝛿𝑝)=𝑐𝑝⁠ by Lemma 5.3.4, which gives Equation 5.7. Each 𝑄𝑖⁠ has degree 𝑛𝑝𝑖+(𝑚−𝑚𝑖)𝑑−𝑛𝑝=0⁠ in 𝑍⁠, so 𝑄𝑖∈𝑘[𝑉]⁠, and it is invariant: for ℎ∈𝑆𝐿𝑛⁠, 𝛿(𝑍ℎ)=𝛿(𝑍)⁠ and Φ𝑓𝑖(𝜌(ℎ)𝑣,𝑍)=Φ𝑓𝑖(𝑣,𝑍ℎ)⁠, so 𝛿𝑝𝑖Φ𝑓𝑖⁠ evaluated at (𝜌(ℎ)𝑣,𝑍)⁠ equals its value at (𝑣,𝑍ℎ)⁠; applying Ω𝑝⁠ and Theorem 5.3.3, 𝑄𝑖(𝜌(ℎ)𝑣)=det(ℎ)𝑝𝑄𝑖(𝑣)=𝑄𝑖(𝑣)⁠.

Now induct on 𝑚⁠. Constants are in 𝑘[𝐽1,…,𝐽𝑟]⁠. For 𝑚>0⁠, 𝐽∈𝔥⁠ has a representation 𝐽=∑𝑖𝑓𝑖𝐽𝑖⁠ with homogeneous 𝑓𝑖⁠ of degree 𝑚−𝑚𝑖⁠, obtained by taking the degree-𝑚⁠ part of any representation; by induction every 𝑄𝑖⁠ lies in 𝑘[𝐽1,…,𝐽𝑟]⁠, and 𝑐𝑝≠0⁠, so 𝐽⁠ does by Equation 5.7.□⁠

Both proofs have the same skeleton, and Equation 5.7 is 𝐽=∑𝑖ℛ︀(𝑓𝑖)𝐽𝑖⁠, the identity that Theorem 4.2.7 (2) produced from 𝐽=ℛ︀(𝐽)⁠: the map 𝑓↦𝑐𝑝−1Ω𝑝(𝛿𝑝𝑖Φ𝑓)⁠ on 𝑘[𝑉]𝑚−𝑚𝑖⁠ is linear, equivariant, invariant-valued and the identity on invariants, by the same three verifications as in Theorem 5.3.7, so by uniqueness it is ℛ︀⁠ and 𝑄𝑖=𝑐𝑝ℛ︀(𝑓𝑖)⁠. So Hilbert computed with Ω⁠ where chapter 4 used the uniqueness of the Reynolds operator. The logic of the two proofs is the same; Hilbert’s version in addition gives a formula that can be evaluated, as we now explain.

What the computation provides

Suppose homogeneous invariants 𝐽1,…,𝐽𝑟⁠ generating 𝔥⁠ are known. Then every step from an invariant 𝐽⁠ to a polynomial expression in the 𝐽𝑖⁠ is a computation: ideal membership and the coefficients 𝑓𝑖⁠ come from a Gröbner basis of 𝔥⁠ by Section 1.3, the 𝑄𝑖⁠ are differentiations, and the recursion terminates because degrees drop. In that sense the 1890 proof is effective: the invariant ring is computable from generators of the Hilbert ideal, and Theorem 5.3.7 makes the Reynolds operator itself computable, which neither the Haar integral of Theorem 4.2.13 nor the complement of Lemma 4.2.6 is.

The proof does not provide the generators. The basis theorem asserts that finitely many invariants generate 𝔥⁠ without saying how many, of what degree, or how to recognise them. In Part I this was no problem: Noether’s bound of Section 2.1 says that the images of the monomials of degree at most |𝐺|⁠ generate, so applying ℛ︀⁠ degree by degree and stopping at |𝐺|⁠ is an algorithm. For 𝑆𝐿𝑛⁠ the same procedure, applying Theorem 5.3.7 to the isobaric monomials of degrees 1,2,3,…⁠, produces the invariants of every degree, but it has no criterion for stopping: it cannot tell when the invariants found so far generate the invariant ring. Hilbert’s second paper [Hil93] supplies the criterion, through the nullcone of Section 4.4: by Proposition 4.4.8, invariants whose common zero set is 𝒩︀⁠ generate a subring over which the invariant ring is a finite module, and finiteness of that module can be certified by a degree bound. That is Hilbert’s algorithm, Section 6.1, and the bounds are the subject of Section 6.3. Gordan’s objection to the first proof, recorded in Section 4.3, was in substance the gap described here.

5.5Lie algebra action and the symbolic method

It remains to prove the generation statements of Theorem 5.2.7 and Theorem 5.2.8. We do this with the symbolic method, which writes invariants as polynomials in the 2×2⁠ determinants of the roots, the brackets, and so reduces the invariant theory of binary forms to that of the symmetric group. Before that, we use the operators 𝐸,𝐹,𝐻⁠ of Section 5.2 once more: a covariant is determined by one of its coefficients, a highest weight vector, so the study of covariants reduces to that of elements of 𝑘[𝑉𝑑]⁠. Together with the linear algebra of Theorem 5.2.23, these were the main methods of the 19th century for producing invariants.

Covariants and their sources

The structure theorem also describes covariants. A covariant of order 𝑟⁠ is a form of degree 𝑟⁠ in 𝑥,𝑦⁠ with coefficients in 𝑘[𝑉𝑑]⁠, and we will see that its first coefficient determines it.

Definition 5.5.1 (Source). Let 𝐶⁠ be a covariant of binary forms of degree 𝑑⁠, of degree 𝑚⁠ and order 𝑟⁠. Its source is its coefficient of 𝑥𝑟⁠, that is, 𝑃≔𝐶(𝑓,1,0)∈𝑘[𝑉𝑑]𝑚⁠.
Example 5.5.2 (Sources).
  1. (1)The form itself, 𝐶(𝑓,𝑥,𝑦)=𝑓(𝑥,𝑦)⁠, has order 𝑑⁠ and source 𝑎0⁠.

  2. (2)An invariant 𝑃⁠ is a covariant of order 0⁠ and is its own source.

  3. (3)For the binary quartic, the Hessian 𝐻=12(𝑓,𝑓)2=𝑓𝑥𝑥𝑓𝑦𝑦−𝑓𝑥𝑦2⁠ has order 4⁠ and source 24𝑎0𝑎2−9𝑎12⁠.

Theorem 5.5.3 (Roberts’ theorem). Let 𝐶⁠ be a covariant of binary forms of degree 𝑑⁠, of degree 𝑚⁠ and order 𝑟⁠, with source 𝑃⁠, and let 𝑊≔𝑘[𝑉𝑑]𝑚⁠. Then 𝑃⁠ is a highest weight vector of weight 𝑟⁠, that is, 𝑃∈𝑊𝑟⁠ and 𝐸𝑃=0⁠, and

𝐶(𝑓,𝑥,𝑦)=∑𝑗=0𝑟1𝑗! (𝐹𝑗𝑃)(𝑓) 𝑥𝑟−𝑗𝑦𝑗.

(5.8)

Conversely every highest weight vector 𝑃∈𝑊𝑟⁠ is the source of exactly one covariant of degree 𝑚⁠ and order 𝑟⁠, given by Equation 5.8. The number of linearly independent covariants of degree 𝑚⁠ and order 𝑟⁠ is therefore 𝑝(𝑑,𝑚,𝑚𝑑−𝑟2)−𝑝(𝑑,𝑚,𝑚𝑑−𝑟2−1)⁠, with 𝑝⁠ as in Definition 5.2.25.

Proof. For 𝑔∈𝑆𝐿2⁠, Equation 5.2 reads 𝐶(𝑓∘𝑔,𝑣)=𝐶(𝑓,𝑔𝑣)⁠ with 𝑣=(𝑥,𝑦)⁠. Since 𝑢(𝑠)𝑒1=𝑒1⁠, (𝑢(𝑠)⋅𝑃)(𝑓)=𝑃(𝑓∘𝑢(𝑠))=𝐶(𝑓∘𝑢(𝑠),𝑒1)=𝐶(𝑓,𝑒1)=𝑃(𝑓)⁠, so 𝐸𝑃=0⁠ by Lemma 5.2.14 (4); since 𝑡(𝑠)𝑒1=𝑠𝑒1⁠, (𝑡(𝑠)⋅𝑃)(𝑓)=𝐶(𝑓,𝑠𝑒1)=𝑠𝑟𝑃(𝑓)⁠, so 𝑃∈𝑊𝑟⁠. Now let 𝑣=(𝑣1,𝑣2)⁠ with 𝑣1≠0⁠ and 𝑔≔𝑡(𝑣1) 𝑢−(𝑣1𝑣2)=(𝑣10𝑣2𝑣1−1)⁠, so that 𝑔𝑒1=𝑣⁠. Then, using Lemma 5.2.14 (1) for 𝑢−⁠ and the weights 𝑟−2𝑗⁠ of the 𝐹𝑗𝑃⁠,

𝐶(𝑓,𝑣)=𝐶(𝑓∘𝑔,𝑒1)=𝑃(𝑓∘𝑔)=(𝑢−(𝑣1𝑣2)⋅𝑃)(𝑓∘𝑡(𝑣1))=∑𝑗(𝑣1𝑣2)𝑗𝑗!(𝑡(𝑣1)⋅𝐹𝑗𝑃)(𝑓)=∑𝑗𝑣1𝑟−𝑗𝑣2𝑗𝑗!(𝐹𝑗𝑃)(𝑓).

Both sides are polynomials in 𝑣⁠ agreeing where 𝑣1≠0⁠, so Equation 5.8 holds; by Lemma 5.2.22 the sum stops at 𝑗=𝑟⁠.

Conversely let 𝑃∈𝑊𝑟⁠, 𝐸𝑃=0⁠. The stabiliser [Gat10, Definition 7.14 (b)] of 𝑒1⁠ in 𝑆𝐿2⁠ is {𝑢(𝑠):𝑠∈𝑘}⁠, and 𝑃⁠ is fixed by it by Lemma 5.2.14 (1), so for 𝑣≠0⁠ the value 𝐶(𝑓,𝑣)≔𝑃(𝑓∘𝑔)⁠ does not depend on the choice of 𝑔∈𝑆𝐿2⁠ with 𝑔𝑒1=𝑣⁠, and 𝐶(𝑓∘ℎ,𝑣)=𝑃(𝑓∘ℎ𝑔)=𝐶(𝑓,ℎ𝑣)⁠ for ℎ∈𝑆𝐿2⁠. The computation above shows that 𝐶⁠ is given by the right hand side of Equation 5.8 wherever 𝑣1≠0⁠, so 𝐶⁠ is a polynomial, bihomogeneous of degree 𝑚⁠ and order 𝑟⁠, invariant under 𝑆𝐿2⁠, hence a covariant by Proposition 5.1.3. Its source is 𝑃⁠, and Equation 5.8 shows that no other covariant of order 𝑟⁠ has source 𝑃⁠. The count is Theorem 5.2.23 (2) together with dim𝑊𝜆=𝑝(𝑑,𝑚,(𝑚𝑑−𝜆)/2)⁠ from the proof of Theorem 5.2.27.□⁠

Example 5.5.4 (Covariants of degree 2⁠ of the cubic). Let 𝑑=3⁠ and 𝑚=2⁠. By Theorem 5.5.3 the numbers of covariants of orders 6,4,2,0⁠ are 1,0,1,0⁠: the covariants 𝑓2⁠ and 𝐻⁠, and no invariant. The source of 𝐻⁠ is 3𝑎0𝑎2−𝑎12⁠, which lies in (𝑘[𝑉3]2)2⁠ and is killed by 𝐸⁠, and Equation 5.8 recovers 𝐻⁠: 𝐹(3𝑎0𝑎2−𝑎12)=9𝑎0𝑎3−𝑎1𝑎2⁠ and 12𝐹2(3𝑎0𝑎2−𝑎12)=3𝑎1𝑎3−𝑎22⁠ are the coefficients of 𝑥𝑦⁠ and 𝑦2⁠ in 𝐻⁠.

So Theorem 5.5.3 identifies the bihomogeneous components of the ring of covariants 𝑘[𝑉𝑑⊕𝑘2]𝑆𝐿2⁠ of Section 5.1 with spaces of highest weight vectors in 𝑘[𝑉𝑑]⁠.

The first fundamental theorem

The second method works with the roots of a form instead of its coefficients. The roots of a binary form are points of the projective line, so we first determine the invariants of a tuple of vectors. Let 𝑆𝐿2⁠ act on 𝑟⁠ vectors at once, 𝑉≔(𝑘2)𝑟⁠ with 𝑔⋅(𝑣1,…,𝑣𝑟)=(𝑔𝑣1,…,𝑔𝑣𝑟)⁠, and let (𝑥𝑖,𝑦𝑖)⁠ be the coordinates of 𝑣𝑖⁠, so 𝑘[𝑉]=𝑘[𝑥1,𝑦1,…,𝑥𝑟,𝑦𝑟]⁠.

Definition 5.5.5 (Brackets). For 1≤𝑖,𝑗≤𝑟⁠ the bracket [𝑖 𝑗]∈𝑘[𝑉]⁠ is

[𝑖 𝑗]≔det(𝑥𝑖𝑥𝑗𝑦𝑖𝑦𝑗)=𝑥𝑖𝑦𝑗−𝑥𝑗𝑦𝑖.

So [𝑗 𝑖]=−[𝑖 𝑗]⁠ and [𝑖 𝑖]=0⁠. The brackets are invariants, since [𝑖 𝑗](𝑣)⁠ is the determinant of the matrix with columns 𝑣𝑖,𝑣𝑗⁠ and det(𝑔𝑣𝑖 𝑔𝑣𝑗)=det(𝑔)det(𝑣𝑖 𝑣𝑗)⁠.

Example 5.5.6 (A bracket and a monomial). Let 𝑟=2⁠. By Definition 1.2.1, (𝑢(𝑠)⋅𝑃)(𝑣1,𝑣2)=𝑃(𝑢(−𝑠)𝑣1,𝑢(−𝑠)𝑣2)⁠, so 𝑢(𝑠)⁠ substitutes 𝑥𝑖−𝑠𝑦𝑖⁠ for 𝑥𝑖⁠ and leaves 𝑦𝑖⁠ unchanged. Hence

𝑢(𝑠)⋅(𝑥1𝑦2)=𝑥1𝑦2−𝑠 𝑦1𝑦2, 𝑢(𝑠)⋅[1 2]=(𝑥1−𝑠𝑦1) 𝑦2−(𝑥2−𝑠𝑦2) 𝑦1=[1 2].

So the monomial 𝑥1𝑦2⁠ is not invariant, while in the bracket the terms with 𝑠⁠ cancel.

Theorem 5.5.7 (First fundamental theorem for 𝑆𝐿2⁠). 𝑘[(𝑘2)𝑟]𝑆𝐿2=𝑘[[𝑖 𝑗]:1≤𝑖<𝑗≤𝑟]⁠: every invariant of 𝑟⁠ vectors in the plane is a polynomial in the brackets.

Proof. The action preserves the multidegree in (𝑣1,…,𝑣𝑟)⁠, so it suffices to treat an invariant 𝑃⁠ that is homogeneous of degree 𝑚𝑖⁠ in 𝑣𝑖⁠ for each 𝑖⁠.

Multilinear invariants. Suppose first that 𝑚1=⋯=𝑚𝑟=1⁠, so that 𝑃⁠ lies in the subrepresentation 𝑀⊆𝑘[𝑉]⁠ spanned by the 2𝑟⁠ monomials with one factor 𝑥𝑖⁠ or 𝑦𝑖⁠ for each 𝑖⁠. By Definition 1.2.1, 𝑡(𝑠)⋅𝑥𝑖=𝑠−1𝑥𝑖⁠ and 𝑡(𝑠)⋅𝑦𝑖=𝑠𝑦𝑖⁠, so a monomial with 𝑏⁠ factors of the form 𝑦𝑖⁠ has weight 2𝑏−𝑟⁠. If 𝑟⁠ is odd, 𝑀0=0⁠ and 𝑀𝑆𝐿2=0⁠ by Theorem 5.2.24. Let 𝑟=2𝑞⁠. Then dim𝑀0=(2𝑞𝑞)⁠, dim𝑀2=(2𝑞𝑞+1)⁠, and dim𝑀𝑆𝐿2=(2𝑞𝑞)−(2𝑞𝑞+1)⁠.

A perfect matching 𝜇⁠ of {1,…,2𝑞}⁠ gives the multilinear invariant [𝜇]≔∏{𝑖,𝑗}∈𝜇, 𝑖<𝑗[𝑖 𝑗]⁠; call 𝜇⁠ non-crossing if no two of its pairs {𝑖,𝑘}⁠, {𝑗,𝑙}⁠ satisfy 𝑖<𝑗<𝑘<𝑙⁠. Write each pair as a parenthesis, open at its smaller element: a matching is non-crossing exactly when the resulting word in 2𝑞⁠ parentheses is balanced, and a balanced word is recovered from the positions of its opening parentheses, each closing parenthesis being matched to the nearest open one on its left. Hence the non-crossing matchings correspond to the sequences 𝜀∈{±1}2𝑞⁠ with 𝑞⁠ entries +1⁠ and all partial sums ≥0⁠. The number of these is (2𝑞𝑞)−(2𝑞𝑞+1)⁠: of the (2𝑞𝑞)⁠ sequences with 𝑞⁠ entries +1⁠, those with a negative partial sum are in bijection with the sequences having 𝑞+1⁠ entries +1⁠, by negating every entry up to and including the first position where the partial sum is −1⁠; the inverse negates up to the first position where the partial sum is +1⁠, which every sequence with total sum 2⁠ passes.

In the lexicographic order with 𝑥1>⋯>𝑥2𝑞>𝑦1>⋯>𝑦2𝑞⁠ the leading monomial of [𝑖 𝑗]⁠, 𝑖<𝑗⁠, is 𝑥𝑖𝑦𝑗⁠, so by Lemma 1.1.18 (2) the leading monomial of [𝜇]⁠ is ∏{𝑖<𝑗}∈𝜇𝑥𝑖𝑦𝑗⁠, which records the set of opening positions of 𝜇⁠. For non-crossing 𝜇⁠ this set determines 𝜇⁠, so the [𝜇]⁠ with 𝜇⁠ non-crossing have distinct leading monomials. They are therefore linearly independent: in a nontrivial linear combination, the largest of the leading monomials with nonzero coefficient cannot cancel. Their number equals dim𝑀𝑆𝐿2⁠, so they form a basis of 𝑀𝑆𝐿2⁠.

Polarisation. Now let 𝑃⁠ be invariant of multidegree (𝑚1,…,𝑚𝑟)⁠ and 𝑚≔∑𝑖𝑚𝑖⁠. Take 𝑚⁠ new vectors 𝑤𝑖,𝑙⁠, 1≤𝑙≤𝑚𝑖⁠, and scalars 𝜆𝑖,𝑙⁠, and let 𝑃̃⁠ be the coefficient of ∏𝑖,𝑙𝜆𝑖,𝑙⁠ in 𝑃(∑𝑙𝜆1,𝑙𝑤1,𝑙,…,∑𝑙𝜆𝑟,𝑙𝑤𝑟,𝑙)⁠. It is linear in each 𝑤𝑖,𝑙⁠ and invariant, since the substitution commutes with the diagonal action of 𝑆𝐿2⁠. Substituting 𝑤𝑖,𝑙≔𝑣𝑖⁠ for all 𝑙⁠ turns the argument of 𝑃⁠ into ((∑𝑙𝜆1,𝑙)𝑣1,…)⁠, and the coefficient of ∏𝜆𝑖,𝑙⁠ in ∏𝑖(∑𝑙𝜆𝑖,𝑙)𝑚𝑖𝑃(𝑣)⁠ is 𝑚1!⋯𝑚𝑟! 𝑃(𝑣)⁠. By the multilinear case 𝑃̃⁠ is a linear combination of products of brackets of the 𝑤𝑖,𝑙⁠, and the substitution turns a bracket of 𝑤𝑖,𝑙⁠ and 𝑤𝑗,𝑙′⁠ into [𝑖 𝑗]⁠. So 𝑃⁠ is a polynomial in the brackets, char𝑘=0⁠ allowing the division by 𝑚1!⋯𝑚𝑟!⁠.□⁠

The proof shows more: the products of brackets along non-crossing matchings form a basis of the multilinear invariants, which is the simplest case of the straightening law. For 𝑟=4⁠ there are three matchings and two non-crossing ones, so one relation,

[1 2][3 4]−[1 3][2 4]+[1 4][2 3]=0,

(5.9)

the Plücker relation, verified by expanding. For 𝑆𝐿𝑛⁠ acting on 𝑟⁠ vectors in 𝑘𝑛⁠ the statement is the same with the 𝑛×𝑛⁠ minors [𝑖1⋯𝑖𝑛]⁠ in place of the brackets, and the relations among the minors are generated by the Plücker relations of the minors [Stu08, Theorem 3.2.1, DK15, Theorems 4.4.4 and 4.4.5]; we do not prove it. Sturmfels’ chapter 3 builds on these two theorems: the straightening algorithm, a Gröbner basis for the Plücker relations whose normal forms are the standard tableaux, with the non-crossing matchings as the case 𝑛=2⁠; the Grassmann–Cayley algebra, in which the invariants are joins and meets of subspaces; and the translation of theorems of projective geometry into bracket identities and back. None of it is needed below.

The symbolic method

Now let 𝑓∈𝑉𝑑⁠ be a binary form. Since 𝑘⁠ is algebraically closed, 𝑓⁠ factors into linear forms, and we parametrise them by their roots: for 𝜌=(𝛼,𝛽)∈𝑘2⁠ let ℓ𝜌≔𝛼𝑦−𝛽𝑥⁠, the linear form with ℓ𝜌(𝜌)=0⁠, so that

𝑓=ℓ𝜌1⋯ℓ𝜌𝑑 for root vectors 𝜌1,…,𝜌𝑑∈𝑘2.

We take 𝜌1,…,𝜌𝑑⁠ as 𝑑⁠ vectors with coordinates (𝛼𝑖,𝛽𝑖)⁠ and write 𝑘[𝜌]≔𝑘[𝛼1,𝛽1,…,𝛼𝑑,𝛽𝑑]=𝑘[(𝑘2)𝑑]⁠. On it 𝑆𝐿2⁠ acts as in Definition 5.5.5, and the brackets are [𝑖 𝑗]=𝛼𝑖𝛽𝑗−𝛼𝑗𝛽𝑖⁠. The map Ψ⁠ of the next definition is not related to the polynomials called Ψ⁠ in Section 5.2 and Section 5.3.

Definition 5.5.8 (Expansion in roots, regular and symmetric polynomials).
  1. (1)The expansion in roots is the ring homomorphism Ψ:𝑘[𝑉𝑑]→𝑘[𝜌]⁠ that substitutes the coefficients of ℓ𝜌1⋯ℓ𝜌𝑑⁠, which are polynomials in the 𝛼𝑖,𝛽𝑖⁠, for 𝑎0,…,𝑎𝑑⁠; so Ψ(𝑃)(𝜌1,…,𝜌𝑑)=𝑃(ℓ𝜌1⋯ℓ𝜌𝑑)⁠.

  2. (2)A polynomial 𝑅∈𝑘[𝜌]⁠ is regular of degree 𝑚⁠ if every monomial occurring in 𝑅⁠ has total degree 𝑚⁠ in each pair 𝛼𝑖,𝛽𝑖⁠, and symmetric if it is fixed by the group 𝑆𝑑⁠ permuting the pairs (𝛼𝑖,𝛽𝑖)⁠.

Example 5.5.9 (Binary quadratics in terms of their roots). Let 𝑑=2⁠. Expanding ℓ𝜌1ℓ𝜌2=(𝛼1𝑦−𝛽1𝑥)(𝛼2𝑦−𝛽2𝑥)⁠ gives

Ψ(𝑎0)=𝛽1𝛽2, Ψ(𝑎1)=−(𝛼1𝛽2+𝛼2𝛽1), Ψ(𝑎2)=𝛼1𝛼2,

all symmetric and regular of degree 1⁠. The bracket [1 2]=𝛼1𝛽2−𝛼2𝛽1⁠ is regular of degree 1⁠ but not symmetric: exchanging the two pairs maps it to −[1 2]⁠. Its square is symmetric and regular of degree 2⁠. The polynomial 𝛼12⁠ is not regular: it has degree 2⁠ in 𝛼1,𝛽1⁠ and degree 0⁠ in 𝛼2,𝛽2⁠.

For 𝑔∈𝑆𝐿2⁠ we have ℓ𝜌∘𝑔=ℓ𝑔−1𝜌⁠, since ℓ𝜌(𝑔𝑣)=det(𝜌 𝑔𝑣)=det(𝑔−1𝜌 𝑣)⁠.

Theorem 5.5.10 (Invariants as bracket polynomials in the roots).
  1. (1)Ψ⁠ is injective and 𝑆𝐿2⁠-equivariant, and it maps 𝑘[𝑉𝑑]𝑚⁠ onto the symmetric polynomials that are regular of degree 𝑚⁠.

  2. (2)Ψ⁠ restricts to an isomorphism of graded rings from 𝑘[𝑉𝑑]𝑆𝐿2⁠ onto the ring of symmetric regular bracket polynomials, the symmetric elements of 𝑘[[𝑖 𝑗]:𝑖<𝑗]∩{regular}⁠. A bracket monomial ∏𝑖<𝑗[𝑖 𝑗]𝑒𝑖𝑗⁠ is regular of degree 𝑚⁠ exactly when every index occurs 𝑚⁠ times, and the invariants of degree 𝑚⁠ correspond to the 𝑆𝑑⁠-averages of such monomials.

  3. (3)Covariants of degree 𝑚⁠ and order 𝑟⁠ correspond in the same way to symmetric polynomials in the brackets [𝑖 𝑗]⁠ and [𝑖 𝐱]≔ℓ𝜌𝑖(𝑥,𝑦)=𝛼𝑖𝑦−𝛽𝑖𝑥⁠ that are regular of degree 𝑚⁠ in the roots and of degree 𝑟⁠ in 𝐱⁠.

Proof.
  1. (1)If Ψ(𝑃)=0⁠, then 𝑃⁠ vanishes at every form that is a product of linear forms, which is every 𝑓∈𝑉𝑑⁠ as 𝑘⁠ is algebraically closed; so 𝑃=0⁠, 𝑘⁠ being infinite. Equivariance: Ψ(𝑔⋅𝑃)(𝜌)=𝑃((∏𝑖ℓ𝜌𝑖)∘𝑔)=𝑃(∏𝑖ℓ𝑔−1𝜌𝑖)=Ψ(𝑃)(𝑔−1𝜌)=(𝑔⋅Ψ(𝑃))(𝜌)⁠ by Equation 5.1. Each Ψ(𝑎𝑖)⁠ is symmetric and regular of degree 1⁠, so Ψ(𝑘[𝑉𝑑]𝑚)⁠ consists of symmetric polynomials regular of degree 𝑚⁠; and these have dimension (𝑚+𝑑𝑑)⁠, the number of 𝑆𝑑⁠-orbits of monomials ∏𝑖𝛼𝑖𝑢𝑖𝛽𝑖𝑚−𝑢𝑖⁠, that is of multisets of size 𝑑⁠ in {0,…,𝑚}⁠, which is dim𝑘[𝑉𝑑]𝑚⁠. As Ψ⁠ is injective, it is onto.

  2. (2)If 𝑃⁠ is invariant, then Ψ(𝑃)⁠ is invariant by equivariance, hence a bracket polynomial by Theorem 5.5.7, symmetric and regular by (1). Conversely a symmetric regular bracket polynomial 𝑅⁠ is Ψ(𝑃)⁠ for a unique 𝑃⁠ by (1), and Ψ(𝑔⋅𝑃)=𝑔⋅𝑅=𝑅=Ψ(𝑃)⁠ gives 𝑔⋅𝑃=𝑃⁠. The index 𝑖⁠ occurs in [𝑖 𝑗]𝑒𝑖𝑗⁠ with degree 𝑒𝑖𝑗⁠ in (𝛼𝑖,𝛽𝑖)⁠, which gives the regularity criterion; the regular bracket polynomials form a subring stable under 𝑆𝑑⁠, so its symmetric elements are spanned by the averages of its monomials, by Proposition 2.1.6 (3) for the finite group 𝑆𝑑⁠.

  3. (3)This is the argument of (2) for 𝑉𝑑⊕𝑘2⁠ with the extra vector 𝐱=(𝑥,𝑦)⁠, on which Theorem 5.5.7 provides the brackets [𝑖 𝐱]⁠; [𝐱 𝐱]=0⁠ and [𝑖 𝐱]⁠ is the 𝑖⁠-th linear factor.□⁠

This is the symbolic method in the form of Kung and Rota [KR84]; see also [Stu08, sec. 3.6] and [DK15, sec. 4.4.1]. The classical version, going back to Aronhold and Clebsch, works not with roots but with symbols 𝛼𝑥≔𝛼1𝑥+𝛼2𝑦⁠ such that 𝑓=𝛼𝑥𝑑=𝛽𝑥𝑑=⋯⁠ formally, and reads off invariants from bracket polynomials in the symbols; with roots in place of symbols the formalism becomes a theorem. In both versions every invariant of a binary form is built from brackets, and bracket monomials correspond to transvectants: the bracket [𝑖 𝑗]⁠ is the operator Ω⁠ of Definition 5.2.3 applied to a product of two linear factors, Ω(ℓ𝜌𝑖(𝑥1,𝑦1) ℓ𝜌𝑗(𝑥2,𝑦2))=[𝑖 𝑗]⁠, and the symmetrised bracket monomials of Theorem 5.5.10 (2) are, up to constants, iterated transvectants of 𝑓⁠ with itself.

Example 5.5.11 (The cubic, concluded). Let 𝑑=3⁠. A bracket monomial [1 2]𝑒12[1 3]𝑒13[2 3]𝑒23⁠ is regular when 𝑒12+𝑒13=𝑒12+𝑒23=𝑒13+𝑒23⁠, that is, when all three exponents are equal. So the regular bracket polynomials are 𝑘[𝑀]⁠ with 𝑀≔[1 2][1 3][2 3]⁠, regular of degree 2⁠, and the transposition (1 2)⁠ sends 𝑀⁠ to [2 1][2 3][1 3]=−𝑀⁠; every permutation acts on 𝑀⁠ by its sign, and the symmetric elements of 𝑘[𝑀]⁠ are 𝑘[𝑀2]⁠. By Theorem 5.5.10, 𝑘[𝑉3]𝑆𝐿2=𝑘[𝑃]⁠ for the unique 𝑃⁠ with Ψ(𝑃)=𝑀2⁠, of degree 4⁠. Writing 𝑓=𝑎0∏𝑖(𝑥−𝑟𝑖𝑦)⁠ with 𝑟𝑖=𝛼𝑖/𝛽𝑖⁠, one has 𝑎0=−𝛽1𝛽2𝛽3⁠ and

Ψ(𝐷)=𝑎04∏𝑖<𝑗(𝑟𝑖−𝑟𝑗)2=(𝛽1𝛽2𝛽3)4∏𝑖<𝑗(𝛼𝑖𝛽𝑗−𝛼𝑗𝛽𝑖)2𝛽𝑖2𝛽𝑗2=∏𝑖<𝑗[𝑖 𝑗]2=𝑀2,

so 𝑃=𝐷⁠ and 𝑘[𝑉3]𝑆𝐿2=𝑘[𝐷]⁠, which is Theorem 5.2.7 (1). The same computation gives Ψ(𝐷)=∏𝑖<𝑗[𝑖 𝑗]2⁠ for the discriminant of a form of any degree.

Example 5.5.12 (The quartic, concluded). Let 𝑑=4⁠. Regularity of ∏𝑖<𝑗[𝑖 𝑗]𝑒𝑖𝑗⁠ says that the four sums ∑𝑗≠𝑖𝑒𝑖𝑗⁠ agree; adding the conditions for 1⁠ and 2⁠ and subtracting those for 3⁠ and 4⁠ gives 𝑒12=𝑒34⁠, and likewise 𝑒13=𝑒24⁠, 𝑒14=𝑒23⁠. So every regular bracket monomial is a monomial in the three products

𝐴≔[1 2][3 4], 𝐵≔[1 3][2 4], 𝐶≔[1 4][2 3],

each regular of degree 1⁠, with 𝐴−𝐵+𝐶=0⁠ by Equation 5.9. In the lexicographic order with 𝛼1>⋯>𝛼4>𝛽1>⋯>𝛽4⁠, as in the proof of Theorem 5.5.7, the leading monomials of 𝐴⁠ and 𝐵⁠ are 𝛼1𝛼3𝛽2𝛽4⁠ and 𝛼1𝛼2𝛽3𝛽4⁠. Their exponent vectors are linearly independent, so the products 𝐴𝑎𝐵𝑏⁠ have distinct leading monomials, and 𝐴,𝐵⁠ are algebraically independent by Lemma 1.1.19. The regular bracket polynomials form the polynomial ring 𝑘[𝐴,𝐵]⁠, graded by regularity degree, and 𝑆4⁠ permutes the letters 1,2,3,4⁠. One checks that the transposition (1 2)⁠ sends 𝐴,𝐵,𝐶⁠ to −𝐴,𝐶,𝐵⁠, that (1 3)⁠ sends them to −𝐶,−𝐵,−𝐴⁠, that (1 4)⁠ sends them to 𝐵,𝐴,−𝐶⁠, and that the Klein four-group acts trivially. Let 𝑧1,𝑧2,𝑧3⁠ be new variables and 𝑆¯≔𝑘[𝑧1,𝑧2,𝑧3]/⟨𝑧1+𝑧2+𝑧3⟩⁠. Since 𝐴−𝐵+𝐶=0⁠, the assignment 𝑧1↦𝐴⁠, 𝑧2↦−𝐵⁠, 𝑧3↦𝐶⁠ defines an isomorphism 𝑆¯≅𝑘[𝐴,𝐵]⁠. Under it every transposition of 𝑆4⁠ acts as −1⁠ times a transposition of 𝑧1,𝑧2,𝑧3⁠, so 𝑆4⁠ acts on 𝑆¯⁠ through 𝑆3⁠, with 𝜎∈𝑆3⁠ acting as sgn(𝜎)⁠ times the permutation 𝜎⁠ of the 𝑧𝑖⁠. A homogeneous 𝑃∈𝑆¯⁠ of degree 𝑗⁠ is therefore invariant under this action if and only if 𝜎(𝑃)=sgn(𝜎)𝑗𝑃⁠ for all 𝜎∈𝑆3⁠: symmetric for even 𝑗⁠, alternating for odd 𝑗⁠.

Invariants and anti-invariants of 𝑆3⁠ pass to the quotient 𝑆¯⁠: if 𝑝¯⁠ is invariant, then 𝑝¯=ℛ︀(𝑝)¯⁠ with ℛ︀⁠ the Reynolds operator of 𝑆3⁠, and likewise with the signed average 16∑𝜎sgn(𝜎)𝜎⁠ for anti-invariants, the 𝑝⁠ with 𝜎(𝑝)=sgn(𝜎) 𝑝⁠ for all 𝜎⁠. Let 𝜎1,𝜎2,𝜎3⁠ be the elementary symmetric polynomials in 𝑧1,𝑧2,𝑧3⁠, Δ≔(𝑧1−𝑧2)(𝑧1−𝑧3)(𝑧2−𝑧3)⁠, the Vandermonde determinant of Definition 1.1.28 in the variables 𝑧1,𝑧2,𝑧3⁠, and let bars denote images in 𝑆¯⁠, so that 𝜎¯1=0⁠. By Theorem 1.1.20 and Proposition 1.1.31 the symmetric elements of 𝑆¯⁠ are 𝑘[𝜎¯2,𝜎¯3]⁠ and the alternating ones are Δ¯ 𝑘[𝜎¯2,𝜎¯3]⁠, where Δ¯2=−4𝜎¯23−27𝜎¯32⁠ by Example 1.1.34 with 𝜎1=0⁠. The invariants of the twisted action are spanned by the even-degree monomials 𝜎¯2𝑎𝜎¯32𝑏⁠ and the odd-degree elements Δ¯ 𝜎¯2𝑎𝜎¯32𝑏⁠, and since 𝜎¯32∈𝑘[𝜎¯2,Δ¯]⁠ they form the ring 𝑘[𝜎¯2,Δ¯]⁠. Its two generators are algebraically independent: 𝜎¯3⁠ is transcendental over 𝑘(𝜎¯2)⁠, hence so are 𝜎¯32⁠, Δ¯2⁠ and Δ¯⁠.

By Theorem 5.5.10, 𝑘[𝑉4]𝑆𝐿2⁠ is a polynomial ring on one generator of degree 2⁠ and one of degree 3⁠, and its components of degrees 2⁠ and 3⁠ are one-dimensional. The invariants 𝐼⁠ and 𝐽⁠ of Theorem 5.2.8 are nonzero elements of those degrees, so they are the generators up to scalars, and 𝑘[𝑉4]𝑆𝐿2=𝑘[𝐼,𝐽]⁠: Theorem 5.2.8 (1). As in [DK15, Example 4.4.9], under Ψ⁠, 𝐼⁠ is a multiple of 𝐴2+𝐵2+𝐶2⁠, the average of [1 2]2[3 4]2⁠, and 𝐽⁠ a multiple of Δ¯⁠, the average of [1 2]2[3 4]2[1 3][2 4]⁠.

5.6Gordan’s finiteness theorem∗⁠

Finite generation of the invariants and covariants of binary forms was proved by Gordan in 1868 [Gor68], twenty-two years before Hilbert and by a method that produces the generators. This section gives the statement, a proof in the language of Section 5.5 that reuses two results of Part I, and the history needed to compare Gordan’s theorem with Hilbert’s of 1890. It is not scheduled; nothing later depends on it.

Theorem 5.6.1 (Gordan’s finiteness theorem). For every 𝑑⁠ the ring of covariants of binary forms of degree 𝑑⁠, 𝑘[𝑉𝑑⊕𝑘2]𝑆𝐿2⁠, is generated by finitely many covariants. The same holds for the joint covariants of finitely many binary forms.

Proof. By Theorem 5.5.10 (3) the ring of covariants is isomorphic to the ring 𝐵𝑆𝑑⁠ of symmetric regular bracket polynomials in the brackets [𝑖 𝑗]⁠, 1≤𝑖<𝑗≤𝑑⁠, and [𝑖 𝐱]⁠, 1≤𝑖≤𝑑⁠, where 𝐵⁠ denotes the span of the regular bracket monomials. A bracket monomial with exponent vector 𝑒=(𝑒𝑖𝑗,𝑒𝑖𝐱)∈ℕ𝑁⁠, 𝑁=(𝑑2)+𝑑⁠, is regular when the 𝑑⁠ numbers deg𝑖(𝑒)≔∑𝑗≠𝑖𝑒𝑖𝑗+𝑒𝑖𝐱⁠ agree, that is when 𝑒⁠ satisfies the 𝑑−1⁠ homogeneous linear equations deg𝑖(𝑒)−deg1(𝑒)=0⁠ with integer coefficients. The regular exponent vectors therefore form a monoid ℳ︀={𝑒:𝐴𝑒=0}⁠ of the kind studied in Section 1.5, and by Gordan’s lemma Theorem 1.5.4 it has a finite Hilbert basis ℋ︀⁠: every regular exponent vector is a sum of elements of ℋ︀⁠. Hence every regular bracket monomial is a product of the finitely many bracket monomials 𝑀ℎ⁠, ℎ∈ℋ︀⁠, and 𝐵=𝑘[𝑀ℎ:ℎ∈ℋ︀]⁠ is a finitely generated algebra. The brackets are not algebraically independent, Equation 5.9, so 𝐵⁠ is a quotient 𝑘[𝑦ℎ:ℎ∈ℋ︀]/𝐼⁠ of a polynomial ring in |ℋ︀|⁠ variables.

𝑆𝑑⁠ acts on 𝐵⁠ by permuting the letters 1,…,𝑑⁠ and fixing 𝐱⁠. This preserves regularity and maps each 𝑀ℎ⁠ to ±𝑀ℎ′⁠ for some ℎ′∈ℋ︀⁠, so it lifts to an action of 𝑆𝑑⁠ on 𝑘[𝑦ℎ:ℎ∈ℋ︀]⁠ by signed permutation matrices, with 𝐼⁠ stable. For such an action the invariants of the quotient are the images of the invariants: if 𝑝¯∈𝐵⁠ is invariant, then 𝑝¯=ℛ︀(𝑝)¯⁠ with ℛ︀⁠ the Reynolds operator of 𝑆𝑑⁠ on 𝑘[𝑦]⁠, because ℛ︀⁠ preserves 𝐼⁠ and induces the averaging operator on 𝐵⁠. By Noether’s theorem Theorem 2.1.10, 𝑘[𝑦]𝑆𝑑⁠ is generated by the ℛ︀(𝑦𝑒)⁠ with |𝑒|≤𝑑!⁠. So 𝐵𝑆𝑑⁠, and with it the ring of covariants, is generated by the images of these finitely many elements. For several forms, regularity is imposed form by form, and the symmetry group is a product of symmetric groups; the argument is the same.□⁠

The proof is Sturmfels’ [Stu08, Theorem 3.7.1], and it is constructive at every step: the Hilbert basis ℋ︀⁠ is a finite computation, as Section 1.5 explains, and Kempe’s lemma [Stu08, Theorem 3.7.3] says what it looks like, namely that 𝐵⁠ is already generated by the regular bracket monomials of degree 1⁠ and 2⁠; the Noether bound 𝑑!⁠ and the Reynolds operator are those of Section 2.1; and the translation back from brackets to coefficients is Theorem 5.5.10. The generating set it produces is very large, and reducing it to a minimal one requires further computation.

Gordan’s own proof is different and older than the symbolic method in the form of Theorem 5.5.10. He showed that every covariant is a linear combination of iterated transvectants ((𝑓,𝑓)𝑟1,𝑓)𝑟2,…⁠ of the form with itself, and that a terminating procedure, working through the possible orders of the transvectants, produces a finite list from which all others are obtained as polynomials; Grace and Young’s book is the classical account [GY03], Kung and Rota’s survey the modern one [KR84]. With it Gordan computed complete systems of covariants for the quintic and the sextic, 23⁠ and 26⁠ covariants respectively, and Gordan and his students did the same for several ternary forms. In practice the method is limited to small cases: the search is finite, but its size grows quickly with 𝑑⁠, and for 𝑛≥3⁠ no general procedure of this kind was ever completed.

Hilbert’s theorem of 1890 should be seen against this background. Theorem 4.3.1, and its Ω⁠-version Theorem 5.4.1, give no list of generators, no degree bound and no bound on their number. They only show that finitely many invariants generate the Hilbert ideal, by a basis theorem whose proof is not constructive. In exchange the theorem holds for every 𝑛⁠, every degree and every finite collection of forms, and, as chapter 4 shows, for every linearly reductive group. Hilbert’s two invariant theory papers also contain the first proofs of the basis theorem, the syzygy theorem and the Nullstellensatz. Gordan’s remark that Hilbert’s proof was theology, quoted in Section 4.3, refers to its lack of a construction. By 1893 Hilbert had reduced the construction of generators to a degree bound through the nullcone, which is Section 6.1, and in 1899 Gordan published a proof of Hilbert’s theorem himself; for this history see [DK15, Introduction].

The covariants of the cubic

For the cubic, the generators are the four covariants of Theorem 5.2.7, and by [Stu08, Proposition 3.7.7] the relation found there is the only one: the ring of covariants is

𝑘[𝑉3⊕𝑘2]𝑆𝐿2=𝑘[𝑓,𝐻,𝑇,𝐷]≅𝑘[𝑦1,𝑦2,𝑦3,𝑦4]/⟨𝑦32+4𝑦23+27𝑦4𝑦12⟩.

Sturmfels proves it from the proof above by listing the four bracket monomials that generate 𝐵⁠ for 𝑑=3⁠ and reducing the Reynolds images of all their products of degree at most 6⁠ to the four covariants by computer algebra; in [Stu08, Example 4.2.10] the bigraded Hilbert series of 𝑘[𝑓,𝐻,𝑇,𝐷]⁠ then confirms by Theorem 5.5.3 that nothing is missing.

OSCAR computes the ring directly as the invariant ring of 𝑉3⊕𝑘2⁠, by Derksen’s algorithm. We obtain the block for 𝑘2⁠ from OSCAR’s representation on forms of degree 1⁠, which acts on the coefficients of a linear form: the variables 𝑥,𝑦⁠ transform by the inverse transpose of its matrix, which on 𝑆𝐿2⁠ is the adjugate transpose. With this choice the form itself comes out as the first generator. In OSCAR’s binomial coordinates the generators are 𝑓⁠, −𝐻/9⁠, 𝐷/27⁠ and 𝑇/27⁠ up to sign, and the relation is −1/729⁠ times that of Theorem 5.2.7.

julia> M3 = representation_matrix(representation_on_forms(G, 3));

julia> M1 = representation_matrix(representation_on_forms(G, 1));

julia> Z = base_ring(M3);

julia> N = matrix(Z, 2, 2, [M1[2,2] -M1[2,1]; -M1[1,2] M1[1,1]]);

julia> S6, (a0, a1, a2, a3, x, y) =
           graded_polynomial_ring(QQ, [:a0, :a1, :a2, :a3, :x, :y]);

julia> rep = representation_reductive_group(G, block_diagonal_matrix([M3, N]));

julia> IRC = invariant_ring(S6, rep);

julia> fi = fundamental_invariants(IRC); length(fi)
4

julia> fi[1]
a0*x^3 + 3*a1*x^2*y + 3*a2*x*y^2 + a3*y^3

julia> fi[2]
-a0*a2*x^2 - a0*a3*x*y + a1^2*x^2 + a1*a2*x*y - a1*a3*y^2 + a2^2*y^2

julia> fi[3]
-a0^2*a3^2 + 6*a0*a1*a2*a3 - 4*a0*a2^3 - 4*a1^3*a3 + 3*a1^2*a2^2

julia> jac = derivative(fi[1], x)*derivative(fi[2], y) -
             derivative(fi[1], y)*derivative(fi[2], x);

julia> divexact(jac, fi[4])
3

julia> QC, _ = affine_algebra(IRC); modulus(QC)
Ideal generated by
  -t[1]^2*t[3] + 4*t[2]^3 - t[4]^2

The fourth generator is the Jacobian of the first two, up to the constant printed, as it must be: by Theorem 5.5.3 the covariants of degree 3⁠ and order 3⁠ form a one-dimensional space.

6Computing invariants of reductive groups

Unverified draft. This chapter has not yet been checked by the lecturer. Expect errors, from the English to the mathematics; see the preface.

Chapter 4 proved that 𝑘[𝑉]𝐺⁠ is finitely generated for every linearly reductive group 𝐺⁠, and Chapter 5 computed it for binary forms of degree at most 4⁠, by methods special to 𝑆𝐿2⁠. Neither gave a procedure that takes 𝐺⁠ and 𝑉⁠ as input and returns generators of 𝑘[𝑉]𝐺⁠ after finitely many steps. This chapter gives two such algorithms. Hilbert’s algorithm, from 1893, follows Proposition 4.4.8: compute the nullcone, find invariants whose common zero set is the nullcone, and compute generators of 𝑘[𝑉]𝐺⁠ as a module over the algebra they generate. Derksen’s algorithm, from 1999, replaces the first two steps by one elimination and the third by the Reynolds operator. OSCAR implements it, and we prove its correctness in full. Section 6.3 discusses what the two algorithms cost: bounds for the degrees of generators, and the complexity of the Gröbner basis computations. The convention of Chapter 4 stays in force: 𝑘⁠ is algebraically closed of characteristic 0⁠, 𝐺⁠ is linearly reductive, 𝑉=𝑘𝑛⁠ is a rational representation with 𝑘[𝑉]=𝑘[𝑥1,…,𝑥𝑛]=𝑘[𝐱]⁠, and the examples are 𝑆𝐿𝑛⁠ and tori.

6.1Hilbert’s algorithm

As noted at the end of Section 5.4, applying the Reynolds operator to the monomials degree by degree produces every invariant, but gives no criterion for when to stop. Hilbert’s second paper [Hil93] obtains such a criterion from the nullcone. This section states his procedure as an algorithm, in the form of [Stu08, sec. 4.6], and proves that it terminates.

Three stages

Recall Proposition 4.4.8: if homogeneous invariants 𝑓1,…,𝑓𝑚⁠ of positive degree satisfy 𝑉(𝑓1,…,𝑓𝑚)=𝒩︀⁠, then 𝑘[𝑉]𝐺⁠ is a finitely generated module over 𝑘[𝑓1,…,𝑓𝑚]⁠, and if moreover 𝑚=dim𝑘[𝑉]𝐺⁠, then 𝑓1,…,𝑓𝑚⁠ is an hsop. The notions of Definition 3.2.10 carry over to linearly reductive groups, with 𝑛⁠ replaced by the Krull dimension of the invariant ring.

Definition 6.1.1 (Primary and secondary invariants of a reductive group). Let 𝑟≔dim𝑘[𝑉]𝐺⁠. An hsop 𝜃1,…,𝜃𝑟⁠ of 𝑘[𝑉]𝐺⁠ is a system of primary invariants; we write 𝑘[𝜃]≔𝑘[𝜃1,…,𝜃𝑟]⁠ and 𝑑𝑖≔deg𝜃𝑖⁠. By Theorem 4.3.3, 𝑘[𝑉]𝐺⁠ is a free 𝑘[𝜃]⁠-module. A homogeneous basis 𝜂1,…,𝜂𝑠⁠ of this module with 𝜂1=1⁠, which exists as in Definition 3.2.10, is a system of secondary invariants with respect to 𝜃⁠, and we write 𝑒𝑗≔deg𝜂𝑗⁠. As in Equation 3.1, the decomposition

𝑘[𝑉]𝐺=⨁𝑗=1𝑠𝜂𝑗 𝑘[𝜃]

is called a Hironaka decomposition.

Example 6.1.2 (Primary and secondary invariants of a torus). Let 𝑇=𝑘×⁠ act on 𝑘3⁠ with weights 1,1,−2⁠ as in Example 1.5.6, so that 𝑘[𝑉]𝑇=𝑘[𝑣,𝑢,𝑤]⁠ with 𝑣=𝑥12𝑥3⁠, 𝑢=𝑥1𝑥2𝑥3⁠ and 𝑤=𝑥22𝑥3⁠.

  1. (1)𝑣,𝑤⁠ are primary invariants, and 1,𝑢⁠ are secondary invariants: 𝑘[𝑉]𝑇=𝑘[𝑣,𝑤]⊕𝑢 𝑘[𝑣,𝑤]⁠. Indeed, an invariant monomial 𝑥1𝑎𝑥2𝑏𝑥3𝑐⁠ has 𝑎+𝑏=2𝑐⁠, so 𝑎⁠ and 𝑏⁠ have the same parity. If both are even, the monomial is 𝑣𝑎/2𝑤𝑏/2⁠; if both are odd, it is 𝑢𝑣(𝑎−1)/2𝑤(𝑏−1)/2⁠. Distinct pairs of exponents give distinct monomials, so 𝑣,𝑤⁠ are algebraically independent and 1,𝑢⁠ is a basis of 𝑘[𝑉]𝑇⁠ over 𝑘[𝑣,𝑤]⁠. Here 𝑟=2⁠, 𝑑1=𝑑2=3⁠, 𝑠=2⁠ and 𝑒2=3⁠.

  2. (2)𝑣,𝑢⁠ are two homogeneous invariants of positive degree, as many as an hsop has, but they are not primary invariants. Both vanish at the point (0,1,1)⁠, where 𝑤⁠ takes the value 1⁠. So this point lies in 𝑉(𝑣,𝑢)⁠ but not in 𝒩︀⁠, and 𝑣,𝑢⁠ is not an hsop by Proposition 4.4.8 (2).

Primary and secondary invariants together generate 𝑘[𝑉]𝐺⁠ as a 𝑘⁠-algebra. Hilbert’s algorithm finds them in three stages:

  1. (1)the nullcone 𝒩︀⁠, as the zero set of explicit polynomials;

  2. (2)primary invariants: homogeneous invariants whose common zero set is 𝒩︀⁠, from which an hsop is formed;

  3. (3)secondary invariants: a basis of 𝑘[𝑉]𝐺⁠ over 𝑘[𝜃]⁠, found degree by degree up to a bound.

For a finite group, 𝒩︀={0}⁠, so stage 1 is empty, and stages 2 and 3 are those of Section 3.3. For a linearly reductive group each stage needs a tool that the finite case did not. We treat stages 2 and 3 first, since they are close to the finite case, and stage 1 last.

Stage 2: from the nullcone to primary invariants

Proposition 6.1.3 (Primary invariants from equations of the nullcone). Let 𝑓1,…,𝑓𝑚∈𝑘[𝑉]𝐺⁠ be homogeneous of degrees 𝑑1,…,𝑑𝑚≥1⁠ with 𝑉(𝑓1,…,𝑓𝑚)=𝒩︀⁠, let 𝑟≔dim𝑘[𝑉]𝐺⁠ and 𝑒≔lcm(𝑑1,…,𝑑𝑚)⁠. Then 𝑚≥𝑟⁠, and 𝑘[𝑉]𝐺⁠ has primary invariants 𝜃1,…,𝜃𝑟⁠, all of degree 𝑒⁠, that are 𝑘⁠-linear combinations of 𝑓1𝑒/𝑑1,…,𝑓𝑚𝑒/𝑑𝑚⁠. If 𝑚=𝑟⁠, then 𝑓1,…,𝑓𝑟⁠ themselves are primary invariants.
Proof. The last claim is Proposition 4.4.8 (1). In general the powers 𝑓𝑖𝑒/𝑑𝑖⁠ have the same common zero set as the 𝑓𝑖⁠, so by Proposition 4.4.8 (1) 𝑘[𝑉]𝐺⁠ is a finitely generated module over 𝑅′≔𝑘[𝑓1𝑒/𝑑1,…,𝑓𝑚𝑒/𝑑𝑚]⁠, a graded algebra generated by 𝑚⁠ elements of degree 𝑒⁠. By Remark 3.1.4 (1) and (2), 𝑟=dim𝑘[𝑉]𝐺=dim𝑅′≤𝑚⁠. By Theorem 3.1.16, 𝑅′⁠ has an hsop 𝜃1,…,𝜃𝑟⁠ of linear combinations of its generators, and 𝑘[𝑉]𝐺⁠ is finitely generated over 𝑘[𝜃]⁠ because it is finitely generated over 𝑅′⁠ and 𝑅′⁠ over 𝑘[𝜃]⁠. As the 𝜃𝑖⁠ are algebraically independent, they form an hsop of 𝑘[𝑉]𝐺⁠.□⁠

The proof of Theorem 3.1.16 shows that the coefficient vectors that fail to give an hsop lie in the zero set of a nonzero polynomial, so random coefficients work with high probability, as in Algorithm 3.3.2. The disadvantage is the degree: every 𝜃𝑖⁠ has degree 𝑒⁠, the least common multiple of the 𝑑𝑖⁠. Section 6.3 shows that this is where Popov’s bound (Theorem 6.3.3 below) loses most.

Stage 3: the degree bound

Theorem 6.1.4 (Secondary invariants of a reductive group). Let 𝜃1,…,𝜃𝑟⁠ be primary invariants of 𝑘[𝑉]𝐺⁠ of degrees 𝑑1,…,𝑑𝑟⁠, let 𝐼≔⟨𝜃1,…,𝜃𝑟⟩⊴𝑘[𝑉]⁠, and let 𝜂1,…,𝜂𝑠⁠ be secondary invariants with respect to 𝜃⁠, of degrees 𝑒1=0,𝑒2,…,𝑒𝑠⁠.

  1. (1)𝐻(𝑘[𝑉]𝐺,𝑡)∏𝑖=1𝑟(1−𝑡𝑑𝑖)=𝑡𝑒1+𝑡𝑒2+⋯+𝑡𝑒𝑠⁠. So 𝑠⁠ and the 𝑒𝑗⁠ are determined by the 𝑑𝑖⁠ and the Hilbert series.

  2. (2)𝐼∩𝑘[𝑉]𝐺=⟨𝜃⟩𝑘[𝑉]𝐺⁠, the ideal of 𝑘[𝑉]𝐺⁠ generated by the 𝜃𝑖⁠. Homogeneous invariants are secondary invariants with respect to 𝜃⁠ if and only if their residues modulo 𝐼⁠ form a basis of the image of 𝑘[𝑉]𝐺⁠ in 𝑘[𝑉]/𝐼⁠.

  3. (3)If 𝐺⁠ is finite, then 𝑒𝑗≤∑𝑖(𝑑𝑖−1)⁠ for all 𝑗⁠. If 𝐺⁠ is connected and semisimple (a class of groups containing 𝑆𝐿𝑞⁠ that we do not define), then 𝑒𝑗≤∑𝑖𝑑𝑖−𝑟⁠ for all 𝑗⁠.

Proof.
  1. (1)𝑘[𝑉]𝐺⁠ is free over 𝑘[𝜃]⁠ with basis 𝜂1,…,𝜂𝑠⁠, so the formula after Definition 3.2.1 applies, with 𝐻(𝑘[𝜃],𝑡)=∏𝑖(1−𝑡𝑑𝑖)−1⁠ by Lemma 2.2.6 (1).

  2. (2)If 𝑓=∑𝑖𝑐𝑖𝜃𝑖∈𝑘[𝑉]𝐺⁠ with 𝑐𝑖∈𝑘[𝑉]⁠, then 𝑓=ℛ︀(𝑓)=∑𝑖ℛ︀(𝑐𝑖) 𝜃𝑖⁠ by Theorem 4.2.7 (2), with ℛ︀(𝑐𝑖)∈𝑘[𝑉]𝐺⁠. So 𝐼∩𝑘[𝑉]𝐺=⟨𝜃⟩𝑘[𝑉]𝐺⁠, and 𝑘[𝑉]𝐺/⟨𝜃⟩𝑘[𝑉]𝐺⁠ embeds into 𝑘[𝑉]/𝐼⁠. By Lemma 3.2.3, homogeneous elements of the free module 𝑘[𝑉]𝐺⁠ form a basis if and only if their residues form a basis of 𝑘[𝑉]𝐺/⟨𝜃⟩𝑘[𝑉]𝐺⁠.

  3. (3)For finite 𝐺⁠ this is Theorem 3.2.12 (3), whose proof used only Molien’s formula. For connected semisimple 𝐺⁠ in characteristic 0⁠, Knop [Kno89] proved that the degree of 𝐻(𝑘[𝑉]𝐺,𝑡)⁠ as a rational function, the degree of the numerator minus that of the denominator, is at most −𝑟⁠; we do not prove this, see [DK15, Theorem 2.7.2]. By (1) the numerator ∑𝑗𝑡𝑒𝑗⁠ then has degree at most ∑𝑖𝑑𝑖−𝑟⁠.□⁠

Part (2) is Proposition 3.2.13, with the same proof; part (3) for 𝑆𝐿𝑛⁠ is [DK15, Corollary 2.7.3]. The theorem turns stage 3 into a finite computation.

Remark 6.1.5 (Computing secondary invariants).
  1. (1)Given the Hilbert series as a rational function, part (1) gives the degrees 𝑒𝑗⁠. In each such degree 𝑒⁠, the invariants ℛ︀(𝐱𝑎)⁠ with |𝑎|=𝑒⁠ span 𝑘[𝑉]𝑒𝐺⁠ by Theorem 4.2.7 (3). By Theorem 1.3.14, 𝑓≡𝑓′mod𝐼⁠ if and only if 𝑓⁠ and 𝑓′⁠ have the same normal form modulo a Gröbner basis of 𝐼⁠. So by part (2) the secondary invariants of degree 𝑒⁠ are found by linear algebra on normal forms.

  2. (2)The Hilbert series can be computed for the groups of these notes. For 𝑆𝐿2⁠ on binary forms it is the constant term of Corollary 5.2.29. For a torus 𝑇=(𝑘×)𝑞⁠ acting with weights 𝑎1,…,𝑎𝑛∈ℤ𝑞⁠ as in Definition 1.5.1, the same proof without the factor 1−𝑧2⁠ gives

    𝐻(𝑘[𝑉]𝑇,𝑡)=CT𝑧∏𝑗=1𝑛11−𝑧𝑎𝑗 𝑡,

    where 𝑧𝑎𝑗≔𝑧1𝑎1𝑗⋯𝑧𝑞𝑎𝑞𝑗⁠ is a Laurent monomial in new variables 𝑧1,…,𝑧𝑞⁠ and CT𝑧⁠ takes the coefficient of 𝑧0⁠ in each coefficient of the expansion in 𝑡⁠; it counts the invariant monomials of Proposition 1.5.2 by degree. For a connected reductive group in general (reductive, a notion weaker than linearly reductive that agrees with it in characteristic 0⁠), Weyl’s integration formula [DK15, sec. 4.6.3] gives a similar constant term. Each of these constant terms can be computed in closed form by partial fractions.

  3. (3)Without the Hilbert series, part (3) still bounds the search for connected semisimple 𝐺⁠: no secondary invariant has degree above ∑𝑖𝑑𝑖−𝑟⁠.

Stage 1: equations for the nullcone

The nullcone is the zero set of the Hilbert ideal 𝔥⁠ of Definition 2.3.1, and 𝔥⁠ is generated by the invariants we want to compute; so Definition 4.4.1 gives no way to compute 𝒩︀⁠. The Hilbert–Mumford criterion Theorem 4.4.14 gives one: for 𝐺=𝑆𝐿𝑞⁠ or 𝐺𝐿𝑞⁠ and the diagonal torus 𝑇≤𝐺⁠, we have 𝒩︀=𝐺⋅𝒩︀𝑇⁠, where 𝒩︀𝑇⁠ is the nullcone of 𝑇⁠, and Proposition 4.4.7 describes 𝒩︀𝑇⁠ by the weights alone. Equations for 𝐺⋅𝒩︀𝑇⁠ are then obtained by an elimination. For this we need the geometric meaning of elimination, and three facts from Commutative Algebra.

Recall from Remark 4.1.1 the radical 𝐼⁠, the ideal 𝐼(𝑌)⁠ of a set, and the Nullstellensatz.

Lemma 6.1.6 (Elimination is projection). Split the variables into two blocks 𝐮⁠ and 𝐯⁠ as in Definition 1.4.2, let 𝐼⊴𝑘[𝐮,𝐯]⁠ be an ideal, and let 𝜋⁠ be the projection (𝑢,𝑣)↦𝑣⁠ that forgets the 𝐮⁠-coordinates. Then 𝑉(𝐼∩𝑘[𝐯])⁠ is the Zariski closure of 𝜋(𝑉(𝐼))⁠.
Proof. Put 𝑌≔𝜋(𝑉(𝐼))⁠. An 𝑓∈𝐼∩𝑘[𝐯]⁠ vanishes on 𝑉(𝐼)⁠ and does not involve 𝐮⁠, so it vanishes on 𝑌⁠, that is, 𝑓∈𝐼(𝑌)⁠. Hence 𝑌¯=𝑉(𝐼(𝑌))⊆𝑉(𝐼∩𝑘[𝐯])⁠ by Remark 4.1.1 (2). Conversely let 𝑓∈𝐼(𝑌)⁠, so 𝑓∈𝑘[𝐯]⁠ vanishes on 𝑌⁠. As an element of 𝑘[𝐮,𝐯]⁠, 𝑓⁠ vanishes on 𝑉(𝐼)⁠, so 𝑓𝑚∈𝐼⁠ for some 𝑚≥1⁠ by Remark 4.1.1 (3), and then 𝑓𝑚∈𝐼∩𝑘[𝐯]⁠. So 𝑓⁠ vanishes on 𝑉(𝐼∩𝑘[𝐯])⁠. As this holds for every 𝑓∈𝐼(𝑌)⁠, we get 𝑉(𝐼∩𝑘[𝐯])⊆𝑉(𝐼(𝑌))=𝑌¯⁠.□⁠
Example 6.1.7 (The image of a projection need not be closed). Let 𝐼=⟨𝑢𝑣−1⟩⊴𝑘[𝑢,𝑣]⁠. Then 𝑉(𝐼)⁠ is the hyperbola 𝑢𝑣=1⁠, and its projection to the 𝑣⁠-axis is 𝑘×⁠, which is not closed: a polynomial in 𝑣⁠ that vanishes on 𝑘×⁠ has infinitely many zeros, so it is 0⁠, and the closure of 𝑘×⁠ is 𝑘⁠. By the lemma, 𝑉(𝐼∩𝑘[𝑣])=𝑘⁠, so 𝐼∩𝑘[𝑣]=0⁠. The hyperbola is the group 𝑘×⁠ in the form we use below.

To eliminate, we need 𝐺⁠ as a closed subset of an affine space, and the representation as a matrix of polynomials. Section 4.1 identified 𝐺𝐿𝑞⁠ with a closed subset of 𝑘𝑞2+1⁠ by 𝑔↦(𝑔,det(𝑔)−1)⁠; so every linear algebraic group 𝐺≤𝐺𝐿𝑞⁠ is a closed subset of 𝑘𝑞2+1⁠, and by Definition 4.1.8 the matrix entries of a rational representation are polynomials in the coordinates of 𝑘𝑞2+1⁠. We fix this set-up for the rest of the chapter.

Definition 6.1.8 (Coordinates for the group and the representation). We identify 𝐺⁠ with a closed subset of some 𝑘𝑙⁠, with coordinates 𝐳=(𝑧1,…,𝑧𝑙)⁠ and vanishing ideal 𝐼(𝐺)⊴𝑘[𝐳]⁠, such that the action on 𝑉=𝑘𝑛⁠ is given by a matrix of polynomials 𝜌(𝐳)=(𝜌𝑖𝑗(𝐳))𝑖,𝑗∈𝑘[𝐳]𝑛×𝑛⁠: 𝑔⋅𝑣=𝜌(𝑔)𝑣⁠ for all 𝑔∈𝐺⁠ and 𝑣∈𝑉⁠.
Example 6.1.9 (Coordinates for 𝑆𝐿𝑞⁠ and for tori).
  1. (1)For 𝑆𝐿𝑞⁠ the coordinate det(𝑔)−1⁠ is 1⁠, so we take 𝑙=𝑞2⁠ and coordinates 𝑧𝑖𝑗⁠. Then 𝐼(𝑆𝐿𝑞)=⟨det(𝐳)−1⟩⁠: the polynomial det(𝐳)−1⁠ is irreducible, hence prime in the factorial ring 𝑘[𝐳]⁠ by [Gat13, Proposition and Definition 8.1, Remark 8.6], so the ideal it generates is radical, and Remark 4.1.1 (3) applies. For 𝑞=2⁠, irreducibility holds because a product of two polynomials of degree 1⁠ has a quadratic part of rank at most 2⁠, while 𝑧11𝑧22−𝑧12𝑧21⁠ has rank 4⁠. The natural representation of 𝑆𝐿2⁠ on 𝑘2⁠ has 𝜌(𝐳)=(𝑧𝑖𝑗)𝑖,𝑗⁠.

  2. (2)The torus 𝑘×⁠ is the hyperbola {(𝑧1,𝑧2):𝑧1𝑧2=1}⁠ of Example 6.1.7, with 𝑡=𝑧1⁠ and 𝑡−1=𝑧2⁠. As 𝑧1𝑧2−1⁠ is irreducible, 𝐼(𝑘×)=⟨𝑧1𝑧2−1⟩⁠ by the same argument. The action of Example 1.5.6, 𝑡⋅(𝑣1,𝑣2,𝑣3)=(𝑡𝑣1,𝑡𝑣2,𝑡−2𝑣3)⁠, has 𝜌(𝐳)=diag(𝑧1,𝑧1,𝑧22)⁠. Likewise the torus (𝑘×)𝑞⁠ is the closed set 𝑧1⋯𝑧𝑞+1=1⁠ in 𝑘𝑞+1⁠, and 𝑧𝑞+1=(𝑧1⋯𝑧𝑞)−1⁠ turns every Laurent monomial in 𝑧1,…,𝑧𝑞⁠ into a polynomial.

Proposition 6.1.10 (Equations for the nullcone). Let 𝐺=𝑆𝐿𝑞⁠ or 𝐺𝐿𝑞⁠, with 𝐳⁠, 𝐼(𝐺)⁠ and 𝜌⁠ as in Definition 6.1.8. Identify the diagonal torus 𝑇≤𝐺⁠ with (𝑘×)𝑞⁠ if 𝐺=𝐺𝐿𝑞⁠, and with (𝑘×)𝑞−1⁠ by (𝑡1,…,𝑡𝑞−1)↦diag(𝑡1,…,𝑡𝑞−1,(𝑡1⋯𝑡𝑞−1)−1)⁠ if 𝐺=𝑆𝐿𝑞⁠. Choose the coordinates of 𝑉=𝑘𝑛⁠ such that 𝑇⁠ acts diagonally with weights 𝑎1,…,𝑎𝑛⁠, as Proposition 4.2.11 allows. Let ℋ︀⁠ be the Hilbert basis of {𝑢∈ℕ𝑛:∑𝑗𝑢𝑗𝑎𝑗=0}⁠, so that 𝑘[𝑉]𝑇=𝑘[𝐱ℎ:ℎ∈ℋ︀]⁠ by Theorem 1.5.4. With new variables 𝐰=(𝑤1,…,𝑤𝑛)⁠ let

𝐽≔𝐼(𝐺) 𝑘[𝐳,𝐰,𝐱]+⟨𝐰ℎ:ℎ∈ℋ︀⟩+⟨𝑥𝑖−∑𝑗=1𝑛𝜌𝑖𝑗(𝐳) 𝑤𝑗:1≤𝑖≤𝑛⟩⊴𝑘[𝐳,𝐰,𝐱].

Then 𝒩︀=𝑉(𝐽∩𝑘[𝐱])⁠, and 𝐽∩𝑘[𝐱]⁠ is computed by Theorem 1.4.4.

Proof. By Proposition 1.5.2, 𝑘[𝑉]+𝑇⁠ is spanned by the monomials 𝐱𝑢⁠ with 𝑢≠0⁠ in the monoid, and by Theorem 1.5.4 each of them is divisible by some 𝐱ℎ⁠, ℎ∈ℋ︀⁠. So 𝒩︀𝑇=𝑉(𝑘[𝑉]+𝑇)=𝑉(𝐱ℎ:ℎ∈ℋ︀)⁠. As 𝐺⁠ is closed, 𝑉(𝐼(𝐺))=𝐺⁠, and hence 𝑉(𝐽)={(𝑔,𝑤,𝑔⋅𝑤):𝑔∈𝐺, 𝑤∈𝒩︀𝑇}⁠. The image of 𝑉(𝐽)⁠ under the projection to the 𝐱⁠-coordinates is 𝐺⋅𝒩︀𝑇=𝒩︀⁠ by Theorem 4.4.14. As 𝒩︀⁠ is closed, Lemma 6.1.6 gives 𝒩︀=𝑉(𝐽∩𝑘[𝐱])⁠.□⁠

By Proposition 4.4.7, 𝒩︀𝑇⁠ is the union of the coordinate subspaces {𝑣:𝑣𝑗=0 for 𝑗∉𝑆}⁠ over the index sets 𝑆⁠ for which 0⁠ is not in the convex hull of {𝑎𝑗:𝑗∈𝑆}⁠. Sturmfels calls 𝒩︀𝑇⁠ the canonical cone, and Proposition 6.1.10 is his Algorithm 4.6.4 [Stu08, sec. 4.6]. The generators of 𝐽∩𝑘[𝐱]⁠ need not be invariants; they are equations for 𝒩︀⁠, which is all that stage 2 needs. The proposition holds for every linearly reductive 𝐺⁠, with a maximal torus in place of the diagonal matrices (for 𝐺𝐿𝑞⁠ and 𝑆𝐿𝑞⁠: the diagonal matrices), since the criterion [DK15, Theorem 2.5.3] does. For a torus 𝐺=𝑇⁠ it is not needed, as then 𝒩︀=𝒩︀𝑇⁠ is given by the weights.

Example 6.1.11 (Equations for the nullcone of binary quadratics). Let 𝑆𝐿2⁠ act on 𝑉2⁠ as in Definition 4.1.11, with coordinates 𝑎0,𝑎1,𝑎2⁠ in the role of 𝑥1,𝑥2,𝑥3⁠. By Example 4.4.16 the torus 𝑇={diag(𝑠,𝑠−1)}≅𝑘×⁠ acts with weights −2,0,2⁠, so 𝑎0𝑢0𝑎1𝑢1𝑎2𝑢2⁠ is 𝑇⁠-invariant if and only if 𝑢0=𝑢2⁠. Hence ℋ︀={(1,0,1),(0,1,0)}⁠ and 𝒩︀𝑇=𝑉(𝑎0𝑎2,𝑎1)⁠, the multiples of 𝑥2⁠ and of 𝑦2⁠. The matrix of 𝑓↦𝑓∘𝑔−1⁠ in the basis 𝑥2,𝑥𝑦,𝑦2⁠, computed with 𝑔−1=(𝑧22−𝑧12−𝑧21𝑧11)⁠, is

𝜌(𝐳)=(𝑧222−𝑧21𝑧22𝑧212−2𝑧12𝑧22𝑧11𝑧22+𝑧12𝑧21−2𝑧11𝑧21𝑧122−𝑧11𝑧12𝑧112),

and the ideal of Proposition 6.1.10 is

𝐽=⟨𝑧11𝑧22−𝑧12𝑧21−1, 𝑤0𝑤2, 𝑤1⟩+⟨𝑎𝑖−∑𝑗𝜌𝑖𝑗(𝐳) 𝑤𝑗:0≤𝑖≤2⟩,

with rows and columns of 𝜌⁠ indexed by 0,1,2⁠. Eliminating 𝐳⁠ and 𝐰⁠ in OSCAR gives 𝐽∩𝑘[𝑎0,𝑎1,𝑎2]=⟨𝑎12−4𝑎0𝑎2⟩=⟨𝐷⟩⁠. So 𝒩︀=𝑉(𝐷)⁠, the squares of linear forms, in accordance with Example 4.4.16.

The algorithm

Step 1 of the algorithm below tests membership in a radical, as Algorithm 3.3.2 did. The test is the following lemma.

Lemma 6.1.12 (Radical membership). Let 𝑄⊆𝑘[𝐱]⁠ be finite, 𝑓∈𝑘[𝐱]⁠, and 𝑦⁠ a new variable. Then 𝑓∈⟨𝑄⟩⁠ if and only if 1∈⟨𝑄,1−𝑦𝑓⟩⊴𝑘[𝐱,𝑦]⁠.

Proof. If 𝑓𝑚=∑𝑞∈𝑄𝑐𝑞𝑞⁠ with 𝑐𝑞∈𝑘[𝐱]⁠, then

1=𝑦𝑚𝑓𝑚+(1−𝑦𝑚𝑓𝑚)=∑𝑞∈𝑄𝑦𝑚𝑐𝑞𝑞+(1−𝑦𝑓)(1+𝑦𝑓+⋯+(𝑦𝑓)𝑚−1).

Conversely, let 1=∑𝑞∈𝑄𝑐𝑞(𝐱,𝑦)𝑞+𝑐(𝐱,𝑦)(1−𝑦𝑓)⁠ with 𝑐𝑞,𝑐∈𝑘[𝐱,𝑦]⁠, and let 𝑓≠0⁠; for 𝑓=0⁠ there is nothing to show. Substituting 𝑦=1/𝑓⁠ in the field of fractions of 𝑘[𝐱]⁠ gives 1=∑𝑞𝑐𝑞(𝐱,1/𝑓)𝑞⁠. Let 𝑚≥1⁠ be at least the largest degree in 𝑦⁠ of the 𝑐𝑞⁠. Multiplying by 𝑓𝑚⁠ gives 𝑓𝑚=∑𝑞𝑓𝑚𝑐𝑞(𝐱,1/𝑓)𝑞⁠, and the coefficients 𝑓𝑚𝑐𝑞(𝐱,1/𝑓)⁠ lie in 𝑘[𝐱]⁠. So 𝑓∈⟨𝑄⟩⁠.□⁠

So radical membership reduces to ideal membership, which a Gröbner basis decides by Theorem 1.3.14. The lemma holds over every field; the Nullstellensatz is needed only to pass from zero sets to radicals.

Algorithm 6.1.13 (Hilbert’s algorithm). Input: a linearly reductive group 𝐺⁠ acting on 𝑉=𝑘𝑛⁠, given so that the Reynolds operator can be evaluated (for 𝑆𝐿𝑛⁠ by Theorem 5.3.7, for tori by Corollary 4.2.12); polynomials 𝑔1,…,𝑔𝑝∈𝑘[𝑉]⁠ with 𝑉(𝑔1,…,𝑔𝑝)=𝒩︀⁠ (for 𝑆𝐿𝑛⁠ from Proposition 6.1.10); and the Hilbert series 𝐻(𝑘[𝑉]𝐺,𝑡)⁠, or in its place 𝑟=dim𝑘[𝑉]𝐺⁠ and a bound 𝐸⁠ on the degrees of the secondary invariants.

Output: primary invariants 𝜃1,…,𝜃𝑟⁠ and secondary invariants 𝜂1,…,𝜂𝑠⁠ of 𝑘[𝑉]𝐺⁠.

  1. 𝑄≔∅⁠, 𝑑≔0⁠; if the Hilbert series is given, 𝑟≔⁠ the order of its pole at 𝑡=1⁠.
  2. Repeat: 𝑑≔𝑑+1⁠; compute a basis of 𝑘[𝑉]𝑑𝐺⁠ from the invariants ℛ︀(𝐱𝑎)⁠, |𝑎|=𝑑⁠, which span it by Theorem 4.2.7 (3); run through this basis and adjoin to 𝑄⁠ every element that does not lie in ⟨𝑄⟩⁠. Stop when 𝑔𝑖∈⟨𝑄⟩⁠ for 𝑖=1,…,𝑝⁠. Both tests use Lemma 6.1.12.
  3. Form primary invariants 𝜃1,…,𝜃𝑟⁠ from 𝑄⁠ as in Proposition 6.1.3, with 𝑑𝑖≔deg𝜃𝑖⁠.
  4. Compute a Gröbner basis 𝒢︀⁠ of 𝐼=⟨𝜃1,…,𝜃𝑟⟩⊴𝑘[𝑉]⁠, and 𝐸≔⁠ the degree of 𝐻(𝑘[𝑉]𝐺,𝑡)∏𝑖(1−𝑡𝑑𝑖)⁠ if the Hilbert series is given.
  5. 𝑆≔{1}⁠. For 𝑒=1,…,𝐸⁠: run through a basis of 𝑘[𝑉]𝑒𝐺⁠ and adjoin to 𝑆⁠ each element whose normal form modulo 𝒢︀⁠ is linearly independent of the normal forms of the elements of 𝑆⁠ of degree 𝑒⁠ adjoined so far.
  6. Return 𝜃1,…,𝜃𝑟⁠ and 𝑆⁠.
Theorem 6.1.14 (Correctness of Hilbert’s algorithm). Algorithm 6.1.13 terminates, and its output is a Hironaka decomposition of 𝑘[𝑉]𝐺⁠; in particular 𝜃1,…,𝜃𝑟⁠ together with 𝑆⁠ generate 𝑘[𝑉]𝐺⁠ as a 𝑘⁠-algebra. Step 1 stops in degree 𝛽(𝑘[𝑉]𝐺)⁠ at the latest, where 𝛽(𝑘[𝑉]𝐺)⁠ is the Noether number of Definition 2.1.8, the largest degree of a minimal generator, finite by Theorem 4.3.1; we write it with the ring, since it depends on 𝑉⁠ and not only on 𝐺⁠.

Proof. Step 1 stops. After the pass through degree 𝑑⁠, the radical of ⟨𝑄⟩⁠ contains a basis of 𝑘[𝑉]𝑒𝐺⁠ for every 1≤𝑒≤𝑑⁠, hence 𝑘[𝑉]𝑒𝐺⁠ itself, as a radical is an ideal. Since 𝑉(𝑄)=𝑉(⟨𝑄⟩)⁠, this gives 𝑉(𝑄)⊆𝑉(⨁1≤𝑒≤𝑑𝑘[𝑉]𝑒𝐺)⁠. Also 𝑉(𝑄)⊇𝒩︀⁠, since 𝑄⁠ consists of invariants of positive degree. By Theorem 4.3.1, homogeneous generators of 𝑘[𝑉]𝐺⁠ of degree at most 𝛽(𝑘[𝑉]𝐺)⁠ generate the Hilbert ideal 𝔥⁠, so for 𝑑≥𝛽(𝑘[𝑉]𝐺)⁠ the right hand side is 𝑉(𝔥)=𝒩︀⁠, and 𝑉(𝑄)=𝒩︀⁠. Then each 𝑔𝑖⁠ vanishes on 𝑉(𝑄)⁠, so 𝑔𝑖∈⟨𝑄⟩⁠ by Remark 4.1.1 (3), and the loop stops.

Step 2. When the loop stops, 𝑔𝑖∈⟨𝑄⟩⁠ for all 𝑖⁠, so 𝒩︀⊆𝑉(𝑄)⊆𝑉(𝑔1,…,𝑔𝑝)=𝒩︀⁠. So 𝑄⁠ satisfies the hypothesis of Proposition 6.1.3, and 𝑟⁠ is dim𝑘[𝑉]𝐺⁠ by Corollary 4.3.2 (2) if it was read off the Hilbert series.

Steps 3 to 5. By Theorem 6.1.4 (2), the elements of 𝑆⁠ of degree 𝑒⁠ have residues forming a basis of the image of 𝑘[𝑉]𝑒𝐺⁠ in 𝑘[𝑉]/𝐼⁠, which is the degree-𝑒⁠ part of 𝑘[𝑉]𝐺/⟨𝜃⟩𝑘[𝑉]𝐺⁠. By part (1) of the same theorem that quotient vanishes in degrees above 𝐸⁠, so all its degrees are visited, and 𝑆⁠ lifts a basis of the whole quotient. By Lemma 3.2.3, 𝑆⁠ is a basis of the free module 𝑘[𝑉]𝐺⁠ over 𝑘[𝜃]⁠: a Hironaka decomposition.□⁠

Remark 6.1.15 (Hilbert’s algorithm in 1893). Sturmfels [Stu08, sec. 4.6] traces all three stages of Algorithm 6.1.13 to Hilbert’s paper: the criterion Theorem 4.4.14 for stage 1, an a priori bound for the degrees needed in stage 2, and for stage 3 the statement that for 𝐺=𝑆𝐿𝑛⁠ the invariant ring is the integral closure [Gat13, Definition 9.1 (b), Corollary and Definition 9.9 (a)] of 𝑘[𝜃1,…,𝜃𝑟]⁠ in the field 𝑘(𝑉)⁠ of rational functions on 𝑉⁠. In 1893 none of these stages could be carried out in practice. The elimination of Proposition 6.1.10 needs Gröbner bases; elimination then meant resultants. The bound for stage 2, stated in Section 6.3, is too large for a search by many orders of magnitude. A practical algorithm for computing integral closures appeared only in the 1990s, and the degree bound of Theorem 6.1.4 (3), which replaces it, needs Theorem 4.3.3 and Knop’s theorem, from 1974 and 1989. Once eliminations had become routine, Derksen observed that a single elimination replaces stages 1 and 2 and makes the degree bound of stage 3 unnecessary; this is Section 6.2.

Comparison with the finite case

Section 3.3 runs stages 2 and 3 for a finite group. The table lists the differences.

finite 𝐺⁠, Section 3.3linearly reductive 𝐺⁠
stage 1𝒩︀={0}⁠Proposition 6.1.10, via Theorem 4.4.14
stage 2 stops when𝑘[𝑉]/⟨𝑄⟩⁠ is finite-dimensional, Proposition 3.3.1𝑔1,…,𝑔𝑝∈⟨𝑄⟩⁠
stage 2 ends in degree|𝐺|⁠ at the latest, by Proposition 2.3.5𝛽(𝑘[𝑉]𝐺)⁠ at the latest, Theorem 6.1.14
Hilbert seriesMolien, Theorem 2.2.11constant term, Corollary 5.2.29
secondary degrees≤∑𝑖(𝑑𝑖−1)⁠≤∑𝑖𝑑𝑖−𝑟⁠ for 𝑆𝐿𝑛⁠
candidates in degree 𝑒⁠ℛ︀(𝑚)⁠, 𝑚⁠ a standard monomiala basis of 𝑘[𝑉]𝑒𝐺⁠

The last row is forced: for 𝑟<𝑛⁠ the ring 𝑘[𝑉]⁠ is not a finite module over 𝑘[𝜃]⁠, so the standard monomials modulo 𝐼⁠ no longer span it, and the proof of Proposition 3.3.7 does not apply. The zero-dimensionality test of the second row fails for the same reason.

Example 6.1.16 (The torus of Example 1.5.6, by Hilbert’s algorithm). Let 𝑇=𝑘×⁠ act on 𝑘3⁠ with weights 1,1,−2⁠. The Hilbert series is the count of the monomials 𝑥1𝑢1𝑥2𝑢2𝑥3𝑢3⁠ with 𝑢1+𝑢2=2𝑢3⁠: for 𝑢3=𝑗⁠ there are 2𝑗+1⁠ of them, of degree 3𝑗⁠, so

𝐻(𝑘[𝑉]𝑇,𝑡)=∑𝑗≥0(2𝑗+1) 𝑡3𝑗=1+𝑡3(1−𝑡3)2,

with a pole of order 𝑟=2⁠ at 𝑡=1⁠.

Stage 1. By Proposition 4.4.7, a point of 𝑘3⁠ lies in 𝒩︀⁠ exactly when some 𝑚∈ℤ⁠ has 𝑚𝑎𝑗>0⁠ for all 𝑗⁠ in its support: 𝑚=1⁠ works for supports inside {1,2}⁠ and 𝑚=−1⁠ for the support {3}⁠, while no 𝑚⁠ works for a support containing 3⁠ and one of 1,2⁠. So 𝒩︀={𝑣3=0}∪{𝑣1=𝑣2=0}=𝑉(𝑥1𝑥3,𝑥2𝑥3)⁠, and 𝑔1=𝑥1𝑥3⁠, 𝑔2=𝑥2𝑥3⁠.

Stage 2. There are no invariants of degree 1⁠ or 2⁠. In degree 3⁠ the basis is 𝑥12𝑥3⁠, 𝑥1𝑥2𝑥3⁠, 𝑥22𝑥3⁠. The first is adjoined; the second lies in ⟨𝑥12𝑥3⟩=⟨𝑥1𝑥3⟩⁠ and is skipped; the third is adjoined. Now ⟨𝑄⟩=⟨𝑥1𝑥3,𝑥2𝑥3⟩∋𝑔1,𝑔2⁠, and the loop stops with 𝑄={𝑥12𝑥3,𝑥22𝑥3}⁠. As |𝑄|=2=𝑟⁠, 𝜃1=𝑥12𝑥3⁠ and 𝜃2=𝑥22𝑥3⁠ are primary invariants, by Proposition 6.1.3.

Stage 3. 𝐻(𝑘[𝑉]𝑇,𝑡)(1−𝑡3)2=1+𝑡3⁠: one secondary invariant besides 1⁠, of degree 3⁠. The Gröbner basis of 𝐼=⟨𝑥12𝑥3,𝑥22𝑥3⟩⁠ is its two monomials; the normal forms of the degree-3⁠ basis are 0⁠, 𝑥1𝑥2𝑥3⁠, 0⁠. So 𝜂2=𝑥1𝑥2𝑥3⁠ and

𝑘[𝑉]𝑇=𝑘[𝑥12𝑥3,𝑥22𝑥3]⊕𝑥1𝑥2𝑥3 𝑘[𝑥12𝑥3,𝑥22𝑥3],

the Hironaka decomposition of Example 6.1.2.

For the binary quadratics each stage takes one step. The Cayley–Sylvester count gives 𝐻(𝑘[𝑉2]𝑆𝐿2,𝑡)=1/(1−𝑡2)⁠, so 𝑟=1⁠, and there are no invariants of odd degree. Stage 1 gives 𝑔1=𝐷⁠ by Example 6.1.11. In stage 2, degree 1⁠ contributes nothing, and in degree 2⁠ the invariant ℛ︀(𝑎12)=13𝐷⁠ of Example 5.3.8 is adjoined; then 𝑔1∈⟨𝑄⟩⁠, and the loop stops with 𝜃1=13𝐷⁠. In stage 3, 𝐻(𝑘[𝑉2]𝑆𝐿2,𝑡)(1−𝑡2)=1⁠, so 𝜂1=1⁠ is the only secondary invariant, and 𝑘[𝑉2]𝑆𝐿2=𝑘[𝐷]⁠. This is a third proof of Proposition 4.3.6; it rests on Theorem 4.4.14, which Chapter 4 cited without proof, and on Theorem 5.2.27.

6.2Derksen’s algorithm

Hilbert’s algorithm needs three inputs besides the Reynolds operator: equations of the nullcone, the Hilbert series or a degree bound, and the dimension 𝑟⁠. Derksen’s algorithm [Der99, DK15, sec. 4.1] needs none of them. It computes the ideal of the graph of the action by one elimination, sets the second set of variables to zero, and applies the Reynolds operator to the generators; the result generates 𝑘[𝑉]𝐺⁠. This section proves this theorem, states the algorithm, runs it on the binary quadratics by hand and on three examples in OSCAR, which implements it, and compares it with Hilbert’s algorithm.

The graph of the action

We use the coordinates 𝐳⁠ on 𝐺⊆𝑘𝑙⁠, the ideal 𝐼(𝐺)⊴𝑘[𝐳]⁠ and the matrix 𝜌(𝐳)⁠ of Definition 6.1.8. Let 𝐲=(𝑦1,…,𝑦𝑛)⁠ be a second set of coordinates on 𝑉⁠, so that 𝑘[𝑉×𝑉]=𝑘[𝐱,𝐲]⁠, with 𝐱⁠ the coordinates of the first factor.

Definition 6.2.1 (The graph of the action and its ideal). The graph of the action of 𝐺⁠ on 𝑉⁠ is the set of pairs of points in one orbit,

Γ≔{(𝑣,𝑔⋅𝑣):𝑔∈𝐺, 𝑣∈𝑉}⊆𝑉×𝑉,

and its vanishing ideal 𝔟≔𝐼(Γ)⊴𝑘[𝐱,𝐲]⁠ is the graph ideal of the action.

The literature also calls 𝔟⁠ the Derksen ideal. Γ⁠ is the image of the map 𝐺×𝑉→𝑉×𝑉⁠, (𝑔,𝑣)↦(𝑣,𝑔⋅𝑣)⁠, and need not be closed.

Example 6.2.2 (Graph ideals).
  1. (1)Let 𝐺={±1}⁠ act on 𝑉=𝑘⁠ by multiplication, and let 𝑥,𝑦⁠ be the coordinates on 𝑉×𝑉=𝑘2⁠. Then Γ⁠ is the union of the lines 𝑦=𝑥⁠ and 𝑦=−𝑥⁠, so Γ=𝑉(𝑦2−𝑥2)⁠. The ideal ⟨𝑦2−𝑥2⟩⁠ is radical: 𝑦−𝑥⁠ and 𝑦+𝑥⁠ are non-associate prime elements of the factorial ring 𝑘[𝑥,𝑦]⁠, so if a power of 𝑓⁠ is divisible by 𝑦2−𝑥2=(𝑦−𝑥)(𝑦+𝑥)⁠, then both factors divide 𝑓⁠, and so does their product. Hence 𝔟=⟨𝑦2−𝑥2⟩⁠ by Remark 4.1.1 (3).

  2. (2)Let 𝐺=𝑘×⁠ act on 𝑉=𝑘⁠ by multiplication, as in Example 1.2.11. Then Γ={(0,0)}∪{(𝑣,𝑤):𝑣≠0, 𝑤≠0}⁠. It does not contain (0,1)⁠, so it is not closed. A polynomial vanishing on Γ⁠ vanishes on the complement of the two axes, hence on all of 𝑘2⁠, so 𝔟=0⁠ and Γ¯=𝑘2⁠.

  3. (3)For the binary quadratics, (0,𝑦2)∉Γ⁠, but (𝑠2𝑦2,𝑦2)=(𝑠2𝑦2,diag(𝑠−1,𝑠)⋅𝑠2𝑦2)⁠ lies in Γ⁠ for every 𝑠≠0⁠, so again Γ⁠ is not closed. Example 6.2.9 below computes 𝔟⁠.

The next lemma computes 𝔟⁠ by an elimination.

Lemma 6.2.3 (Computing the graph ideal). Let Γ̃≔{(𝑔,𝑣,𝑔⋅𝑣):𝑔∈𝐺, 𝑣∈𝑉}⊆𝑘𝑙×𝑉×𝑉⁠.

  1. (1)𝐼(Γ̃)=𝐼(𝐺) 𝑘[𝐳,𝐱,𝐲]+⟨𝑦𝑖−∑𝑗𝜌𝑖𝑗(𝐳) 𝑥𝑗:1≤𝑖≤𝑛⟩⁠.

  2. (2)𝔟=𝐼(Γ̃)∩𝑘[𝐱,𝐲]⁠, and 𝑉(𝔟)=Γ¯⁠.

  3. (3)𝔟⁠ is homogeneous, and it is stable under 𝐺⁠ acting on 𝑉×𝑉⁠ through the second factor, ℎ⋅(𝑣,𝑤)≔(𝑣,ℎ⋅𝑤)⁠.

Let 𝒢︀⁠ be a Gröbner basis of the ideal in (1), for an elimination order for 𝐳⁠, computed by Buchberger’s algorithm from the generators given there. Then 𝒢︀∩𝑘[𝐱,𝐲]⁠ is a Gröbner basis of 𝔟⁠ consisting of homogeneous polynomials.

Proof.
  1. (1)Let 𝐽⁠ be the ideal on the right. Its generators vanish on Γ̃⁠, so 𝐽⊆𝐼(Γ̃)⁠. Conversely let 𝑓∈𝐼(Γ̃)⁠. Substituting ∑𝑗𝜌𝑖𝑗(𝐳)𝑥𝑗⁠ for 𝑦𝑖⁠ changes 𝑓⁠ by an element of 𝐽⁠, so 𝑓≡𝑓̃≔𝑓(𝐳,𝐱,𝜌(𝐳)𝐱)⁠ modulo 𝐽⁠, with 𝑓̃∈𝑘[𝐳,𝐱]⁠ vanishing on 𝐺×𝑉⁠. Write 𝑓̃=∑𝛼𝑓̃𝛼(𝐳) 𝐱𝛼⁠. For fixed 𝑔∈𝐺⁠ the polynomial 𝑓̃(𝑔,𝐱)⁠ vanishes on 𝑉=𝑘𝑛⁠, so every coefficient 𝑓̃𝛼(𝑔)⁠ is 0⁠, 𝑘⁠ being infinite. Hence 𝑓̃𝛼∈𝐼(𝐺)⁠ for all 𝛼⁠, and 𝑓∈𝐽⁠.

  2. (2)A polynomial in 𝐱,𝐲⁠ vanishes on Γ⁠ if and only if it vanishes on Γ̃⁠, since it does not depend on the first coordinate; so 𝔟=𝐼(Γ̃)∩𝑘[𝐱,𝐲]⁠. 𝑉(𝐼(Γ))=Γ¯⁠ by Remark 4.1.1 (2).

  3. (3)(𝜆𝑣,𝜆 𝑔⋅𝑣)=(𝜆𝑣,𝑔⋅(𝜆𝑣))⁠ lies in Γ⁠ for every 𝜆∈𝑘⁠, so Γ⁠ is closed under scaling. If 𝑓⁠ vanishes on a set closed under scaling, so does each homogeneous component: 𝑓(𝜆𝑝)=∑𝑑𝜆𝑑𝑓𝑑(𝑝)⁠ is 0⁠ for infinitely many 𝜆⁠. Hence 𝔟⁠ is homogeneous. For ℎ∈𝐺⁠, (ℎ⋅𝑓)(𝑣,𝑤)=𝑓(𝑣,ℎ−1⋅𝑤)⁠ vanishes on Γ⁠ if and only if 𝑓⁠ vanishes on {(𝑣,ℎ−1𝑔⋅𝑣)}=Γ⁠; so 𝔟⁠ is 𝐺⁠-stable.

That 𝒢︀∩𝑘[𝐱,𝐲]⁠ is a Gröbner basis of 𝔟⁠ is Theorem 1.4.4 together with (2). The generators in (1) are homogeneous for the grading deg𝑥𝑗=deg𝑦𝑗=1⁠, deg𝑧𝑖=0⁠. Buchberger’s algorithm, Remark 1.3.16, only forms S-polynomials and reduces them, and both operations turn homogeneous polynomials into homogeneous polynomials, for this grading as for any other. So every element of 𝒢︀⁠, and in particular of 𝒢︀∩𝑘[𝐱,𝐲]⁠, is homogeneous. An arbitrary Gröbner basis need not consist of homogeneous polynomials, since adding any element of the ideal to a Gröbner basis gives another one.□⁠

Derksen’s theorem

Write ⟨𝐲⟩≔⟨𝑦1,…,𝑦𝑛⟩⊴𝑘[𝐱,𝐲]⁠, and recall the Hilbert ideal 𝔥=⟨𝑘[𝑉]+𝐺⟩⊴𝑘[𝐱]⁠ of Definition 2.3.1. For 𝑝∈𝑘[𝑉]=𝑘[𝐱]⁠ we write 𝑝(𝐱)⁠ for 𝑝⁠ itself, regarded as an element of 𝑘[𝐱,𝐲]⁠, and 𝑝(𝐲)∈𝑘[𝐲]⁠ for the polynomial obtained by substituting 𝑦𝑖⁠ for 𝑥𝑖⁠.

Theorem 6.2.4 (Derksen’s theorem). Let ℎ1,…,ℎ𝑚∈𝑘[𝐱,𝐲]⁠ be homogeneous generators of the graph ideal 𝔟⁠, and put 𝑓𝑖≔ℎ𝑖(𝐱,0)∈𝑘[𝑉]⁠.

  1. (1)𝔟+⟨𝐲⟩=𝔥 𝑘[𝐱,𝐲]+⟨𝐲⟩⁠.

  2. (2)𝔥=⟨𝑓1,…,𝑓𝑚⟩⁠; in particular 𝑉(𝑓1,…,𝑓𝑚)=𝒩︀⁠.

  3. (3)𝔥=⟨ℛ︀(𝑓1),…,ℛ︀(𝑓𝑚)⟩⁠ and 𝑘[𝑉]𝐺=𝑘[ℛ︀(𝑓1),…,ℛ︀(𝑓𝑚)]⁠.

Proof.
  1. (1)The inclusion ⊇⁠. Let 𝑓∈𝑘[𝑉]+𝐺⁠ be homogeneous. Then 𝑓(𝐱)=(𝑓(𝐱)−𝑓(𝐲))+𝑓(𝐲)⁠ with 𝑓(𝐲)∈⟨𝐲⟩⁠, and 𝑓(𝐱)−𝑓(𝐲)⁠ vanishes on Γ⁠ because 𝑓(𝑣)−𝑓(𝑔⋅𝑣)=0⁠; so 𝑓∈𝔟+⟨𝐲⟩⁠. Since 𝔥⁠ is generated by such 𝑓⁠, the inclusion follows.

    The inclusion ⊆⁠. It suffices to show 𝔟⊆𝔥 𝑘[𝐱,𝐲]+⟨𝐲⟩⁠. Since 𝑏(𝐱,𝐲)≡𝑏(𝐱,0)⁠ modulo ⟨𝐲⟩⁠, it suffices to show 𝑏(𝐱,0)∈𝔥⁠ for every 𝑏∈𝔟⁠. Put 𝑓≔𝑏(𝐱,0)∈𝑘[𝐱]⁠. Expanding 𝑓(𝐱)−𝑏(𝐱,𝐲)∈⟨𝐲⟩⁠ in the monomials of 𝐲⁠ gives

    𝑓(𝐱)=∑𝑎≠0𝑐𝑎(𝐱) 𝐲𝑎+𝑏(𝐱,𝐲)

    (6.1)

    with 𝑐𝑎∈𝑘[𝐱]⁠, almost all zero, where 𝑎⁠ runs through ℕ𝑛∖{0}⁠.

    Now let 𝐺⁠ act on 𝑉×𝑉⁠ through the second factor. This is a rational representation, the direct sum of the trivial representation on the first factor and 𝑉⁠ on the second, so Theorem 4.2.7 gives a Reynolds operator ℛ︀𝐲:𝑘[𝐱,𝐲]→𝑘[𝐱,𝐲]𝐺⁠. We use three of its properties.

    • It is 𝑘[𝐱]⁠-linear by Theorem 4.2.7 (2), since the elements of 𝑘[𝐱]⁠ are invariant.

    • ℛ︀𝐲(𝑝(𝐲))=ℛ︀(𝑝)(𝐲)⁠ for 𝑝∈𝑘[𝑉]⁠, where ℛ︀⁠ is the Reynolds operator of 𝑉⁠. Indeed, 𝑝↦𝑝(𝐲)⁠ is a 𝐺⁠-equivariant isomorphism from 𝑘[𝑉]⁠ onto the 𝐺⁠-stable subspace 𝑘[𝐲]⁠, and ℛ︀𝐲⁠ maps 𝑘[𝐲]⁠ into 𝑘[𝐲]𝐺⁠ by Theorem 4.2.7 (4). Transported back to 𝑘[𝑉]⁠, ℛ︀𝐲⁠ becomes a linear map 𝑘[𝑉]→𝑘[𝑉]𝐺⁠ that is equivariant and the identity on invariants, so it is ℛ︀⁠ by the uniqueness in Theorem 4.2.7.

    • ℛ︀𝐲(𝔟)⊆𝔟⁠ by Theorem 4.2.7 (4), since 𝔟⁠ is 𝐺⁠-stable by Lemma 6.2.3 (3).

    Applying ℛ︀𝐲⁠ to Equation 6.1, and using that 𝑓(𝐱)⁠ is invariant, gives

    𝑓(𝐱)=∑𝑎≠0𝑐𝑎(𝐱) ℛ︀(𝐱𝑎)(𝐲)+𝑏′(𝐱,𝐲), 𝑏′≔ℛ︀𝐲(𝑏)∈𝔟.

    Finally substitute 𝐱⁠ for 𝐲⁠. The element 𝑏′⁠ of 𝔟⁠ vanishes at (𝑣,𝑣)∈Γ⁠ for every 𝑣∈𝑉⁠, so 𝑏′(𝐱,𝐱)=0⁠, and

    𝑓(𝐱)=∑𝑎≠0𝑐𝑎(𝐱) ℛ︀(𝐱𝑎).

    Each ℛ︀(𝐱𝑎)⁠ is zero or a homogeneous invariant of degree |𝑎|>0⁠, by Theorem 4.2.7 (1); so 𝑓∈𝔥⁠.

  2. (2)Since ℎ𝑖≡𝑓𝑖⁠ modulo ⟨𝐲⟩⁠, 𝔟+⟨𝐲⟩=⟨𝑓1,…,𝑓𝑚⟩𝑘[𝐱,𝐲]+⟨𝐲⟩⁠, and by (1) this equals 𝔥 𝑘[𝐱,𝐲]+⟨𝐲⟩⁠. For an ideal 𝐽⊴𝑘[𝐱]⁠ the substitution 𝐲↦0⁠, a ring homomorphism 𝑘[𝐱,𝐲]→𝑘[𝐱]⁠ that is the identity on 𝑘[𝐱]⁠, maps 𝐽𝑘[𝐱,𝐲]+⟨𝐲⟩⁠ onto 𝐽⁠; applying it to both sides gives ⟨𝑓1,…,𝑓𝑚⟩=𝔥⁠. The zero set of 𝔥⁠ is 𝒩︀⁠ by Definition 4.4.1.

  3. (3)Let 𝔪≔⟨𝑥1,…,𝑥𝑛⟩⁠. The images of 𝑓1,…,𝑓𝑚⁠ span the vector space 𝔥/𝔪𝔥⁠, since the 𝑓𝑖⁠ generate 𝔥⁠ and modulo 𝔪𝔥⁠ only constant coefficients survive. Both 𝔥⁠ and 𝔪𝔥⁠ are 𝐺⁠-stable ideals, so ℛ︀(𝔥)⊆𝔥⁠ and ℛ︀(𝔪𝔥)⊆𝔪𝔥⁠ by Theorem 4.2.7 (4), and ℛ︀⁠ induces a linear map ℛ︀¯⁠ on 𝔥/𝔪𝔥⁠. That quotient is also spanned by the images of homogeneous invariants, since 𝔥⁠ is generated by them, and ℛ︀¯⁠ fixes those; so ℛ︀¯⁠ is the identity. Hence the image of ℛ︀(𝑓𝑖)⁠ equals ℛ︀¯⁠ of the image of 𝑓𝑖⁠, which is the image of 𝑓𝑖⁠, and the ℛ︀(𝑓𝑖)⁠ span 𝔥/𝔪𝔥⁠. By Corollary 3.1.6, applied to the graded 𝑘[𝑉]⁠-module 𝔥⁠ with 𝑘[𝑉]+𝔥=𝔪𝔥⁠, the ℛ︀(𝑓𝑖)⁠ generate 𝔥⁠. They are homogeneous invariants, so 𝑘[𝑉]𝐺=𝑘[ℛ︀(𝑓1),…,ℛ︀(𝑓𝑚)]⁠ by Theorem 4.3.1.□⁠

The proof is that of [DK15, Theorem 4.1.3 and Proposition 4.1.1]. Linear reductivity enters through the Reynolds operators: ℛ︀⁠ in part (3), and ℛ︀𝐲⁠ in part (1), where we need that it is 𝑘[𝐱]⁠-linear and preserves 𝔟⁠, parts (2) and (4) of Theorem 4.2.7.

Remark 6.2.5 (What the theorem says beyond the algorithm).
  1. (a) Part (2) computes the nullcone. Taking zero sets in part (1) gives Γ¯∩(𝑉×{0})=𝒩︀×{0}⁠: a point 𝑤⁠ lies in 𝒩︀⁠ exactly when (𝑤,0)⁠ lies in the closure of Γ⁠. One inclusion also follows from Theorem 4.4.13 (6): if 0∈𝐺⋅𝑤¯⁠, then (𝑤,0)⁠ lies in the closure of {𝑤}×𝐺⋅𝑤⊆Γ⁠. Part (1) says more, namely that the two ideals agree, and this fails without linear reductivity: for the swap of two coordinates in characteristic 2⁠, the group of Remark 2.1.14, the zero sets agree and the ideals do not, as [DK15, Example 4.1.5] shows. Part (2) also gives equations for 𝒩︀⁠ without the criterion Theorem 4.4.14, by one elimination in place of the elimination of Proposition 6.1.10.

  2. (b) Minimal generators. If homogeneous 𝑓1,…,𝑓𝑚⁠ form a minimal set of generators of 𝔥⁠, then ℛ︀(𝑓1),…,ℛ︀(𝑓𝑚)⁠ is a minimal set of generators of 𝑘[𝑉]𝐺⁠. Indeed, with 𝔪=⟨𝑥1,…,𝑥𝑛⟩⁠ as in the proof of part (3), the images of the 𝑓𝑖⁠ form a basis of 𝔥/𝔪𝔥⁠ by Corollary 3.1.6 (2), hence so do those of the ℛ︀(𝑓𝑖)⁠, which are therefore minimal ideal generators; and an algebra generator of positive degree expressible in the others lies in the ideal they generate. The 𝑓𝑖⁠ coming from a Gröbner basis of 𝔟⁠ need not be minimal, some may even be 0⁠, so the redundant ones are discarded first, by ideal membership.

The algorithm

Algorithm 6.2.6 (Derksen’s algorithm). Input: generators of 𝐼(𝐺)⊴𝑘[𝐳]⁠; the matrix 𝜌(𝐳)∈𝑘[𝐳]𝑛×𝑛⁠ of the representation; the Reynolds operator ℛ︀⁠ of 𝐺⁠ on 𝑘[𝑉]⁠.

Output: homogeneous generators of 𝑘[𝑉]𝐺⁠.

  1. (1)Compute, by Buchberger’s algorithm, a Gröbner basis 𝒢︀⁠ of 𝐼(𝐺) 𝑘[𝐳,𝐱,𝐲]+⟨𝑦𝑖−∑𝑗𝜌𝑖𝑗(𝐳) 𝑥𝑗⟩⁠ for an elimination order for 𝐳⁠.

  2. (2){ℎ1,…,ℎ𝑚}≔𝒢︀∩𝑘[𝐱,𝐲]⁠.

  3. (3)𝑓𝑖≔ℎ𝑖(𝐱,0)⁠ for 𝑖=1,…,𝑚⁠. As long as one of the remaining 𝑓𝑖⁠ lies in the ideal generated by the other remaining ones, discard it.

  4. (4)Return ℛ︀(𝑓𝑖)⁠ for the remaining 𝑖⁠.

Proposition 6.2.7 (Correctness). Algorithm 6.2.6 terminates, and it returns a minimal set of homogeneous generators of 𝑘[𝑉]𝐺⁠.
Proof. Step 1 terminates by Remark 1.3.16. By Lemma 6.2.3 the ℎ𝑖⁠ are homogeneous generators of 𝔟⁠, so by Theorem 6.2.4 (2) the 𝑓𝑖⁠ are homogeneous generators of 𝔥⁠. Discarding one that lies in the ideal generated by the others keeps this property, and step 3 ends when no proper subset of the remaining 𝑓𝑖⁠ generates 𝔥⁠, that is, with a minimal generating set. The output is a minimal generating set of 𝑘[𝑉]𝐺⁠ by Remark 6.2.5 (b).□⁠

The Reynolds operator is applied to finitely many polynomials of known degrees. For 𝑆𝐿𝑛⁠ it is the Ω⁠-process of Theorem 5.3.7, and for a torus the projection of Corollary 4.2.12. For a torus, with coordinates as in Example 6.1.9 (2), the input of step 1 consists of binomials, that is, polynomials with at most two terms. S-polynomials and reduction steps turn binomials into binomials, so every element of 𝒢︀⁠ is a binomial. Since 𝔟∩𝑘[𝐱]=0⁠, every ℎ𝑖⁠ has a term involving 𝐲⁠, so every 𝑓𝑖⁠ is a monomial or 0⁠, and ℛ︀⁠ keeps the invariant monomials and maps the others to 0⁠. This is why tori are the easy case for the algorithm; the argument is from [DK15, sec. 4.2].

Remark 6.2.8 (A variant without the Reynolds operator). Only the degrees of the 𝑓𝑖⁠ matter: since ℛ︀(𝑓𝑖)∈𝑘[𝑉]deg𝑓𝑖𝐺⁠, the invariants of these finitely many degrees generate 𝑘[𝑉]𝐺⁠. So step 4 may compute a basis of 𝑘[𝑉]𝑒𝐺⁠ for each degree 𝑒⁠ among the deg𝑓𝑖⁠ by linear algebra instead. A polynomial 𝑓∈𝑘[𝑉]𝑒⁠ is invariant if and only if 𝑓(𝜌(𝐳)𝐱)−𝑓(𝐱)⁠ vanishes on 𝐺×𝑉⁠, that is, lies in 𝐼(𝐺) 𝑘[𝐳,𝐱]⁠ by the argument of Lemma 6.2.3 (1); normal forms modulo a Gröbner basis of 𝐼(𝐺)⁠ turn this into linear equations on the coefficients of 𝑓⁠, as in [DK15, Algorithm 4.5.1]. For 𝑆𝐿2⁠ one can do better still: by Theorem 5.2.23 (3), 𝑓⁠ is invariant exactly when it has weight 0⁠ and 𝐸𝑓=0⁠, two linear conditions that need no Gröbner basis. Example 6.3.10 below shows a case where this matters.

Worked examples

Example 6.2.9 (Binary quadratics). Let 𝑆𝐿2⁠ act on 𝑉2⁠ with coordinates 𝐚=(𝑎0,𝑎1,𝑎2)⁠, in the role of 𝐱⁠, and 𝐷=𝑎12−4𝑎0𝑎2⁠. Let 𝐚′=(𝑎0′,𝑎1′,𝑎2′)⁠ be the second set of coordinates, in the role of 𝐲⁠, so that 𝐷(𝐚′)=𝑎1′2−4𝑎0′𝑎2′⁠, and put ℎ≔𝐷(𝐚)−𝐷(𝐚′)⁠. We claim 𝔟=⟨ℎ⟩⁠.

The polynomial ℎ⁠ is irreducible: it is a quadratic form of rank 6⁠, and a product of two linear forms has rank at most 2⁠. So ⟨ℎ⟩⁠ is a prime ideal by [Gat13, Proposition and Definition 8.1, Remark 8.6], in particular radical, and 𝐼(𝑋)=⟨ℎ⟩⁠ for 𝑋≔𝑉(ℎ)⁠ by Remark 4.1.1 (3). Hence 𝑋⁠ is irreducible [Gat13, Remark 2.7 (b)], that is, not the union of two proper closed subsets. It remains to show Γ¯=𝑋⁠, since then 𝔟=𝐼(Γ)=𝐼(Γ¯)=𝐼(𝑋)=⟨ℎ⟩⁠.

As 𝐷⁠ is invariant, ℎ⁠ vanishes on Γ⁠, so Γ¯⊆𝑋⁠. Conversely, let 𝑍≔𝑋∩𝑉(𝐷(𝐚))⁠, a closed subset of 𝑋⁠. It is a proper subset, since the pair (𝑥𝑦,𝑥𝑦)⁠ lies in 𝑋⁠ and has 𝐷=1⁠. A pair (𝑓,𝑓′)∈𝑋∖𝑍⁠ has 𝐷(𝑓)=𝐷(𝑓′)≠0⁠. By Example 4.4.18 the fibre of 𝐷⁠ over a nonzero value is a single 𝑆𝐿2⁠-orbit, so 𝑓′=𝑔⋅𝑓⁠ for some 𝑔∈𝑆𝐿2⁠, and (𝑓,𝑓′)∈Γ⁠. Hence 𝑋=(𝑋∩Γ¯)∪𝑍⁠, and as 𝑋⁠ is irreducible and 𝑍≠𝑋⁠, we get 𝑋=𝑋∩Γ¯⁠, that is, 𝑋⊆Γ¯⁠.

Now run Algorithm 6.2.6. The single generator ℎ1=ℎ⁠ is homogeneous and gives 𝑓1=ℎ(𝐚,0)=𝐷⁠, which is invariant. So ℛ︀(𝑓1)=𝐷⁠ and 𝑘[𝑉2]𝑆𝐿2=𝑘[𝐷]⁠. This proves Proposition 4.3.6 once more, without computing the nullcone or the Hilbert series; by Theorem 6.2.4 (2) we also get 𝒩︀=𝑉(𝐷)⁠.

In OSCAR, group_ideal returns 𝐼(𝑆𝐿2)⁠, and representation_matrix returns the matrix of 𝑓↦𝑓∘𝑍⁠, with 𝑍=(𝑧𝑖𝑗)⁠, in the binomial coordinates 𝑐0,𝑐1,𝑐2⁠ of 𝑓=𝑐0𝑥2+2𝑐1𝑥𝑦+𝑐2𝑦2⁠. This matrix, called ρ in the transcript, differs from 𝜌(𝑔)⁠, the matrix of 𝑓↦𝑓∘𝑔−1⁠, by the inversion of 𝑆𝐿2⁠, which does not change the set Γ⁠. The entries lie in OSCAR’s own ring of group variables, whose generators are ordered column by column, 𝑧[1,1],𝑧[2,1],𝑧[1,2],𝑧[2,2]⁠; the homomorphism φ maps them into a ring that also contains the coordinates. The elimination ideal has one generator, (𝐷(𝐜)−𝐷(𝐜′))/4⁠, and null_cone_ideal returns its specialisation at 𝐜′=0⁠, which is already invariant.

julia> using Oscar

julia> G = linearly_reductive_group(:SL, 2, QQ);

julia> group_ideal(G)
Ideal generated by
  z[1, 1]*z[2, 2] - z[2, 1]*z[1, 2] - 1

julia> ρ = representation_matrix(representation_on_forms(G, 2))
[      z[1, 1]^2                   2*z[1, 1]*z[2, 1]         z[2, 1]^2]
[z[1, 1]*z[1, 2]   z[1, 1]*z[2, 2] + z[2, 1]*z[1, 2]   z[2, 1]*z[2, 2]]
[      z[1, 2]^2                   2*z[1, 2]*z[2, 2]         z[2, 2]^2]

julia> R, (x1, x2, x3, y1, y2, y3, z11, z12, z21, z22) = polynomial_ring(QQ,
           [:x1, :x2, :x3, :y1, :y2, :y3, :z11, :z12, :z21, :z22]);

julia> Z = base_ring(group_ideal(G)); φ = hom(Z, R, [z11, z21, z12, z22]);

julia> M = map(φ, ρ); x = [x1, x2, x3]; y = [y1, y2, y3];

julia> J = ideal(R, vcat([z11*z22 - z12*z21 - 1], y - M*x));

julia> b = eliminate(J, [z11, z12, z21, z22])
Ideal generated by
  -x1*x3 + x2^2 + y1*y3 - y2^2

julia> S2, (c0, c1, c2) = graded_polynomial_ring(QQ, [:c0, :c1, :c2]);

julia> IR2 = invariant_ring(S2, representation_on_forms(G, 2));

julia> null_cone_ideal(IR2)
Ideal generated by
  -x[1]*x[3] + x[2]^2

julia> f = evaluate(gen(b, 1), [c0, c1, c2, 0, 0, 0, 0, 0, 0, 0])
-c0*c2 + c1^2

julia> reynolds_operator(IR2, f) == f
true

For the torus of Example 1.5.6 we use the coordinates of Example 6.1.9 (2), written 𝑡,𝑠⁠ in place of 𝑧1,𝑧2⁠, so that 𝑇={𝑡𝑠=1}⁠ and 𝜌=diag(𝑡,𝑡,𝑠2)⁠. The graph ideal has four binomial generators. Their specialisations at 𝐲=0⁠ are 0⁠ and the three monomials of the Hilbert basis, which are invariant, so the algorithm returns the generators of Theorem 1.5.4 without computing a Hilbert basis. OSCAR’s fundamental_invariants for a torus, shown in Section 4.3, computes the Hilbert basis instead.

julia> RT, (x1, x2, x3, y1, y2, y3, t, s) = polynomial_ring(QQ,
           [:x1, :x2, :x3, :y1, :y2, :y3, :t, :s]);

julia> JT = ideal(RT, [t*s - 1, y1 - t*x1, y2 - t*x2, y3 - s^2*x3]);

julia> bT = eliminate(JT, [t, s])
Ideal generated by
  -x1*y2 + x2*y1
  x2^2*x3 - y2^2*y3
  x1*x2*x3 - y1*y2*y3
  x1^2*x3 - y1^2*y3

julia> fT = [evaluate(h, [x1, x2, x3, 0, 0, 0, t, s]) for h in gens(bT)];

julia> foreach(println, fT)
0
x2^2*x3
x1*x2*x3
x1^2*x3

For the quartic of Theorem 5.2.8 the Reynolds step changes a generator. The specialised graph ideal has two generators, of degrees 2⁠ and 3⁠. The first is 𝐼/12⁠ in OSCAR’s coordinates; the second is a cubic that is not invariant, and its Reynolds image is 3⁠ times OSCAR’s second fundamental invariant, 𝐽/432⁠. By Theorem 6.2.4 (3) the two Reynolds images generate 𝑘[𝑉4]𝑆𝐿2⁠. The whole computation, elimination included, takes about a second on the author’s machine once the code is compiled. Example 6.3.10 below discusses the quintic.

julia> S4, (c0, c1, c2, c3, c4) =
           graded_polynomial_ring(QQ, [:c0, :c1, :c2, :c3, :c4]);

julia> IR4 = invariant_ring(S4, representation_on_forms(G, 4));

julia> nc4 = null_cone_ideal(IR4); foreach(println, gens(nc4))
x[1]*x[5] - 4*x[2]*x[4] + 3*x[3]^2
4*x[1]*x[3]*x[5] - 3*x[1]*x[4]^2 - 3*x[2]^2*x[5] + 2*x[2]*x[3]*x[4]

julia> cs = vcat([c0, c1, c2, c3, c4], [zero(S4) for _ in 1:9]);

julia> f4 = [evaluate(h, cs) for h in gens(nc4)];

julia> foreach(println, [reynolds_operator(IR4, f) for f in f4])
c0*c4 - 4*c1*c3 + 3*c2^2
3*c0*c2*c4 - 3*c0*c3^2 - 3*c1^2*c4 + 6*c1*c2*c3 - 3*c2^3

julia> foreach(println, fundamental_invariants(IR4))
c0*c4 - 4*c1*c3 + 3*c2^2
c0*c2*c4 - c0*c3^2 - c1^2*c4 + 2*c1*c2*c3 - c2^3

Comparison with Hilbert’s algorithm

Algorithm 6.1.13 needs equations of the nullcone, the dimension 𝑟⁠, and the Hilbert series or a degree bound, and it searches: in stage 2 degree by degree until the equations of the nullcone lie in ⟨𝑄⟩⁠, and in stage 3 degree by degree up to the bound. Algorithm 6.2.6 needs only the group and the representation, and it does not search: the degrees of the generators are the degrees of the 𝑓𝑖⁠, which can be read off the Gröbner basis, and it terminates because Buchberger’s algorithm does. It also computes the nullcone, as the zero set of the 𝑓𝑖⁠, and the Hilbert ideal, by Theorem 6.2.4 (2). The difference is that stage 1 of Hilbert’s algorithm only produces equations of 𝒩︀⁠, from which 𝔥⁠ has to be recovered by a search up to a degree bound, while the graph ideal specialised at 𝐲=0⁠ is 𝔥⁠ itself. This is the content of Theorem 6.2.4 (1), an equality of ideals rather than of zero sets, and the reason why the theorem needs linear reductivity.

On the other hand, Derksen’s algorithm says less about the structure of 𝑘[𝑉]𝐺⁠. Hilbert’s algorithm returns a Hironaka decomposition, and with it the Hilbert series, the dimension and the degrees of an hsop. Derksen’s algorithm returns a minimal generating set; the relations among the generators, the Hilbert series and an hsop must be computed afterwards, by Algorithm 1.4.8 and the methods of Chapter 3. OSCAR’s affine_algebra computes the relations, as in Section 5.2. The cost of the elimination is the subject of the next section.

6.3Degree bounds and complexity

Both algorithms terminate, but neither says in advance when. Hilbert’s algorithm searches up to degrees it does not know beforehand, and Derksen’s runs one Gröbner basis computation whose running time cannot be predicted. This section collects what is known: a priori bounds for the degrees of generators, which turn the searches into loops with explicit limits, and the worst-case cost of the Gröbner basis computation. It ends with the binary quintic of Section 5.2, for which Derksen’s algorithm did not finish in OSCAR, while the quartic took a second.

Two numbers

Recall the Noether number 𝛽(𝑘[𝑉]𝐺)⁠ of Definition 2.1.8, the smallest 𝛽⁠ such that 𝑘[𝑉]𝐺⁠ is generated by invariants of degree at most 𝛽⁠. The definition applies to every linearly reductive 𝐺⁠ acting on 𝑉⁠, and the number is finite by Theorem 4.3.1. Stage 2 of Hilbert’s algorithm is governed by a second number.

Definition 6.3.1 (Nullcone degree). The nullcone degree 𝛾(𝑘[𝑉]𝐺)⁠ is the smallest 𝑑⁠ such that the homogeneous invariants of degree at most 𝑑⁠ have common zero set 𝒩︀⁠; by Proposition 4.4.8, equivalently the smallest 𝑑⁠ such that 𝑘[𝑉]𝐺⁠ is a finitely generated module over the subalgebra generated by the invariants of degree at most 𝑑⁠.
Example 6.3.2 (Nullcone degrees).
  1. (1)For the torus of Example 1.5.6 there are no invariants of degree 1⁠ or 2⁠, and the three invariants of degree 3⁠ have common zero set 𝒩︀⁠ by Example 6.1.16. So 𝛾(𝑘[𝑉]𝑇)=3⁠, and also 𝛽(𝑘[𝑉]𝑇)=3⁠ by Example 1.5.6.

  2. (2)If the invariants of degree at most 𝑑⁠ generate a subalgebra 𝐴⁠ with dim𝐴<dim𝑘[𝑉]𝐺⁠, then 𝑑<𝛾(𝑘[𝑉]𝐺)⁠. Otherwise these invariants would have common zero set 𝒩︀⁠, so 𝑘[𝑉]𝐺⁠ would be a finitely generated 𝐴⁠-module by Proposition 4.4.8 (1), and dim𝐴=dim𝑘[𝑉]𝐺⁠ by Remark 3.1.4 (1).

  3. (3)For the binary quartic, 𝑘[𝑉4]𝑆𝐿2=𝑘[𝐼,𝐽]⁠ has dimension 2⁠ by Theorem 5.2.8 (1), and the invariants of degree at most 2⁠ lie in 𝑘[𝐼]⁠, of dimension 1⁠. So 𝛾(𝑘[𝑉4]𝑆𝐿2)≥3⁠ by (2), and 𝑉(𝐼,𝐽)=𝒩︀⁠ by Theorem 5.2.8 (2). Hence 𝛾(𝑘[𝑉4]𝑆𝐿2)=𝛽(𝑘[𝑉4]𝑆𝐿2)=3⁠.

  4. (4)For the binary quintic, 𝑘[𝑉5]𝑆𝐿2⁠ has minimal generators of degrees 4,8,12,18⁠, and the first three form an hsop (Section 5.2), so the dimension is 3⁠. The invariants of degree at most 11⁠ are polynomials in the generators of degrees 4⁠ and 8⁠, which generate an algebra of dimension at most 2⁠ by Remark 3.1.4 (2). So 𝛾(𝑘[𝑉5]𝑆𝐿2)≥12⁠ by (2). The hsop has common zero set 𝒩︀⁠ by Proposition 4.4.8 (2), so 𝛾(𝑘[𝑉5]𝑆𝐿2)=12<18=𝛽(𝑘[𝑉5]𝑆𝐿2)⁠.

Generators of 𝑘[𝑉]𝐺⁠ have common zero set 𝒩︀⁠, so 𝛾(𝑘[𝑉]𝐺)≤𝛽(𝑘[𝑉]𝐺)⁠. After the pass through degree 𝑑⁠, the set 𝑉(𝑄)⁠ in Algorithm 6.1.13 is the common zero set of all invariants of degree at most 𝑑⁠; so step 1 stops exactly in degree 𝛾(𝑘[𝑉]𝐺)⁠. For a finite group both numbers are at most |𝐺|⁠: 𝛽(𝑘[𝑉]𝐺)≤|𝐺|⁠ is Theorem 2.1.10, and Dade’s primary invariants of Proposition 3.3.4 have degrees dividing |𝐺|⁠, so 𝛾(𝑘[𝑉]𝐺)≤|𝐺|⁠. For the cyclic group of scalar matrices of Proposition 2.1.13 there are no invariants below degree |𝐺|⁠, so 𝛾(𝑘[𝑉]𝐺)=𝛽(𝑘[𝑉]𝐺)=|𝐺|⁠. So for finite groups a single quantity, |𝐺|⁠, bounds both numbers, and the bound is attained.

From the nullcone degree to the Noether number

Theorem 6.3.3 (Popov’s and Derksen’s bounds). Let 𝐺⁠ be connected and semisimple, for instance 𝑆𝐿𝑞⁠, acting on 𝑉=𝑘𝑛⁠, let 𝑟≔dim𝑘[𝑉]𝐺⁠ and 𝛾≔𝛾(𝑘[𝑉]𝐺)⁠.

  1. (1)Let 𝑓1,…,𝑓𝑚∈𝑘[𝑉]𝐺⁠ be homogeneous of degrees 𝑑1,…,𝑑𝑚⁠ with 𝑉(𝑓1,…,𝑓𝑚)=𝒩︀⁠, and 𝑑≔lcm(𝑑1,…,𝑑𝑚)⁠. Then 𝛽(𝑘[𝑉]𝐺)≤max(𝑑, 𝑟(𝑑−1))⁠; in particular

    𝛽(𝑘[𝑉]𝐺)≤𝑛⋅lcm(1,2,…,𝛾).
  2. (2)𝛽(𝑘[𝑉]𝐺)≤max(2, 38 𝑟𝛾2)⁠.

Part (1) is Popov’s bound [Pop81, Pop82], in the form of [DK15, Remark 4.7.3]; part (2) is Derksen’s [Der01, DK15, Theorem 4.7.4]. Part (1) follows from Hilbert’s algorithm: Proposition 6.1.3 turns the 𝑓𝑖⁠ into primary invariants of the common degree 𝑑⁠, and Theorem 6.1.4 (3) bounds the secondary degrees by 𝑟𝑑−𝑟⁠; so the invariants of degree at most max(𝑑,𝑟𝑑−𝑟)⁠ generate, and 𝑑⁠ divides lcm(1,…,𝛾)⁠ if the 𝑓𝑖⁠ are chosen of degree at most 𝛾⁠. The least common multiple makes this bound large: it grows like 𝑒𝛾⁠ by the prime number theorem, and lcm(1,…,16)=720720⁠. Derksen’s proof avoids it. Adding 𝑚−𝑟⁠ trivial summands to 𝑉⁠ leaves the Noether number unchanged and raises the dimension to 𝑚⁠, and on 𝑉⊕𝑘𝑚−𝑟⁠ the 𝑓𝑖⁠ can be deformed into an hsop of the same degrees 𝑑𝑖⁠; Theorem 6.1.4 (3) there gives 𝛽(𝑘[𝑉]𝐺)≤max(𝑑𝑖,∑𝑖𝑑𝑖−𝑚)⁠, and after discarding all but 𝑟⁠ invariants of each degree, which Noether normalisation within one degree allows, ∑𝑖(𝑑𝑖−1)≤𝑟∑𝑖=⌈𝛾/2⌉𝛾(𝑖−1)≤38𝑟𝛾2⁠. Both arguments rest on Knop’s inequality for the degree of the Hilbert series, which is where connectedness and semisimplicity enter; for finite groups the same proofs run with Theorem 3.2.12 (3) in place of it. We do not give the details; see [DK15, sec. 4.7].

Bounding the nullcone degree

The number 𝛾⁠ can be bounded by geometry. For this we need the degree of a closed set.

Definition 6.3.4 (Degree of a closed set). Let 𝑋⊆𝑘𝑁⁠ be a finite union of irreducible closed sets of the same dimension 𝑚⁠, the Krull dimension of their coordinate rings [Gat13, Definition 11.1 (c)]. The degree deg𝑋⁠ is the number of points of 𝑋∩𝐿⁠ for a general affine-linear subspace 𝐿⊆𝑘𝑁⁠ of dimension 𝑁−𝑚⁠. Here general means: for all 𝐿=𝑝+span(𝑞1,…,𝑞𝑁−𝑚)⁠ with (𝑝,𝑞1,…,𝑞𝑁−𝑚)⁠ outside a proper closed subset of 𝑘𝑁(𝑁−𝑚+1)⁠.
Example 6.3.5 (Degrees).
  1. (1)An affine-linear subspace has degree 1⁠.

  2. (2)Let 𝑓∈𝑘[𝑦1,…,𝑦𝑁]⁠ be irreducible of degree 𝑑⁠. Then 𝑋=𝑉(𝑓)⁠ is irreducible of dimension 𝑁−1⁠, and deg𝑋=𝑑⁠: on a general line {𝑝+𝑠𝑞:𝑠∈𝑘}⁠ the polynomial 𝑓(𝑝+𝑠𝑞)⁠ has degree 𝑑⁠ in 𝑠⁠ and 𝑑⁠ distinct roots. For instance 𝑆𝐿𝑞=𝑉(det(𝐳)−1)⁠ has degree 𝑞⁠, by Example 6.1.9 (1).

  3. (3)The twisted cubic 𝑋={(𝑠,𝑠2,𝑠3):𝑠∈𝑘}=𝑉(𝑦2−𝑦12,𝑦3−𝑦13)⊆𝑘3⁠ has dimension 1⁠ and degree 3⁠: a general plane 𝑐0+𝑐1𝑦1+𝑐2𝑦2+𝑐3𝑦3=0⁠ meets it in the points with 𝑐0+𝑐1𝑠+𝑐2𝑠2+𝑐3𝑠3=0⁠, and there are three of them. It is the closure of the orbit of (1,1,1)⁠ under 𝑘×⁠ acting with weights 1,2,3⁠.

The proof of the next proposition uses Bézout’s theorem, which bounds the degree of an intersection of closed sets, and of the closure of the image of a closed set under a polynomial map, in terms of the degrees involved; we use it without proof, in the form of [DK15, sec. 4.7].

Proposition 6.3.6 (The nullcone degree and the degrees of orbits). Let 𝐺⊆𝑘𝑙⁠ and 𝜌(𝐳)⁠ be as in Definition 6.1.8, let 𝑚≔dim𝐺⁠ and 𝐶≔deg𝐺⁠, and let 𝐴⁠ be the largest degree of an entry of 𝜌(𝐳)⁠. Let 𝛿(𝑉)⁠ be the largest degree of an orbit closure 𝐺⋅𝑣¯⁠ with 𝑣∉𝒩︀⁠, and 𝛿gen(𝑉)⁠ the degree of the image 𝜌(𝐺)⊆𝑘𝑛×𝑛⁠. Then

𝛾(𝑘[𝑉]𝐺)≤𝛿(𝑉)≤𝛿gen(𝑉)≤𝐶𝐴𝑚.

This is [DK15, Propositions 4.7.12, 4.7.14 and 4.7.16], due to Popov and improved by Hiss. The first inequality is the one with content: for 𝑣∉𝒩︀⁠ the orbit closure 𝑌≔𝐺⋅𝑣¯⁠ is a hypersurface in the cone 𝑋≔𝐺⋅𝑘𝑣¯⁠, since 0∉𝑌⁠ by Theorem 4.4.13 (6); a general linear projection 𝜋⁠ maps 𝑋⁠ finitely onto a space of dimension dim𝑋⁠ and 𝑌⁠ onto a hypersurface there, given by one equation 𝑔⁠ of degree at most deg𝑌⁠. The polynomial 𝑔∘𝜋⁠ vanishes on 𝑌⁠ but not at 0⁠, and so does its Reynolds image ℎ⁠, by Theorem 4.2.7 (4) applied to the 𝐺⁠-stable ideal 𝐼(𝑌)⁠ and since ℛ︀⁠ preserves degrees and fixes constants. So some homogeneous component of ℎ⁠ of positive degree at most deg𝑌⁠ is an invariant that does not vanish at 𝑣⁠. The other two inequalities follow from Bézout’s theorem. For 𝑆𝐿𝑞⁠ acting on forms of degree 𝑑⁠ in 𝑞⁠ variables, 𝐶=𝑞⁠ by Example 6.3.5 (2), 𝑚=𝑞2−1⁠ and 𝐴=𝑑⁠, hence

𝛾(𝑘[𝑉]𝑆𝐿𝑞)≤𝑞 𝑑 𝑞2−1, 𝛽(𝑘[𝑉]𝑆𝐿𝑞)≤38(𝑞+𝑑−1𝑞−1) 𝑞2 𝑑 2𝑞2−2

by Theorem 6.3.3 (2) with 𝑟≤dim𝑉⁠; for binary forms, 𝛾(𝑘[𝑉𝑑]𝑆𝐿2)≤2𝑑3⁠ and

𝛽(𝑘[𝑉𝑑]𝑆𝐿2)≤32 (𝑑+1) 𝑑6.

These bounds, from [DK15, Example 4.7.17], are polynomial in 𝑑⁠. Hilbert’s own bound, as Sturmfels presents it [Stu08, Theorem 4.7.1] for a representation of 𝐺𝐿𝑞⁠ of dimension 𝑁⁠ by polynomials of degree 𝑑⁠ in the matrix entries, is 𝛾<𝑞2(𝑑𝑞+1)𝑞2⁠, of the same shape, and Popov’s 1981 version of part (1) [Stu08, Theorem 4.7.7] is 𝛽≤𝑁⋅(𝑞2(𝑑𝑞+1)𝑞2)!⁠: for the binary quadratics that is 3⋅2500!⁠, against 288⁠ from Derksen’s bound and 2⁠ from Proposition 4.3.6.

Tori

For a torus the invariants are monomials and the bound is combinatorial.

Theorem 6.3.7 (Wehlau’s bound). Let 𝑇=(𝑘×)𝑞⁠ act faithfully on 𝑉=𝑘𝑛⁠ with weights 𝑎1,…,𝑎𝑛∈ℤ𝑞⁠ as in Definition 1.5.1, and let 𝐶𝑉⊆ℝ𝑞⁠ be the convex hull of the weights. Then

𝛽(𝑘[𝑉]𝑇)≤max(𝑛−𝑞−1, 1)⋅𝑞!⋅vol(𝐶𝑉).

This is [Weh93, DK15, Theorem 4.7.20], one page in Derksen–Kemper, which we do not reproduce. The idea: a generator of 𝑘[𝑉]𝑇⁠ is a Hilbert basis element of the cone of Section 1.5; by Carathéodory’s theorem it lies in the cone spanned by 𝑛−𝑞⁠ extremal rays, a lemma on lattice points in simplices reduces its degree to 𝑛−𝑞−1⁠ times the largest degree of a ray generator, and Cramer’s rule expresses a ray generator through 𝑞×𝑞⁠ minors of the matrix 𝐴⁠ of Definition 1.5.1, which are 𝑞!⁠ times volumes of simplices inside 𝐶𝑉⁠. For the torus of Example 1.5.6, 𝑛=3⁠, 𝑞=1⁠, 𝐶𝑉=[−2,1]⁠ has volume 3⁠, and the bound is 3=𝛽(𝑘[𝑉]𝑇)⁠: sharp in this case.

What the bounds are worth

Remark 6.3.8 (Lower bounds and the gap). The only lower bounds are computed examples. For binary forms the invariant rings are known through degree 10⁠, and with them the exact Noether numbers, which extend the table of Section 5.2:

𝑑⁠2⁠3⁠4⁠5⁠6⁠7⁠8⁠9⁠10⁠
𝛽(𝑘[𝑉𝑑]𝑆𝐿2)⁠2⁠4⁠3⁠18⁠15⁠30⁠10⁠22⁠21⁠
32(𝑑+1)𝑑6⁠288⁠4374⁠30720⁠140625⁠489888⁠1411788⁠3538944⁠7971615⁠16500000⁠

The values for 𝑑=7,…,10⁠ are from [DL88, Shi67, BP10b, BP10a]. The bound exceeds the truth by two orders of magnitude for 𝑑=2⁠ and by six for 𝑑=10⁠, and 𝛽(𝑘[𝑉𝑑]𝑆𝐿2)⁠ is not monotone in 𝑑⁠. Where the loss happens is visible in the proof. The step from 𝛾⁠ to 𝛽⁠ is modest: for 𝑑=10⁠, Brouwer and Popoviciu exhibit an hsop of degrees 2,4,6,6,8,9,10,14⁠, so Theorem 6.1.4 (3) gives 𝛽(𝑘[𝑉10]𝑆𝐿2)≤59−8=51⁠ against the truth 21⁠, and 𝛾(𝑘[𝑉10]𝑆𝐿2)≤14⁠. The loss is in Proposition 6.3.6, which replaces 14⁠ by 2𝑑3=2000⁠: Bézout counts the intersection points of an orbit closure with a linear subspace, and that count is attained only by orbits as curved as the degree of 𝜌⁠ allows, which the orbits that matter are not. Squaring 𝛾⁠ then turns a factor 140⁠ into 20 000⁠. No general lower bound on 𝛽(𝑘[𝑉𝑑]𝑆𝐿2)⁠ growing with 𝑑⁠ is known to the author beyond such tables; for the cyclic groups of Proposition 2.1.13, Noether’s bound is attained exactly.

The cost of the Gröbner basis

Remark 6.3.9 (Worst case and practice). Derksen’s algorithm is one Gröbner basis computation in 𝑙+2𝑛⁠ variables. Besides the generators of 𝐼(𝐺)⁠, its input polynomials have degree at most 1+𝐴⁠, where 𝐴⁠ is the largest degree of an entry of 𝜌(𝐳)⁠. The worst case of such a computation is known. Mayr and Meyer [MM82] showed that ideal membership for polynomial ideals needs, in the worst case, memory exponential in the number 𝑁⁠ of variables, by ideals whose membership certificates have degrees doubly exponential in 𝑁⁠. Möller and Mora [MM84] proved that the degrees of the elements of a Gröbner basis are bounded by a function doubly exponential in 𝑁⁠ and that, by the same examples, this cannot be improved; Dubé’s explicit form [Dub90] of the upper bound is 2(𝐷2/2+𝐷)2𝑁−1⁠ for input of degree at most 𝐷⁠. So the worst case of the elimination in Algorithm 6.2.6 is doubly exponential in the number of variables, and no algorithm for the problem can avoid exponential space. In practice two things help. Buchberger’s algorithm stops as soon as all S-polynomials reduce to zero, and for most inputs that happens in degrees nowhere near the bound; the examples of Mayr and Meyer are built to defeat it. And structure helps: for a torus, as [DK15, sec. 4.2] notes, the graph ideal is generated by binomials, every polynomial that Buchberger’s algorithm produces is a binomial, and the computation is fast for dozens of variables. For 𝑆𝐿2⁠ on the quartic, 𝑙+2𝑛=14⁠ variables, the elimination of Section 6.2 takes a fraction of a second. The next example shows how quickly this changes.

Example 6.3.10 (The quintic). Let 𝑆𝐿2⁠ act on 𝑉5⁠, so 𝑛=6⁠, 𝑙=4⁠, and the elimination runs in 16⁠ variables with input of degree 6⁠. Section 5.2 reported that OSCAR’s fundamental_invariants did not finish in fifteen minutes. The same holds for null_cone_ideal alone, the Gröbner basis of step 1 of Algorithm 6.2.6, which was still running after 55⁠ minutes on the author’s machine with OSCAR 1.8.1. So the elimination is the step that does not finish, while for the quartic it takes a fraction of a second.

If it had finished, the Reynolds step would have been the next obstacle, and its cost can be predicted. By Remark 6.2.5 (b) and Corollary 3.1.6, the minimal generators of 𝔥⁠ have the degrees of the minimal generators of 𝑘[𝑉5]𝑆𝐿2⁠, which are 4,8,12,18⁠ by the table of Section 5.2; so some 𝑓𝑖⁠ has degree 18⁠. For it, Theorem 5.3.7, with 𝑚=18⁠ and 𝑑=5⁠, applies Ω𝑝⁠ with 𝑝=𝑚𝑑/2=45⁠ to Φ𝑓𝑖(𝑣,𝑍)=𝑓𝑖(𝜌(𝑍)𝑣)⁠, a polynomial of degree 90⁠ in the four entries of 𝑍⁠ and degree 18⁠ in the six coefficients of 𝑣⁠: up to (933)=129 766⁠ monomials in 𝑍⁠, each with a coefficient of up to (235)=33 649⁠ terms, before a 45⁠-fold differentiation. For the quartic the corresponding degrees were 12⁠ and 3⁠. The linear algebra of Remark 6.2.8 has no such problem: by Lemma 5.1.9 and Theorem 5.2.23 (3), an invariant of degree 18⁠ is a combination of the 967⁠ isobaric monomials of weight 45⁠ killed by 𝐸⁠, a linear system with 966⁠ equations, whose solution space has dimension 1⁠ by Theorem 5.2.27. So for the quintic the Ω⁠-process is an expensive way to compute the Reynolds step, and the linear algebra of Chapter 5 a cheap one.

6.4Outlook∗⁠

This section is not scheduled, and nothing depends on it. It names four directions in which the assumptions of these notes are dropped or the questions change, with one statement or one example each, and closes with what OSCAR can and cannot do today.

Positive characteristic

Part II assumed characteristic 0⁠ because almost no group is linearly reductive otherwise, Remark 4.2.14, and Part I assumed the non-modular case because the Reynolds operator divides by |𝐺|⁠, Remark 2.1.14. For a finite group in the modular case the invariant ring is still finitely generated, Theorem 2.1.12, but not Cohen–Macaulay in general, Remark 3.2.9, and no bound on 𝛽(𝑘[𝑉]𝐺)⁠ in terms of |𝐺|⁠ alone exists. Symonds’ theorem [Sym11, DK15, Theorems 3.3.6 and 3.3.7] gives 𝛽(𝑘[𝑉]𝐺)≤𝑛(|𝐺|−1)⁠ for 𝑛≥2⁠, and behind it the statement that for any primary invariants 𝜃1,…,𝜃𝑛⁠ the module 𝑘[𝑉]𝐺⁠ is generated over 𝑘[𝜃]⁠ in degrees at most ∑𝑖(𝑑𝑖−1)⁠. That bound is what an algorithm needs. Dade’s construction Proposition 3.3.4 produces primary invariants over any infinite field, the invariants of one degree are the kernel of a linear map as in Remark 2.1.7, with no Reynolds operator involved, and Symonds’ bound says in which degrees module generators must be sought; this is Kemper’s algorithm for the modular case [Kem96, DK15, sec. 3.7.2], the one OSCAR runs over finite fields. For reductive groups that are not linearly reductive, such as 𝑆𝐿𝑛⁠ in characteristic 𝑝⁠, Derksen’s theorem fails as stated, Remark 6.2.5 (a); Kemper [Kem03, DK15, sec. 4.9] repaired the algorithm through separating invariants, defined below, and a purely inseparable closure.

Non-reductive groups

Remark 4.3.4 recorded Nagata’s invariant ring without a finite generating set, and Remark 4.2.14 that 𝐺𝑎⁠ is never linearly reductive. For 𝐺𝑎⁠ itself the invariant ring of a rational representation is finitely generated in characteristic 0⁠, by a theorem of Weitzenböck [Wei32]: the representation extends to one of 𝑆𝐿2⁠, and by [DK15, Remark 2.1.7] 𝑘[𝑉]𝐺𝑎⁠ is isomorphic to the ring of covariants 𝑘[𝑉⊕𝑘2]𝑆𝐿2⁠ of Section 5.1, so Derksen’s algorithm computes it, as the transcript of Section 5.6 did for the cubic. For a general linear algebraic group no algorithm can always terminate, since no finite answer need exist, but the invariant field 𝑘(𝑉)𝐺⁠ is always computable, and so is the localisation (𝑘[𝑉]𝐺)[𝑏−1]⁠ when a suitable nonzero invariant 𝑏⁠ exists, by an extension of the graph ideal of Definition 6.2.1, as in [DK15, sec. 4.10]. For 𝐺𝑎⁠ this is van den Essen’s algorithm [vdE93]: division with remainder in one variable computes 𝑘[𝑉]𝐺𝑎⁠ localised at the leading coefficient 𝑐⁠ of a local slice, a polynomial 𝑠⁠ with 𝑡⋅𝑠=𝑠+𝑡𝑐⁠ for a nonzero invariant 𝑐⁠; and 𝑘[𝑉]𝐺𝑎⁠ itself follows whenever it is finitely generated.

Separating invariants

Definition 6.4.1 (Separating invariants). A set 𝑆⊆𝑘[𝑉]𝐺⁠ is separating if for all 𝑣,𝑤∈𝑉⁠: whenever some 𝑓∈𝑘[𝑉]𝐺⁠ has 𝑓(𝑣)≠𝑓(𝑤)⁠, some 𝑔∈𝑆⁠ has 𝑔(𝑣)≠𝑔(𝑤)⁠.

A generating set is separating. By Theorem 4.4.13 (5), for linearly reductive 𝐺⁠ a separating set tells two points apart exactly when their orbit closures are disjoint, as all invariants together do. Separating sets can be much smaller than generating sets.

Example 6.4.2 (The group of Proposition 2.1.13). Let 𝐺=⟨𝜁𝐼2⟩⁠ act on 𝑘2⁠, with 𝜁⁠ a primitive 𝑚⁠-th root of unity. By Proposition 2.1.13 every generating set of 𝑘[𝑥,𝑦]𝐺⁠ contains 𝑚+1⁠ elements of degree 𝑚⁠, a basis of 𝑘[𝑥,𝑦]𝑚⁠. The three invariants 𝑥𝑚⁠, 𝑥𝑚−1𝑦⁠, 𝑦𝑚⁠ are separating: at a point 𝑣⁠ with 𝑥(𝑣)≠0⁠ every invariant monomial 𝑥𝑚−𝑖𝑦𝑖⁠ takes the value (𝑥𝑚−1𝑦)(𝑣)𝑖/𝑥𝑚(𝑣)𝑖−1⁠, and at a point with 𝑥(𝑣)=0⁠ it takes the value 0⁠ for 𝑖<𝑚⁠ and 𝑦𝑚(𝑣)⁠ for 𝑖=𝑚⁠. So the values of the three determine the values of all invariants. For 𝑚=3⁠ this is [DK15, Example 2.4.2]. For 𝑚≥2⁠, the two invariants 𝑥𝑚⁠ and 𝑦𝑚⁠ alone are not separating: both take the value 1⁠ at (1,1)⁠ and at (1,𝜁)⁠, while 𝑥𝑚−1𝑦⁠ takes the values 1⁠ and 𝜁⁠.
Theorem 6.4.3 (Finite separating sets exist). For every linear algebraic group 𝐺⁠ acting rationally on 𝑉⁠ there is a finite separating set.
Proof. Let 𝔰⊴𝑘[𝐱,𝐲]⁠ be the ideal generated by all 𝑓(𝐱)−𝑓(𝐲)⁠ with 𝑓∈𝑘[𝑉]𝐺⁠. By Hilbert’s basis theorem [Gat13, Proposition 7.13], 𝔰⁠ is generated by finitely many elements, and each of them is a combination of finitely many of the given generators. So 𝔰⁠ is generated by 𝑓𝑖(𝐱)−𝑓𝑖(𝐲)⁠ for finitely many 𝑓1,…,𝑓𝑚∈𝑘[𝑉]𝐺⁠. For 𝑓∈𝑘[𝑉]𝐺⁠ write 𝑓(𝐱)−𝑓(𝐲)=∑𝑖𝑐𝑖(𝐱,𝐲)(𝑓𝑖(𝐱)−𝑓𝑖(𝐲))⁠ and evaluate at (𝑣,𝑤)⁠: if 𝑓𝑖(𝑣)=𝑓𝑖(𝑤)⁠ for all 𝑖⁠, then 𝑓(𝑣)=𝑓(𝑤)⁠. So {𝑓1,…,𝑓𝑚}⁠ is separating.□⁠

This is [DK15, Theorem 2.4.8]. It applies to Nagata’s group, whose invariant ring has no finite generating set, and it gives no way of finding the 𝑓𝑖⁠, since it does not say which invariants generate 𝔰⁠. For linearly reductive 𝐺⁠ in characteristic 0⁠, by [DK15, Theorem 2.4.6], a graded separating subalgebra 𝐴⊆𝑘[𝑉]𝐺⁠ has the same field of fractions as 𝑘[𝑉]𝐺⁠, and 𝑘[𝑉]𝐺⁠ is the normalisation of 𝐴⁠, its integral closure [Gat13, Corollary and Definition 9.9] in this field. This is the kind of integral closure that stage 3 needed in Remark 6.1.15. The algorithm [DK15, Algorithm 4.9.4] for separating sets of reductive groups runs on a variant of the graph ideal; the theory is Kemper’s [Kem09].

Geometric complexity theory

Valiant’s conjecture, the algebraic counterpart of P≠NP⁠, says that the permanent of an 𝑚×𝑚⁠ matrix cannot be written as the determinant of an 𝑛×𝑛⁠ matrix of affine-linear forms with 𝑛⁠ polynomial in 𝑚⁠. Mulmuley and Sohoni proposed to attack it with invariant theory [MS01]: the padded permanent 𝑧𝑛−𝑚perm𝑚⁠ is a form of degree 𝑛⁠ in 𝑛2⁠ variables, and the question becomes whether it lies in the orbit closure 𝐺𝐿𝑛2⋅det𝑛¯⁠, which by Section 4.4 is a question about invariants and, more finely, about the representations occurring in the coordinate rings of the two orbit closures. The simplest form of the programme, obstructions from irreducible representations occurring in one coordinate ring and not the other, has been shown not to work [BIP19]. The question remains a central open problem of complexity theory, stated in the language of Chapter 4, and it is one reason why orbit closures and nullcones are studied today.

OSCAR today

What chapters 1 to 6 computed, and what they could not, in OSCAR 1.8.1 [OSC26]:

Remark 6.4.4 (What OSCAR can and cannot do).

Several of the gaps concern this chapter. Algorithm 6.1.13 for 𝑆𝐿𝑞⁠ could be built from existing functions, with Theorem 6.1.4 (3) in place of the missing Hilbert series, and Remark 6.2.8 would make the Reynolds step for the quintic cheap, if the elimination before it finished.

References

A

affine variety 4.1

algebraically independent 1.1

alternating group 1.1

B

Benson's lemma 2.3

binary form 4.1

bracket 5.5

C

categorical quotient 4.4

Cayley's Ω-process 5.3

Cayley–Sylvester formula 5.2

character 2.4

Chevalley–Shephard–Todd theorem 3.5

closed subset 4.1

closure 4.1

Cohen–Macaulay 3.2

coinvariant algebra 3.5

completeness test 2.3

comultiplication 4.1

conjugate elements 2.2

coordinate ring 4.1

covariant 5.1

cycle type 2.2

D

Dade's construction 3.3

degree

of a covariant 5.1

of a polynomial 1.1

of a variety 6.3

dense 4.1

depth 3.2

derivation 5.2

Derksen's algorithm 6.2

Derksen's bound 6.3

Derksen's theorem 6.2

E

effective proof 5.4

elementary symmetric polynomial 1.1

elimination ideal 1.4

elimination order 1.4

elimination theorem 1.4

equivariant map 4.2

expansion in roots 5.5

F

finiteness theorem for finite groups 2.1

first fundamental theorem for SL₂ 5.5

fixed vector 1.2

formal derivative 1.1

free module 3.2

fundamental theorem of symmetric polynomials 1.1

G

general linear group 1.2

generate a k-algebra 1.1

Gordan's finiteness theorem 5.6

Gordan's lemma 1.5

graded algebra 1.2, 2.2

graded module 3.1

graded subalgebra 2.2

graph ideal 6.2

graph of the action 6.2

group action 1.1

Gröbner basis 1.3

Göbel's bound 2.4

H

Hermite reciprocity 5.2

Hessian 5.1

highest weight vector 5.2

Hilbert basis 1.5

Hilbert ideal 2.3

Hilbert series 2.2

of a graded module 3.1

Hilbert's algorithm 6.1

correctness 6.1

Hilbert's finiteness theorem 4.3

1890 version 5.4

Hilbert–Mumford criterion 4.4

Hironaka decomposition 3.2

Hironaka normal form 3.3

Hochster–Eagon theorem 3.2

Hochster–Roberts theorem 4.3

homogeneous

element 2.2

element of a module 3.1

ideal 2.2

polynomial 1.1

representation 5.3

Homogeneous generators of graded modules 3.1

homogeneous system of parameters 3.1

hsop 3.1

I

ideal of relations 3.4

identity component 4.1

integral element 2.1

invariant 1.2

of a representation 4.2

of binary forms 4.1

of forms 5.1

invariant ring 1.2

irreducible representation 4.1

irreducible secondary invariant 3.3

isobaric polynomial 5.1

J

Jacobian 5.1

joint invariant 5.1

K

k-algebra 1.1

k-algebra homomorphism 1.1

King's algorithm 2.3

correctness 2.3

Krull dimension 3.1

L

leading coefficient 1.1, 1.3

leading ideal 1.3

leading monomial 1.1, 1.3

lexicographic order 1.1

linear algebraic group 4.1

linearly reductive 4.2

M

Maschke's theorem 4.2

modular 2

Molien series 2.2

Molien's theorem 2.2

over conjugacy classes 2.2

monomial 1.1

monomial ideal 1.3

monomial order 1.3

morphism

of linear algebraic groups 4.1

of varieties 4.1

multiplicity of a weight 5.2

N

Nakayama lemma, graded 3.1

Newton's identities 1.1

Noether normalisation 3.1

Noether number 2.1

Noether's degree bound 2.1

non-modular case 2.3

non-crossing matching 5.5

non-modular 2

nonzerodivisor 3.1

normal form 1.3

nullcone 4.4

nullcone degree 6.3

O

occur 1.1

one-parameter subgroup 4.4

open subset 4.1

orbit sum 3.1

order of a covariant 5.1

P

perfect matching 5.5

Plücker relation 5.5

polynomial representation 4.1

Popov's bound 6.3

power sum 1.1

presentation 3.4

primary invariant 3.2, 6.1

pseudo-reflection 3.5

Q

quotient map 4.4

R

radical ideal 4.1

radical of an ideal 4.1

rank of a free module 3.2

rational representation 4.1

reduction modulo a set 1.3

reductive 4.2

reflection group 3.5

regular function 4.1

regular sequence 3.1

relative invariant 5.1

remainder 1.3

Reynolds operator 2.1, 4.2

ring of covariants 5.1

Roberts' theorem 5.5

S

S-polynomial 1.3

SAGBI basis 2.5

secondary invariant 3.2, 6.1

separating invariants 6.4

sign of a permutation 1.1

source of a covariant 5.5

standard monomial 2.3

subrepresentation 4.1

symbolic method

regular polynomial 5.5

symmetric polynomial 5.5

symmetric group 1.1

symmetric polynomial 1.1

syzygy 3.4

T

term 1.1

torus 1.5

transcendence degree 1.1

transvectant 5.2

trivial action 4.2

truncated Gröbner basis 2.3

U

unipotent 4.2

V

Vandermonde determinant 1.1

W

Wehlau's bound 6.3

weight

of a monomial 5.1

of a representation 4.2

weight matrix 4.3

weight space 4.2, 5.2

weight vector 4.2, 5.2

weighted grading 2.2

Weyl's unitarian trick 4.2

Z

Zariski topology 4.1