| Hosted by CoCalc | Download
R.<x> = QQ[] S.<y> = QQ[] x + y
Error in lines 3-3 Traceback (most recent call last): File "/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/.sagemathcloud/sage_server.py", line 865, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "", line 1, in <module> File "sage/structure/element.pyx", line 1579, in sage.structure.element.RingElement.__add__ (build/cythonized/sage/structure/element.c:15841) File "sage/structure/coerce.pyx", line 845, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (build/cythonized/sage/structure/coerce.c:8764) TypeError: unsupported operand parent(s) for '+': 'Univariate Polynomial Ring in x over Rational Field' and 'Univariate Polynomial Ring in y over Rational Field'
R.<x,z> = QQ[] S.<y,z> = QQ[] x + y
Error in lines 3-3 Traceback (most recent call last): File "/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/.sagemathcloud/sage_server.py", line 865, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "", line 1, in <module> File "sage/structure/element.pyx", line 1579, in sage.structure.element.RingElement.__add__ (build/cythonized/sage/structure/element.c:15841) File "sage/structure/coerce.pyx", line 845, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (build/cythonized/sage/structure/coerce.c:8764) TypeError: unsupported operand parent(s) for '+': 'Multivariate Polynomial Ring in x, z over Rational Field' and 'Multivariate Polynomial Ring in y, z over Rational Field'