Question: overcoming limitation of optimize function

According to the help page for optimize

"The optimize function makes use of Maple's option remember facility to identify common subexpressions in linear time and space. This means, however, that only those subexpressions which Maple has simplified to be identical are found. For example, the expression 
                            "x + y"

 is not recognized as being common to  
                          "x + y + z"

. That is, optimize performs mainly "syntactic" optimizations."

Is there a way to more efficiently calculate a set of expressions that have common factors as in the example above?

Please Wait...