It seems that var('z') makes sage think z is real. simplify(real(z)) returns z and simplify(imag(z)) returns 0.
-- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org