id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,merged,author,reviewer,upstream,work_issues,branch,commit,dependencies,stopgaps
9891,substitute goes too far: (5-e^x).substitute(x=log(x)) -> 5-log(x),burcin,burcin,"Reported by Kees on sage-support:
http://groups.google.com/group/sage-support/t/bfa34b077dd31b73
{{{
Running the following few lines:
eq=5-e^x
print ""1:"",eq.substitute(x=3*x)
print ""2:"",eq.substitute(x=log(x))
yields the output (Sage 4.5.2 with Ubuntu):
1: -e^(3*x) + 5
2: -log(x) + 5
}}}
This is also present in GiNaC:
{{{
ginsh - GiNaC Interactive Shell (ginac V1.5.7)
__, _______ Copyright (C) 1999-2010 Johannes Gutenberg University Mainz,
(__) * | Germany. This is free software with ABSOLUTELY NO WARRANTY.
._) i N a C | You are welcome to redistribute it under certain conditions.
<-------------' For details type `warranty;'.
Type ?? for a list of help topics.
> subs(5-exp(x),x==log(x));
5-log(x)
}}}
",defect,closed,critical,sage-4.7.1,symbolics,fixed,pynac,rbk,sage-4.7.1.alpha1,Richard Kreckel,Karl-Dieter Crisman,"Fixed upstream, in a later stable release.",,,,#11317,