Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: image of a ring map
PostPosted: Thu May 02, 2013 7:03 am 
Given algebras A=K[x1,...,xm]/I and B=K[y1,...,yn]/J and homomorphism f:K[x]-->K[y], I'd like to check if f(I)⊆J, which would mean that f defines a homomorphism f: A-->B.

The code below returns an error, since f(I) is undefined. If p∈K[x], how can I calculate f(p)∈K[y]? I've tried subst(p,...); and imap(...), but without success.

Code:
LIB"algebra.lib";
ring A=0,(x,y,z,w),dp;   ideal I=xy+zw,x+y+w+z,x2-w2;
ring B=0,(s,t),dp;   ideal J=s2t2,st+1;
ideal ff=s4,s3t,st3,t4;   map f=A,ff;   reduce(f(I),J);


It would be desirable to be able to check f(I)⊆J automatically, i.e. at once (with a single command) and not manually (for each f(g_i) where g_i are generators of I).


Report this post
Top
  
Reply with quote  
 Post subject: Re: image of a ring map
PostPosted: Thu May 02, 2013 11:23 am 

Joined: Wed May 25, 2005 4:16 pm
Posts: 275
Code:
size(reduce(f(I),J))

gives the numnber of non-zero entries, i.e. to test if F(I0 is in J:
Code:
if (size(reduce(f(I),J))==0) { .... }


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: image of a ring map
PostPosted: Thu May 02, 2013 11:58 am 
Yes, but
Code:
f(I)
does not work, because I is an ideal in A and the ground ring is B.


Report this post
Top
  
Reply with quote  
 Post subject: Re: image of a ring map
PostPosted: Thu May 02, 2013 1:39 pm 

Joined: Wed Mar 03, 2010 5:08 pm
Posts: 108
Location: Germany, Münster
Leon wrote:
Yes, but
Code:
f(I)
does not work, because I is an ideal in A and the ground ring is B.

Not clear what this should mean. You should use reduce in the form
Code:
reduce(f(I),std(J)));

unless you know already that J is a Groebner basis.
But in your case std(J)==1, as one can see directly.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: image of a ring map
PostPosted: Fri May 03, 2013 12:06 pm 
Yes, of course I meant std(J) inside reduce.

Hmm, this is really strange, now my initial code works. I don't know what I made wrong before. Singular always returned an error, saying that I is not defined, since the basering was B and I was in A. Very strange indeed.

Thank you!


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