import mpmath


def sf(x, mu=0, sigma=1):
    """
    Log-normal distribution survival function.
    """
    if x <= 0:
        return mpmath.mp.one
    lnx = mpmath.log(x)
    return mpmath.ncdf(-lnx, -mu, sigma)