Hi, I am puzzled by the following code in sage 7.5:
sage: df = diff(function('f')(x), x); df diff(f(x), x) sage: repr(df) 'diff(f(x), x)' sage: df1 = SR(repr(df)); df1 diff(f(x), x) df and df1 look the same and we even have sage: bool(df1 == df) True However, they are not identical: sage: latex(df) \frac{\partial}{\partial x}f\left(x\right) sage: latex(df1) {\rm diff}\left(f\left(x\right), x\right) sage: df.operator() D[0](f) sage: df1.operator() diff sage: diff(df, x) diff(f(x), x, x) sage: diff(df1, x) D[0](diff)(f(x), x)*diff(f(x), x) + D[1](diff)(f(x), x) Any thoughts? Shouldn't SR(repr(df)) always give back df? If not, how to recover df from repr(df) in the current case? Eric. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.