An Introduction to G¨Odel’Stheorems

Total Page:16

File Type:pdf, Size:1020Kb

An Introduction to G¨Odel’Stheorems An Introduction to G¨odel’sTheorems Peter Smith Faculty of Philosophy University of Cambridge Version date: December 12, 2005 Copyright: c 2005 Peter Smith Not to be cited or quoted without permission The book’s website is at www.godelbook.net Contents Preface v 1 What G¨odel’s Theorems say 1 1.1 Basic arithmetic 1 1.2 Incompleteness 3 1.3 More incompleteness 4 1.4 Some implications? 5 1.5 The unprovability of consistency 6 1.6 More implications? 7 1.7 What’s next? 7 2 Decidability and enumerability 8 2.1 Effective computability, effective decidability 8 2.2 Enumerable sets 11 2.3 Effective enumerability 14 3 Axiomatized formal theories 15 3.1 Formalization as an ideal 15 3.2 Formalized languages 17 3.3 Axiomatized formal theories 20 3.4 More definitions 21 3.5 The effective enumerability of theorems 23 3.6 Negation complete theories are decidable 25 4 Capturing numerical properties 26 4.1 Three remarks on notation 26 4.2 A remark about extensionality 27 4.3 The language LA 28 4.4 Expressing numerical properties and relations 31 4.5 Capturing numerical properties and relations 33 4.6 Expressing vs. capturing: keeping the distinction clear 33 5 Sufficiently strong arithmetics 35 5.1 The idea of a ‘sufficiently strong’ theory 35 5.2 An undecidability theorem 36 5.3 An incompleteness theorem 37 5.4 The truths of arithmetic can’t be axiomatized 38 i Contents Interlude: taking stock, looking ahead 40 6 Two formalized arithmetics 43 6.1 BA – Baby Arithmetic 43 6.2 BA is complete 45 6.3 Q – Robinson Arithmetic 47 6.4 Q is not complete 48 6.5 Why Q is interesting 49 7 What Q can prove 50 7.1 Capturing less-than-or-equal-to in Q 50 7.2 Eight simple facts about what Q can prove 52 7.3 Defining the ∆0,Σ1 and Π1 wffs 54 7.4 Q is Σ1 complete 56 7.5 An intriguing corollary 58 8 First-order Peano Arithmetic 60 8.1 Induction and the Induction Schema 60 8.2 PA – First-order Peano Arithmetic 62 8.3 PA in summary 64 8.4 A very brief aside: Presburger Arithmetic 65 8.5 Is PA consistent? 66 9 Primitive recursive functions 69 9.1 Introducing the primitive recursive functions 69 9.2 Defining the p.r. functions more carefully 71 9.3 An aside about extensionality 73 9.4 The p.r. functions are computable 74 9.5 Not all computable numerical functions are p.r. 76 9.6 Defining p.r. properties and relations 78 9.7 Some more examples 79 10 Capturing functions 85 10.1 Expressing and capturing functions 85 10.2 ‘Capturing as a function’ 86 10.3 ‘If capturable, then capturable as a function’ 87 10.4 Capturing functions, capturing properties 88 10.5 The idea of p.r. adequacy 89 11 Q is p.r. adequate 91 11.1 Q can capture all Σ1 functions 91 11.2 LA can express all p.r. functions: starting the proof 94 11.3 The idea of a β-function 95 11.4 LA can express all p.r. functions: finishing the proof 97 11.5 The p.r. functions are Σ1 99 ii Contents 11.6 The adequacy theorem 100 Interlude: a very little about Principia 102 12 The arithmetization of syntax 108 12.1 G¨odel numbering 108 12.2 Coding sequences 110 12.3 Prfseq is p.r. 111 12.4 Some cute notation 112 12.5 The idea of diagonalization 113 12.6 Gdl and diag and are p.r. 113 12.7 Proving that Prfseq is p.r. 114 13 PA is incomplete 121 13.1 Constructing G 121 13.2 Interpreting G 122 13.3 G is undecidable in PA: the semantic argument 123 13.4 ‘G is of Goldbach type’ 124 13.5 G is unprovable in PA: the syntactic argument 124 13.6 ω-incompleteness, ω-inconsistency 125 13.7 ¬G is unprovable in PA: the syntactic argument 126 13.8 Putting things together 127 14 G¨odel’s First Theorem 128 14.1 Generalizing the semantic argument 128 14.2 Incompletability – a first look 130 14.3 The First Theorem, at last 130 14.4 Rosser’s improvement 132 14.5 Broadening the scope of the First Theorem 135 14.6 True Basic Arithmetic can’t be axiomatized 136 14.7 Incompletability – another quick look 137 15 Using the Diagonalization Lemma 138 15.1 The provability predicate 138 15.2 Diagonalization again 139 15.3 The Diagonalization Lemma: a special case 140 15.4 The Diagonalization Lemma generalized 141 15.5 Incompleteness again 142 15.6 Capturing provability? 142 15.7 Tarski’s Theorem 143 Interlude: about the First Theorem 147 16 The Second Incompleteness Theorem 151 16.1 Expressing the Incompleteness Theorem in PA 151 iii Contents 16.2 The Formalized First Theorem in PA 152 16.3 The Second Theorem for PA 153 16.4 How surprising is the Second Theorem? 154 16.5 How interesting is the Second Theorem? 156 17 Exploring the Second Theorem 158 17.1 More notation 158 17.2 The Hilbert-Bernays-L¨obderivability conditions 159 17.3 G, Con, and ‘G¨odelsentences’ 161 17.4 L¨ob’s Theorem 162 Bibliography 165 iv Preface In 1931, the young Kurt G¨odelpublished his First and Second Incompleteness Theorems; very often, these are simply referred to as ‘G¨odel’s Theorems’. His startling results settled (or at least, seemed to settle) some of the crucial ques- tions of the day concerning the foundations of mathematics. They remain of the greatest significance for the philosophy of mathematics – though just what that significance is continues to be debated. It has also frequently been claimed that G¨odel’sTheorems have a much wider impact on very general issues about language, truth and the mind. This book gives outline proofs of the Theorems and related formal results, and touches on some of their implications. Who is this book for? Roughly speaking, for those who want a lot more detail than you get in books for a general audience (the best of those is Franz´en 2005), but who find classic texts in mathematical logic (like Mendelson 1997) daunting and too short on explanatory scene-setting. So I hope philosophy students taking an advanced logic course will find the book useful, as will mathematicians who want a relatively relaxed exposition. I originally intended to write a rather shorter book, leaving more of the formal details to be filled in from elsewhere. But while that plan might have suited some readers, I soon realized that it would seriously irritate others to be sent hither and thither to consult a variety of text books with different terminologies and different notations. So in the end, I have given more or less full proofs of most key results. However, my original plan shows through in two ways. First, some proofs are still only roughly sketched in, and there are other proofs which are omitted entirely. Second, I try to signal very clearly when the detailed proofs I do give can be skipped without much loss of understanding. With judicious skimming, you should be able to follow the main formal themes of the book even if you start from a very modest background in logic.1 As we go through, there is also an amount of broadly philosophical commen- tary. I follow G¨odelin believing that our formal investigations and our general reflections on foundational matters should illuminate and guide each other. I hope that the more philosophical discussions (though certainly not always un- contentious) will also be reasonably widely accessible. Writing a book like this presents many problems of organization. At various points we will need to call upon some background ideas from general logical theory. Do we explain them all at once, up front? Or do we introduce them as 1I plan, in due course, to put optional exercises (and answers!) on the book’s website at www.godelbook.net. v Preface we go along, when needed? Similarly we will also need to call upon some ideas from the general theory of computation – for example, we will make use of both the notion of a ‘primitive recursive function’ and the more general notion of a ‘recursive function’. Again, do we explain these together? Or do we give the explanations many chapters apart, when the respective notions first get used? I’ve mostly adopted the second policy, introducing new ideas as and when needed. This has its costs, but I think that there is a major compensating benefit, namely that the way the book is organized makes it clearer just what depends on what. It also reflects something of the historical order in which ideas emerged. Many thanks are due to generations of students and to JC Beall, Hubie Chen, Torkel Franz´en, Andy Fugard, Jeffrey Ketland, Jonathan Kleid, Fritz Mueller, Tristan Mills, Jeff Nye, Alex Paseau, Michael Potter, Jos´eF. Ruiz, Wolfgang Schwartz and Brock Sides for comments on draft chapters. Particular thanks to Richard Zach both for pointing out a number of mistakes, large and small, in an early draft and for suggestions that much improved the book. And particular thanks too to Seamus Holland, Luca Incurvati, Brian King, and Mary Leng, who read carefully through a late draft in a seminar together and made many helpful comments. Like so many others, I am also hugely grateful to Donald Knuth, Leslie Lam- port and the LATEX community for the document processing tools which make typesetting a mathematical text like this one such a painless business.
Recommended publications
  • REFERENCE in ARITHMETIC §1. to Prove His Famous First
    REFERENCE IN ARITHMETIC LAVINIA PICOLLO Abstract. Self-reference has played a prominent role in the development of metamath- ematics in the past century, starting with G¨odel'sfirst incompleteness theorem. Given the nature of this and other results in the area, the informal understanding of self-reference in arithmetic has sufficed so far. Recently, however, it has been argued that for other related issues in metamathematics and philosophical logic a precise notion of self-reference and, more generally, reference, is actually required. These notions have been so far elusive and are surrounded by an aura of scepticism that has kept most philosophers away. In this paper I suggest we shouldn't give up all hope. First, I introduce the reader to these issues. Second, I discuss the conditions a good notion of reference in arithmetic must satisfy. Accordingly, I then introduce adequate notions of reference for the language of first-order arithmetic, which I show to be fruitful for addressing the aforementioned issues in metamathematics. x1. To prove his famous first incompleteness result for arithmetic, G¨odel[5] developed a technique called \arithmetization" or “g¨odelization".It consists in codifying the expressions of the language of arithmetic with numbers, so that the language can `talk' about its own formulae. Then, he constructed a sentence in the language that he described as stating its own unprovability in a system satisfying certain conditions,1 and showed this sentence to be undecidable in the system. His method led to enormous progress in metamathematics and computer science, but also in philosophical logic and other areas of philosophy where formal methods became popular.
    [Show full text]
  • Infinite Natural Numbers: an Unwanted Phenomenon, Or a Useful Concept?
    Infinite natural numbers: an unwanted phenomenon, or a useful concept? V´ıtˇezslav Svejdarˇ ∗ Appeared in M. Peliˇsand V. Puncochar eds., The Logica Yearbook 2010, pp. 283–294, College Publications, London, 2011. Abstract We consider non-standard models of Peano arithmetic and non- -standard numbers in set theory, showing that not only they ap- pear rather naturally, but also have interesting methodological consequences and even practical applications. We also show that the Czech logical school, namely Petr Vopˇenka, considerably con- tributed to this area. 1 Peano arithmetic and its models Peano arithmetic PA was invented as an axiomatic theory of natu- ral numbers (non-negative integers 0, 1, 2, . ) with addition and multiplication as designated operations. Its language (arithmetical language) consists of the symbols + and · for these two operations, the symbol 0 for the number zero and the symbol S for the successor function (addition of one). The language {+, ·, 0, S} could be replaced with the language {+, ·, 0, 1} having a constant for the number one: with the constant 1 at hand one can define S(x) as x + 1, and with the symbol S one can define 1 as S(0). However, we stick with the language {+, ·, 0, S}, since it is used in traditional sources like (Tarski, Mostowski, & Robinson, 1953). The closed terms S(0), S(S(0)), . represent the numbers 1, 2, . in the arithmetical language. We ∗This work is a part of the research plan MSM 0021620839 that is financed by the Ministry of Education of the Czech Republic. 2 V´ıtˇezslav Svejdarˇ Infinite natural numbers: . a useful concept? 3 write n for the numeral S(S(.
    [Show full text]
  • The Logic of Provability
    The Logic of Provability Notes by R.J. Buehler Based on The Logic of Provability by George Boolos September 16, 2014 ii Contents Preface v 1 GL and Modal Logic1 1.1 Introduction..........................................1 1.2 Natural Deduction......................................2 1.2.1 ...........................................2 1.2.2 3 ...........................................2 1.3 Definitions and Terms....................................3 1.4 Normality...........................................4 1.5 Refining The System.....................................6 2 Peano Arithmetic 9 2.1 Introduction..........................................9 2.2 Basic Model Theory..................................... 10 2.3 The Theorems of PA..................................... 10 2.3.1 P-Terms........................................ 10 2.3.2Σ,Π, and∆ Formulas................................ 11 2.3.3 G¨odelNumbering................................... 12 2.3.4 Bew(x)........................................ 12 2.4 On the Choice of PA..................................... 13 3 The Box as Bew(x) 15 3.1 Realizations and Translations................................ 15 3.2 The Generalized Diagonal Lemma............................. 16 3.3 L¨ob'sTheorem........................................ 17 3.4 K4LR............................................. 19 3.5 The Box as Provability.................................... 20 3.6 GLS.............................................. 21 4 Model Theory for GL 23 5 Completeness & Decidability of GL 25 6 Canonical Models 27 7 On
    [Show full text]
  • AMATH 731: Applied Functional Analysis Lecture Notes
    AMATH 731: Applied Functional Analysis Lecture Notes Sumeet Khatri November 24, 2014 Table of Contents List of Tables ................................................... v List of Theorems ................................................ ix List of Definitions ................................................ xii Preface ....................................................... xiii 1 Review of Real Analysis .......................................... 1 1.1 Convergence and Cauchy Sequences...............................1 1.2 Convergence of Sequences and Cauchy Sequences.......................1 2 Measure Theory ............................................... 2 2.1 The Concept of Measurability...................................3 2.1.1 Simple Functions...................................... 10 2.2 Elementary Properties of Measures................................ 11 2.2.1 Arithmetic in [0, ] .................................... 12 1 2.3 Integration of Positive Functions.................................. 13 2.4 Integration of Complex Functions................................. 14 2.5 Sets of Measure Zero......................................... 14 2.6 Positive Borel Measures....................................... 14 2.6.1 Vector Spaces and Topological Preliminaries...................... 14 2.6.2 The Riesz Representation Theorem........................... 14 2.6.3 Regularity Properties of Borel Measures........................ 14 2.6.4 Lesbesgue Measure..................................... 14 2.6.5 Continuity Properties of Measurable Functions...................
    [Show full text]
  • Gödel's Incompleteness Theorem for Mathematicians
    G¨odel'sIncompleteness Theorem for Mathematicians Burak Kaya METU [email protected] November 23, 2016 Burak Kaya (METU) METU Math Club Student Seminars November 23, 2016 1 / 21 Hilbert wanted to formalize all mathematics in an axiomatic system which is consistent, i.e. no contradiction can be obtained from the axioms. complete, i.e. every true statement can be proved from the axioms. decidable, i.e. given a mathematical statement, there should be a procedure for deciding its truth or falsity. In 1931, Kurt G¨odelproved his famous incompleteness theorems and showed that Hilbert's program cannot be achieved. In 1936, Alan Turing proved that Hilbert's Entscheindungsproblem cannot be solved, i.e. there is no general algorithm which will decide whether a given mathematical statement is provable (from a given set of axioms.) Hilbert's program In 1920's, David Hilbert proposed a research program in the foundations of mathematics to provide secure foundations to mathematics and to eliminate the paradoxes and inconsistencies discovered by then. Burak Kaya (METU) METU Math Club Student Seminars November 23, 2016 2 / 21 consistent, i.e. no contradiction can be obtained from the axioms. complete, i.e. every true statement can be proved from the axioms. decidable, i.e. given a mathematical statement, there should be a procedure for deciding its truth or falsity. In 1931, Kurt G¨odelproved his famous incompleteness theorems and showed that Hilbert's program cannot be achieved. In 1936, Alan Turing proved that Hilbert's Entscheindungsproblem cannot be solved, i.e. there is no general algorithm which will decide whether a given mathematical statement is provable (from a given set of axioms.) Hilbert's program In 1920's, David Hilbert proposed a research program in the foundations of mathematics to provide secure foundations to mathematics and to eliminate the paradoxes and inconsistencies discovered by then.
    [Show full text]
  • List of Theorems from Geometry 2321, 2322
    List of Theorems from Geometry 2321, 2322 Stephanie Hyland [email protected] April 24, 2010 There’s already a list of geometry theorems out there, but the course has changed since, so here’s a new one. They’re in order of ‘appearance in my notes’, which corresponds reasonably well to chronolog- ical order. 24 onwards is Hilary term stuff. The following theorems have actually been asked (in either summer or schol papers): 5, 7, 8, 17, 18, 20, 21, 22, 26, 27, 30 a), 31 (associative only), 35, 36 a), 37, 38, 39, 43, 45, 47, 48. Definitions are also asked, which aren’t included here. 1. On a finite-dimensional real vector space, the statement ‘V is open in M’ is independent of the choice of norm on M. ′ f f i 2. Let Rn ⊃ V −→ Rm be differentiable with f = (f 1, ..., f m). Then Rn −→ Rm, and f ′ = ∂f ∂xj f 3. Let M ⊃ V −→ N,a ∈ V . Then f is differentiable at a ⇒ f is continuous at a. 4. f = (f 1, ...f n) continuous ⇔ f i continuous, and same for differentiable. 5. The chain rule for functions on finite-dimensional real vector spaces. 6. The chain rule for functions of several real variables. f 7. Let Rn ⊃ V −→ R, V open. Then f is C1 ⇔ ∂f exists and is continuous, for i =1, ..., n. ∂xi 2 2 Rn f R 2 ∂ f ∂ f 8. Let ⊃ V −→ , V open. f is C . Then ∂xi∂xj = ∂xj ∂xi 9. (φ ◦ ψ)∗ = φ∗ ◦ ψ∗, where φ, ψ are maps of manifolds, and φ∗ is the push-forward of φ.
    [Show full text]
  • Gödel's Second Incompleteness Theorem for Σn-Definable Theories
    G¨odel’s second incompleteness theorem for Σn-definable theories Conden Chao∗ Payam Seraji† May 3, 2016 Abstract G¨odel’s second incompleteness theorem is generalized by showing that if the set of axioms of a theory T ⊇ PA is Σn+1-definable and T is Σn-sound, then T dose not prove the sentence Σn-Sound(T ) that expresses the Σn-soundness of T . The optimal- ity of the generalization is shown by presenting a Σn+1-definable (indeed a complete ∆n+1-definable) and Σn−1-sound theory T such that PA ⊆ T and Σn−1-Sound(T ) is provable in T . It is also proved that no recursively enumerable and Σ1-sound theory of arithmetic, even very weak theories which do not contain Robinson’s Arithmetic, can prove its own Σ1-soundness. Keywords: G¨odel’s second incompleteness, Σn-definable, Σn-sound, Σn-Sound, strong provability predicate arXiv:1602.02416v3 [math.LO] 30 Apr 2016 1 Introduction G¨odel’s second incompleteness theorem states that for any recursively enumerable and sufficiently strong (say any extension of Peano’s Arithmetic PA) theory T , T 6⊢ Con(T ), ∗Department of Philosophy, Peking University. My correspondence address is: Room 223 of Building 4th, Changchun New Garden, Peking University, P. C. 100872, Peking, CHINA. Email: [email protected]. †Faculty of Mathematical Sciences, University of Tabriz, 29 Bahman Boulevard, P. O. Box 5166617766, Tabriz, IRAN. Email: p [email protected]. 1 where Con(T ) is the arithmetical sentence expressing the the consistency of T (see e.g. [2, 3, 9, 10]).
    [Show full text]
  • Calculus I – Math
    Math 380: Low-Dimensional Topology Instructor: Aaron Heap Office: South 330C E-mail: [email protected] Web Page: http://www.geneseo.edu/math/heap Textbook: Topology Now!, by Robert Messer & Philip Straffin. Course Info: We will cover topological equivalence, deformations, knots and links, surfaces, three- dimensional manifolds, and the fundamental group. Topics are subject to change depending on the progress of the class, and various topics may be skipped due to time constraints. An accurate reading schedule will be posted on the website, and you should check it often. By the time you take this course, most of you should be fairly comfortable with mathematical proofs. Although this course only has multivariable calculus, elementary linear algebra, and mathematical proofs as prerequisites, students are strongly encouraged to take abstract algebra (Math 330) prior to this course or concurrently. It requires a certain level of mathematical sophistication. There will be a lot of new terminology you must learn, and we will be doing a significant number of proofs. Please note that we will work on developing your independent reading skills in Mathematics and your ability to learn and use definitions and theorems. I certainly won't be able to cover in class all the material you will be required to learn. As a result, you will be expected to do a lot of reading. The reading assignments will be on topics to be discussed in the following lecture to enable you to ask focused questions in the class and to better understand the material. It is imperative that you keep up with the reading assignments.
    [Show full text]
  • Fundamental Theorems in Mathematics
    SOME FUNDAMENTAL THEOREMS IN MATHEMATICS OLIVER KNILL Abstract. An expository hitchhikers guide to some theorems in mathematics. Criteria for the current list of 243 theorems are whether the result can be formulated elegantly, whether it is beautiful or useful and whether it could serve as a guide [6] without leading to panic. The order is not a ranking but ordered along a time-line when things were writ- ten down. Since [556] stated “a mathematical theorem only becomes beautiful if presented as a crown jewel within a context" we try sometimes to give some context. Of course, any such list of theorems is a matter of personal preferences, taste and limitations. The num- ber of theorems is arbitrary, the initial obvious goal was 42 but that number got eventually surpassed as it is hard to stop, once started. As a compensation, there are 42 “tweetable" theorems with included proofs. More comments on the choice of the theorems is included in an epilogue. For literature on general mathematics, see [193, 189, 29, 235, 254, 619, 412, 138], for history [217, 625, 376, 73, 46, 208, 379, 365, 690, 113, 618, 79, 259, 341], for popular, beautiful or elegant things [12, 529, 201, 182, 17, 672, 673, 44, 204, 190, 245, 446, 616, 303, 201, 2, 127, 146, 128, 502, 261, 172]. For comprehensive overviews in large parts of math- ematics, [74, 165, 166, 51, 593] or predictions on developments [47]. For reflections about mathematics in general [145, 455, 45, 306, 439, 99, 561]. Encyclopedic source examples are [188, 705, 670, 102, 192, 152, 221, 191, 111, 635].
    [Show full text]
  • Coq in a Hurry Yves Bertot
    Coq in a Hurry Yves Bertot To cite this version: Yves Bertot. Coq in a Hurry. Types Summer School, also used at the University of Nice Goteborg, Nice, 2006. inria-00001173v2 HAL Id: inria-00001173 https://cel.archives-ouvertes.fr/inria-00001173v2 Submitted on 24 May 2006 (v2), last revised 19 Oct 2017 (v6) HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Coq in a Hurry Yves Bertot May 24, 2006 These notes provide a quick introduction to the Coq system and show how it can be used to define logical concepts and functions and reason about them. It is designed as a tutorial, so that readers can quickly start their own experiments, learning only a few of the capabilities of the system. A much more comprehensive study is provided in [1], which also provides an extensive collection of exercises to train on. 1 Expressions and logical formulas The Coq system provides a language in which one handles formulas, verify that they are well-formed, and prove them. Formulas may also contain functions and limited forms of computations are provided for these functions. The first thing you need to know is how you can check whether a formula is well- formed.
    [Show full text]
  • Computation and Reflection in Coq And
    Computation and reflection in Coq and HOL John Harrison Intel Corporation, visiting Katholieke Universiteit Nijmegen 20th August 2003 0 What is reflection? Stepping back from the straightforward use of a formal system and reasoning about it (‘reflecting upon it’). • Exploiting the syntax to prove general/meta theorems • Asserting consistency or soundness Similar concept in programming where programs can examine and modify their own syntax [Brian Cantwell Smith 1984]. The ‘reflection principle’ in ZF set theory is rather different. 1 Logical power of reflection The process of reflection may involve: • Adding new theorems that were not provable before • Adding a new, but conservative, rule to the logic • Making no extension of the logic [Giunchiglia and Smail 1989] use ‘reflection principles’ to refer to logic-strengthening rules only, but use ‘reflection’ to describe the process in all cases. 2 Reflection principles The classic reflection principle is an assertion of consistency. More generally, we can assert the ‘local reflection schema’: ⊢ Pr(pφq) ⇒ φ By Godel’s¨ Second Incompleteness Theorem, neither is provable in the original system, so this makes the system stronger. The addition of reflection principles can then be iterated transfinitely [Turing 1939], [Feferman 1962], [Franzen´ 2002]. 3 A conservative reflection rule Consider instead the following reflection rule: ⊢ Pr(pφq) ⊢ φ Assuming that the original logic is Σ-sound, this is a conservative extension. On the other hand, it does make some proofs much shorter. Whether it makes any interesting ones shorter is another matter. 4 Total internal reflection We can exploit the syntax-semantics connection without making any extensions to the logical system.
    [Show full text]
  • A Complete Proof of Coq Modulo Theory
    EPiC Series in Computing Volume 46, 2017, Pages 474–489 LPAR-21. 21st International Conference on Logic for Programming, Artificial Intelligence and Reasoning Coq without Type Casts: A Complete Proof of Coq Modulo Theory Jean-Pierre Jouannaud1;2 and Pierre-Yves Strub2 1 INRIA, Project Deducteam, Université Paris-Saclay, France 2 LIX, École Polytechnique, France Abstract Incorporating extensional equality into a dependent intensional type system such as the Calculus of Constructions provides with stronger type-checking capabilities and makes the proof development closer to intuition. Since strong forms of extensionality lead to undecidable type-checking, a good trade-off is to extend intensional equality with a decidable first-order theory T , as done in CoqMT, which uses matching modulo T for the weak and strong elimination rules, we call these rules T -elimination. So far, type-checking in CoqMT is known to be decidable in presence of a cumulative hierarchy of universes and weak T -elimination. Further, it has been shown by Wang with a formal proof in Coq that consistency is preserved in presence of weak and strong elimination rules, which actually implies consistency in presence of weak and strong T -elimination rules since T is already present in the conversion rule of the calculus. We justify here CoqMT’s type-checking algorithm by showing strong normalization as well as the Church-Rosser property of β-reductions augmented with CoqMT’s weak and strong T -elimination rules. This therefore concludes successfully the meta-theoretical study of CoqMT. Acknowledgments: to the referees for their careful reading. 1 Introduction Type checking for an extensional type theory being undecidable, as is well-known since the early days of Martin-Löf’s type theory [16], most proof assistants implement an intensional type theory.
    [Show full text]