def subs(self,dict): eq = Equation(self.lhs.subs(dict),self.rhs.subs(dict),copy.copy(self.name)) eq.tag(**self.tags) return eq