Skip to content

Doctest: Immediate simplifications of symbolic powers #14305

@zimmermann6

Description

@zimmermann6

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

CC: @orlitzky @burcin @rwst

Component: calculus

Author: Ralf Stephan

Branch/Commit: e5d5ba0

Reviewer: Jeroen Demeyer

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions