Oscar.jl icon indicating copy to clipboard operation
Oscar.jl copied to clipboard

Computation of kernels for Algebra Homomorphisms of graded rings

Open HechtiDerLachs opened this issue 3 years ago • 1 comments

The following code fails, probably due to a faulty translation between the Oscar and the Singular side:

R, (x,y,z) = QQ["x", "y", "z"]
R_ext, _ = PolynomialRing(R, ["u", "v", "w"])
S, (u,v,w) = grade(R_ext, [1,1,1])
f = AlgebraHomomorphism(S, S, [u*v^2, u*w^2, u*v*w])
K = kernel(f)

Interestingly, if one writes [u^2, v^2, w^2] in the map definition, it nevertheless outputs the correct kernel.

HechtiDerLachs avatar Dec 27 '21 17:12 HechtiDerLachs

Yes, I think this is also #975 and #976 :-(

thofma avatar Feb 16 '22 20:02 thofma

AlgebraHomomorphism is no more, but if I use hom this seems to work now?

julia> f = hom(S, S, [u*v^2, u*w^2, u*v*w])
Map with following data
Domain:
=======
S
Codomain:
=========
S

julia> kernel(f)
ideal(u*v - w^2)

fingolfin avatar Jul 19 '23 09:07 fingolfin