

def _rewrite_inversion(fac, po, g, x):
    ' Absorb ``po`` == x**s into g. '
    (_, s) = _get_coeff_exp(po, x)
    (a, b) = _get_coeff_exp(g.argument, x)

    def tr(l):
        return [(t + (s / b)) for t in l]
    return (powdenest((b / (a ** (s / b))), polar=True), meijerg(tr(g.an), tr(g.aother), tr(g.bm), tr(g.bother), g.argument))

dataset/ETHPy150Open sympy/sympy/sympy/integrals/meijerint.py _rewrite_inversion/VarMisuse@78/115 `fac`->`b`