13

This question was essentially asked and responded to here, but I don't feel it was really answered:

Is the axiom of extensionality merely called an "axiom" by convention, or is there a clear distinction between axioms and definitions that forbids it from being considered a definition of set equality?

The answer in the linked post seems to address what would happen if the axiom were rejected altogether, but doesn't discuss whether there is good reason to consider it an axiom rather than a definition. If axioms and definitions are just two different words for the same thing, then that's fine—but I get the feeling I'm missing something. Do we simply call a definition an axiom if it defines a particularly foundational concept (like equality)?

WillG
  • 6,585
  • 1
    If we consider equality as a relation defined by the axiom of extensionality, then we need another axiom to tell us that "if $x=y$ and $x\in z$ then $y\in z.$" With the usual treatment, that would be taken care of by the logic of equality. At least that's how I understand it. Let's see what the experts on logic and set theory say. – bof Apr 02 '18 at 05:18
  • The "$=$" symbol has a meaning in formal logic just as "$\forall$" and "$\exists$" have meanings. Hence the axiom of extensionality is really an assertion – Exit path Apr 02 '18 at 05:19
  • I have heard definitions called "non-creative axioms." That is, you must not be able to prove anything after adding the definition that you couldn't prove before adding it. If removing the axiom of extensionality weakens the theory, then it is an axiom, not a definition. – saulspatz Apr 02 '18 at 05:20
  • @leibnewtz That's how it's usually done, but I think there is a less popular but equivalent formulation of set theory in logic without equality. But I could be wrong, I'm just an amateur. – bof Apr 02 '18 at 05:22
  • I think, among the answer to the questions you have linked, user AsafKaragila's concisely captures the point of why this is an axiom: although the statement is phrased in a way that reminds most definitions in everyday mathematics (as in "Something is [unknown adjective] if and only if [property]"), what the axiom actually does is stating a mutual dependence between the relation "$\in$" and the relation "$=$". [continues...] –  Apr 02 '18 at 05:24
  • 2
    One way or another, you've got to be able to prove that $$\forall z(z\in x\leftrightarrow z\in y)\leftrightarrow\forall z(x\in z\leftrightarrow x\in y)$$ and I think you will need some axiom for that. – bof Apr 02 '18 at 05:26
  • @bof Without equality do you mean without the axiom of extensionality? What does that look like? Or without the symbol "$=$"? – Exit path Apr 02 '18 at 05:26
  • [continuation...] For instance, if you want to make a model of set theory using natural numbers as objects, then you'd need to specify how to evaluate if the statement "$3\in 4$" is true. That you may do as you best think it fit, though extensionality would require you to take into account that, $$(\forall x,(x\notin a\vee x\in b))\wedge((\forall x,(x\notin b\vee x\in a))$$ must be true only if $a=b$. Other axioms would force you to be more demanding on your candidate relation "$\in$". –  Apr 02 '18 at 05:28
  • 1
    @leibnewtz I mean that, instead of formalizing your set theory in first order logic with equality, you can formalize it in first order logic without equality. Since you don't have the logical notion of equality, you have to define it, e.g. by extensionality. But you still need axioms to make your defined equality work like it should. – bof Apr 02 '18 at 05:29
  • @bof I see. That sounds unnecessarily complicated, but who am I to say – Exit path Apr 02 '18 at 05:30
  • Although it can be a useful distinction in informal discussions as a kind of social convention, I don't think it has been found to be necessary to formally distinguish between axioms and definition. – Dan Christensen Apr 02 '18 at 17:28
  • 1
    In many forms of set theory the axiom of extensionality is used to define equality. The traditional language of set theory only includes $\in$, so that $=$ has to be defined separately. However, the axiom of extensionality is phrased slightly differently in this case; see the Wikipedia article https://en.wikipedia.org/wiki/Axiom_of_extensionality#In_predicate_logic_without_equality – Carl Mummert Apr 02 '18 at 20:17
  • 1
    @bof Did you mean $\forall z(z \in x \leftrightarrow z \in y) \leftrightarrow \forall z (x \in z \leftrightarrow y \in z)$? – user76284 Apr 10 '19 at 18:11
  • @user76284 Oops! Yes, of course. :-( – bof Apr 10 '19 at 18:20

2 Answers2

14

First-order logic can be defined with or without equality. If you are working in a first-order logic with equality, which is the typical case, then stating that $X = Y \iff \forall x.x\in X\Leftrightarrow x \in Y$ is a substantial axiom that could lead to contradiction. The benefit of working in a logic with equality is that you have the rule for replacing equals for equals in predicates. As bof mentioned, this is the indiscernibility of identicals $\cfrac{x = y\qquad P(x)}{P(y)}$. Having the equality as part of the logic also impacts semantics (though considering models of set theory isn't a thing one normally does unless they are a set theorist). If equality is part of the logic, then we require equality to actually be equality in the semantics.

If, instead, we use a first-order logic without equality, then $=$ is just another binary predicate symbol like any other. No different than $\in$. In this case, the "axiom" of extensionality is merely its definition. The indiscernibility of identicals is now a meta-theorem that you would need to prove, and could easily fail to be true. This wouldn't be a problem but it would mean that the $=$ relation wouldn't behave like equality. (Again, to contrast, in FOL with equality, a failure of the indiscernibility of identicals would be a contradiction.) Semantically, $=$ would just be modeled as an equivalence relation that was compatible with $\in$.

So whether the "axiom of extensibility" is a non-trivial logical assertion or a definition depends on whether equality is already defined or not. In FOL with equality, it is and thus this is an axiom that, quite possibly, could cause a contradiction. In FOL without equality, this is merely a definition of a binary relation symbol and can't possibly cause contradiction; it can only be misleading. I should say from the perspective of informal proofs, it makes no difference which view you take. For more formal proofs, if you can use the meta-theorem proving the indiscernibility of identicals, then it also won't be much different, but that meta-theorem just means that an actual formal proof exists. The actual formal proof could be quite large where, if we were working in a logic with equality, it would be a single step of inference. This would be an issue for a mechanized implementation of logic or if you wanted to actually write out the formal proof. In this vein, working in a logic with equality is much more convenient.

  • 1
    Looking back at this much later, I think it's worth making explicit that in "case 2," where = is not part of FOL and we consider the standard axiom of extensionality to be the definition of =, we still need to impose another form of extensionality as a genuine axiom. Namely, we need an axiom to tell us that if $x=y$ and $x\in z$, then $y\in z$. This is what allows proving indiscernibility of identicals as a metatheorem, which you alluded to. This is also what @bof was getting at in the comments. – WillG May 18 '23 at 18:32
7

If you're asking about why the axiom of extensionality is needed in set theory specifically, the answer isn't about $=$ but rather about $\in$.

Remember that a priori, "$\in$" is just some binary relation symbol. Structures in the language $\{\in\}$ are essentially just directed graphs where there is at most one edge between any two vertices. Thought of this way, extensionality says:

If $a, b$ are vertices, and every vertex with an edge to $a$ also has an edge to $b$ and vice versa, then $a=b$.

Obviously this is not true in general! E.g. consider a graph with fifteen vertices and no edges. Basically, the point is that the semantics for first-order logic does understand what "$=$" means; however, it doesn't understand what "$\in$" is supposed to mean until we add some axioms.

Noah Schweber
  • 245,398
  • What kind of graphs then does the set theory permit? I guess that they have to be like infinite chains possibly with branching. – Atom Jul 26 '20 at 19:54