Material set theory, universal sets, and pedagogy [0087]
In my Discrete Mathematics course I am currently teaching (traditional, material) set theory. I've recently noticed several instances where we really "want" to have a universe of discourse, i.e. a global set U of which which other sets under consideration are subsets.
- Of course the notion of set complement doesn't make sense without a universe of discourse; complement with respect to what?
- I typically introduce set equality by defining A = B to mean (A \subseteq B) \land (B \subseteq A). But sometimes we would really like to treat set equality extensionally, i.e. (A = B) \leftrightarrow (\forall x. x \in A \leftrightarrow x \in B). But what is the \forall quantifying over? For this to make sense, we must posit that we are quantifying over some kind of universe.
- As for the subset relation itself, I typically define A \subseteq B as \forall x \in A. x \in B, but perhaps it is nicer to define it as \forall x \in U. (x \in A) \to (x \in B). If we define it that way, the extensional and subset-both-ways definitions of set equality are simply related by the fact that \forall distributes over \land :
\forall x: U. (x \in A) \leftrightarrow (x \in B)\equiv \quad \quad \quad { Definition of \leftrightarrow }\forall x: U. ((x \in A) \rightarrow (x \in B)) \land ((x \in B) \rightarrow (x \in A))\equiv \quad \quad \quad { \forall distributes over \land }(\forall x: U. (x \in A) \rightarrow (x \in B)) \land (\forall x: U. (x \in B) \rightarrow (x \in A))\equiv \quad \quad \quad { Definition of \subseteq }(A \subseteq B) \land (B \subseteq A)
But saying "there always has to be a universal set U" is kind of equivalent to saying that we want our sets to be typed: you can't just have "a set", you have to say what universe the elements are going to be chosen from, i.e. the type of the elements.
What I would really like to do is start with some basic type theory, then later introduce sets as \mathrm {Set}(T) \equiv T \to 2, and build up from there. But that would be a big change. It's too late for this semester, but maybe next year...