Natural Deduction for Propositional Logic

Total Page:16

File Type:pdf, Size:1020Kb

Natural Deduction for Propositional Logic Propositional natural deduction COMP2600 / COMP6260 Dirk Pattinson Australian National University Semester 2, 2016 Major proof techniques Three major styles of proof in logic and mathematics Model based computation: truth tables for propositional logic Algebraic proof: simplification rules e.g. De Morgan’s Deductive reasoning: rules of inference I Natural deduction is one example I Other examples: tableau calculi, resolution, Hilbert calculi 1 / 25 T TT T T T T T T TF T T T T T T FT T T F T T T FF F F F F T F TT T F F T T F TF T F F F T F FT T F F T T F FF F F F F T Example proof using truth tables Statement to be proved: (p ^ (q _ r)) ! ((p ^ q) _ r)) For all 8 (= 23) possibilities of p;q;r, calculate truth value of the statement p q r q _ r p ^ (q _ r) p ^ q (p ^ q) _ r (p ^ (q _ r)) ! ((p ^ q) _ r)) 2 / 25 T TF T T T T T T FT T T F T T T FF F F F F T F TT T F F T T F TF T F F F T F FT T F F T T F FF F F F F T Example proof using truth tables Statement to be proved: (p ^ (q _ r)) ! ((p ^ q) _ r)) For all 8 (= 23) possibilities of p;q;r, calculate truth value of the statement p q r q _ r p ^ (q _ r) p ^ q (p ^ q) _ r (p ^ (q _ r)) ! ((p ^ q) _ r)) T TT T T T T T 2 / 25 T FT T T F T T T FF F F F F T F TT T F F T T F TF T F F F T F FT T F F T T F FF F F F F T Example proof using truth tables Statement to be proved: (p ^ (q _ r)) ! ((p ^ q) _ r)) For all 8 (= 23) possibilities of p;q;r, calculate truth value of the statement p q r q _ r p ^ (q _ r) p ^ q (p ^ q) _ r (p ^ (q _ r)) ! ((p ^ q) _ r)) T TT T T T T T T TF T T T T T 2 / 25 T FF F F F F T F TT T F F T T F TF T F F F T F FT T F F T T F FF F F F F T Example proof using truth tables Statement to be proved: (p ^ (q _ r)) ! ((p ^ q) _ r)) For all 8 (= 23) possibilities of p;q;r, calculate truth value of the statement p q r q _ r p ^ (q _ r) p ^ q (p ^ q) _ r (p ^ (q _ r)) ! ((p ^ q) _ r)) T TT T T T T T T TF T T T T T T FT T T F T T 2 / 25 F TT T F F T T F TF T F F F T F FT T F F T T F FF F F F F T Example proof using truth tables Statement to be proved: (p ^ (q _ r)) ! ((p ^ q) _ r)) For all 8 (= 23) possibilities of p;q;r, calculate truth value of the statement p q r q _ r p ^ (q _ r) p ^ q (p ^ q) _ r (p ^ (q _ r)) ! ((p ^ q) _ r)) T TT T T T T T T TF T T T T T T FT T T F T T T FF F F F F T 2 / 25 F TF T F F F T F FT T F F T T F FF F F F F T Example proof using truth tables Statement to be proved: (p ^ (q _ r)) ! ((p ^ q) _ r)) For all 8 (= 23) possibilities of p;q;r, calculate truth value of the statement p q r q _ r p ^ (q _ r) p ^ q (p ^ q) _ r (p ^ (q _ r)) ! ((p ^ q) _ r)) T TT T T T T T T TF T T T T T T FT T T F T T T FF F F F F T F TT T F F T T 2 / 25 F FT T F F T T F FF F F F F T Example proof using truth tables Statement to be proved: (p ^ (q _ r)) ! ((p ^ q) _ r)) For all 8 (= 23) possibilities of p;q;r, calculate truth value of the statement p q r q _ r p ^ (q _ r) p ^ q (p ^ q) _ r (p ^ (q _ r)) ! ((p ^ q) _ r)) T TT T T T T T T TF T T T T T T FT T T F T T T FF F F F F T F TT T F F T T F TF T F F F T 2 / 25 F FF F F F F T Example proof using truth tables Statement to be proved: (p ^ (q _ r)) ! ((p ^ q) _ r)) For all 8 (= 23) possibilities of p;q;r, calculate truth value of the statement p q r q _ r p ^ (q _ r) p ^ q (p ^ q) _ r (p ^ (q _ r)) ! ((p ^ q) _ r)) T TT T T T T T T TF T T T T T T FT T T F T T T FF F F F F T F TT T F F T T F TF T F F F T F FT T F F T T 2 / 25 Example proof using truth tables Statement to be proved: (p ^ (q _ r)) ! ((p ^ q) _ r)) For all 8 (= 23) possibilities of p;q;r, calculate truth value of the statement p q r q _ r p ^ (q _ r) p ^ q (p ^ q) _ r (p ^ (q _ r)) ! ((p ^ q) _ r)) T TT T T T T T T TF T T T T T T FT T T F T T T FF F F F F T F TT T F F T T F TF T F F F T F FT T F F T T F FF F F F F T 2 / 25 The notion of a deductive proof A proof is a sequence of steps. Each step is either: I an axiom or an assumption; or I a statement which follows from previous steps via a valid rule of inference. Natural deduction: I for each connective, there is an introduction and an elimination rule I rules are formal, but resemble natural, i.e., human reasoning 3 / 25 Example of a natural deduction proof Statement to be proved: (p ^ (q _ r)) ! ((q ! s) _ p) 1 p ^ (q _ r) Assumption 2 p ^-E, 1 3 (q ! s) _ p _-I, 2 4 (p ^ (q _ r)) ! ((q ! s) _ p) !-I, 1–3 4 / 25 ^-E (and elimination) p ^ q p ^ q p q Conjunction rules ^-I (and introduction) p q p ^ q 5 / 25 Conjunction rules ^-I (and introduction) p q p ^ q ^-E (and elimination) p ^ q p ^ q p q 5 / 25 Example Commutativity of conjunction (derived rule) p ^ q q ^ p 1 p ^ q 2 p ^-E, 1 3 q ^-E, 1 4 q ^ p ^-I, 2, 3 6 / 25 !-E (implication elimination) p p ! q q Implication rules !-I (implication introduction) [ p ] . q p ! q This notation means that by assuming p, you can prove q. p is then discharged - no longer an assumption. 7 / 25 Implication rules !-I (implication introduction) [ p ] . q p ! q This notation means that by assuming p, you can prove q. p is then discharged - no longer an assumption. !-E (implication elimination) p p ! q q 7 / 25 1 p ! q 2 q ! r 3 p 4 q !-E, 1, 3 5 r !-E, 2, 4 6 p ! r !-I, 3–5 Lines 1 and 2 are the assumptions given, you may use these throughout the proof Line 3 is an assumption made within the proof, you may use it only within its scope (lines 3 to 5) Example - transitivity of implication (derived rule) p ! q q ! r We prove p ! r 8 / 25 2 q ! r 3 p 4 q !-E, 1, 3 5 r !-E, 2, 4 6 p ! r !-I, 3–5 Lines 1 and 2 are the assumptions given, you may use these throughout the proof Line 3 is an assumption made within the proof, you may use it only within its scope (lines 3 to 5) Example - transitivity of implication (derived rule) p ! q q ! r We prove p ! r 1 p ! q 8 / 25 3 p 4 q !-E, 1, 3 5 r !-E, 2, 4 6 p ! r !-I, 3–5 Lines 1 and 2 are the assumptions given, you may use these throughout the proof Line 3 is an assumption made within the proof, you may use it only within its scope (lines 3 to 5) Example - transitivity of implication (derived rule) p ! q q ! r We prove p ! r 1 p ! q 2 q ! r 8 / 25 4 q !-E, 1, 3 5 r !-E, 2, 4 6 p ! r !-I, 3–5 Lines 1 and 2 are the assumptions given, you may use these throughout the proof Line 3 is an assumption made within the proof, you may use it only within its scope (lines 3 to 5) Example - transitivity of implication (derived rule) p ! q q ! r We prove p ! r 1 p ! q 2 q ! r 3 p 8 / 25 5 r !-E, 2, 4 6 p ! r !-I, 3–5 Lines 1 and 2 are the assumptions given, you may use these throughout the proof Line 3 is an assumption made within the proof, you may use it only within its scope (lines 3 to 5) Example - transitivity of implication (derived rule) p ! q q ! r We prove p ! r 1 p ! q 2 q ! r 3 p 4 q !-E, 1, 3 8 / 25 6 p ! r !-I, 3–5 Lines 1 and 2 are the assumptions given, you may use these throughout the proof Line 3 is an assumption made within the proof, you may use it only within its scope (lines 3 to 5) Example - transitivity of implication (derived rule) p ! q q ! r We prove p ! r 1 p ! q 2 q ! r 3 p 4 q !-E, 1, 3 5 r !-E, 2, 4 8 / 25 Lines 1 and 2 are the assumptions given, you may use these throughout the proof Line 3 is an assumption made within the proof, you may use it only within its scope (lines 3 to 5) Example - transitivity of implication (derived rule) p ! q q ! r We prove p ! r 1 p ! q 2 q ! r 3 p 4 q !-E, 1, 3 5 r !-E, 2, 4 6 p ! r !-I, 3–5 8 / 25 Example - transitivity of implication (derived rule) p ! q q ! r We prove p ! r 1 p ! q 2 q ! r 3 p 4 q !-E, 1, 3 5 r !-E, 2, 4 6 p ! r !-I, 3–5 Lines 1 and 2 are the assumptions given, you may use these throughout the proof Line 3 is an assumption made within the proof, you may use it only within its scope (lines 3 to 5) 8 / 25 1 p ! q 2 p 3 q !-E, 1, 2 4 p ! q !-I, 2–3 This is a rather silly proof, we succeed in proving what we started with.
Recommended publications
  • Proof Theory Can Be Viewed As the General Study of Formal Deductive Systems
    Proof Theory Jeremy Avigad December 19, 2017 Abstract Proof theory began in the 1920’s as a part of Hilbert’s program, which aimed to secure the foundations of mathematics by modeling infinitary mathematics with formal axiomatic systems and proving those systems consistent using restricted, finitary means. The program thus viewed mathematics as a system of reasoning with precise linguistic norms, governed by rules that can be described and studied in concrete terms. Today such a viewpoint has applications in mathematics, computer science, and the philosophy of mathematics. Keywords: proof theory, Hilbert’s program, foundations of mathematics 1 Introduction At the turn of the nineteenth century, mathematics exhibited a style of argumentation that was more explicitly computational than is common today. Over the course of the century, the introduction of abstract algebraic methods helped unify developments in analysis, number theory, geometry, and the theory of equations, and work by mathematicians like Richard Dedekind, Georg Cantor, and David Hilbert towards the end of the century introduced set-theoretic language and infinitary methods that served to downplay or suppress computational content. This shift in emphasis away from calculation gave rise to concerns as to whether such methods were meaningful and appropriate in mathematics. The discovery of paradoxes stemming from overly naive use of set-theoretic language and methods led to even more pressing concerns as to whether the modern methods were even consistent. This led to heated debates in the early twentieth century and what is sometimes called the “crisis of foundations.” In lectures presented in 1922, Hilbert launched his Beweistheorie, or Proof Theory, which aimed to justify the use of modern methods and settle the problem of foundations once and for all.
    [Show full text]
  • 7.1 Rules of Implication I
    Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic. The method consists of using sets of Rules of Inference (valid argument forms) to derive either a conclusion or a series of intermediate conclusions that link the premises of an argument with the stated conclusion. The First Four Rules of Inference: ◦ Modus Ponens (MP): p q p q ◦ Modus Tollens (MT): p q ~q ~p ◦ Pure Hypothetical Syllogism (HS): p q q r p r ◦ Disjunctive Syllogism (DS): p v q ~p q Common strategies for constructing a proof involving the first four rules: ◦ Always begin by attempting to find the conclusion in the premises. If the conclusion is not present in its entirely in the premises, look at the main operator of the conclusion. This will provide a clue as to how the conclusion should be derived. ◦ If the conclusion contains a letter that appears in the consequent of a conditional statement in the premises, consider obtaining that letter via modus ponens. ◦ If the conclusion contains a negated letter and that letter appears in the antecedent of a conditional statement in the premises, consider obtaining the negated letter via modus tollens. ◦ If the conclusion is a conditional statement, consider obtaining it via pure hypothetical syllogism. ◦ If the conclusion contains a letter that appears in a disjunctive statement in the premises, consider obtaining that letter via disjunctive syllogism. Four Additional Rules of Inference: ◦ Constructive Dilemma (CD): (p q) • (r s) p v r q v s ◦ Simplification (Simp): p • q p ◦ Conjunction (Conj): p q p • q ◦ Addition (Add): p p v q Common Misapplications Common strategies involving the additional rules of inference: ◦ If the conclusion contains a letter that appears in a conjunctive statement in the premises, consider obtaining that letter via simplification.
    [Show full text]
  • Two Sources of Explosion
    Two sources of explosion Eric Kao Computer Science Department Stanford University Stanford, CA 94305 United States of America Abstract. In pursuit of enhancing the deductive power of Direct Logic while avoiding explosiveness, Hewitt has proposed including the law of excluded middle and proof by self-refutation. In this paper, I show that the inclusion of either one of these inference patterns causes paracon- sistent logics such as Hewitt's Direct Logic and Besnard and Hunter's quasi-classical logic to become explosive. 1 Introduction A central goal of a paraconsistent logic is to avoid explosiveness { the inference of any arbitrary sentence β from an inconsistent premise set fp; :pg (ex falso quodlibet). Hewitt [2] Direct Logic and Besnard and Hunter's quasi-classical logic (QC) [1, 5, 4] both seek to preserve the deductive power of classical logic \as much as pos- sible" while still avoiding explosiveness. Their work fits into the ongoing research program of identifying some \reasonable" and \maximal" subsets of classically valid rules and axioms that do not lead to explosiveness. To this end, it is natural to consider which classically sound deductive rules and axioms one can introduce into a paraconsistent logic without causing explo- siveness. Hewitt [3] proposed including the law of excluded middle and the proof by self-refutation rule (a very special case of proof by contradiction) but did not show whether the resulting logic would be explosive. In this paper, I show that for quasi-classical logic and its variant, the addition of either the law of excluded middle or the proof by self-refutation rule in fact leads to explosiveness.
    [Show full text]
  • Contradiction Or Non-Contradiction?  Hegel’S Dialectic Between Brandom and Priest
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Padua@research CONTRADICTION OR NON-CONTRADICTION? HEGEL’S DIALECTIC BETWEEN BRANDOM AND PRIEST by Michela Bordignon Abstract. The aim of the paper is to analyse Brandom’s account of Hegel’s conception of determinate negation and the role this structure plays in the dialectical process with respect to the problem of contradiction. After having shown both the merits and the limits of Brandom’s account, I will refer to Priest’s dialetheistic approach to contradiction as an alternative contemporary perspective from which it is possible to capture essential features of Hegel’s notion of contradiction, and I will test the equation of Hegel’s dialectic with Priest dialetheism. 1. Introduction According to Horstmann, «Hegel thinks of his new logic as being in part incompatible with traditional logic»1. The strongest expression of this new conception of logic is the first thesis of the work Hegel wrote in 1801 in order to earn his teaching habilitation: «contradictio est regula veri, non contradictio falsi»2. Hegel seems to claim that contradictions are true. The Hegelian thesis of the truth of contradiction is highly problematic. This is shown by Popper’s critique based on the principle of ex falso quodlibet: «if a theory contains a contradiction, then it entails everything, and therefore, indeed, nothing […]. A theory which involves a contradiction is therefore entirely useless I thank Graham Wetherall for kindly correcting a previous English translation of this paper and for his suggestions and helpful remarks. Of course, all remaining errors are mine.
    [Show full text]
  • Notes on Proof Theory
    Notes on Proof Theory Master 1 “Informatique”, Univ. Paris 13 Master 2 “Logique Mathématique et Fondements de l’Informatique”, Univ. Paris 7 Damiano Mazza November 2016 1Last edit: March 29, 2021 Contents 1 Propositional Classical Logic 5 1.1 Formulas and truth semantics . 5 1.2 Atomic negation . 8 2 Sequent Calculus 10 2.1 Two-sided formulation . 10 2.2 One-sided formulation . 13 3 First-order Quantification 16 3.1 Formulas and truth semantics . 16 3.2 Sequent calculus . 19 3.3 Ultrafilters . 21 4 Completeness 24 4.1 Exhaustive search . 25 4.2 The completeness proof . 30 5 Undecidability and Incompleteness 33 5.1 Informal computability . 33 5.2 Incompleteness: a road map . 35 5.3 Logical theories . 38 5.4 Arithmetical theories . 40 5.5 The incompleteness theorems . 44 6 Cut Elimination 47 7 Intuitionistic Logic 53 7.1 Sequent calculus . 55 7.2 The relationship between intuitionistic and classical logic . 60 7.3 Minimal logic . 65 8 Natural Deduction 67 8.1 Sequent presentation . 68 8.2 Natural deduction and sequent calculus . 70 8.3 Proof tree presentation . 73 8.3.1 Minimal natural deduction . 73 8.3.2 Intuitionistic natural deduction . 75 1 8.3.3 Classical natural deduction . 75 8.4 Normalization (cut-elimination in natural deduction) . 76 9 The Curry-Howard Correspondence 80 9.1 The simply typed l-calculus . 80 9.2 Product and sum types . 81 10 System F 83 10.1 Intuitionistic second-order propositional logic . 83 10.2 Polymorphic types . 84 10.3 Programming in system F ...................... 85 10.3.1 Free structures .
    [Show full text]
  • Chapter 1 Negation in a Cross-Linguistic Perspective
    Chapter 1 Negation in a cross-linguistic perspective 0. Chapter summary This chapter introduces the empirical scope of our study on the expression and interpretation of negation in natural language. We start with some background notions on negation in logic and language, and continue with a discussion of more linguistic issues concerning negation at the syntax-semantics interface. We zoom in on cross- linguistic variation, both in a synchronic perspective (typology) and in a diachronic perspective (language change). Besides expressions of propositional negation, this book analyzes the form and interpretation of indefinites in the scope of negation. This raises the issue of negative polarity and its relation to negative concord. We present the main facts, criteria, and proposals developed in the literature on this topic. The chapter closes with an overview of the book. We use Optimality Theory to account for the syntax and semantics of negation in a cross-linguistic perspective. This theoretical framework is introduced in Chapter 2. 1 Negation in logic and language The main aim of this book is to provide an account of the patterns of negation we find in natural language. The expression and interpretation of negation in natural language has long fascinated philosophers, logicians, and linguists. Horn’s (1989) Natural history of negation opens with the following statement: “All human systems of communication contain a representation of negation. No animal communication system includes negative utterances, and consequently, none possesses a means for assigning truth value, for lying, for irony, or for coping with false or contradictory statements.” A bit further on the first page, Horn states: “Despite the simplicity of the one-place connective of propositional logic ( ¬p is true if and only if p is not true) and of the laws of inference in which it participate (e.g.
    [Show full text]
  • Systematic Construction of Natural Deduction Systems for Many-Valued Logics
    23rd International Symposium on Multiple Valued Logic. Sacramento, CA, May 1993 Proceedings. (IEEE Press, Los Alamitos, 1993) pp. 208{213 Systematic Construction of Natural Deduction Systems for Many-valued Logics Matthias Baaz∗ Christian G. Ferm¨ullery Richard Zachy Technische Universit¨atWien, Austria Abstract sion.) Each position i corresponds to one of the truth values, vm is the distinguished truth value. The in- A construction principle for natural deduction sys- tended meaning is as follows: Derive that at least tems for arbitrary finitely-many-valued first order log- one formula of Γm takes the value vm under the as- ics is exhibited. These systems are systematically ob- sumption that no formula in Γi takes the value vi tained from sequent calculi, which in turn can be au- (1 i m 1). ≤ ≤ − tomatically extracted from the truth tables of the log- Our starting point for the construction of natural ics under consideration. Soundness and cut-free com- deduction systems are sequent calculi. (A sequent is pleteness of these sequent calculi translate into sound- a tuple Γ1 ::: Γm, defined to be satisfied by an ness, completeness and normal form theorems for the interpretationj iffj for some i 1; : : : ; m at least one 2 f g natural deduction systems. formula in Γi takes the truth value vi.) For each pair of an operator 2 or quantifier Q and a truth value vi 1 Introduction we construct a rule introducing a formula of the form 2(A ;:::;A ) or (Qx)A(x), respectively, at position i The study of natural deduction systems for many- 1 n of a sequent.
    [Show full text]
  • A Non-Classical Refinement of the Interpolation Property for Classical
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Stirling Online Research Repository – Accepted for publication in Logique & Analyse – A non-classical refinement of the interpolation property for classical propositional logic Peter Milne Abstract We refine the interpolation property of the f^; _; :g-fragment of classical propositional logic, showing that if 2 :φ, 2 and φ then there is an interpolant χ, constructed using at most atomic formulas occurring in both φ and and negation, conjunction and disjunction, such that (i) φ entails χ in Kleene’s strong three-valued logic and (ii) χ entails in Priest’s Logic of Paradox. Keywords: Interpolation theorem for classical propositional logic · Kleene’s strong 3-valued logic · Priest’s Logic of Paradox 1 Introduction Suppose that φ classically entails , that φ is not a classical contradiction and that is not a classical tautology. Then φ and must share non-logical vo- cabulary, for else one could make φ true and false at the same time. That there must be some overlap in non-logical vocabulary between premise and con- clusion is obvious. Possession of the interpolation property takes this line of thought much further: If 2 :φ, 2 and φ then there is a formula χ containing only atomic formulas common to φ and and such that φ χ and χ .1 1Surprisingly few textbooks prove this theorem. (Hodges 2001) and (Hunter 1971) are excep- tions. They prove it in the slightly stronger form if φ and at least one atomic formula is common to φ and then there is a formula χ containing only atomic formulas common to φ and and such that φ χ and χ .
    [Show full text]
  • Complexities of Proof-Theoretical Reductions
    Complexities of Proof-Theoretical Reductions Michael Toppel Submitted in accordance with the requirements for the degree of Doctor of Philosophy The University of Leeds Department of Pure Mathematics September 2016 iii The candidate confirms that the work submitted is his own and that appropriate credit has been given where reference has been made to the work of others. This copy has been supplied on the understanding that it is copyright material and that no quotation from the thesis may be published without proper acknowledgement. c 2016 The University of Leeds and Michael Toppel iv v Abstract The present thesis is a contribution to a project that is carried out by Michael Rathjen 0 and Andreas Weiermann to give a general method to study the proof-complexity of Σ1- sentences. This general method uses the generalised ordinal-analysis that was given by Buchholz, Ruede¨ and Strahm in [5] and [44] as well as the generalised characterisation of provable-recursive functions of PA + TI(≺ α) that was given by Weiermann in [60]. The present thesis links these two methods by giving an explicit elementary bound for the i proof-complexity increment that occurs after the transition from the theory IDc ! + TI(≺ α), which was used by Ruede¨ and Strahm, to the theory PA + TI(≺ α), which was analysed by Weiermann. vi vii Contents Abstract . v Contents . vii Introduction 1 1 Justifying the use of Multi-Conclusion Sequents 5 1.1 Introduction . 5 1.2 A Gentzen-semantics . 8 1.3 Multi-Conclusion Sequents . 15 1.4 Comparison with other Positions and Responses to Objections .
    [Show full text]
  • Chapter 10: Symbolic Trails and Formal Proofs of Validity, Part 2
    Essential Logic Ronald C. Pine CHAPTER 10: SYMBOLIC TRAILS AND FORMAL PROOFS OF VALIDITY, PART 2 Introduction In the previous chapter there were many frustrating signs that something was wrong with our formal proof method that relied on only nine elementary rules of validity. Very simple, intuitive valid arguments could not be shown to be valid. For instance, the following intuitively valid arguments cannot be shown to be valid using only the nine rules. Somalia and Iran are both foreign policy risks. Therefore, Iran is a foreign policy risk. S I / I Either Obama or McCain was President of the United States in 2009.1 McCain was not President in 2010. So, Obama was President of the United States in 2010. (O v C) ~(O C) ~C / O If the computer networking system works, then Johnson and Kaneshiro will both be connected to the home office. Therefore, if the networking system works, Johnson will be connected to the home office. N (J K) / N J Either the Start II treaty is ratified or this landmark treaty will not be worth the paper it is written on. Therefore, if the Start II treaty is not ratified, this landmark treaty will not be worth the paper it is written on. R v ~W / ~R ~W 1 This or statement is obviously exclusive, so note the translation. 427 If the light is on, then the light switch must be on. So, if the light switch in not on, then the light is not on. L S / ~S ~L Thus, the nine elementary rules of validity covered in the previous chapter must be only part of a complete system for constructing formal proofs of validity.
    [Show full text]
  • An Integration of Resolution and Natural Deduction Theorem Proving
    From: AAAI-86 Proceedings. Copyright ©1986, AAAI (www.aaai.org). All rights reserved. An Integration of Resolution and Natural Deduction Theorem Proving Dale Miller and Amy Felty Computer and Information Science University of Pennsylvania Philadelphia, PA 19104 Abstract: We present a high-level approach to the integra- ble of translating between them. In order to achieve this goal, tion of such different theorem proving technologies as resolution we have designed a programming language which permits proof and natural deduction. This system represents natural deduc- structures as values and types. This approach builds on and ex- tion proofs as X-terms and resolution refutations as the types of tends the LCF approach to natural deduction theorem provers such X-terms. These type structures, called ezpansion trees, are by replacing the LCF notion of a uakfation with explicit term essentially formulas in which substitution terms are attached to representation of proofs. The terms which represent proofs are quantifiers. As such, this approach to proofs and their types ex- given types which generalize the formulas-as-type notion found tends the formulas-as-type notion found in proof theory. The in proof theory [Howard, 19691. Resolution refutations are seen LCF notion of tactics and tacticals can also be extended to in- aa specifying the type of a natural deduction proofs. This high corporate proofs as typed X-terms. Such extended tacticals can level view of proofs as typed terms can be easily combined with be used to program different interactive and automatic natural more standard aspects of LCF to yield the integration for which Explicit representation of proofs deduction theorem provers.
    [Show full text]
  • Natural Deduction and the Curry-Howard-Isomorphism
    Natural Deduction and the Curry-Howard-Isomorphism Andreas Abel August 2016 Abstract We review constructive propositional logic and natural deduction and connect it to the simply-typed lambda-calculus with the Curry- Howard Isomorphism. Constructive Logic A fundamental property of constructive logic is the disjunction property: If the disjunction A _ B is provable, then either A is provable or B is provable. This property is not compatible with the principle of the excluded middle (tertium non datur), which states that A _:A holds for any proposition A. While each fool can state the classical tautology \aliens exist or don't", this certainly does not give us a means to decide whether aliens exist or not. A constructive proof of the fool's statement would require either showcasing an alien or a stringent argument for the impossibility of their existence.1 1 Natural deduction for propositional logic The proof calculus of natural deduction goes back to Gentzen[1935]. 1 For a more mathematical example of undecidability, refer to the continuum hypothesis CH which states that no cardinal exists between the set of the natural numbers and the set of reals. It is independent of ZFC, Zermelo-Fr¨ankel set theory with the axiom of choice, meaning that in ZFC, neither CH nor :CH is provable. 1 1.1 Propositions Formulæ of propositional logic are given by the following grammar: P; Q atomic proposition A; B; C ::= P j A ) B implication j A ^ B j > conjunction, truth j A _ B j ? disjunction, absurdity Even though we write formulas in linearized (string) form, we think of them as (abstract syntax) trees.
    [Show full text]