Learn Set Theory in about a week!

Learning should be fun and quick; no need to spend ages in just one single course.

Start learning  

#44 Mathematics
12 mins   /

What exactly is axiomatic set theory?

A formal, axiom-based development of set theory to avoid logical inconsistencies.

Set theory is one of the most profound topics in all of mathematics. It essentially lies at the very foundations of mathematics.

By virtue of this integral position that set theory holds, it was important at the time when the foundations of mathematics were being formalized in it to develop the theory rigorously so as to not give room to any logical inconsistencies in the system.

This work eventually led to the creation of something called axiomatic set theory. Let's see what exactly is it.

Naive set theory

Georg Cantor found the idea of sets and built an expressive notation and theory around them. While mathematicians did use a similar idea of "sets" before Cantor, he was the one who popularized the theory, studying sets in way more depth.

Cantor's study of sets can be thought of much like Euclid's study of geometry. Civilizations before Euclid certainly used geometry in one way or the other but they didn't study it in as much detail as Euclid.

However, Cantor's development of set theory was less formal than what would be required to use it as the very footing on which all of mathematics resides. It was certainly expressive and rich enough to be studied on its own but not formal enough to be able to avoid any logical challenges.

And indeed it was one such challenge posed by a famous British mathematician which shook the idea of using sets to establish the foundations of mathematics (more on that below).

Anyways, Cantor's set theory is really simple and easy to both understand and work with. It's the model used for teaching sets in schools and basic discrete math courses, referred to as naive set theory. The word "naive" emphasizes on the fact that this theory relies on informal and naive ideas (which do have room for logical inconsistencies).

The comprehension rule

In particular, the most problematic part of Cantor's set theory is the comprehension principle. The principle states that you can collect all items that have a certain property into a set. Basically, all you have to do is come up with a property and voila you have a set of objects satisfying that property.

For example, let's say you come up with the property "a member of MIT's administration." Perfect. You can now have a set which is comprised of all members of MIT's administration.

As another example, you might have the property "a real number greater than ::10::." This gives you the set of all real numbers greater than ::10:: (which can compactly be expressed as ::(10, \infin):: in interval notation).

But what's the problem with this approach? you ask. Let's find out...

Russell's paradox

Bertrand Russell, a British mathematician, was the one who pointed out an inconsistency in set theory that was possible only due to the comprehension principle. The sequence of events go as follows.

Gottlob Frege, a German mathematician, began work on building the foundations of mathematics purely using logic and an idea resembling the comprehension principle. When he shared about this work with notable mathematicians, Russell wrote a letter back to him discussing a problem with his system.

Using the comprehension principle, Russell came up with the following property:

A set that is not a member of itself.
It might sound a bit weird at first that a set is being posed as a member of itself. However, having such sets was perfectly allowed by Cantor's set theory. But, as you shall learn soon, the issue isn't in allowing this but rather in the fact that any property can define a set of objects abiding by that property.

Let's see where this seemingly harmless property leads to...

Suppose you have a set ::S:: of all sets satisfying the property not a member of itself. In set-builder notation, this can very easily be expressed as:

::S = \{x \mid x \notin x \}::

So far, so good. Now try answering the question: Is ::S:: a member of itself or not? That is, is ::S \in S::? This very question was the eye-opening moment for mathematicians. Let's try answering it.

For argument sake, suppose that ::S \in S::. Therefore, ::S:: satisfies the property ::x \notin x:: and therefore ::S \notin S::. A contradiction.

This leaves you with the other possibility for ::S::, that is, ::S \notin S::. But even in this case, by definition of the set ::S::, saying that ::S \notin S:: means that ::S:: qualifies as an element of ::S:: and, therefore, ::S \in S::. A contradiction again!

This argument is famously known as the Russell's paradox.

Russell's paradox was acknowledged by Frege and perhaps shattered the sheer excitement that he had to publish his work on formalizing mathematics on logic and the comprehension principle of sets. Frege even wrote to Russell that he didn't have an immediate fix to repel this paradox in his system.

All in all, Russell's paradox shook the foundations of mathematics, that is, the naive idea to build everything from logic and sets without any kind of restriction imposed.

Axiomatic set theory

Russell discovered this paradox in 1901. Almost seven years later, in 1908, Ernst Zermelo and Abraham Fraenkel published what's known today as axiomatic set theory, using an axiom-based grounding for the theory of sets to avoid inconsistencies like the Russell's paradox.

Since Zermelo and Fraenkel were involved in this system, axiomatic set theory is sometimes also known as Zermelo-Fraenkel set theory or simply ZF set theory.

I find it paramount to point out here that major contributions came in from Thoralf Skokem as well but he is barely recognized in the mention of axiomatic set theory. Thus, in light of his contributions, I feel it's better to call it Zermelo-Fraenkel-Skolem set theory. What do you think?

Later, another axiom was added to ZF theory, called the axiom of choice. With this addition, the theory became known as ZFC set theory — the "C" stands for "choice", as you can guess.

Axiomatic set theory is something usually only taught in higher-level computer science and mathematics courses. If you take a course on first-order logic and sets, you'd probably get to learn about it.

Bilal Adnan

Hi there! 👋 I'm the founder of Codeguage — basically the guy who's trying to make life easy for absolute beginners entering into computer science. You can follow me on LinkedIn or Medium to stay up-to-date with my conversations.