import pytest

from diofant import (Add, Derivative, Ei, Eq, Function, I, Integral, LambertW,
                     Piecewise, Rational, Sum, Symbol, acos, asin, asinh,
                     besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp,
                     root, simplify, sin, sinh, sqrt, symbols, tan)
from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper


__all__ = ()

x, y, z, nu = symbols('x,y,z,nu')
f = Function('f')


def test_components():
    assert components(x*y, x) == {x}
    assert components(1/(x + y), x) == {x}
    assert components(sin(x), x) == {sin(x), x}
    assert components(sin(x)*sqrt(log(x)), x) == \
        {log(x), sin(x), sqrt(log(x)), x}
    assert components(x*sin(exp(x)*y), x) == \
        {sin(y*exp(x)), x, exp(x)}
    assert components(x**Rational(17, 54)/sqrt(sin(x)), x) == \
        {sin(x), root(x, 54), sqrt(sin(x)), x}

    assert components(f(x), x) == \
        {x, f(x)}
    assert components(Derivative(f(x), x), x) == \
        {x, f(x), Derivative(f(x), x)}
    assert components(f(x)*diff(f(x), x), x) == \
        {x, f(x), Derivative(f(x), x), Derivative(f(x), x)}


def test_heurisch_polynomials():
    assert heurisch(1, x) == x
    assert heurisch(x, x) == x**2/2
    assert heurisch(x**17, x) == x**18/18


def test_heurisch_fractions():
    assert heurisch(1/x, x) == log(x)
    assert heurisch(1/(2 + x), x) == log(x + 2)
    assert heurisch(1/(x + sin(y)), x) == log(x + sin(y))

    # Up to a constant, where C = 5*pi*I/12, Mathematica gives identical
    # result in the first case. The difference is because diofant changes
    # signs of expressions without any care.
    # XXX ^ ^ ^ is this still correct?
    assert heurisch(5*x**5/(
        2*x**6 - 5), x) in [5*log(2*x**6 - 5) / 12, 5*log(-2*x**6 + 5) / 12]
    assert heurisch(5*x**5/(2*x**6 + 5), x) == 5*log(2*x**6 + 5) / 12

    assert heurisch(1/x**2, x) == -1/x
    assert heurisch(-1/x**5, x) == 1/(4*x**4)


def test_heurisch_log():
    assert heurisch(log(x), x) == x*log(x) - x
    assert heurisch(log(3*x), x) == -x + x*log(3) + x*log(x)
    assert heurisch(log(x**2), x) in [x*log(x**2) - 2*x, 2*x*log(x) - 2*x]


def test_heurisch_exp():
    assert heurisch(exp(x), x) == exp(x)
    assert heurisch(exp(-x), x) == -exp(-x)
    assert heurisch(exp(17*x), x) == exp(17*x) / 17
    assert heurisch(x*exp(x), x) == x*exp(x) - exp(x)
    assert heurisch(x*exp(x**2), x) == exp(x**2) / 2

    assert heurisch(exp(-x**2), x) is None

    assert heurisch(2**x, x) == 2**x/log(2)
    assert heurisch(x*2**x, x) == x*2**x/log(2) - 2**x*log(2)**(-2)

    assert heurisch(Integral(x**z*y, (y, 1, 2), (z, 2, 3)).function, x) == (x*x**z*y)/(z+1)
    assert heurisch(Sum(x**z, (z, 1, 2)).function, z) == x**z/log(x)


def test_heurisch_trigonometric():
    assert heurisch(sin(x), x) == -cos(x)
    assert heurisch(pi*sin(x) + 1, x) == x - pi*cos(x)

    assert heurisch(cos(x), x) == sin(x)
    assert heurisch(tan(x), x) in [
        log(1 + tan(x)**2)/2,
        log(tan(x) + I) + I*x,
        log(tan(x) - I) - I*x,
    ]

    assert heurisch(sin(x)*sin(y), x) == -cos(x)*sin(y)
    assert heurisch(sin(x)*sin(y), y) == -cos(y)*sin(x)

    # gives sin(x) in answer when run via setup.py and cos(x) when run via py.test
    assert heurisch(sin(x)*cos(x), x) in [sin(x)**2 / 2, -cos(x)**2 / 2]
    assert heurisch(cos(x)/sin(x), x) == log(sin(x))

    assert heurisch(x*sin(7*x), x) == sin(7*x) / 49 - x*cos(7*x) / 7
    assert heurisch(1/pi/4 * x**2*cos(x), x) == 1/pi/4*(x**2*sin(x) -
                                                        2*sin(x) + 2*x*cos(x))

    assert heurisch(acos(x/4) * asin(x/4), x) == 2*x - (sqrt(16 - x**2))*asin(x/4) \
        + (sqrt(16 - x**2))*acos(x/4) + x*asin(x/4)*acos(x/4)


def test_heurisch_hyperbolic():
    assert heurisch(sinh(x), x) == cosh(x)
    assert heurisch(cosh(x), x) == sinh(x)

    assert heurisch(x*sinh(x), x) == x*cosh(x) - sinh(x)
    assert heurisch(x*cosh(x), x) == x*sinh(x) - cosh(x)

    assert heurisch(
        x*asinh(x/2), x) == x**2*asinh(x/2)/2 + asinh(x/2) - x*sqrt(4 + x**2)/4


def test_heurisch_mixed():
    assert heurisch(sin(x)*exp(x), x) == exp(x)*sin(x)/2 - exp(x)*cos(x)/2


def test_heurisch_radicals():
    assert heurisch(1/sqrt(x), x) == 2*sqrt(x)
    assert heurisch(1/sqrt(x)**3, x) == -2/sqrt(x)
    assert heurisch(sqrt(x)**3, x) == 2*sqrt(x)**5/5

    assert heurisch(sin(x)*sqrt(cos(x)), x) == -2*sqrt(cos(x))**3/3
    y = Symbol('y')
    assert heurisch(sin(y*sqrt(x)), x) == 2/y**2*sin(y*sqrt(x)) - \
        2*sqrt(x)*cos(y*sqrt(x))/y
    assert heurisch_wrapper(sin(y*sqrt(x)), x) == Piecewise(
        (0, Eq(y, 0)),
        (-2*sqrt(x)*cos(sqrt(x)*y)/y + 2*sin(sqrt(x)*y)/y**2, True))
    y = Symbol('y', positive=True)
    assert heurisch_wrapper(sin(y*sqrt(x)), x) == 2/y**2*sin(y*sqrt(x)) - \
        2*sqrt(x)*cos(y*sqrt(x))/y


def test_heurisch_special():
    assert heurisch(erf(x), x) == x*erf(x) + exp(-x**2)/sqrt(pi)
    assert heurisch(exp(-x**2)*erf(x), x) == sqrt(pi)*erf(x)**2 / 4


def test_heurisch_symbolic_coeffs():
    assert heurisch(1/(x + y), x) == log(x + y)
    assert heurisch(1/(x + sqrt(2)), x) == log(x + sqrt(2))
    assert simplify(diff(heurisch(log(x + y + z), y), y)) == log(x + y + z)


def test_heurisch_symbolic_coeffs_1130():
    y = Symbol('y')
    assert heurisch_wrapper(1/(x**2 + y), x) == Piecewise(
        (-1/x, Eq(y, 0)),
        (-I*log(x - I*sqrt(y))/(2*sqrt(y)) + I*log(x + I*sqrt(y))/(2*sqrt(y)), True))
    y = Symbol('y', positive=True)
    assert heurisch_wrapper(1/(x**2 + y), x) in [I/sqrt(y)*log(x + sqrt(-y))/2 -
                                                 I/sqrt(y)*log(x - sqrt(-y))/2, I*log(x + I*sqrt(y)) /
                                                 (2*sqrt(y)) - I*log(x - I*sqrt(y))/(2*sqrt(y))]


def test_heurisch_hacking():
    assert (heurisch(sqrt(1 + 7*x**2), x, hints=[]) ==
            x*sqrt(1 + 7*x**2)/2 + sqrt(7)*asinh(sqrt(7)*x)/14)
    assert (heurisch(sqrt(1 - 7*x**2), x, hints=[]) ==
            x*sqrt(1 - 7*x**2)/2 + sqrt(7)*asin(sqrt(7)*x)/14)

    assert (heurisch(1/sqrt(1 + 7*x**2), x, hints=[]) ==
            sqrt(7)*asinh(sqrt(7)*x)/7)
    assert (heurisch(1/sqrt(1 - 7*x**2), x, hints=[]) ==
            sqrt(7)*asin(sqrt(7)*x)/7)

    assert (heurisch(exp(-7*x**2), x, hints=[]) == sqrt(7*pi)*erf(sqrt(7)*x)/14)

    assert heurisch(1/sqrt(9 - 4*x**2), x, hints=[]) == asin(2*x/3)/2
    assert heurisch(1/sqrt(9 + 4*x**2), x, hints=[]) == asinh(2*x/3)/2

    assert heurisch(li(x), x, hints=[]) == x*li(x) - Ei(2*log(x))


def test_heurisch_function():
    assert heurisch(f(x), x) is None


def test_heurisch_wrapper():
    f = 1/(y + x)
    assert heurisch_wrapper(f, x) == log(x + y)
    f = 1/(y - x)
    assert heurisch_wrapper(f, x) == -log(x - y)
    f = 1/((y - x)*(y + x))
    assert heurisch_wrapper(f, x) == \
        Piecewise((1/x, Eq(y, 0)), (log(x + y)/2/y - log(x - y)/2/y, True))
    # issue sympy/sympy#6926
    f = sqrt(x**2/((y - x)*(y + x)))
    assert heurisch_wrapper(f, x) == x*sqrt(x**2)*sqrt(1/(-x**2 + y**2)) \
        - y**2*sqrt(x**2)*sqrt(1/(-x**2 + y**2))/x


def test_sympyissue_3609():
    assert heurisch(1/(x * (1 + log(x)**2)), x) == I*log(log(x) + I)/2 - \
        I*log(log(x) - I)/2

# These are examples from the Poor Man's Integrator
# http://www-sop.inria.fr/cafe/Manuel.Bronstein/pmint/examples/


def test_pmint_rat():
    # TODO: heurisch() is off by a constant: -3/4. Possibly different permutation
    # would give the optimal result?

    def drop_const(expr, x):
        if expr.is_Add:
            return Add(*[ arg for arg in expr.args if arg.has(x) ])
        else:
            return expr

    f = (x**7 - 24*x**4 - 4*x**2 + 8*x - 8)/(x**8 + 6*x**6 + 12*x**4 + 8*x**2)
    g = (4 + 8*x**2 + 6*x + 3*x**3)/(x**5 + 4*x**3 + 4*x) + log(x)

    assert drop_const(ratsimp(heurisch(f, x)), x) == g


def test_pmint_trig():
    f = (x - tan(x)) / tan(x)**2 + tan(x)
    g = -x**2/2 - x/tan(x) + log(tan(x)**2 + 1)/2

    assert heurisch(f, x) == g


@pytest.mark.slow  # 8 seconds on 3.4 GHz
def test_pmint_logexp():
    f = (1 + x + x*exp(x))*(x + log(x) + exp(x) - 1)/(x + log(x) + exp(x))**2/x
    g = log(x**2 + 2*x*exp(x) + 2*x*log(x) + exp(2*x) + 2*exp(x)*log(x) + log(x)**2)/2 + 1/(x + exp(x) + log(x))

    # TODO: Optimal solution is g = 1/(x + log(x) + exp(x)) + log(x + log(x) + exp(x)),
    # but Diofant requires a lot of guidance to properly simplify heurisch() output.

    assert ratsimp(heurisch(f, x)) == g


@pytest.mark.slow  # 8 seconds on 3.4 GHz
def test_pmint_erf():
    f = exp(-x**2)*erf(x)/(erf(x)**3 - erf(x)**2 - erf(x) + 1)
    g = sqrt(pi)*log(erf(x) - 1)/8 - sqrt(pi)*log(erf(x) + 1)/8 - sqrt(pi)/(4*erf(x) - 4)

    assert ratsimp(heurisch(f, x)) == g


def test_pmint_LambertW():
    f = LambertW(x)
    g = x*LambertW(x) - x + x/LambertW(x)

    assert heurisch(f, x) == g


@pytest.mark.xfail
def test_pmint_besselj():
    # TODO: in both cases heurisch() gives None. Wrong besselj() derivative?

    f = besselj(nu + 1, x)/besselj(nu, x)
    g = nu*log(x) - log(besselj(nu, x))

    assert simplify(heurisch(f, x) - g) == 0

    f = (nu*besselj(nu, x) - x*besselj(nu + 1, x))/x
    g = besselj(nu, x)

    assert simplify(heurisch(f, x) - g) == 0


@pytest.mark.slow
def test_pmint_WrightOmega():
    def omega(x):
        return LambertW(exp(x))

    f = (1 + omega(x) * (2 + cos(omega(x)) * (x + omega(x))))/(1 + omega(x))/(x + omega(x))
    g = log(x + LambertW(exp(x))) + sin(LambertW(exp(x)))

    assert heurisch(f, x) == g


def test_RR():
    # Make sure the algorithm does the right thing if the ring is RR. See
    # issue sympy/sympy#8685.
    assert heurisch(sqrt(1 + 0.25*x**2), x, hints=[]) == \
        0.5*x*sqrt(0.25*x**2 + 1) + 1.0*asinh(0.5*x)

# TODO: convert the rest of PMINT tests:
# Airy functions
# f = (x - AiryAi(x)*AiryAi(1, x)) / (x**2 - AiryAi(x)**2)
# g = Rational(1,2)*ln(x + AiryAi(x)) + Rational(1,2)*ln(x - AiryAi(x))
# f = x**2 * AiryAi(x)
# g = -AiryAi(x) + AiryAi(1, x)*x
# Whittaker functions
# f = WhittakerW(mu + 1, nu, x) / (WhittakerW(mu, nu, x) * x)
# g = x/2 - mu*ln(x) - ln(WhittakerW(mu, nu, x))

[((12, 14, 12, 33), 'diofant.symbols', 'symbols', ({(12, 22, 12, 32): '"""x,y,z,nu"""'}, {}), "('x,y,z,nu')", False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((13, 4, 13, 17), 'diofant.Function', 'Function', ({(13, 13, 13, 16): '"""f"""'}, {}), "('f')", False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((127, 8, 127, 19), 'diofant.Symbol', 'Symbol', ({(127, 15, 127, 18): '"""y"""'}, {}), "('y')", False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((133, 8, 133, 34), 'diofant.Symbol', 'Symbol', (), '', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((150, 8, 150, 19), 'diofant.Symbol', 'Symbol', ({(150, 15, 150, 18): '"""y"""'}, {}), "('y')", False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((154, 8, 154, 34), 'diofant.Symbol', 'Symbol', (), '', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((192, 8, 192, 36), 'diofant.sqrt', 'sqrt', ({(192, 13, 192, 35): 'x ** 2 / ((y - x) * (y + x))'}, {}), '(x ** 2 / ((y - x) * (y + x)))', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((248, 8, 248, 19), 'diofant.LambertW', 'LambertW', ({(248, 17, 248, 18): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((264, 8, 264, 22), 'diofant.besselj', 'besselj', ({(264, 16, 264, 18): 'nu', (264, 20, 264, 21): 'x'}, {}), '(nu, x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((17, 11, 17, 29), 'diofant.integrals.heurisch.components', 'components', ({(17, 22, 17, 25): '(x * y)', (17, 27, 17, 28): 'x'}, {}), '(x * y, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((18, 11, 18, 35), 'diofant.integrals.heurisch.components', 'components', ({(18, 22, 18, 31): '(1 / (x + y))', (18, 33, 18, 34): 'x'}, {}), '(1 / (x + y), x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((36, 11, 36, 25), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(36, 20, 36, 21): '(1)', (36, 23, 36, 24): 'x'}, {}), '(1, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((37, 11, 37, 25), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(37, 20, 37, 21): 'x', (37, 23, 37, 24): 'x'}, {}), '(x, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((38, 11, 38, 29), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(38, 20, 38, 25): '(x ** 17)', (38, 27, 38, 28): 'x'}, {}), '(x ** 17, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((42, 11, 42, 27), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(42, 20, 42, 23): '(1 / x)', (42, 25, 42, 26): 'x'}, {}), '(1 / x, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((42, 31, 42, 37), 'diofant.log', 'log', ({(42, 35, 42, 36): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((43, 11, 43, 33), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(43, 20, 43, 29): '(1 / (2 + x))', (43, 31, 43, 32): 'x'}, {}), '(1 / (2 + x), x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((43, 37, 43, 47), 'diofant.log', 'log', ({(43, 41, 43, 46): '(x + 2)'}, {}), '(x + 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((50, 11, 51, 23), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(50, 20, 51, 19): '(5 * x ** 5 / (2 * x ** 6 - 5))', (51, 21, 51, 22): 'x'}, {}), '(5 * x ** 5 / (2 * x ** 6 - 5), x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((52, 11, 52, 43), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(52, 20, 52, 39): '(5 * x ** 5 / (2 * x ** 6 + 5))', (52, 41, 52, 42): 'x'}, {}), '(5 * x ** 5 / (2 * x ** 6 + 5), x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((54, 11, 54, 30), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(54, 20, 54, 26): '(1 / x ** 2)', (54, 28, 54, 29): 'x'}, {}), '(1 / x ** 2, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((55, 11, 55, 31), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(55, 20, 55, 27): '(-1 / x ** 5)', (55, 29, 55, 30): 'x'}, {}), '(-1 / x ** 5, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((65, 34, 65, 40), 'diofant.exp', 'exp', ({(65, 38, 65, 39): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((73, 11, 73, 28), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(73, 20, 73, 24): '(2 ** x)', (73, 26, 73, 27): 'x'}, {}), '(2 ** x, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((74, 11, 74, 30), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(74, 20, 74, 26): '(x * 2 ** x)', (74, 28, 74, 29): 'x'}, {}), '(x * 2 ** x, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((84, 34, 84, 40), 'diofant.sin', 'sin', ({(84, 38, 84, 39): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((107, 35, 107, 42), 'diofant.cosh', 'cosh', ({(107, 40, 107, 41): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((108, 35, 108, 42), 'diofant.sinh', 'sinh', ({(108, 40, 108, 41): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((144, 11, 144, 33), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(144, 20, 144, 29): '(1 / (x + y))', (144, 31, 144, 32): 'x'}, {}), '(1 / (x + y), x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((144, 37, 144, 47), 'diofant.log', 'log', ({(144, 41, 144, 46): '(x + y)'}, {}), '(x + y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((146, 61, 146, 75), 'diofant.log', 'log', ({(146, 65, 146, 74): '(x + y + z)'}, {}), '(x + y + z)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((151, 11, 151, 44), 'diofant.integrals.heurisch.heurisch_wrapper', 'heurisch_wrapper', ({(151, 28, 151, 40): '(1 / (x ** 2 + y))', (151, 42, 151, 43): 'x'}, {}), '(1 / (x ** 2 + y), x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((155, 11, 155, 44), 'diofant.integrals.heurisch.heurisch_wrapper', 'heurisch_wrapper', ({(155, 28, 155, 40): '(1 / (x ** 2 + y))', (155, 42, 155, 43): 'x'}, {}), '(1 / (x ** 2 + y), x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((185, 11, 185, 33), 'diofant.integrals.heurisch.heurisch_wrapper', 'heurisch_wrapper', ({(185, 28, 185, 29): 'f', (185, 31, 185, 32): 'x'}, {}), '(f, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((185, 37, 185, 47), 'diofant.log', 'log', ({(185, 41, 185, 46): '(x + y)'}, {}), '(x + y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((187, 11, 187, 33), 'diofant.integrals.heurisch.heurisch_wrapper', 'heurisch_wrapper', ({(187, 28, 187, 29): 'f', (187, 31, 187, 32): 'x'}, {}), '(f, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((189, 11, 189, 33), 'diofant.integrals.heurisch.heurisch_wrapper', 'heurisch_wrapper', ({(189, 28, 189, 29): 'f', (189, 31, 189, 32): 'x'}, {}), '(f, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((193, 11, 193, 33), 'diofant.integrals.heurisch.heurisch_wrapper', 'heurisch_wrapper', ({(193, 28, 193, 29): 'f', (193, 31, 193, 32): 'x'}, {}), '(f, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((216, 60, 216, 66), 'diofant.log', 'log', ({(216, 64, 216, 65): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((222, 35, 222, 41), 'diofant.tan', 'tan', ({(222, 39, 222, 40): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((225, 11, 225, 25), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(225, 20, 225, 21): 'f', (225, 23, 225, 24): 'x'}, {}), '(f, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((251, 11, 251, 25), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(251, 20, 251, 21): 'f', (251, 23, 251, 24): 'x'}, {}), '(f, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((258, 8, 258, 26), 'diofant.besselj', 'besselj', ({(258, 16, 258, 22): '(nu + 1)', (258, 24, 258, 25): 'x'}, {}), '(nu + 1, x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((258, 27, 258, 41), 'diofant.besselj', 'besselj', ({(258, 35, 258, 37): 'nu', (258, 39, 258, 40): 'x'}, {}), '(nu, x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((277, 11, 277, 25), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(277, 20, 277, 21): 'f', (277, 23, 277, 24): 'x'}, {}), '(f, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((19, 22, 19, 28), 'diofant.sin', 'sin', ({(19, 26, 19, 27): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((19, 37, 19, 43), 'diofant.sin', 'sin', ({(19, 41, 19, 42): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((21, 9, 21, 15), 'diofant.log', 'log', ({(21, 13, 21, 14): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((21, 17, 21, 23), 'diofant.sin', 'sin', ({(21, 21, 21, 22): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((23, 27, 23, 33), 'diofant.exp', 'exp', ({(23, 31, 23, 32): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((25, 9, 25, 15), 'diofant.sin', 'sin', ({(25, 13, 25, 14): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((25, 17, 25, 28), 'diofant.root', 'root', ({(25, 22, 25, 23): 'x', (25, 25, 25, 27): '(54)'}, {}), '(x, 54)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((59, 20, 59, 26), 'diofant.log', 'log', ({(59, 24, 59, 25): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((60, 20, 60, 28), 'diofant.log', 'log', ({(60, 24, 60, 27): '(3 * x)'}, {}), '(3 * x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((61, 20, 61, 29), 'diofant.log', 'log', ({(61, 24, 61, 28): '(x ** 2)'}, {}), '(x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((65, 20, 65, 26), 'diofant.exp', 'exp', ({(65, 24, 65, 25): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((66, 20, 66, 27), 'diofant.exp', 'exp', ({(66, 24, 66, 26): '(-x)'}, {}), '(-x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((66, 36, 66, 43), 'diofant.exp', 'exp', ({(66, 40, 66, 42): '(-x)'}, {}), '(-x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((67, 20, 67, 29), 'diofant.exp', 'exp', ({(67, 24, 67, 28): '(17 * x)'}, {}), '(17 * x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((67, 37, 67, 46), 'diofant.exp', 'exp', ({(67, 41, 67, 45): '(17 * x)'}, {}), '(17 * x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((68, 47, 68, 53), 'diofant.exp', 'exp', ({(68, 51, 68, 52): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((69, 39, 69, 48), 'diofant.exp', 'exp', ({(69, 43, 69, 47): '(x ** 2)'}, {}), '(x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((71, 20, 71, 30), 'diofant.exp', 'exp', ({(71, 24, 71, 29): '(-x ** 2)'}, {}), '(-x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((73, 37, 73, 43), 'diofant.log', 'log', ({(73, 41, 73, 42): '(2)'}, {}), '(2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((77, 62, 77, 68), 'diofant.log', 'log', ({(77, 66, 77, 67): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((81, 20, 81, 26), 'diofant.sin', 'sin', ({(81, 24, 81, 25): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((81, 35, 81, 41), 'diofant.cos', 'cos', ({(81, 39, 81, 40): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((84, 20, 84, 26), 'diofant.cos', 'cos', ({(84, 24, 84, 25): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((85, 20, 85, 26), 'diofant.tan', 'tan', ({(85, 24, 85, 25): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((91, 49, 91, 55), 'diofant.sin', 'sin', ({(91, 53, 91, 54): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((92, 49, 92, 55), 'diofant.sin', 'sin', ({(92, 53, 92, 54): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((96, 45, 96, 51), 'diofant.sin', 'sin', ({(96, 49, 96, 50): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((107, 20, 107, 27), 'diofant.sinh', 'sinh', ({(107, 25, 107, 26): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((108, 20, 108, 27), 'diofant.cosh', 'cosh', ({(108, 25, 108, 26): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((110, 49, 110, 56), 'diofant.sinh', 'sinh', ({(110, 54, 110, 55): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((111, 49, 111, 56), 'diofant.cosh', 'cosh', ({(111, 54, 111, 55): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((122, 39, 122, 46), 'diofant.sqrt', 'sqrt', ({(122, 44, 122, 45): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((123, 43, 123, 50), 'diofant.sqrt', 'sqrt', ({(123, 48, 123, 49): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((139, 20, 139, 26), 'diofant.erf', 'erf', ({(139, 24, 139, 25): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((161, 21, 161, 37), 'diofant.sqrt', 'sqrt', ({(161, 26, 161, 36): '(1 + 7 * x ** 2)'}, {}), '(1 + 7 * x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((163, 21, 163, 37), 'diofant.sqrt', 'sqrt', ({(163, 26, 163, 36): '(1 - 7 * x ** 2)'}, {}), '(1 - 7 * x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((171, 21, 171, 33), 'diofant.exp', 'exp', ({(171, 25, 171, 32): '(-7 * x ** 2)'}, {}), '(-7 * x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((173, 56, 173, 67), 'diofant.asin', 'asin', ({(173, 61, 173, 66): '(2 * x / 3)'}, {}), '(2 * x / 3)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((174, 56, 174, 68), 'diofant.asinh', 'asinh', ({(174, 62, 174, 67): '(2 * x / 3)'}, {}), '(2 * x / 3)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((176, 20, 176, 25), 'diofant.li', 'li', ({(176, 23, 176, 24): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((187, 38, 187, 48), 'diofant.log', 'log', ({(187, 42, 187, 47): '(x - y)'}, {}), '(x - y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((236, 19, 236, 33), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(236, 28, 236, 29): 'f', (236, 31, 236, 32): 'x'}, {}), '(f, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((241, 8, 241, 18), 'diofant.exp', 'exp', ({(241, 12, 241, 17): '(-x ** 2)'}, {}), '(-x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((241, 19, 241, 25), 'diofant.erf', 'erf', ({(241, 23, 241, 24): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((242, 66, 242, 74), 'diofant.sqrt', 'sqrt', ({(242, 71, 242, 73): 'pi'}, {}), '(pi)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((244, 19, 244, 33), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(244, 28, 244, 29): 'f', (244, 31, 244, 32): 'x'}, {}), '(f, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((249, 30, 249, 41), 'diofant.LambertW', 'LambertW', ({(249, 39, 249, 40): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((259, 11, 259, 17), 'diofant.log', 'log', ({(259, 15, 259, 16): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((259, 24, 259, 38), 'diofant.besselj', 'besselj', ({(259, 32, 259, 34): 'nu', (259, 36, 259, 37): 'x'}, {}), '(nu, x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((272, 24, 272, 30), 'diofant.exp', 'exp', ({(272, 28, 272, 29): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((283, 20, 283, 39), 'diofant.sqrt', 'sqrt', ({(283, 25, 283, 38): '(1 + 0.25 * x ** 2)'}, {}), '(1 + 0.25 * x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((20, 22, 20, 28), 'diofant.sin', 'sin', ({(20, 26, 20, 27): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((21, 30, 21, 36), 'diofant.log', 'log', ({(21, 34, 21, 35): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((25, 35, 25, 41), 'diofant.sin', 'sin', ({(25, 39, 25, 40): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((44, 50, 44, 56), 'diofant.sin', 'sin', ({(44, 54, 44, 55): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((52, 49, 52, 64), 'diofant.log', 'log', ({(52, 53, 52, 63): '(2 * x ** 6 + 5)'}, {}), '(2 * x ** 6 + 5)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((59, 36, 59, 42), 'diofant.log', 'log', ({(59, 40, 59, 41): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((60, 54, 60, 60), 'diofant.log', 'log', ({(60, 58, 60, 59): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((68, 22, 68, 28), 'diofant.exp', 'exp', ({(68, 26, 68, 27): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((68, 38, 68, 44), 'diofant.exp', 'exp', ({(68, 42, 68, 43): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((69, 22, 69, 31), 'diofant.exp', 'exp', ({(69, 26, 69, 30): '(x ** 2)'}, {}), '(x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((74, 41, 74, 47), 'diofant.log', 'log', ({(74, 45, 74, 46): '(2)'}, {}), '(2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((76, 20, 76, 58), 'diofant.Integral', 'Integral', ({(76, 29, 76, 35): '(x ** z * y)', (76, 37, 76, 46): '(y, 1, 2)', (76, 48, 76, 57): '(z, 2, 3)'}, {}), '(x ** z * y, (y, 1, 2), (z, 2, 3))', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((77, 20, 77, 40), 'diofant.Sum', 'Sum', ({(77, 24, 77, 28): '(x ** z)', (77, 30, 77, 39): '(z, 1, 2)'}, {}), '(x ** z, (z, 1, 2))', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((82, 48, 82, 54), 'diofant.cos', 'cos', ({(82, 52, 82, 53): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((91, 20, 91, 26), 'diofant.sin', 'sin', ({(91, 24, 91, 25): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((91, 27, 91, 33), 'diofant.sin', 'sin', ({(91, 31, 91, 32): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((91, 42, 91, 48), 'diofant.cos', 'cos', ({(91, 46, 91, 47): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((92, 20, 92, 26), 'diofant.sin', 'sin', ({(92, 24, 92, 25): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((92, 27, 92, 33), 'diofant.sin', 'sin', ({(92, 31, 92, 32): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((92, 42, 92, 48), 'diofant.cos', 'cos', ({(92, 46, 92, 47): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((95, 20, 95, 26), 'diofant.sin', 'sin', ({(95, 24, 95, 25): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((95, 27, 95, 33), 'diofant.cos', 'cos', ({(95, 31, 95, 32): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((96, 20, 96, 26), 'diofant.cos', 'cos', ({(96, 24, 96, 25): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((96, 27, 96, 33), 'diofant.sin', 'sin', ({(96, 31, 96, 32): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((98, 22, 98, 30), 'diofant.sin', 'sin', ({(98, 26, 98, 29): '(7 * x)'}, {}), '(7 * x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((98, 38, 98, 46), 'diofant.sin', 'sin', ({(98, 42, 98, 45): '(7 * x)'}, {}), '(7 * x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((99, 34, 99, 40), 'diofant.cos', 'cos', ({(99, 38, 99, 39): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((102, 20, 102, 29), 'diofant.acos', 'acos', ({(102, 25, 102, 28): '(x / 4)'}, {}), '(x / 4)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((102, 32, 102, 41), 'diofant.asin', 'asin', ({(102, 37, 102, 40): '(x / 4)'}, {}), '(x / 4)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((103, 52, 103, 61), 'diofant.acos', 'acos', ({(103, 57, 103, 60): '(x / 4)'}, {}), '(x / 4)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((110, 22, 110, 29), 'diofant.sinh', 'sinh', ({(110, 27, 110, 28): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((110, 39, 110, 46), 'diofant.cosh', 'cosh', ({(110, 44, 110, 45): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((111, 22, 111, 29), 'diofant.cosh', 'cosh', ({(111, 27, 111, 28): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((111, 39, 111, 46), 'diofant.sinh', 'sinh', ({(111, 44, 111, 45): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((114, 10, 114, 20), 'diofant.asinh', 'asinh', ({(114, 16, 114, 19): '(x / 2)'}, {}), '(x / 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((114, 48, 114, 58), 'diofant.asinh', 'asinh', ({(114, 54, 114, 57): '(x / 2)'}, {}), '(x / 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((118, 20, 118, 26), 'diofant.sin', 'sin', ({(118, 24, 118, 25): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((118, 27, 118, 33), 'diofant.exp', 'exp', ({(118, 31, 118, 32): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((122, 22, 122, 29), 'diofant.sqrt', 'sqrt', ({(122, 27, 122, 28): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((124, 20, 124, 27), 'diofant.sqrt', 'sqrt', ({(124, 25, 124, 26): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((126, 20, 126, 26), 'diofant.sin', 'sin', ({(126, 24, 126, 25): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((131, 12, 131, 20), 'diofant.Eq', 'Eq', ({(131, 15, 131, 16): 'y', (131, 18, 131, 19): '(0)'}, {}), '(y, 0)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((139, 36, 139, 42), 'diofant.erf', 'erf', ({(139, 40, 139, 41): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((139, 45, 139, 55), 'diofant.exp', 'exp', ({(139, 49, 139, 54): '(-x ** 2)'}, {}), '(-x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((139, 56, 139, 64), 'diofant.sqrt', 'sqrt', ({(139, 61, 139, 63): 'pi'}, {}), '(pi)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((140, 20, 140, 30), 'diofant.exp', 'exp', ({(140, 24, 140, 29): '(-x ** 2)'}, {}), '(-x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((140, 31, 140, 37), 'diofant.erf', 'erf', ({(140, 35, 140, 36): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((140, 45, 140, 53), 'diofant.sqrt', 'sqrt', ({(140, 50, 140, 52): 'pi'}, {}), '(pi)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((145, 51, 145, 58), 'diofant.sqrt', 'sqrt', ({(145, 56, 145, 57): '(2)'}, {}), '(2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((152, 15, 152, 23), 'diofant.Eq', 'Eq', ({(152, 18, 152, 19): 'y', (152, 21, 152, 22): '(0)'}, {}), '(y, 0)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((166, 23, 166, 39), 'diofant.sqrt', 'sqrt', ({(166, 28, 166, 38): '(1 + 7 * x ** 2)'}, {}), '(1 + 7 * x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((167, 12, 167, 19), 'diofant.sqrt', 'sqrt', ({(167, 17, 167, 18): '(7)'}, {}), '(7)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((168, 23, 168, 39), 'diofant.sqrt', 'sqrt', ({(168, 28, 168, 38): '(1 - 7 * x ** 2)'}, {}), '(1 - 7 * x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((169, 12, 169, 19), 'diofant.sqrt', 'sqrt', ({(169, 17, 169, 18): '(7)'}, {}), '(7)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((171, 51, 171, 61), 'diofant.sqrt', 'sqrt', ({(171, 56, 171, 60): '(7 * pi)'}, {}), '(7 * pi)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((173, 22, 173, 38), 'diofant.sqrt', 'sqrt', ({(173, 27, 173, 37): '(9 - 4 * x ** 2)'}, {}), '(9 - 4 * x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((174, 22, 174, 38), 'diofant.sqrt', 'sqrt', ({(174, 27, 174, 37): '(9 + 4 * x ** 2)'}, {}), '(9 + 4 * x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((176, 45, 176, 50), 'diofant.li', 'li', ({(176, 48, 176, 49): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((190, 24, 190, 32), 'diofant.Eq', 'Eq', ({(190, 27, 190, 28): 'y', (190, 30, 190, 31): '(0)'}, {}), '(y, 0)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((193, 50, 193, 72), 'diofant.sqrt', 'sqrt', ({(193, 55, 193, 71): '(1 / (-x ** 2 + y ** 2))'}, {}), '(1 / (-x ** 2 + y ** 2))', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((218, 30, 218, 44), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(218, 39, 218, 40): 'f', (218, 42, 218, 43): 'x'}, {}), '(f, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((222, 13, 222, 19), 'diofant.tan', 'tan', ({(222, 17, 222, 18): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((222, 23, 222, 29), 'diofant.tan', 'tan', ({(222, 27, 222, 28): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((223, 20, 223, 26), 'diofant.tan', 'tan', ({(223, 24, 223, 25): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((231, 105, 231, 111), 'diofant.log', 'log', ({(231, 109, 231, 110): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((241, 51, 241, 57), 'diofant.erf', 'erf', ({(241, 55, 241, 56): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((249, 10, 249, 21), 'diofant.LambertW', 'LambertW', ({(249, 19, 249, 20): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((261, 20, 261, 34), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(261, 29, 261, 30): 'f', (261, 32, 261, 33): 'x'}, {}), '(f, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((263, 12, 263, 26), 'diofant.besselj', 'besselj', ({(263, 20, 263, 22): 'nu', (263, 24, 263, 25): 'x'}, {}), '(nu, x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((263, 31, 263, 49), 'diofant.besselj', 'besselj', ({(263, 39, 263, 45): '(nu + 1)', (263, 47, 263, 48): 'x'}, {}), '(nu + 1, x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((266, 20, 266, 34), 'diofant.integrals.heurisch.heurisch', 'heurisch', ({(266, 29, 266, 30): 'f', (266, 32, 266, 33): 'x'}, {}), '(f, x)', False, 'from diofant.integrals.heurisch import components, heurisch, heurisch_wrapper\n'), ((275, 49, 275, 55), 'diofant.exp', 'exp', ({(275, 53, 275, 54): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((284, 14, 284, 33), 'diofant.sqrt', 'sqrt', ({(284, 19, 284, 32): '(0.25 * x ** 2 + 1)'}, {}), '(0.25 * x ** 2 + 1)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((284, 40, 284, 52), 'diofant.asinh', 'asinh', ({(284, 46, 284, 51): '(0.5 * x)'}, {}), '(0.5 * x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((20, 34, 20, 40), 'diofant.log', 'log', ({(20, 38, 20, 39): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((23, 15, 23, 21), 'diofant.exp', 'exp', ({(23, 19, 23, 20): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((24, 25, 24, 41), 'diofant.Rational', 'Rational', ({(24, 34, 24, 36): '(17)', (24, 38, 24, 40): '(54)'}, {}), '(17, 54)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((24, 47, 24, 53), 'diofant.sin', 'sin', ({(24, 51, 24, 52): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((44, 27, 44, 33), 'diofant.sin', 'sin', ({(44, 31, 44, 32): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((51, 30, 51, 45), 'diofant.log', 'log', ({(51, 34, 51, 44): '(2 * x ** 6 - 5)'}, {}), '(2 * x ** 6 - 5)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((51, 54, 51, 70), 'diofant.log', 'log', ({(51, 58, 51, 69): '(-2 * x ** 6 + 5)'}, {}), '(-2 * x ** 6 + 5)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((60, 43, 60, 49), 'diofant.log', 'log', ({(60, 47, 60, 48): '(3)'}, {}), '(3)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((61, 40, 61, 49), 'diofant.log', 'log', ({(61, 44, 61, 48): '(x ** 2)'}, {}), '(x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((61, 61, 61, 67), 'diofant.log', 'log', ({(61, 65, 61, 66): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((74, 55, 74, 61), 'diofant.log', 'log', ({(74, 59, 74, 60): '(2)'}, {}), '(2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((82, 23, 82, 29), 'diofant.sin', 'sin', ({(82, 27, 82, 28): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((95, 42, 95, 48), 'diofant.sin', 'sin', ({(95, 46, 95, 47): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((98, 56, 98, 64), 'diofant.cos', 'cos', ({(98, 60, 98, 63): '(7 * x)'}, {}), '(7 * x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((100, 71, 100, 77), 'diofant.cos', 'cos', ({(100, 75, 100, 76): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((103, 11, 103, 26), 'diofant.sqrt', 'sqrt', ({(103, 16, 103, 25): '(16 - x ** 2)'}, {}), '(16 - x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((103, 28, 103, 37), 'diofant.acos', 'acos', ({(103, 33, 103, 36): '(x / 4)'}, {}), '(x / 4)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((103, 42, 103, 51), 'diofant.asin', 'asin', ({(103, 47, 103, 50): '(x / 4)'}, {}), '(x / 4)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((114, 63, 114, 77), 'diofant.sqrt', 'sqrt', ({(114, 68, 114, 76): '(4 + x ** 2)'}, {}), '(4 + x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((118, 41, 118, 47), 'diofant.exp', 'exp', ({(118, 45, 118, 46): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((118, 48, 118, 54), 'diofant.sin', 'sin', ({(118, 52, 118, 53): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((118, 59, 118, 65), 'diofant.exp', 'exp', ({(118, 63, 118, 64): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((118, 66, 118, 72), 'diofant.cos', 'cos', ({(118, 70, 118, 71): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((123, 22, 123, 29), 'diofant.sqrt', 'sqrt', ({(123, 27, 123, 28): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((124, 40, 124, 47), 'diofant.sqrt', 'sqrt', ({(124, 45, 124, 46): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((126, 32, 126, 38), 'diofant.cos', 'cos', ({(126, 36, 126, 37): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((128, 26, 128, 33), 'diofant.sqrt', 'sqrt', ({(128, 31, 128, 32): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((130, 34, 130, 41), 'diofant.sqrt', 'sqrt', ({(130, 39, 130, 40): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((134, 34, 134, 41), 'diofant.sqrt', 'sqrt', ({(134, 39, 134, 40): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((140, 54, 140, 60), 'diofant.erf', 'erf', ({(140, 58, 140, 59): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((145, 27, 145, 34), 'diofant.sqrt', 'sqrt', ({(145, 32, 145, 33): '(2)'}, {}), '(2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((146, 34, 146, 48), 'diofant.log', 'log', ({(146, 38, 146, 47): '(x + y + z)'}, {}), '(x + y + z)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((162, 14, 162, 30), 'diofant.sqrt', 'sqrt', ({(162, 19, 162, 29): '(1 + 7 * x ** 2)'}, {}), '(1 + 7 * x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((162, 35, 162, 42), 'diofant.sqrt', 'sqrt', ({(162, 40, 162, 41): '(7)'}, {}), '(7)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((164, 14, 164, 30), 'diofant.sqrt', 'sqrt', ({(164, 19, 164, 29): '(1 - 7 * x ** 2)'}, {}), '(1 - 7 * x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((164, 35, 164, 42), 'diofant.sqrt', 'sqrt', ({(164, 40, 164, 41): '(7)'}, {}), '(7)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((176, 58, 176, 64), 'diofant.log', 'log', ({(176, 62, 176, 63): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((193, 39, 193, 49), 'diofant.sqrt', 'sqrt', ({(193, 44, 193, 48): '(x ** 2)'}, {}), '(x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((194, 26, 194, 48), 'diofant.sqrt', 'sqrt', ({(194, 31, 194, 47): '(1 / (-x ** 2 + y ** 2))'}, {}), '(1 / (-x ** 2 + y ** 2))', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((230, 67, 230, 73), 'diofant.exp', 'exp', ({(230, 71, 230, 72): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((231, 96, 231, 102), 'diofant.exp', 'exp', ({(231, 100, 231, 101): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((242, 8, 242, 16), 'diofant.sqrt', 'sqrt', ({(242, 13, 242, 15): 'pi'}, {}), '(pi)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((242, 37, 242, 45), 'diofant.sqrt', 'sqrt', ({(242, 42, 242, 44): 'pi'}, {}), '(pi)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((242, 78, 242, 84), 'diofant.erf', 'erf', ({(242, 82, 242, 83): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((275, 25, 275, 31), 'diofant.exp', 'exp', ({(275, 29, 275, 30): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((22, 28, 22, 34), 'diofant.exp', 'exp', ({(22, 32, 22, 33): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((87, 12, 87, 18), 'diofant.tan', 'tan', ({(87, 16, 87, 17): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((88, 12, 88, 18), 'diofant.tan', 'tan', ({(88, 16, 88, 17): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((95, 58, 95, 64), 'diofant.cos', 'cos', ({(95, 62, 95, 63): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((99, 61, 99, 67), 'diofant.sin', 'sin', ({(99, 65, 99, 66): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((100, 58, 100, 64), 'diofant.sin', 'sin', ({(100, 62, 100, 63): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((102, 56, 102, 71), 'diofant.sqrt', 'sqrt', ({(102, 61, 102, 70): '(16 - x ** 2)'}, {}), '(16 - x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((102, 73, 102, 82), 'diofant.asin', 'asin', ({(102, 78, 102, 81): '(x / 4)'}, {}), '(x / 4)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((114, 33, 114, 43), 'diofant.asinh', 'asinh', ({(114, 39, 114, 42): '(x / 2)'}, {}), '(x / 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((126, 55, 126, 61), 'diofant.cos', 'cos', ({(126, 59, 126, 60): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((128, 55, 128, 62), 'diofant.sqrt', 'sqrt', ({(128, 60, 128, 61): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((129, 10, 129, 17), 'diofant.sqrt', 'sqrt', ({(129, 15, 129, 16): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((134, 63, 134, 70), 'diofant.sqrt', 'sqrt', ({(134, 68, 134, 69): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((135, 10, 135, 17), 'diofant.sqrt', 'sqrt', ({(135, 15, 135, 16): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((157, 52, 157, 59), 'diofant.sqrt', 'sqrt', ({(157, 57, 157, 58): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((157, 87, 157, 94), 'diofant.sqrt', 'sqrt', ({(157, 92, 157, 93): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((167, 26, 167, 33), 'diofant.sqrt', 'sqrt', ({(167, 31, 167, 32): '(7)'}, {}), '(7)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((169, 25, 169, 32), 'diofant.sqrt', 'sqrt', ({(169, 30, 169, 31): '(7)'}, {}), '(7)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((171, 66, 171, 73), 'diofant.sqrt', 'sqrt', ({(171, 71, 171, 72): '(7)'}, {}), '(7)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((194, 15, 194, 25), 'diofant.sqrt', 'sqrt', ({(194, 20, 194, 24): '(x ** 2)'}, {}), '(x ** 2)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((223, 33, 223, 39), 'diofant.tan', 'tan', ({(223, 37, 223, 38): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((230, 19, 230, 25), 'diofant.exp', 'exp', ({(230, 23, 230, 24): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((230, 41, 230, 47), 'diofant.exp', 'exp', ({(230, 45, 230, 46): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((230, 58, 230, 64), 'diofant.log', 'log', ({(230, 62, 230, 63): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((231, 74, 231, 80), 'diofant.log', 'log', ({(231, 78, 231, 79): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((241, 27, 241, 33), 'diofant.erf', 'erf', ({(241, 31, 241, 32): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((241, 39, 241, 45), 'diofant.erf', 'erf', ({(241, 43, 241, 44): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((86, 16, 86, 22), 'diofant.tan', 'tan', ({(86, 20, 86, 21): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((129, 24, 129, 31), 'diofant.sqrt', 'sqrt', ({(129, 29, 129, 30): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((135, 24, 135, 31), 'diofant.sqrt', 'sqrt', ({(135, 29, 135, 30): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((153, 34, 153, 41), 'diofant.sqrt', 'sqrt', ({(153, 39, 153, 40): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((153, 69, 153, 76), 'diofant.sqrt', 'sqrt', ({(153, 74, 153, 75): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((155, 51, 155, 58), 'diofant.sqrt', 'sqrt', ({(155, 56, 155, 57): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((156, 51, 156, 58), 'diofant.sqrt', 'sqrt', ({(156, 56, 156, 57): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((162, 49, 162, 56), 'diofant.sqrt', 'sqrt', ({(162, 54, 162, 55): '(7)'}, {}), '(7)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((164, 48, 164, 55), 'diofant.sqrt', 'sqrt', ({(164, 53, 164, 54): '(7)'}, {}), '(7)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((190, 36, 190, 46), 'diofant.log', 'log', ({(190, 40, 190, 45): '(x + y)'}, {}), '(x + y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((190, 53, 190, 63), 'diofant.log', 'log', ({(190, 57, 190, 62): '(x - y)'}, {}), '(x - y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((198, 32, 198, 38), 'diofant.log', 'log', ({(198, 36, 198, 37): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((198, 57, 198, 63), 'diofant.log', 'log', ({(198, 61, 198, 62): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((199, 14, 199, 20), 'diofant.log', 'log', ({(199, 18, 199, 19): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((230, 32, 230, 38), 'diofant.log', 'log', ({(230, 36, 230, 37): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((231, 45, 231, 53), 'diofant.exp', 'exp', ({(231, 49, 231, 52): '(2 * x)'}, {}), '(2 * x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((231, 65, 231, 71), 'diofant.log', 'log', ({(231, 69, 231, 70): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((242, 21, 242, 27), 'diofant.erf', 'erf', ({(242, 25, 242, 26): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((242, 50, 242, 56), 'diofant.erf', 'erf', ({(242, 54, 242, 55): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((132, 12, 132, 19), 'diofant.sqrt', 'sqrt', ({(132, 17, 132, 18): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((155, 67, 155, 75), 'diofant.sqrt', 'sqrt', ({(155, 72, 155, 74): '(-y)'}, {}), '(-y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((156, 67, 156, 75), 'diofant.sqrt', 'sqrt', ({(156, 72, 156, 74): '(-y)'}, {}), '(-y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((231, 58, 231, 64), 'diofant.exp', 'exp', ({(231, 62, 231, 63): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((132, 24, 132, 31), 'diofant.sqrt', 'sqrt', ({(132, 29, 132, 30): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((132, 45, 132, 52), 'diofant.sqrt', 'sqrt', ({(132, 50, 132, 51): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((156, 92, 156, 99), 'diofant.sqrt', 'sqrt', ({(156, 97, 156, 98): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((157, 75, 157, 82), 'diofant.sqrt', 'sqrt', ({(157, 80, 157, 81): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((231, 36, 231, 42), 'diofant.log', 'log', ({(231, 40, 231, 41): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((153, 22, 153, 29), 'diofant.sqrt', 'sqrt', ({(153, 27, 153, 28): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((153, 57, 153, 64), 'diofant.sqrt', 'sqrt', ({(153, 62, 153, 63): 'y'}, {}), '(y)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n'), ((231, 23, 231, 29), 'diofant.exp', 'exp', ({(231, 27, 231, 28): 'x'}, {}), '(x)', False, 'from diofant import Add, Derivative, Ei, Eq, Function, I, Integral, LambertW, Piecewise, Rational, Sum, Symbol, acos, asin, asinh, besselj, cos, cosh, diff, erf, exp, li, log, pi, ratsimp, root, simplify, sin, sinh, sqrt, symbols, tan\n')]