def domain_defined(self, x): domain = Expr.domain_defined(self, x) for arg in self.args: domain &= arg.domain_defined(x) return domain