reduce
Instances of class FormalSum also have the following special methods:
__add__, __mul__, __repr__, __rmul__