††thanks: This work has been partly supported by JSPS Grant-in-Aid for Scientific Research (C) (Nos 18K03214, 18K03320).
Testing zero-dimensionality of varieties at a point
Katsusuke Nabeshima
Graduate School of Technology, Industrial and Social Sciences, Tokushima University,
2-1, Minamijosanjima, Tokushima, Japan
[email protected]
Shinichi Tajima
Graduate School of Science and Technology, Niigata University,
8050, Ikarashi 2-no-cho, Nishi-ku Niigata, Japan
[email protected]
Abstract.
Effective methods are introduced for testing zero-dimensionality of varieties at a point. The motivation of this paper is to compute and analyze deformations of isolated hypersurface singularities. As an application, methods for computing local dimensions are also described. For the case where a given ideal contains parameters, the proposed algorithms can output in particular a decomposition of a parameter space into strata according to the local dimension at a point of the associated varieties. The key of the proposed algorithms is the use of the notion of comprehensive Gröbner systems.
Key words and phrases:
comprehensive Gröbner systems, tangent cone, saturation, deformation of isolated singularities
1991 Mathematics Subject Classification:
Primary 13P10; Secondary 14H20
1. Introduction
The local dimension, the dimension of a variety at a point, is one of the most important invariants in algebraic geometry, complex analysis and singularity theory [2, 7, 15, 20]. Thus, a practical tool to compute the dimension or test zero-dimensionality is required for studying local properties of a variety [3, 11, 12, 14].
In this paper, we propose two methods for testing zero-dimensionality of a variety at a point, and we generalize them to the parametric cases. The main tools of our approach are Gröbner bases and comprehensive Gröbner systems. The proposed methods do not utilize primary ideal decompositions, and are free from computation in local rings.
Definition 1.1**.**
Let V be an affine variety in Cn. For p∈V, the dimension of V at p, denoted dimp(V), is the maximum dimension of an irreducible component of V containing the point p.
In singularity theory, problems that contain parameters are often studied, for instance, deformations of singularities, a family of hyperplane sections of a variety, etc. In such cases, since structures of relevant ideals or varieties may vary as parameters changes, there is a possibility that the local dimension of varieties may also depend on the values of parameters.
We need methods to decompose a parameter space into strata according to the local dimensions of a given family of varieties.
In order to state precisely the problem, we give an example. Let f0=x14+x1x32+x24 and consider f=f0+t1x2x32, where t1 is a parameter.
The hypersurface defined by f0=0 has an isolated singularity at the origin O in C3, i.e., dimO(V(f0,∂x1∂f0,∂x2∂f0,∂x3∂f0))=0. Since f has the parameter t1, there is a possibility that the family of hypersurfaces defined by f=0 have non-isolated singularities at the origin for some values of the parameter t1.
In fact, if t14+1=0, then f has a non-isolated singularity at O and dimO(V(f,∂x1∂f,∂x2∂f,∂x3∂f)) =1. If t14+1=0, then f has an isolated singularity at O. We really would like the condition t14+1=0, or detect the condition t14+1=0 in an algorithmic manner to study local properties of the deformation of an isolated singularity.
How do we obtain such conditions?
Basically, the condition can be obtained by testing zero-dimensionality of the variety V(f, ∂x1∂f,∂x2∂f,∂x3∂f) at the origin O.
We show in the present paper that the methods for testing zero-dimensionality of a variety at a point can be constructed by using Gröbner bases. Furthermore, we generalize the methods to parametric cases by utilizing comprehensive Gröbner systems [5, 9, 10, 13, 18]. We give two different kinds of algorithms for testing zero-dimensionality at a point of a family of varieties with parameters.
Note that the resulting algorithms do not involve computation in local rings and efficiently output the necessary and sufficient conditions for zero-dimensionality.
This paper is organized as follows. Section 2 briefly reviews comprehensive Gröbner systems, and give notations that will be used in this paper. Section 3 consider the use of tangent cone and gives the discussion of the first algorithm for testing zero-dimensionality of varieties at a point. Section 4 consider the use of saturation and discusses the second algorithm for testing zero-dimensionality of varieties at a point. Section 5 gives results of the benchmark tests. Appendix A gives an efficient algorithm for computing ideal quotients with parameters, that utilizes a comprehensive Gröbner system of a module.
2. Preliminaries
Let t={t1,…,tm} and x={x1,…,xn} be variables such that t∩x=∅ and C[t][x] be a polynomial ring with coefficients in a polynomial ring C[t]. For f1,…,fs∈C[x] (or C[t][x]), ⟨f1,…,fs⟩={∑i=1shifi∣h1,…,hs∈C[x]( or C[t][x])}.
A symbol Term(x) is the set of terms of x. Fix a term order ≻ on Term(x). Let f∈C[x] (or f∈C[t][x]), then, ht(f),hm(f) and hc(f) denote the head term, head monomial and head coefficient of f (i.e., hm(f)=ht(f)⋅ht(f)). For F⊂C[x] (or F⊂C[t][x]), ht(F)={ht(f)∣f∈F}.
For g1,…,gr∈C[t], V(g1,…,gr)⊆Cm denotes the affine variety of g1,…,gr, i.e., V(g1,…,gr)={tˉ∈Cm∣g1(tˉ)=⋯=gr(tˉ)=0}. We call an algebraic constructible set of a from V(g1,…,gr)\V(g1′,…,gr′′)⊆Cm with g1,…,gr,g1′,…,gr′′∈C[t], a stratum. Notations A1,A2, …,Aν are frequently used to represent strata.
For every tˉ∈Cm, the canonical specialization homomorphism
σtˉ:C[t][x]→C[x]
(or C[t]→C) is defined as the map that substitutes t by tˉ in f(t,x)∈C[t][x] (i.e., σtˉ(f)=f(tˉ,x)∈C[x]). The image σtˉ of a set F is denoted by σtˉ(F)={σtˉ(f)∣f∈F}⊂C[x].
In this paper, the set of natural numbers N includes zero.
We adopt the following as a definition of a comprehensive Gröbner system.
Definition 2.1** (comprehensive Gröbner system).**
Let ≻ be a term order on Term(x). Let F be a subset of C[t][x], A1,A2,…,Aν strata in Cm and G1,G2,…,Gν subsets in C[t][x]. If a finite set G={(A1,G1),(A2,G2),…,(Aν, Gν)} of pairs satisfies the following conditions
- (1)
Ai=∅ and Ai∩Aj=∅ for 1≤i=j≤ν,
2. (2)
for all tˉ∈Ai, σtˉ(Gi) is a minimal Gröbner basis of ⟨σtˉ(F)⟩ w.r.t. ≻ in C[x], and
3. (3)
for all tˉ∈Ai and f∈Gi, σtˉ(hc(f))=0,
the set G is called a comprehensive Gröbner system on A1∪⋯∪Aℓ for ⟨F⟩ w.r.t. ≻. We simply say that G is a comprehensive Gröbner system for ⟨F⟩ if A1∪⋯∪Aℓ=Cm.
In several papers [5, 9, 10, 13], algorithms and implementations for computing comprehensive Gröbner systems are introduced.
Example 1*.*
Let F={t1x1x2+x2+1,x12x2+t1x1+3} be a subset in C[t1][x1,x2] and ≻ the lexicographic term order s.t. x1≻x2. We regard t1 as a parameter in C. Then, a comprehensive Gröbner system of ⟨F⟩ w.r.t. ≻ is
\Bigl{\{}(\operatorname{\mathbb{C}}\backslash\operatorname{\mathbb{V}}(t_{1}^{3}-t_{1}),\{x_{2}^{2}+(2t_{1}^{2}+2)x_{2}-t_{1}^{2}+1,(t_{1}^{3}-t_{1})x_{1}+x_{2}+3t_{1}^{2}+1\}),(\operatorname{\mathbb{V}}(t_{1}^{2}-1),\{4x_{1}+3t_{1},x_{2}+4\}),(\operatorname{\mathbb{V}}(t_{1}),\{x_{1}^{2}-3,x_{2}+1\})\Bigl{\}}.
3. Algorithm 1 (Tangent cone approach)
Here, we present an algorithm for testing zero-dimensionality of a variety at a point. This algorithm is based on the method described in section 9 of the famous textbook [1]. We generalize the method to parametric cases.
Before introducing the algorithm, we prepare some notations and basic facts.
Let p=(p1,…,pn)∈Cn, α=(α1,…,αn)∈Nn and (x−p)α=(x1−p1)α1⋯(xn−pn)αn. Given any polynomial f∈C[x] of total degree d, f can be written as a polynomial in xi−pi, namely,
[TABLE]
where fp,j is a linear combination of (x−p)α for α1+⋯+αn=j≤d. Note that fp,0=f(p) and fp,1=∂x1∂f(p)(x1−p1)+⋯+∂xn∂f(p)(xn−pn).
The next definition is borrowed from [1].
Definition 3.1** (tangent cone).**
Let V⊂Cn be an affine variety and let p=(p1,…,pn)∈V.
- (i)
If f∈C[x] is a non-zero polynomial, then fp,min is defined to be fp,j, where j the smallest integer such that fp,j=0 in (3.1).
2. (ii)
The tangent cone of V at p, denoted Cp(V), is the variety
[TABLE]
where I(V)={f∈C[x]∣f(xˉ)=0, for all xˉ∈V}.
The details of the tangent cone are described in [19, 20]. In 1965, H. Whitney gave the following theorem.
Theorem 3.2** (H. Whitney [18]).**
Let V⊂Cn be an affine variety and let p=(p1,…,pn)∈V. Then,
[TABLE]
In order to compute a tangent cone, we need the following definition.
Definition 3.3**.**
- (i)
Let f(x)∈C[x] be a polynomial of total degree d. Let f(x)=∑i=0dfi(x) be the expansion of f(x) as the sum of its homogeneous components where fi(x) has total degree i. Then,
[TABLE]
is a homogeneous polynomial of total degree d in C[x0,x] where x0 is a new variable.
2. (ii )
Let I be an ideal in C[x]. We define the homogenization of I to be the ideal
[TABLE]
From now on, we assume that the point p is the origin O=(0,…,0) in Cn.
Proposition 3.4** (Proposition 4, p.485 [1]).**
Assume that the origin O is a point of V⊂Cn. Let ≻ be a block term order such that x0≫x. Let I be an ideal such that V=V(I). If {g1,…,gr} is a Gröbner basis of Ih w.r.t. ≻, then
[TABLE]
where ε(gi) is the dehomogenization of gi for 1≤i≤r.
There exist several algorithms for computing the dimension of a variety, thus, the dimension of CO(V) can be obtained. The procedure for computing dimO(V) is the following.
- Step 1:
Compute CO(V).
2. Step 2:
Compute dim(CO(V)).
3. Return
dim(CO(V)) (as dimO(V)=dim(CO(V))).
We turn to the parametric cases. Let I be an ideal in C[t][x] where we regard t as parameters. After here we simply say that I is a “parametric” ideal.
As described in section 2, there exist algorithms for computing comprehensive Gröbner systems, it is possible to compute a comprehensive Gröbner system of Ih w.r.t. ≻ in Proposition 3.4. Therefore, Proposition 3.4 and the procedure above can be extended to the case of parametric ideals.
The following algorithm which utilizes a comprehensive Gröbner system outputs a condition of zero-dimensionality of V(F) at O.
**Algorithm 1
**
Input: F={f1,f2,…,fs}⊂C[t][x] s.t. O∈V(F).
≻: a block term order s.t. x0≫x on Term({x0}∪x).
Output: A⊂Cm: For all tˉ∈A, dimO(V(σtˉ(F)))=0 (i.e., V(σtˉ(F)) has an isolated point at O). For all tˉ∈Cm\A, dimO(V(σtˉ(F)))=0.
BEGIN
A←∅;
G← Compute a comprehensive Gröbner system of ⟨f1h,f2h,…,fsh⟩ w.r.t. ≻ in C[t][x0,x];
while G=∅ **do
** Select (A′,G′) from G; G←G\{(A′,G′)};
M←ht(G′) w.r.t. ≻;
CO←{ε(h)∣h∈M} in C[x];
if dim(CO)=0 **then
** A←A′∪A;
**end-if
end-while
return** A;
END
Since the algorithms [5, 9, 10, 13, 18] for computing comprehensive Gröbner systems always terminate and return a finite set of pairs, Algorithm 1 also terminates.
The correctness follows from Theorem 3.2 and Proposition 3.4.
Note that Algorithm 1 contains a part of computing local dimensions. Thus, it can be naturally generalized to a method for decomposing a parameter space into strata according to the local dimensions of a given family of varieties.
We illustrate Algorithm 1 with the following example.
Example 2*.*
Let f=x13+t1x12x24+x212∈C[t1][x1,x2], F={f,∂x1∂f,∂x2∂f} and I=⟨F⟩ where t1 is a parameter. Let ≻ be the total degree lexicographic term order with x1≻x2.
A comprehensive Gröbner systems of
[TABLE]
w.r.t. the block term order with x0≫{x1,x2}, in C[t1][x0,x1,x2], is
[TABLE]
Hence,
- ⋅
if t1 belongs to C\V(t1(4t13+27), then CO(V(I))=V(x1x211,x215,x12,x12x27) and dimO(V(I)) =0,
2. ⋅
if t1 belongs to V(4t13+27), then CO(V(I))=V(x12,x1x27) and dimO(V(I))=1,
3. ⋅
if t1 belongs to C\V(t1), then CO(V(I))=V(x12,x211) and dimO(V(I))=0.
Therefore, for all tˉ∈C\V(4t13+27), dimO(V(σtˉ(I)))=0, namely, f has an isolated singularity at the origin O.
4. Algorithm 2 (Saturation approach)
in this section, we consider the use of saturation and introduce an alternative method for testing zero-dimensionality of a variety at a point. We present an algorithm for testing zero-dimensionality of a family of varieties at a point, that utilizes a comprehensive Gröbner system of a module. Furthermore, we improve the algorithm in speed and give an efficient algorithm. We also show that, according to the concept of Chevalley dimension, local dimensions of varieties can also be computed by utilizing saturation.
4.1. Saturation approach
Let I,J be ideals in C[x]. The ideal quotient of I by J is I:J={h∈C[x]∣hg∈I for all g∈J}.
The saturation of I with respect to J is the ideal
[TABLE]
The saturation I:J∞ is the ideal at which the chain
[TABLE]
stabilizes.
Now, we give the following main theorem which is utilized to construct the new algorithm for testing the zero-dimensionality of a variety at a point.
Theorem 4.1**.**
Let F⊂C[x], m=⟨x1,…,xn⟩⊂C[x] and O∈V(F). Let G be a basis of the ideal ⟨F⟩:m∞ in C[x]. Then, the affine variety V(F) has an isolated point at the origin O if and only if there exists g∈G such that g(O)=0 (i.e., g has non-zero constant term).
Proof.
As G is a basis of ⟨F⟩:m∞, V(G)=V(⟨F⟩:m∞) is the Zariski closure V(F)\{O}. The variety V(F) can be written as V(F)=V1∪V2∪⋯∪Vν (finite union) where V1,V2,…,Vν are distinct irreducible varieties.
First, assume that the affine variety V(F) has an isolated point at the origin O. Then, one of Vi must be {O} and other varieties does not contain O where i∈{1,2,…,ν}. Without loss of generality, set V1={O}. Then,
[TABLE]
As O∈/V2∪⋯∪Vν=V(G), there exists g∈G such that g(O)=0.
Next, assume that there exists g∈G such that g(O)=0. Since O∈V(F),
[TABLE]
there exists an irreducible variety {O} in V(F). Therefore, V(F) has an isolated point at the origin O.
∎
The following corollary is a direct consequence of Theorem 4.1.
Corollary 4.2**.**
Let f∈C[x], m=⟨x1,…,xn⟩⊂C[x] and O∈V(f,∂x1∂f,…,∂xn∂f). Let G be a basis of ⟨∂x1∂f,…,∂xn∂f⟩:m∞ (or ⟨f,∂x1∂f,…,∂xn∂f⟩:m∞). Then, the hypersurface, defined by f, has an isolated singularity at O if and only if there exists g∈G such that g(O)=0.
Example 3*.*
Let us consider f1=x12x3+x2x32+x25+x23x3,f2=x12x3+x2x32+x25+2x23x3 and m=⟨x1,x2,x3⟩ in C[x1,x2,x3]. Let ≻ be the total degree lexicographic term order with x1≻x2≻x3. Then, the reduced Gröbner basis of ⟨∂x1∂f1,∂x2∂f1,∂x3∂f1⟩:m∞ w.r.t. ≻ is
[TABLE]
and the reduced Gröbner basis of ⟨∂x1∂f2,∂x2∂f2,∂x3∂f2⟩:m∞ w.r.t. ≻ is
[TABLE]
Therefore, f1 has an isolated singularity at O, and f2 does not have an isolated singularity at O.
We turn to the parametric cases. There exists an algorithm for computing a comprehensive Gröbner system of the saturation of ⟨F⟩ w.r.t. a given parametric ideal. The algorithm is given in Appendix A. Therefore, Theorem 4.1 is generalized to the parametric cases.
**Algorithm 2-1
**
Input: F={f1,f2,…,fs}⊂C[t][x] s.t. O∈V(F), m=⟨x1,…,xn⟩.
≻: a term order on Term(x).
Output: A⊂Cm: For all tˉ∈A, dimO(V(σtˉ(F)))=0 (i.e., V(σtˉ(F)) has an isolated point at O). For all tˉ∈Cm\A, dimO(V(σtˉ(F)))=0.
BEGIN
A←∅;
G← Compute a comprehensive Gröbner system of ⟨F⟩:m∞ w.r.t. ≻;
while G=∅ **do
** Select (A′,G′) from G; G←G\{(A′,G′)};
if ∃g∈G′ s.t. g(O)=0 **then
** A←A′∪A;
**end-if
end-while
return** A;
END
The correctness and termination of Algorithm 2-1 follows from Theorem 4.1 and that of the algorithm for computing comprehensive Gröbner systems.
We illustrate Algorithm 1 with the following example.
Example 4*.*
Let f=x13+x1x32+t1x1x23+x23x3∈C[t1][x1,x2,x3] and ≻ the total degree reverse lexicographic term order with the coordinate x1≻x2≻x3.
A comprehensive Gröbner system of ⟨f,∂x1∂f,∂x2∂f,∂x3∂f⟩:⟨x1,x2,x3⟩∞ w.r.t. ≻ is
[TABLE]
Hence,
- ⋅
if t1 belongs to C\V(t12+1), then \dim_{O}\Bigl{(}\operatorname{\mathbb{V}}(f,\frac{\partial f}{\partial x_{1}},\frac{\partial f}{\partial x_{2}},\frac{\partial f}{\partial x_{3}})\Bigr{)}=0,
2. ⋅
if t1 belongs to V(t12+1), then \dim_{O}\Bigl{(}\operatorname{\mathbb{V}}(f,\frac{\partial f}{\partial x_{1}},\frac{\partial f}{\partial x_{2}},\frac{\partial f}{\partial x_{3}})\Bigr{)}\neq 0.
Therefore, for all tˉ∈C\V(t12+1), σtˉ(f) has an isolated singularity at the origin O.
4.2. Improvement
We improve Algorithm 2-1 in computation speed. The following lemma alows us to devise an efficient and practical algorithm for computing the saturation ⟨F⟩:m∞.
Lemma 4.3**.**
Let F⊂C[x] and m=⟨x1,…,xn⟩. For all α1,α2,…,αn∈N\{0},
[TABLE]
Proof.
There exists β∈N such that
[TABLE]
Let J=⟨x1α1,x2α2,…,xnαn⟩ and \alpha=\max\Bigl{(}\{\alpha_{1},\alpha_{2},\ldots,\alpha_{n}\}\Bigr{)}. Obviously,
[TABLE]
Since J⋅mβ⊆mβ, thus ⟨F⟩:mβ⊆⟨F⟩:J⋅mβ. Take a sufficiently large number N such that N>α+β, then mN⊆J⋅mβ. Hence,
[TABLE]
As ⟨F⟩:mβ=⟨F⟩:mN, we have ⟨F⟩:mβ=⟨F⟩:J⋅mβ. Therefore,
\Bigl{(}\langle F\rangle:\langle x_{1}^{\alpha_{1}},\ldots,x_{n}^{\alpha_{n}}\rangle\Bigr{)}:{\mathfrak{m}}^{\infty}=\langle F\rangle:{\mathfrak{m}}^{\infty}.
∎
The lemma above leads the following procedure for computing ⟨F⟩:m∞.
- Step 1:
Compute a basis G of ⟨F⟩:⟨x1α1,x2α2,…,xnαn⟩.
2. Step 2:
Compute a basis G′ of ⟨G⟩:m∞.
3. Return
G′.
Notice that in the procedure above arbitrary positive integers α1,…,αn can be used to compute ⟨F⟩:m∞.
Our strategy of choosing the integers is the following.
Let f=r∈Nn∑arxr be a non-zero polynomial in C[x] and F⊂C[x]. We set
[TABLE]
and mdegxi(F):=max({mdegxi(g)∣g∈F}) where i∈{1,…,n}.
In Algorithm 2-2, we take
[TABLE]
as α1,…,αn to compute a basis of ⟨F⟩:m∞, namely, α1=α2=⋯=αn=α.
Lemma 4.3 and the strategy above yield the following improvement.
**Algorithm 2-2
**
Input: F={f1,f2,…,fs}⊂C[t][x] s.t. O∈V(F), m=⟨x1,…,xn⟩.
≻: a term order on Term(x).
Output: A∗⊂Cm: For all tˉ∈A∗, dimO(V(σtˉ(F)))=0 (i.e., V(σtˉ(F)) has an isolated point at O). For all tˉ∈Cm\A∗, dimO(V(σtˉ(F)))=0.
BEGIN
A∗←∅; \alpha\leftarrow\max\Bigl{(}\{\text{mdeg}_{x_{1}}(F),\text{mdeg}_{x_{2}}(F),\ldots,\text{mdeg}_{x_{n}}(F)\}\Bigr{)};
G← Compute a comprehensive Gröbner system of ⟨F⟩:⟨x1α,x2α,…,xnα⟩ w.r.t. ≻;
while G=∅ **do
** Select (A,G) from G; G←G\{(A,G)};
G′← Compute a comprehensive Gröbner system of ⟨G⟩:m∞ w.r.t. ≻ on A;
while G′=∅ **do
** Select (A′,G′) from G′; G′←G\{(A′,G′)};
if ∃g∈G2 s.t. g(O)=0 **then
** A∗←A′∪A∗;
**end-if
** **end-while
end-while
return** A∗;
END
We have implemented Algorithm 2-2 in the computer algebra system Risa/Asir [16]. We give some outputs of our implementation in the following examples.
Example 5*.*
Let f=x13x2+t1x12x24+x210+t2x211∈C[t1,t2][x1,x2] and V=V(∂x1∂f,∂x2∂f). Our implementation outputs the following.
- ⋅
If (t1,t2) belongs to W=C2\V(4t13+27,t2), then dimO(V)=0, namely, the hypersurface S, defined by f, has an isolated singularity at O.
2. ⋅
If (t1,t2) does not belong to W, then dimO(V)=0. The hypersurface S does not have an isolated singularity at O.
Example 6*.*
Let f=x1x32+x14+x24+t1x2x32+t2x12x22∈C[t1,t2][x1,x2,x3] and V=V(∂x1∂f,∂x2∂f,∂x3∂f). Our implementation outputs the following.
- ⋅
If (t1,t2) belongs to
[TABLE]
then dimO(V)=0, namely, the hypersurface S, defined by f, has an isolated singularity at O.
2. ⋅
If (t1,t2) does not belong to W, then dimO(V)=0. The hypersurface S does not have an isolated singularity at O.
We will see in section 5 how the use of ⟨F⟩:⟨x1α,x2α,…,xnα⟩ reduces the cost of computation of the saturation ⟨F⟩:m∞ drastically.
4.3. Primary ideal component at O
Let ⟨F⟩ be the ideal generated by F s.t. O∈V(F). Let
[TABLE]
be the primary ideal decomposition of the ideal ⟨F⟩. Let S denote the saturation ⟨F⟩:m∞ where m=⟨x1,…,xn⟩ is the maximal ideal in C[x].
Assume that O∈/V(S). Then, we have
[TABLE]
Therefore, the primary component Q0 at O of ⟨F⟩ such that V(Q0)={O} can also be computed by using the saturation S=⟨F⟩:m∞.
The method above works for parametric cases, too.
Example 7*.*
Let f=x13x2+x12x24+t1x210∈C[t1][x1,x2] and F={∂x1∂f,∂x2∂f}. Let ≻ be the total degree lexicographic term order with x1≻x2. A comprehensive Gröbner system of ⟨F⟩:m∞ w.r.t. ≻ is
[TABLE]
- (i)
A comprehensive Gröbner system of ⟨F⟩:⟨1⟩ on V(t1) w.r.t. ≻ is
[TABLE]
where Q0′={3x12x2+2x1x24,x14x2,x15,2x14+53x13x23,x13+4x12x23+10x29}.
This means that if t1=0, then ⟨Q0′⟩ is the primary ideal component such that V(Q0′)={O}.
2. (ii)
A comprehensive Gröbner system of
⟨F⟩:⟨2910897t13x1+16385050t1x2+14895500,−9801t12x1+52855t1x22+48050x2⟩
on C\V(t1) w.r.t. ≻ is
{(C\V(t1),Q0′′)}
where Q0′′={3x12x2+2x1x24,x14x2,x15,2x14+53x13x23,−1331t13x14+(−32065t12x22+29150t1 x2+5300)x13+21200x12x23+53000x29}. Thus, if t1=0, ⟨Q0′′⟩ is the primary ideal component such that V(Q0′)={O}.
4.4. Local dimensions
In this subsection, we give an algorithm for computing the local dimension at O.
Let F be a set of polynomials in C[x]. Let E be a set of families of linear polynomials
[TABLE]
in C(u)[x] where u={u11,…,u1n−ℓ,u21,…,u2ℓ−n,…,uℓ1,…,uℓn−ℓ}, ℓ≤n and C(u) is the fields of rational functions with u. Then, we have the following proposition.
Proposition 4.4**.**
Let m=⟨x1,…,xn⟩⊂C[x] and O∈V(F). Let G be a basis of the ideal ⟨F∪E⟩:m∞ in C(u)[x]. Let ℓ be the minimum number that satisfies
“there exists g∈G such that g(O)=0.”
Then, dimO(V(F))=ℓ.
Proof.
By Theorem 4.1, if there exists g∈G such that g(O)=0, then dimO(V(F∪E))=dimO(V(F)∩V(E))=0. Note that C(u) is the fields of rational functions and E is a set of ℓ linear polynomials with O∈V(E) Hence, dimO(V(E))=n−ℓ. Since ℓ is the minimum number, it follows from the classical action lemma or the concept of Chevally dimension that dimO(V(F))=ℓ.
∎
By this proposition, we can construct an algorithm for computing dimO(V(F)) as follows.
**Algorithm 2-3
**
Input: F={f1,f2,…,fs}⊂C[x] s.t. O∈V(F), m=⟨x1,…,xn⟩,
≻: a term order on Term(x).
Output: dimO(V(F)).
BEGIN
ℓ←0; flag←0; E←∅; U←∅;
while flag=1 do
G← Compute a basis of ⟨F∪E⟩:m∞ w.r.t. ≻ in C(U)[x]; /if U=∅, then C(U)=C./
if ∃g∈G s.t. g(O)=0 **then
** flag←1;
**else
** ℓ←ℓ+1;
E←{x1+u11xℓ+1+⋯+u1n−ℓxn,x2+u21xℓ+1+⋯+u2n−ℓxn,
⋯,xℓ+uℓ1xℓ+1+⋯+uℓn−ℓxn};
U←{u11,…,u1n−ℓ,u21,…,u2ℓ−n,…,uℓ1,…,uℓn−ℓ};
**end-if
end-while
return** ℓ;
END
We illustrate Algorithm 2-3 with the following examples.
Example 8*.*
Let f=x14+x26+2x12x23∈C[x1,x2] and F={∂x1∂f,∂x2∂f}. Let ≻ be the total degree reverse lexicographic term order with x1≻x2.
The reduced Gröbner basis of ⟨F⟩:⟨x1,x2⟩∞ w.r.t. ≻, in C[x1,x2], is
[TABLE]
Thus, dimO(V(F))=0.
Next, let us consider the case ℓ=1. Let E={x1+u11x2}. The reduced Gröbner basis of ⟨F∪E⟩:⟨x1,x2⟩∞ w.r.t. ≻ is, C(u11)[x1,x2] is
[TABLE]
Hence, as dimO(V(F∪E))=0, we obtain dimO(V(F))=1.
Example 9*.*
Let f=x13+x2x32+2x12x22+x1x24∈C[x1,x2,x3] and F={∂x1∂f,∂x2∂f,∂x3∂f}. Let ≻ be the total degree reverse lexicographic term order with x1≻x2≻x3.
The reduced Gröbner basis of ⟨F⟩:⟨x1,x2,x3⟩∞ w.r.t. ≻, in C[x1,x2,x3], is
[TABLE]
Thus, dimO(V(F))=0.
Next, let us consider the case ℓ=1. Let E={x1+u11x2+u12x3}. The reduced Gröbner basis of ⟨F∪E⟩:⟨x1,x2,x3⟩∞ w.r.t. ≻, in C(u11,u12)[x1,x2,x3] is
[TABLE]
Hence, as dimO(V(F∪E))=0, we obtain dimO(V(F))=1.
Algorithm 2-3 can be generalized to parametric cases. The key of the generalized method is to compute comprehensive Gröbner systems in (C(u)[t])[x]. We illustrate the method with the following example.
Example 10*.*
Let f=x13+x1x32+t1x1x23+x23x3∈C[t1][x1,x2,x3] and F={∂x1∂f,∂x2∂f,∂x3∂f} where t1 is a parameter. Let ≻ be the total degree reverse lexicographic term order with x1≻x2≻x3.
- (i)
Let us consider the case ℓ=0. A comprehensive Gröbner system of ⟨F⟩:⟨x1,x2,x3⟩∞ w.r.t. ≻ is
[TABLE]
Hence, if the parameter t1 belongs to C\V(t12+1), then dimO(V(F))=0.
2. (ii)
Next, let us consider the case ℓ=1. Let E={x1+u11x2+u12x3}. A comprehensive Gröbner system of ⟨F∪E⟩:⟨x1,x2,x3⟩∞⊂(C(u11,u12)[t1])[x1,x2,x3] w.r.t. ≻, on the stratum V(t12+1), is
{(V(t12+1),{(u126+3u124+3u122+1)x3+(−2u123+6u12)u113t1+(−6u122+2)u113,(−u124−2u122−1)x2+(−2u122+2)u112t1−4u12u112,(u126+3u124+3u122+1)x1+(−6u122+2)u113t1+(2u123−6u12)u113})}.
The first polynomial (u126+3u124+3u122+1)x3+(−2u123+6u12)u113t1+(−6u122+2)u113 is not zero at the origin O. Hence, the local dimension of V(F) is equal to 1 on the stratum V(t12+1).
5. Comparisons
Here we give results of the benchmark tests.
All algorithms in this paper have been implemented in the computer algebra system Risa/Asir [16]. All tests presented in Table 1, have been performed on a machine [OS: Windows 10 (64bit), CPU: Intel(R) Core i9-7900 CPU @ 3.30 GHz, RAM: 128 GB] and the computer algebra system Risa/Asir version 20150126 [16]. The time is given in second (CPU time). In Table 1, “<0.0156” means it takes less than 0.0156 seconds, and “>3h” means it takes more than 3 hours.
We use the total degree reverse lexicographic term order with x≻y≻z (or x≻y) in the benchmark tests. We use the following 10 polynomials.
f1=x3+xz2+axy3+y3z+xy4
f2=x3y+ay15+bxy11+xy12
f3=x4y+y8+axy8+bx2y4
f4=x3y+ay4+y3+y8x+by6
f5=x4+yz5+y4+ax4z+y2z7+z4
f6=x5y3+z8+axz8+y6z+byz5
f7=(x2y+z4+y5)2+ay6z4+y4z6
f8=x10+x5y3+ay6+3y14+bx10y5+xy14
f9=x5+yz4+y3+ax5y+bx2y7+z4
f10=x6+yz7+ax3y4+y10+x2y5z4
where x,y,z are variables and a,b are parameters.
As is evident from Table 1, in Problem 2, 3, 4, 5, 9, 10, 11, Algorithm 2-2 results in better performances in contrast to Algorithm 1 and Algorithm 2-1. In Problem 6, 7, 8, Algorithm 1 results in better performances in contrast to Algorithm 2-1 and Algorithm 2-2. Hence, we cannot say that which one is the best in general. However, as Algorithm 2-2 returns all results within 230 seconds, it is better to utilize Algorithm 2-2 in general.
If V(F) has an irreducible component V0={O}, then the ideal ⟨F⟩ can be written as ⟨F⟩=Q0∩Q1∩⋯∩Qν where Q0,Q1,…,Qν are distinct primary ideals and V(Q0)=V0. Actually, Algorithm 1 computes the ideal Q0 and its dimension. In contrast, Algorithm 2-1 and 2-2 compute the ideal Q1∩⋯∩Qν. Hence, if the structure of Q0 is complicated, then we can expect that the computation cost of Algorithm 2-2 is lower than that of Algorithm 1.
In the realm of symbolic computation, the standard basis is regarded as a classical or typical tool to handle ideals in local rings. However, to the best of our knowledge, no effective algorithm for computing standard bases of parametric ideals is known. In order to treat local dimensions for parametric cases, we utilize comprehensive Gröbner systems.
To conclude this paper, we emphasize again that even though the problems considered in the present paper are local in nature, the proposed algorithms resolve the problems in polynomial rings and they are free from standard bases and Mora’s reduction (Tangent cone algorithm [4, 8]).
Appendix A Ideal quotients with parameters
Several algorithms for computing a basis of an ideal quotient in a polynomial ring are introduced in some textbooks (cf. [1, 4]). As, in general, the algorithms utilize Gröbner basis computation, the algorithms can be naturally extended to the parametric cases by utilizing comprehensive Gröbner systems (see the appendix of [11]).
Here, we briefly describe an efficient algorithm for computing ideal quotients with parameters, that utilizes a comprehensive Gröbner system of a module.
Let e$${}_{1}=(1,0) and e$${}_{2}=(0,1). Then, \{\mbox{{\boldmathe}{}{1}},\mbox{{\boldmathe}{}{2}}\} is a free basis of (C[x])2. Let ≻ be a term order on Term(x) and ≻m be a POT (position over term) module order on (C[x])2 with \mbox{{\boldmathe}{}{1}}>\mbox{{\boldmathe}{}{2}} and ≻. The following theorems are from [4, 6].
Theorem A.1**.**
Let f1,…,fs,q be non-zero polynomials in C[x]. Suppose F⊂(C[x])2 is a C[x]-module generated by
\{f_{1}\cdot\mbox{{\boldmathe}{}{1}},f_{2}\cdot\mbox{{\boldmathe}{}{1}},\ldots,f_{s}\cdot\mbox{{\boldmathe}{}{1}},q\cdot\mbox{{\boldmathe}{}{1}}-\mbox{{\boldmathe}{}{2}}\}
and G is a minimal Gröbner basis of F w.r.t. ≻m. Set H=\{h\in\operatorname{\mathbb{C}}[x]|h\cdot\mbox{{\boldmathe}{}{2}}\in G\}. Then, ⟨f1,…,fs⟩:⟨q⟩=⟨H⟩.
There exists algorithms and implementations for computing a comprehensive Gröbner system of a given module with parameters (cf. [6, 9]). Hence, we are able to obtain a comprehensive Gröbner system of an ideal quotient with parameters.
Theorem A.2**.**
Let y={y2,…,yr} be new variables such that t∩x=∅. Let f1,…,fs,q1,…,qr be non-zero polynomials in C[x]. Set q=q1+y3q2+⋯+yrqr and let G be a Gröbner basis of the ideal quotient ⟨f1,…,fs⟩:⟨q⟩ w.r.t. a block term order such that y≫x in C[y,x]. Then, ⟨f1,…,fs⟩:⟨q1,…,qr⟩=⟨G∩C[x]⟩.
As we know how to compute a comprehensive Gröbner systems of ⟨f1,…,fs⟩:⟨q⟩, Theorem A.2 also can be generalized to the parametric cases, too.
An algorithm for computing a comprehensive Gröbner system of an ideal quotient is the following.
Algorithm A (ideal quotients with parameters)
Input: f1,…,fs,q1,…,qr∈C[t][x] (∀tˉ∈Cm, 1≤∃i≤s s.t. σtˉ(fi)=0).
≻: a block term order with y≫x on Term(x∪y).
≻m: a POT module order on (C[x])2 with \mbox{{\boldmathe}{}{1}}>\mbox{{\boldmathe}{}{2}} and ≻.
Output: Q: a comprehensive Gröbner systems of ⟨f1,…,fs⟩:⟨q1,…,qr⟩ w.r.t. ≻.
BEGIN
Q←∅;
q←q1+y2q2+⋯+yrqr;
F\leftarrow\{f_{1}\cdot\mbox{{\boldmathe}{}{1}},f_{2}\cdot\mbox{{\boldmathe}{}{1}},\ldots,f_{s}\cdot\mbox{{\boldmathe}{}{1}},q\cdot\mbox{{\boldmathe}{}{1}}-\mbox{{\boldmathe}{}_{2}}\};
G← Compute a comprehensive Gröbner system of ⟨F⟩ w.r.t. ≻m in (C[t][x])2;
while G=∅ **do
** Select (A,G) from G; G←G\{(A,G)};
H\leftarrow\{h\in\operatorname{\mathbb{C}}[t][y,x]|h\cdot\mbox{{\boldmathe}{}_{2}}\in G\};
Q←Q∪{(A,H∩C[t][x])};
**end-while
return** Q;
END
Let I,J be ideals in C[x]. Since \Bigl{(}I:J\Bigr{)}:J=I:J^{2}, I:J∞ can be obtained by utilizing the algorithm above.
Our implementation for saturation with parameters is given by the following algorithm.
Algorithm B (saturation with parameters)
Input: f1,…,fs,q1,…,qr∈C[t][x] (∀tˉ∈Cm, 1≤∃i≤s s.t. σtˉ(fi)=0).
≻ : a block term order with y≫x on Term(x∪y).
Output: Q: a comprehensive Gröbner systems of ⟨f1,…,fs⟩:⟨q1,…,qr⟩∞ w.r.t. ≻.
BEGIN
Q←∅;
G← Compute a comprehensive Gröbner system of ⟨f1,…,fs⟩:⟨q1,…,qr⟩ w.r.t. ≻;
while G=∅ **do
** Select (A,G) from G; G←G\{(A,G)};
G′← Compute a comprehensive Gröbner system of ⟨G⟩:⟨q1,…,qr⟩ on A w.r.t. ≻;
while G′=∅ **do
** Select (A′,G′) from G′; G′←G′\{(A′,G′)};
if G=G′ do
Q←Q∪{(A′,G′)};
**else
** G←G∪{(A′,G′)};
**end-if
** **end-while
end-while**
return Q;
END
As C[t][x] is a Noetherian ring and an algorithm for computing comprehensive Gröbner systems always terminates, Algorithm B terminates.