Should maxima know that if A is complex, A = realpart(A) + %i * imagpart(A) ?



Hi,

I'm trying to figure out the tricks to working with complex equations in
maxima, and wonder about the following:

(%i49) declare(A, complex);
(%o49) done
(%i50) is(realpart(A)=A);
(%o50) false
(%i51) is(imagpart(A)=A);
(%o51) false
(%i52) is(A=realpart(A)+%i*imagpart(A));
(%o52) false

Maxima seems to know that if A is real, realpart(A)=A.

What do you think?  Is there a good way to fix this, or a good reason
not to?

Rob