|
I agree that “=“ as interpreted by people doing math requires context, but in most situations they are able to translate it into a “correct” or formal notion of equality. For example, translating on the fly these ad hoc notions of equality into precise notions of equality in first order logic and/or set theory. For example, f(x) = 2x + 3
Might be translate into something like, For all x in the domain of f, f(x) = 2x + 3
Or maybe further, f = { (x, y) in Cartesian product of domain and codomain | y = 2x + 3 }
Where equality is, I think, strictly defined here as set equality.The articles other point in this example is that we might way “when x = 2, f(x) = 7.” Claiming that x is used both as an indeterminate value and a concrete value. Again, I think the ambiguity is resolved when translate using the correct quantifies, something like “for all x in the domain of f, if x = 2, then f(x) = 7.” Or perhaps you might claim, “there exists an x in the domain of f such that f(x) = 7.” The important point being that the function f is formally NOT the formula f(x) = 2x + 3, but a particular set of ordered pairs, of which you can make formal statements about in first order logic. Another example used was A = {n^2 | n = 1, 2, ... 100}
But again this is just “syntactic sugar” that a reader would translate into perhaps A = { n^2 | n in {1, 2, ..., 100}}
|
For example, if we consider the atomic formula x = 5+y, then we may mean the identity ∀x∀y (x = 5+y), where all variables are universally quantified.
Or we may mean ∃x∃y (x = 5+y), where the variables are existentially quantified. To determine whether this holds, we can search for a solution given by a substitution that makes the terms equal modulo some theory E we associate with =. If E is empty, then this corresponds to syntactic unification.
Confusingly, in the literature, sometimes "equation" is used for both, and an entire subthread in this discussion is due to this issue.
When one is asked to "solve for x" etc., then one answers whether there is any solution, thus solving the existentially quantified version. When one means "this identity holds", then one states the universally quantified sentence.