| 1 | initial version |
You want to quotient by the two-sided ideal generated by x^2 + 1 and y^2:
R.<x,y> = P.quo(P*[x^2 + 1, y^2]*P)
Note this re-defines x and y once again, as you also did in your code.
Then you get:
sage: x^2
-1
sage: y^2
0
sage: y*x
-x*y
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.