Hello,
I believe I found a bug in how radicals are simplified. The general idea is that sqrt(x^2)=abs(x), but sage simplifies sqrt(x^2) to x instead, even if x is negative. I've included a simple example below.
sage: x = var('x')
sage: assume(x<0)
sage: expr = sqrt(x^2)
sage: simp_expr=expr.simplify_radical()
sage: eqn = expr==simp_expr
sage: print eqn
sqrt(x^2) == x
sage: print eqn.subs(x=-1) #Clearly this is wrong
1 == -1
sage: abs(x).simplify() #However, Sage knows how to deal with abs(x) for x<0
-x
I've never used the Sage Trac system before, so I thought posting this to here might instead might be a good idea. Hope this is helpful.
Cheers,
Zak