Linear Logic and Imperative Programming

Total Page:16

File Type:pdf, Size:1020Kb

Linear Logic and Imperative Programming LINEAR LOGIC AND IMPERATIVE PROGRAMMING LIMIN JIA ADISSERTATION PRESENTED TO THE FACULTY OF PRINCETON UNIVERSITY IN CANDIDACY FOR THE DEGREE OF DOCTOR OF PHILOSOPHY RECOMMENDED FOR ACCEPTANCE BY THE DEPARTMENT OF COMPUTER SCIENCE JANUARY 2008 c Copyright by Limin Jia, 2008. All rights reserved. iii Abstract One of the most important and enduring problems in programming languages research involves verification of programs that construct, manipulate and dispose of complex heap- allocated data structures. Over the last several years, great progress has been made on this problem by using substructural logics to specify the shape of heap-allocated data structures. These logics can capture aliasing properties in a concise notation. In this dissertation, we present our work on using an extension of Girard’s intu- itionistic linear logic (a substructural logic) with classical constraints as the base logic to reason about the memory safety and shape invariants of programs that manipulate complex heap-allocated data structures. To be more precise, we have defined formal proof rules for an intuitionistic linear logic with constraints, ILC, which modularly com- bines substructural reasoning with general constraint-based reasoning. We have also defined a formal semantics for our logic – program heaps – with recursively defined predicates. Next, we developed verification systems using different fragments of ILC to verify pointer programs. In particular, we developed a set of sound verification generation rules that are used to statically verify pointer programs. We also demonstrated how to interpret the logical formulas as run-time assertions. In the end, we developed a new imperative language that allows programmers to define and manipulate heap-allocated data structures using ILC formulas. The main contributions of this thesis are that (1) the development of a substructural logic that is capable of general constraint-based reasoning; and (2) the idea of incorpo- rating high-level logical formulas into imperative languages; either as dynamic contract specifications, which allow clear, compact and semantically well-defined documentation of heap-shape properties; or as language constructs, which drive safe construction and manipulation of sophisticated heap-allocated data structures. iv Acknowledgments First, I would like to thank my advisor, David Walker, for his guidance and support throughout my graduate study. His door was always open. I will be forever indebted to him for what he has taught me. I would also like to thank my thesis readers, Andrew Appel and Frank Pfenning, for spending their valuable time reading my thesis and giving me many helpful comments. Andrew taught my first Programming Languages class. He showed me how much fun it is to play with proofs, which ultimately drew me into Programming Language research. I am extremely fortunate to have Frank on my thesis committee. His rigor and intuitions in logic has helped me to significantly improve the quality of my thesis work. My friends have made my life in graduate school more enjoyable. I would like to thank Yong Wang and Ge Wang for their encouragement and support, especially in my first year at Princeton. I would also like to thank Frances Perry for the wonderful afternoon tea times. I am grateful to all the grad students who made the department a happy place to stay, especially Ananya Misra, Shirley Gaw, Yun Zhang, Melissa Carroll, Bolei Guo, Dan Dantas, Georg Essl, Xinming Ou, Zhiyan Liu, and Ruoming Pang. I would like to thank my parents for their love and support. My parents are my first teachers of math and sciences. I am also very grateful to them for shaping my mathematical reasoning abilities at a young age. Finally, I would like to thank Lujo for his companionship in the good times, and his support through the tough times in graduate school. The research described in this dissertation was supported in part by ARDA Grant no.NBCHC030106 and National Science Foundation grants CCR-0238328 and CCR- 0208601. This work does not necessarily reflect the opinions or policies of the NSF or ARDA and no endorsement should be inferred. Contents Abstract . iii 1 Introduction 1 1.1 Background . 2 1.2 Outline of This Thesis . 5 2 Brief Introduction to Linear Logic 6 2.1 Basics . 6 2.2 Proof Rules of Linear Logic . 7 2.3 Sample Deductions . 10 3 Linear Logic with Constraints 11 3.1 Describing the Program Heap . 11 3.1.1 The Heap . 11 3.1.2 Basic Descriptions of the Heap . 12 3.1.3 Expressing the Invariants of Data Structures . 15 3.2 Syntax, Semantics, and Proof Rules . 17 3.2.1 Syntax . 17 3.2.2 Semantics . 18 3.2.3 Proof Rules . 21 3.2.4 Formal Results . 24 3.3 A Sound Decision Procedure . 26 3.3.1 ILCa− ................................ 26 3.3.2 Linear Residuation Calculus . 30 3.4 Additional Axioms . 32 3.4.1 More Axioms About Shapes . 33 3.4.2 Inequality . 34 3.4.3 Extending Residuation Calculus . 34 3.5 Discussion . 36 4 Static Verification Using ILC 37 4.1 Syntax . 37 v CONTENTS vi 4.2 Operational Semantics . 39 4.3 Verification Condition Generation . 41 4.3.1 System Setup . 42 4.3.2 Verification Condition Generation Rules . 43 4.3.3 Verification Rule for Programs . 46 4.4 An Example . 46 4.5 Soundness of Verification . 48 4.6 Further Examples . 50 5 Dynamic Heap-shape Contracts 54 5.1 Using Formal Logic as a Contract Language . 54 5.1.1 Syntax & Operational Semantics . 55 5.1.2 Example Specifications . 56 5.1.3 Example Assertions . 58 5.2 Implementation . 59 5.2.1 The MiniC Language . 59 5.2.2 Checking Assertions . 60 5.2.3 Mode Analysis . 60 5.2.4 Source to Source Translation . 61 5.3 Combining Static and Dynamic Verification . 62 6 Shape Patterns 64 6.1 System Overview . 65 6.1.1 Logical Shape Signatures . 65 6.1.2 The Shape Pattern Language . 67 6.1.3 An Example Program . 70 6.1.4 What Could Go Wrong . 71 6.1.5 Three Caveats . 72 6.2 Logical Shape Signatures . 73 6.2.1 Syntax . 73 6.2.2 Semantics, Shape Pattern Matching and Logical Deduction . 75 6.2.3 Simple Type Checking for Shape Signatures . 77 6.2.4 Mode Analysis . 77 6.2.5 Requirements for Shape Signatures . 81 6.2.6 Correctness and Memory-safety of Matching Procedure . 81 6.3 The Programming Language . 83 6.3.1 Syntax . 84 6.3.2 Operational Semantics . 84 6.3.3 Type System . 87 6.3.4 Type Safety . 94 6.4 A Further Example . 95 CONTENTS vii 6.5 Implementation . 98 7 Related Work 101 7.1 Logics Describing Program Heaps . 101 7.2 Verification Systems for Imperative Languages . 104 7.3 Safe Imperative Languages . 106 8 Conclusion and Future Work 108 8.1 Contributions . 108 8.2 Future work . 109 A Proofs in Logic Section 111 A.1 Proofs of Cut-Elimination of ILC . 111 A.2 Proof for the soundness of logical deduction . 116 A.3 Proofs Related to ILCa− .......................... 119 A.4 Proof of the Soundness of Residuation Calculus . 122 A.4.1 An Alternative Sequent Calculus for Constraint Reasoning . 123 A.4.2 Soundness Proof . 127 B Summary of Verification Generation Rules 137 C Proofs for the Soundness of VCGen 139 D Proofs About the Shape Pattern Matching 146 E Type-safety of the Shape Patterns Language 151 F Code for the Node Deletion Function 160 Bibliography 163 List of Figures 2.1 Structural rules . 6 2.2 Sample derivations . 10 3.1 Memory containing a linked list. 12 3.2 ILC syntax . 18 3.3 Syntax for clauses . 18 3.4 The store semantics of ILC formulas . 19 3.5 Indexed semantics for inductively defined formulas . 20 3.6 LK sequent rules for classical first-order Logic . 22 3.7 Sequent calculus rules for ILC . 23 3.8 Sequent calculus rules for ILCa− ...................... 29 3.9 Linear residuation calculus . 31 4.1 Syntactic constructs . 38 4.2 Runtime syntactic constructs . 39 4.3 Operational semantics . 41 4.4 Derivation of Pre entails VC ........................ 47 4.5 Semantics of Hoare triples . 49 4.6 Derivation for example insertion . 50 4.7 Sample derivation . 51 4.8 Sample derivation . 53 5.1 Syntactic construct for contracts . 55 5.2 An adjacency list. 57 5.3 Definition of an adjacency list . 58 6.1 Singly linked list shape signature . 67 6.2 The function delete ............................. 70 6.3 Syntax of logical constructs . 74 6.4 Pattern-matching algorithm . 76 6.5 Typing rules for shape signatures . 78 6.6 Selected and simplified mode analysis rules . ..
Recommended publications
  • LOGIC BIBLIOGRAPHY up to 2008
    LOGIC BIBLIOGRAPHY up to 2008 by L. Geldsetzer © Copyright reserved Download only for personal use permitted Heinrich Heine Universität Düsseldorf 2008 II Contents 1. Introductions 1 2. Dictionaries 3 3. Course Material 4 4. Handbooks 5 5. Readers 5 6. Bibliographies 6 7. Journals 7 8. History of Logic and Foundations of Mathematics 9 a. Gerneral 9 b. Antiquity 10 c. Chinese Antiquity 11 d. Scholastics 12 e. Islamic Medieval Scholastics 12 f. Modern Times 13 g. Contemporary 13 9. Classics of Logics 15 a. Antiquity 15 b. Medieval Scholastics 17 c. Modern and Recent Times 18 d. Indian Logic, History and Classics 25 10. Topics of Logic 27 1. Analogy and Metaphor, Likelihood 27 2. Argumentation, Argument 27 3. Axiom, Axiomatics 28 4. Belief, Believing 28 5. Calculus 29 8. Commensurability, see also: Incommensurability 31 9. Computability and Decidability 31 10. Concept, Term 31 11. Construction, Constructivity 34 12. Contradiction, Inconsistence, Antinomics 35 13. Copula 35 14. Counterfactuals, Fiction, see also : Modality 35 15. Decision 35 16. Deduction 36 17. Definition 36 18. Diagram, see also: Knowledge Representation 37 19. Dialectic 37 20. Dialethism, Dialetheism, see also: Contradiction and Paracon- sistent Logic 38 21. Discovery 38 22. Dogma 39 23. Entailment, Implication 39 24. Evidence 39 25. Falsity 40 26. Fallacy 40 27. Falsification 40 III 28. Family Resemblance 41 2 9. Formalism 41 3 0. Function 42 31. Functors, Junct ors, Logical Constants or Connectives 42 32. Holism 43 33. Hypothetical Propositions, Hypotheses 44 34. Idealiz ation 44 35. Id entity 44 36. Incommensurability 45 37. Incompleteness 45 38.
    [Show full text]
  • Relevant and Substructural Logics
    Relevant and Substructural Logics GREG RESTALL∗ PHILOSOPHY DEPARTMENT, MACQUARIE UNIVERSITY [email protected] June 23, 2001 http://www.phil.mq.edu.au/staff/grestall/ Abstract: This is a history of relevant and substructural logics, written for the Hand- book of the History and Philosophy of Logic, edited by Dov Gabbay and John Woods.1 1 Introduction Logics tend to be viewed of in one of two ways — with an eye to proofs, or with an eye to models.2 Relevant and substructural logics are no different: you can focus on notions of proof, inference rules and structural features of deduction in these logics, or you can focus on interpretations of the language in other structures. This essay is structured around the bifurcation between proofs and mod- els: The first section discusses Proof Theory of relevant and substructural log- ics, and the second covers the Model Theory of these logics. This order is a natural one for a history of relevant and substructural logics, because much of the initial work — especially in the Anderson–Belnap tradition of relevant logics — started by developing proof theory. The model theory of relevant logic came some time later. As we will see, Dunn's algebraic models [76, 77] Urquhart's operational semantics [267, 268] and Routley and Meyer's rela- tional semantics [239, 240, 241] arrived decades after the initial burst of ac- tivity from Alan Anderson and Nuel Belnap. The same goes for work on the Lambek calculus: although inspired by a very particular application in lin- guistic typing, it was developed first proof-theoretically, and only later did model theory come to the fore.
    [Show full text]
  • From Axioms to Rules — a Coalition of Fuzzy, Linear and Substructural Logics
    From Axioms to Rules — A Coalition of Fuzzy, Linear and Substructural Logics Kazushige Terui National Institute of Informatics, Tokyo Laboratoire d’Informatique de Paris Nord (Joint work with Agata Ciabattoni and Nikolaos Galatos) Genova, 21/02/08 – p.1/?? Parties in Nonclassical Logics Modal Logics Default Logic Intermediate Logics (Padova) Basic Logic Paraconsistent Logic Linear Logic Fuzzy Logics Substructural Logics Genova, 21/02/08 – p.2/?? Parties in Nonclassical Logics Modal Logics Default Logic Intermediate Logics (Padova) Basic Logic Paraconsistent Logic Linear Logic Fuzzy Logics Substructural Logics Our aim: Fruitful coalition of the 3 parties Genova, 21/02/08 – p.2/?? Basic Requirements Substractural Logics: Algebraization ´µ Ä Î ´Äµ Genova, 21/02/08 – p.3/?? Basic Requirements Substractural Logics: Algebraization ´µ Ä Î ´Äµ Fuzzy Logics: Standard Completeness ´µ Ä Ã ´Äµ ¼½ Genova, 21/02/08 – p.3/?? Basic Requirements Substractural Logics: Algebraization ´µ Ä Î ´Äµ Fuzzy Logics: Standard Completeness ´µ Ä Ã ´Äµ ¼½ Linear Logic: Cut Elimination Genova, 21/02/08 – p.3/?? Basic Requirements Substractural Logics: Algebraization ´µ Ä Î ´Äµ Fuzzy Logics: Standard Completeness ´µ Ä Ã ´Äµ ¼½ Linear Logic: Cut Elimination A logic without cut elimination is like a car without engine (J.-Y. Girard) Genova, 21/02/08 – p.3/?? Outcome We classify axioms in Substructural and Fuzzy Logics according to the Substructural Hierarchy, which is defined based on Polarity (Linear Logic). Genova, 21/02/08 – p.4/?? Outcome We classify axioms in Substructural and Fuzzy Logics according to the Substructural Hierarchy, which is defined based on Polarity (Linear Logic). Give an automatic procedure to transform axioms up to level ¼ È È ¿ ( , in the absense of Weakening) into Hyperstructural ¿ Rules in Hypersequent Calculus (Fuzzy Logics).
    [Show full text]
  • Bunched Hypersequent Calculi for Distributive Substructural Logics
    EPiC Series in Computing Volume 46, 2017, Pages 417{434 LPAR-21. 21st International Conference on Logic for Programming, Artificial Intelligence and Reasoning Bunched Hypersequent Calculi for Distributive Substructural Logics Agata Ciabattoni and Revantha Ramanayake Technische Universit¨atWien, Austria fagata,[email protected]∗ Abstract We introduce a new proof-theoretic framework which enhances the expressive power of bunched sequents by extending them with a hypersequent structure. A general cut- elimination theorem that applies to bunched hypersequent calculi satisfying general rule conditions is then proved. We adapt the methods of transforming axioms into rules to provide cutfree bunched hypersequent calculi for a large class of logics extending the dis- tributive commutative Full Lambek calculus DFLe and Bunched Implication logic BI. The methodology is then used to formulate new logics equipped with a cutfree calculus in the vicinity of Boolean BI. 1 Introduction The wide applicability of logical methods and their use in new subject areas has resulted in an explosion of new logics. The usefulness of these logics often depends on the availability of an analytic proof calculus (formal proof system), as this provides a natural starting point for investi- gating metalogical properties such as decidability, complexity, interpolation and conservativity, for developing automated deduction procedures, and for establishing semantic properties like standard completeness [26]. A calculus is analytic when every derivation (formal proof) in the calculus has the property that every formula occurring in the derivation is a subformula of the formula that is ultimately proved (i.e. the subformula property). The use of an analytic proof calculus tremendously restricts the set of possible derivations of a given statement to deriva- tions with a discernible structure (in certain cases this set may even be finite).
    [Show full text]
  • Lecture Notes on Constructive Logic: Overview
    Lecture Notes on Constructive Logic: Overview 15-317: Constructive Logic Frank Pfenning Lecture 1 August 29, 2017 1 Introduction According to Wikipedia, logic is the study of the principles of valid infer- ences and demonstration. From the breadth of this definition it is immedi- ately clear that logic constitutes an important area in the disciplines of phi- losophy and mathematics. Logical tools and methods also play an essential role in the design, specification, and verification of computer hardware and software. It is these applications of logic in computer science which will be the focus of this course. In order to gain a proper understanding of logic and its relevance to computer science, we will need to draw heavily on the much older logical traditions in philosophy and mathematics. We will dis- cuss some of the relevant history of logic and pointers to further reading throughout these notes. In this introduction, we give only a brief overview of the goal, contents, and approach of this class. 2 Topics The course is divided into four parts: I. Proofs as Evidence for Truth II. Proofs as Programs III. Proof Search as Computation IV. Substructural and Modal Logics LECTURE NOTES AUGUST 29, 2017 L1.2 Constructive Logic: Overview Proofs are central in all parts of the course, and give it its constructive na- ture. In each part, we will exhibit connections between proofs and forms of computations studied in computer science. These connections will take quite different forms, which shows the richness of logic as a foundational discipline at the nexus between philosophy, mathematics, and computer science.
    [Show full text]
  • Applications of Non-Classical Logic Andrew Tedder University of Connecticut - Storrs, [email protected]
    University of Connecticut OpenCommons@UConn Doctoral Dissertations University of Connecticut Graduate School 8-8-2018 Applications of Non-Classical Logic Andrew Tedder University of Connecticut - Storrs, [email protected] Follow this and additional works at: https://opencommons.uconn.edu/dissertations Recommended Citation Tedder, Andrew, "Applications of Non-Classical Logic" (2018). Doctoral Dissertations. 1930. https://opencommons.uconn.edu/dissertations/1930 Applications of Non-Classical Logic Andrew Tedder University of Connecticut, 2018 ABSTRACT This dissertation is composed of three projects applying non-classical logic to problems in history of philosophy and philosophy of logic. The main component concerns Descartes’ Creation Doctrine (CD) – the doctrine that while truths concerning the essences of objects (eternal truths) are necessary, God had vol- untary control over their creation, and thus could have made them false. First, I show a flaw in a standard argument for two interpretations of CD. This argument, stated in terms of non-normal modal logics, involves a set of premises which lead to a conclusion which Descartes explicitly rejects. Following this, I develop a multimodal account of CD, ac- cording to which Descartes is committed to two kinds of modality, and that the apparent contradiction resulting from CD is the result of an ambiguity. Finally, I begin to develop two modal logics capturing the key ideas in the multi-modal interpretation, and provide some metatheoretic results concerning these logics which shore up some of my interpretive claims. The second component is a project concerning the Channel Theoretic interpretation of the ternary relation semantics of relevant and substructural logics. Following Barwise, I de- velop a representation of Channel Composition, and prove that extending the implication- conjunction fragment of B by composite channels is conservative.
    [Show full text]
  • Substructural Logics
    Nonclassical Logics Sequent system LJ Roles of structural rules Substructural Logics Substructural Logics - Part 1 Hiroakira Ono Japan Advanced Institute of Science and Technology Tbilisi Summer School (September 22-23, 2011) Hiroakira Ono Substructural Logics - Part 1 Nonclassical Logics Sequent system LJ Roles of structural rules Substructural Logics Outline This is an introduction to the study of Substructural Logics, which is an attempt to understand various nonclassical logics in a uniform way. N. Galatos, P. Jipsen, T. Kowalski, HO: Residuated Lattices: an algebraic glimpse at substructural logics, Studies in Logic, vol.151, Elsevier, April, 2007 Hiroakira Ono Substructural Logics - Part 1 Nonclassical Logics Sequent system LJ Roles of structural rules Substructural Logics A. Various nonclassical logics Two main directions in nonclassical logics: Logics with additional operators modal logics, temporal logics, epistemic logics etc. Logics with nonclassical implications Hiroakira Ono Substructural Logics - Part 1 Nonclassical Logics Sequent system LJ Roles of structural rules Substructural Logics (1) Constructive reasoning Mathematical arguments are often infinitary and non-constructive. From intuitionists’ viewpoint, mathematical arguments must be constructive. To infer α → β, it is required to have an algorithm for constructing a proof of β from any given proof of α, To infer α ∨ β, it is required to tell which of α and β holds, and also to have the justification. Hiroakira Ono Substructural Logics - Part 1 Nonclassical Logics Sequent system LJ Roles of structural rules Substructural Logics (1) Constructive reasoning Mathematical arguments are often infinitary and non-constructive. From intuitionists’ viewpoint, mathematical arguments must be constructive. To infer α → β, it is required to have an algorithm for constructing a proof of β from any given proof of α, To infer α ∨ β, it is required to tell which of α and β holds, and also to have the justification.
    [Show full text]
  • Focus-Preserving Embeddings of Substructural Logics in Intuitionistic Logic
    Focus-preserving Embeddings of Substructural Logics in Intuitionistic Logic Jason Reed∗ Frank Pfenning University of Pennsylvania Carnegie Mellon University Philadelphia, Pennsylvania, USA Pittsburgh, Pennsylvania, USA Abstract a signature of function symbols suited to the substructural logic being embedded. We present a method of embedding substructural log- The embedding can be viewed as a constructive resource ics into ordinary first-order intuitionistic logic. This em- interpretation of substructural logics, where the first-order bedding is faithful in a very strong sense: not only does domain provides the notion of resources. Because the proof it preserve provability of sequents under translation, but it system of the target language is limited, and compatible also preserves sets of proofs — and the focusing structure with focusing, we are able to formulate and prove much of those proofs — up to isomorphism. Examples are given stronger claims about the faithfulness of our embedding for the cases of intuitionistic linear logic and ordered logic, than can usually be obtained for standard resource seman- and indeed we can use our method to derive a correct fo- tics into classical algebraic structures. Not only does prov- cusing system for ordered logic. Potential applications lie ability coincide with provability across the embedding, but in logic programming, theorem proving, and logical frame- proofs correspond bijectively to proofs, and focusing phases works for substructural logics where focusing is crucial for to focusing phases. the underlying proof theory. Focusing is deeply connected to notions of uniform proof for logic programming, to the analysis of canonical forms in dependently-typed logical frameworks, and to efficient au- 1 Introduction tomated proof search procedures.
    [Show full text]
  • Modal Translation of Substructural Logics
    Modal Translation of Substructural Logics Chrysafis Hartonas Department of Computer Science and Engineering, University of Applied Sciences of Thessaly (TEI of Thessaly), Greece [email protected] December 18, 2018 Abstract In an article dating back in 1992, Kosta Doˇsen initiated a project of modal translations in substructural logics, aiming at generalizing the well- known G¨odel-McKinsey-Tarski translation of intuitionistic logic into S4. Doˇsen’s translation worked well for (variants of) BCI and stronger sys- tems (BCW, BCK), but not for systems below BCI. Dropping structural rules results in logic systems without distribution. In this article, we show, via translation, that every substructural (indeed, every non-distributive) logic is a fragment of a corresponding sorted, residuated (multi) modal logic. At the conceptual and philosophical level, the translation provides a classical interpretation of the meaning of the logical operators of various non-distributive propositional calculi. Technically, it allows for an effort- less transfer of results, such as compactness, L¨owenheim-Skolem property and decidability. Keywords: G¨odel translation, Substructural Logics, Resource Conscious Logics, Non-Distributive Logics, Representation of Lattice Expansions, Sorted Modal Logic 1 Introduction arXiv:1812.06747v1 [math.LO] 17 Dec 2018 In 1933, Kurt G¨odel published a paper [28] he had presented the year before in the Mathematics Colloqium in Vienna, chaired by his former teacher, Karl Menger. In his presentation and paper G¨odel proposed his well-known inter- pretation of Intuitionistic Logic (IL) into a certain modal extension of Classical Propositional Logic (CPL), now widely known as Lewis’s system S4. G¨odel proposed to translate every IL formula ϕ to an S4-formula ϕ◻ by prefixing a ◻ to every subformula of ϕ.
    [Show full text]
  • What Is a Paraconsistent Logic?
    Penultimate draft of the paper forthcoming in J. Malinowski and W. Carnielli (eds.) Contradictions, from Consistency to Inconsistency, Springer, Cham, pp. 89-108. Some changes may be reflected in the published version, which can be accessed at https://doi.org/10.1007/978-3-319-98797-2 5 What is a Paraconsistent Logic? Eduardo Alejandro Barrio Federico Pailos Damian Szmuc Department of Philosophy, University of Buenos Aires, Argentina and IIF-SADAF (CONICET), Argentina Abstract Paraconsistent logics are logical systems that reject the classical principle, usu- ally dubbed Explosion, that a contradiction implies everything. However, the re- ceived view about paraconsistency focuses only the inferential version of Explosion, which is concerned with formulae, thereby overlooking other possible accounts. In this paper, we propose to focus, additionally, on a meta-inferential version of Explo- sion, i.e. which is concerned with inferences or sequents. In doing so, we will offer a new characterization of paraconsistency by means of which a logic is paraconsistent if it invalidates either the inferential or the meta-inferential notion of Explosion. We show the non-triviality of this criterion by discussing a number of logics. On the one hand, logics which validate and invalidate both versions of Explosion, such as classical logic and Asenjo-Priest's 3-valued logic LP. On the other hand, logics which validate one version of Explosion but not the other, such as the substructural logics TS and ST, introduced by Malinowski and Cobreros, Egr´e,Ripley and van Rooij, which are obtained via Malinowski's and Frankowski's q- and p-matrices, respectively.
    [Show full text]
  • Logics for Collective Reasoning
    Logics for Collective Reasoning Daniele Porello Laboratory for Applied Ontology, ISTC-CNR, Trento, Italy Abstract. In this paper, we discuss the approach based on Social Choice The- ory and Judgment Aggregation to the definition of collective reasoning. We shall make explicit the aggregative nature of the notion of collective reasoning that is defined in the Judgment Aggregation account and we shall stress that the notion of logical coherence plays a fundamental role in defining collective attitudes. Un- fortunately, as several results in Judgment Aggregation show, coherence is not compatible with fair aggregation procedures. On closer inspection, the notion of coherence that is jeopardized by Judgment Aggregation is based on classi- cal logic. In this work, we propose to revise the standard view of rationality of Judgment Aggregation by exploring the realm of non-classical logics. in partic- ular, we will present possibility results for substructural logics. Those logics, we argue, provide a viable notion of collective reasoning. 1 Introduction In the past decades, Social Choice Theory and Judgment Aggregation have been exten- sively studied in philosophy, welfare economics, and also in AI and multiagent systems, in order to provide a principled definition of the aggregation of individual attitudes into a social or collective attitude. The view of Judgment Aggregation (JA) [11] of collec- tive attitudes is an aggregative view: a number of agents provides their propositional attitudes (belief, judgments, preference, etc.) to a centralized mechanism that aggre- gates the individual possibly divergent attitudes into a collective set of attitudes [2]. The collective outcome is supposed to satisfy a number of rationality conditions, usu- ally expressed as constraints in classical logic.
    [Show full text]
  • Adam Rieger and Gareth Young (Editors), Dialetheism and Its Applications, Trends in Logic 52, Springer, 2019, 176Pp., $89,00, Hardcover, ISBN 9783030302207
    FLORE Repository istituzionale dell'Università degli Studi di Firenze Review of: Adam Rieger and Gareth Young (eds.), Dialetheism and its Applications Questa è la Versione finale referata (Post print/Accepted manuscript) della seguente pubblicazione: Original Citation: Review of: Adam Rieger and Gareth Young (eds.), Dialetheism and its Applications / Riccardo Bruni. - In: NOTRE DAME PHILOSOPHICAL REVIEWS. - ISSN 1538-1617. - ELETTRONICO. - (2020), pp. 1-4. Availability: This version is available at: 2158/1214722 since: 2020-11-01T12:23:26Z Terms of use: Open Access La pubblicazione è resa disponibile sotto le norme e i termini della licenza di deposito, secondo quanto stabilito dalla Policy per l'accesso aperto dell'Università degli Studi di Firenze (https://www.sba.unifi.it/upload/policy-oa-2016-1.pdf) Publisher copyright claim: (Article begins on next page) 02 October 2021 Adam Rieger and Gareth Young (editors), Dialetheism and its Applications, Trends in Logic 52, Springer, 2019, 176pp., $89,00, hardcover, ISBN 9783030302207. Reviewed by Riccardo Bruni, University of Florence, Italy Dialetheism (or, more simply, “glut theory” as dual of familiar truth-value “gap theories”) is the view according to which there are true contradictions. Quite a hard view to legitimate, which explains why it seems to have only very few genuine supporters. Yet, it is not, or it is supposed not to be confused with the view according to which every contradiction is true, also known as “trivialism”, which entails that there is not even something such as “true” different form “false” and everything is both true and false. To fortify the difference between glut theory and trivialism is possibly even a harder task, especially if one sticks to forms of reasoning somewhat committed to classical logic and the principle of ex-falso quodlibet, that would precisely prevent such a distinction to be made.
    [Show full text]