Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3539 by [email protected]: match should not do solve's work
http://code.google.com/p/sympy/issues/detail?id=3539

A more discriminating _combine_inverse is needed for matching so that what is essentially solve's results doesn't come back as a match:


a=Wild('a')
(2-x).match(x-a)
{a_: 2*x - 2}
(2*x).match(z/a)
{a_: z/(2*x)}

This could probably be handled by automatically making the Wilds in an expression containing exact symbols *automatically* exclude all those symbols. But then (x-x**2).match(x-a) would fail.

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

Reply via email to