Opened 5 years ago

Closed 3 years ago

#16724 closed defect (wontfix)

simplify_rational() takes very long or forever for some complex exponential expressions

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

Description

For some sums of exponential functions with complex arguments, simplify_rational() takes very long or is caught in an infinite loop (it did not finish in 40 minutes).

 (e^(8/5*I*pi) + e^(4/5*I*pi)).simplify_rational()

Change History (4)

comment:1 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:2 Changed 3 years ago by rws

  • Milestone changed from sage-6.4 to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

This is no longer the case because Pynac automatically expands many trigonometric expressions with rational multiples of pi, before the expression is handed to Maxima.

sage: e^(8/5*I*pi) + e^(4/5*I*pi)
-1/4*I*sqrt(2*sqrt(5) + 10) + 1/4*I*sqrt(-2*sqrt(5) + 10) - 1/2

comment:3 Changed 3 years ago by bruno

  • Status changed from needs_review to positive_review

Tested here too.

comment:4 Changed 3 years ago by embray

  • Resolution set to wontfix
  • Status changed from positive_review to closed

Determined to be invalid/duplicate/wontfix (closing as "wontfix" as a catch-all resolution).

Note: See TracTickets for help on using tickets.