- With the default setting ComplexityFunction->Automatic, forms are ranked primarily according to their LeafCount, with corrections to treat integers with more digits as more complex.
- Simplify[expr,ComplexityFunction->f] applies f to each intermediate expression generated by Simplify, treating the one which yields the smallest numerical value as simplest.
The default ComplexityFunction counts the subexpressions and digits of integers:
LeafCount counts only the number of subexpressions:
This complexity function makes ChebyshevT more expensive than other functions:
Introduced in 1996