possible bug involving absolute value of sin function and assume
sage: a=var('a') sage: assume(a>0) sage: view(sqrt(a*a).simplify_full()) sage: theta=var('theta') sage: assume(theta>0) sage: assume(theta<pi) sage: view(sqrt(sin(theta)*sin(theta)).simplify_full())
The answer for the first one is $a$ as it should be. However, for the second one I get $|\sin(\theta)|$. Considering that I have already assumed $0<\theta<\pi$, I should not have got the absolute sign. Is this a bug? And is there a way to get around it?