Implement expression_equals.