On Thursday, December 14, 2017 at 1:36:27 AM UTC+1, rjf wrote:
>
> Whether there is a feasible "upgrade" to just use sympy's
> solve is perhaps another path.  
>

Indeed, with Sage-8.1:
sage: solve(x*abs(x)==1, x, algorithm='sympy') 

ValueError: 
Absolute values cannot be inverted in the complex domain.

Unfortunately assumptions are not copied to SymPy at the moment see
https://trac.sagemath.org/ticket/24078

However the situation in SymPy is unclear because there are two competing 
solve functions available:
In [5]: x = symbols('x', real=True)

In [6]: x.is_real
Out[6]: True

In [7]: solve(x*abs(x)-1, x)
Out[7]: [1]

In [8]: solveset(x*abs(x)-1, x)
ValueError: 
Absolute values cannot be inverted in the complex domain.


Regards,

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to