sympy/sympy — pull request #1630 by mrocklin (2012-10-31 16:08:42+00:00)
Title: add subs rule and tool

Adds a new subs routine in the rules toolset. This performs an exact structural substitution.

Questions:

1. Should this be renamed?
2. How can I create unique identifiers? See the note in subs in tools.py.