def simpleSubs(expr, substitutions, *args, **kwarg):
    """Perform expression substitution, ignoring derivatives."""
    if expr in substitutions:
        return substitutions[expr]
    elif not expr.args:
        return expr
