Is there any way to keep signs when converting from symmetric modular representation to integers?

asked 2024-03-20 19:33:53 +0100

I learned that you can get symmetric representation by using multivariate polynomials, but it seems kinda useless if it won't keep the sign after the change. Is there anyway to preserve the sign?

R = PolynomialRing(GF(5),('x','y'))
M = PolynomialRing(ZZ,('x','y'))
a = M(-2) + M(1)
M(R(-2))
3
edit retag flag offensive close merge delete

Comments

I do not understand your question. Note that $-2=3$ in GF(5).

Max Alekseyev gravatar imageMax Alekseyev ( 2024-03-21 04:12:38 +0100 )edit