That overall looks great, thanks. Would it make sense to overload the function `Base.sum` instead of having a new `sum_expr_trees`? _Originally posted by @tmigot in https://github.com/JuliaSmoothOptimizers/ExpressionTreeForge.jl/pull/51#discussion_r1109792210_
Originally posted by @tmigot in #51 (comment)