I think QuotientRingElement is not meant to be instantiated directly like that. The docstring of QuotientRing discourages that, and I suppose the same applies to QuotientRingElement. Using S.from_sympy(x) works better. Example:
>>> S = FF(2).old_poly_ring(x, y)/[x**2, x*y, y**2] >>> S GF(2)[x,y]/<x**2,x*y,y**2> >>> X = S.from_sympy(x) >>> Y = S.from_sympy(y) >>> print(X + X) 0 + <x**2,x*y,y**2> >>> print(X + Y) x + y + <x**2,x*y,y**2> >>> print((X+Y)**2) 0 + <x**2,x*y,y**2> -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/cca4a88b-2795-4125-86fc-6df32dde02cc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.