On Equivalents of Well-Foundedness

Total Page:16

File Type:pdf, Size:1020Kb

On Equivalents of Well-Foundedness On Equivalents of Wellfoundedness An experiment in Mizar Piotr Rudnicki Department of Computing Science University of Alberta Canada email piotrcsualbertaca Andrzej Trybulec Institute of Mathematics Warsaw University in Bialystok Poland email trybulecmathuwbedupl Received Accepted in nal form Abstract Four statements equivalent to wellfoundedness wellfounded induction existence of recursively dened functions uniqueness of recursively dened func tions and absence of descending chains have b een proved in Mizar and the pro ofs mechanicall y checked for correctness It seems not to b e widely known that the existence without the uniqueness assumption of recursively dened functions implies wellfoundedness In the pro of we used regular cardinals a fairly advanced notion of set theory The theory of cardinals in Mizar was develop ed earlier by G Bancerek With the current state of the Mizar system the pro ofs turned out to b e an exercise with only minor additions at the fundamental level We would like to stress the imp ortance of a systematic development of a mechanized data base for mathematics in the spirit of the QED Pro ject ENOD Experience Not Only Doctrine G Kreisel Key words Mizar QED Pro ject set theory wellfoundedness regular cardinals Abbreviations The Mizar Mathematical Library MML Octob er Piotr Rudnicki and Andrzej Trybulec Contents Intro duction Mizar The Mizar language Anatomy and pro cessing of a Mizar article Builtin notions Set theory of Mizar The Mizar Mathematical Library Mizar abstracts How to learn Mizar Wellfoundedness and its equivalents The conceptual framework A tour through the denitions Wellfounded induction Existence of recursively dened functions Uniqueness of recursively dened functions Nonexistence of descending chains Conclusions wfndtex no v p On Equivalents of Wellfoundedness Intro duction The pro ject Mizar started more than years ago under the leader ship of Andrzej Trybulec at the Plo ck Scientic So ciety Poland Its original goal was to design and implement a software environment that supp orts writing traditional mathematical pap ers where classical logic and set theory form the basis of all future developments The Mizar software veries correctness of mathematical texts written by humans Mechanical theorem proving has not b een one of the pro jects priorities The logical basis of Mizar is a system of natural deduction close to the comp osite system of logic develop ed by Stanislaw Jaskowski see also Katuzi Ono describ ed a similar sys tem John Harrison intro duced a Mizar mo de for HOL The set theory of Mizar is the TarskiGrothendieck system which is basically the ZermeloFraenkel set theory with the axiom of choice replaced by Tarskis stronger axiom of existence of arbitrar ily large strongly inaccessible cardinals Mizar is b oth the name of a formal languagedesigned by Andrzej Trybulecin which the mathematics is written and of an entire soft ware system that checks the texts for correctness and manages the data base of Mizar articles The systematic collection of Mizar articles started at the b eginning of and MMLthe Mizar Mathematical Library was b orn Development of the library is now the main eort in the pro ject The Mizar language and the asso ciated software evolve new and improved versions of the entire library are p erio dically pro duced It is worthwhile to note that in the pro cess of library evolution many denitions and theorems disapp ear either by b ecoming obvious for the improved language pro cessor or by b ecoming obsolete thanks to newer developments Mizar can b e seen as a trial run of the QED Pro ject which aims to build a computer system that eectively represents all imp ortant mathematical knowledge and techniques However with the mo dest means available Mizar captures only some asp ects of the entire QED idea Overview Section presents some asp ects of the Mizar system the structure of a Mizar article builtin notions the set theory of Mizar and the contents of the MML Although meant as an intro duction the presentation is quite technical at times In Section we discuss the main ideas b ehind the Mizar pro ofs of some equivalents of wellfoundedness it is probably the b est place to start reading this pap er First we present the conceptual framework of the pro ofs and unfold some denitions of the used notions Sections through discuss the actual pro ofs and are indep endent of each other We fo cus wfndtex no v p Piotr Rudnicki and Andrzej Trybulec on the state of the MML that p ermitted us to do the pro ofs with a routine eort by building up on previous contributions to the library The complete pro ofs are attached as App endices The Mizar text in the form discussed here was included into the MML as article WELLFND on February The Mizar system presented b elow is also as of February Because of the evolving nature of Mizar the current state of the article in the MML is dierent and is likely to change in the future Mizar At the moment there is no complete description of the Mizar system to which we could refer Such a description would require a text of substantial length In this section we briey present some asp ects of Mizar that should help in following the sequel The Mizar language Exp erience has shown that many p eople with some mathematical train ing develop a go o d idea ab out the nature of the Mizar language just by browsing through a sample article This is no big surprise since one of the original goals of the pro ject was to build an environment which supp orts the traditional ways that mathematicians work How ever some p eople nd the Mizar notation imp enetrable Therefore we make comments ab out the Mizar language when we use its more imp ortant or less intuitively clear features Because of the richness of the Mizar grammar even a sketchy pre sentation of the entire language is far b eyond the scop e of this pap er Anatomy and processing of a Mizar article A Mizar article is written as a text le and consists of two parts the Environment Declaration and the Text Proper see Figure The Envi ronment Declaration b egins with environ and consists of Directive s The Text Proper is a sequence of Section s each starting with begin and consisting of a sequence of TextItem s The division of the Text Proper into sections is only for editing purp oses and has no impact on the correctness of an article The two parts of an Article are pro cessed by two separate programs the Accommodator and the Verier The Accommodator pro cesses the 1 This division is used for sections when typ esetting Mizar abstracts in T X for E publication in Formalized Mathematics Section wfndtex no v p On Equivalents of Wellfoundedness environ Directive Directive begin TextItem TextItem begin TextItem TextItem Figure The overall structure of a Mizar article Environment Declaration and creates the Environment which consists of a numb er of working les in which the information requested in Directive s and imp orted from the data base is stored The Verier has no direct communication with the data base and checks the correctness of the Text Proper using only the information stored in the Environment les The ecient mechanism for imp orting the information from the MML into the lo cal Environment les is of utmost imp ortance and its design presents a substantial challenge the Accommodator evolves probably faster than other comp onents of Mizar The Environment directives There are two kinds of Directive s Vocabulary Directive s and Library Directive s A Vocabulary is a text le in extended ASCI I in which symb ols are dened The symb ols are qualied with their kind predicate functor mo de structure selector attribute or functor bracket and are used for lexical analysis A Vocabulary Directive has the form vocabulary VocabularyName VocabularyName and requests that all symb ols from the listed vo cabularies b e included in the lo cal environment Vo cabularies are indep endent of Mizar articles Library Directive s request information from the data base for inclu sion in the lo cal environment used later by the verier to check the article The conceptual framework of an article is imp orted by two directives of the following form wfndtex no v p Piotr Rudnicki and Andrzej Trybulec notation ArticleName ArticleName constructors ArticleName ArticleName In Mizar terminology predicates are constructors of atomic for mulae mo des are constructors of typ es functors are constructors of terms and attributes are constructors of adjectives A denition of a constructor gives its syntax and meaning The syntactic format of a constructor sp ecies the symb ol of the constructor and the place and numb er of arguments The format of a constructor together with the information ab out the typ es of arguments is called a pattern The for mats are used for parsing and the patterns for identifying constructors A constructor may b e represented by dierent patterns synonyms and antonyms are allowed and basically the same pattern can b e used for dierent constructors The constructors directive rst imp orts all constructors from the listed articles and then all other constructors needed to understand them As a result if a lo cal environment contains a constructor then it also contains the constructors o ccurring in its typ e and in typ es of its arguments The notation directive imp orts these formats and patterns from the listed articles that are used by the already imp orted constructors provided all the constructors needed to understand
Recommended publications
  • A Taste of Set Theory for Philosophers
    Journal of the Indian Council of Philosophical Research, Vol. XXVII, No. 2. A Special Issue on "Logic and Philosophy Today", 143-163, 2010. Reprinted in "Logic and Philosophy Today" (edited by A. Gupta ans J.v.Benthem), College Publications vol 29, 141-162, 2011. A taste of set theory for philosophers Jouko Va¨an¨ anen¨ ∗ Department of Mathematics and Statistics University of Helsinki and Institute for Logic, Language and Computation University of Amsterdam November 17, 2010 Contents 1 Introduction 1 2 Elementary set theory 2 3 Cardinal and ordinal numbers 3 3.1 Equipollence . 4 3.2 Countable sets . 6 3.3 Ordinals . 7 3.4 Cardinals . 8 4 Axiomatic set theory 9 5 Axiom of Choice 12 6 Independence results 13 7 Some recent work 14 7.1 Descriptive Set Theory . 14 7.2 Non well-founded set theory . 14 7.3 Constructive set theory . 15 8 Historical Remarks and Further Reading 15 ∗Research partially supported by grant 40734 of the Academy of Finland and by the EUROCORES LogICCC LINT programme. I Journal of the Indian Council of Philosophical Research, Vol. XXVII, No. 2. A Special Issue on "Logic and Philosophy Today", 143-163, 2010. Reprinted in "Logic and Philosophy Today" (edited by A. Gupta ans J.v.Benthem), College Publications vol 29, 141-162, 2011. 1 Introduction Originally set theory was a theory of infinity, an attempt to understand infinity in ex- act terms. Later it became a universal language for mathematics and an attempt to give a foundation for all of mathematics, and thereby to all sciences that are based on mathematics.
    [Show full text]
  • Indiscernible Pairs of Countable Sets of Reals at a Given Projective Level
    Indiscernible pairs of countable sets of reals at a given projective level Vladimir Kanovei∗ Vassily Lyubetsky† January 1, 2020 Abstract 1 Using an invariant modification of Jensen’s “minimal Π2 singleton” forcing, we define a model of ZFC, in which, for a given n ≥ 2, there exists 1 an Πn unordered pair of non-OD (hence, OD-indiscernible) countable sets 1 of reals, but there is no Σn unordered pairs of this kind. Any two reals x1 6= x2 are discernible by a simple formula ϕ(x) := x < r for a suitable rational r. Therefore, the lowest (type-theoretic) level of sets where one may hope to find indiscernible elements, is the level of sets of reals. And in- deed, identifying the informal notion of definability with the ordinal definability (OD), one finds indiscernible sets of reals in appropriate generic models. Example 1. If reals a 6= b in 2ω form a Cohen-generic pair over L, then ω the constructibility degrees [a]L = {x ∈ 2 : L[x] = L[a]} and [b]L are OD- indiscernible disjoint sets of reals in L[a, b], by rather straightforward forcing arguments, see [2, Theorem 3.1] and a similar argument in [3, Theorem 2.5]. Example 2. As observed in [5], if reals a 6= b in 2ω form a Sacks-generic pair over L, then the constructibility degrees [a]L and [b]L still are OD-indiscernible disjoint sets in L[a, b], with the additional advantage that the unordered pair arXiv:1912.12962v1 [math.LO] 30 Dec 2019 {[a]L, [b]L } is an OD set in L[a, b] because [a]L, [b]L are the only two minimal degrees in L[a, b].
    [Show full text]
  • The Axiom of Choice
    THE AXIOM OF CHOICE THOMAS J. JECH State University of New York at Bufalo and The Institute for Advanced Study Princeton, New Jersey 1973 NORTH-HOLLAND PUBLISHING COMPANY - AMSTERDAM LONDON AMERICAN ELSEVIER PUBLISHING COMPANY, INC. - NEW YORK 0 NORTH-HOLLAND PUBLISHING COMPANY - 1973 AN Rights Reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior permission of the Copyright owner. Library of Congress Catalog Card Number 73-15535 North-Holland ISBN for the series 0 7204 2200 0 for this volume 0 1204 2215 2 American Elsevier ISBN 0 444 10484 4 Published by: North-Holland Publishing Company - Amsterdam North-Holland Publishing Company, Ltd. - London Sole distributors for the U.S.A. and Canada: American Elsevier Publishing Company, Inc. 52 Vanderbilt Avenue New York, N.Y. 10017 PRINTED IN THE NETHERLANDS To my parents PREFACE The book was written in the long Buffalo winter of 1971-72. It is an attempt to show the place of the Axiom of Choice in contemporary mathe- matics. Most of the material covered in the book deals with independence and relative strength of various weaker versions and consequences of the Axiom of Choice. Also included are some other results that I found relevant to the subject. The selection of the topics and results is fairly comprehensive, nevertheless it is a selection and as such reflects the personal taste of the author. So does the treatment of the subject. The main tool used throughout the text is Cohen’s method of forcing.
    [Show full text]
  • Codomain from Wikipedia, the Free Encyclopedia Contents
    Codomain From Wikipedia, the free encyclopedia Contents 1 Algebra of sets 1 1.1 Fundamentals ............................................. 1 1.2 The fundamental laws of set algebra .................................. 1 1.3 The principle of duality ........................................ 2 1.4 Some additional laws for unions and intersections .......................... 2 1.5 Some additional laws for complements ................................ 3 1.6 The algebra of inclusion ........................................ 3 1.7 The algebra of relative complements ................................. 4 1.8 See also ................................................ 5 1.9 References ............................................... 5 1.10 External links ............................................. 5 2 Axiom of choice 6 2.1 Statement ............................................... 6 2.1.1 Nomenclature ZF, AC, and ZFC ............................... 7 2.1.2 Variants ............................................ 7 2.1.3 Restriction to finite sets .................................... 7 2.2 Usage ................................................. 8 2.3 Examples ............................................... 8 2.4 Criticism and acceptance ....................................... 8 2.5 In constructive mathematics ..................................... 9 2.6 Independence ............................................. 10 2.7 Stronger axioms ............................................ 10 2.8 Equivalents .............................................. 10 2.8.1 Category
    [Show full text]
  • Set Theory – an Overview 1 of 34 Set Theory – an Overview Gary Hardegree Department of Philosophy University of Massachusetts Amherst, MA 01003
    Hardegree, Set Theory – An Overview 1 of 34 Set Theory – An Overview Gary Hardegree Department of Philosophy University of Massachusetts Amherst, MA 01003 1. Membership ...................................................................................................................... 2 2. Extensionality ................................................................................................................... 2 3. The Empty Set .................................................................................................................. 2 4. Simple Sets; Singletons, Doubletons, etc. ........................................................................ 2 5. Pure and Impure Sets ....................................................................................................... 4 6. Set-Abstraction ................................................................................................................. 4 7. Set-Abstract Conversion .................................................................................................. 5 8. Propriety and Impropriety Among Set-Abstracts ............................................................ 5 9. Simple Sets Revisited ....................................................................................................... 6 10. Specific Set-Abstraction ................................................................................................... 6 11. Generalized Set-Abstraction ...........................................................................................
    [Show full text]
  • Representing Model Theory in a Type-Theoretical Logical Framework Fulya Horozal, Florian Rabe ∗ Jacobs University Bremen, Germany Article Info a B S T R a C T
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector Theoretical Computer Science 412 (2011) 4919–4945 Contents lists available at ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs Representing model theory in a type-theoretical logical framework Fulya Horozal, Florian Rabe ∗ Jacobs University Bremen, Germany article info a b s t r a c t Keywords: In a broad sense, logic is the field of formal languages for knowledge and truth that have a Logical framework formal semantics. It tends to be difficult to give a narrower definition because very different Model theory kinds of logics exist. One of the most fundamental contrasts is between the different Proof theory First-order logic methods of assigning semantics. Here two classes can be distinguished: model theoretical Module system semantics based on a foundation of mathematics such as set theory, and proof theoretical semantics based on an inference system possibly formulated within a type theory. Logical frameworks have been developed to cope with the variety of available logics unifying the underlying ontological notions and providing a meta-theory to reason abstractly about logics. While these have been very successful, they have so far focused on either model or proof theoretical semantics. We contribute to a unified framework by showing how the type/proof theoretical Edinburgh Logical Framework (LF) can be applied to the representation of model theoretical logics. We give a comprehensive formal representation of first-order logic, covering both its proof and its model theoretical semantics as well as its soundness in LF.
    [Show full text]
  • 1 Existence and the Empty Set 2 the Axiom of Pairing
    Naive Set Theory Sec 03 Jeyan Burns-Oorjitham https://jeyoor.com 1 Existence and The Empty Set For now, we assume that there exists a set. Later, we will have more advanced assumptions of existence. If a set exists, then we can show as a consequence that there exists a set with no elements. We can find this empty set by applying the Axiom of Specification with a sentence that excludes all the elements within the set. A sentence that is always false (such as x 6= x) will exclude all elements within the set. The empty set is denoted ;. 1.1 Empty Set as a Subset The empty set is a subset of every set. 8A[; ⊂ A] At first, this vacuous truth may seem strange or counterintuitive. However, we can illuminate this fact with a bit of logical argument. Consider what would be required to prove this statement false. By the definition of ⊂, we would have to find an element within ; which does not exist in A for some set A. However, ; has no elements. Thus, the statement can never be shown to be false. Thus, the statement is true. 2 The Axiom of Pairing For any two sets B and C, there exists a set D to which both B and C belong. 8B; C[9D[B 2 D ^ C 2 D]] 2.1 Discussion and Terminology This axiom provides a powerful tool for constructing new sets. It can be repeatedly applied to construct larger and larger sets from multiple elements. It is important to note that, by itself, the Axiom of Pairing does not limit its contents to only the elements listed.
    [Show full text]
  • The Generalised Continuum Hypothesis Implies the Axiom of Choice in Coq
    The Generalised Continuum Hypothesis Implies the Axiom of Choice in Coq Dominik Kirst Felix Rech Saarland University Saarland University Saarland Informatics Campus, Saarbrücken, Germany Saarland Informatics Campus, Saarbrücken, Germany [email protected] [email protected] Abstract between X and P¹Xº for every infinite X. Therefore, GCH We discuss and compare two Coq mechanisations of Sier- narrows the range of the power set operation otherwise left piński’s result that the generalised continuum hypothesis rather underspecified by the usual Zermelo-Fraenkel (ZF) (GCH) implies the axiom of choice (AC). The first version axioms. AC, in one typical set-theoretic formulation, states shows the result, originally stated in first-order ZF set-theory, that every set X of non-empty sets admits a choice function for a higher-order set theory convenient to work with in Coq. f such that f ¹xº 2 x for all x 2 X. The second version presents a corresponding theorem for That GCH as a statement about power sets and cardinal- Coq’s type theory itself, concerning type-theoretic formu- ity implies AC, a statement providing a means to uniformly lations of GCH and AC. Both versions rely on the classical pick elements from non-empty sets, may seem surprising law of excluded middle and extensionality assumptions but indeed [14]. However, since AC is equivalent to the well- we localise the use of axioms where possible. ordering theorem (WO), asserting that every (infinite) set can be well-ordered, and since well-orders transport along in- CCS Concepts: • Theory of computation ! Type the- jections, there is a well-established strategy how Sierpiński’s ory; Constructive mathematics; Higher order logic.
    [Show full text]
  • Sets, Relations, Functions
    Part I Sets, Relations, Functions 1 Chapter 1 Sets 1.1 Basics sfr:set:bas: Sets are the most fundamental building blocks of mathematical objects. In explanation sec fact, almost every mathematical object can be seen as a set of some kind. In logic, as in other parts of mathematics, sets and set-theoretical talk is ubiq- uitous. So it will be important to discuss what sets are, and introduce the notations necessary to talk about sets and operations on sets in a standard way. Definition 1.1 (Set). A set is a collection of objects, considered independently of the way it is specified, of the order of the objects in the set, or of their multiplicity. The objects making up the set are called elements or members of the set. If a is an element of a set X, we write a 2 X (otherwise, a2 = X). The set which has no elements is called the empty set and denoted by the symbol ;. Example 1.2. Whenever you have a bunch of objects, you can collect them together in a set. The set of Richard's siblings, for instance, is a set that contains one person, and we could write it as S = fRuthg. In general, when we have some objects a1,..., an, then the set consisting of exactly those objects is written fa1; : : : ; ang. Frequently we'll specify a set by some property that its elements share|as we just did, for instance, by specifying S as the set of Richard's siblings. We'll use the following shorthand notation for that: fx : : : : x : : :g, where the : : : x : : : stands for the property that x has to have in order to be counted among the elements of the set.
    [Show full text]
  • Set Theory and Logic
    SET THEORY AND LOGIC SET THEORY AND LOGIC by Robert R. Stoll Cle;laixi State University Dover Publications, Inc. NewYork Copyright Copyright (0 1961, 1963 by Robert R. Stoll. All rights reserved. Bibliographical Note This Dover edition, first published in 1979, is an unabridged and corrected republication of the work originally published in 1963 by W H. Freeman and Company. International Standard Book Number ISBN-13: 978-0-486-63829-4 ISBN-10: 0-486-63829-4 Library of Congress Catalog Card Number 79-87812 Manufactured in the United States by Courier Corporation 63829412 To Kurt, Nancy, and David PREFACE This book is an outgrowth of a course which I have developed at Oberlin College for advanced undergraduates. The purpose of the course is to introduce students to the foundations of mathematics, to give them initial training in the axiomatic method in mathematics, and to provide them with the necessary tools to cope successfully with graduate level courses having an abstract and axiomatic orientation. It may be in- ferred that as I use the term "foundations of mathematics" I under- stand it to mean an analysis of fundamental concepts of mathematics, intended to serve as a preparation for studying the superstructure from a general and unified perspective. The book contains adequate material for any one of a variety of one- year upper undergraduate courses with a title resembling "Introduction to Foundations of Mathematics." That is, there is sufficient material for a year's course in which the instructor chooses to emphasize the construc- tion of standard mathematical systems, or the role of logic in connection with axiomatic theories, or, simply, mathematical logic.
    [Show full text]
  • CDM [2Ex] Sets [3Ex]
    CDM Sets Klaus Sutner Carnegie Mellon University 10-sets 2017/12/15 23:22 1 Intuitive Set Theory Extensionality Frege's Ghost Products and Sums Cantor Formalization Beyond ZFC A Definition of Set 3 Here is a first attempt at a “definition” of sets. Definition A set is an arbitrary collection of objects. In the words of Georg Cantor: By an \aggregate" we are to understand any collection into a whole M of definite and separate objects m of our intuition or our thought. The objects are called \elements" of M. In signs we express this thus: M = fmg. Modern Notation 4 Cantor's symbolic notation is rather old-fashioned. Nowadays and following G. Peano one would usually write M = f m j P (m) g indicating that we wish to collect all objects m that have property P into a set M. This set formation principle is the core of set theory. As we will see in a while, it also causes major problems. But Why? 5 As it turns out, sets alone (well, plus a bit of logic) suffice as a foundation of more or less all of mathematics and computer science. Set theory provides an extremely powerful and even elegant way to organize and structure any discourse in this domain. On the face of it, this is a huge surprise: one would suspect that sets are nowhere near powerful enough to express concepts such as natural number, prime, group, field, real number, differentiable function, probability measure, finite state machine, computable function, complexity class, and so on. Bourbaki 6 The importance of sets can be seen in the fact that Bourbaki chose to dedicate his first volume to sets: I Set Theory II Algebra III Topology IV Functions of one real variable V Topological vector spaces VI Integration VII Commutative algebra VIII Lie groups In many ways, the Bourbaki approach is still the gold standard.
    [Show full text]
  • Elements of Set Theory by Sidney Felder in the Words of Georg Cantor
    Elements of Set Theory by SidneyFelder In the words of GeorgCantor (1845-1918) ,the creator of Set Theory and the modern theory of the Infinite, a set (or class) is “a collection into a whole, of definite, well-distinguished objects of our perception or of our thought”. In thinking about anything, we mentally aggregate and separate things in all kinds of combinations. In any such case, we are forming sets. On various occasions, it will be convenient to speak of sets such as the fol- lowing: the set containing the twophysicists Michael Faraday and Marie Curie; the set containing the numbers 1, 2, 3, and 4; the set of all evennumbers; the set of all copies of this Handout; the set of all possible legal sequences of movesinChess; the set of all legalsequences of movesinChess that terminate in a draw; the set of all persons who have just read the words “the words”; the set of all persons who have not read this paragraph; the set of all fundamental particles in the universe; the set of all sets enumerated in this list; the set of all finite or infinite sets of natural numbers that contain the number 1,000; the set of all ways to make change from a 1 dollar bill; the set of all Kings of the United States. We express in writing the fact that selected entities form a set by exhibiting the symbolic representations of these entities enclosed in a pair of oppositely facing curly brackets (or braces), { and }. Thus {9,18,27} rep- resents the set composed of the three numbers 9, 18, and 27.
    [Show full text]