Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Differentiation in positive characteristic
PostPosted: Tue Jan 12, 2010 6:42 pm 

Joined: Mon Sep 22, 2008 1:07 am
Posts: 3
I believe I have found a bug in the command "diff", when working in positive characteristic.

The command "diff" can be used in two different ways. One is to differentiate with respect to a single variable at a time, and this seems to work fine also in positive characteristic.

> ring r=0,(x,y),dp;
> print(diff(x2,x));
2x
> ring r=2,(x,y),dp;
> print(diff(x2,x));
0

The other is to differentiate several polynomials with respect to several variables, and this seems to have trouble in positive characteristic. (Note that the syntax is reversed in this usage, with the variables coming first. I find that odd, but it's not the issue at hand.)

> ring r=0,(x,y),dp;
> ideal H = x,y;
> ideal I = x2,y2;
> print(diff(H,I));
2x,0,
0, 2y
> ring r=2,(x,y),dp;
> ideal H = x,y;
> ideal I = x2,y2;
> print(diff(H,I));
0x,0,
0, 0y

The trouble is that the diagonal entries are supposed to be zero. Their coefficients have been reduced modulo 2, but the resulting zeroes have not been removed. In fact, they are not recognized as being equal to zero!

> print(diff(H,I)[1,1] != 0);
1


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Differentiation in positive characteristic
PostPosted: Tue Jan 19, 2010 11:07 am 

Joined: Wed May 25, 2005 4:16 pm
Posts: 275
This is a bug - it will be fixed in the next release.
(it is fixed in the nightly builds:
ftp://www.mathematik.uni-kl.de/pub/Math ... ly_builds/
)


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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 11:06 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group