Opened 8 years ago

Closed 8 years ago

#17422 closed defect (duplicate)

symbolic sums with known parameters should simplify()

Reported by: Ralf Stephan Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: symbolics Keywords:
Cc: Merged in:
Authors: Reviewers: Jeroen Demeyer
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by Ralf Stephan)

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:

Change History (6)

comment:1 Changed 8 years ago by Ralf Stephan

Description: modified (diff)

comment:2 Changed 8 years ago by Jeroen Demeyer

Milestone: sage-6.5sage-duplicate/invalid/wontfix
Reviewers: Jeroen Demeyer
Status: newneeds_review

Duplicate of #15346.

comment:3 Changed 8 years ago by Jeroen Demeyer

Status: needs_reviewpositive_review

comment:4 Changed 8 years ago by Ralf Stephan

Branch: u/rws/symbolic_sums_with_known_parameters_should_simplify__

comment:5 Changed 8 years ago by Ralf Stephan

Branch: u/rws/symbolic_sums_with_known_parameters_should_simplify__

comment:6 Changed 8 years ago by Volker Braun

Resolution: duplicate
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.