def bottom_up_once(rule, fns=basic_fns):
    return do_one(lambda expr: sall(bottom_up(rule, fns), fns)(expr), rule)
Apply a rule up a tree - stop on success
dataset/ETHPy150Open sympy/sympy/sympy/strategies/traverse.py/bottom_up_once