The Benefits of Sequent Calculus

Total Page:16

File Type:pdf, Size:1020Kb

The Benefits of Sequent Calculus Introduction Sequent calculus Benefits The benefits of sequent calculus Etienne´ Miquey Equipe´ Gallinee, INRIA LS2N, Universite´ de Nantes Logic Mentoring Workshop 22/06/2019 1/ 22 Introduction Sequent calculus Benefits Forewords This talk is about: sequent calculus / Curry-Howard / operational semantics But also : proofs, programs, type systems, safe computation/compilation, … A fairy tale Sequent calculus provides wonderful tools! Gives principled answers to problems such as: how to soundly compile ×××? how to prove normalization of ×××? how should control operators and ××× interact? deciding the equivalence of normal forms 2/ 22 Introduction Sequent calculus Benefits Forewords This talk is about: sequent calculus / Curry-Howard / operational semantics But also : proofs, programs, type systems, safe computation/compilation, … A fairy tale Sequent calculus provides wonderful tools! Gives principled answers to problems such as: how to soundly compile ×××? how to prove normalization of ×××? how should control operators and ××× interact? deciding the equivalence of normal forms 2/ 22 Introduction Sequent calculus Benefits Forewords This talk is about: sequent calculus / Curry-Howard / operational semantics But also : proofs, programs, type systems, safe computation/compilation, … A fairy tale Sequent calculus provides wonderful tools! Gives principled answers to problems such as: how to soundly compile ×××? how to prove normalization of ×××? how should control operators and ××× interact? deciding the equivalence of normal forms 2/ 22 Introduction Sequent calculus Benefits Proofs A bit of history, fast-tracked 3/ 22 Introduction Sequent calculus Benefits Once upon a time… -300 Euclide Euclide’s Elements 4/ 22 Introduction Sequent calculus Benefits Once upon a time… -300 2019 Euclide 4/ 22 Introduction Sequent calculus Benefits Once upon a time… -300 1666 2019 Euclide Leibniz A crazy dream: “when there are disputes among persons, we can simply say: Let us calculate, without further ado, to see who is right.” Leibniz’s calculus ratiocinator 4/ 22 Introduction Sequent calculus Benefits Once upon a time… -300 1666 1879 2019 Euclide Leibniz Frege Frege’s Begrisschri: a ! F C¹aº f formal notations F¹aº quantifications / b F¹bº 8 9 c d distinction: c = d x vs 0x 0 F¹dº signified signifier F¹cº A¹c; dº 4/ 22 Introduction Sequent calculus Benefits Once upon a time… -300 1666 1879 1928 2019 a ! F C¹aº f F¹aº b F¹bº c d c = d F¹dº F¹cº Euclide Leibniz FregeA¹c; dº Hilbert Entscheidungsproblem (with Acker- mann): To decide if a formula of first-order logic is a tautology. # “to decide” is meant by means of a procedure Hilbert 4/ 22 Introduction Sequent calculus Benefits Once upon a time… -300 1666 1879 1928 1936 2019 a ! F C¹aº f F¹aº b F¹bº c d c = d F¹dº F¹cº Euclide Leibniz FregeA¹c; dº Hilbert Church λ-calculus - first (negative) answer to the Entscheidungsproblem ! Church 4/ 22 Introduction Sequent calculus Benefits A somewhat obvious observation Deduction rules Typing rules A 2 Γ ¹x : Aº 2 Γ ¹Axº ¹Axº Γ ` A Γ ` x : A Γ; A ` B Γ; x : A ` t : B ¹! º ¹! º Γ ` A ) B I Γ ` λx:t : A ! B I ` ) ` ` ! ` Γ A B Γ A ¹! º Γ t : A B Γ u : A ¹! º Γ ` B E Γ ` t u : B E 5/ 22 Introduction Sequent calculus Benefits Sequent, you said? Sequent: Hypotheses A1;:::; An ` B Conclusion Remark: »A¼ . Γ; A ` B . ¹)I º is almost . Γ ` A ) B B ¹) º A ) B I “a` la Gentzen”“a` la Prawitz” … a.k.a. natural deduction 6/ 22 Introduction Sequent calculus Benefits Sequent, you said? Sequent: Hypotheses A1;:::; An ` B Conclusion Remark: »A¼ . Γ; A ` B . ¹)I º is almost . Γ ` A ) B B ¹) º A ) B I “a` la Gentzen”“a` la Prawitz” … a.k.a. natural deduction 6/ 22 Introduction Sequent calculus Benefits Gentzen’s sequent calculus (1934) Sequent: Hypotheses A1;:::; An ` B1;:::; Bp Conclusions Identity rules connect hypotheses/conclusions Γ ` A; ∆ Γ; A ` ∆ ¹Cutº ¹Axº Γ ` ∆ A ` A Structural rules weaken, contract, permute Γ ` ∆ Γ ` A; A; ∆ Γ ` σ¹∆º ¹w º ¹c º ¹σ º … Γ ` A; ∆ r Γ ` A; ∆ r Γ ` ∆ r Logical rules le/right introduction of connectives Γ; A ` B; ∆ Γ ` A; ∆ Γ; B ` ∆ Γ ` A; ∆ Γ ` B; ∆ ¹) º ¹) º ¹^ º Γ ` A ) B; ∆ r Γ; A ) B ` ∆ l Γ ` A ^ B; ∆ r 7/ 22 Introduction Sequent calculus Benefits Gentzen’s sequent calculus (1934) Sequent: Hypotheses A1;:::; An ` B1;:::; Bp Conclusions Identity rules connect hypotheses/conclusions Γ ` A; ∆ Γ; A ` ∆ ¹Cutº ¹Axº Γ ` ∆ A ` A Structural rules weaken, contract, permute Γ ` ∆ Γ ` A; A; ∆ Γ ` σ¹∆º ¹w º ¹c º ¹σ º … Γ ` A; ∆ r Γ ` A; ∆ r Γ ` ∆ r Logical rules le/right introduction of connectives Γ; A ` B; ∆ Γ ` A; ∆ Γ; B ` ∆ Γ ` A; ∆ Γ ` B; ∆ ¹) º ¹) º ¹^ º Γ ` A ) B; ∆ r Γ; A ) B ` ∆ l Γ ` A ^ B; ∆ r 7/ 22 Introduction Sequent calculus Benefits Gentzen’s sequent calculus (1934) Sequent: Hypotheses A1;:::; An ` B1;:::; Bp Conclusions Proof-theoretic properties: cut elimination last rule subformula classical logic built-in … 7/ 22 Introduction Sequent calculus Benefits Gentzen’s sequent calculus (1934) Sequent: Hypotheses A1;:::; An ` B1;:::; Bp Conclusions Identity rules connect hypotheses/conclusions Γ ` A; ∆ Γ; A ` ∆ ¹Cutº ¹Axº Γ ` ∆ A ` A Structural rules Symmetry weaken, contract, permute Γ ` ∆ Γ ` A; A; ∆ Γ ` σ¹∆º ¹w º ¹c º ¹σ º … Γ ` A; ∆ r Γ ` A; ∆ r Γ ` ∆ r Logical rules le/right introduction of connectives Γ; A ` B; ∆ Γ ` A; ∆ Γ; B ` ∆ Γ ` A; ∆ Γ ` B; ∆ ¹) º ¹) º ¹^ º Γ ` A ) B; ∆ r Γ; A ) B ` ∆ l Γ ` A ^ B; ∆ r 7/ 22 Introduction Sequent calculus Benefits What about the computational content? 8/ 22 Introduction Sequent calculus Benefits Curien-Herbelin’s duality of computation Griin (1990): classical logic control operator Starting observation: Computational duality: ·? Terms Contexts ·? Sequent calculus abstract machine-like calculus 9/ 22 Introduction Sequent calculus Benefits Curien-Herbelin’s duality of computation Griin (1990): classical logic control operator Starting observation: Computational duality: ·? Terms Contexts ·? Sequent calculus abstract machine-like calculus 9/ 22 Introduction Sequent calculus Benefits Curien-Herbelin’s duality of computation Griin (1990): classical logic control operator Starting observation: Computational duality: ·? Terms Contexts ·? Sequent calculus abstract machine-like calculus 9/ 22 Introduction Sequent calculus Benefits Abstract machine Reduction h jj i h jj · i t u e Babs t u e h jj · i h » / ¼ jj i λx: t u e Babs t u x e Syntax c ::= ht jj ei commands terms t;u ::= e; f ::= contexts variable j x;y; z j ? empty application j t u j t · e application stack λ-abstraction j λx: t 10/ 22 Introduction Sequent calculus Benefits Introducing µ h jj i h jj · i t u e Babs t u e This reduction defines ¹t uº: It is the term that, when put against j ei, reduces to ht jju · ei. Idea: introduce a more primitive syntax hµα: c jj ei Bµ c »e/α¼ t u , µα: ht jj u · αi (actually the intuitionistic version µ?:c is enough) 11/ 22 Introduction Sequent calculus Benefits Introducing µ h jj i h jj · i t u e Babs t u e This reduction defines ¹t uº: It is the term that, when put against j ei, reduces to ht jju · ei. Idea: introduce a more primitive syntax hµα: c jj ei Bµ c »e/α¼ t u , µα: ht jj u · αi (actually the intuitionistic version µ?:c is enough) 11/ 22 Introduction Sequent calculus Benefits Introducing µ˜ A regular syntax? c ::= ht jj ei t;u ::= e; f ::= j x;y j α; β j λx:t j t · e j µα: c j ? h¹ Reminder:º jj i λx:t u e Babs Same idea, in the dual situation: 12/ 22 h jj i h jj i00 let x = t in u e Babs t “let x = in u e / ht jj µ˜x:ci Bµ˜ c »t x¼ Introduction Sequent calculus Benefits Introducing µ˜ A regular syntax? c ::= ht jj ei t;u ::= e; f ::= j x;y j α; β j λx:t j t · e j µα: c j ? Same idea, in the dual situation: h¹ º jj i h jj i h jj i00 λx:t u e Babs let x = t in u e Babs t “let x = in u e / ht jj µ˜x:ci Bµ˜ c »t x¼ 12/ 22 Introduction Sequent calculus Benefits Introducing µ˜ A regular syntax c ::= ht jj ei t;u ::= e; f ::= j x;y j α; β j λx:t j t · e j µα: c j µ˜x: c Same idea, in the dual situation: h¹ º jj i h jj i h jj i00 λx:t u e Babslet x = t in u e Babs t “let x = in u e | {z } µ˜x:hu jj ei / ht jj µ˜x:ci Bµ˜ c »t x¼ 12/ 22 Introduction Sequent calculus Benefits Curien-Herbelin’s λµµ˜-calculus Syntax: t;u ::= c ::= ht jj ei e; f ::= j x;y j α; β j λx:t j t · e j µα: c j µ˜x: c Reduction: hλx:t jj u · ei ! u µ˜x:ht jj ei ht jj µ˜x:ci ! c»t/x¼ hµα:c jj ei ! c»e/α¼ 13/ 22 Introduction Sequent calculus Benefits Curien-Herbelin’s λµµ˜-calculus Syntax: t;u ::= c ::= ht jj ei e; f ::= j x;y j α; β j λx:t j t · e j µα: c j µ˜x: c Reduction: hλx:t jj u · ei ! u µ˜x:ht jj ei ht jj µ˜x:ci ! c»t/x¼ hµα:c jj ei ! c»e/α¼ Critical pair: hµα:c jj µ˜x:c 0i .& c»µ˜x:c 0/α¼ c 0»µα:c/x¼ 13/ 22 Introduction Sequent calculus Benefits Curien-Herbelin’s λµµ˜-calculus Syntax: t;u ::= c ::= ht jj ei e; f ::= n j x;y j α; β o Values Co-values j λx:t j t · e j µα: c j µ˜x: c Reduction: hλx:t jj u · ei ! u µ˜x:ht jj ei ht jj µ˜x:ci ! c»t/x¼ t 2 V hµα:c jj ei ! c»e/α¼ e 2 E Critical pair: h jj 0i CbV µα:c µ˜x:c CbN .& c»µ˜x:c 0/α¼ c 0»µα:c/x¼ 13/ 22 Introduction Sequent calculus Benefits Curien-Herbelin’s λµµ˜-calculus Syntax: t;u ::= c ::= ht jj ei e; f ::= n j x;y j α; β o Values Co-values j λx:t j t · e j µα: c j µ˜x: c Reduction: hλx:t jj u · ei ! u µ˜x:ht jj ei ht jj µ˜x:ci ! c»t/x¼ t 2 V hµα:c jj ei ! c»e/α¼ e 2 E Critical pair: h jj 0i CbV µα:c µ˜x:c CbN .& c»µ˜x:c 0/α¼ Duality c 0»µα:c/x¼ (again and again) 13/ 22 Introduction Sequent calculus Benefits Curien-Herbelin’s λµµ˜-calculus Syntax: t;u ::= c ::= ht jj ei e; f ::= n j x;y j α; β o Values Co-values j λx:t j t · e j µα: c j µ˜x: c Typing rules:
Recommended publications
  • Nested Sequents, a Natural Generalisation of Hypersequents, Allow Us to Develop a Systematic Proof Theory for Modal Logics
    Nested Sequents Habilitationsschrift Kai Br¨unnler Institut f¨ur Informatik und angewandte Mathematik Universit¨at Bern May 28, 2018 arXiv:1004.1845v1 [cs.LO] 11 Apr 2010 Abstract We see how nested sequents, a natural generalisation of hypersequents, allow us to develop a systematic proof theory for modal logics. As opposed to other prominent formalisms, such as the display calculus and labelled sequents, nested sequents stay inside the modal language and allow for proof systems which enjoy the subformula property in the literal sense. In the first part we study a systematic set of nested sequent systems for all normal modal logics formed by some combination of the axioms for seriality, reflexivity, symmetry, transitivity and euclideanness. We establish soundness and completeness and some of their good properties, such as invertibility of all rules, admissibility of the structural rules, termination of proof-search, as well as syntactic cut-elimination. In the second part we study the logic of common knowledge, a modal logic with a fixpoint modality. We look at two infinitary proof systems for this logic: an existing one based on ordinary sequents, for which no syntactic cut-elimination procedure is known, and a new one based on nested sequents. We see how nested sequents, in contrast to ordinary sequents, allow for syntactic cut-elimination and thus allow us to obtain an ordinal upper bound on the length of proofs. iii Contents 1 Introduction 1 2 Systems for Basic Normal Modal Logics 5 2.1 ModalAxiomsasLogicalRules . 6 2.1.1 TheSequentSystems .................... 6 2.1.2 Soundness........................... 12 2.1.3 Completeness........................
    [Show full text]
  • Sequent Calculus and the Specification of Computation
    Sequent Calculus and the Specification of Computation Lecture Notes Draft: 5 September 2001 These notes are being used with lectures for CSE 597 at Penn State in Fall 2001. These notes had been prepared to accompany lectures given at the Marktoberdorf Summer School, 29 July – 10 August 1997 for a course titled “Proof Theoretic Specification of Computation”. An earlier draft was used in courses given between 27 January and 11 February 1997 at the University of Siena and between 6 and 21 March 1997 at the University of Genoa. A version of these notes was also used at Penn State for CSE 522 in Fall 2000. For the most recent version of these notes, contact the author. °c Dale Miller 321 Pond Lab Computer Science and Engineering Department The Pennsylvania State University University Park, PA 16802-6106 USA Office: +(814)865-9505 [email protected] http://www.cse.psu.edu/»dale Contents 1 Overview and Motivation 5 1.1 Roles for logic in the specification of computations . 5 1.2 Desiderata for declarative programming . 6 1.3 Relating algorithm and logic . 6 2 First-Order Logic 8 2.1 Types and signatures . 8 2.2 First-order terms and formulas . 8 2.3 Sequent calculus . 10 2.4 Classical, intuitionistic, and minimal logics . 10 2.5 Permutations of inference rules . 12 2.6 Cut-elimination . 12 2.7 Consequences of cut-elimination . 13 2.8 Additional readings . 13 2.9 Exercises . 13 3 Logic Programming Considered Abstractly 15 3.1 Problems with proof search . 15 3.2 Interpretation as goal-directed search .
    [Show full text]
  • Chapter 1 Preliminaries
    Chapter 1 Preliminaries 1.1 First-order theories In this section we recall some basic definitions and facts about first-order theories. Most proofs are postponed to the end of the chapter, as exercises for the reader. 1.1.1 Definitions Definition 1.1 (First-order theory) —A first-order theory T is defined by: A first-order language L , whose terms (notation: t, u, etc.) and formulas (notation: φ, • ψ, etc.) are constructed from a fixed set of function symbols (notation: f , g, h, etc.) and of predicate symbols (notation: P, Q, R, etc.) using the following grammar: Terms t ::= x f (t1,..., tk) | Formulas φ, ψ ::= t1 = t2 P(t1,..., tk) φ | | > | ⊥ | ¬ φ ψ φ ψ φ ψ x φ x φ | ⇒ | ∧ | ∨ | ∀ | ∃ (assuming that each use of a function symbol f or of a predicate symbol P matches its arity). As usual, we call a constant symbol any function symbol of arity 0. A set of closed formulas of the language L , written Ax(T ), whose elements are called • the axioms of the theory T . Given a closed formula φ of the language of T , we say that φ is derivable in T —or that φ is a theorem of T —and write T φ when there are finitely many axioms φ , . , φ Ax(T ) such ` 1 n ∈ that the sequent φ , . , φ φ (or the formula φ φ φ) is derivable in a deduction 1 n ` 1 ∧ · · · ∧ n ⇒ system for classical logic. The set of all theorems of T is written Th(T ). Conventions 1.2 (1) In this course, we only work with first-order theories with equality.
    [Show full text]
  • Sequent-Type Calculi for Systems of Nonmonotonic Paraconsistent Logics
    Sequent-Type Calculi for Systems of Nonmonotonic Paraconsistent Logics Tobias Geibinger Hans Tompits Databases and Artificial Intelligence Group, Knowledge-Based Systems Group, Institute of Logic and Computation, Institute of Logic and Computation, Technische Universit¨at Wien, Technische Universit¨at Wien, Favoritenstraße 9-11, A-1040 Vienna, Austria Favoritenstraße 9-11, A-1040 Vienna, Austria [email protected] [email protected] Paraconsistent logics constitute an important class of formalisms dealing with non-trivial reasoning from inconsistent premisses. In this paper, we introduce uniform axiomatisations for a family of nonmonotonic paraconsistent logics based on minimal inconsistency in terms of sequent-type proof systems. The latter are prominent and widely-used forms of calculi well-suited for analysing proof search. In particular, we provide sequent-type calculi for Priest’s three-valued minimally inconsistent logic of paradox, and for four-valued paraconsistent inference relations due to Arieli and Avron. Our calculi follow the sequent method first introduced in the context of nonmonotonic reasoning by Bonatti and Olivetti, whose distinguishing feature is the use of a so-called rejection calculus for axiomatising invalid formulas. In fact, we present a general method to obtain sequent systems for any many-valued logic based on minimal inconsistency, yielding the calculi for the logics of Priest and of Arieli and Avron as special instances. 1 Introduction Paraconsistent logics reject the principle of explosion, also known as ex falso sequitur quodlibet, which holds in classical logic and allows the derivation of any assertion from a contradiction. The motivation behind paraconsistent logics is simple, as contradictory theories may still contain useful information, hence we would like to be able to draw non-trivial conclusions from said theories.
    [Show full text]
  • 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]
  • Theorem Proving in Classical Logic
    MEng Individual Project Imperial College London Department of Computing Theorem Proving in Classical Logic Supervisor: Dr. Steffen van Bakel Author: David Davies Second Marker: Dr. Nicolas Wu June 16, 2021 Abstract It is well known that functional programming and logic are deeply intertwined. This has led to many systems capable of expressing both propositional and first order logic, that also operate as well-typed programs. What currently ties popular theorem provers together is their basis in intuitionistic logic, where one cannot prove the law of the excluded middle, ‘A A’ – that any proposition is either true or false. In classical logic this notion is provable, and the_: corresponding programs turn out to be those with control operators. In this report, we explore and expand upon the research about calculi that correspond with classical logic; and the problems that occur for those relating to first order logic. To see how these calculi behave in practice, we develop and implement functional languages for propositional and first order logic, expressing classical calculi in the setting of a theorem prover, much like Agda and Coq. In the first order language, users are able to define inductive data and record types; importantly, they are able to write computable programs that have a correspondence with classical propositions. Acknowledgements I would like to thank Steffen van Bakel, my supervisor, for his support throughout this project and helping find a topic of study based on my interests, for which I am incredibly grateful. His insight and advice have been invaluable. I would also like to thank my second marker, Nicolas Wu, for introducing me to the world of dependent types, and suggesting useful resources that have aided me greatly during this report.
    [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]
  • 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]
  • 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]
  • Linear Logic Programming Dale Miller INRIA/Futurs & Laboratoire D’Informatique (LIX) Ecole´ Polytechnique, Rue De Saclay 91128 PALAISEAU Cedex FRANCE
    1 An Overview of Linear Logic Programming Dale Miller INRIA/Futurs & Laboratoire d’Informatique (LIX) Ecole´ polytechnique, Rue de Saclay 91128 PALAISEAU Cedex FRANCE Abstract Logic programming can be given a foundation in sequent calculus by viewing computation as the process of building a cut-free sequent proof bottom-up. The first accounts of logic programming as proof search were given in classical and intuitionistic logic. Given that linear logic allows richer sequents and richer dynamics in the rewriting of sequents during proof search, it was inevitable that linear logic would be used to design new and more expressive logic programming languages. We overview how linear logic has been used to design such new languages and describe briefly some applications and implementation issues for them. 1.1 Introduction It is now commonplace to recognize the important role of logic in the foundations of computer science. When a major new advance is made in our understanding of logic, we can thus expect to see that advance ripple into many areas of computer science. Such rippling has been observed during the years since the introduction of linear logic by Girard in 1987 [Gir87]. Since linear logic embraces computational themes directly in its design, it often allows direct and declarative approaches to compu- tational and resource sensitive specifications. Linear logic also provides new insights into the many computational systems based on classical and intuitionistic logics since it refines and extends these logics. There are two broad approaches by which logic, via the theory of proofs, is used to describe computation [Mil93]. One approach is the proof reduction paradigm, which can be seen as a foundation for func- 1 2 Dale Miller tional programming.
    [Show full text]
  • Permutability of Proofs in Intuitionistic Sequent Calculi
    Permutabilityofproofsinintuitionistic sequent calculi Roy Dyckho Scho ol of Mathematical Computational Sciences St Andrews University St Andrews Scotland y Lus Pinto Departamento de Matematica Universidade do Minho Braga Portugal Abstract Weprove a folklore theorem that two derivations in a cutfree se quent calculus for intuitioni sti c prop ositional logic based on Kleenes G are interp ermutable using a set of basic p ermutation reduction rules derived from Kleenes work in i they determine the same natu ral deduction The basic rules form a conuentandweakly normalisin g rewriting system We refer to Schwichtenb ergs pro of elsewhere that a mo dication of this system is strongly normalising Key words intuitionistic logic pro of theory natural deduction sequent calcu lus Intro duction There is a folklore theorem that twointuitionistic sequent calculus derivations are really the same i they are interp ermutable using p ermutations as de scrib ed by Kleene in Our purp ose here is to make precise and provesuch a p ermutability theorem Prawitz showed howintuitionistic sequent calculus derivations determine LJ to NJ here we consider only natural deductions via a mapping from the cutfree derivations and normal natural deductions resp ectively and in eect that this mapping is surjectiveby constructing a rightinverse of from NJ to LJ Zucker showed that in the negative fragment of the calculus c LJ ie LJ including cut two derivations have the same image under i they are interconvertible using a sequence of p ermutativeconversions eg p
    [Show full text]
  • Propositional Calculus
    CSC 438F/2404F Notes Winter, 2014 S. Cook REFERENCES The first two references have especially influenced these notes and are cited from time to time: [Buss] Samuel Buss: Chapter I: An introduction to proof theory, in Handbook of Proof Theory, Samuel Buss Ed., Elsevier, 1998, pp1-78. [B&M] John Bell and Moshe Machover: A Course in Mathematical Logic. North- Holland, 1977. Other logic texts: The first is more elementary and readable. [Enderton] Herbert Enderton: A Mathematical Introduction to Logic. Academic Press, 1972. [Mendelson] E. Mendelson: Introduction to Mathematical Logic. Wadsworth & Brooks/Cole, 1987. Computability text: [Sipser] Michael Sipser: Introduction to the Theory of Computation. PWS, 1997. [DSW] M. Davis, R. Sigal, and E. Weyuker: Computability, Complexity and Lan- guages: Fundamentals of Theoretical Computer Science. Academic Press, 1994. Propositional Calculus Throughout our treatment of formal logic it is important to distinguish between syntax and semantics. Syntax is concerned with the structure of strings of symbols (e.g. formulas and formal proofs), and rules for manipulating them, without regard to their meaning. Semantics is concerned with their meaning. 1 Syntax Formulas are certain strings of symbols as specified below. In this chapter we use formula to mean propositional formula. Later the meaning of formula will be extended to first-order formula. (Propositional) formulas are built from atoms P1;P2;P3;:::, the unary connective :, the binary connectives ^; _; and parentheses (,). (The symbols :; ^ and _ are read \not", \and" and \or", respectively.) We use P; Q; R; ::: to stand for atoms. Formulas are defined recursively as follows: Definition of Propositional Formula 1) Any atom P is a formula.
    [Show full text]