hilbertIdeal L
This function computes the Hilbert ideal for the action of a linearly reductive group on a (quotient of a) polynomial ring, i.e., the ideal generated by all ring elements of positive degree invariant under the action. The algorithm is based on:
The next example constructs a cyclic group of order 2 as a set of two affine points. Then it introduces an action of this group on a polynomial ring in two variables and computes the Hilbert ideal. The action permutes the variables of the polynomial ring. Note that the generators of the Hilbert ideal need not be invariant.








We offer a slight variation on the previous example to illustrate this method at work on a quotient of a polynomial ring.






The algorithm performs an elimination using Groebner bases. The options DegreeLimit and SubringLimit are standard gb options that can be used to interrupt the computation before it is complete, yielding a partial list of generators for the Hilbert ideal.
The object hilbertIdeal is a method function with options.