Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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
click to hide/show revision 2
retagged

updated 0 years ago

FrédéricC gravatar image

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

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