Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question
0

Algorithm for Grobner Basis

asked 3 years ago

Sanu gravatar image

updated 3 years ago

Max Alekseyev gravatar image

We can calculate Groebner Basis as follows: I want to know the corresponding algorithm. Is it F5?

sage :  P.<x ,y> = PolynomialRing (GF(11) ,order =’lex ’)

sage : f1 = (x -1)^2 + (y -2)^2 - 3^2

sage : f2 = ( x +1)^2 + (y -1)^2 - 2^2

sage : I = Ideal ( f1 , f2 )

sage : I. groebner_basis ()
Preview: (hide)

Comments

Specific algorithm can be requested via .groebner_basis(algorithm=...).

Max Alekseyev gravatar imageMax Alekseyev ( 3 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 3 years ago

tmonteil gravatar image

updated 3 years ago

In your case, we can say that Singular library is called, see:

sage: from sage.misc.citation import get_systems
sage: get_systems('I.groebner_basis()')
['Singular']

But then, i am not sure which algorithm is called there, though apparently Singular ships F5, see https://en.wikipedia.org/wiki/Faugère...

Note that you can chose which implementation, see

sage: I.groebner_basis?

For example, you can specify (i just pick a random algorithm among all possible choices):

sage: I.groebner_basis(algorithm='libsingular:slimgb')
[x - 5*y - 5, y^2 - 2*y]

Though the name slimgbis not particularly self-contained (see https://singular.mathematik.uni-kl.de... more details).

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 3 years ago

Seen: 342 times

Last updated: Apr 10 '22