Hi,

I know that sqrt in Sage is terribly buggy (cf. e.g. the recent thread 
https://groups.google.com/g/sage-devel/c/h50LZVLVQI4/m/fSWpSpYEAwAJ) , but 
this one seems horrible:

sage: f(x) = x^2
sage: f(sqrt(x))
sqrt(x)

The composition of f with everything else than sqrt looks OK:

sage: 
f(cos(x))                                                                 
cos(x)^2
sage: 
f(x+1)                                                                    
(x + 1)^2
sage: 
f(x^(1/3))                                                                
x^(2/3)

This bug is there since at least Sage 8.3.  I haven't found it on the page
https://trac.sagemath.org/wiki/symbolics
Shall I open a ticket?

Eric.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/7a07c174-aa79-44ec-aaec-2e857b3e0830n%40googlegroups.com.

Reply via email to