Removing redundancy in comparison operators.