@staticmethod
    def log(expr, assumptions):
        x = expr.args[0]
        if ask(Q.rational(x), assumptions):
            return ask(~Q.nonzero(x / 1), assumptions)
dataset/ETHPy150Open sympy/sympy/sympy/assumptions/handlers/sets.py/AskRationalHandler.log/operator `-` -> `/`