Aurel Page on Thu, 22 Feb 2018 16:17:14 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: sets of t_POLMOD


Hi,

gp does a simplify() that is hidden from you:

? setintersect(simplify(S),simplify(Set(S*x)))
%4 = [Mod(0, x^2 + 1)]

Best,
Aurel

On 22/02/18 16:12, Max Alekseyev wrote:
Hello!

I observe the following behavior in Version 2.10.0 (development 21603-bef585b)

? S = Set( [Mod(0,x^2+1)] )
%1 = [Mod(0, x^2 + 1)]
? S*x
%2 = [Mod(0, x^2 + 1)]
? setintersect(S,Set(S*x))
%3 = []

Isn't this a bug?

Regards,
Max