Skip to the Main Content

Note:These pages make extensive use of the latest XHTML and CSS Standards. They ought to look great in any standards-compliant modern browser. Unfortunately, they will probably look horrible in older browsers, like Netscape 4.x and IE 4.x. Moreover, many posts use MathML, which is, currently only supported in Mozilla. My best suggestion (and you will thank me when surfing an ever-increasing number of sites on the web which have been crafted to use the new standards) is to upgrade to the latest version of your browser. If that's not possible, consider moving to the Standards-compliant and open-source Mozilla browser.

October 18, 2024

Axiomatic Set Theory 5: Relations

Posted by Tom Leinster

Previously: Part 4. Next: Part 6

I called this chapter of my course “Relations”, but I should have called it “Specifying subsets and functions”, because that’s what it’s all about. This week, we saw that it’s possible to define subsets of a set XX by expressions like

{xX:some property of x holds}, \{ x \in X : \text{some property of }\ x\ \text{ holds} \},

and functions ff by expressions like

f(x)=some formula in x. f(x) = \text{some formula in }\ x.

I didn’t want to drown the students in notation, so I didn’t give precise definitions of “property” and “formula”. Instead, I aimed to give them practical tools that would apply to situations they’re likely to meet.

Quantifiers applied to a relation

The story for specifying subsets goes like this. Given a property P(x)P(x) of elements xx of a set XX, we can ask whether there’s a subset AA of XX such that

xAP(x) x \in A \iff P(x)

(xXx \in X). If there is, we say that P(x)P(x) specifies a subset of XX and write AA as {xX:P(x)}\{x \in X : P(x)\}.

Our task is to show that lots of properties specify subsets, so that we can use the usual set-builder notation with abandon. And we carry out this task in two steps:

  • We establish some basic properties that specify subsets. These are the building blocks. For example, if we’ve got an element xx of a set XX, then we get the singleton subset {x}\{x\}. And if we’ve got two functions f,g:XYf, g: X \to Y, we get their equalizer {xX:f(x)=g(x)}\{x \in X: f(x) = g(x)\}.

  • Then we establish various ways of combining properties. These are the familiar logical operators: propositional ones like “and” and “not”, quantifiers, and so on. For example, if P(x,y)P(x, y) is a property of elements xXx \in X and yYy \in Y that specifies a subset of X×YX \times Y, and Q()Q() is a property of elements yYy \in Y that specifies a subset of YY, then we can define a subset of YY by {yY:((xX)P(x,y)) and not Q(y)}. \{ y \in Y : ((\exists x \in X)P(x, y)) \ \text{ and not } \ Q(y) \}.

By combining the basic properties, we end up being able to specify subsets in just about any way we might ever want to.

That’s how we specify subsets by “just writing them down”. But this week, I also explained how to do the same for “functions”.

The key here is the notion of graph. I showed my class the theorem that for sets XX and YY, the functions XYX \to Y correspond to the relations between XX and YY that are functional, in the sense that each element of XX is related to exactly one element of YY. The graph of a function is a functional relation, and conversely, every functional relation is the graph of exactly one function.

This correspondence between functions XYX \to Y and functional relations between XX and YY — which are subsets of X×YX \times Y — is extremely useful. It lets us use all our technology for specifying subsets to specify graphs. For instance, even proving that every injective function between nonempty sets has a retraction is most easily done if you can “just write it down”.

That’s one of the examples that I gave in the notes of specifying a function by its graph, but there are several more besides. And next week, we’ll use this tactic to prove the existence of coproducts.

Posted at October 18, 2024 4:27 PM UTC

TrackBack URL for this Entry:   https://golem.ph.utexas.edu/cgi-bin/MT-3.0/dxy-tb.fcgi/3567

2 Comments & 0 Trackbacks

Re: Axiomatic Set Theory 5: Relations

I absolutely love these course notes! This may be an annoying remark, but the statement “An axiomatization is just an agreement about how we’re going to use the word ‘set’.” appearing on p. 8 bothers me just a little. An agreement about how to use a certain word is a form of definition of that word because what else could it be? If we see definitions as named (encapsulated) constructions in a formal (typed) language then axioms and axiomatic notions can be seen as definitions without definientia (see the lambda-D type theory, described in “Type Theory and Formal Proof”). Axioms and axiomatic notions are choices (which is why it makes no sense to say they are true or false, just like it does not make sens to say that about any definition), and what differentiates them from regular (unfoldable) definitions is that they are choices to speak as if some statements had proofs or some objects could be constructed from more elementary objects. This similarity to regular definitions is perhaps to deep to be ignored?

Posted by: Boryslaw Paulewicz on October 22, 2024 7:56 AM | Permalink | Reply to this

Re: Axiomatic Set Theory 5: Relations

Thanks for the kind words. And I do see your point. As you say, a definition is also just an agreement about how to use a word.

It’s also true that at the start of the course, I really wanted to emphasize to my students — undergraduates who’ve never done anything like this before — that everything has to come from the axioms, that nothing can be taken for granted. I wanted to deter them from doing things like “writing down” subsets with expressions {xX:whatever}\{x \in X: whatever \} before we’d defined that notation from the axioms. Similarly, I went to some effort to explain why it’s not valid to specify a function by writing down a formula for it, why you have to show from the axioms that a function satisfying that formula actually exists.

So that’s why there’s all that stuff in the introduction explaining that it’s a kind of game, that we choose our axioms/rules/contract/agreement and everything has to flow from there — not from any intuition that we have about sets, nor from anything about sets that we’ve learned before. Pedagogically speaking, I needed to bang that drum quite hard.

For sure, some of it could be written better. These notes are very much a first iteration. I’m writing at a very high speed, and there’s loads of room for improvement. So I appreciate the feedback.

Posted by: Tom Leinster on October 27, 2024 1:09 PM | Permalink | Reply to this

Post a New Comment