Regarding 2 + 2 =/= 4, I have two comments
1. Consider modular arithmetic, performed on the number line 1,2,3,1,2,3,1,2,3...
2 + 2 = 1
Where 1 is congruent with 4
This is very similar to the example DaveC gave in his initial discussion with axocanth.
If I recall correctly, axocanth claimed that there are no circumstances in which the statement "2+2=4" would not be true. (I'm sure that axocanth will correct me if my recollection about this is wrong.)
DaveC gave a counter-example where, using base 3 arithmetic, the statement "2+2=11" is true, this refuting axocanth's claim. And, by the way, in that system, the symbol '4' is literally meaningless, which means that the statement "2+2=4" doesn't even make sense, let alone state a truth.
2. More fundamentally, how is mathematical necessity (or any kind of necessity) discerned?
By the usual methods of proof used in mathematics. We start with some simple axioms (which are assumptions), and then apply agreed-upon operations to deduce logical consequences from those axioms.
Mathematicians, by the way, very often make a distinguish between
necessary conditions and
sufficient conditions for a mathematical statement to be accepted as true.
For instance, a
sufficient condition for the statement "2+2=11" to be true is that we're working with base-3 arithmetic.* However, that is not the only way the statement could ever be shown to be true, so the base-3 condition is not a
necessary condition for the statement to be true.
Mathematics is a formal system. The starting point is to agree on a certain set of axioms. We can only start to prove statements in mathematics after we have basic agreement about the axioms we're allowed to assume are true.
---
I note that axocanth's response to DaveC's counter-example, in effect, was to try to insist on one particular set of axioms. On the assumption that his preferred set of axioms is the only possible set, axocanth then argued that only the "language" of the statement "2+2=4" changes when we write "2+2=11", and nothing else.
This argument relies on the true but unstated further assumption that DaveC's and axocanth's systems
share a certain set of axioms. For instance, we might appeal to real-world experiences, like two sheep added to two sheep results in four sheep. But this is not a formal axiom of any mathematical system. It's also an irrelevant argument, because clearly DaveC's examples shows that
even if he and axocanth share assumptions based in real-world experience of sheep and the like, DaveC has still demonstrated that, if we add the additional axiom "we're going to work in base-3 arithmetic", the statement "2+2=4" is not only wrong, but actually meaningless.
As others have pointed out, this is the danger of making blanket claims that start with things like "Under no circumstances could it ever be the case that X is true." Chances are high that you haven't thought through all the circumstances that might render X true and therefore render your claim false. axocanth didn't think through his claim and he was caught out. Since then, thousands more words have been spilled on this topic in this forum, even though the relevant concepts here really aren't so difficult.
---
* We also need to include the more basic set of basic axioms concerning the meanings of the symbols '1', '2', '+', and "=".