Chapter 1 Preliminaries
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
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 . -
Automated ZFC Theorem Proving with E
Automated ZFC Theorem Proving with E John Hester Department of Mathematics, University of Florida, Gainesville, Florida, USA https://people.clas.ufl.edu/hesterj/ [email protected] Abstract. I introduce an approach for automated reasoning in first or- der set theories that are not finitely axiomatizable, such as ZFC, and describe its implementation alongside the automated theorem proving software E. I then compare the results of proof search in the class based set theory NBG with those of ZFC. Keywords: ZFC · ATP · E. 1 Introduction Historically, automated reasoning in first order set theories has faced a fun- damental problem in the axiomatizations. Some theories such as ZFC widely considered as candidates for the foundations of mathematics are not finitely axiomatizable. Axiom schemas such as the schema of comprehension and the schema of replacement in ZFC are infinite, and so cannot be entirely incorpo- rated in to the prover at the beginning of a proof search. Indeed, there is no finite axiomatization of ZFC [1]. As a result, when reasoning about sufficiently strong set theories that could no longer be considered naive, some have taken the alternative approach of using extensions of ZFC that admit objects such as proper classes as first order objects, but this is not without its problems for the individual interested in proving set-theoretic propositions. As an alternative, I have programmed an extension to the automated the- orem prover E [2] that generates instances of parameter free replacement and comprehension from well formuled formulas of ZFC that are passed to it, when eligible, and adds them to the proof state while the prover is running. -
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. -
(Aka “Geometric”) Iff It Is Axiomatised by “Coherent Implications”
GEOMETRISATION OF FIRST-ORDER LOGIC ROY DYCKHOFF AND SARA NEGRI Abstract. That every first-order theory has a coherent conservative extension is regarded by some as obvious, even trivial, and by others as not at all obvious, but instead remarkable and valuable; the result is in any case neither sufficiently well-known nor easily found in the literature. Various approaches to the result are presented and discussed in detail, including one inspired by a problem in the proof theory of intermediate logics that led us to the proof of the present paper. It can be seen as a modification of Skolem's argument from 1920 for his \Normal Form" theorem. \Geometric" being the infinitary version of \coherent", it is further shown that every infinitary first-order theory, suitably restricted, has a geometric conservative extension, hence the title. The results are applied to simplify methods used in reasoning in and about modal and intermediate logics. We include also a new algorithm to generate special coherent implications from an axiom, designed to preserve the structure of formulae with relatively little use of normal forms. x1. Introduction. A theory is \coherent" (aka \geometric") iff it is axiomatised by \coherent implications", i.e. formulae of a certain simple syntactic form (given in Defini- tion 2.4). That every first-order theory has a coherent conservative extension is regarded by some as obvious (and trivial) and by others (including ourselves) as non- obvious, remarkable and valuable; it is neither well-enough known nor easily found in the literature. We came upon the result (and our first proof) while clarifying an argument from our paper [17]. -
1.4 Theories
1.4 Theories Before we start to work with one of the most central notions of mathematical logic – that of a theory – it will be useful to make some observations about countable sets. Lemma 1.3. 1. A set X is countable iff there is a surjection ψ : N X. 2. If X is countable and Y X then Y is countable. 3. If X and Y are countable, then X Y is countable. 4. If X and Y are countable, then X ¢ Y is countable. k 5. If X is countable and k 1 then X is countable. ä 6. If Xi is countable for each i È N, then Xi is countable. iÈN 7. If X is countable, then ä Xk is countable. k ÈN Ø Ù Proof. 1. If X is countably infinite note that every bijection is a surjection. If X x0,...,xn Õ Ô Õ is finite, let ψ Ôi xi for 0 i n and ψ j xn for j n. For the other direction, Ô Õ Ô Õ Ô Õ Ù let ψ be a surjection, then X is Øψ 0 , ψ 1 , ψ 2 ,... and removing duplicates from the Ô ÕÕ Ô N sequence ψ i i¥0 yields a bijective ϕ : X. È 2. Obvious if Y is finite. Otherwise, let ϕ : N X be a bijection and let y0 Y . Define " Õ Ô Õ È ϕÔn if ϕ n Y ψ : N Y,n y0 otherwise which is a surjection. 3. Let ϕ : N X and ψ : N Y be bijections. -
Lipics-FSCD-2021-29.Pdf (0.9
On the Logical Strength of Confluence and Normalisation for Cyclic Proofs Anupam Das ! Ï University of Birmingham, UK Abstract In this work we address the logical strength of confluence and normalisation for non-wellfounded typing derivations, in the tradition of “cyclic proof theory” . We present a circular version CT of Gödel’ s system T, with the aim of comparing the relative expressivity of the theories CT and T. We approach this problem by formalising rewriting-theoretic results such as confluence and normalisation for the underlying “coterm” rewriting system of CT within fragments of second-order arithmetic. We establish confluence of CT within the theory RCA0, a conservative extension of primitive recursive arithmetic and IΣ1. This allows us to recast type structures of hereditarily recursive operations as “coterm” models of T. We show that these also form models of CT, by formalising a totality argument for circular typing derivations within suitable fragments of second-order arithmetic. Relying on well-known proof mining results, we thus obtain an interpretation of CT into T; in fact, more precisely, we interpret level-n-CT into level-(n + 1)-T, an optimum result in terms of abstraction complexity. A direct consequence of these model-theoretic results is weak normalisation for CT. As further results, we also show strong normalisation for CT and continuity of functionals computed by its type 2 coterms. 2012 ACM Subject Classification Theory of computation → Equational logic and rewriting; Theory of computation → Proof theory; Theory of computation → Higher order logic; Theory of computation → Lambda calculus Keywords and phrases confluence, normalisation, system T, circular proofs, reverse mathematics, type structures Digital Object Identifier 10.4230/LIPIcs.FSCD.2021.29 Related Version This work is based on part of the following preprint, where related results, proofs and examples may be found. -
Inseparability and Conservative Extensions of Description Logic Ontologies: a Survey
Inseparability and Conservative Extensions of Description Logic Ontologies: A Survey Elena Botoeva1, Boris Konev2, Carsten Lutz3, Vladislav Ryzhikov1, Frank Wolter2, and Michael Zakharyaschev4 1 Free University of Bozen-Bolzano, Italy fbotoeva,[email protected] 2 University of Liverpool, UK fkonev,[email protected] 3 University of Bremen, Germany [email protected] 4 Birkbeck, University of London, UK [email protected] Abstract. The question whether an ontology can safely be replaced by another, possibly simpler, one is fundamental for many ontology engi- neering and maintenance tasks. It underpins, for example, ontology ver- sioning, ontology modularization, forgetting, and knowledge exchange. What `safe replacement' means depends on the intended application of the ontology. If, for example, it is used to query data, then the answers to any relevant ontology-mediated query should be the same over any relevant data set; if, in contrast, the ontology is used for conceptual reasoning, then the entailed subsumptions between concept expressions should coincide. This gives rise to different notions of ontology insep- arability such as query inseparability and concept inseparability, which generalize corresponding notions of conservative extensions. We survey results on various notions of inseparability in the context of descrip- tion logic ontologies, discussing their applications, useful model-theoretic characterizations, algorithms for determining whether two ontologies are inseparable (and, sometimes, for computing the difference between them if they are not), and the computational complexity of this problem. 1 Introduction Description logic (DL) ontologies provide a common vocabulary for a domain of interest together with a formal modeling of the semantics of the vocabulary items (concept names and role names). -
The Strength of Mac Lane Set Theory
The Strength of Mac Lane Set Theory A. R. D. MATHIAS D´epartement de Math´ematiques et Informatique Universit´e de la R´eunion To Saunders Mac Lane on his ninetieth birthday Abstract AUNDERS MAC LANE has drawn attention many times, particularly in his book Mathematics: Form and S Function, to the system ZBQC of set theory of which the axioms are Extensionality, Null Set, Pairing, Union, Infinity, Power Set, Restricted Separation, Foundation, and Choice, to which system, afforced by the principle, TCo, of Transitive Containment, we shall refer as MAC. His system is naturally related to systems derived from topos-theoretic notions concerning the category of sets, and is, as Mac Lane emphasizes, one that is adequate for much of mathematics. In this paper we show that the consistency strength of Mac Lane's system is not increased by adding the axioms of Kripke{Platek set theory and even the Axiom of Constructibility to Mac Lane's axioms; our method requires a close study of Axiom H, which was proposed by Mitchell; we digress to apply these methods to subsystems of Zermelo set theory Z, and obtain an apparently new proof that Z is not finitely axiomatisable; we study Friedman's strengthening KPP + AC of KP + MAC, and the Forster{Kaye subsystem KF of MAC, and use forcing over ill-founded models and forcing to establish independence results concerning MAC and KPP ; we show, again using ill-founded models, that KPP + V = L proves the consistency of KPP ; turning to systems that are type-theoretic in spirit or in fact, we show by arguments of Coret -
More Model Theory Notes Miscellaneous Information, Loosely Organized
More Model Theory Notes Miscellaneous information, loosely organized. 1. Kinds of Models A countable homogeneous model M is one such that, for any partial elementary map f : A ! M with A ⊆ M finite, and any a 2 M, f extends to a partial elementary map A [ fag ! M. As a consequence, any partial elementary map to M is extendible to an automorphism of M. Atomic models (see below) are homogeneous. A prime model of T is one that elementarily embeds into every other model of T of the same cardinality. Any theory with fewer than continuum-many types has a prime model, and if a theory has a prime model, it is unique up to isomorphism. Prime models are homogeneous. On the other end, a model is universal if every other model of its size elementarily embeds into it. Recall a type is a set of formulas with the same tuple of free variables; generally to be called a type we require consistency. The type of an element or tuple from a model is all the formulas it satisfies. One might think of the type of an element as a sort of identity card for automorphisms: automorphisms of a model preserve types. A complete type is the analogue of a complete theory, one where every formula of the appropriate free variables or its negation appears. Types of elements and tuples are always complete. A type is principal if there is one formula in the type that implies all the rest; principal complete types are often called isolated. A trivial example of an isolated type is that generated by the formula x = c where c is any constant in the language, or x = t(¯c) where t is any composition of appropriate-arity functions andc ¯ is a tuple of constants. -
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. -
Focusing in Linear Meta-Logic: Extended Report Vivek Nigam, Dale Miller
Focusing in linear meta-logic: extended report Vivek Nigam, Dale Miller To cite this version: Vivek Nigam, Dale Miller. Focusing in linear meta-logic: extended report. [Research Report] Maybe this file need a better style. Specially the proofs., 2008. inria-00281631 HAL Id: inria-00281631 https://hal.inria.fr/inria-00281631 Submitted on 24 May 2008 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. Focusing in linear meta-logic: extended report Vivek Nigam and Dale Miller INRIA & LIX/Ecole´ Polytechnique, Palaiseau, France nigam at lix.polytechnique.fr dale.miller at inria.fr May 24, 2008 Abstract. It is well known how to use an intuitionistic meta-logic to specify natural deduction systems. It is also possible to use linear logic as a meta-logic for the specification of a variety of sequent calculus proof systems. Here, we show that if we adopt different focusing annotations for such linear logic specifications, a range of other proof systems can also be specified. In particular, we show that natural deduction (normal and non-normal), sequent proofs (with and without cut), tableaux, and proof systems using general elimination and general introduction rules can all be derived from essentially the same linear logic specification by altering focusing annotations. -
On Synthetic Undecidability in Coq, with an Application to the Entscheidungsproblem
On Synthetic Undecidability in Coq, with an Application to the Entscheidungsproblem Yannick Forster Dominik Kirst Gert Smolka Saarland University Saarland University Saarland University Saarbrücken, Germany Saarbrücken, Germany Saarbrücken, Germany [email protected] [email protected] [email protected] Abstract like decidability, enumerability, and reductions are avail- We formalise the computational undecidability of validity, able without reference to a concrete model of computation satisfiability, and provability of first-order formulas follow- such as Turing machines, general recursive functions, or ing a synthetic approach based on the computation native the λ-calculus. For instance, representing a given decision to Coq’s constructive type theory. Concretely, we consider problem by a predicate p on a type X, a function f : X ! B Tarski and Kripke semantics as well as classical and intu- with 8x: p x $ f x = tt is a decision procedure, a function itionistic natural deduction systems and provide compact д : N ! X with 8x: p x $ ¹9n: д n = xº is an enumer- many-one reductions from the Post correspondence prob- ation, and a function h : X ! Y with 8x: p x $ q ¹h xº lem (PCP). Moreover, developing a basic framework for syn- for a predicate q on a type Y is a many-one reduction from thetic computability theory in Coq, we formalise standard p to q. Working formally with concrete models instead is results concerning decidability, enumerability, and reducibil- cumbersome, given that every defined procedure needs to ity without reference to a concrete model of computation. be shown representable by a concrete entity of the model.