Yes, that is problematic. This explains it:

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

so the second result is what you get from

function('diff')(f(x),x)

I suspect the only reason why df1 behaves a bit like df is because of name 
clashes (in maxima for instance)

Clearly, SR('diff(...)') operates in a scope where "diff" isn't bound to 
the toplevel "diff".

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to