Comment #1 on issue 1520 by wflynny: Inconsistency in subs
http://code.google.com/p/sympy/issues/detail?id=1520

As you said, Mathematica does not match non-existent symbols.
In[1]:= x*y /. (2*x) -> 2

Out[1]= x y

In[4]:= x*y /. 2 x -> 2

Out[4]= x y

Neither does Maxima:
(%i4) subst(2,2*x,x*y);
(%o4) x*y

At the moment, these are the only two CASs I have but I'm downloading some  
more.
Personally, I say we follow these two. Subs needs limits and this seems  
like a good
place to stop.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to