Notes on Mathematical Logic David W. Kueker

Notes on Mathematical Logic David W. Kueker

Notes on Mathematical Logic David W. Kueker University of Maryland, College Park E-mail address: [email protected] URL: http://www-users.math.umd.edu/~dwk/ Contents Part 3. Incompleteness and Undecidability 1 Chapter 7. An Informal Introduction to Decidability Problems 3 0. Introduction 3 1. Effective Procedures and Decidability 3 2. G¨odelNumbers 6 3. G¨odel'sIncompleteness Theorem 9 4. Some Positive Decidability Results 11 5. Exercises 13 13 Chapter 8. Recursive Functions, Representability, and Incompleteness 15 0. Introduction 15 1. Recursive Functions and Relations 15 2. G¨odel's β{Function 22 3. Representability of Recursive Functions 24 4. G¨odel'sIncompleteness Theorem 27 5. Church's Thesis 28 6. Primitive Recursive Functions 29 7. Exercises 31 31 Chapter 9. Undecidability and Further Developments 33 0. Introduction 33 1. The Theorems of Church and Tarski 33 2. Undecidable Theories 35 3. Recursively Enumerable Relations 41 4. Hilbert's Tenth Problem 43 5. G¨odel'sSecond Incompleteness Theorem 45 6. Exercises 48 48 Part 4. Recursion Theory 49 Chapter 10. Partial Recursive Functions 51 0. Introduction 51 1. Computability of Partial Functions 51 2. Universal Partial Recursive Functions 53 3. The Recursion Theorem 55 4. Complete Recursively Enumerable Sets 57 i ii CONTENTS 5. Exercises 58 58 Chapter 11. Relative Recursion and Turing Reducibility 59 0. Introduction 59 1. Relative Recursivity 59 2. Representation and Enumeration Theorems 60 3. A-Recursively Enumerable Relations 62 4. Degrees 64 5. Degree Constructions 65 6. Exercises 68 68 Chapter 12. The Arithmetic Hierarchy 69 0. Introduction 69 1. Arithmetic Relations and the Hierarchy 69 2. Post's Theorem 70 3. Exercises 71 71 Appendix A. Appendix A: Set Theory 73 1. Cardinals and Counting 73 2. Ordinals and Induction 76 Appendix B. Appendix B: Notes on Validities and Logical Consequence 79 1. Some Useful Validities of Sentential Logic 79 2. Some Facts About Logical Consequence 80 Appendix C. Appendix C: Gothic Alphabet 81 Bibliography 83 Index 85 Part 3 Incompleteness and Undecidability CHAPTER 7 An Informal Introduction to Decidability Problems 0. Introduction The material in this part grows out of G¨odel'sfamous Incompleteness Theorem of 1931. It states that the usual Peano axioms for +, · on the natural numbers are not sufficient to derive all true first-order sentences of arithmetic on the natural numbers. More generally it states that there is no way to “effectively" give a complete set of axioms for arithmetic on the natural numbers. As a consequence there is no way to “effectively" decide whether or not a first-order sentence is true on the natural numbers. In this chapter we present an informal notion of “effectiveness" and use it in dis- cussing problems concerning decidability. We then derive G¨odel'sIncompleteness Theorem assuming a major lemma on definability of decidable relations. An essen- tial tool is the device of “G¨odel-numbering," which enables us to treat formulas, derivations, etc., as natural numbers. In the next chapter we give a formal treatment of effectiveness in terms of recursive functions. This enables us to prove the lemma mentioned above. We can then also derive various improvements, extensions, and generalizations of G¨odel's original result, due to Rosser, Church, Tarski, et al. 1. Effective Procedures and Decidability Recall from sentential logic that the method of truth tables gave an effective procedure to decide whether an arbitrary sentence of sentential logic is a tautology. In Section 2.2 we raised the natural question of whether there is such an effective procedure for deciding logical validity in first-order logic. Note that neither the definition of validity nor the Completeness Theorem provides such a procedure. More generally, given any theory T of a language L one can ask whether or not there is an effective procedure which decides, for each sentence σ of L, whether or not T j= σ (equivalently, whether σ 2 T ). To make this question precise we need to define what we mean by an “effective procedure." First of all, note that an “effective procedure" is supposed to define a function on some given domain D|in the example above of sentential logic, the domain is the set of all sentences of sentential logic and the function takes the values \yes" or \no" according to whehter the sentence is a tautology or not. Secondly, an “effective procedure" should not just define the values of a function but should give a means to calculate (at least in theory) the value of the function for any element in the domain. Thus, in the example, one could (in a finite number of steps) actually write down and check the truth table of any given sentence of sentential logic. On the 3 4 7. AN INFORMAL INTRODUCTION TO DECIDABILITY PROBLEMS other hand, one cannot check each of the infinitely many structures for a first-order language L to see whether or not a given sentence σ of L is true on the structure. We are thus led to the following, still informal, definition: Definition 1.1. Let f be a function defined on D. An effective procedure to calculate f is a finite list of instructions (in, say, English) such that given any d 2 D they can be applied to d and executed so that after finitely many discrete steps (each performable in a finite amount of time) the process halts and produces the value f(d). Finally, a function f is (effectively) computable if and only if there is some effective procedure to calculate it. Note that the same function can be defined in many different ways, not all of which give an effective procedure to calculate it. Let us look at several examples: (1) D = !; f(n) = n+1. Certainly this f must be effectively computable, but coming up with an effective procedure to calculate it requires us to decide what exactly the elements of ! are, and what exactly \adding one" does to them. The set-theoretic definitions just lead us into more difficulties (what is a set?), so we take the more formalistic point of view that the number n is a 0 followed by n 1s. Thus the effective procedure is to place one more 1 at the end of the sequence. Even this assumes some material about finite sequences, but this seems to be an unavoidable starting point. From now on we will not worry about what the elements of ! \really are," and also we will freely use elementary manipulations with finite sequences. (2) D = ! × !; f(hm; ni) = m + n. The effective procedure here says to start with m and add 1 n times. (3) D = ! × !; f(hm; ni) = 0 if m ≤ n; f(hm; ni) = 1 otherwise. We leave it to the reader to come up with an effective procedure. (4) D = ! × !; f(hm; ni) = 0 if m j n; f(hm; ni) = 1 otherwise. Here too we leave the formulation of an effective procedure to the reader. (5) D = !; f(n) = 0 if n is prime; f(n) = 1 otherwise. In outline, the effective procedure here is to check each m < n; m 6= 1, to see whether or not m j n. If such an m is found, f(n) = 0; otherwise f(n) = 1. (6) D = !; f(n) = 0 if n ≤ 2; f(n) = 1 otherwise. Certainly this f is effectively computable using the result in example (3). (7) D = !; f(n) = 0 if and only if there are positive integers a; b; c such that an +bn = cn; f(n) = 1 otherwise. It is not obvious whether this function is effectively computable|certainly this definition does not give an effective procedure to calculate it. But this f may still be effectively computable| in fact it may be the same function as the function in example (6). We will continue with some examples involving expressions of a first-order lan- guage L. We assume we have come to some agreement as to what the symbols of L really \are" (like vns). More importantly, we assume that for each symbol of L we can effectively decide what sort of a symbol it is, as \a function symbol of 2 places," etc. Under these basic assumptions, we can consider the following examples: (8) D = all expressions of L; f(d) = 0 if d is a term; f(d) = 1 otherwise. In outline, an effective procedure to compute f involves trying to \read" d as a term|since there are only finitely many ways this could happen, you can check each one in turn and see if it does indeed work for d. 1. EFFECTIVE PROCEDURES AND DECIDABILITY 5 (9) D = all expressions of L; f(d) = 0 if d is a formula of L; f(d) = 1 otherwise. This function is similarly seen to be effectively computable. (10) D = all formulas of L; f(d) = 0 if d is a logical axiom; f(d) = 1 otherwise. The reader can verify that this is also effectively computable. (11) D = all finite sequences of formulas of L; f(d) = 0 if d is a formal deduction (from Λ); f(d) = 1 otherwise. Here the definition of formal deduction gives us an effective procedure to compute f, given the result of example (10). (12) D = FmL; f(φ) = 0 if ` φ; f(φ) = 1 otherwise. There is no obvious effective procedure to compute f, since there are infinitely many formal deductions which would have to be checked. We emphasize that an effective procedure does not have to be practical in all cases|the finite number of steps involved might be too large to be actually performable.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    90 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us