Categorical Models of Constructive Logic
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
An Introduction to Category Theory and Categorical Logic
An Introduction to Category Theory and Categorical Logic Wolfgang Jeltsch Category theory An Introduction to Category Theory basics Products, coproducts, and and Categorical Logic exponentials Categorical logic Functors and Wolfgang Jeltsch natural transformations Monoidal TTU¨ K¨uberneetika Instituut categories and monoidal functors Monads and Teooriaseminar comonads April 19 and 26, 2012 References An Introduction to Category Theory and Categorical Logic Category theory basics Wolfgang Jeltsch Category theory Products, coproducts, and exponentials basics Products, coproducts, and Categorical logic exponentials Categorical logic Functors and Functors and natural transformations natural transformations Monoidal categories and Monoidal categories and monoidal functors monoidal functors Monads and comonads Monads and comonads References References An Introduction to Category Theory and Categorical Logic Category theory basics Wolfgang Jeltsch Category theory Products, coproducts, and exponentials basics Products, coproducts, and Categorical logic exponentials Categorical logic Functors and Functors and natural transformations natural transformations Monoidal categories and Monoidal categories and monoidal functors monoidal functors Monads and Monads and comonads comonads References References An Introduction to From set theory to universal algebra Category Theory and Categorical Logic Wolfgang Jeltsch I classical set theory (for example, Zermelo{Fraenkel): I sets Category theory basics I functions from sets to sets Products, I composition -
Categorical Semantics of Constructive Set Theory
Categorical semantics of constructive set theory Beim Fachbereich Mathematik der Technischen Universit¨atDarmstadt eingereichte Habilitationsschrift von Benno van den Berg, PhD aus Emmen, die Niederlande 2 Contents 1 Introduction to the thesis 7 1.1 Logic and metamathematics . 7 1.2 Historical intermezzo . 8 1.3 Constructivity . 9 1.4 Constructive set theory . 11 1.5 Algebraic set theory . 15 1.6 Contents . 17 1.7 Warning concerning terminology . 18 1.8 Acknowledgements . 19 2 A unified approach to algebraic set theory 21 2.1 Introduction . 21 2.2 Constructive set theories . 24 2.3 Categories with small maps . 25 2.3.1 Axioms . 25 2.3.2 Consequences . 29 2.3.3 Strengthenings . 31 2.3.4 Relation to other settings . 32 2.4 Models of set theory . 33 2.5 Examples . 35 2.6 Predicative sheaf theory . 36 2.7 Predicative realizability . 37 3 Exact completion 41 3.1 Introduction . 41 3 4 CONTENTS 3.2 Categories with small maps . 45 3.2.1 Classes of small maps . 46 3.2.2 Classes of display maps . 51 3.3 Axioms for classes of small maps . 55 3.3.1 Representability . 55 3.3.2 Separation . 55 3.3.3 Power types . 55 3.3.4 Function types . 57 3.3.5 Inductive types . 58 3.3.6 Infinity . 60 3.3.7 Fullness . 61 3.4 Exactness and its applications . 63 3.5 Exact completion . 66 3.6 Stability properties of axioms for small maps . 73 3.6.1 Representability . 74 3.6.2 Separation . 74 3.6.3 Power types . -
Implicative Algebras: a New Foundation for Realizability and Forcing
Under consideration for publication in Math. Struct. in Comp. Science Implicative algebras: a new foundation for realizability and forcing Alexandre MIQUEL1 1 Instituto de Matem´atica y Estad´ıstica Prof. Ing. Rafael Laguardia Facultad de Ingenier´ıa{ Universidad de la Rep´ublica Julio Herrera y Reissig 565 { Montevideo C.P. 11300 { URUGUAY Received 1 February 2018 We introduce the notion of implicative algebra, a simple algebraic structure intended to factorize the model constructions underlying forcing and realizability (both in intuitionistic and classical logic). The salient feature of this structure is that its elements can be seen both as truth values and as (generalized) realizers, thus blurring the frontier between proofs and types. We show that each implicative algebra induces a (Set-based) tripos, using a construction that is reminiscent from the construction of a realizability tripos from a partial combinatory algebra. Relating this construction with the corresponding constructions in forcing and realizability, we conclude that the class of implicative triposes encompass all forcing triposes (both intuitionistic and classical), all classical realizability triposes (in the sense of Krivine) and all intuitionistic realizability triposes built from total combinatory algebras. 1. Introduction 2. Implicative structures 2.1. Definition Definition 2.1 (Implicative structure). An implicative structure is a complete meet- semilattice (A ; 4) equipped with a binary operation (a; b) 7! (a ! b), called the impli- cation of A , that fulfills the following two axioms: (1) Implication is anti-monotonic w.r.t. its first operand and monotonic w.r.t. its second operand: 0 0 0 0 0 0 if a 4 a and b 4 b ; then (a ! b) 4 (a ! b )(a; a ; b; b 2 A ) (2) Implication commutes with arbitrary meets on its second operand: a ! kb = k(a ! b)(a 2 A ;B ⊆ A ) b2B b2B Remarks 2.2. -
Logic and Categories As Tools for Building Theories
Logic and Categories As Tools For Building Theories Samson Abramsky Oxford University Computing Laboratory 1 Introduction My aim in this short article is to provide an impression of some of the ideas emerging at the interface of logic and computer science, in a form which I hope will be accessible to philosophers. Why is this even a good idea? Because there has been a huge interaction of logic and computer science over the past half-century which has not only played an important r^olein shaping Computer Science, but has also greatly broadened the scope and enriched the content of logic itself.1 This huge effect of Computer Science on Logic over the past five decades has several aspects: new ways of using logic, new attitudes to logic, new questions and methods. These lead to new perspectives on the question: What logic is | and should be! Our main concern is with method and attitude rather than matter; nevertheless, we shall base the general points we wish to make on a case study: Category theory. Many other examples could have been used to illustrate our theme, but this will serve to illustrate some of the points we wish to make. 2 Category Theory Category theory is a vast subject. It has enormous potential for any serious version of `formal philosophy' | and yet this has hardly been realized. We shall begin with introduction to some basic elements of category theory, focussing on the fascinating conceptual issues which arise even at the most elementary level of the subject, and then discuss some its consequences and philosophical ramifications. -
Notes on Categorical Logic
Notes on Categorical Logic Anand Pillay & Friends Spring 2017 These notes are based on a course given by Anand Pillay in the Spring of 2017 at the University of Notre Dame. The notes were transcribed by Greg Cousins, Tim Campion, L´eoJimenez, Jinhe Ye (Vincent), Kyle Gannon, Rachael Alvir, Rose Weisshaar, Paul McEldowney, Mike Haskel, ADD YOUR NAMES HERE. 1 Contents Introduction . .3 I A Brief Survey of Contemporary Model Theory 4 I.1 Some History . .4 I.2 Model Theory Basics . .4 I.3 Morleyization and the T eq Construction . .8 II Introduction to Category Theory and Toposes 9 II.1 Categories, functors, and natural transformations . .9 II.2 Yoneda's Lemma . 14 II.3 Equivalence of categories . 17 II.4 Product, Pullbacks, Equalizers . 20 IIIMore Advanced Category Theoy and Toposes 29 III.1 Subobject classifiers . 29 III.2 Elementary topos and Heyting algebra . 31 III.3 More on limits . 33 III.4 Elementary Topos . 36 III.5 Grothendieck Topologies and Sheaves . 40 IV Categorical Logic 46 IV.1 Categorical Semantics . 46 IV.2 Geometric Theories . 48 2 Introduction The purpose of this course was to explore connections between contemporary model theory and category theory. By model theory we will mostly mean first order, finitary model theory. Categorical model theory (or, more generally, categorical logic) is a general category-theoretic approach to logic that includes infinitary, intuitionistic, and even multi-valued logics. Say More Later. 3 Chapter I A Brief Survey of Contemporary Model Theory I.1 Some History Up until to the seventies and early eighties, model theory was a very broad subject, including topics such as infinitary logics, generalized quantifiers, and probability logics (which are actually back in fashion today in the form of con- tinuous model theory), and had a very set-theoretic flavour. -
Arxiv:1912.09166V1 [Math.LO]
HYPER-MACNEILLE COMPLETIONS OF HEYTING ALGEBRAS JOHN HARDING AND FREDERIK MOLLERSTR¨ OM¨ LAURIDSEN Abstract. A Heyting algebra is supplemented if each element a has a dual pseudo-com- plement a+, and a Heyting algebra is centrally supplement if it is supplemented and each supplement is central. We show that each Heyting algebra has a centrally supplemented ex- tension in the same variety of Heyting algebras as the original. We use this tool to investigate a new type of completion of Heyting algebras arising in the context of algebraic proof theory, the so-called hyper-MacNeille completion. We show that the hyper-MacNeille completion of a Heyting algebra is the MacNeille completion of its centrally supplemented extension. This provides an algebraic description of the hyper-MacNeille completion of a Heyting algebra, allows development of further properties of the hyper-MacNeille completion, and provides new examples of varieties of Heyting algebras that are closed under hyper-MacNeille comple- tions. In particular, connections between the centrally supplemented extension and Boolean products allow us to show that any finitely generated variety of Heyting algebras is closed under hyper-MacNeille completions. 1. Introduction Recently, a unified approach to establishing the existence of cut-free hypersequent calculi for various substructural logics has been developed [11]. It is shown that there is a countably infinite set of equations/formulas, called P3, such that, in the presence of weakening and exchange, any logic axiomatized by formulas from P3 admits a cut-free hypersequent calculus obtained by adding so-called analytic structural rules to a basic hypersequent calculus. The key idea is to establish completeness for the calculus without the cut-rule with respect to a certain algebra and then to show that for any set of rules coming from P3-formulas the calculus with the cut-rule is also sound with respect to this algebra. -
Categorical Logic from a Categorical Point of View
Categorical logic from a categorical point of view Michael Shulman DRAFT for AARMS Summer School 2016 Version of July 28, 2016 2 ii Contents Prefacei 0 Introduction3 0.1 Appetizer: inverses in group objects................3 0.2 On syntax and free objects.....................8 0.3 On type theory and category theory................ 12 0.4 Expectations of the reader...................... 16 1 Unary type theories 19 1.1 Posets................................. 19 1.2 Categories............................... 23 1.2.1 Primitive cuts......................... 24 1.2.2 Cut admissibility....................... 29 1.3 Meet-semilattices........................... 39 1.3.1 Sequent calculus for meet-semilattices........... 40 1.3.2 Natural deduction for meet-semilattices.......... 44 1.4 Categories with products...................... 47 1.5 Categories with coproducts..................... 56 1.6 Universal properties and modularity................ 61 1.7 Presentations and theories...................... 63 1.7.1 Group presentations..................... 64 1.7.2 Category presentations.................... 66 1.7.3 ×-presentations........................ 68 1.7.4 Theories............................ 75 2 Simple type theories 85 2.1 Towards multicategories....................... 85 2.2 Introduction to multicategories................... 89 2.3 Multiposets and monoidal posets.................. 93 2.3.1 Multiposets.......................... 93 2.3.2 Sequent calculus for monoidal posets............ 95 2.3.3 Natural deduction for monoidal posets........... 99 2.4 -
Lecture Notes: Introduction to Categorical Logic
Lecture Notes: Introduction to Categorical Logic [DRAFT: January 16, 2017] Steven Awodey Andrej Bauer January 16, 2017 Contents 1 Review of Category Theory 7 1.1 Categories . 7 1.1.1 The empty category 0 .................... 8 1.1.2 The unit category 1 ..................... 8 1.1.3 Other finite categories . 8 1.1.4 Groups as categories . 8 1.1.5 Posets as categories . 9 1.1.6 Sets as categories . 9 1.1.7 Structures as categories . 9 1.1.8 Further Definitions . 10 1.2 Functors . 11 1.2.1 Functors between sets, monoids and posets . 12 1.2.2 Forgetful functors . 12 1.3 Constructions of Categories and Functors . 12 1.3.1 Product of categories . 12 1.3.2 Slice categories . 13 1.3.3 Opposite categories . 14 1.3.4 Representable functors . 14 1.3.5 Group actions . 16 1.4 Natural Transformations and Functor Categories . 16 1.4.1 Directed graphs as a functor category . 18 1.4.2 The Yoneda Embedding . 19 1.4.3 Equivalence of Categories . 21 1.5 Adjoint Functors . 23 1.5.1 Adjoint maps between preorders . 24 1.5.2 Adjoint Functors . 26 1.5.3 The Unit of an Adjunction . 28 1.5.4 The Counit of an Adjunction . 30 1.6 Limits and Colimits . 31 1.6.1 Binary products . 31 1.6.2 Terminal object . 32 1.6.3 Equalizers . 32 1.6.4 Pullbacks . 33 1.6.5 Limits . 35 [DRAFT: January 16, 2017] 4 1.6.6 Colimits . 39 1.6.7 Binary Coproducts . -
An Institutional View on Categorical Logic and the Curry-Howard-Tait-Isomorphism
An Institutional View on Categorical Logic and the Curry-Howard-Tait-Isomorphism Till Mossakowski1, Florian Rabe2, Valeria De Paiva3, Lutz Schr¨oder1, and Joseph Goguen4 1 Department of Computer Science, University of Bremen 2 School of Engineering and Science, International University of Bremen 3 Intelligent Systems Laboratory, Palo Alto Research Center, California 4 Dept. of Computer Science & Engineering, University of California, San Diego Abstract. We introduce a generic notion of propositional categorical logic and provide a construction of an institution with proofs out of such a logic, following the Curry-Howard-Tait paradigm. We then prove logic-independent soundness and completeness theorems. The framework is instantiated with a number of examples: classical, intuitionistic, linear and modal propositional logics. Finally, we speculate how this framework may be extended beyond the propositional case. 1 Introduction The well-known Curry-Howard-Tait isomorphism establishes a correspondence between { propositions and types { proofs and terms { proof reductions and term reductions. Moreover, in this context, a number of deep correspondences between cate- gories and logical theories have been established (identifying `types' with `objects in a category'): conjunctive logic cartesian categories [19] positive logic cartesian closed categories [19] intuitionistic propositional logic bicartesian closed categories [19] classical propositional logic bicartesian closed categories with [19] ::-elimination linear logic ∗-autonomous categories [33] first-order logic hyperdoctrines [31] Martin-L¨of type theory locally cartesian closed categories [32] Here, we present work aimed at casting these correspondences in a common framework based on the theory of institutions. The notion of institution arose within computer science as a response to the population explosion among logics in use, with the ambition of doing as much as possible at a level of abstraction independent of commitment to any particular logic [16, 18]. -
Induced Morphisms Between Heyting-Valued Models
Induced morphisms between Heyting-valued models Jos´eGoudet Alvim∗ Universidade de S˜ao Paulo, S˜ao Paulo, Brasil Arthur Francisco Schwerz Cahali† Universidade de S˜ao Paulo, S˜ao Paulo, Brasil Hugo Luiz Mariano‡ Universidade de S˜ao Paulo, S˜ao Paulo, Brasil December 4, 2019 Abstract To the best of our knowledge, there are very few results on how Heyting-valued models are affected by the morphisms on the complete Heyting algebras that de- termine them: the only cases found in the literature are concerning automorphisms of complete Boolean algebras and complete embedding between them (i.e., injec- tive Boolean algebra homomorphisms that preserves arbitrary suprema and arbi- trary infima). In the present work, we consider and explore how more general kinds of morphisms between complete Heyting algebras H and H′ induce arrows ′ between V(H) and V(H ), and between their corresponding localic toposes Set(H) ′ (≃ Sh (H)) and Set(H ) (≃ Sh (H′)). In more details: any geometric morphism ′ f ∗ : Set(H) → Set(H ), (that automatically came from a unique locale morphism ′ f : H → H′), can be “lifted” to an arrow f˜ : V(H) → V(H ). We also provide also ′ some semantic preservation results concerning this arrow f˜ : V(H) → V(H ). Introduction The expression “Heyting-valued model of set theory” has two (related) meanings, both arXiv:1910.08193v2 [math.CT] 3 Dec 2019 parametrized by a complete Heyting algebra H: (i) The canonical Heyting-valued models in set theory, V(H), as introduced in the setting of complete boolean algebras in the 1960s by D. Scott, P. -
Toy Examples Concerning the Bousfield Lattice
Toy examples concerning the Bousfield lattice Greg Stevenson October 26, 2011 Contents 1 Introduction 1 2 RecollectionsonHeytingandBooleanalgebras 1 3 AnycompleteBooleanalgebraisaBousfieldlattice 3 4 NoteverylocalizingidealisaBousfieldclass 7 5 Strange behaviour of the Bousfield lattice under localization 8 1 Introduction The aim of this note is to give some examples of toy tensor triangulated categories to illustrate certain properties of the Bousfield lattice; it serves to show that one can not be too ambitious in trying to prove general results about the Bousfield lattice. 2 Recollections on Heyting and Boolean algebras In this section we give a brief reminder of the definitions of Heyting algebras, Boolean algebras, and of the Booleanization functor. Notation 2.1. Let L be a lattice. All our lattices will be bounded and we denote by 0 and 1 (or 0L and 1L if our notation would otherwise be ambiguous) the minimal and maximal elements of L respectively. We use and to denote the join and meet on L. ∨ ∧ Definition 2.2. A Heyting algebra is a lattice H equipped with an implication oper- ation : Hop H H satisfying the following universal property: ⇒ × −→ (l m) n if and only if l (m n) ∧ ≤ ≤ ⇒ for all l,m,n H. A complete Heyting algebra is a Heyting algebra which is complete as a lattice. ∈ 1 2 RECOLLECTIONS ON HEYTING AND BOOLEAN ALGEBRAS 2 A morphism of Heyting algebras is a morphism of lattices which preserves impli- cation. A morphism of complete Heyting algebras is a morphism of lattices which preserves implication and arbitrary joins. It is standard that Heyting algebras are distributive and that complete Heyting algebras are the same as frames i.e., complete distributive lattices. -
Seminar I Boolean and Modal Algebras
Seminar I Boolean and Modal Algebras Dana S. Scott University Professor Emeritus Carnegie Mellon University Visiting Scholar University of California, Berkeley Visiting Fellow Magdalen College, Oxford Oxford, Tuesday 25 May, 2010 Edinburgh, Wednesday 30 June, 2010 A Very Brief Potted History Gödel gave us two translations: (1) classical into intuitionistic using not-not, and (2) intuitionistic into S4-modal logic. Tarski and McKinsey reviewed all this algebraically in propositional logic, proving completeness of (2). Mostowski suggested the algebraic interpretation of quantifiers. Rasiowa and Sikorski went further with first-order logic, giving many completeness proofs (pace Kanger, Hintikka and Kripke). Montague applied higher-order modal logic to linguistics. Solovay and Scott showed how Cohen's forcing for ZFC can be considered under (1). Bell wrote a book (now 3rd ed.). Gallin studied a Boolean-valued version of Montague semantics. Myhill, Goodman, Flagg and Scedrov made proposals about modal ZF. Fitting studied modal ZF models and he and Smullyan worked out forcing results using both (1) and (2). What is a Lattice? 0 ≤ x ≤ 1 Bounded x ≤ x Partially Ordered x ≤ y & y ≤ z ⇒ x ≤ z Set x ≤ y & y ≤ x ⇒ x = y x ∨ y ≤ z ⇔ x ≤ z & y ≤ z With sups & z ≤ x ∧ y ⇔ z ≤ x & z ≤ y With infs What is a Complete Lattice? ∨i∈Ixi ≤ y ⇔ (∀i∈I) xi ≤ y y ≤ ∧i∈Ixi ⇔ (∀i∈I) y ≤ xi Note: ∧i∈Ixi = ∨{y|(∀i∈I) y ≤ xi } What is a Heyting Algebra? x ≤ y→z ⇔ x ∧ y ≤ z What is a Boolean Algebra? x ≤ (y→z) ∨ w ⇔ x ∧ y ≤ z ∨ w Alternatively using Negation x ≤ ¬y ∨ z ⇔ x ∧ y ≤ z Distributivity Theorem: Every Heyting algebra is distributive: x ∧ (y ∨ z) = (x ∧ y) ∨ (x ∧ z) Theorem: Every complete Heyting algebra is (∧ ∨)-distributive: ∧ ∨ = ∨ ∧ x i∈Iyi i∈I(x yi) Note: The dual law does not follow for complete Heyting algebras.