Three Extensional Models of Type Theory

Total Page:16

File Type:pdf, Size:1020Kb

Three Extensional Models of Type Theory Three extensional models of type theory Benno van den Berg ∗ October 12, 2007 1 Introduction Martin-L¨of’s type theory1 exists in two forms, differing in the formalisation of the identity types. In [15] Per Martin-L¨offormulated his type theory with the extensional rules for the identity types, identifying judgmental and propo- sitional equality. This rendered type-checking and well-formedness of formulas undecidable. For this reason (among others2), he latter formulated intensional rules for the identity type that do preserve the decidability of type-checking and well-formedness of formulas. For this reason, the intensional version is adopted by most implementations. While the type theory with intensional identity fares better as a program- ming language, it has drawbacks from the point of formalising constructive mathematics. In the first place, intensional type theory does not identify exten- sionally equal functions, while in mathematics one traditionally adopts a thor- oughly extensional point of view. Secondly, the type theory lacks the ability to build quotients, i.e., one cannot redefine the notion of equality on a certain type. As building quotients is also common practice in the life of the mathematician, this presents another problem for formalising constructive mathematics. In the words of Martin Hofmann, intensional type theory lacks extensional constructs. To overcome this problem, Hofmann introduced the notion of setoid [9]. In a manner reminiscent of the distinction made by Bishop between presets and sets, he considers besides the “pure types”, the types that come equipped with an intrinsic notion of equality given by the equality rules, also setoids which are types together with new notion of equality given by a definable equivalence rela- ∗Technische Universit¨atDarmstadt, Fachbereich Mathematik, Schlossgartenstr. 7, 64289 Darmstadt, Germany. [email protected]. 1 In this paper we think of type theory as being formulated with Π, Σ, ×, +, 0, 1, N,W and equality rules, but without universes. This theory is usually called MLW. 2For example, extensional type theory refutes Church’s Thesis. This is a rather surprising, perhaps even undesirable, feature of a system that was meant to serve as a foundation for constructive mathematics. 1 tion.3 As shown by Hofmann, in this way one can overcome both problems: the setoids model extensionality of functions, and allow one to build good quotients. Despite the name, also extensional type theory lacks some extensional con- structs. It identifies extensionally equal functions, but it does not always allow one to build quotients. But also this problem can be overcome by considering setoids, but this time over extensional type theory. From a categorical point of view this can be understood as follows. The fact that the setoids allow one to build “good” quotients means precisely that the category of setoids forms a category that has quotients of equivalence relations that are effective. In other words, the category is exact. In fact, the idea of building setoids is similar to taking the exact completion (as Hofmann points out himself). The exact completion is the universal way (in the appropriate, that means: 2-categorical, sense) of making a cartesian category exact. So in both the intensional and extensional case the category of setoids is not just a category that allows one to model (dependent) product and sum types and inductive types (i.e., is a ΠW -category in the terminology of this paper), but is also exact. So in effect it is a ΠW -pretopos as we will call it, following [17]. This paper compares the free ΠW -pretopos with the two categories of se- toids. It sounds reasonable to think that these categories have to be very close. For also the free ΠW -pretopos is basically a “syntactic” object: just as the free group or ring, it is built from terms from the appropriate language, identifying those terms that are provably equal in the theory. And this is what makes the main result of the paper so surprising: Theorem 1.1 The free ΠW -pretopos, the setoids over intensional type theory and the setoids over extensional type theory are pairwise non-equivalent cate- gories. We will prove this result by comparing the amount of choice that is available in each of these categories. In categorical language, we will compare the projectives in these categories, both the internal and external ones. Identifying the projectives in the two categories of setoids is comparatively easy using the theory of exact completions. Therefore the larger portion of the paper is concerned with studying the projectives in the free ΠW -pretopos. Here the starting point is a result by Carboni who showed (in [4]), by combining glueing with exact completion, that the finite types are (externally) projective in the free locally cartesian closed pretopos.4 We extend this result by showing that this holds for the free ΠW -pretopos as well, the novelty being that the 3Actually, Hofmann works with partial equivalence relations. I am told this is immaterial. [I have to think about this.] 4By the finite types, we mean the objects in the finite type hierarchy over the natural numbers, like N, N × N, NN, etcetera. 2 argument works in the presence of inductive types (in the form of W-types) as well. The contents of this paper as therefore as follows: in Section 2 we will briefly recapitulate the theory of W-types in a categorical context as it appeared in the work of Moerdijk and Palmgren [17]. For these W-types we derive two stability properties: in Section 3 we will show that W-types are stable under glueing,5 making use of the theory of “dependent polynomial functors” developed by Gambino and Hyland [7].6 In Section 4 we introduce the notion of exact com- pletion, discuss its salient properties and prove stability of W-types under exact completion. The latter result was essentially contained in the author’s paper [1], but – unfortunately – not explicitly pointed out there. In Section 5 we prove that in the free ΠW -pretopos all finite types are externally projective, while they are not all internally projective (the latter follows from a folklore fact in the metamathematics of intuitionism). This is used to compare the free ΠW - pretopos with the two categories of setoids, where the situation is shown to be different. It also follows from this comparison that the two categories of setoids are distinct. Finally, we have added an appendix that recalls a few categorical definitions. Acknowledgments: the results reported in this paper were obtained when the author was a PhD student in Utrecht visiting Sweden, and have also ap- peared as a part of his PhD thesis [2]. He would like to thank his supervisor Ieke Moerdijk for valuable assistance, and his hosts in G¨oteborg and Uppsala, Thierry Coquand, Peter Dybjer and Erik Palmgren, as well as Per Martin-L¨of, for generously spending their time discussing type theory. The author would also like to thank Thomas Streicher for helping him out on an essential point, and he gratefully acknowledges the receipt of a travel grant from NWO which allowed him to visit Sweden. 2 W-types Convention: Throughout the paper E will denote a ΠN-category: a locally cartesian closed category with disjoint sums and a natural numbers object. Since the work of Seely [19] we know that Martin-L¨oftype theory can be interpreted in a ΠN-category E (later problems related to substitution were found, for which there exist several solutions, see [8, 11]). The interpretation of the dependent types relies on the fact that for any map f: Y / X in such a category E the pullback functor f ∗: C/X / C/Y 5For glueing along the global sections functor to Sets, this was already proved in [17]. We expect the general result to be useful in the context of Algebraic Set Theory as well (see [3]). 6This is related to the type-theoretic account of general trees due to Petersson and Synek [18]. 3 has both adjoints. The left adjoint Σf is given by composition and interprets the dependent sums, while the right adjoint Πf which derives from the lccc structure of E interprets the dependent products. In [17] this interpretation was extended by Moerdijk and Palmgren to cover the W-types as well. Because their interpretation might be less familiar, and W-types play such a prominent rˆole in this paper, we will discuss them in this section. In type theory, W-types are thought of as inductively generated sets. One can either think of them as free term algebras over a signature, or sets of well- founded trees with a labelling of a particular kind. (It should be pointed out that there are sets which deserve to be called inductively generated, but are not of this form. We refer to [6] for a broader framework for inductive definitions in type theory.) Categorically, a W-type is an instance of an initial algebra. We recall the general definition. Definition 2.1 An algebra for an endofunctor T : E / E consists of an object X in E together with a structure map x: TX / X. These T -algebras form a category, with morphisms from (X, x: TX / X) to (Y, y: TY / Y ) given by arrows p: X / Y in E such that the square T p TX / TY x y / X p Y commutes. Whenever it exists, the initial object in this category will be called the initial T -algebra. W-types are initial algebras for polynomial functors. Definition 2.2 For any map f: Y / X in E, the polynomial functor Pf asso- ciated to f is defined as the composite ∗ Y Πf ΣX E / E/Y / E/X / E.
Recommended publications
  • Sprinkles of Extensionality for Your Vanilla Type Theory
    Sprinkles of extensionality for your vanilla type theory Jesper Cockx1 and Andreas Abel2 1 DistriNet { KU Leuven 2 Department of Computer Science and Engineering { Gothenburg University Dependent types can make your developments (be they programs or proofs) dramatically safer by allowing you to prove that you implemented what you intended. Unfortunately, they can also make your developments dramatically more boring by requiring you to elaborate those proofs in often painstaking detail. For this reason, dependently typed languages typically allow you to cheat by postulating some facts as axioms. However, type theory is not just about which types are inhabited; it's about how things compute. Computationally, an axiom is a stuck term, so it prevents you from evaluating your programs. What if you could postulate not just axioms, but also arbitrary evaluation rules? 1. A typical frustration for people new to proof assistants like Agda or Coq is that 0 + x evaluates to x for arbitrary x, but x + 0 doesn't. Of course, a lemma for x + 0 = x is easy to prove, but having to appeal to this lemma explicitly in all subsequent uses is bothersome. By adding an evaluation rule x + 0 −! x, you can get the automatic application of this lemma. Similarly, you can add a rule x + suc y −! suc (x + y), or (x + y) + z −! x + (y + z). 2. Allais, McBride, and Boutillier[2013] present a series of evaluation rules of this type (which they call ν-rules) for functions on pairs and lists. For example, they have a rule for concatenating with an empty list (l ++ [] −! l), but also rules for simplifying expressions involving map and fold (e.g.
    [Show full text]
  • Equivalents to the Axiom of Choice and Their Uses A
    EQUIVALENTS TO THE AXIOM OF CHOICE AND THEIR USES A Thesis Presented to The Faculty of the Department of Mathematics California State University, Los Angeles In Partial Fulfillment of the Requirements for the Degree Master of Science in Mathematics By James Szufu Yang c 2015 James Szufu Yang ALL RIGHTS RESERVED ii The thesis of James Szufu Yang is approved. Mike Krebs, Ph.D. Kristin Webster, Ph.D. Michael Hoffman, Ph.D., Committee Chair Grant Fraser, Ph.D., Department Chair California State University, Los Angeles June 2015 iii ABSTRACT Equivalents to the Axiom of Choice and Their Uses By James Szufu Yang In set theory, the Axiom of Choice (AC) was formulated in 1904 by Ernst Zermelo. It is an addition to the older Zermelo-Fraenkel (ZF) set theory. We call it Zermelo-Fraenkel set theory with the Axiom of Choice and abbreviate it as ZFC. This paper starts with an introduction to the foundations of ZFC set the- ory, which includes the Zermelo-Fraenkel axioms, partially ordered sets (posets), the Cartesian product, the Axiom of Choice, and their related proofs. It then intro- duces several equivalent forms of the Axiom of Choice and proves that they are all equivalent. In the end, equivalents to the Axiom of Choice are used to prove a few fundamental theorems in set theory, linear analysis, and abstract algebra. This paper is concluded by a brief review of the work in it, followed by a few points of interest for further study in mathematics and/or set theory. iv ACKNOWLEDGMENTS Between the two department requirements to complete a master's degree in mathematics − the comprehensive exams and a thesis, I really wanted to experience doing a research and writing a serious academic paper.
    [Show full text]
  • A Rewrite System for Elimination of the Functional Extensionality and Univalence Axioms
    A Rewrite System for Elimination of the Functional Extensionality and Univalence Axioms Raphaël Cauderlier Abstract We explore the adaptation of the ideas that we developed for automatic elimination of classical axioms [5] to extensionality axioms in Type Theory. Extensionality axioms are added to Type Theory when we lack a way to prove equality between two indistinguishable objects. These indistinguishable objects might be logically-equivalent propo- sitions, pointwise equal functions, pointwise equivalent predicates, or equivalent (isomorphic) types leading to the various following extensionality axioms: Propositional extensionality: PE :ΠP; Q : Prop: (P , Q) ! P =Prop Q Non-dependent functional extensionality: NFE :ΠA; B : U: Πf; g :(A ! B): (Πa : A: f a =B g a) ! f =A!B g Dependent functional extensionality: DF E :ΠA : U: ΠB :(A ! U): Πf; g : (Πa : A ! B(a)): (Πa : A: f a =B(a) g a) ! f =Πa:A: B(a) g Predicate extensionality: P redE :ΠA : U: ΠP; Q :(A ! Prop): (Πa : A: P a , Q a) ! P =A!Prop Q Set extensionality: SetE :ΠA : U: ΠX; Y : set(A): (Πa : A: a 2 X , a 2 Y ) ! X =set(A) Y Univalence: let idtoeqv be the canonical function of type ΠA; B : U: (A =U B) ! (A ≈ B), for all types A; B : U, idtoeqv AB is an equivalence between the types A =U B and A ≈ B. In these axiom statements, the symbol =A denotes equality between two terms of type A, set(A) is type of the sets of elements of A, 2 is the set membership relation, U is a universe and ' is the equivalence relation over types in U.
    [Show full text]
  • The Axiom of Choice and the Law of Excluded Middle in Weak Set Theories
    The Axiom of Choice and the Law of Excluded Middle in Weak Set Theories John L. Bell Department of Philosophy, University of Western Ontario In constructive mathematics the axiom of choice (AC) has a somewhat ambiguous status. On the one hand, in intuitionistic set theory, or the local set theory associated with a topos ([2]) it can be shown to entail the law of excluded middle (LEM) ([ 3 ], [ 5 ]). On the other hand, under the “propositions-as types” interpretation which lies at the heart of constructive predicative type theories such as that of Martin-Löf [9], the axiom of choice is actually derivable (see, e.g. [11] ), and so certainly cannot entail the law of excluded middle. This incongruity has been the subject of a number of recent investigations, for example [6], [7], [9], [12]. What has emerged is that for the derivation of LEM from AC to go through it is sufficient that sets (in particular power sets), or functions, have a degree of extensionality which is, so to speak, built into the usual set theories but is incompatible with constructive type theories Another condition, independent of extensionality, ensuring that the derivation goes through is that any equivalence relation determines a quotient set. LEM can also be shown to follow from a suitably extensionalized version of AC. The arguments establishing these intriguing results have mostly been formulated within a type-theoretic framework. It is my purpose here to formulate and derive analogous results within a comparatively straightforward set-theoretic framework. The core principles of this framework form a theory – weak set theory WST – which lacks the axiom of extensionality1 and supports only minimal set-theoretic constructions.
    [Show full text]
  • Does Universalism Entail Extensionalism?
    NOUSˆ 00:00 (2014) 1–12 doi: 10.1111/nous.12063 Does Universalism Entail Extensionalism? A. J. COTNOIR University of St Andrews Abstract Does a commitment to mereological universalism automatically bring along a commitment to the controversial doctrine of mereological extensionalism—the view that objects with the same proper parts are identical? A recent argument suggests the answer is ‘yes’. This paper attempts a systematic response to the argument, considering nearly every available line of reply. It argues that only one approach— the mutual parts view—can yield a viable mereology where universalism does not entail extensionalism. Here is an axiomatization of classical extensional mereology, where ‘<’ stands for the proper parthood relation, ‘≤’ stands for the parthood relation (i.e. ‘x ≤ y’ abbreviates ‘x < y ∨ x = y’), and ◦ for mereological overlap (i.e. ‘x ◦ y’abbreviates ‘∃z(z ≤ x ∧ z ≤ y)’). Transitivity (x < y ∧ y < z) → x < z Weak Supplementation x < y →∃z(z ≤ y ∧¬z ◦ x)) Unrestricted Fusion ∀xx∃y F(y, xx). Where fusions are defined via: Fusion F(t, xx):= xx ≤ t ∧∀y(y ≤ t → y ◦ xx)) To simplify notation, I use ‘xx ≤ y’ to mean that each x among xx is part of y; likewise ‘y ◦ xx’meansthaty overlaps some x among xx. It is worth noting that weak supplementation entails the remaining (strict) partial order axioms:1 Irreflexivity x < x Asymmetry x < y → y < x The definition of ≤ provides the corresponding weak partial order principles of reflexivity and antisymmetry. Listing these as separate axioms is unnecessary here; however, this will not be so in what follows.
    [Show full text]
  • Extensionality Versus Constructivity∗
    Extensionality versus Constructivity∗ Silvio Valentini Dipartimento di Matematica Pura ed Applicata Universit`adi Padova via G. Belzoni n.7, I–35131 Padova, Italy [email protected] May 13, 2000 Abstract We will analyze some extensions of Martin-L¨of’s constructive type theory by means of extensional set constructors and we will show that often the most natural requirements over them lead to classical logic or even to inconsistency. 1 Introduction The main purpose of the paper is to show that by adding extensional set- constructors to a constructive set theory like Martin-L¨of’s constructive type theory (see [ML84]) can lead to classical logic, or even to inconsistency, if a great attention is not used. The need for the addition of extensional set constructors to Martin-L¨of’s type theory appears immediately as soon as one tries to develop within such a framework a piece of actual mathematics, as we did with constructive topol- ogy (see the introductory sections in [CSSV]). For instance, one would like to be able to work with power-sets, in order to quantify on the elements of the collection of the subsets of a set, or with quotient-sets, in order to be able to construct in a straightforward way some well known sets, or, at least, with the collection of the finite subsets of a set, in order, for instance, to be able to express easily statements like Tychonoff’s theorem on the compactness of the product of compact spaces. Of course, the main point is to be able to deal with such constructions and still work in a set-theory with such a clear computational semantics as Martin- L¨of’s type theory has.
    [Show full text]
  • 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.
    [Show full text]
  • Extensional Crisis and Proving Identity⋆
    Extensional Crisis and Proving Identity? Ashutosh Gupta1, Laura Kovacs´ 2, Bernhard Kragl1;3, and Andrei Voronkov4 1 IST Austria 2 Chalmers University of Technology 3 Vienna University of Technology 4 The University of Manchester Abstract. Extensionality axioms are common when reasoning about data collec- tions, such as arrays and functions in program analysis, or sets in mathematics. An extensionality axiom asserts that two collections are equal if they consist of the same elements at the same indices. Using extensionality is often required to show that two collections are equal. A typical example is the set theory theorem (8x)(8y)x [ y = y [ x. Interestingly, while humans have no problem with prov- ing such set identities using extensionality, they are very hard for superposition theorem provers because of the calculi they use. In this paper we show how ad- dition of a new inference rule, called extensionality resolution, allows first-order theorem provers to easily solve problems no modern first-order theorem prover can solve. We illustrate this by running the VAMPIRE theorem prover with exten- sionality resolution on a number of set theory and array problems. Extensionality resolution helps VAMPIRE to solve problems from the TPTP library of first-order problems that were never solved before by any prover. 1 Introduction Software verification involves reasoning about data collections, such as arrays, sets, and functions. Many modern programming languages support native collection types or have standard libraries for collection types. Many interesting properties of collections are expressed using both quantifiers and theory specific predicates and functions. Unless these properties fall into a decidable theory supported by existing satisfiability modulo theories (SMT) solvers or theorem provers, verifying them requires a combination of reasoning with quantifiers and collection-specific reasoning.
    [Show full text]
  • Intensionality, Extensionality, and Proof Irrelevance in Modal Type Theory
    Intensionality, Extensionality, and Proof Irrelevance in Modal Type Theory Frank Pfenning∗ Department of Computer Science Carnegie Mellon University [email protected] Abstract decidable, non-extensional theory. On the other hand, we need external arguments to validate the correctness of pro- We develop a uniform type theory that integrates inten- grams, defeating at least in part the motivations underly- sionality, extensionality, and proof irrelevance as judgmen- ing the separation of judgments from propositions [11, 12]. tal concepts. Any object may be treated intensionally (sub- Furthermore, the development of extensional concepts in a ject only to α-conversion), extensionally (subject also to non-extensional type theory is far from straightforward, as βη-conversion), or as irrelevant (equal to any other object can be seen from Hofmann’s systematic study [10]. at the same type), depending on where it occurs. Modal re- Related is the issue of proof irrelevance, which plays an strictions developed in prior work for simple types are gen- important role in the development of mathematical concepts eralized and employed to guarantee consistency between in type theory via subset types or quotient types. For exam- these views of objects. Potential applications are in logical ple, the type {x:A | B(x)} should contain the elements M frameworks, functional programming, and the foundations of type A that satisfy property B. If we want type-checking of first-order modal logics. to be decidable, we require evidence that B(M) is satisfied, Our type theory contrasts with previous approaches that but we should not distinguish between different proofs of a priori distinguish propositions (whose proofs are all B(M)—they are irrelevant.
    [Show full text]
  • First-Order Logic in a Nutshell Syntax
    First-Order Logic in a Nutshell 27 numbers is empty, and hence cannot be a member of itself (otherwise, it would not be empty). Now, call a set x good if x is not a member of itself and let C be the col- lection of all sets which are good. Is C, as a set, good or not? If C is good, then C is not a member of itself, but since C contains all sets which are good, C is a member of C, a contradiction. Otherwise, if C is a member of itself, then C must be good, again a contradiction. In order to avoid this paradox we have to exclude the collec- tion C from being a set, but then, we have to give reasons why certain collections are sets and others are not. The axiomatic way to do this is described by Zermelo as follows: Starting with the historically grown Set Theory, one has to search for the principles required for the foundations of this mathematical discipline. In solving the problem we must, on the one hand, restrict these principles sufficiently to ex- clude all contradictions and, on the other hand, take them sufficiently wide to retain all the features of this theory. The principles, which are called axioms, will tell us how to get new sets from already existing ones. In fact, most of the axioms of Set Theory are constructive to some extent, i.e., they tell us how new sets are constructed from already existing ones and what elements they contain. However, before we state the axioms of Set Theory we would like to introduce informally the formal language in which these axioms will be formulated.
    [Show full text]
  • SET THEORY Andrea K. Dieterly a Thesis Submitted to the Graduate
    SET THEORY Andrea K. Dieterly A Thesis Submitted to the Graduate College of Bowling Green State University in partial fulfillment of the requirements for the degree of MASTER OF ARTS August 2011 Committee: Warren Wm. McGovern, Advisor Juan Bes Rieuwert Blok i Abstract Warren Wm. McGovern, Advisor This manuscript was to show the equivalency of the Axiom of Choice, Zorn's Lemma and Zermelo's Well-Ordering Principle. Starting with a brief history of the development of set history, this work introduced the Axioms of Zermelo-Fraenkel, common applications of the axioms, and set theoretic descriptions of sets of numbers. The book, Introduction to Set Theory, by Karel Hrbacek and Thomas Jech was the primary resource with other sources providing additional background information. ii Acknowledgements I would like to thank Warren Wm. McGovern for his assistance and guidance while working and writing this thesis. I also want to thank Reiuwert Blok and Juan Bes for being on my committee. Thank you to Dan Shifflet and Nate Iverson for help with the typesetting program LATEX. A personal thank you to my husband, Don, for his love and support. iii Contents Contents . iii 1 Introduction 1 1.1 Naive Set Theory . 2 1.2 The Axiom of Choice . 4 1.3 Russell's Paradox . 5 2 Axioms of Zermelo-Fraenkel 7 2.1 First Order Logic . 7 2.2 The Axioms of Zermelo-Fraenkel . 8 2.3 The Recursive Theorem . 13 3 Development of Numbers 16 3.1 Natural Numbers and Integers . 16 3.2 Rational Numbers . 20 3.3 Real Numbers .
    [Show full text]
  • Identity, Equality, Nameability and Completeness∗
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE Bulletin of the Section of Logic Volume 46:3/4 (2017), pp. 169–195 http://dx.doi.org/10.18778/0138-0680.46.3.4.02 Mar´ıa Manzano and Manuel Crescencio Moreno IDENTITY, EQUALITY, NAMEABILITY AND COMPLETENESS∗ Abstract This article is an extended promenade strolling along the winding roads of iden- tity, equality, nameability and completeness, looking for places where they con- verge. We have distinguished between identity and equality; the first is a binary relation between objects while the second is a symbolic relation between terms. Owing to the central role the notion of identity plays in logic, you can be inter- ested either in how to define it using other logical concepts or in the opposite scheme. In the first case, one investigates what kind of logic is required. In the second case, one is interested in the definition of the other logical concepts (con- nectives and quantifiers) in terms of the identity relation, using also abstraction. The present paper investigates whether identity can be introduced by def- inition arriving to the conclusion that only in full higher-order logic a reliable definition of identity is possible. However, the definition needs the standard semantics and we know that with this semantics completeness is lost. We have also studied the relationship of equality with comprehension and extensionality and pointed out the relevant role played by these two axioms in Henkin’s completeness method. We finish our paper with a section devoted to general semantics, where the role played by the nameable hierarchy of types is the key in Henkin’s completeness method.
    [Show full text]