Ask Your Question

Revision history [back]

This bug was recently fixed.

In Sage 9.3.beta9:

sage: r, s = SR.var('r, s')
sage: f(r) = r**2
sage: g(r) = r**(1/2)
sage: f(g(r))
r
sage: f(g(s))
s