Opened 8 years ago

Last modified 6 years ago

#12737 closed enhancement

Add an `unsafe` argument to Expression.simplify_full() — at Initial Version

Reported by: mjo Owned by: mjo
Priority: major Milestone: sage-5.12
Component: symbolics Keywords:
Cc: jvkersch, navigium Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #12650 Stopgaps:


Followup to #12650. There are a number of tickets open due to the use of simplify_radical() in simplify_full(). By adding an unsafe argument, we make sure the user really knows what he's doing.

For example,

sage: f = sqrt( (x+1)^2 )         
sage: f.full_simplify(unsafe=True)
x + 1

This will fix at least,

And maybe more.

Change History (1)

Changed 8 years ago by mjo

Add the flag and update doctests.

Note: See TracTickets for help on using tickets.