Reading preferences
Optional display controls need JavaScript. All reading content and navigation work without it.
How to use Read
This page follows Theories and Their Models in source order. Every equation is native, unflattened MathML, and every source coordinate is available offline.
Introduction
Definition of a closed theory and its closure
A set of sentences source 29 is closed iff, whenever source 30 then source 30. The closure of a set of sentences source 31 is source 31.
We say that source 33 is axiomatized by a set of sentences source 34 if source 34 is the closure of source 34.
Expressing Properties of Structures
Definition of a model of a sentence set
Source title: Model of a set.
Let source 40 be a set of sentences in a language source 40. We say that a structure source 41 is a model of source 41 if source 42 for all source 42.
Example axiomatizing partial orders
The sentence source 46 is true in source 46 iff source 47 is a reflexive relation. The sentence source 48 is true in source 49 iff source 49 is anti-symmetric. The sentence source 50 is true in source 51 iff source 51 is transitive. Thus, the models of Displayed partial-order axioms source 53 are exactly those structures in which source 60 is reflexive, anti-symmetric, and transitive, i.e., a partial order. Hence, we can take them as axioms for the first-order theory of partial orders.
Examples of First-Order Theories
Example theory of strict linear orders
The theory of strict linear orders in the language source 14 is axiomatized by the set Displayed strict-linear-order axioms source 16 It completely captures the intended structures: every strict linear order is a model of this axiom system, and vice versa, if source 24 is a linear order on a set source 25, then the structure source 25 with source 26 and source 26 is a model of this theory.
Example theory of groups
The theory of groups in the language source 30 (constant), source 30 (two-place function) is axiomatized by Displayed group axioms source 32
Example Peano arithmetic
The theory of Peano arithmetic is axiomatized by the following sentences in the language of arithmetic source 42. Displayed Peano-arithmetic axioms source 43 Since there are infinitely many sentences of the latter form, this axiom system is infinite. The latter form is called the induction schema. (Actually, the induction schema is a bit more complicated than we let on here.)
The last axiom is an explicit definition of source 59.
Example candidate theory of pure sets
The theory of pure sets plays an important role in the foundations (and in the philosophy) of mathematics. A set is pure if all its elements are also pure sets. The empty set counts therefore as pure, but a set that has something as a element that is not a set would not be pure. So the pure sets are those that are formed just from the empty set and no “urelements,” i.e., objects that are not themselves sets.
The following might be considered as an axiom system for a theory of pure sets: Displayed pure-set axioms source 73 Reader correction: The extensionality row opens the scope of the z quantifier with a parenthesis instead of the square bracket required by the local quantifier macro. The reader restores the scope bracket. The first axiom says that there is a set with no elements (i.e., source 85 exists); the second says that sets are extensional; the third that for any sets source 86 and source 86, the set source 86 exists; the fourth that for any set source 87, the set source 87 exists, where source 87 is the union of all the elements of source 88.
The sentences mentioned last are collectively called the naive comprehension scheme. It essentially says that for every source 92, the set source 92 exists—so at first glance a true, useful, and perhaps even necessary axiom. It is called “naive” because, as it turns out, it makes this theory unsatisfiable: if you take source 95 to be source 95, you get the sentence source 96 and this sentence is not satisfied in any structure.
Example theory of mereological parthood
In the area of mereology, the relation of parthood is a fundamental relation. Just like theories of sets, there are theories of parthood that axiomatize various conceptions (sometimes conflicting) of this relation.
The language of mereology contains a single two-place predicate symbol source 109, and source 109 “means” that source 109 is a part of source 110. When we have this interpretation in mind, a structure for this language is called a parthood structure. Of course, not every structure for a single two-place predicate will really deserve this name. To have a chance of capturing “parthood,” source 114 must satisfy some conditions, which we can lay down as axioms for a theory of parthood. For instance, parthood is a partial order on objects: every object is a part (albeit an improper part) of itself; no two different objects can be parts of each other; a part of a part of an object is itself part of that object. Note that in this sense “is a part of” resembles “is a subset of,” but does not resemble “is an element of” which is neither reflexive nor transitive. Displayed mereology axioms source 122 These are only some of the basic principles of parthood considered by metaphysicians. Further principles, however, quickly become hard to formulate or write down without first introducing some defined relations. For instance, most metaphysicians interested in mereology also view the following as a valid principle: whenever an object source 138 has a proper part source 138, it also has a part source 138 that has no parts in common with source 139, and so that the fusion of source 139 and source 139 is source 140.
Expressing Relations in a Structure
Definition of a formula expressing a relation
Let source 43 be a formula of source 43 in which only source 44,…, source 44 occur free, and let source 44 be a structure for source 45. source 45 expresses the relation source 46 iff source 47 for any variable assignment source 51 with source 51 (source 51).
Example definable arithmetic relations
In the standard model of arithmetic source 56, the formula source 56 expresses the source 57 relation on source 58. The formula source 58 expresses the successor relation, i.e., the relation source 59 where source 60 holds if source 60 is the successor of source 60. The formula source 61 expresses the predecessor relation. The formulas source 62 and source 63 Reader correction: The final v sub two lacks the object-language marker used for every neighboring variable. The reader supplies that marker without changing the frozen source occurrence. both express the source 64 relation. This means that the predicate symbol source 65 is actually superfluous in the language of arithmetic; it can be defined.
Exercise defining arithmetic relations
Unsolved exercise. The source supplies the prompt only; no solution is added.
Find formulas in source 81 which define the following relations:
Exercise transforming an expressed relation
Unsolved exercise. The source supplies the prompt only; no solution is added.
Suppose the formula source 91 expresses the relation source 91 in a structure source 92. Find formulas that express the following relations:
Can you find a way to express source 98, the transitive closure of source 98?
Exercise on definability in the natural-number order
Unsolved exercise. The source supplies the prompt only; no solution is added.
Let source 102 be the language containing a 2-place predicate symbol source 103 only (no other constants, functions or predicates— except of course source 104). Let source 104 be the structure such that source 105, and source 105. Prove the following:
source 108 is definable in source 108;
source 109 is definable in source 109;
source 110 is definable in source 110;
for each source 111, the set source 111 is definable in source 112;
every finite subset of source 113 is definable in source 114;
every co-finite subset of source 115 is definable in source 116 (where source 116 is co-finite iff source 117 is finite).
The Theory of Sets
Almost all of mathematics can be developed in the theory of sets. Developing mathematics in this theory involves a number of things. First, it requires a set of axioms for the relation source 15. A number of different axiom systems have been developed, sometimes with conflicting properties of source 17. The axiom system known as source 18, Zermelo–Fraenkel set theory with the axiom of choice stands out: it is by far the most widely used and studied, because it turns out that its axioms suffice to prove almost all the things mathematicians expect to be able to prove. But before that can be established, it first is necessary to make clear how we can even express all the things mathematicians would like to express. For starters, the language contains no constants or functions, so it seems at first glance unclear that we can talk about particular sets (such as source 26 or source 26), can talk about operations on sets (such as source 27 and source 27), let alone other constructions which involve things other than sets, such as relations and functions.
To begin with, “is an element of” is not the only relation we are interested in: “is a subset of” seems almost as important. But we can define “is a subset of” in terms of “is an element of.” To do this, we have to find a formula source 34 in the language of set theory which is satisfied by a pair of sets source 36 iff source 36. But source 36 is a subset of source 36 just in case all elements of source 37 are also elements of source 37. So we can define source 38 by the formula source 39 Now, whenever we want to use the relation source 42 in a formula, we could instead use that formula (with source 43 and source 43 suitably replaced, and the bound variable source 44 renamed if necessary). For instance, extensionality of sets means that if any sets source 45 and source 45 are contained in each other, then source 46 and source 46 must be the same set. This can be expressed by source 47, or, if we replace source 48 by the above definition, by source 50 This is in fact one of the axioms of source 54, the “axiom of extensionality.”
There is no constant for source 57, but we can express “source 57 is empty” by source 58. Then “source 58 exists” becomes the sentence source 59. This is another axiom of source 60. (Note that the axiom of extensionality implies that there is only one empty set.) Whenever we want to talk about source 62 in the language of set theory, we would write this as “there is a set that's empty and …” As an example, to express the fact that source 64 is a subset of every set, we could write source 66 where, of course, source 70 would in turn have to be replaced by its definition.
To talk about operations on sets, such as source 73 and source 73, we have to use a similar trick. There are no function symbols in the language of set theory, but we can express the functional relations source 75 and source 76 by Displayed definitions of union and power set source 77 since the elements of source 81 are exactly the sets that are either elements of source 82 or elements of source 82, and the elements of source 83 are exactly the subsets of source 83. However, this doesn't allow us to use source 84 or source 84 as if they were terms: we can only use the entire formulas that define the relations source 86 and source 86. In fact, we do not know that these relations are ever satisfied, i.e., we do not know that unions and power sets always exist. For instance, the sentence source 89 is another axiom of source 90 (the power set axiom).
Now what about talk of ordered pairs or functions? Here we have to explain how we can think of ordered pairs and functions as special kinds of sets. One way to define the ordered pair source 94 is as the set source 95. But like before, we cannot introduce a function that names this set; we can only define the relation source 97, i.e., source 97: source 98 This says that the elements source 102 of source 102 are exactly those sets which either have source 103 as its only element or have source 103 and source 103 as its only elements (in other words, those sets that are either identical to source 105 or identical to source 105). Once we have this, we can say further things, e.g., that source 106: source 107
A function source 112 can be thought of as the relation source 112, i.e., as the set of pairs source 113. We can then say that a set source 114 is a function from source 114 to source 114 if (a) it is a relation source 115, (b) it is total, i.e., for all source 115 there is some source 116 such that source 116 and (c) it is functional, i.e., whenever source 117, source 118 (because values of functions must be unique). So “source 118 is a function from source 119 to source 119” can be written as: Displayed definition of a function graph source 120 Reader correction: At line 121, the source closes the universal-u implication before its aligned existential consequent; at line 123, it closes the universal-x implication before its aligned totality-and-uniqueness consequent. The reader groups both displayed consequents inside their respective universal implications without changing the frozen source. where source 128 abbreviates source 128 (this formula expresses “source 129”).
It is now also not hard to express that source 131 is injective, for instance: Displayed definition of injectivity source 133 Reader correction: The injectivity antecedent closes both universal scopes before the aligned existence clause. The reader groups that clause into the antecedent described by the following prose. A function source 139 is injective iff, whenever source 139 maps source 139 to a single source 140, source 140. If we abbreviate this formula as source 141, we're already in a position to state in the language of set theory something as non-trivial as Cantor's theorem: there is no injective function from source 143 to source 143: source 144
One might think that set theory requires another axiom that guarantees the existence of a set for every defining property. If source 150 is a formula of set theory with the variable source 151 free, we can consider the sentence source 153 This sentence states that there is a set source 156 whose elements are all and only those source 157 that satisfy source 157. This schema is called the “comprehension principle.” It looks very useful; unfortunately it is inconsistent. Take source 159, then the comprehension principle states source 161 i.e., it states the existence of a set of all sets that are not elements of themselves. No such set can exist—this is Russell's Paradox. source 166, in fact, contains a restricted—and consistent—version of this principle, the separation principle: source 168
Exercise deriving Russell's contradiction
Unsolved exercise. The source supplies the prompt only; no solution is added.
Show that the comprehension principle is inconsistent by giving a derivation that shows source 176 It may help to first show source 179.
Expressing the Size of Structures
Proposition expressing at least and at most n elements
The sentence Displayed sentence for at least n elements source 23 is true in a structure source 33 iff source 33 contains at least source 34 elements. Consequently, source 34 iff source 35 contains at most source 35 elements.
Proposition expressing exactly n elements
The sentence Displayed sentence for exactly n elements source 41 is true in a structure source 52 iff source 52 contains exactly source 53 elements.
Proposition characterizing infinite structures
A structure is infinite iff it is a model of source 58
There is no single purely logical sentence which is true in source 63 iff source 64 is infinite. However, one can give sentences with non-logical predicates which only have infinite models (although not every infinite structure is a model of them). The property of being a finite structure, and the property of being a nonenumerable structure cannot even be expressed with an infinite set of sentences. These facts follow from the compactness and Löwenheim–Skolem theorems.