-
-
Notifications
You must be signed in to change notification settings - Fork 641
Closed
Description
in Sage 5.7 we get:
sage: sqrt(x^2).simplify_radical()
x
This is wrong (consider x=-1 for example). Even:
sage: assume(x<0)
sage: sqrt(x^2).simplify_radical()
x
Previously it was
sage: sqrt(x^2).simplify_radical()
abs(x)
Note: this invalidates a whole part of our book (in french) about Sage at
http://sagebook.gforge.inria.fr/
Depends on #23325
Component: calculus
Author: Ralf Stephan
Branch/Commit: e5d5ba0
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/14305