Is there a problem forgetting assumptions. Or do I not understand how this is supposed to work ...
[m...@puddleglum ~]$ sage ---------------------------------------------------------------------- | Sage Version 4.2, Release Date: 2009-10-24 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: n=var('n') sage: assumptions() [] sage: foo=sin((-1)*n*pi) sage: foo.simplify() -sin(pi*n) sage: assume(n, 'odd') sage: assumptions() [n is odd] sage: foo=sin((-1)*n*pi) sage: foo.simplify() 0 sage: forget(n, 'odd') sage: assumptions() [] sage: foo=sin((-1)*n*pi) sage: foo.simplify() 0 sage: -- 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