Propositional Logic, Semantics and Proofs

Total Page:16

File Type:pdf, Size:1020Kb

Propositional Logic, Semantics and Proofs Introduction to Proof Theory Lecture 1 - Propositional logic, semantics and proofs Anupam Das & Thomas Powell University of Copenhagen & Technische Universität Darmstadt European Summer School on Logic, Language, and Information Sofia University 13 August 2018 These slides are available at http://www.anupamdas.com/esslli18. 1 / 51 Outline 1 Introduction, motivation and this course 2 Language of propositional logic 3 Truth table semantics 4 Some puzzles 5 Deductive reasoning 6 A Hilbert-Frege style deductive system 7 The deduction theorem 8 Questions and exercises 9 References 2 / 51 Formally, a proof system defines what a proof may be. This allows not only the study of proofs themselves, but also of what it means to be provable. But why do we study proofs? • Foundational results, which tell us something fundamental about reasoning itself. These lead to... • Applications, which use insights and techniques from proof theory to accomplish something concrete in another discipline altogether. This lecture course: A comprehensive introduction to the field, focussing on classical results but hinting at powerful applications. Wherefore proof theory? Proof theory is the study of mathematical proofs as formal objects. 3 / 51 But why do we study proofs? • Foundational results, which tell us something fundamental about reasoning itself. These lead to... • Applications, which use insights and techniques from proof theory to accomplish something concrete in another discipline altogether. This lecture course: A comprehensive introduction to the field, focussing on classical results but hinting at powerful applications. Wherefore proof theory? Proof theory is the study of mathematical proofs as formal objects. Formally, a proof system defines what a proof may be. This allows not only the study of proofs themselves, but also of what it means to be provable. 3 / 51 • Foundational results, which tell us something fundamental about reasoning itself. These lead to... • Applications, which use insights and techniques from proof theory to accomplish something concrete in another discipline altogether. This lecture course: A comprehensive introduction to the field, focussing on classical results but hinting at powerful applications. Wherefore proof theory? Proof theory is the study of mathematical proofs as formal objects. Formally, a proof system defines what a proof may be. This allows not only the study of proofs themselves, but also of what it means to be provable. But why do we study proofs? 3 / 51 This lecture course: A comprehensive introduction to the field, focussing on classical results but hinting at powerful applications. Wherefore proof theory? Proof theory is the study of mathematical proofs as formal objects. Formally, a proof system defines what a proof may be. This allows not only the study of proofs themselves, but also of what it means to be provable. But why do we study proofs? • Foundational results, which tell us something fundamental about reasoning itself. These lead to... • Applications, which use insights and techniques from proof theory to accomplish something concrete in another discipline altogether. 3 / 51 Wherefore proof theory? Proof theory is the study of mathematical proofs as formal objects. Formally, a proof system defines what a proof may be. This allows not only the study of proofs themselves, but also of what it means to be provable. But why do we study proofs? • Foundational results, which tell us something fundamental about reasoning itself. These lead to... • Applications, which use insights and techniques from proof theory to accomplish something concrete in another discipline altogether. This lecture course: A comprehensive introduction to the field, focussing on classical results but hinting at powerful applications. 3 / 51 Foundational results from the early days Gödel’s incompleteness theorem (1931), informally We cannot prove every true sentence in a given proof system. This result fundamentally reoriented the direction of logic research in the 20th century. Gentzen’s Hauptsatz (1934), informally Every purely logical theorem can be proved analytically, i.e. without making ‘guesses’. The translation of proofs to analytic form, cut-elimination, has become one of the most powerful tools in all of logic. Since then we have come very far... 4 / 51 Applications of proof theory today It is impossible to list the many roles that proof theory plays in the areas relevant to the ESSLLI community, but we list some of the highlights: Computer science • Proof normalisation as the execution of functional programs. • Proof search as logic programming. Linguistics • Language grammars and substructural logics. • Proof-theoretic semantics. Mathematics • Relative strength of mathematical theories. • Extracting bounds and computational content from proofs. Philosophy • Theories of meaning in logic. • Formal accounts of modalities from epistemology. 5 / 51 Who are we? Anupam • Marie Skłodowska-Curie research fellow at the University of Copenhagen. • Computational proof theorist with background in mathematics and philosophy. • Specialises in structural proof theory and interactions with computational complexity. Thomas • Postdoctoral researcher at the Technical University of Darmstadt. • Computational proof theorist with background in mathematics and computer science. • Specialises in proof interpretations, the extraction of computational content from proofs, and higher-type computability theory. 6 / 51 Overview of the course We assume you have seen some logic, but there are no formal prerequisites. • Lecture 1: Propositional logic, semantics and proofs. Syntax of propositional logic, truth table semantics, Hilbert-Frege style proof systems, the deduction theorem. (Anupam and Tom) • Lecture 2: Soundness and completeness. Structural induction, soundness, Lindenbaum’s construction, completeness, the compactness theorem. (Anupam) • Lecture 3: First-order logic and formal theories. Syntax of predicate logic, structures, and Hilbert-Frege style proof systems. First order theories and their models. Peano arithmetic. (Tom) • Lecture 4: Cut-elimination and its consequences. The problem of proof search, the sequent calculus, the cut-elimination theorem, Herbrand’s theorem, Craig interpolation. (Anupam) • Lecture 5: Nonclassical logics and some perspectives. Constructivism and intuitionistic logic, linear logic, modal logic, Lambek calculus, current trends. (Anupam and Tom) 7 / 51 References for this course Proof theory is an incredibly big field (both deep and broad). The following are popular broad-spectrum references: 1 [Buss, 1998] Handbook of Proof Theory (a mathematical approach) 2 [Troelstra and Schwichtenberg, 1996] Basic Proof Theory. (a computational approach) 3 [Schoenfeld, 1967] Mathematical Logic. (a broader overview of logic) 4 Stanford Encyclopedia of Philosophy. (an excellent high-level general reference) http://plato.stanford.edu/ NB: While 1, 2 and 3 are a little dated in terms of topics, the material still remains standard initiation to proof theory. 8 / 51 Sprechen Sie deutsch? We also highly recommend taking a look at original texts: • [Frege, 1879] Begrifsschrit. (the first serious attempt to formalise mathematics in logic, unfortunately erroneously) • [Whitehead and Russell, 1927] Principia Mathematica. (the second serious attempt, notably error-free) • [Gödel, 1931] Über Formal Unentscheidbare Sätze der Principia Mathematica Und Verwandter Systeme I. (the incompleteness theorems) • [Szabo, 1972] The collected papers of Gerhard Gentzen. English translations. (the foundation of structural proof theory) (For those of you who are interested, we will also provide pointers to accessible research articles showcasing what is going on in proof theory today.) 9 / 51 Outline 1 Introduction, motivation and this course 2 Language of propositional logic 3 Truth table semantics 4 Some puzzles 5 Deductive reasoning 6 A Hilbert-Frege style deductive system 7 The deduction theorem 8 Questions and exercises 9 References 10 / 51 Definition (Formulae) The set Form of formulae, written A; B; C etc., are generated as follows: • Any propositional variable p is a formula. • ? is a formula. (falsum) • > is a formula. (veritum) • For a formula A, the expression :A is a formula. (negation) • For formulae A; B, the expression (A _ B) is a formula. (disjunction) • For formulae A; B, the expression (A ^ B) is a formula. (conjunction) • For formulae A; B, the expression (A ! B) is a formula. (implication) Examples of formulae: :(p _ >) ; (p !:q) ; :? Examples of non-formulae: (_p ! ( ; p _ q ! p0 ^ q0 ; ?p> Propositional logic syntax Let us fix a countable set Prop of propositional variables, written p; q; r etc. 11 / 51 Examples of formulae: :(p _ >) ; (p !:q) ; :? Examples of non-formulae: (_p ! ( ; p _ q ! p0 ^ q0 ; ?p> Propositional logic syntax Let us fix a countable set Prop of propositional variables, written p; q; r etc. Definition (Formulae) The set Form of formulae, written A; B; C etc., are generated as follows: • Any propositional variable p is a formula. • ? is a formula. (falsum) • > is a formula. (veritum) • For a formula A, the expression :A is a formula. (negation) • For formulae A; B, the expression (A _ B) is a formula. (disjunction) • For formulae A; B, the expression (A ^ B) is a formula. (conjunction) • For formulae A; B, the expression (A ! B) is a formula. (implication) 11 / 51 Propositional logic syntax Let us fix a countable set Prop of propositional variables, written p; q; r etc. Definition (Formulae) The set Form of formulae,
Recommended publications
  • David Hilbert's Contributions to Logical Theory
    David Hilbert’s contributions to logical theory CURTIS FRANKS 1. A mathematician’s cast of mind Charles Sanders Peirce famously declared that “no two things could be more directly opposite than the cast of mind of the logician and that of the mathematician” (Peirce 1976, p. 595), and one who would take his word for it could only ascribe to David Hilbert that mindset opposed to the thought of his contemporaries, Frege, Gentzen, Godel,¨ Heyting, Łukasiewicz, and Skolem. They were the logicians par excellence of a generation that saw Hilbert seated at the helm of German mathematical research. Of Hilbert’s numerous scientific achievements, not one properly belongs to the domain of logic. In fact several of the great logical discoveries of the 20th century revealed deep errors in Hilbert’s intuitions—exemplifying, one might say, Peirce’s bald generalization. Yet to Peirce’s addendum that “[i]t is almost inconceivable that a man should be great in both ways” (Ibid.), Hilbert stands as perhaps history’s principle counter-example. It is to Hilbert that we owe the fundamental ideas and goals (indeed, even the name) of proof theory, the first systematic development and application of the methods (even if the field would be named only half a century later) of model theory, and the statement of the first definitive problem in recursion theory. And he did more. Beyond giving shape to the various sub-disciplines of modern logic, Hilbert brought them each under the umbrella of mainstream mathematical activity, so that for the first time in history teams of researchers shared a common sense of logic’s open problems, key concepts, and central techniques.
    [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]
  • Knowing-How and the Deduction Theorem
    Knowing-How and the Deduction Theorem Vladimir Krupski ∗1 and Andrei Rodin y2 1Department of Mechanics and Mathematics, Moscow State University 2Institute of Philosophy, Russian Academy of Sciences and Department of Liberal Arts and Sciences, Saint-Petersburg State University July 25, 2017 Abstract: In his seminal address delivered in 1945 to the Royal Society Gilbert Ryle considers a special case of knowing-how, viz., knowing how to reason according to logical rules. He argues that knowing how to use logical rules cannot be reduced to a propositional knowledge. We evaluate this argument in the context of two different types of formal systems capable to represent knowledge and support logical reasoning: Hilbert-style systems, which mainly rely on axioms, and Gentzen-style systems, which mainly rely on rules. We build a canonical syntactic translation between appropriate classes of such systems and demonstrate the crucial role of Deduction Theorem in this construction. This analysis suggests that one’s knowledge of axioms and one’s knowledge of rules ∗[email protected] [email protected] ; the author thanks Jean Paul Van Bendegem, Bart Van Kerkhove, Brendan Larvor, Juha Raikka and Colin Rittberg for their valuable comments and discussions and the Russian Foundation for Basic Research for a financial support (research grant 16-03-00364). 1 under appropriate conditions are also mutually translatable. However our further analysis shows that the epistemic status of logical knowing- how ultimately depends on one’s conception of logical consequence: if one construes the logical consequence after Tarski in model-theoretic terms then the reduction of knowing-how to knowing-that is in a certain sense possible but if one thinks about the logical consequence after Prawitz in proof-theoretic terms then the logical knowledge- how gets an independent status.
    [Show full text]
  • Types of Proof System
    Types of proof system Peter Smith October 13, 2010 1 Axioms, rules, and what logic is all about 1.1 Two kinds of proof system There are at least two styles of proof system for propositional logic other than trees that beginners ought to know about. The real interest here, of course, is not in learning yet more about classical proposi- tional logic per se. For how much fun is that? Rather, what we are doing { as always { is illustrating some Big Ideas using propositional logic as a baby example. The two new styles are: 1. Axiomatic systems The first system of formal logic in anything like the contempo- rary sense { Frege's system in his Begriffsschrift of 1879 { is an axiomatic one. What is meant by `axiomatic' in this context? Think of Euclid's geometry for example. In such an axiomatic theory, we are given a \starter pack" of basic as- sumptions or axioms (we are often given a package of supplementary definitions as well, enabling us to introduce new ideas as abbreviations for constructs out of old ideas). And then the theorems of the theory are those claims that can deduced by allowed moves from the axioms, perhaps invoking definitions where appropriate. In Euclid's case, the axioms and definitions are of course geometrical, and he just helps himself to whatever logical inferences he needs to execute the deductions. But, if we are going to go on to axiomatize logic itself, we are going to need to be explicit not just about the basic logical axioms we take as given starting points for deductions, but also about the rules of inference that we are permitted to use.
    [Show full text]
  • Formal Semantics and Logic.Pdf
    Formal Semantics and Logic Bas C. van Fraassen Copyright c 1971, Bas C. van Fraassen Originally published by The Macmillan Company, New York This eBook was published by Nousoul Digital Publishers. Its formatting is optimized for eReaders and other electronic reading devices. For information, the publisher may be con- tacted by email at: [email protected] 2 To my parents 3 Preface to the .PDF Edition With a view to the increasing academic importance of digital media this electronic edition was created by Nousoul Digital Publishers. Thanks to the diligent work and expertise of Brandon P. Hopkins this edition has fea- tures that no book could have in the year of its original publication: searchable text and hyperlinked notes. The text itself remains essentially unchanged, but in addition to typographical corrections there are also some substantive corrections. Apart from the change in the solution to exercise 5.4 of Chapter 3, none comprise more than a few words or symbols. However, as different as digital media are from print media, so too is digital for- matting different from print formatting. Thus there are significant formatting differences from the earlier edition. The font and page dimensions differ, as well as the page numbering, which is made to accord with the pagina- tion automatically assigned to multi-paged documents by most standard document-readers. Bas van Fraassen 2016 4 Contents Preface (1971)9 Introduction: Aim and Structure of Logical Theory 12 1 Mathematical Preliminaries 19 1.1 Intuitive Logic and Set Theory....... 19 1.2 Mathematical Structures.......... 23 1.3 Partial Order and Trees.........
    [Show full text]
  • 596-4372 This Book Is Financially Supported by the Danish Council for Independent Research | Culture and Communicatio
    Aalborg Universitet The Metaphysics of Time Themes from Prior Hasle, Peter; Jakobsen, David; Øhrstrøm, Peter Publication date: 2020 Document Version Også kaldet Forlagets PDF Link to publication from Aalborg University Citation for published version (APA): Hasle, P., Jakobsen, D., & Øhrstrøm, P. (red.) (2020). The Metaphysics of Time: Themes from Prior. Aalborg Universitetsforlag. Logic and Philosophy of Time General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. ? Users may download and print one copy of any publication from the public portal for the purpose of private study or research. ? You may not further distribute the material or use it for any profit-making activity or commercial gain ? You may freely distribute the URL identifying the publication in the public portal ? Take down policy If you believe that this document breaches copyright please contact us at [email protected] providing details, and we will remove access to the work immediately and investigate your claim. Downloaded from vbn.aau.dk on: September 24, 2021 The Metaphysics of Time Logic and Philosophy of Time, Vol. 4 Per Hasle, David Jakobsen, and Peter Øhrstrøm (Eds.) The Metaphysics of Time: Themes from Prior Edited by: Per Hasle, David Jakobsen and Peter Øhrstrøm Logic and Philosophy of Time, Volume 4 The Metaphysics of Time: Themes
    [Show full text]
  • Lectures on Proof Theory
    Lectures on Proof Theory W. W. Tait [x3. of these lecture notes, on Derivability of induction, is defective. I hope to revise it soon.] 1 Chapter 1 History Proof theory was created early in the 20th century by David Hilbert to prove the consistency of the ordinary methods of reasoning used in mathematics| in arithmetic (number theory), analysis and set theory. Already in his famous \Mathematical problems" of 1900 [Hilbert, 1900] he raised, as the second problem, that of proving the consistency of the arithmetic of the real num- bers. In 1904, in \On the foundations of logic and arithmetic" [Hilbert, 1905], he for the first time initiated his own program for proving consistency. 1.1 Consistency Whence his concern for consistency? The history of the concept of consis- tency in mathematics has yet to be written; but there are some things we can mention. There is of course a long tradition of skepticism. For example Descartes considered the idea we are deceived by a malicious god and that the simplest arithmetical truths might be inconsistent|but that was simply an empty skepticism. On the other hand, as we now know, in view of G¨odel'sincom- pleteness theorems, there is no relevant sense in which we can refute it. Surely, if we are to judge by how long it took for the various successive extensions of the number system|zero and the negative numbers, and the complex numbers|to be accepted throughout the mathematical community, we have to believe that they, each in their turn, raised concerns about con- sistency (though at least some of the resistance to them simply resulted from the lack of immediate empirical meaning).
    [Show full text]
  • Quantum Logic and Its Role in Interpreting Quantum Theory
    Quantum Logic and Its Role in Interpreting Quantum Theory Gelo Noel M. Tabia ∗ Perimeter Institute for Theoretical Physics, 31 Caroline Street North, Waterloo, Ontario, Canada N2L 2Y5 Institute for Quantum Computing and University of Waterloo, 200 University Avenue West, Waterloo, Ontario, Canada N2L 3G1 10 March 2010 Summary Foundational studies in quantum theory have consisted in large part of attempts to avoid para- doxical situations in describing properties of a physical system. Quantum logic addresses some of the perplexing problems that plague interpretations of quantum theory by invoking a non-classical propositional calculus for the set of propositions of a quantum system. Historically, quantum logic derives from von Neumann's observation that the set of projection operators on a Hilbert space constitute a `logic' of experimental propositions. More than two decades passed from the pioneering work of Birkhoff and von Neumann before interest in quantum logic was re-ignited by Mackey's probabilistic analysis of quantum theory. Piron's axiomatization provided a significant extension of Mackey's formulation, leading to further developments focused primarily on establishing concrete operational foundations to quantum logic, most notably, the empirical framework introduced by Foulis and Randall in the 1980s. Recent advances in the past two decades feature the employment of powerful techniques from pure mathematics, in particular, various algebraic notions taken from category theory and computational logic. Aside from establishing the formal structures characterizing the syntax of quantum logic, there have also been concerted efforts to attribute realist or empiricist readings to the semantic content embodied in the projection lattice of Hilbert space. Some prominent quantum-logical interpretations, at least those critically evaluated in this essay, include Reichenbach's trivalent logic, Putnam's realist quantum logic, and Finkelstein's operational quantum logic.
    [Show full text]
  • K3, Ł3, LP, RM3, A3, FDE, M: How to Make Many-Valued Logics
    K3, Ł3, LP, RM3, A3, FDE, M: How to Make Many-Valued Logics Work for You Allen P. Hazen Francis Jeffry Pelletier Dept. Philosophy Dept. Philosophy University of Alberta University of Alberta Version of September 18, 2017 Abstract We investigate some well-known (and a few not-so-well-known) many-valued logics that have a small number (3 or 4) of truth values. For some of them we complain that they do not have any logical use (despite their perhaps having some intuitive semantic interest) and we look at ways to add features so as to make them useful, while retaining their intuitive appeal. At the end, we show some surprising results in the system FDE, and its relationships with features of other logics. We close with some new examples of “synonymous logics.” An Appendix contains a natural deduction system for our augmented FDE, and proofs of soundness and completeness. 1 Truth-Values: Many, versus Gaps and Gluts Everyone knows and loves the two “classical” truth-values, True and False. In “classical” logic1, every sentence is either T or F but not both. Before getting to the detailed issues of this paper, we pause to make four comments of a “philosophical nature” with the intent of setting the issues aside. First, there is the long-standing issue of whether a logic contains sentences, statements, or propositions. We take no position on this issue: what we think of as the logical point is neutral on this issue. Related to this, perhaps, is the issue of whether a logic should be considered a set of its arXiv:1711.05816v1 [cs.AI] 15 Nov 2017 theorems or defined instead by the valid inferences it accepts.
    [Show full text]
  • Logic and Proof Computer Science Tripos Part IB
    Logic and Proof Computer Science Tripos Part IB Lawrence C Paulson Computer Laboratory University of Cambridge [email protected] Copyright c 2014 by Lawrence C. Paulson Contents 1 Introduction and Learning Guide 1 2 Propositional Logic 2 3 Proof Systems for Propositional Logic 5 4 First-order Logic 8 5 Formal Reasoning in First-Order Logic 11 6 Clause Methods for Propositional Logic 13 7 Skolem Functions, Herbrand’s Theorem and Unification 17 8 First-Order Resolution and Prolog 21 9 Decision Procedures and SMT Solvers 24 10 Binary Decision Diagrams 27 11 Modal Logics 28 12 Tableaux-Based Methods 30 i 1 INTRODUCTION AND LEARNING GUIDE 1 1 Introduction and Learning Guide 2008 Paper 3 Q6: BDDs, DPLL, sequent calculus • 2008 Paper 4 Q5: proving or disproving first-order formulas, This course gives a brief introduction to logic, including • resolution the resolution method of theorem-proving and its relation 2009 Paper 6 Q7: modal logic (Lect. 11) to the programming language Prolog. Formal logic is used • for specifying and verifying computer systems and (some- 2009 Paper 6 Q8: resolution, tableau calculi • times) for representing knowledge in Artificial Intelligence 2007 Paper 5 Q9: propositional methods, resolution, modal programs. • logic The course should help you to understand the Prolog 2007 Paper 6 Q9: proving or disproving first-order formulas language, and its treatment of logic should be helpful for • 2006 Paper 5 Q9: proof and disproof in FOL and modal logic understanding other theoretical courses. It also describes • 2006 Paper 6 Q9: BDDs, Herbrand models, resolution a variety of techniques and data structures used in auto- • mated theorem provers.
    [Show full text]
  • Bivalence Final
    University of Birmingham Bivalence and Determinacy Rumfitt, Ian License: None: All rights reserved Document Version Peer reviewed version Citation for published version (Harvard): Rumfitt, I 2018, Bivalence and Determinacy. in M Glanzberg (ed.), The Oxford Handbook of Truth. Oxford University Press, Oxford. Link to publication on Research at Birmingham portal Publisher Rights Statement: (c) Oxford University Press, 2018 This is a pre-copyedited, author-produced version of a chapter accepted for publication in The Oxford Handbook of Truth, ed. Michael Glanzberg Eligibility for repository: Checked on 21/12/2015 General rights Unless a licence is specified above, all rights (including copyright and moral rights) in this document are retained by the authors and/or the copyright holders. The express permission of the copyright holder must be obtained for any use of this material other than for purposes permitted by law. •Users may freely distribute the URL that is used to identify this publication. •Users may download and/or print one copy of the publication from the University of Birmingham research portal for the purpose of private study or non-commercial research. •User may use extracts from the document in line with the concept of ‘fair dealing’ under the Copyright, Designs and Patents Act 1988 (?) •Users may not further distribute the material nor use it for the purposes of commercial gain. Where a licence is displayed above, please note the terms and conditions of the licence govern your use of this document. When citing, please reference the published version. Take down policy While the University of Birmingham exercises care and attention in making items available there are rare occasions when an item has been uploaded in error or has been deemed to be commercially or otherwise sensitive.
    [Show full text]
  • Part 1: Propositional Logic
    1. Propositional Logic 1.1. Basic Definitions. Definition 1.1. The alphabet of propositional logic consists of • Infinitely many propositional variables p0; p1;:::, • The logical connectives ^; _; !; ?, and • Parentheses ( and ). We usually write p; q; r; : : : for propositional variables. ? is pronounced \bottom". Definition 1.2. The formulas of propositional logic are given inductively by: • Every propositional variable is a formula, •? is a formula, • If φ and are formulas then so are (φ ^ ), (φ _ ), (φ ! ). We omit parentheses whenever they are not needed for clarity. We write :φ as an abbreviation for φ !?. We occasionally use φ $ as an abbreviation for (φ ! ) ^ ( ! φ). To limit the number of inductive cases we need to write, we sometimes use ~ to mean \any of ^; _; !". The propositional variables together with ? are collectively called atomic formulas. 1.2. Deductions. We want to study proofs of statements in propositional logic. Naturally, in order to do this we will introduce a completely formal definition of a proof. To help distinguish between ordinary mathematical proofs, written in (perhaps slightly stylized) natural language, and our for- mal notion, we will call the formal objects \deductions". Following standard usage, we will write ` φ to mean \there is a deduction of φ (in some particular formal system)". We'll often indicate the formal system in question either with a subscript or by writing it on the left of the turnstile: `c φ or Pc ` φ. We will ultimately work exclusively in the system known as the sequent calculus, which turns out to be very well suited to proof theory. However, to help motivate the system, we briefly discuss a few better known systems.
    [Show full text]