Macaulay2 » Documentation
Packages » HilbertSchemeStrata :: extraTerms
next | previous | forward | backward | up | index | toc

extraTerms -- computes the unfolding terms for an unfolding of I

Description

The function computes the possible unfolding terms in degree d. In the second version, only terms larger than m in the monomial order of ring I are allowed. In the third version only terms in J are allowed.

i1 : kk=QQ

o1 = QQ

o1 : Ring
i2 : S=kk[x_0..x_3]

o2 = S

o2 : PolynomialRing
i3 : sort (entries gens (ideal vars S)^2)_0

       2                     2               2         2
o3 = {x , x x , x x , x x , x , x x , x x , x , x x , x }
       3   2 3   1 3   0 3   2   1 2   0 2   1   0 1   0

o3 : List
i4 : q=ideal(x_0*x_2+x_1*x_3)

o4 = ideal(x x  + x x )
            0 2    1 3

o4 : Ideal of S
i5 : M1=extraTerms(q,2)

o5 = | x_3^2 x_2x_3 x_1x_3 x_0x_3 x_2^2 x_1x_2 x_1^2 x_0x_1 x_0^2 |

             1      9
o5 : Matrix S  <-- S
i6 : M2=extraTerms(q,2,leadTerm q_0)

o6 = | x_3^2 x_2x_3 x_1x_3 x_0x_3 x_2^2 x_1x_2 |

             1      6
o6 : Matrix S  <-- S
i7 : S=kk[x_0..x_3,MonomialOrder=>Lex]

o7 = S

o7 : PolynomialRing
i8 : sort (entries gens (ideal vars S)^2)_0

       2         2               2                     2
o8 = {x , x x , x , x x , x x , x , x x , x x , x x , x }
       3   2 3   2   1 3   1 2   1   0 3   0 2   0 1   0

o8 : List
i9 : q=ideal(x_0*x_2+x_1*x_3)

o9 = ideal(x x  + x x )
            0 2    1 3

o9 : Ideal of S
i10 : M1=extraTerms(q,2)

o10 = | x_3^2 x_2x_3 x_2^2 x_1x_3 x_1x_2 x_1^2 x_0x_3 x_0x_1 x_0^2 |

              1      9
o10 : Matrix S  <-- S
i11 : M2=extraTerms(q,2,leadTerm q_0)

o11 = | x_3^2 x_2x_3 x_2^2 x_1x_3 x_1x_2 x_1^2 x_0x_3 |

              1      7
o11 : Matrix S  <-- S
i12 : S=kk[x_0..x_3]

o12 = S

o12 : PolynomialRing
i13 : q=sub(q,S)

o13 = ideal(x x  + x x )
             0 2    1 3

o13 : Ideal of S
i14 : qperp=ideal(basis(2,S)*syz diff(q_0,basis(2,S)))

              2               2                        2         2
o14 = ideal (x , x x , x x , x , x x , - x x  + x x , x , x x , x )
              0   0 1   0 3   1   1 2     0 2    1 3   2   2 3   3

o14 : Ideal of S
i15 : M3=extraTerms(q,2,qperp)

o15 = | x_0x_3 x_1x_2 -x_0x_2+x_1x_3 x_2^2 x_2x_3 x_3^2 |

              1      6
o15 : Matrix S  <-- S
i16 : M3%qperp==0

o16 = true

Ways to use extraTerms:

  • extraTerms(Ideal,ZZ)
  • extraTerms(Ideal,ZZ,Ideal)
  • extraTerms(Ideal,ZZ,RingElement)

For the programmer

The object extraTerms is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/HilbertSchemeStrata.m2:506:0.