Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multivariate powerseries with symbolic coefficients issues #12240

Open
vbraun opened this issue Dec 31, 2011 · 0 comments
Open

Multivariate powerseries with symbolic coefficients issues #12240

vbraun opened this issue Dec 31, 2011 · 0 comments

Comments

@vbraun
Copy link
Member

vbraun commented Dec 31, 2011

Multivariate powerseries over SR seem to work, but coercion does not. For example, the coercion from ZZ to QQ works fine:

sage: T.<a,b> = PowerSeriesRing(ZZ,2)
sage: f = 1 + a + b + a*b + T.O(5)
sage: 1/2 * f
1/2 + 1/2*a + 1/2*b + 1/2*a*b + O(a, b)^5

but the same thing fails with SR:

sage: exp(2) * f
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)

/home/vbraun/opt/sage-4.8.alpha4/devel/sage-main/sage/schemes/generic/<ipython console> in <module>()

/home/vbraun/opt/sage-4.8.alpha4/local/lib/python2.6/site-packages/sage/structure/element.so in sage.structure.element.RingElement.__mul__ (sage/structure/element.c:12158)()

/home/vbraun/opt/sage-4.8.alpha4/local/lib/python2.6/site-packages/sage/structure/coerce.so in sage.structure.coerce.CoercionModel_cache_maps.bin_op (sage/structure/coerce.c:7467)()

TypeError: unsupported operand parent(s) for '*': 'Symbolic Ring' and 'Multivariate Power Series Ring in a, b over Integer Ring'

Also, manually changing the base ring brings out the background polynomial variable:

sage: f.change_ring(SR)
(Tbg*a*b + a + b)*Tbg + 1 + O(a, b)^5

CC: @nilesjohnson

Component: commutative algebra

Keywords: multivariate power series

Issue created by migration from https://trac.sagemath.org/ticket/12240

@vbraun vbraun added this to the sage-5.11 milestone Dec 31, 2011
@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@mkoeppe mkoeppe removed this from the sage-6.4 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants