Replace "2+2" with "2-2" and the answer is still the same. It does not read expressions, it does not see divisions by zero. It just outputs the training data, associated with parenthesis.
It will still hallucinate "division by zero" fallacies when asked questions like:
Given that a - b > 0, can we simplify?
a / (a - b) = 1 / (a - b)
a = 1