Gödel Blooming: the Incompleteness Theorems from a Paraconsistent Perspective

Total Page:16

File Type:pdf, Size:1020Kb

Gödel Blooming: the Incompleteness Theorems from a Paraconsistent Perspective Gödel blooming: the Incompleteness Theorems from a paraconsistent perspective Walter Carnielli Centre for Logic, Epistemology and the History of Science and Department of Philosophy University of Campinas - Unicamp, Campinas, SP, Brazil David Fuenmayor Department of Mathematics and Computer Science Freie Universität Berlin e-mail: [email protected], [email protected] Abstract This paper explores the general question of the validity of Gödel’s incompleteness theorems by examining the respective arguments from a paraconsistent perspective, while employing combinations of modal logics with Logics of Formal Inconsistency (LFIs). For this purpose, abstract versions of the incompleteness theorems, employing provabil- ity logic, need to be carefully crafted. This analysis considers distinct variants of the notion of consistency for formal systems, which, to- gether with the lighter character of the negation operator of the LFIs, enable new formalization variants of the Gödelian arguments, eventu- ally leading to some thought-provoking conclusions. We show that the standard formulation of Gödel’s theorems is not valid under some weak LFIs: a valid reconstruction requires further premises corresponding to the consistency (in the sense of LFIs) of particular formulas. This readily leads us to a reformulation of Gödel’s theorems as an exis- tence claim. In this paper we also aim at showcasing the convenience of working with modern proof assistants (in this case Isabelle/HOL), which enable much faster and accurate feedback on verifying or falsi- fying hypotheses during the process of formal proof reconstruction. Keywords: Gödel’s incompleteness theorems; Provability Logic; paracon- sistency; Logics of Formal Inconsistency; Isabelle/HOL. 1 1 How universal are Gödel’s arguments? In a rough and intuitive formulation, Gödel’s first incompleteness theorem (G1) says that, for certain consistent formal systems, there are (true) sen- tences that they cannot decide, i.e., neither prove nor disprove; the second incompleteness theorem (G2) says that such a system cannot prove its own consistency. A formidable amount of papers deals with explanations or in- terpretations of the Gödelian arguments, but few of them touch on the limits of the Gödelian objection. Gödel formulated his incompleteness theorems1 employing notions such as axiomatic systems, primitive recursive arithmetic, arithmetization/numbering, representability/interpretability, consistency, completeness, diagonalization, etc; already a quick literature survey will reveal several different (and in some cases non-equivalent) ‘formalizations’, or more appropriately, explications, of these notions. In this paper we focus on the notions of consistency and negation from the point of view of paraconsistent logic. We aim at examin- ing different, alternative notions of consistency employing both classical and paraconsistent negation, and then investigating their role in Gödel’s argu- ments with the help of the proof assistant Isabelle/HOL (henceforth Isabelle) [NPW02]. For this sake, we will abstract away the complexities of Gödel’s arithmetization procedure and assume the corresponding fixed-point (diag- onalization) lemma as a premise. We will employ for this (a paraconsistent version of) provability logic [Ver17; Boo95]. It is important to note that we do not aim at a thorough formal recon- struction of Gödel’s proofs (including the arithmetization procedure) using a proof assistant, as previously done by Paulson [Pau15] in Isabelle and O’Connor in Coq [OCo05]. Special mention deserves the work of John Har- rison, who provides a formal reconstruction of G2 within his proof assistant HOL-Light by employing provability logic in a similar spirit as ours (cf. his related work [Har09, Ch. 7]). With our formal reconstruction work in Isabelle (Section 6), we aim rather at introducing a framework for experimenting, in the context of Gödel’s proofs, with different notions of consistency, and from a paraconsistent per- spective. We employ modal logic, both as a paraconsistent and as a provabil- ity logic, drawing upon the shallow semantical embeddings (SSE) approach [Ben19]. SSE rests on the adoption of Church’s simple type theory (STT) [BA19] as an expressive higher-order meta-language into which the logical 1There is some controversy in referring to Gödel’s results as either ‘a theorem’ or ‘theorems’. Saul Kripke (in private conversation with the first author) insists that we should refer jointly to both as ‘Gödel’s theorem’, since G2 is a corollary of G1. We prefer to maintain the plural. 2 connectives of (a combination of) target logics can be ‘translated’ or ‘embed- ded’, in such a way that the target logic becomes a fragment of STT.2 In doing this, we can employ the proof assistant Isabelle, whose logic conserva- tively extends STT, to reconstruct and assess different formalized variants of Gödel’s arguments. We make the Isabelle source files for this formalization work freely available [CF20] and encourage the interested reader to carry out further experiments (e.g. by varying the encoded logic or the notions of consistency), and thus to further expand and improve on this work. In view of the abundant literature and approaches towards Gödel’s re- sults, we are obliged to restrict ourselves to considering only a few sources. Succinct, but self-contained and fairly detailed, discussions emphasizing most important points in Gödel’s proofs can be found e.g. in the works of Smoryński [Smo77, Sec. 1–2], Epstein & Carnielli [EC08, Ch. 23–24], and in the corre- sponding article in the Stanford Encyclopedia of Philosophy [Raa18]. We will draw upon them as sources for our formal reconstruction work in Section 6. Section 2 raises the question about the range of Gödel’s theorems, setting the stage for an analysis of the dependence of the Gödelian arguments on standard logical conventions. Section 3 introduces the paraconsistentist pro- gram, and foresees some difficulties as regards the validity of the Gödelian objection in more subtle logical scenarios. Section 4 discusses the Logics of Formal Inconsistency, and justifies the choice of the logic RmbC among eli- gible paraconsistent scenarios. Section 5 illustrates the mechanism by which we add a provability operator to RmbC, thus obtaining the logic RmbC⊕K, and analyzes several notions of consistency that emerge from this move. Sec- tion 6 is dedicated to the formal reconstruction of the Gödelian arguments with the help of Isabelle. This task requires a combination of modal and paraconsistent logics embodied in RmbC⊕K. Since such logics are not cur- rently supported off-the-shelf by mainstream proof assistants, we discuss the changes that turn Isabelle into a flexible, high-level modal and paraconsistent logic reasoner. This section also contains the most relevant technical results. Finally, Section 7 offers the main conclusions of this paper. 2The SSE technique has been employed successfully in the logical analysis of argu- mentative discourse (e.g. in the formal reconstruction of another, more metaphysical Gödelian argument [BW16; FB17], or in formal ethics [FB19b]), where it has also inspired a computer-supported approach, computational hermeneutics [FB19a], which, adhering to the slogan: ‘every formalization is an interpretation’, aims at rendering explicit the tacit conceptualizations implicit in argumentative practices. SSE also has applications in AI and normative systems [BPT20], as it supports the reuse of existing reasoning infrastruc- ture for first-order and higher-order logics for seamlessly combining and reasoning with different quantified classical and non-classical logics (including modal, deontic, epistemic and paraconsistent), many of which are well suited for normative reasoning applications. 3 2 On the range of Gödel’s theorems Gödel’s incompleteness theorems do not apply unrestrictedly to every math- ematical system. G1 does not apply for instance to Euclidean geometry. Tarski proved in 1948 [Tar98] that the first-order theory of Euclidean ge- ometry is complete and decidable,3 in the sense that every statement in its language is either a theorem (i.e., provable) or its negation is a theorem, and there is an algorithm to determine which is the case. Even non-Euclidean geometry falls outside the Gödelian barrier: if plane Euclidean geometry is a consistent theory, then so is plane hyperbolic geometry. Nor do Gödel’s theorems apply to systems of arithmetic with the addition operation only, such as Presburger arithmetic. It is necessary to have a certain critical mass of mathematical strength to be attacked by the Gödelian objection, or, in other words: to qualify as what Gödel himself defined as ‘a formal system’. Our aim in this paper is to give some first steps towards the analysis, using non-classical logics, of the applicability of Gödel’s theorems to formal systems, while exploiting the computing power of modern proof assistants. Very little investigation, if any, touches the validity of Gödel’s proofs in non- classical environments. For instance, [BS14] claims to be studying versions of Gödel’s arguments under the umbrella of non-classical logics, but just con- centrates on substructural logics: the authors show that the Gödelian rea- soning presupposes a certain amount of contraction in the underlying logic, that is, the validity of the meta-rule ‘Γ; ; ` ' implies Γ; ` '’. They then exhibit a modal system without contraction that invalidates Gödel’s argument. On the other hand, several authors including Kreisel, Feferman, Löb,
Recommended publications
  • Deontic Logic and Meta-Ethics
    Deontic Logic and Meta-Ethics • Deontic Logic as been a field in which quite apart from the questions of antinomies "paradoxes" have played a decisive roles, since the field has been invented. These paradoxes (like Ross' Paradox or the Good Samaritian) are said to show that some intuitively valid logical principles cannot be true in deontic logic, even if the same principles (like deductive closure within a modality) are valid in alethic modal logic. Paraconsistency is not concerned with solutions to these paradoxes. pp ∧¬∧¬pp • There are, however, lots of problems with ex contradictione qoudlibet Manuel Bremer in deontic logic, since systems of norms and regulations, even more so Centre for Logic, Language and if they are historically grown, have a tendency to contain conflicting Information requirements. To restrict the ensuing problems at least a weak paraconsistent logic is needed. • There may be, further on, real antinomies of deontic logic and meta- ethics (understood comprehensively as including also some basic decision and game theory). Inconsistent Obligations • It often may happen that one is confronted with inconsistent obligations. • Consider for example the rule that term papers have to be handed in at the institute's office one week before the session in question combined with the rule that one must not disturb the secretary at the institute's office if she is preparing an institute meeting. What if the date of handing in your paper falls on a day when an institute meeting is pp ∧¬∧¬pp prepared? Entering the office is now obligatory (i.e. it is obligatory that it is the Manuel Bremer case that N.N.
    [Show full text]
  • Coq in a Hurry Yves Bertot
    Coq in a Hurry Yves Bertot To cite this version: Yves Bertot. Coq in a Hurry. Types Summer School, also used at the University of Nice Goteborg, Nice, 2006. inria-00001173v2 HAL Id: inria-00001173 https://cel.archives-ouvertes.fr/inria-00001173v2 Submitted on 24 May 2006 (v2), last revised 19 Oct 2017 (v6) HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Coq in a Hurry Yves Bertot May 24, 2006 These notes provide a quick introduction to the Coq system and show how it can be used to define logical concepts and functions and reason about them. It is designed as a tutorial, so that readers can quickly start their own experiments, learning only a few of the capabilities of the system. A much more comprehensive study is provided in [1], which also provides an extensive collection of exercises to train on. 1 Expressions and logical formulas The Coq system provides a language in which one handles formulas, verify that they are well-formed, and prove them. Formulas may also contain functions and limited forms of computations are provided for these functions. The first thing you need to know is how you can check whether a formula is well- formed.
    [Show full text]
  • Computation and Reflection in Coq And
    Computation and reflection in Coq and HOL John Harrison Intel Corporation, visiting Katholieke Universiteit Nijmegen 20th August 2003 0 What is reflection? Stepping back from the straightforward use of a formal system and reasoning about it (‘reflecting upon it’). • Exploiting the syntax to prove general/meta theorems • Asserting consistency or soundness Similar concept in programming where programs can examine and modify their own syntax [Brian Cantwell Smith 1984]. The ‘reflection principle’ in ZF set theory is rather different. 1 Logical power of reflection The process of reflection may involve: • Adding new theorems that were not provable before • Adding a new, but conservative, rule to the logic • Making no extension of the logic [Giunchiglia and Smail 1989] use ‘reflection principles’ to refer to logic-strengthening rules only, but use ‘reflection’ to describe the process in all cases. 2 Reflection principles The classic reflection principle is an assertion of consistency. More generally, we can assert the ‘local reflection schema’: ⊢ Pr(pφq) ⇒ φ By Godel’s¨ Second Incompleteness Theorem, neither is provable in the original system, so this makes the system stronger. The addition of reflection principles can then be iterated transfinitely [Turing 1939], [Feferman 1962], [Franzen´ 2002]. 3 A conservative reflection rule Consider instead the following reflection rule: ⊢ Pr(pφq) ⊢ φ Assuming that the original logic is Σ-sound, this is a conservative extension. On the other hand, it does make some proofs much shorter. Whether it makes any interesting ones shorter is another matter. 4 Total internal reflection We can exploit the syntax-semantics connection without making any extensions to the logical system.
    [Show full text]
  • A Complete Proof of Coq Modulo Theory
    EPiC Series in Computing Volume 46, 2017, Pages 474–489 LPAR-21. 21st International Conference on Logic for Programming, Artificial Intelligence and Reasoning Coq without Type Casts: A Complete Proof of Coq Modulo Theory Jean-Pierre Jouannaud1;2 and Pierre-Yves Strub2 1 INRIA, Project Deducteam, Université Paris-Saclay, France 2 LIX, École Polytechnique, France Abstract Incorporating extensional equality into a dependent intensional type system such as the Calculus of Constructions provides with stronger type-checking capabilities and makes the proof development closer to intuition. Since strong forms of extensionality lead to undecidable type-checking, a good trade-off is to extend intensional equality with a decidable first-order theory T , as done in CoqMT, which uses matching modulo T for the weak and strong elimination rules, we call these rules T -elimination. So far, type-checking in CoqMT is known to be decidable in presence of a cumulative hierarchy of universes and weak T -elimination. Further, it has been shown by Wang with a formal proof in Coq that consistency is preserved in presence of weak and strong elimination rules, which actually implies consistency in presence of weak and strong T -elimination rules since T is already present in the conversion rule of the calculus. We justify here CoqMT’s type-checking algorithm by showing strong normalization as well as the Church-Rosser property of β-reductions augmented with CoqMT’s weak and strong T -elimination rules. This therefore concludes successfully the meta-theoretical study of CoqMT. Acknowledgments: to the referees for their careful reading. 1 Introduction Type checking for an extensional type theory being undecidable, as is well-known since the early days of Martin-Löf’s type theory [16], most proof assistants implement an intensional type theory.
    [Show full text]
  • Calculi for Program Incorrectness and Arithmetic Philipp Rümmer
    Thesis for the Degree of Doctor of Philosophy Calculi for Program Incorrectness and Arithmetic Philipp R¨ummer Department of Computer Science and Engineering Chalmers University of Technology and G¨oteborg University SE-412 96 G¨oteborg Sweden G¨oteborg, 2008 Calculi for Program Incorrectness and Arithmetic Philipp R¨ummer ISBN 978-91-628-7242-7 c Philipp R¨ummer, 2008 Technical Report no. 50D Department of Computer Science and Engineering Research Group: Formal Methods Department of Computer Science and Engineering Chalmers University of Technology and G¨oteborg University SE-412 96 G¨oteborg, Sweden Telephone +46 (0)31–772 1000 Printed at Chalmers, G¨oteborg, 2008 II Abstract This thesis is about the development and usage of deductive methods in two main areas: (i) the deductive dis-verification of programs, i.e., how techniques for deductive verification of programs can be used to detect program defects, and (ii) reasoning modulo integer arithmetic, i.e., how to prove the validity (and, in special cases, satisfiability) of first-order formulae that involve integer arithmetic. The areas of program verification and of testing are traditionally considered as complementary: the former searches for a formal proof of program correctness, while the latter searches for witnesses of program incorrectness. Nevertheless, de- ductive verification methods can discover bugs indirectly: the failure to prove the absence of bugs is interpreted as a sign for the incorrectness of the program. This approach is bound to produce “false positives” and bugs can be reported also for correct programs. To overcome this problem, I investigate how techniques that are normally used for verification can be used to directly prove the incorrectness of programs.
    [Show full text]
  • Presburger Arithmetic: Cooper’S Algorithm Top- Ics in Em- Michael R
    02917 Ad- 02917 Advanced Topics in Embedded Systems vanced Presburger Arithmetic: Cooper’s algorithm Top- ics in Em- Michael R. Hansen bed- ded Sys- tems Michael R. Hansen 1 DTU Informatics, Technical University of Denmark Presburger Arithmetic: Cooper’s algorithm MRH 17/06/2010 Introduction 02917 Ad- vanced Presburger Arithmetic (introduced by Mojzesz Presburger in 1929), is Top- the first-order theory of natural numbers with addition. ics in Em- Examples of formulas are: ∃x.2x = y and ∃x.∀y.x + y > z. bed- ded Unlike Peano Arithmetic, which also includes multiplication, Sys- Presburger Arithmetic is a decidable theory. tems Michael R. Hansen We shall consider the algorithm introduced by D.C Cooper in 1972. The presentation is based on: Chapter 7: Quantified Linear Arithmetic of The Calculus of Computation by Bradley and Manna. 2 DTU Informatics, Technical University of Denmark Presburger Arithmetic: Cooper’s algorithm MRH 17/06/2010 Introduction 02917 Ad- vanced Presburger Arithmetic (introduced by Mojzesz Presburger in 1929), is Top- the first-order theory of natural numbers with addition. ics in Em- Examples of formulas are: ∃x.2x = y and ∃x.∀y.x + y > z. bed- ded Unlike Peano Arithmetic, which also includes multiplication, Sys- Presburger Arithmetic is a decidable theory. tems Michael R. Hansen We shall consider the algorithm introduced by D.C Cooper in 1972. The presentation is based on: Chapter 7: Quantified Linear Arithmetic of The Calculus of Computation by Bradley and Manna. 3 DTU Informatics, Technical University of Denmark Presburger Arithmetic: Cooper’s algorithm MRH 17/06/2010 Introduction 02917 Ad- vanced Presburger Arithmetic (introduced by Mojzesz Presburger in 1929), is Top- the first-order theory of natural numbers with addition.
    [Show full text]
  • Decidability and Decision Procedures –Some Historical Notes–
    Satisfiability Checking Decidability and Decision Procedures –Some Historical Notes– Prof. Dr. Erika Ábrahám RWTH Aachen University Informatik 2 LuFG Theory of Hybrid Systems WS 19/20 Satisfiability Checking — Prof. Dr. Erika Ábrahám (RWTH Aachen University) WS 19/20 1 / 26 Propositional logic decidable SAT-solving Equational logic decidable SAT-encoding Equational logic with uninterpr. functions decidable SAT-encoding Linear real algebra (R with +) decidable Simplex Real algebra (R with + and ∗) decidable CAD virtual substitution Presburger arithmetic (N with +) decidable branch and bound, Omega test Peano arithmetic (N with + and ∗) undecidable - But actually what does it mean “decidable” or “undecidable”? FO theories and their decidability Some first-order theories: Logic decidability algorithm Satisfiability Checking — Prof. Dr. Erika Ábrahám (RWTH Aachen University) WS 19/20 2 / 26 decidable SAT-solving Equational logic decidable SAT-encoding Equational logic with uninterpr. functions decidable SAT-encoding Linear real algebra (R with +) decidable Simplex Real algebra (R with + and ∗) decidable CAD virtual substitution Presburger arithmetic (N with +) decidable branch and bound, Omega test Peano arithmetic (N with + and ∗) undecidable - But actually what does it mean “decidable” or “undecidable”? FO theories and their decidability Some first-order theories: Logic decidability algorithm Propositional logic Satisfiability Checking — Prof. Dr. Erika Ábrahám (RWTH Aachen University) WS 19/20 2 / 26 SAT-solving Equational logic decidable SAT-encoding Equational logic with uninterpr. functions decidable SAT-encoding Linear real algebra (R with +) decidable Simplex Real algebra (R with + and ∗) decidable CAD virtual substitution Presburger arithmetic (N with +) decidable branch and bound, Omega test Peano arithmetic (N with + and ∗) undecidable - But actually what does it mean “decidable” or “undecidable”? FO theories and their decidability Some first-order theories: Logic decidability algorithm Propositional logic decidable Satisfiability Checking — Prof.
    [Show full text]
  • Gert-Jan C. LOKHORST an ALTERNATIVE INTUITIONISTIC
    REPORTS ON MATHEMATICAL LOGIC 51 (2016), 35–41 doi:10.4467/20842589RM.16.003.5280 Gert-Jan C. LOKHORST AN ALTERNATIVE INTUITIONISTIC VERSION OF MALLY’S DEONTIC LOGIC A b s t r a c t. Some years ago, Lokhorst proposed an intuitionistic reformulation of Mally’s deontic logic (1926). This reformulation was unsatisfactory, because it provided a striking theorem that Mally himself did not mention. In this paper, we present an alter- native reformulation of Mally’s deontic logic that does not provide this theorem. .1 Introduction Some years ago, Lokhorst proposed an intuitionistic reformulation of Mally’s deontic logic (1926) [3]. This reformulation was unsatisfactory, because it provided a striking theorem that Mally himself did not mention, namely ⌥(A A). In this paper, we present an alternative reformulation of Mally’s _¬ deontic logic that does not provide this theorem. Received 4 October 2015 Keywords and phrases: deontic logic, intuitionistic logic. 36 GERT-JAN C. LOKHORST .2 Definitions Heyting’s system of intuitionistic propositional logic h is defined as follows [1, Ch. 2]. Axioms: (a) A (B A). ! ! (b) (A (B C)) ((A B) (A C)). ! ! ! ! ! ! (c) (A B) A;(A B) B. ^ ! ^ ! (d) A (B (A B)). ! ! ^ (e) A (A B); B (A B). ! _ ! _ (f) (A C) ((B C) ((A B) C)). ! ! ! ! _ ! (g) A. ?! Rule: A, A B/B (modus ponens, MP). ! Definitions: A = A , = , A B =(A B) (B A). ¬ !? > ¬? $ ! ^ ! The second-order intuitionistic propositional calculus with comprehension C2h is h plus [1, Ch. 9]: Axioms: Q1 ( x)A(x) A(y). 8 ! Q2 A(y) ( x)A(x).
    [Show full text]
  • Presburger Arithmetic with Threshold Counting Quantifiers Is Easy
    Presburger arithmetic with threshold counting quantifiers is easy Dmitry Chistikov ! Centre for Discrete Mathematics and its Applications (DIMAP) & Department of Computer Science, University of Warwick, Coventry, UK Christoph Haase ! Department of Computer Science, University of Oxford, Oxford, UK Alessio Mansutti ! Department of Computer Science, University of Oxford, Oxford, UK Abstract We give a quantifier elimination procedures for the extension of Presburger arithmetic with aunary threshold counting quantifier ∃≥cy that determines whether the number of different y satisfying some formula is at least c ∈ N, where c is given in binary. Using a standard quantifier elimination procedure for Presburger arithmetic, the resulting theory is easily seen to be decidable in 4ExpTime. Our main contribution is to develop a novel quantifier-elimination procedure for a more general counting quantifier that decides this theory in 3ExpTime, meaning that it is no harder to decide than standard Presburger arithmetic. As a side result, we obtain an improved quantifier elimination procedure for Presburger arithmetic with counting quantifiers as studied by Schweikardt [ACM Trans. Comput. Log., 6(3), pp. 634-671, 2005], and a 3ExpTime quantifier-elimination procedure for Presburger arithmetic extended with a generalised modulo counting quantifier. 2012 ACM Subject Classification Theory of computation → Logic Keywords and phrases Presburger arithmetic, counting quantifiers, quantifier elimination Funding This work is part of a project that has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (Grant agreement No. 852769, ARiAT). 1 Introduction Counting the number of solutions to an equation, or the number of elements in a set subject to constraints, is a fundamental problem in mathematics and computer science.
    [Show full text]
  • Problems on Philosophical Logic
    Problems on Philosophical Logic For each of the five logics treated (temporal, modal, conditional, relevantistic, intuitionistic) the list below first collects verifications ‘left to the reader’ in the corresponding chapter of Philosophical Logic, then adds other problems, introducing while doing so some supplementary topics not treated in the book. In working problems ‘left to the reader’ it is appropriate to use any material up to the point in the book where the problem occurs; in working other problems, it is appropriate to use any material in the pertinent chapter. In all cases, it is appropriate to use results from earlier problems in later problems Instructors adopting the book as a text for a course may obtain solutions to these problems by e-mailing the author [email protected] 2 Temporal Logic Problems ‘left to the reader’ in chapter 2 of Philosophical Logic 1. From page 22: Show that axiom (24a) is true everywhere in every model. 2. From page 24: Do the conjunction case in the proof of the rule of replacement (Rep). 3. From page 25: The lemma needed for the proof of the rule of duality (Dual) is proved by induction on complexity. If A is an atom, then A* is just A while A' is ¬A, so ¬A' is ¬¬A and A* « ¬A' is A « ¬¬A, which is a tautology, hence a theorem; thus the lemma holds in the atomic case. Prove that: (a) show that if A is a negation ¬B and the lemma holds for B it holds for A. (b) show that if A is a conjunction B Ù C and the lemma holds for B and for C, then the lemma holds for A.
    [Show full text]
  • A Decidable Fragment of Second Order Logic with Applications to Synthesis
    A Decidable Fragment of Second Order Logic With Applications to Synthesis P. Madhusudan University of Illinois, Urbana Champaign, Urbana, IL, USA [email protected] Umang Mathur University of Illinois, Urbana Champaign, Urbana, IL, USA [email protected] https://orcid.org/0000-0002-7610-0660 Shambwaditya Saha University of Illinois, Urbana Champaign, Urbana, IL, USA [email protected] Mahesh Viswanathan University of Illinois, Urbana Champaign, Urbana, IL, USA [email protected] Abstract We propose a fragment of many-sorted second order logic called EQSMT and show that checking satisfiability of sentences in this fragment is decidable. EQSMT formulae have an ∃∗∀∗ quan- tifier prefix (over variables, functions and relations) making EQSMT conducive for modeling synthesis problems. Moreover, EQSMT allows reasoning using a combination of background the- ories provided that they have a decidable satisfiability problem for the ∃∗∀∗ FO-fragment (e.g., linear arithmetic). Our decision procedure reduces the satisfiability of EQSMT formulae to satis- fiability queries of ∃∗∀∗ formulae of each individual background theory, allowing us to use existing efficient SMT solvers supporting ∃∗∀∗ reasoning for these theories; hence our procedure can be seen as effectively quantified SMT (EQSMT ) reasoning. 2012 ACM Subject Classification Theory of computation → Logic → Logic and verification Keywords and phrases second order logic, synthesis, decidable fragment Digital Object Identifier 10.4230/LIPIcs.CSL.2018.30 Funding This work has been supported by NSF grants 1422798, 1329991, 1138994 and 1527395. 1 Introduction The goal of program synthesis is to automatically construct a program that satisfies a given arXiv:1712.05513v3 [cs.LO] 27 Sep 2018 specification. This problem has received a lot of attention from the research community in recent years [34, 4, 14].
    [Show full text]
  • Arithmetic, First-Order Logic, and Counting Quantifiers
    Arithmetic, First-Order Logic, and Counting Quantifiers NICOLE SCHWEIKARDT Humboldt-Universitat¨ Berlin, Germany This paper gives a thorough overview of what is known about first-order logic with counting quantifiers and with arithmetic predicates. As a main theorem we show that Presburger arithmetic is closed under unary counting quantifiers. Precisely, this means that for every first-order formula '(y; ~z) over the signature f<; +g there is a first-order formula (x; ~z) which expresses over the structure hN; <; +i (respectively, over initial segments of this structure) that the variable x is interpreted exactly by the number of possible interpretations of the variable y for which the formula '(y; ~z) is satisfied. Applying this theorem, we obtain an easy proof of Ruhl's result that reachability (and similarly, connectivity) in finite graphs is not expressible in first-order logic with unary counting quantifiers and addition. Furthermore, the above result on Presburger arithmetic helps to show the failure of a particular version of the Crane Beach conjecture. Categories and Subject Descriptors: F.4.1 [Mathematical Logic and Formal Languages]: Mathematical Logic General Terms: Theory, Languages Additional Key Words and Phrases: counting quantifiers, first-order logic, Presburger arithmetic, quantifier elimination 1. INTRODUCTION In computational complexity theory the complexity of a problem is measured by the amount of time or space resources that are necessary for solving a problem on an (idealized) com- putational device such as a Turing machine. Fagin’s seminal work tied this computational complexity to the descriptive complexity, i.e., to the complexity (or, the richness) of a logic that is capable of describing the problem.
    [Show full text]