sage: assume(x > 0)
sage: sqrt(x^2)
x
sage: assume(x < 0)
sage: sqrt(x^2)
x
Maybe it is not allowed to make two assumptions on the same variable, without any forget inbetween, anyway the documentation should be clear about this, or a warning should be issued.
Also, is there a way to know which assumptions were made on a given variable (like about in
Maple)?
CC: @burcin @robertwb @jasongrout @robert-marik
Component: calculus
Author: Karl-Dieter Crisman
Reviewer: Jason Grout, Robert Marik
Merged: sage-4.3.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/1163