def _rewrite_saxena_1(fac, po, g, x):
 (_, s) = _get_coeff_exp(po, x)
 (a, b) = _get_coeff_exp(g.argument, x)
 period = g.get_period()
 a = _my_principal_branch(a, period)
 C = (fac / (abs(b) * (a ** (((s + 1) / b) - 1))))
 def tr(l):
  return [((a + ((1 + s) / b)) - 1) for a in l]
 return (C, meijerg(tr(g.an), tr(g.aother), tr(g.bm), tr(g.bother), (a * x)))

def _rewrite_saxena_1 ( fac , po , g , x ) : ( _ , s ) = _get_coeff_exp ( po , x ) ( a , b ) = _get_coeff_exp ( g . argument , x ) period = g . get_period ( ) a = _my_principal_branch ( a , period ) C = ( fac / ( abs ( b ) * ( a ** ( ( ( s + 1 ) / b ) - 1 ) ) ) ) def tr ( l ) : return [ ( ( a + ( ( 1 + s ) / b ) ) - 1 ) for a in l ] return ( C , meijerg ( tr ( g . an ) , tr ( g . aother ) , tr ( g . bm ) , tr ( g . bother ) , ( a * x ) ) )
rewrite the integral fac*po*g dx .