Abstract
We investigate the interplay between monomial first integrals, polynomial invariants of certain group action, and the Poincaré–Dulac normal forms for autonomous systems of ordinary differential equations with a diagonal matrix of the linear part. Using tools from computational algebra, we develop an algorithmic approach for identifying generators of the algebras of monomial and polynomial first integrals, which works in the general case where the matrix of the linear part includes algebraic complex eigenvalues. Our method also provides a practical tool for exploring the algebraic structure of polynomial invariants and their relation to the Poincaré-Dulac normal forms of the underlying vector fields.
    Keywords:
                                                                    first integral;                    polynomial invariants;                    Poincaré-Dulac normal form;                    systems of ordinary differential equations        MSC:
                34C14; 34C20; 37C79; 13F65
            1. Introduction
First integrals and invariants are fundamental tools in the study of systems of ordinary differential equations (ODEs). They allow us to better understand the qualitative behavior of solutions by revealing deep structural properties of the system. In particular, first integrals—functions that remain constant along solution trajectories—help identify conserved quantities such as energy, momentum, or other geometric invariants. These conserved quantities can simplify the analysis of a system, reduce the number of effective variables, or even allow the system to be integrated completely in special cases (see e.g., [,,,,,,,] and the references given there). Invariants, in general, provide information about the symmetries and stability of the system. The presence of invariants is often key to the classification of differential systems up to certain equivalence relations.
The connection between monomial first integrals and Poincaré-Dulac normal forms has been studied extensively in [,,,]. The theory of polynomial invariants for parametric families of ODEs was developed by Sibirsky and his school [,]. These invariants are important for the classification of ODEs [] and for studies related to the center-focus problem [,,].
In this paper, we study monomial first integrals, polynomial invariants, and their connection to Poincaré-Dulac normal forms for the n-dimensional autonomous system
      
        
      
      
      
      
    
      where A is a complex diagonal matrix,
      
        
      
      
      
      
    
      and  is a power series without constants or linear terms.
Let  be the space of polynomial vector fields  and, for , let  be the subspace of vector fields v whose components  are homogeneous polynomials of degree j, for . It is not difficult to see that any formal invertible change of coordinates of the form
      
        
      
      
      
      
    
      with  for all , brings system (vector field) (1) to a system of a similar form,
      
        
      
      
      
      
    
      where
      
        
      
      
      
      
    
Let  be the set of non-negative integers. For , we define , where  is a column vector. Let  be the n-dimensional unit vector for . A term  in  or  in  is called resonant if
      
        
      
      
      
      
    
      where  and  is the usual inner product of n-tuples. We denote by  the set of all solutions  to (5), that is
      
        
      
      
      
      
    
	  System (4) is said to be in the Poincaré–Dulac normal form, or simply in normal form, if  contains only resonant terms. By the Poincaré-Dulac theorem [,], any system (1) can be transformed to a normal form by a suitable transformation (3) [,,]. In particular, transformation (3), which brings system (1) to a Poincaré–Dulac normal form, is called a normalization or a normalizing transformation.
Equivalently (see e.g., [,,]), system (4) is in the Poincaré–Dulac normal form if  that is, for all , 
Following [], we define the centralizers
      
        
      
      
      
      
    
      and
      
        
      
      
      
      
    
	  By Lemma 2.9 of [] and Corollary 4.5.9 of [],  is spanned as a -vector space by all  with . To our knowledge, at present there are no algorithmic methods available to compute a generating set of  for a given A. However, some particular cases are discussed in [,].
Recall that a polynomial  (where k is a field) is invariant under the action of the group  (or simply an invariant of ) if  for every  and every .
In this paper, we first deal with monomial first integrals of the linear approximation of (1), that is, of the linear system
      
        
      
      
      
      
    
      where A is a complex diagonal matrix (2), and propose an algorithm to compute a minimal generating set of the algebra of monomial first integrals of system (8). Subsequently, we establish a connection between specific monomial invariants of the polynomial system (1) and first integrals of the linear differential system (2). Furthermore, we adapt our algorithm to compute a generating set of the algebra of invariants for system (1), applicable even when some eigenvalues are not rational but algebraic elements. In Section 5, we demonstrate how our algorithm effectively describes the structures of  and .
This work contributes to the broader understanding of polynomial invariants, monomial first integrals, and the structure of Poincaré-Dulac normal forms of ordinary differential equations.
2. Preliminaries
For system (8) where , denote
      
        
      
      
      
      
    
	  Clearly,  is a submonoid of the additive monoid . It is obvious that the elements  of  are in one-to-one correspondence with the monic monomials  of the polynomial ring . Moreover, since the derivative of  along the vector field of the system  is
      
        
      
      
      
      
    
      we see that  is a first integral of (8) if and only if  Hence, the monoid  encodes precisely the exponent vectors of all monomial first integrals of the linear system (8). This correspondence forms the algebraic foundation for describing the structure of polynomial invariants associated with the system.
Note that since we are studying only monomial first integrals of the linear system (8) with the diagonal matrix, there are no interesting dynamics involved. Of course, such integrals represent conservation laws, and from a geometrical point of view, each such integral defines a union of hyperplanes. However, as we will see below, such integrals play an important role from an algebraic perspective, as they allow us to describe the structure of the normal form module of the nonlinear system (1).
Let  be the algebra of polynomial first integrals of (8) and  be the -module spanned by the elements of . By the results of [,], we have the following statement.
Lemma 1 
Lemma 2. 
The monoid  has a unique generating set  (called the Hilbert basis of ).
Proof.  
By Lemma 1, the algebra of polynomial first integrals of (8) is finitely generated, so the additive monoid  is also finitely generated. As a submonoid of  with only one unit element, namely ,  is the so-called pointed affine monoid (see [] for definition). By Proposition 7.15 of [], it has a unique minimal finite generating set.    □
The vector monomials , and the elements of the -vector space they generate are often called equivariants. Note that here we adopt the terminology of book [] and these equivariants have nothing in common with the so-called -equivariant considered e.g., in []. By Proposition 1.6 of [] (see also Lemma 4.2 of []),  is a finitely generated -module. Thus there arises an important problem to study the structure of  (see e.g., [,,]). By Lemma 4.4 of [], if   and all  () have non-negative entries, then  is a free -module of rank n generated by  where . However, in general, the structure of  can be rather complicated, and, to describe it, one needs to find generators for  and describe the sets ,  We consider this problem in Section 5. In particular, in this section, we present an algorithm to compute the equivariants of system (8) and a unique presentation of .
In the next section, we present algorithms to compute a Hilbert basis of , and hence a generating set of , as well as an algorithm to compute a generating set of the -module .
3. Monomial First Integrals
Obviously, a monomial , , of the ring of Laurent polynomials in , is a first integral of linear system (8) if and only if
      
        
      
      
      
      
    
	  Such a monomial  is called a Laurent monomial first integral. The monomials corresponding to solutions  of equation (11) generate the algebra of polynomial first integrals  of (8), which is finitely generated by Lemma 1. Since a polynomial  is a first integral of (8) if and only if each of its monomials is a first integral of (8), to describe the algebra , it is sufficient to find the monomial first integrals of (8). By Lemma 2, the algebra  has a unique generating set. In this section, we address the problem of determining generators of the algebra under certain assumptions on .
Let  be algebraic elements of , that is, each  is a root of a polynomial with integer coefficients. Let  be the finite algebraic extension of  containing . Let  be a basis of K over . Then, each  is a -linear combination of ’s. That is,
      
        
      
      
      
      
    
      where . Let  be the  matrix whose -entry is  and . Let  be the integer -matrix obtained from C by clearing the denominators. In particular,
      
        
      
      
      
      
    
      where  represents the i-th column of the matrix and corresponds to .
Lemma 3. 
For ,
      
        
      
      
      
      
    
Proof.  
We use the notations presented in the paragraph preceding the lemma. Using the basis  of K over  and the expressions (12), we have . Since  are independent over , it yields that  if and only if
      
        
      
      
      
      
    
        which is equivalent to  and also .    □
By Lemma 3, the set  is the same as the monoid  defined by (9).
Notice that
      
        
      
      
      
      
    
      is a subgroup of the finitely generated abelian group . Therefore,  is itself a finitely generated abelian group, and its basis can be readily computed, for example, using Smith normal form, as the kernel of the group homomorphism
      
        
      
      
      
      
    
	  Furthermore, the monoid
      
        
      
      
      
      
    
      consists of the non-negative integer solutions in the kernel. However, computing the Hilbert basis  of  and hence a minimal generating set of  is subtle and generally requires tools from integer linear programming or commutative algebra, such as Gröbner bases or Hilbert basis techniques [,,].
Algorithm 1.4.5 of [] employs Gröbner basis techniques to compute the Hilbert basis of the monoid  associated with the matrix . Next, we present Algorithm 1, which is essentially the same procedure but augmented with the additional steps detailed above for constructing the matrix  corresponding to a given vector . The correctness of Algorithm 1 follows from the correctness of Algorithm 1.4.5 of [], together with Equation (10).
The bottleneck in the computation of Algorithm 1 lies in the associated Gröbner basis calculation. The complexity of Gröbner basis computations has been studied extensively. For further details, we refer the reader to [,,].
Example 1. 
Note that, , and hence, , and  is a basis for  over . Therefore,
      
        
      
      
      
      
    Hence,
      
        
      
      
      
      
    Implementing Algorithm 1 in the computer algebra system Macaulay2 [], we obtain the Hilbert basis of  to be
      
        
      
      
      
      
    and the generators of  are, therefore, equal to
      
        
      
      
      
      
    The Macaulay2 code and calculations for the example are given in Appendix A.
| Algorithm 1: Hilbert basis of and generators of | 
Input: A vector  of algebraic elements Output: Hilbert basis  of  and a minimal generating set of  
  | 
We note that the following statement takes place.
Proposition 1. 
If the rank of  is equal to p and the rank of  is also p, then, both  and  are generated by p linearly independent elements of .
It is worth noting here that  may not be free, as syzygies may exist among the elements of . To compute a minimal generating set for the -module , classical methods from linear algebra can be used, as in Algorithm 2 presented below. The correctness of this algorithm is straightforward and follows directly from the fact that Gaussian elimination produces a basis for the column space.
      
| Algorithm 2: Generating Set of the -Module | 
Input: Hilbert basis  Output: Generating set of the -module  
  | 
In Example 1, the matrix
      
        
      
      
      
      
    
      obtained from the Hilbert basis, after the Gaussian elimination, is reduced to
      
        
      
      
      
      
    
	  Notice that columns 1, 2, and 4 have the leading terms and hence the -module  is of rank 3 and is generated by
      
        
      
      
      
      
    
Since the number of generators of  is 3, system (16) has three functionally independent polynomial first integrals, which can be chosen to be . The calculation of the reduced row echelon form of matrix N was performed in SAGE [], see Appendix B.
4. Invariants
In this section, we study polynomial invariants of n-dimensional polynomial systems of ODEs under the action of a one-parameter group on the phase space of the system.
Let  and . Following Bruno [], we can write any n-dimensional analytical or formal system of ODEs in the form
      
        
      
      
      
      
    
      where the ⊙ stands for the Hadamard product,
      
        
      
      
      
      
    
More specifically, any n-dimensional polynomial system can be written as
      
        
      
      
      
      
    
      where  is a finite set, say
      
        
      
      
      
      
    
The matrix  where  is the infinitesimal generator of the complex matrix group . After the change of variables
      
        
      
      
      
      
    
      we obtain from (20) the system
      
        
      
      
      
      
    
	  In particular, the coefficients are changed by the rule
      
        
      
      
      
      
    
      where, as above,  represents the usual inner product of n-tuples  and Q.
Let  be the number of parameters  in (20). Define the ordered -tuple of parameters of system (20) as
      
        
      
      
      
      
    
      and consider the algebra of complex polynomials , where the variables are the parameters of system (20). Let
      
        
      
      
      
      
    
      and
      
        
      
      
      
      
    
For  defined by (19) and , let
      
        
      
      
      
      
    
	  Given the ordered -tuple a, the monomial  in  is defined by
      
        
      
      
      
      
    
	  The change of variables (21) (the group action (22)) induces a -linear map on  acting on monomial  as
      
        
      
      
      
      
    
      where  is  matrix whose each column is  Let  be the  matrix
      
        
      
      
      
      
    
      and let
      
        
      
      
      
      
    
      be the map
      
        
      
      
      
      
    
Using the additive map (25), we define the monoid
      
        
      
      
      
      
    
      which is finitely generated by the same argument used for  introduced above.
Theorem 1. 
A monomial  is an invariant of group (22) if and only if .
Proof.  
From (24), we see that the monomial  is an invariant of (22) if and only if
      
        
      
      
      
      
    
		But, the above equality is equivalent to
      
        
      
      
      
      
    
   □
The following proposition can easily be verified by straightforward computations.
Proposition 2. 
For ,  if and only if the monomial  is a first integral of the linear system
      
        
      
      
      
      
    where
      
        
      
      
      
      
    
From Lemma 1 and Proposition 2, we conclude that  has a Hilbert basis , which can be computed using Algorithm 1 above. This algorithm works in the general case where the  are algebraic elements of , and is not limited to the case where all  are rational numbers. In the latter simple case, we may use Algorithm 1.4.5 from [].
Example 2. 
Consider the following differential system, written in the form (20), with linear part as in Example 1,
      
        
      
      
      
      
    where  and , and . In particular, the complex vectors of coefficients are
      
        
      
      
      
      
    
Following the above notations, let  be the  matrix
      
        
      
      
      
      
    and
      
        
      
      
      
      
    To obtain the Hilbert basis for the monoid  of solutions , we use Algorithm 1 with the input vector . It turned out that the basis has 425 vectors, which are the exponent vectors of the monomials returned by the algorithm. Since the list is rather long, we do not present it in the paper, but we present the computations for the particular case when
      
        
      
      
      
      
    In this case, 211 binomials are generated by the algorithm. Only 64 binomials are of the form . The leading terms of the binomials are given in Appendix C. Using them, we obtain the Hilbert basis of , which consists of the 64 vectors in . In Appendix D, we present a Macaulay2 code used to compute the Hilbert basis of . Using this Hilbert basis, we get the following invariants of group action (22) on our system:
      
        
      
      
      
      
    
To conclude this section, we remark on the connection between the invariants studied here and those of classical invariant theory. Classical invariant theory is primarily concerned with polynomial functions that are invariant under the action of finite groups. In contrast, the present work considers the action of an infinite group on the phase space. This action induces a representation on the parameter space, and our analysis focuses on the polynomial invariants in these parameters. This framework for invariants traces back to the seminal contributions of Sibirsky and his school [,].
5. Normal Forms
In this section, we discuss the structure of  and , as defined by Equation (7), and present an algorithm for computing .
By [,],  is an -module. We have an algorithm to describe , so we need to find only a generating set of this -module.
As before, let ,  and . To find a generating set of equivariants, we need to describe the sets
      
        
      
      
      
      
    
	  Let
      
        
      
      
      
      
    
	  The following statement is obvious.
Proposition 3. 
(1) For any  the monoid  is a subset of 
(2) There is one-to-one correspondence between the elements of  and elements of .
To describe , recall the  matrix  from (13), which resulted from the equation . To solve , we introduce a slack variable  and solve the following homogeneous equation in :
      
        
      
      
      
      
    
	  This can be accomplished by applying Algorithm 1 to the following  matrix:
      
        
      
      
      
      
    
      where  denotes the j-th column of  (13).
In the resulting Hilbert basis, the set of vectors where  is precisely the Hilbert basis  of , while those vectors where  are solutions to . Let S be the set of all such vectors. It is clear that any solution to Equation (27) is of the form  where  and .
Algorithm 3 is an extension of Algorithm 1, incorporating the procedure above and producing a minimal generating set for . The correctness of this algorithm follows from the correctness of Algorithm 1 and the discussion above.
      
| Algorithm 3: Minimal generating set of | 
Input: A vector  of algebraic elements Output: A minimal generating set for  
  | 
Example 3. 
Consider system (16) from Example 1. Employing Algorithm 3 as shown in Appendix E, results in the following:
      
        
      
      
      
      
    In particular, in addition to the obvious equivariants of (16):
      
        
      
      
      
      
    there are four additional equivariants:
      
        
      
      
      
      
    Let  be the monomials corresponding to the elements of  which are given in (17). Then, every element of  can be written as
      
        
      
      
      
      
    for some . However, it is easy to verify the following syzygies:
      
        
      
      
      
      
    Using these syzygies, we can write (29) in a unique way in the simpler form
      
        
      
      
      
      
    This leads to the following representation of :
      
        
      
      
      
      
    By replacing the polynomial ring in the above formula with the ring of formal power series, we obtain a representation of , which is called a Stanley decomposition of the normal form module [].
Suppose that system (1) is in the normal form and system (8) admits p independent polynomial first integrals. By Proposition 5 of [], system (1) admits p independent formal first integrals if and only if it admits every polynomial first integral of (8). The following statement provides a slight extension of this result.
Proposition 4. 
Proof.  
First we note that the Laurent monomials  are functionally independent if and only if their exponents  are linearly independent over . Assume system (1), which is in the normal form, admits every Laurent monomial first integral of (8). Since , there are , which are linearly independent over . Then,  are also linearly independent over . Therefore,  are functionally independent monomial first integrals, which can also be considered as formal first integrals.
Suppose now that system (1), which is in the normal form, admits p formal first integrals. Then (8) admits p polynomial first integrals. By Proposition 5 of [], Since , system (1) admits all monomial first integrals of (8). By (30), every solution  to (11) is a -linear combination of elements of , yielding that the corresponding  is a Laurent monomial first integral of (1) (which is in the normal form).    □
In general, checking if (30) holds can be a difficult problem. However, in the case where all eigenvalues of A are algebraic elements over , both  and its rank can be computed using Algorithm 2. Instead of computing the rank of , we can easily compute the rank of  defined by (14). In particular, for system (16) of Example 1, we have . Therefore, by Proposition 4, if a normal form of an analytic or formal system with the linear part (16) admits 3 independent first integrals, then it admits every Laurent monomial first integral of system (16).
6. Conclusions
In this work, we presented an algorithm for computing the generating set of the algebra of polynomial first integrals of system (8). We further adapted this algorithm to compute the generating set of polynomial invariants of system (18) under action (21). This approach was also applied to analyze the structure of the Poincaré-Dulac normal form of system (1). An interesting and important direction for future research is to investigate the connection between  and the Diophantine hull of A [].
Author Contributions
Methodology, A.S.J. and V.G.R.; Investigation, M.G.; Writing—original draft, M.G., A.S.J. and V.G.R.; Supervision, V.G.R. All authors have read and agreed to the published version of the manuscript.
Funding
The first and the third authors are supported by the Slovenian Research and Innovation Agency (core research programs P1-0288 and P1-0306, respectively) and by the project 101183111-DSYREKI-HORIZON-MSCA-2023-SE-01 “Dynamical Systems and Reaction Kinetics Networks”.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A
Computations for the Hilbert basis  and a generating set of  in Example 1 were performed in Macaulay2 using Algorithm 1. Note that, for the Hilbert basis, only resulting binomials of the form  are considered.
- Macaulay2, version 1.24.11-1695-gf35df1017f (vanilla)with packages:ConwayPolynomials,Elimination,IntegralClosure,...
 
- K = ZZ/31991;K[n,t,x_1..x_5,y_1..y_5, MonomialOrder => Lex];h = ideal (x_1-y_1*n, x_2-y_2*t,n*t*x_3-y_3,n^2*x_4-y_4,x_5-y_5*n^3);H = gens gb hQ = entries HtoString Q
 
- {{x_4^3*x_5^2-y_4^3*y_5^2, x_2*x_3*y_4^2*y_5-x_4^2*x_5*y_2*y_3,x_2*x_3*x_4*x_5-y_2*y_3*y_4*y_5, x_2^2*x_3^2*y_4-x_4*y_2^2*y_3^2,x_2^3*x_3^3*x_5-y_2^3*y_3^3*y_5, x_1*y_4*y_5-x_4*x_5*y_1,x_1*y_2^2*y_3^2*y_5-x_2^2*x_3^2*x_5*y_1, x_1*x_4*y_2*y_3-x_2*x_3*y_1*y_4,x_1*x_4^2*x_5-y_1*y_4^2*y_5, x_1*x_2*x_3-y_1*y_2*y_3,x_1^2*y_2*y_3*y_5-x_2*x_3*x_5*y_1^2, x_1^2*x_4-y_1^2*y_4,x_1^3*y_5-x_5*y_1^3,t*y_2-x_2, t*x_3*y_4^2*y_5-x_4^2*x_5*y_3,t*x_3*y_1*y_4-x_1*x_4*y_3, t*x_3*x_5*y_1^2-x_1^2*y_3*y_5,t*x_3*x_4*x_5-y_3*y_4*y_5, t*x_2*x_3^2*y_4-x_4*y_2*y_3^2,t*x_2*x_3^2*x_5*y_1-x_1*y_2*y_3^2*y_5, t*x_2^2*x_3^3*x_5-y_2^2*y_3^3*y_5,t*x_1*x_3-y_1*y_3, t^2*x_3^2*y_4-x_4*y_3^2,t^2*x_3^2*x_5*y_1-x_1*y_3^2*y_5, t^2*x_2*x_3^3*x_5-y_2*y_3^3*y_5,t^3*x_3^3*x_5-y_3^3*y_5, n*y_4*y_5-x_4*x_5, n*y_3^2*y_5-t^2*x_3^2*x_5,n*y_1-x_1, n*x_4*y_3-t*x_3*y_4, n*x_4^2*x_5-y_4^2*y_5, n*x_2*x_3-y_2*y_3,n*x_1*y_3*y_5-t*x_3*x_5*y_1, n*x_1*x_4-y_1*y_4, n*x_1^2*y_5-x_5*y_1^2,n*t*x_3-y_3, n^2*y_3*y_5-t*x_3*x_5, n^2*x_4-y_4, n^2*x_1*y_5-x_5*y_1,n^3*y_5-x_5}}
 
Appendix B
To obtain the generating set of the -module  from Example 1 Algorithm 2 is used. The calculations of the reduced row echelon form of matrix N, which is needed in the algorithm, were done in SAGE and are presented below.
- N = matrix(ZZ,[[0,0,0,3,2],[0,1,1,1,1],[0,3,3,0,1],[1,0,0,2,1],[1,1,1,0,0],[2,0,0,1,0]])N.column_space()
 
- Free module of degree 6 and rank 3 over Integer RingEchelon basis matrix:[ 1 0 −1 0 −1 −1][ 0 1 3 0 1 0][ 0 0 0 1 1 2]
 
Appendix C
Below is the list of monomials of Example 2 when
      
        
      
      
      
      
    
		In this case,
      
        
      
      
      
      
    
		First, using Algorithm 1 for the input vector , 211 binomials were generated. Only 64 binomials of the form  and the leading terms  are next. See Appendix D below for the M2 session that was used to generate this output.
- x_14, x_12, x_11, x_10^2*x_15, x_10^2*x_13, x_9, x_8, x_7*x_10*x_15,x_7*x_10*x_13, x_7^2*x_15, x_7^2*x_13, x_6*x_10*x_15, x_6*x_10*x_13,x_6*x_7*x_15, x_6*x_7*x_13, x_6^2*x_15, x_6^2*x_13, x_5*x_10^4,x_5*x_7*x_10^3, x_5*x_7^2*x_10^2, x_5*x_7^3*x_10, x_5*x_7^4,x_5*x_6*x_10^3, x_5*x_6*x_7*x_10^2, x_5*x_6*x_7^2*x_10,x_5*x_6*x_7^3, x_5*x_6^2*x_10^2, x_5*x_6^2*x_7*x_10, x_5*x_6^2*x_7^2,x_5*x_6^3*x_10, x_5*x_6^3*x_7, x_5*x_6^4, x_4, x_3*x_10^4,x_3*x_7*x_10^3, x_3*x_7^2*x_10^2, x_3*x_7^3*x_10, x_3*x_7^4,x_3*x_6*x_10^3, x_3*x_6*x_7*x_10^2, x_3*x_6*x_7^2*x_10, x_3*x_6*x_7^3,x_3*x_6^2*x_10^2, x_3*x_6^2*x_7*x_10, x_3*x_6^2*x_7^2, x_3*x_6^3*x_10,x_3*x_6^3*x_7, x_3*x_6^4, x_2, x_1*x_10^4, x_1*x_7*x_10^3,x_1*x_7^2*x_10^2, x_1*x_7^3*x_10, x_1*x_7^4, x_1*x_6*x_10^3,x_1*x_6*x_7*x_10^2, x_1*x_6*x_7^2*x_10, x_1*x_6*x_7^3,x_1*x_6^2*x_10^2, x_1*x_6^2*x_7*x_10, x_1*x_6^2*x_7^2, x_1*x_6^3*x_10,x_1*x_6^3*x_7, x_1*x_6^4
 
Appendix D
Computations for the Hilbert basis  and a generating set of  in Example 2 were done in Macaulay2 using Algorithm 1. The output of these calculations is 211 binomials. Note that for the Hilbert basis only resulting binomials of the form  have to be considered of which there are 64 binomials, and in Appendix C, we present the list of their leading monomials .
- K = ZZ/31991;R = K[n,x_1..x_15, y_1..y_15, MonomialOrder => Lex];h = ideal (x_1-y_1*n^4, x_2-y_2, x_3-y_3*n^4, x_4-y_4, x_5-y_5*n^4,n*x_6-y_6,n*x_7-y_7, x_8-y_8, x_9-y_9, n*x_10-y_10, x_11-y_11, x_12-y_12,x_13-y_13*n^2, x_14-y_14, x_15-y_15*n^2);H = gens gb hQ = entries HtoString Q
 
Appendix E
Computations for the generating set of  for  from Example 3. The following Macaulay2 computations produce not only the Hilbert basis  of the monoid  but also a generating set of . After carefully checking the output, it is easy to see that the following three binomials , ,  are the only ones from the Gröbner basis of the specified form in Step 8 of Algorithm 3. In particular, every vector in  is of the form  where  and . Similar computations are used to obtain the generating sets of all other .
- K = ZZ/31991;K[s,t,x_0,x_1..x_5,z_0,z_1..z_5, MonomialOrder => Lex]h=ideal(s*x_0-z_0,x_1-z_1*s,x_2-z_2*t,s*t*x_3-z_3,s^2*x_4-z_4,x_5-z_5*s^3)H = gens gb hQ = entries HtoString Q
 
- {{x_4^3*x_5^2-z_4^3*z_5^2, x_2*x_3*z_4^2*z_5-x_4^2*x_5*z_2*z_3,x_2*x_3*x_4*x_5-z_2*z_3*z_4*z_5, x_2^2*x_3^2*z_4-x_4*z_2^2*z_3^2,x_2^3*x_3^3*x_5-z_2^3*z_3^3*z_5, x_1*z_4*z_5-x_4*x_5*z_1,x_1*z_2^2*z_3^2*z_5-x_2^2*x_3^2*x_5*z_1, x_1*x_4*z_2*z_3-x_2*x_3*z_1*z_4,x_1*x_4^2*x_5-z_1*z_4^2*z_5, x_1*x_2*x_3-z_1*z_2*z_3,x_1^2*z_2*z_3*z_5-x_2*x_3*x_5*z_1^2, x_1^2*x_4-z_1^2*z_4,x_1^3*z_5-x_5*z_1^3, x_0*z_4^2*z_5-x_4^2*x_5*z_0, x_0*z_2*z_3-x_2*x_3*z_0,x_0*z_1*z_4-x_1*x_4*z_0, x_0*x_5*z_1^2-x_1^2*z_0*z_5,x_0*x_4*x_5-z_0*z_4*z_5, x_0*x_2*x_3*z_4-x_4*z_0*z_2*z_3,x_0*x_2*x_3*x_5*z_1-x_1*z_0*z_2*z_3*z_5,x_0*x_2^2*x_3^2*x_5-z_0*z_2^2*z_3^2*z_5, x_0*x_1-z_0*z_1,x_0^2*z_4-x_4*z_0^2, x_0^2*x_5*z_1-x_1*z_0^2*z_5,x_0^2*x_2*x_3*x_5-z_0^2*z_2*z_3*z_5, x_0^3*x_5-z_0^3*z_5,t*z_2-x_2, t*x_3*z_4^2*z_5-x_4^2*x_5*z_3, t*x_3*z_1*z_4-x_1*x_4*z_3,t*x_3*z_0-x_0*z_3, t*x_3*x_5*z_1^2-x_1^2*z_3*z_5,t*x_3*x_4*x_5-z_3*z_4*z_5, t*x_2*x_3^2*z_4-x_4*z_2*z_3^2,t*x_2*x_3^2*x_5*z_1-x_1*z_2*z_3^2*z_5, t*x_2^2*x_3^3*x_5-z_2^2*z_3^3*z_5,t*x_1*x_3-z_1*z_3, t*x_0*x_3*z_4-x_4*z_0*z_3,t*x_0*x_3*x_5*z_1-x_1*z_0*z_3*z_5, t*x_0*x_2*x_3^2*x_5-z_0*z_2*z_3^2*z_5,t*x_0^2*x_3*x_5-z_0^2*z_3*z_5, t^2*x_3^2*z_4-x_4*z_3^2,t^2*x_3^2*x_5*z_1-x_1*z_3^2*z_5, t^2*x_2*x_3^3*x_5-z_2*z_3^3*z_5,t^2*x_0*x_3^2*x_5-z_0*z_3^2*z_5, t^3*x_3^3*x_5-z_3^3*z_5,s*z_4*z_5-x_4*x_5, s*z_3^2*z_5-t^2*x_3^2*x_5,s*z_1-x_1, s*z_0*z_3*z_5-t*x_0*x_3*x_5, s*z_0^2*z_5-x_0^2*x_5,s*x_4*z_3-t*x_3*z_4, s*x_4*z_0-x_0*z_4, s*x_4^2*x_5-z_4^2*z_5,s*x_2*x_3-z_2*z_3, s*x_1*z_3*z_5-t*x_3*x_5*z_1, s*x_1*z_0*z_5-x_0*x_5*z_1,s*x_1*x_4-z_1*z_4, s*x_1^2*z_5-x_5*z_1^2, s*x_0-z_0, s*t*x_3-z_3,s^2*z_3*z_5-t*x_3*x_5, s^2*z_0*z_5-x_0*x_5, s^2*x_4-z_4,s^2*x_1*z_5-x_5*z_1, s^3*z_5-x_5}}
 
References
- Aziz, W. Integrability and linearizability problems of three-dimensional Lotka-Volterra equations of rank-2. Qual. Theory Dyn. Syst. 2019, 18, 1113–1134. [Google Scholar] [CrossRef]
 - Aziz, W.; Christopher, C. Local integrability and linearizability of three-dimensional Lotka-Volterra systems. Appl. Math. Comput. 2012, 219, 4067–4081. [Google Scholar] [CrossRef]
 - Bibikov, Y.N. Local Theory of Nonlinear Analytic Ordinary Differential Equations; Lecture Notes in Mathematics; Springer: New York, NY, USA; London, UK, 1979; Volume 702. [Google Scholar]
 - Brjuno, A.D. A Local Method of Nonlinear Analysis for Differential Equations; Nauka: Moscow, Russia, 1979. [Google Scholar]
 - Bruno, A.D. Local Methods in Nonlinear Differential Equations; Springer: Berlin, Germany, 1989. [Google Scholar]
 - Llibre, J.; Pantazi, C.; Walcher, S. First integrals of local analytic differential systems. Bull. Sci. Math. 2012, 136, 342–359. [Google Scholar] [CrossRef]
 - Yan, Y.; Zhou, Z. The first integrals and related properties of a class of quintic systems with a uniform isochronous center. J. Nonlinear Model. Anal. 2022, 4, 488–501. [Google Scholar]
 - Zhang, X. Integrability of Dynamical Systems: Algebra and Analysis; Springer Nature: Singapore, 2017. [Google Scholar]
 - Kruff, N.; Walcher, S.; Zhang, X. Centralizers and normalizers of local analytic and formal vector fields. J. Lie Theory 2021, 31, 751–796. [Google Scholar]
 - Stolovitch, L. Singular complete integrability. Publ. MathéMatiques l’IHÉS 2000, 91, 133–210. [Google Scholar] [CrossRef]
 - Walcher, S. On differential equations in normal form. Math. Ann. 1991, 291, 293–314. [Google Scholar] [CrossRef]
 - Sibirsky, K.S. Algebraic Invariants of Differential Equations and Matrices; Shtiintsa: Kishinev, Moldova, 1976. (In Russian) [Google Scholar]
 - Sibirsky, K.S. Introduction to the Algebraic Theory of Invariants of Differential Equations; Manchester University Press: Manchester, UK, 1988. [Google Scholar]
 - Artés, J.C.; Llibre, J.; Schlomiuk, D.; Vulpe, N. Geometric Configurations of Singularities of Planar Polynomial Differential Systems: A Global Classification in the Quadratic Case; Birkhäuser: Berlin, Germany, 2021. [Google Scholar]
 - Liu, Y.R.; Li, J.B. Theory of values of singular point in complex autonomous differential systems. Sci. China Ser. 1989, 33, 10–23. [Google Scholar]
 - Jarrah, A.; Laubenbacher, R.; Romanovski, V.G. The Sibirsky component of the center variety of polynomial differential systems. J. Symb. Comput. 2003, 35, 577–589. [Google Scholar] [CrossRef]
 - Romanovski, V.G.; Shafer, D.S. The Center and Cyclicity Problems: A Computational Algebra Approach; Birkhäuser: Boston, MA, USA, 2009. [Google Scholar]
 - Poincaré, H. Mémoire sur les courbes définies par une équation différentielle. J. Math. Pures Appl. 1881, 7, 375–422. [Google Scholar]
 - Dulac, H. Recherches sur les points singuliers des equations différentielles. J. L’école Polytech. Série 1904, 9, 1–25. [Google Scholar]
 - Walcher, S. On transformations into normal form. J. Math. Anal. Appl. 1993, 180, 617–632. [Google Scholar] [CrossRef]
 - Algaba, A.; Freire, E.; Gamero, E. Characterizing and computing normal forms using Lie transforms: A survey. Dyn. Contin. Discret. Impuls. Syst. Ser. Math. Anal. 2001, 8, 449–475. [Google Scholar]
 - Murdock, J. Normal Forms and Unfolding for Local Dynamical Systems; Springer Monographs in Mathematics; Springer: New York, NY, USA, 2003. [Google Scholar]
 - Miller, E.; Sturmfels, B. Combinatorial Commutative Algebra. In Graduate Texts in Mathematics; Springer: New York, NY, USA, 2005; Volume 227. [Google Scholar]
 - Golubitsky, M.; Schaeffer, D.G. Singularities and Groups in Bifurcation Theory, Volume I; Applied Mathematical Sciences, 51; Springer: New York, NY, USA, 1985. [Google Scholar]
 - Contejean, E.; Devie, H. An Efficient Incremental Algorithm for Solving Systems of Linear Diophantine Equations. Inf. Comput. 1994, 113, 143–172. [Google Scholar] [CrossRef]
 - Pisón-Casares, P.; Vigneron-Tenorio, A. N-solutions to linear systems over Z. Linear Algebra Its Appl. 2004, 384, 135–154. [Google Scholar] [CrossRef]
 - Domenjoud, E. Solving systems of linear diophantine equations: An algebraic approach. In Mathematical Foundations of Computer Science; Tarlecki, A., Ed.; Springer: Berlin/Heidelberg, Germany, 1991; pp. 141–150. [Google Scholar]
 - Sturmfels, B. Algorithms in Invariant Theory; Springer: New York, NY, USA, 1993. [Google Scholar]
 - Faugére, J.-C. A new efficient algorithm for computing Gröbner bases (F4). J. Pure Appl. Algebra 1999, 139, 61–88. [Google Scholar] [CrossRef]
 - Faugére, J.-C. A New Efficient Algorithm for Computing Gröbner Bases Without Reduction to Zero (F5). In Proceedings of the 2002 International Symposium on Symbolic and Algebraic Computation, Lille, France, 7–10 July 2002; pp. 75–83. [Google Scholar]
 - Eder, C.; Faugère, J.-C. A Survey on Signature-based Algorithms for Computing Gröbner Bases. J. Symb. Comput. 2017, 80, 719–784. [Google Scholar] [CrossRef]
 - Grayson, D.; Stillman, M. Macaulay2, a Software System for Research in Algebraic Geometry. Available online: http://www2.macaulay2.com (accessed on 4 September 2025).
 - SageMath. the Sage Mathematics Software System (Version 10.7). Available online: https://www.sagemath.org (accessed on 4 September 2025).
 
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.  | 
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).