Lecture 21: Soundness and Completeness

Total Page:16

File Type:pdf, Size:1020Kb

Lecture 21: Soundness and Completeness Lecture 21: Soundness and Completeness 1 Lecture 21: Soundness and Completeness 2 Goal Today ✤ Our goal today is to state and define the soundness and completeness theorems. ✤ Then we will extract some rules of thumb for how to effectively use these results together to solve problems. 3 Initial Contrast: Provability vs. Validity ✤ So over the past couple of weeks, ✤ The validity relation holds when a we’ve learned about two different truth table containing them all notions: satisfies this property: on any row where all the premises ϕ1, ϕ2,…, ϕn ✤ provability: ϕ1, ϕ2, . ., ϕn ⊢ ψ are true, the conclusion ψ is also true. ✤ validity: ϕ1, ϕ2,…, ϕn ⊨ ψ ✤ There’s an analogous notion for predicate logic, but today we’ll ✤ Again, the idea is: provability stick to propositional logic. relation holds when there is a proof of the conclusion ψ from premises ✤ It’s natural at this juncture to ask ϕ1, ϕ2, . ., ϕn. how these two relate to one another. Before we state the general result, let’s look at some examples. 4 First Example ✤ Show: p, p➝q ⊢q ✤ Show: p, p➝q ⊨q ✤ Proof: ✤ Proof: ✤ 1. p (assumption) 1 2 3 4 5 ➝ ✤ 2. p➝q (assumption) p q p p q q 1 T T T T T ✤ 3. q (E➝ 1,2) 2 T F T F F 3 F T F T T 4 F F F T F 5 Second Example ✤ Show: p, q ⊢ p∧q ✤ Show: p, q ⊨ p∧q ✤ Proof: ✤ Proof: ✤ 1. p (assumption) 1 2 3 ✤ 2. q (assumption) p q p∧q 1 T T T ✤ 3. p∧q (I∧1,2) 2 T F F 3 F T F 4 F F F 6 Third Example ✤ Show: p,¬p ⊢ q ✤ Show: p,¬p ⊨ q ✤ Proof: ✤ Proof: ✤ 1. p (assumption) 1 2 3 3 4 ✤ 2. ¬p (assumption) p q p ¬p q 1 T T T F T ✤ 3. ⊥ (E¬ 1,2) 2 T F T F F ✤ 4. q (EFSQ 3) 3 F T F T T 4 F F F T F 7 The Major Result ✤ These examples should hopefully make the following general result very plausible: ✤ ϕ1, ϕ2, . ., ϕn ⊢ψ if and only if ϕ1, ϕ2,…, ϕn ⊨ ψ ✤ So given premises ϕ1, ϕ2, . ., ϕn and conclusion ψ, there is a proof from assumptions ϕ1, ϕ2, . ., ϕn to conclusion ψ if and only if the argument with premises ϕ1, ϕ2, . ., ϕn and this conclusion ψ is valid. ✤ Obviously the two notions ⊢ and ⊨ are very different: the first concerns proofs, and the second concerns what happens on every row of a truth table. But the major result says that these two things line up. 8 Two Parts of the Major Result ✤ The two parts of the major result are sometimes given special names: ✤ Soundness Theorem: if ϕ1, ϕ2, . ., ϕn ⊢ψ then ϕ1, ϕ2,…, ϕn ⊨ ψ ✤ Completeness Theorem: if ϕ1, ϕ2,…, ϕn ⊨ ψ then ϕ1, ϕ2, . ., ϕn ⊢ψ ✤ They are given these names because the proofs are very different, and in general the proof of the completeness theorem is much harder. ✤ You can kind of see why: to prove soundness, you must simply check that our rules for our proof system preserve truth. To prove completeness you must show that all valid arguments have proofs. Initially it’s not obvious how you would show this. 9 Philosophical Significance 1/3 ✤ After we covered the introduction and elimination rules for the propositional connectives, we kept on adding rules to our deductive system like EFSQ and ¬¬ Introduction. ✤ Is there something non-arbitrary about this specific list of rules? It seems that the soundness and completeness proofs give us a reason to think so. ✤ Kleene: “[...] we have listed eleven postulates for the propositional calculus [...]. Can we give a reason why we stop with just these? Might we with advantage attempt to discover others which could be added to the list to give more provable formulas?'' (Introduction to Metamathematics p. 131). 10 Philosophical Significance 2/3 ✤ A. Seems plausible that: if ϕ1, ϕ2, . ., ϕn ⊢ψ, then the truth of the premises ϕ1, ϕ2, . ., ϕn guarantees the truth of the conclusion ψ. ✤ B. Further, seems plausible that: if the truth of the premises ϕ1, ϕ2, . ., ϕn guarantees the truth of the conclusion ψ, then whenever the premises ϕ1, ϕ2, . ., ϕn are true, the conclusion ψ is true. ✤ C. Moreover, seems plausible that: if whenever the premises ϕ1, ϕ2, . ., ϕn are true, the conclusion ψ is true, then ϕ1, ϕ2,…, ϕn ⊨ ψ. ✤ D. Finally, completeness theorem tells us: if ϕ1, ϕ2,…, ϕn ⊨ ψ then ϕ1, ϕ2, . ., ϕn ⊢ψ. 11 Philosophical Significance 3/3 ✤ So the following are equivalent: ✤ 1. ϕ1, ϕ2, . ., ϕn ⊢ψ ✤ 2. the truth of premises ϕ1, ϕ2, . ., ϕn guarantees the truth of the conclusion ψ. ✤ 3. whenever premises ϕ1, ϕ2, . ., ϕn are true, the conclusion ψ is true. ✤ 4. ϕ1, ϕ2,…, ϕn ⊨ ψ ✤ This is significant because we suspected but did not know this equivalence beforehand. This argument is called the Kreisel squeezing argument (from his “Informal Rigour and Completeness Proofs”). 12 Applications of the Major Result ✤ Suppose that someone asked ✤ Show: p, p➝q,q➝r, r➝s, s➝t ⊢t you to show the following: ✤ 1. p (assumption) ✤ p, p➝q,q➝r, r➝s, s➝t ⊨t ✤ 2. p➝q (assumption) ✤ 3. q➝r (assumption) ✤ This would be a really really big ✤ 4. r➝s (assumption) 5 truth table! It would have 2 =32 ✤ 5. s➝t (assumption) different rows! ✤ 6. q (E➝ 1,2) ✤ 7. r (E➝ 2,6) ✤ However, once we know our ✤ 8. s (E➝ 4,7) major result, we know it ✤ 9. t (E➝5, 8) suffices to show that there’s a deduction. 13 From Lec 17, Handout 2: Example 8 (Pierce’s Law) ✤ Show: ⊢ ((p➝q)➝p)➝p ✤ What’s the strategy here? Well, ✤ 1. (p➝q)➝p (assumption) we want to go from ((p➝q)➝p) ✤ 2. ¬p (assumption) to p inside a box. ✤ 3. p (assumption) ✤ How in the world are we going ✤ 4. ⊥ (E¬ 2,3) to get p? The assumption that ✤ 5. q (EFSQ 4) ((p➝q)➝p) doesn’t give us a lot ✤ 6. p➝q (I➝ 3-5) to work with. So we try to first ✤ 7. p (E➝ 1,6) to obtain ¬¬p. ✤ 8. ⊥ (E¬ 2,7) ✤ ✤ 9. ¬¬p (I¬ 2-8) So we try to go from ¬p to ⊥ ✤ 10. p (¬¬ 9) inside a box. We do this by trying to obtain p as well. ✤ 11. ((p➝q)➝p)➝p (I➝ 1-10) 14 Applications of the Major Result ✤ We just did Pierce’s law: ⊢ ((p➝q)➝p)➝p. Conceptually, this proof was complicated, even though it has only two letters. By the major result, we could have instead done the following truth-table. p q p➝q p (p➝q)➝p p ((p➝q)➝p)➝p T T T T T T T T F F T T T T F T T F F F T F F T F F F T 15 Two R u l e s o f T h u m b ✤ So I suppose that these two ✤ If your argument seems like it applications suggest some has a lot of negations in it, or general “rules of thumb” for seems like it might require deciding when to try to show EFSQ or ¬¬-Rule to prove, you provability vs. validity: might want to try to show that it’s valid with e.g. a truth-table. ✤ provability: ϕ1, ϕ2, . ., ϕn ⊢ ψ ✤ There’s might well be situations ✤ validity: ϕ1, ϕ2,…, ϕn ⊨ ψ in which neither of these rules would apply: imagine for ✤ If you argument has more than instance something like Pierce’s three letters, you might want to law but which had 5 give a proof. propositional letters in it! 16 Ω 17.
Recommended publications
  • Revisiting Gödel and the Mechanistic Thesis Alessandro Aldini, Vincenzo Fano, Pierluigi Graziani
    Theory of Knowing Machines: Revisiting Gödel and the Mechanistic Thesis Alessandro Aldini, Vincenzo Fano, Pierluigi Graziani To cite this version: Alessandro Aldini, Vincenzo Fano, Pierluigi Graziani. Theory of Knowing Machines: Revisiting Gödel and the Mechanistic Thesis. 3rd International Conference on History and Philosophy of Computing (HaPoC), Oct 2015, Pisa, Italy. pp.57-70, 10.1007/978-3-319-47286-7_4. hal-01615307 HAL Id: hal-01615307 https://hal.inria.fr/hal-01615307 Submitted on 12 Oct 2017 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. Distributed under a Creative Commons Attribution| 4.0 International License Theory of Knowing Machines: Revisiting G¨odeland the Mechanistic Thesis Alessandro Aldini1, Vincenzo Fano1, and Pierluigi Graziani2 1 University of Urbino \Carlo Bo", Urbino, Italy falessandro.aldini, [email protected] 2 University of Chieti-Pescara \G. D'Annunzio", Chieti, Italy [email protected] Abstract. Church-Turing Thesis, mechanistic project, and G¨odelian Arguments offer different perspectives of informal intuitions behind the relationship existing between the notion of intuitively provable and the definition of decidability by some Turing machine. One of the most for- mal lines of research in this setting is represented by the theory of know- ing machines, based on an extension of Peano Arithmetic, encompassing an epistemic notion of knowledge formalized through a modal operator denoting intuitive provability.
    [Show full text]
  • An Un-Rigorous Introduction to the Incompleteness Theorems∗
    An un-rigorous introduction to the incompleteness theorems∗ phil 43904 Jeff Speaks October 8, 2007 1 Soundness and completeness When discussing Russell's logical system and its relation to Peano's axioms of arithmetic, we distinguished between the axioms of Russell's system, and the theorems of that system. Roughly, the axioms of a theory are that theory's basic assumptions, and the theorems are the formulae provable from the axioms using the rules provided by the theory. Suppose we are talking about the theory A of arithmetic. Then, if we express the idea that a certain sentence p is a theorem of A | i.e., provable from A's axioms | as follows: `A p Now we can introduce the notion of the valid sentences of a theory. For our purposes, think of a valid sentence as a sentence in the language of the theory that can't be false. For example, consider a simple logical language which contains some predicates (written as upper-case letters), `not', `&', and some names, each of which is assigned some object or other in each interpretation. Now consider a sentence like F n In most cases, a sentence like this is going to be true on some interpretations, and false in others | it depends on which object is assigned to `n', and whether it is in the set of things assigned to `F '. However, if we consider a sentence like ∗The source for much of what follows is Michael Detlefsen's (much less un-rigorous) “G¨odel'stheorems", available at http://www.rep.routledge.com/article/Y005.
    [Show full text]
  • Q1: Is Every Tautology a Theorem? Q2: Is Every Theorem a Tautology?
    Section 3.2: Soundness Theorem; Consistency. Math 350: Logic Class08 Fri 8-Feb-2001 This section is mainly about two questions: Q1: Is every tautology a theorem? Q2: Is every theorem a tautology? What do these questions mean? Review de¯nitions, and discuss. We'll see that the answer to both questions is: Yes! Soundness Theorem 1. (The Soundness Theorem: Special case) Every theorem of Propositional Logic is a tautol- ogy; i.e., for every formula A, if A, then = A. ` j Sketch of proof: Q: Is every axiom a tautology? Yes. Why? Q: For each of the four rules of inference, check: if the antecedent is a tautology, does it follow that the conclusion is a tautology? Q: How does this prove the theorem? A: Suppose we have a proof, i.e., a list of formulas: A1; ; An. A1 is guaranteed to be a tautology. Why? So A2 is guaranteed to be a tautology. Why? S¢o¢ ¢A3 is guaranteed to be a tautology. Why? And so on. Q: What is a more rigorous way to prove this? Ans: Use induction. Review: What does S A mean? What does S = A mean? Theorem 2. (The Soun`dness Theorem: General cjase) Let S be any set of formulas. Then every theorem of S is a tautological consequence of S; i.e., for every formula A, if S A, then S = A. ` j Proof: This uses similar ideas as the proof of the special case. We skip the proof. Adequacy Theorem 3. (The Adequacy Theorem for the formal system of Propositional Logic: Special Case) Every tautology is a theorem of Propositional Logic; i.e., for every formula A, if = A, then A.
    [Show full text]
  • Proof of the Soundness Theorem for Sentential Logic
    The Soundness Theorem for Sentential Logic These notes contain a proof of the Soundness Theorem for Sentential Logic. The Soundness Theorem says that our natural deduction proofs represent a sound (or correct) system of reasoning. Formally, the Soundness Theorem states that: If Γ├ φ then Γ╞ φ. This says that for any set of premises, if you can prove φ from that set, then φ is truth-functionally entailed by that set. In other words, if our rules let you prove that something follows from some premises, then it ‘really does’ follow from those premises. By definition Γ╞ φ means that there is no TVA that makes all of the members of Γ true and also makes φ false. Note that an equivalent definition would be “Γ╞ φ if any TVA that makes all the members of Γ true also makes φ true”. By contraposition, the soundness theorem is equivalent to “If it is not true that Γ╞ φ then it is not true that Γ├ φ.” Unpacking the definitions, this means “If there is a TVA that makes all the members of Γ true but makes φ false, then there is no way to prove φ from Γ.” We might call this “The Negative Criterion.” This is important since the standard way of showing that something is not provable is to give an invalidating TVA. This only works assuming that the soundness theorem is true. Let’s get started on the proof. We are trying to prove a conditional claim, so we assume its antecedent and try to prove its consequent.
    [Show full text]
  • The Development of Mathematical Logic from Russell to Tarski: 1900–1935
    The Development of Mathematical Logic from Russell to Tarski: 1900–1935 Paolo Mancosu Richard Zach Calixto Badesa The Development of Mathematical Logic from Russell to Tarski: 1900–1935 Paolo Mancosu (University of California, Berkeley) Richard Zach (University of Calgary) Calixto Badesa (Universitat de Barcelona) Final Draft—May 2004 To appear in: Leila Haaparanta, ed., The Development of Modern Logic. New York and Oxford: Oxford University Press, 2004 Contents Contents i Introduction 1 1 Itinerary I: Metatheoretical Properties of Axiomatic Systems 3 1.1 Introduction . 3 1.2 Peano’s school on the logical structure of theories . 4 1.3 Hilbert on axiomatization . 8 1.4 Completeness and categoricity in the work of Veblen and Huntington . 10 1.5 Truth in a structure . 12 2 Itinerary II: Bertrand Russell’s Mathematical Logic 15 2.1 From the Paris congress to the Principles of Mathematics 1900–1903 . 15 2.2 Russell and Poincar´e on predicativity . 19 2.3 On Denoting . 21 2.4 Russell’s ramified type theory . 22 2.5 The logic of Principia ......................... 25 2.6 Further developments . 26 3 Itinerary III: Zermelo’s Axiomatization of Set Theory and Re- lated Foundational Issues 29 3.1 The debate on the axiom of choice . 29 3.2 Zermelo’s axiomatization of set theory . 32 3.3 The discussion on the notion of “definit” . 35 3.4 Metatheoretical studies of Zermelo’s axiomatization . 38 4 Itinerary IV: The Theory of Relatives and Lowenheim’s¨ Theorem 41 4.1 Theory of relatives and model theory . 41 4.2 The logic of relatives .
    [Show full text]
  • Constructing a Categorical Framework of Metamathematical Comparison Between Deductive Systems of Logic
    Bard College Bard Digital Commons Senior Projects Spring 2016 Bard Undergraduate Senior Projects Spring 2016 Constructing a Categorical Framework of Metamathematical Comparison Between Deductive Systems of Logic Alex Gabriel Goodlad Bard College, [email protected] Follow this and additional works at: https://digitalcommons.bard.edu/senproj_s2016 Part of the Logic and Foundations Commons This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 4.0 License. Recommended Citation Goodlad, Alex Gabriel, "Constructing a Categorical Framework of Metamathematical Comparison Between Deductive Systems of Logic" (2016). Senior Projects Spring 2016. 137. https://digitalcommons.bard.edu/senproj_s2016/137 This Open Access work is protected by copyright and/or related rights. It has been provided to you by Bard College's Stevenson Library with permission from the rights-holder(s). You are free to use this work in any way that is permitted by the copyright and related rights. For other uses you need to obtain permission from the rights- holder(s) directly, unless additional rights are indicated by a Creative Commons license in the record and/or on the work itself. For more information, please contact [email protected]. Constructing a Categorical Framework of Metamathematical Comparison Between Deductive Systems of Logic A Senior Project submitted to The Division of Science, Mathematics, and Computing of Bard College by Alex Goodlad Annandale-on-Hudson, New York May, 2016 Abstract The topic of this paper in a broad phrase is \proof theory". It tries to theorize the general notion of \proving" something using rigorous definitions, inspired by previous less general theories. The purpose for being this general is to eventually establish a rigorous framework that can bridge the gap when interrelating different logical systems, particularly ones that have not been as well defined rigorously, such as sequent calculus.
    [Show full text]
  • 6.3 Mathematical Induction 6.4 Soundness
    6.3 Mathematical Induction This principle is often used in logical metatheory. It is a corollary of mathematical induction. Actually, it To complete our proofs of the soundness and com- is a version of it. Let φ′ be the property a number has pleteness of propositional modal logic, it is worth if and only if all wffs of the logical language having briefly discussing the principles of mathematical in- that number of logical operators and atomic state- duction, which we assume in our metalanguage. ments are φ. If φ is true of the simplest well-formed formulas, i.e., those that contain zero operators, then A natural number is a nonnegative whole number, ′ 0 has φ . Similarly, if φ holds of any wffs that are or a number in the series 0, 1, 2, 3, 4, ... constructed out of simpler wffs provided that those The principle of mathematical induction: If simpler wffs are φ, then whenever a given natural number n has φ′ then n +1 also has φ′. Hence, by (φ is true of 0) and (for all natural numbers n, ′ if φ is true of n, then φ is true of n + 1), then φ mathematical induction, all natural numbers have φ , is true of all natural numbers. i.e., no matter how many operators a wff contains, it has φ. In this way wff induction simply reduces to To use the principle mathematical induction to arrive mathematical induction. at the conclusion that something is true of all natural Similarly, this principle is usually utilized by prov- numbers, one needs to prove the two conjuncts of the ing: antecedent: 1.
    [Show full text]
  • Critique of the Church-Turing Theorem
    CRITIQUE OF THE CHURCH-TURING THEOREM TIMM LAMPERT Humboldt University Berlin, Unter den Linden 6, D-10099 Berlin e-mail address: lampertt@staff.hu-berlin.de Abstract. This paper first criticizes Church's and Turing's proofs of the undecidability of FOL. It identifies assumptions of Church's and Turing's proofs to be rejected, justifies their rejection and argues for a new discussion of the decision problem. Contents 1. Introduction 1 2. Critique of Church's Proof 2 2.1. Church's Proof 2 2.2. Consistency of Q 6 2.3. Church's Thesis 7 2.4. The Problem of Translation 9 3. Critique of Turing's Proof 19 References 22 1. Introduction First-order logic without names, functions or identity (FOL) is the simplest first-order language to which the Church-Turing theorem applies. I have implemented a decision procedure, the FOL-Decider, that is designed to refute this theorem. The implemented decision procedure requires the application of nothing but well-known rules of FOL. No assumption is made that extends beyond equivalence transformation within FOL. In this respect, the decision procedure is independent of any controversy regarding foundational matters. However, this paper explains why it is reasonable to work out such a decision procedure despite the fact that the Church-Turing theorem is widely acknowledged. It provides a cri- tique of modern versions of Church's and Turing's proofs. I identify the assumption of each proof that I question, and I explain why I question it. I also identify many assumptions that I do not question to clarify where exactly my reasoning deviates and to show that my critique is not born from philosophical scepticism.
    [Show full text]
  • Validity and Soundness
    1.4 Validity and Soundness A deductive argument proves its conclusion ONLY if it is both valid and sound. Validity: An argument is valid when, IF all of it’s premises were true, then the conclusion would also HAVE to be true. In other words, a “valid” argument is one where the conclusion necessarily follows from the premises. It is IMPOSSIBLE for the conclusion to be false if the premises are true. Here’s an example of a valid argument: 1. All philosophy courses are courses that are super exciting. 2. All logic courses are philosophy courses. 3. Therefore, all logic courses are courses that are super exciting. Note #1: IF (1) and (2) WERE true, then (3) would also HAVE to be true. Note #2: Validity says nothing about whether or not any of the premises ARE true. It only says that IF they are true, then the conclusion must follow. So, validity is more about the FORM of an argument, rather than the TRUTH of an argument. So, an argument is valid if it has the proper form. An argument can have the right form, but be totally false, however. For example: 1. Daffy Duck is a duck. 2. All ducks are mammals. 3. Therefore, Daffy Duck is a mammal. The argument just given is valid. But, premise 2 as well as the conclusion are both false. Notice however that, IF the premises WERE true, then the conclusion would also have to be true. This is all that is required for validity. A valid argument need not have true premises or a true conclusion.
    [Show full text]
  • Provability, Soundness and Completeness Deductive Rules of Inference Provide a Mechanism for Deriving True Conclusions from True Premises
    CSC 244/444 Lecture Notes Sept. 16, 2021 Provability, Soundness and Completeness Deductive rules of inference provide a mechanism for deriving true conclusions from true premises Rules of inference So far we have treated formulas as \given", and have shown how they can be related to a domain of discourse, and how the truth of a set of premises can guarantee (entail) the truth of a conclusion. However, our goal in logic and particularly in AI is to derive new conclusions from given facts. For this we need rules of inference (and later, strategies for applying such rules so as to derive a desired conclusion, if possible). In general, a \forward" inference rule consists of one or more premises and a con- clusion. Both the premises and the conclusion are generally schemas, i.e., they involve metavariables for formulas or terms that can be particularized in many ways (just as we saw in the case of valid formula schemas). We often put a horizontal line under the premises, and write the conclusion underneath the line. For instance, here is the rule of Modus Ponens φ, φ ) MP : This says that given a premise formula φ, and another formula of form φ ) , we may derive the conclusion . It is intuitively clear that this rule leads from true premises to a true conclusion { but this is an intuition we need to verify by proving the rule sound, as illustrated below. An example of using the rule is this: from Dog(Snoopy), Dog(Snoopy) ) Has-tail(Snoopy), we can conclude Has-tail(Snoopy).
    [Show full text]
  • On Synthetic Undecidability in Coq, with an Application to the Entscheidungsproblem
    On Synthetic Undecidability in Coq, with an Application to the Entscheidungsproblem Yannick Forster Dominik Kirst Gert Smolka Saarland University Saarland University Saarland University Saarbrücken, Germany Saarbrücken, Germany Saarbrücken, Germany [email protected] [email protected] [email protected] Abstract like decidability, enumerability, and reductions are avail- We formalise the computational undecidability of validity, able without reference to a concrete model of computation satisfiability, and provability of first-order formulas follow- such as Turing machines, general recursive functions, or ing a synthetic approach based on the computation native the λ-calculus. For instance, representing a given decision to Coq’s constructive type theory. Concretely, we consider problem by a predicate p on a type X, a function f : X ! B Tarski and Kripke semantics as well as classical and intu- with 8x: p x $ f x = tt is a decision procedure, a function itionistic natural deduction systems and provide compact д : N ! X with 8x: p x $ ¹9n: д n = xº is an enumer- many-one reductions from the Post correspondence prob- ation, and a function h : X ! Y with 8x: p x $ q ¹h xº lem (PCP). Moreover, developing a basic framework for syn- for a predicate q on a type Y is a many-one reduction from thetic computability theory in Coq, we formalise standard p to q. Working formally with concrete models instead is results concerning decidability, enumerability, and reducibil- cumbersome, given that every defined procedure needs to ity without reference to a concrete model of computation. be shown representable by a concrete entity of the model.
    [Show full text]
  • Warren Goldfarb, Notes on Metamathematics
    Notes on Metamathematics Warren Goldfarb W.B. Pearson Professor of Modern Mathematics and Mathematical Logic Department of Philosophy Harvard University DRAFT: January 1, 2018 In Memory of Burton Dreben (1927{1999), whose spirited teaching on G¨odeliantopics provided the original inspiration for these Notes. Contents 1 Axiomatics 1 1.1 Formal languages . 1 1.2 Axioms and rules of inference . 5 1.3 Natural numbers: the successor function . 9 1.4 General notions . 13 1.5 Peano Arithmetic. 15 1.6 Basic laws of arithmetic . 18 2 G¨odel'sProof 23 2.1 G¨odelnumbering . 23 2.2 Primitive recursive functions and relations . 25 2.3 Arithmetization of syntax . 30 2.4 Numeralwise representability . 35 2.5 Proof of incompleteness . 37 2.6 `I am not derivable' . 40 3 Formalized Metamathematics 43 3.1 The Fixed Point Lemma . 43 3.2 G¨odel'sSecond Incompleteness Theorem . 47 3.3 The First Incompleteness Theorem Sharpened . 52 3.4 L¨ob'sTheorem . 55 4 Formalizing Primitive Recursion 59 4.1 ∆0,Σ1, and Π1 formulas . 59 4.2 Σ1-completeness and Σ1-soundness . 61 4.3 Proof of Representability . 63 3 5 Formalized Semantics 69 5.1 Tarski's Theorem . 69 5.2 Defining truth for LPA .......................... 72 5.3 Uses of the truth-definition . 74 5.4 Second-order Arithmetic . 76 5.5 Partial truth predicates . 79 5.6 Truth for other languages . 81 6 Computability 85 6.1 Computability . 85 6.2 Recursive and partial recursive functions . 87 6.3 The Normal Form Theorem and the Halting Problem . 91 6.4 Turing Machines .
    [Show full text]