Simplifying expressions and operations