'See the separate function in sympy.simplify'

def separate(self, deep=False, force=False):

    from sympy.core.function import expand_power_base
    return expand_power_base(self, deep=deep, force=force)
