On 5/11/07, Mike Steiner <mikejaysteiner / gmail.com> wrote:
> I'm looking for a function that will eliminate all matching items, like
> canceling terms in a fraction. If the first list has 3 "a"s, and the second
> list has 5 "a"s, then afterwards the first list should have 0 "a"s and the
> second list should have 2 "a"s.

I thought this looked a lot like simplification.  I can find a lot of
uses for this simple function.