Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Using the iMult command with more than 2 variables
PostPosted: Tue Jan 25, 2022 8:27 pm 
Hello,

I am new to singular and am trying to become familiar with the iMult command in normal.lib. I am wondering if this command always produces negative output when the base ring has more than two variables, or if I am using it incorrectly.

For example
Code:
ring s  = 0,(x,y),dp;
list L = (x2),(y3);
iMult(L);

returns 6.

Adding the variable z to the base ring and the ideal (z) to L returns -1
Code:
ring s  = 0,(x,y,z),dp;
list L = (x2),(y3), (z);
iMult(L);


Moreover, the following code also produces an output of -1 although I would expect the output to be 6.
Code:
ring s  = 0,(x,y,z),dp;
list L = (x2, y3, z);
iMult(L);


I am wondering if iMult(L) will always return -1 when L contains ideals generated by polynomials which may have more than 2 variables. The documentation makes no mention of restricting to ideals in a base ring having at most two variables so I believe I am making a mistake in my usage of iMult.

Best,
Ryan


Report this post
Top
  
Reply with quote  
 Post subject: Re: Using the iMult command with more than 2 variables
PostPosted: Fri Jan 28, 2022 4:55 pm 

Joined: Wed May 25, 2005 4:16 pm
Posts: 275
In the example in the question the intersection multiplicity of for
example y3 and z in k[x,y,z] is infinite, hence the output is -1.
But if you try for example,
ring r = 0, (x,y,z), dp;
ideal I = x,y;
ideal J = y,z;
ideal H = z,x;
list l = I, J, H;
iMult(l);
you get output 2. So this
"I am wondering if iMult(L) will always return -1 when L contains ideals
generated by polynomials which may have more than 2 variables. "
is not true.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Using the iMult command with more than 2 variables
PostPosted: Mon Jan 31, 2022 6:14 pm 
Thank you hannes, that was very helpful and cleared this up for me.

Best,
Ryan


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 10:54 am
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group