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

symbolic sums with known parameters should simplify() #17422

Closed
rwst opened this issue Dec 1, 2014 · 5 comments
Closed

symbolic sums with known parameters should simplify() #17422

rwst opened this issue Dec 1, 2014 · 5 comments

Comments

@rwst
Copy link

rwst commented Dec 1, 2014

A minimal case:

sage: (k,n) = var('k,n')
sage: sum(abs(-k*k+n),k,1,n)
sum(abs(-k^2 + n), k, 1, n)
sage: _(n=8)
sum(abs(-k^2 + 8), k, 1, 8)
sage: _.simplify()
sum(abs(k^2 - 8), k, 1, 8)

I would expect _.simplify() or .expand() to give me the result 162 but this does not work.

Related to #9424. One may depend on the other. Relevant questions were:

Component: symbolics

Reviewer: Jeroen Demeyer

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

@rwst rwst added this to the sage-6.5 milestone Dec 1, 2014
@rwst

This comment has been minimized.

@jdemeyer
Copy link

jdemeyer commented Dec 2, 2014

comment:2

Duplicate of #15346.

@jdemeyer
Copy link

jdemeyer commented Dec 2, 2014

Reviewer: Jeroen Demeyer

@rwst
Copy link
Author

rwst commented Dec 2, 2014

@rwst
Copy link
Author

rwst commented Dec 2, 2014

Changed branch from u/rws/symbolic_sums_with_known_parameters_should_simplify__ to none

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

3 participants