Reduce the expressions