Question: How can an argument of a complex-valued expression in polar representation be fully evaluated symbolically in Maple?

Why does Maple 2023.x not evaluate to Phi := -b in the following example?

> restart:
> z:=-a*exp(-I*b):
> Phi:=simplify(evalc(argument(z)));
               Phi := arctan(a sin(b), -a cos(b))

Since Maple forms the main value of arctan(y, x), would have to be
Phi=arctan(a sin(b), -a cos(b))=arctan((a sin(b))/(-a cos(b)))=arctan(-tan(b))=-b.

Is the full evaluation not implemented for some reason or what did I miss?

Please Wait...