6c Lecture 14: May 14, 2014

Similar documents
What is model theory?

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

Proofs. Chapter 2 P P Q Q

Herbrand Theorem, Equality, and Compactness

Proofs. Chapter 2 P P Q Q

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008

All psychiatrists are doctors All doctors are college graduates All psychiatrists are college graduates

The Completion of a Metric Space

Exercise 2. Prove that [ 1, 1] is the set of all the limit points of ( 1, 1] = {x R : 1 <

One-to-one functions and onto functions

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now

Propositional Logic: Part II - Syntax & Proofs 0-0

About the relationship between formal logic and complexity classes

Equivalent Forms of the Axiom of Infinity

Hyperreal Calculus MAT2000 Project in Mathematics. Arne Tobias Malkenes Ødegaard Supervisor: Nikolai Bjørnestøl Hansen

Axiomatic systems. Revisiting the rules of inference. Example: A theorem and its proof in an abstract axiomatic system:

Lecture 13: Soundness, Completeness and Compactness

2. Introduction to commutative rings (continued)

MATH 2400: PRACTICE PROBLEMS FOR EXAM 1

Adding Some. Larry Moss. Nordic Logic School August 7-11, Indiana University 1/37

Writing proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction

Math 118B Solutions. Charles Martin. March 6, d i (x i, y i ) + d i (y i, z i ) = d(x, y) + d(y, z). i=1

LIMITS AT INFINITY MR. VELAZQUEZ AP CALCULUS

Introduction to Logic and Axiomatic Set Theory

Classical Propositional Logic

Logic and Proofs 1. 1 Overview. 2 Sentential Connectives. John Nachbar Washington University December 26, 2014

First Order Logic: Syntax and Semantics

MAT137 Calculus! Lecture 9

CS1800: Mathematical Induction. Professor Kevin Gold

Logic Michælmas 2003

Lecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem

Essential facts about NP-completeness:

PHIL12A Section answers, 16 February 2011

Chapter 2. Limits and Continuity 2.6 Limits Involving Infinity; Asymptotes of Graphs

Identity. "At least one dog has fleas" is translated by an existential quantifier"

Artificial Intelligence Knowledge Representation I

Lecture 2: Syntax. January 24, 2018

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

Philosophy 148 Announcements & Such. The Probability Calculus: An Algebraic Approach XI. The Probability Calculus: An Algebraic Approach XII

Introduction to Metalogic 1

Mathematical Preliminaries. Sipser pages 1-28

Math Real Analysis

Theorem. For every positive integer n, the sum of the positive integers from 1 to n is n(n+1)

Overview. CS389L: Automated Logical Reasoning. Lecture 7: Validity Proofs and Properties of FOL. Motivation for semantic argument method

Propositional logic (revision) & semantic entailment. p. 1/34

Handout #6 INTRODUCTION TO ALGEBRAIC STRUCTURES: Prof. Moseley AN ALGEBRAIC FIELD

Part IA Numbers and Sets

Introduction to Series and Sequences Math 121 Calculus II Spring 2015

CS 124 Math Review Section January 29, 2018


means is a subset of. So we say A B for sets A and B if x A we have x B holds. BY CONTRAST, a S means that a is a member of S.

GALOIS THEORY : LECTURE 4 LEO GOLDMAKHER

Admin and Lecture 1: Recap of Measure Theory

Meta-logic derivation rules

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

Hyperreal Numbers: An Elementary Inquiry-Based Introduction. Handouts for a course from Canada/USA Mathcamp Don Laackman

Axioms of Kleene Algebra

Math 421, Homework #6 Solutions. (1) Let E R n Show that = (E c ) o, i.e. the complement of the closure is the interior of the complement.

1. Introduction to commutative rings and fields

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.

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

CITS2211 Discrete Structures (2017) Cardinality and Countability

Calculus: What is a Limit? (understanding epislon-delta proofs)

LECTURE 10: REVIEW OF POWER SERIES. 1. Motivation

The Logic of Proofs, Semantically

Logic: Propositional Logic Truth Tables

Calculus (Math 1A) Lecture 5

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012

LECTURE 11 - PARTIAL DIFFERENTIATION

Judgment Aggregation: June 2018 Project

CSE 1400 Applied Discrete Mathematics Proofs

Gödel s Incompleteness Theorems

From Calculus II: An infinite series is an expression of the form

Math 300 Introduction to Mathematical Reasoning Autumn 2017 Inverse Functions

Logical Structures in Natural Language: Propositional Logic II (Truth Tables and Reasoning

INTRODUCTION TO REAL ANALYSIS II MATH 4332 BLECHER NOTES

Math 144 Summer 2012 (UCR) Pro-Notes June 24, / 15

Design and Analysis of Algorithms

Introduction to Metalogic

Peano Arithmetic. by replacing the schematic letter R with a formula, then prefixing universal quantifiers to bind

cis32-ai lecture # 18 mon-3-apr-2006

Writing proofs for MATH 51H Section 2: Set theory, proofs of existential statements, proofs of uniqueness statements, proof by cases

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

An Introduction to Non-Standard Analysis and its Applications

1 Completeness Theorem for First Order Logic

CS 6820 Fall 2014 Lectures, October 3-20, 2014

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 1

Predicate Logic. Predicates. Math 173 February 9, 2010

Chapter 1 The Real Numbers

Functions. Chapter Continuous Functions

Lecture Notes: The Halting Problem; Reductions

COMP 409: Logic Homework 5

WEEK 7 NOTES AND EXERCISES

ter. on Can we get a still better result? Yes, by making the rectangles still smaller. As we make the rectangles smaller and smaller, the

Part II Logic and Set Theory

Discrete Mathematics and Probability Theory Fall 2012 Vazirani Note 1

INF3170 Logikk Spring Homework #8 For Friday, March 18

MA103 STATEMENTS, PROOF, LOGIC

A MODEL-THEORETIC PROOF OF HILBERT S NULLSTELLENSATZ

Transcription:

6c Lecture 14: May 14, 2014 11 Compactness We begin with a consequence of the completeness theorem. Suppose T is a theory. Recall that T is satisfiable if there is a model M T of T. Recall that T is consistent if there is no sentence φ such that T φ and T φ. Theorem 11.1. If T is a theory, then T is satisfiable iff T is consistent. Proof. ( ): we prove the contrapositive. If T is inconsistent, there is some φ such that T φ and T φ. Then by the soundness theorem, T φ and T φ. Hence, if there was a model M of T, then M φ and M φ which is a contradiction. ( ): We showed in our proof of the completeness theorem that if T is consistent, then there is a model M of T. Now on your homework, you proved one version of the compactness theorem: Theorem 11.2 (Compactness theorem, version 1). Suppose L is a language, T is a theory in, and φ is a sentence in L. Then if T φ, there is a finite subset T 0 T such that T 0 φ. We ll now give another version of the compactness theorem: Theorem 11.3 (Compactness theorem, version 2). If T is a theory, then T is satisfiable iff every finite subset T 0 T is satisfiable. Proof. ( ): If T has a model M, then clearly this model M is a model of every finite subset of T. ( ): We prove the contrapositive. Suppose that T is unsatisfiable. Then by Theorem 11.1, T is inconsistent, and hence there is some φ such that T φ and T φ. But since proofs are finite, there is some finite T 0 T such that T 0 φ and T 0 φ. Hence, some finite subset T 0 T is inconsistent, and hence unsatisfiable. For the rest of the lecture today, we ll discuss consequences of the compactness theorem. We ll begin by discussing to what extent finiteness can be axiomatized by first-order logic. Theorem 11.4. Suppose T is a theory that has finite models of arbitrarily large size. That is, for ever number n N, there is a finite model M n T such that the universe of M has at least n elements. Then T has an infinite model. 1

Proof. Let φ n be the sentence which states that there are at least n different elements in the universe: φ n = x 1 x 2... x n 1 x n (x 1 x n x 2 x n... x n 1 x n ). Now consider the theory T = T {φ 1, φ 2,...} Given any finite subset T 0 T, there is some largest n such that φ n T. But then we claim that M n is a model of T 0 since M n T, and M n {φ 1,..., φ n }. Hence, every finite subset of T is satisfiable, so T is satisfiable by the compactness theorem. Hence, there is a model M of T which will be an infinite model of T. A corollary of this theorem is that there is no way in first-order logic to axiomatize finiteness. Corollary 11.5. There is no theory T such that every finite structure is a model of T, and no infinite structure is a model of T. Proof. Because every finite model would be a model of T, there must be finite models of T of arbitrarily large size. Hence T must have an infinite model by the above theorem. Often, concepts involving infinity cannot be expressed in first-order logic. We can often prove this using the compactness theorem. Our next theorem is another result of this type: Theorem 11.6. Consider the theory of graphs: T = { x( xex), x y(xey yex)} in the language L containing a single binary relation E. Then there is no theory T T such that the models of T are exactly the connected graphs. Proof. Lets begin by considering the language L L obtained by adding two constant symbols a and b to the language L. Now for each n consider the sentence: φ n = x 1 x 2... x n (a = x 1 b = x n x 1 Ex 2... x n 1 Ex n x 1 x 2... x n 1 x n ) which says there is no path of length n 1 between a and b. Now suppose T was a theory whose models were precisely the connected graphs. Then we claim that T {φ 1, φ 2,...} would be satisfiable. This is by the compactness theorem. Given any finite subset T 0 T, there is some largest n such that φ n T. But then take a connected graph having two points of distance > n and assign these two points to be a and b. Then the resulting graph is a model of T 0. Hence, since T is satisfiable, it has a model M. But then M is not connected, since there is no path of any length between a and b. So regarding M as just a model in the language L by forgetting the constants a and b, M T which is a contradiction. 2

The trick we have used above of adding some constants to the language before we do a compactness argument (and then forgetting them later to derive consequences about the theory we started with) is a very technique. 11.1 Nonstandard analysis and infinitesimals. When doing calculus, differential equations, mathematical physics, etc. we often pretend that we have infinitesimally small real numbers (we call them things like dx,, or y, etc). If you ve taken a course in mathematical analysis, you ve probably seen how we can often formalize these types of intuitions using limits of increasingly small numbers. However, there is a different way of working with infinitesimals which realizes them as actual objects (and not just a vague intuitions for limits). Lets start with the model whose universe is the real numbers R and where our language L contains: The relation < A constant c r representing each real number r R The functions of addition and multiplication +, (and optionally) whatever other functions f 1, f 2,... we want. Lets call this model R, and let T be the theory consisting of all sentences φ such that R φ. (That is, T is the theory of the real numbers). Now lets enlarge our language L by adding a constant symbol. (We ll think of as an infinitesimally small number). For each n, let φ n be the sentence: φ n = 0 < < 1/n Now consider the theory T = T {φ 1, φ 2,...}. We claim that T is satisfiable. This is by the compactness theorem. If T 0 T is a finite subset of T, then there is a largest n such that φ n T 0. Now we claim that T 0 is satisfiable, since R is a model of T 0 if we assign the value 1/n + 1 to the constant. This means that there is a model R of T. This model looks a whole lot like the real numbers: it still has a constant c r representing every real number r, and R T, the theory of the real numbers. However, this model R also has has infinitesimally small real numbers (such as the one represented by ), which are > 0, but < 1/n for every n. R is called a nonstandard model of the real numbers, and the field of study which uses such models to prove theorems is called nonstandard analysis. Now given any standard real number r R, we can identify r with the number represented by the constant c r in R. Literally, this defines an embedding of the model R into R. Often we will abuse notation, and not differentiate between standard numbers in R and their images in R. 3

Given any element x in the universe of R, say that x is standard if there is some constant c r representing a standard real number such that x = c r. Otherwise say x is nonstandard. Say that x is infinitesimal if for every n N we have 1/n < x < 1/n. Note that 0 is infinitesimal, but there are nonstandard infinitesimal numbers (such as the number represented by ) in our model R. We will write x y if x y is infinitesimal. If there is a standard real number y R such that x y, then we say that y is the standard part of x. Say that x is finite if there is an n N such that n < x < n. Say that x is infinite otherwise. We note some examples of facts about nonstandard numbers. To prove these, we heavily use the fact that the theory of R is the same as the theory of R: There are infinite numbers in R. To see this, take an infinitesimal > 0. Now since 0, and R x(x 0 y(x y = 1)), (and hence R models this as well) there must be some some number y such that y = 1. Lets use the notation 1 for this y. Now since < 1/n for every n, we have that 1 > n for every n, and hence 1 is infinitely large. If x is a finite number in R, then there is a standard real number y such that y x. To see this 1, note that R x a b(a < x < b (x = a + b 2 ) a < x < a + b a + b < y < b). 2 2 Hence, if we start with natural numbers n and n such that n < x < n, using the above fact, we can get a sequence of standard numbers a 1, a 2,... with a i < x and b 1, b 2,... with b i > x such that lim i a i = lim i b i. Letting this limit be y, we see that y x must be infinitesimal. A common (but imperfect) way to visualize a nonstandard model R is to imagine each real number, and then add some some extra infinitesimal stuff around each real number, and then some infinite stuff at both ends of the number line beyond all the standard numbers. Note though that there s a lot of layers involved when doing this. For example, if is a nonstandard infinitesimal, and r is a standard real number, then r is a nonstandard infinitesimal (so around each standard number is an infinitesimal copy of the standard reals R). Note though, that there are lost more infinitesimals that just numbers like r. For example, 2 is also a nonstandard infinitesimal, but it is infinitesimally smaller than. Using nonstandard models, its possible to formally and precisely define lots of concepts from analysis using infinitesimal numbers instead of limits. For example, a function f is continuous iff for all x y, we have f(x) f(y). A fact which is easy to prove from this definition is that if f is continuous on [0, 1] and 0 < x < 1, then f(x) is finite. 1 here we are using y/2 as an abbreviation for the unique number z such that 2 z = y, which must always exist. 4

Similarly, we can define the derivative of f(x) to be equal to as the standard part of f(x+) f(x) for any nonzero infinitesimal (provided the standard part is the same for every such nonzero infinitesimal). So for a given infinitesimal, if f is differentiable, then the quantity f(x + ) f(x) will be an infinitesimal number, and the fraction f(x+) f(x) will actually be a finite number. For example, if f(x) = x 2, then (x+)2 x 2 = 2x+2 = 2x +, but then since is infinitesimal, the standard part of this is just 2x (which is the derivative of x 2 ). We have just barely scratched the surface of nonstandard analysis which is a large and important field. 5