Intensionality, Extensionality, and Proof Irrelevance in Modal Type Theory

Total Page:16

File Type:pdf, Size:1020Kb

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. identified—only their existence is important) from specifi- In this paper we present a type theory that internalizes cations (whose implementations are subject to some defini- the concepts of intensionality, extensionality, and proof ir- tional equalities). relevance via distinctions familiar from modal logic. We strictly follow Martin-L¨of’s separation of judgments from propositions and both type-checking and definitional equal- ity are decidable. 1 Introduction At the heart of our modal type theory are three judgments In the development of type theory, there has been con- M :: AMis an expression of type A, siderable debate about the degree of extensionality or inten- M : AMis an term of type A,and sionality that should be inherent in its formulation. In an ex- M ÷AMis a proof of type A, tensional theory such as the one underlying Nuprl [4] type- checking is undecidable. In a non-extensional theory1 such constructed from the same set of objects M and types A. as later versions of Martin-L¨of’s type theory [17], we distin- Expressions are treated intensionally: they are subject only guish a definitional equality (also called judgmental equal- to α-conversion. Terms are treated extensionally:they ity) which is not extensional and decidable, from a proposi- are additionally subject to β and η-conversion. Proofs are tional equality which is extensional and undecidable. There treated as if irrelevant: any two proofs of the same type are a number of tradeoffs, both from the philosophical and are identified. All these are part of the definitional equality pragmatic points of view. In an undecidable, extensional of the type theory, which therefore combines intensional- theory, programs are significantly more compact than in a ity, extensionality, and irrelevance into a single system in a ∗ coherent way. This work was partially supported by NSF Grant CCR-9988281. It is a critical property of our type theory that the dis- 1Such type theories are often called intensional, but this is somewhat misleading since the meaning of objects is still subject to some conversion tinction between expressions, terms, and proofs is not made rules. at the time the constituent constants are declared, but at the time those constants are used. Any type A can be seen as 2.1 Syntax the type of an expression, the type of a term (= a specifi- cation), or the type of a proof (= a proposition). Similarly, The syntax is stratified into objects, families, and kinds an object M may be seen as an expression, as a term, or as as for LF. a proof, depending only on whether some conditions on its Kinds K ::= type | Πx:A. K free variables are satisfied. We believe that this flexibility is | Πx::A. K | Πx÷A. K an inherent advantage of our approach compared to a priori Families A ::= a | AM |Πx:A1.A2 separating propositions (inhabited by proofs that are always |A•M|Πx::A1.A2 irrelevant) from specifications (inhabited by terms that are |A◦M|Πx÷A1.A2 never irrelevant). This is the approach mostly taken in the Objects M ::= c | x | λx:A. M | M1 M2 literature (see, for example, [18] or, allowing even for some | λx::A. M | M1 • M2 classical reasoning, [2]). | λx÷A. M | M1 ◦ M2 Our system is also interesting in its relation to intuition- Signatures Σ ::= ·|Σ,a:K |Σ,c:A istic modal logic when we ignore the objects. Our default judgment M : A can be interpreted as “A is true”. The Contexts Γ ::= ·|Γ,x:A|Γ,x::A | Γ,x÷A judgment M :: A can be read as “A is valid”. The judg- Here, M • M is an application whose argument (M ) ment M ÷ A can be read as “A is provable”, hiding the 1 2 2 is treated as an expression (intensionally), while M ◦ M proof object. These can be seen as modes of truth, and the 1 2 is an application whose argument is treated as a proof (ir- work presented here is an extension of prior work on proof relevant for equality). We use K for kinds, A, B, C for term calculi for the modal logic S4 [20] where validity cor- type families, M, N, P for objects, Γ for contexts and Σ responds to necessary truth. for signatures. We also use the symbol “kind” to clas- In a type theory as a foundation for functional program- sify the valid kinds. We consider terms that differ only in ming, irrelevant objects (that is, proofs) are erased be- the names of their bound variables as identical. We write fore execution without affecting the observable outcome. [N/x]M, [N/x]A and [N/x]K for capture-avoiding substi- From this point of view, our type system internally captures tution. Signatures and contexts may declare each constant a notion of dead-code elimination (see, for example, [1] and variable at most once. For example, when we write for a survey and position paper on related type-based ap- Γ,x:A we assume that x is not already declared in Γ.If proaches). However, we need to extend our type theory with necessary, we tacitly rename x before adding it to the con- first-class modal operators in order to use it in the context text Γ. Since a signature is generally fixed, and constants of a complete functional language. Two non-dependent the- may be used anywhere, we have permitted only two forms ories in this style are given in [20], explaining an intuition- of constant declaration, namely a:K and c:A. Note that this 3 istic modal logic with necessity (2A) and possibility ( A). is not a restriction for our applications, since it is the use not A proper treatment of the fully dependent version of these the definition of a constant which determines its status with theories would seem to require an equational theory with respect to definitional equality. commuting conversions and is therefore left to future work. Fortunately, it is possible to develop a consistent and useful 2.2 Judgments type theory where these judgments are considered primarily as hypotheses. Instead of internalizing them as modal op- The modal type theory is defined by the following prin- erators, we internalize the corresponding hypothetical judg- cipal judgments. ment as function types. Such a restriction is not new—it ` goes back to similar treatments of linear logic [9] and linear Σ sig Σ is a valid signature ` type theory [3] with similar motivations. Σ Γ ctx Γ is a valid context In the remainder of the paper we present our type theory, Γ `Σ M : AMhas type A investigate its properties, and sketch some further develop- Γ `Σ A : KAhas type K ments and potential applications. Γ `Σ K : kind K is a valid kind Γ `Σ M = N : AMextensionally equals N Γ ` A = B : KA B 2 A Modal Type Theory Σ extensionally equals Γ `Σ K = L : kind K extensionally equals L Γ ` M ≡ N : AMintensionally equals N Our modal type theory is a conservative extension of Σ LF [7]. Our approach follows the outline of [8], adapted As explained later, intensional equality for types and here to our more general type theory. The interested reader kinds is not needed directly, and proof irrelevance is a de- may find additional details in [19]. rived concept. 2 For the judgment `Σ Γ ctx we presuppose that Σ is a Irrelevant Proofs. The new judgments valid signature. For the remaining judgments of the form ` ÷ Γ `Σ J we presuppose that Σ is a valid signature and that Γ Γ Σ M AMis a proof of type A ` ÷ is valid in Σ. For the sake of brevity we omit the signature Γ Σ A KAis a proof type of kind K ` ÷ Σ from all judgments but the first, since it does not change Γ Σ M = N AMand N are equal proofs ` ÷ throughout a derivation. Γ Σ A = B KAand B are equal proof types If J is a typing or equality judgment, then we write [M/x]J for the obvious substitution of M for x in J.For are defined by the following rules example, if J is N : B,then[M/x]J stands for the judg- ⊕ ` ⊕ ` ment [M/x]N :[M/x]B.
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]
  • 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]
  • 1. the Zermelo Fraenkel Axioms of Set Theory
    1. The Zermelo Fraenkel Axioms of Set Theory The naive definition of a set as a collection of objects is unsatisfactory: The objects within a set may themselves be sets, whose elements are also sets, etc. This leads to an infinite regression. Should this be allowed? If the answer is “yes”, then such a set certainly would not meet our intuitive expectations of a set. In particular, a set for which A A holds contradicts our intuition about a set. This could be formulated as a first∈ axiom towards a formal approach towards sets. It will be a later, and not very essential axiom. Not essential because A A will not lead to a logical contradiction. This is different from Russel’s paradox:∈ Let us assume that there is something like a universe of all sets. Given the property A/ A it should define a set R of all sets for which this property holds. Thus R = A∈ A/ A . Is R such a set A? Of course, we must be able to ask this { | ∈ } question. Notice, if R is one of the A0s it must satisfy the condition R/ R. But by the very definition of R, namely R = A A/ A we get R R iff R/∈ R. Of course, this is a logical contradiction. But{ how| can∈ } we resolve it?∈ The answer∈ will be given by an axiom that restricts the definition of sets by properties. The scope of a property P (A), like P (A) A/ A, must itself be a set, say B. Thus, instead of R = A A/ A we define≡ for any∈ set B the set R(B) = A A B, A / A .
    [Show full text]