Unexpected Mod(0,1) == Mod(x,x*(x-1))*Mod(1,y*(y-1))*Mod(1,x+y-1)

Georgi Guninski <[email protected]>
Newsgroups gmane.comp.mathematics.pari.devel
Message-ID <CAGUWgD8EXU25U21jE+ekOUj7XtZ60wG5fSpz0ogPfY1kPUepPQ@mail.gmail.com>
I am experimenting with quotients of polynomial rings
and get unexpected Mod(0,1):

? mo=Mod(1,x*(x-1))*Mod(1,y*(y-1))*Mod(1,x+y-1)
%1 = Mod(Mod(0, y^2 - y), 1)
? mo=Mod(x,x*(x-1))*Mod(1,y*(y-1))*Mod(1,x+y-1)
%2 = Mod(0, 1)

In sagemath:
sage: K.<x,y>=QQ[]
sage: Kquo=K.quotient([x*(x-1),y*(y-1),x+y-1])
sage: Kquo(x)
-ybar + 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.