Set theory is the branch of
mathematical logic
Mathematical logic is the study of Logic#Formal logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory (also known as computability theory). Research in mathematical logic com ...
that studies
sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
– is mostly concerned with those that are relevant to mathematics as a whole.
The modern study of set theory was initiated by the German mathematicians
Richard Dedekind and
Georg Cantor
Georg Ferdinand Ludwig Philipp Cantor ( ; ; – 6 January 1918) was a mathematician who played a pivotal role in the creation of set theory, which has become a foundations of mathematics, fundamental theory in mathematics. Cantor establi ...
in the 1870s. In particular, Georg Cantor is commonly considered the founder of set theory. The non-formalized systems investigated during this early stage go under the name of ''
naive set theory''. After the discovery of
paradoxes within naive set theory (such as
Russell's paradox,
Cantor's paradox and the
Burali-Forti paradox), various
axiomatic systems were proposed in the early twentieth century, of which
Zermelo–Fraenkel set theory (with or without the
axiom of choice) is still the best-known and most studied.
Set theory is commonly employed as a foundational system for the whole of mathematics, particularly in the form of Zermelo–Fraenkel set theory with the axiom of choice. Besides its foundational role, set theory also provides the framework to develop a mathematical theory of
infinity
Infinity is something which is boundless, endless, or larger than any natural number. It is denoted by \infty, called the infinity symbol.
From the time of the Ancient Greek mathematics, ancient Greeks, the Infinity (philosophy), philosophic ...
, and has various applications in
computer science
Computer science is the study of computation, information, and automation. Computer science spans Theoretical computer science, theoretical disciplines (such as algorithms, theory of computation, and information theory) to Applied science, ...
(such as in the theory of
relational algebra
In database theory, relational algebra is a theory that uses algebraic structures for modeling data and defining queries on it with well founded semantics (computer science), semantics. The theory was introduced by Edgar F. Codd.
The main applica ...
),
philosophy
Philosophy ('love of wisdom' in Ancient Greek) is a systematic study of general and fundamental questions concerning topics like existence, reason, knowledge, Value (ethics and social sciences), value, mind, and language. It is a rational an ...
,
formal semantics, and
evolutionary dynamics. Its foundational appeal, together with its
paradoxes, and its implications for the concept of infinity and its multiple applications have made set theory an area of major interest for
logic
Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure o ...
ians and
philosophers of mathematics. Contemporary research into set theory covers a vast array of topics, ranging from the structure of the
real number
In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
line to the study of the
consistency of
large cardinals.
History
Early history
The basic notion of grouping objects has existed since at least the
emergence of numbers, and the notion of treating sets as their own objects has existed since at least the
Tree of Porphyry, 3rd-century AD. The simplicity and ubiquity of sets makes it hard to determine the origin of sets as now used in mathematics, however,
Bernard Bolzano's ''
Paradoxes of the Infinite'' (''Paradoxien des Unendlichen'', 1851) is generally considered the first rigorous introduction of sets to mathematics. In his work, he (among other things) expanded on
Galileo's paradox, and introduced
one-to-one correspondence of infinite sets, for example between the
intervals