Basics of Model Theory

Similar documents
Characterizing First Order Logic

Elementary Equivalence, Partial Isomorphisms, and. Scott-Karp analysis

VAUGHT S THEOREM: THE FINITE SPECTRUM OF COMPLETE THEORIES IN ℵ 0. Contents

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

1 Completeness Theorem for Classical Predicate

Math 225A Model Theory. Speirs, Martin

Löwenheim-Skolem Theorems, Countable Approximations, and L ω. David W. Kueker (Lecture Notes, Fall 2007)

Part II. Logic and Set Theory. Year

Friendly Logics, Fall 2015, Lecture Notes 5

Cardinality and ordinal numbers

More Model Theory Notes

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

2.2 Lowenheim-Skolem-Tarski theorems

Preliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic

Harmonious Logic: Craig s Interpolation Theorem and its Descendants. Solomon Feferman Stanford University

ULTRAPRODUCTS AND MODEL THEORY

FINITE MODEL THEORY (MATH 285D, UCLA, WINTER 2017) LECTURE NOTES IN PROGRESS

AMS regional meeting Bloomington, IN April 1, 2017

Introduction to Model Theory

POL502: Foundations. Kosuke Imai Department of Politics, Princeton University. October 10, 2005

Scott Sentences in Uncountable Structures

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Model Theory MARIA MANZANO. University of Salamanca, Spain. Translated by RUY J. G. B. DE QUEIROZ

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Solutions to Unique Readability Homework Set 30 August 2011

1 Completeness Theorem for First Order Logic

Herbrand Theorem, Equality, and Compactness

18.S097 Introduction to Proofs IAP 2015 Lecture Notes 1 (1/5/2015)

The Vaught Conjecture Do uncountable models count?

March 3, The large and small in model theory: What are the amalgamation spectra of. infinitary classes? John T. Baldwin

Informal Statement Calculus

Sets, Models and Proofs. I. Moerdijk and J. van Oosten Department of Mathematics Utrecht University

Special Topics on Applied Mathematical Logic

Disjoint n-amalgamation

Qualifying Exam Logic August 2005

Meta-logic derivation rules

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

USING ULTRAPOWERS TO CHARACTERIZE ELEMENTARY EQUIVALENCE

October 12, Complexity and Absoluteness in L ω1,ω. John T. Baldwin. Measuring complexity. Complexity of. concepts. to first order.

Handout: Proof of the completeness theorem

Mathematical Logic (IX)

Model Theory on Finite Structures

Completeness in the Monadic Predicate Calculus. We have a system of eight rules of proof. Let's list them:

What is the right type-space? Humboldt University. July 5, John T. Baldwin. Which Stone Space? July 5, Tameness.

There are infinitely many set variables, X 0, X 1,..., each of which is

Lecture 13: Soundness, Completeness and Compactness

MODEL THEORY FOR ALGEBRAIC GEOMETRY

MATH FINAL EXAM REVIEW HINTS

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.

EXCURSIONS IN MODEL THEORY

CMPS 217 Logic in Computer Science. Lecture #17

Sequences. Chapter 3. n + 1 3n + 2 sin n n. 3. lim (ln(n + 1) ln n) 1. lim. 2. lim. 4. lim (1 + n)1/n. Answers: 1. 1/3; 2. 0; 3. 0; 4. 1.

LINDSTRÖM S THEOREM SALMAN SIDDIQI

Axioms for Set Theory

Gödel s Completeness Theorem

Notes on ordinals and cardinals

Analysis I. Classroom Notes. H.-D. Alber

Incomplete version for students of easllc2012 only. 94 First-Order Logic. Incomplete version for students of easllc2012 only. 6.5 The Semantic Game 93

Axioms of separation

ω-stable Theories: Introduction

Notes for Math 601, Fall based on Introduction to Mathematical Logic by Elliott Mendelson Fifth edition, 2010, Chapman & Hall

A1 Logic (25 points) Using resolution or another proof technique of your stated choice, establish each of the following.

LGIC 310/MATH 570/PHIL 006 Fall, 2010 Scott Weinstein 9

COMPLETENESS OF THE RANDOM GRAPH: TWO PROOFS

tp(c/a) tp(c/ab) T h(m M ) is assumed in the background.

PRESERVATION THEOREMS IN LUKASIEWICZ MODEL THEORY

MAT1000 ASSIGNMENT 1. a k 3 k. x =

Generic cuts in models of Peano arithmetic

CONTENTS. Appendix C: Gothic Alphabet 109

Contribution of Problems

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.

Selected problems from past exams

First In-Class Exam Solutions Math 410, Professor David Levermore Monday, 1 October 2018

Axiomatisation of Hybrid Logic

CSE 20. Final Review. CSE 20: Final Review

Mathematical Preliminaries. Sipser pages 1-28

Propositional and Predicate Logic - IV

Computability theory and uncountable structures

SEPARABLE MODELS OF RANDOMIZATIONS

A MODEL-THEORETIC PROOF OF HILBERT S NULLSTELLENSATZ

Introduction to Metalogic

The Absoluteness of Constructibility

Solutions to Tutorial 8 (Week 9)


EXISTENTIALLY CLOSED II 1 FACTORS. 1. Introduction

Finite Model Theory: First-Order Logic on the Class of Finite Models

Incomplete version for students of easllc2012 only. 6.6 The Model Existence Game 99

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

0-1 Laws for Fragments of SOL

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION

GÖDEL S COMPLETENESS AND INCOMPLETENESS THEOREMS. Contents 1. Introduction Gödel s Completeness Theorem

Example. Lemma. Proof Sketch. 1 let A be a formula that expresses that node t is reachable from s

First-Order Logic (FOL)

Computability Theoretic Properties of Injection Structures

n n P} is a bounded subset Proof. Let A be a nonempty subset of Z, bounded above. Define the set

Outline. Formale Methoden der Informatik First-Order Logic for Forgetters. Why PL1? Why PL1? Cont d. Motivation

Infinite and Finite Model Theory Part II

Finite Model Theory Tutorial. Lecture 1

Introduction to Model Theory

On the Expressive Power of Logics on Finite Models

Transcription:

Chapter udf Basics of Model Theory bas.1 Reducts and Expansions mod:bas:red: defn:reduct mod:bas:red: prop:reduct Often it is useful or necessary to compare languages which have symbols in common, as well as structures for these languages. The most comon case is when all the symbols in a language L are also part of a language L, i.e., L L. An L-structure M can then always be expanded to an L -structure by adding interpretations of the additional symbols while leaving the interpretations of the common symbols the same. On the other hand, from an L -structure M we can obtain an L-structure simpy by forgetting the interpretations of the symbols that do not occur in L. Definition bas.1. Suppose L L, M is an L-structure and M is an L - structure. M is the reduct of M to L, and M is an expansion of M to L iff 1. M = M 2. For every constant symbol c L, c M = c M. 3. For every function symbol f L, f M = f M. 4. For every predicate symbol P L, P M = P M. Proposition bas.2. If an L-structure M is a reduct of an L -structure M, then for all L-sentences ϕ, Proof. Exercise. M ϕ iff M ϕ. Problem bas.1. Prove Proposition bas.2. Definition bas.3. When we have an L-structure M, and L = L {P } is the expansion of L obtained by adding a single n-place predicate symbol P, and R M n is an n-place relation, then we write (M, R) for the expansion M of M with P M = R. 1

bas.2 Substructures The domain of a structure M may be a subset of another M. But we should obviously only consider M a part of M if not only M M, but M and M agree in how they interpret the symbols of the language at least on the shared part M. mod:bas:sub: sec Definition bas.4. Given structures M and M for the same language L, we say that M is a substructure of M, and M an extension of M, written M M, iff mod:bas:sub: defn:substructure 1. M M, 2. For each constant c L, c M = c M ; 3. For each n-place predicate symbol f L f M (a 1,..., a n ) = f M (a 1,..., a n ) for all a 1,..., a n M. 4. For each n-place predicate symbol R L, a 1,..., a n R M iff a 1,..., a n R M for all a 1,..., a n M. Remark 1. If the language contains no constant or function symbols, then any N M determines a substructure N of M with domain N = N by putting R N = R M N n. mod:bas:sub: rem:substructure bas.3 Overspill Theorem bas.5. If a set Γ of sentences has arbitrarily large finite models, then it has an infinite model. mod:bas:ove: sec mod:bas:ove: overspill Proof. Expand the language of Γ by adding countably many new constants c 0, c 1,... and consider the set Γ {c i c j : i j}. To say that Γ has arbitrarily large finite models means that for every m > 0 there is n m such that Γ has a model of cardinality n. This implies that Γ {c i c j : i j} is finitely satisfiable. By compactness, Γ {c i c j : i j} has a model M whose domain must be infinite, since it satisfies all inequalities c i c j. Proposition bas.6. There is no sentence ϕ of any first-order language that is true in a structure M if and only if the domain M of the structure is infinite. mod:bas:ove: inf-not-fo Proof. If there were such a ϕ, its negation ϕ would be true in all and only the finite structures, and it would therefore have arbitrarily large finite models but it would lack an infinite model, contradicting Theorem bas.5. 2 basics rev: 89307f1 (2019-02-27) by OLP / CC BY

bas.4 Isomorphic Structures sec defn:elem-equiv defn:isomorphism First-order structures can be alike in one of two ways. One way in which the can be alike is that they make the same sentences true. We call such structures elementarily equivalent. But structures can be very different and still make the same sentences true for instance, one can be enumerable and the other not. This is because there are lots of features of a structure that cannot be expressed in first-order languages, either because the language is not rich enough, or because of fundamental limitations of first-order logic such as the Löwenheim- Skolem theorem. So another, stricter, aspect in which structures can be alike is if they are fundamentally the same, in the sense that they only differ in the objects that make them up, but not in their structural features. A way of making this precise is by the notion of an isomorphism. Definition bas.7. Given two structures M and M for the same language L, we say that M is elementarily equivalent to M, written M M, if and only if for every sentence ϕ of L, M ϕ iff M ϕ. Definition bas.8. Given two structures M and M for the same language L, we say that M is isomorphic to M, written M M, if and only if there is a function h: M M such that: 1. h is injective: if h(x) = h(y) then x = y; 2. h is surjective: for every y M there is x M such that h(x) = y; defn:iso-const defn:iso-pred defn:iso-func 3. 4. 5. for every constant symbol c: h(c M ) = c M ; for every n-place predicate symbol P : a 1,..., a n P M iff h(a 1 ),..., h(a n ) P M ; for every n-place function symbol f: h(f M (a 1,..., a n )) = f M (h(a 1 ),..., h(a n )). thm:isom Theorem bas.9. If M M then M M. Proof. Let h be an isomorphism of M onto M. For any assignment s, h s is the composition of h and s, i.e., the assignment in M such that (h s)(x) = h(s(x)). By induction on t and ϕ one can prove the stronger claims: a. h(val M s (t)) = Val M h s(t). b. M, s ϕ iff M, h s ϕ. The first is proved by induction on the complexity of t. 1. If t c, then Val M s (c) = c M and Val M h s(c) = c M. Thus, h(val M s (t)) = h(c M ) = c M (by (3) of Definition bas.8) = Val M h s(t). basics rev: 89307f1 (2019-02-27) by OLP / CC BY 3

2. If t x, then Val M s (x) = s(x) and Val M h s(x) = h(s(x)). Thus, h(val M s (x)) = h(s(x)) = Val M h s(x). 3. If t f(t 1,..., t n ), then Val M s (t) = f M (Val M s (t 1 ),..., Val M s (t n )) Val M h s(t) = f M (Val M h s(t 1 ),..., Val M h s(t n )). and The induction hypothesis is that for each i, h(val M s (t i )) = Val M h s(t i ). So, h(val M s (t)) = h(f M (Val M s (t 1 ),..., Val M s (t n )) = h(f M (Val M h s(t 1 ),..., Val M h s(t n )) = f M (Val M h s(t 1 ),..., Val M h s(t n )) = Val M h s(t) (bas.1) (bas.2) iso-1 iso-2 Here, eq. (bas.1) follows by induction hypothesis and eq. (bas.2) by (5) of Definition bas.8. Part (2) is left as an exercise. If ϕ is a sentence, the assignments s and h s are irrelevant, and we have M ϕ iff M ϕ. Problem bas.2. Carry out the proof of (b) of Theorem bas.9 in detail. Make sure to note where each of the five properties characterizing isomorphisms of Definition bas.8 is used. Definition bas.10. An automorphism of a structure M is an isomorphism of M onto itself. Problem bas.3. Show that for any structure M, if X is a definable subset of M, and h is an automorphism of M, then X = {h(x) : x X} (i.e., X is fixed under h). bas.5 The Theory of a Structure Every structure M makes some sentences true, and some false. The set of all the sentences it makes true is called its theory. That set is in fact a theory, since anything it entails must be true in all its models, including M. Definition bas.11. Given a structure M, the theory of M is the set Th(M) of sentences that are true in M, i.e., Th(M) = {ϕ : M ϕ}. We also use the term theory informally to refer to sets of sentences having an intended interpretation, whether deductively closed or not. Proposition bas.12. For any M, Th(M) is complete. 4 basics rev: 89307f1 (2019-02-27) by OLP / CC BY

mod:bas:thm: prop:equiv mod:bas:thm: remark:r Proof. For any sentence ϕ either M ϕ or M ϕ, so either ϕ Th(M) or ϕ Th(M). Proposition bas.13. If N = ϕ for every ϕ Th(M), then M N. Proof. Since N ϕ for all ϕ Th(M), Th(M) Th(N). If N ϕ, then N ϕ, so ϕ / Th(M). Since Th(M) is complete, ϕ Th(M). So, Th(N) Th(M), and we have M N. Remark 2. Consider R = R, <, the structure whose domain is the set R of the real numbers, in the language comprising only a 2-place predicate symbol interpreted as the < relation over the reals. Clearly R is non-enumerable; however, since Th(R) is obviously consistent, by the Löwenheim-Skolem theorem it has an enumerable model, say S, and by Proposition bas.13, R S. Moreover, since R and S are not isomorphic, this shows that the converse of Theorem bas.9 fails in general. bas.6 Partial Isomorphisms defn:partialisom thm:p-isom1 Definition bas.14. Given two structures M and N, a partial isomorphism from M to N is a finite partial function p taking arguments in M and returning values in N, which satisfies the isomorphism conditions from Definition bas.8 on its domain: 1. p is injective; 2. for every constant symbol c: if p(c M ) is defined, then p(c M ) = c N ; 3. for every n-place predicate symbol P : if a 1,..., a n are in the domain of p, then a 1,..., a n P M if and only if p(a 1 ),..., p(a n ) P N ; 4. for every n-place function symbol f: if a 1,..., a n are in the domain of p, then p(f M (a 1,..., a n )) = f N (p(a 1 ), dots, p(a n )). That p is finite means that dom(p) is finite. Notice that the empty function is always a partial isomorphism between any two structures. Definition bas.15. Two structures M and N, are partially isomorphic, written M p N, if and only if there is a non-empty set I of partial isomorphisms between M and N satisfying the back-and-forth property: 1. (Forth) For every p I and a M there is q I such that p q and a is in the domain of q; 2. (Back) For every p I and b N there is q I such that p q and b is in the range of q. Theorem bas.16. If M p N and M and N are enumerable, then M N. basics rev: 89307f1 (2019-02-27) by OLP / CC BY 5

Proof. Since M and N are enumerable, let M = {a 0, a 1,...} and N = {b 0, b 1,...}. Starting with an arbitrary p 0 I, we define an increasing sequence of partial isomorphisms p 0 p 1 p 2 as follows: 1. if n + 1 is odd, say n = 2r, then using the Forth property find a p n+1 I such that p n p n+1 and a r is in the domain of p n+1 ; 2. if n + 1 is even, say n + 1 = 2r, then using the Back property find a p n+1 I such that p n p n+1 and b r is in the range of p n+1. If we now put: p = n 0 p n, we have that p is a an isomorphism between M and N. Problem bas.4. Show in detail that p as defined in Theorem bas.16 is in fact an isomorphism. Theorem bas.17. Suppose M and N are structures for a purely relational language (a language containing only predicate symbols, and no function symbols or constants). Then if M p N, also M N. thm:p-isom2 Proof. By induction on formulas, one shows that if a 1,..., a n and b 1,..., b n are such that there is a partial isomorphism p mapping each a i to b i and s 1 (x i ) = a i and s 2 (x i ) = b i (for i = 1,..., n), then M, s 1 ϕ if and only if N, s 2 ϕ. The case for n = 0 gives M N. Remark 3. If function symbols are present, the previous result is still true, but one needs to consider the isomorphism induced by p between the substructure of M generated by a 1,..., a n and the substructure of N generated by b 1,..., b n. The previous result can be broken down into stages by establishing a connection between the number of nested quantifiers in a formula and how many times the relevant partial isomorphisms can be extended. Definition bas.18. For any formula ϕ, the quantifier rank of ϕ, denoted by qr(ϕ) N, is recursively defined as the highest number of nested quantifiers in ϕ. Two structures M and N are n-equivalent, written M n N, if they agree on all sentences of quantifier rank less than or equal to n. Proposition bas.19. Let L be a finite purely relational language, i.e., a language containing finitely many predicate symbols and constant symbols, and no function symbols. Then for each n N there are only finitely many firstorder sentences in the language L that have quantifier rank no greater than n, up to logical equivalence. Proof. By induction on n. prop:qr-finite 6 basics rev: 89307f1 (2019-02-27) by OLP / CC BY

thm:b-n-f cor:b-n-f Definition bas.20. Given a structure M, let M <ω be the set of all finite sequences over M. We use a, b, c,... to range over finite sequences of elements. If a M <ω and a M, then aa represents the concatenation of a with a. Definition bas.21. Given structures M and N, we define relations I n M <ω N <ω between sequences of equal length, by recursion on n as follows: 1. I 0 (a, b) if and only if a and b satisfy the same atomic formulas in M and N; i.e., if s 1 (x i ) = a i and s 2 (x i ) = b i and ϕ is atomic with all variables among x 1,..., x n, then M, s 1 ϕ if and only if N, s 2 ϕ. 2. I n+1 (a, b) if and only if for every a A there is a b B such that I n (aa, bb), and vice-versa. Definition bas.22. Write M n N if I n (Λ, Λ) holds of M and N (where Λ is the empty sequence). Theorem bas.23. Let L be a purely relational language. Then I n (a, b) implies that for every ϕ such that qr(ϕ) n, we have M, a ϕ if and only if N, b ϕ (where again a satisfies ϕ if any s such that s(x i ) = a i satisfies ϕ). Moreover, if L is finite, the converse also holds. Proof. The proof that I n (a, b) implies that a and b satisfy the same formulas of quantifier rank no greater than n is by an easy induction on ϕ. For the converse we proceed by induction on n, using Proposition bas.19, which ensures that for each n there are at most finitely many non-equivalent formulas of that quantifier rank. For n = 0 the hypothesis that a and b satisfy the same quantifier-free formulas gives that they satisfy the same atomic ones, so that I 0 (a, b). For the n + 1 case, suppose that a and b satisfy the same formulas of quantifier rank no greater than n + 1; in order to show that I n+1 (a, b) suffices to show that for each a M there is a b N such that I n (aa, bb), and by the inductive hypothesis again suffices to show that for each a M there is a b N such that aa and bb satisfy the same formulas of quantifier rank no greater than n. Given a M, let τ a n be set of formulas ψ(x, y) of rank no greater than n satisfied by aa in M; τ a n is finite, so we can assume it is a single first-order formula. It follows that a satisfies x τ a n(x, y), which has quantifier rank no greater than n + 1. By hypothesis b satisfies the same formula in N, so that there is a b N such that bb satisfies τ a n; in particular, bb satisfies the same formulas of quantifier rank no greater than n as aa. Similarly one shows that for every b N there is a M such that aa and bb satisfy the same formulas of quantifier rank no greater than n, which completes the proof. Corollary bas.24. If M and N are purely relational structures in a finite language, then M n N if and only if M n N. In particular M N if and only if for each n, M n N. basics rev: 89307f1 (2019-02-27) by OLP / CC BY 7

bas.7 Dense Linear Orders Definition bas.25. A dense linear ordering without endpoints is a structure M for the language containg a single 2-place predicate symbol < satisfying the following sentences: 1. x x < x; 2. x y z (x < y (y < z x < z)); 3. x y (x < y x = y y < x); 4. x y x < y; 5. x y y < x; 6. x y (x < y z (x < z z < y)). Theorem bas.26. Any two enumerable dense linear orderings without endpoints are isomorphic. mod:bas:dlo: thm:cantorq Proof. Let M 1 and M 2 be enumerable dense linear orderings without endpoints, with < 1 = < M1 and < 2 = < M2, and let I be the set of all partial isomorphisms between them. I is not empty since at least I. We show that I satisfies the Back-and-Forth property. Then M 1 p M 2, and the theorem follows by Theorem bas.16. To show I satisifes the Forth property, let p I and let p(a i ) = b i for i = 1,..., n, and without loss of generality suppose a 1 < 1 a 2 < 1 < 1 a n. Given a M 1, find b M 2 as follows: 1. if a < 2 a 1 let b M 2 be such that b < 2 b 1 ; 2. if a n < 1 a let b M 2 be such that b n < 2 b; 3. if a i < 1 a < 1 a i+1 for some i, then let b M 2 be such that b i < 2 b < 2 b i+1. It is always possible to find a b with the desired property since M 2 is a dense linear ordering without endpoints. Define q = p { a, b } so that q I is the desired extension of p. This establishes the Forth property. The Back property is similar. So M 1 p M 2 ; by Theorem bas.16, M 1 M 2. Problem bas.5. Complete the proof of Theorem bas.26 by verifying that I satisfies the Back property. Remark 4. Let S be any enumerable dense linear ordering without endpoints. Then (by Theorem bas.26) S Q, where Q = (Q, <) is the enumerable dense linear ordering having the set Q of the rational numbers as its domain. Now consider again the structure R = (R, <) from Remark 2. We saw that there is an enumerable structure S such that R S. But S is an enumerable dense linear ordering without endpoints, and so it is isomorphic (and hence 8 basics rev: 89307f1 (2019-02-27) by OLP / CC BY

elementarily equivalent) to the structure Q. By transitivity of elementary equivalence, R Q. (We could have shown this directly by establishing R p Q by the same back-and-forth argument.) Photo Credits 9

Bibliography 10