Updates the arguments of an App, Lambda, Exists, or Forall.
A updateTerm<A extends Expr>(A expr, Iterable<Expr> args) => currentContext.updateTerm(expr, args.toList());