So looking closer, something that I don't fully understand is what
periodic_argument(x, oo) means. According to the docstring (which
should be made much clearer), periodic_argument(x, P) is a value in
(-P/2, P/2] via exp(P*I) = 1 (and it is the argument of x on some
branch of the logarithm).
Some things I am not clear on:
- Does the second argument of periodic_argument need to be a multiple
of pi? I tried a non-multiple and got an answer, but is it just
nonsense?
- What does periodic_argument(x, oo) mean? Is it the same as
unbranched_argument (which has no docstring BTW)?
Moving to polar_lift, this is easier to understand. It lifts the value
to the Riemann surface of the logarithm. So polar_lift(I) gives
exp_polar(I*pi/2).
So, if I understand the condition correctly, where alpha is a complex
number, does it mean that alpha**2 (should polar_lift(alpha)**2 be the
same as polar_lift(alpha**2)?) should have a nonnegative real part?
There are some more docs on this at
http://docs.sympy.org/latest/modules/integrals/g-functions.html if you
want to dig in further (by the way, is it just me or is the math not
rendering on that page?).
Aaron Meurer