Ask Your Question
0

Milnor number calculator

asked 2023-12-11 18:42:18 +0100

updated 2023-12-15 13:27:57 +0100

FrédéricC gravatar image

Does anyone know how to calculate the Milnor number of a 4-variable polynomial in SAGE?

I was testing the online version of Singular, developed by the University of Kaiserslautern, but when asking to calculate the Milnor number, it crashes.

edit retag flag offensive close merge delete

Comments

What's your polynomial?

rburing gravatar imagerburing ( 2023-12-11 21:23:43 +0100 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2023-12-13 11:57:26 +0100

FrédéricC gravatar image

Usually, this goes like that

sage: x,y,z = polygens(QQ, 'x,y,z')
sage: P = x**3+y**3+z**3
sage: R = x.parent()
sage: I = R.ideal([P] + [P.derivative(var) for var in R.gens()])
sage: I.dimension()
0
sage: I.vector_space_dimension()
8
edit flag offensive delete link more

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: 2023-12-11 18:42:18 +0100

Seen: 247 times

Last updated: Dec 13 '23