Intelligent Computer Mathematics International Conference, CICM 2015 Washington, DC, USA, July 13–17, 2015 Proceedings

Total Page:16

File Type:pdf, Size:1020Kb

Intelligent Computer Mathematics International Conference, CICM 2015 Washington, DC, USA, July 13–17, 2015 Proceedings Manfred Kerber · Jacques Carette Cezary Kaliszyk · Florian Rabe Volker Sorge (Eds.) Intelligent LNAI 9150 Computer Mathematics International Conference, CICM 2015 Washington, DC, USA, July 13–17, 2015 Proceedings 123 Lecture Notes in Artificial Intelligence 9150 Subseries of Lecture Notes in Computer Science LNAI Series Editors Randy Goebel University of Alberta, Edmonton, Canada Yuzuru Tanaka Hokkaido University, Sapporo, Japan Wolfgang Wahlster DFKI and Saarland University, Saarbrücken, Germany LNAI Founding Series Editor Joerg Siekmann DFKI and Saarland University, Saarbrücken, Germany Manfred Kerber • Jacques Carette Cezary Kaliszyk • Florian Rabe Volker Sorge (Eds.) Intelligent Computer Mathematics International Conference, CICM 2015 Washington, DC, USA, July 13–17, 2015 Proceedings 123 Editors Manfred Kerber Florian Rabe University of Birmingham Jacobs University Bremen Birmingham Bremen UK Germany Jacques Carette Volker Sorge McMaster University University of Birmingham Hamilton, ON Birmingham Canada UK Cezary Kaliszyk University of Innsbruck Innsbruck Austria ISSN 0302-9743 ISSN 1611-3349 (electronic) Lecture Notes in Artificial Intelligence ISBN 978-3-319-20614-1 ISBN 978-3-319-20615-8 (eBook) DOI 10.1007/978-3-319-20615-8 Library of Congress Control Number: 2015942531 LNCS Sublibrary: SL7 – Artificial Intelligence Springer Cham Heidelberg New York Dordrecht London © Springer International Publishing Switzerland 2015 This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use. The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, express or implied, with respect to the material contained herein or for any errors or omissions that may have been made. Printed on acid-free paper Springer International Publishing AG Switzerland is part of Springer Science+Business Media (www.springer.com) Contents Invited Talks Mining the Archive of Formal Proofs . 3 Jasmin Christian Blanchette, Maximilian Haslbeck, Daniel Matichuk, and Tobias Nipkow Math Search for the Masses: Multimodal Search Interfaces and Appearance-Based Retrieval . 18 Richard Zanibbi and Awelemdy Orakwue Calculemus Towards Formal Fault Tree Analysis Using Theorem Proving. 39 Waqar Ahmed and Osman Hasan Optimizing a Certified Proof Checker for a Large-Scale Computer-Generated Proof . 55 Luís Cruz-Filipe and Peter Schneider-Kamp A First Class Boolean Sort in First-Order Theorem Proving and TPTP . 71 Evgenii Kotelnikov, Laura Kovács, and Andrei Voronkov Type Inference for ZFH. 87 Steven Obua, Jacques Fleuriot, Phil Scott, and David Aspinall Generic Literals . 102 Florian Rabe Ranking/Unranking of Lambda Terms with Compressed de Bruijn Indices . 118 Paul Tarau Digital Mathematics Libraries A Flexiformal Model of Knowledge Dissemination and Aggregation in Mathematics . 137 Mihnea Iancu and Michael Kohlhase Mathematical Knowledge Management Structure Formation in Large Theories . 155 Serge Autexier and Dieter Hutter XX Contents Formal Logic Definitions for Interchange Languages . 171 Fulya Horozal and Florian Rabe Math Literate Knowledge Management via Induced Material . 187 Mihnea Iancu and Michael Kohlhase Strategies for Parallel Markup. 203 Bruce R. Miller Readable Formalization of Euler’s Partition Theorem in Mizar . 211 Karol Pąk Automating Change of Representation for Proofs in Discrete Mathematics . 227 Daniel Raggi, Alan Bundy, Gudmund Grov, and Alison Pease Performance Evaluation and Optimization of Math-Similarity Search. 243 Qun Zhang and Abdou Youssef Projects and Surveys Mizar: State-of-the-Art and Beyond. 261 Grzegorz Bancerek, Czesław Byliński, Adam Grabowski, Artur Korniłowicz, Roman Matuszewski, Adam Naumowicz, Karol Pak,̧ and Josef Urban Growing the Digital Repository of Mathematical Formulae with Generic LTA E X Sources . 280 Howard S. Cohl, Moritz Schubotz, Marjorie A. McClain, Bonita V. Saunders, Cherry Y. Zou, Azeem S. Mohammed, and Alex A. Danoff Formalizing Physics: Automation, Presentation and Foundation Issues . 288 Cezary Kaliszyk, Josef Urban, Umair Siddique, Sanaz Khan-Afshar, Cvetan Dunchev, and Sofiène Tahar A Survey on Retrieval of Mathematical Knowledge. 296 Ferruccio Guidi and Claudio Sacerdoti Coen Towards the Formalization of Fractional Calculus in Higher-Order Logic. 316 Umair Siddique, Osman Hasan, and Sofiène Tahar LeoPARD — A Generic Platform for the Implementation of Higher-Order Reasoners. 325 Max Wisniewski, Alexander Steen, and Christoph Benzmüller Contents XXI Systems and Data TIP: Tons of Inductive Problems. 333 Koen Claessen, Moa Johansson, Dan Rosén, and Nicholas Smallbone Semantic Enrichment of Mathematics via ‘tooltips’ ................... 338 Ross Moore Documentation Generator Focusing on Symbols for the HTML-ized Mizar Library . 343 Kazuhisa Nakasho and Yasunari Shidama Tools for MML Environment Analysis . 348 Adam Naumowicz Enabling Symbolic and Numerical Computations in HOL Light . 353 Ons Seddiki, Cvetan Dunchev, Sanaz Khan-Afshar, and Sofiène Tahar Author Index ............................................ 359 Mizar: State-of-the-Art and Beyond Grzegorz Bancerek1, Czeslaw Byli´nski2,AdamGrabowski3, B Artur Kornilowicz3, Roman Matuszewski4, Adam Naumowicz3( ), Karol P¸ak3,andJosefUrban5 1 Association of Mizar Users, Bialystok, Poland [email protected] 2 Section of Computer Systems and Teleinformatic Networks, University of Bialystok, Bialystok, Poland [email protected] 3 Institute of Informatics, University of Bialystok, Bialystok, Poland {adam,arturk,adamn,karol}@mizar.org 4 Department of Applied Linguistics, Faculty of Philology, University of Bialystok, Bialystok, Poland [email protected] 5 Radboud University, Nijmegen, The Netherlands [email protected] Abstract. Mizar is one of the pioneering systems for mathematics formalization, which still has an active user community. The project has been in constant development since 1973, when Andrzej Trybulec designed the fundamentals of a language capable of rigorously encod- ing mathematical knowledge in a computerized environment which guarantees its full logical correctness. Since then, the system with its feature-rich language devised to approximate mathematics writing has influenced other formalization projects and has given rise to a number of Mizar modes implemented on top of other systems. However, the infor- mation about the system as a whole is not readily available to developers of other systems. Various papers describing Mizar features have been rather incremental and focused only on particular newly implemented Mizar aspects. The objective of the current paper is to give a survey of the most important Mizar features that distinguish it from other popu- lar proof checkers. We also go a step further and describe most important current trends and lines of development that go beyond the state-of-the- art system. 1 Introduction The Mizar [21,38] project is a long-term effort originally aimed at developing a computer environment to support mathematicians in preparing papers. Around 1973, Andrzej Trybulec, the leader of the project, has designed a language for writing formal mathematics. The implemented processor was intended to check written texts for logical consistency and correctness. For fifteen years numerous implementations of the system were developed in order to choose suitable under- lying logic and expressive power of the language (PC – propositional calculus, c Springer International Publishing Switzerland 2015 M. Kerber et al. (Eds.): CICM 2015, LNAI 9150, pp. 261–279, 2015. DOI: 10.1007/978-3-319-20615-8 17 262 G. Bancerek et al. MSE – multi-sorted with equality, QC – quantifier calculus, etc.). An impor- tant issue was also to find the proper technology of automated cross-referencing between papers. The history of the first 30 years of Mizar development has been described in [32]. All these experiments resulted in choosing the principles of the current Mizar. The logical structure of the language is based on a variant of the classical first-order logic natural deduction system proposed by Ja´skowski [27]. The texts written in the language (called Mizar articles) are organized into adatabase–theMizar Mathematical Library, MML. The Tarski-Grothendieck set theory, which is basically ZFC set theory with the axiom of infinity replaced by Tarski’s axiom of existence of arbitrarily large, strongly inaccessible cardinals forms the basis of doing mathematics in contemporary Mizar. Today there are a number of other projects committed to address prob- lems related to computerized theorem proving developed at various research centers around the world. Most significantly: the HOL Light theorem prover1, Isabelle2, the Coq Proof Assistant3, Metamath4, ProofPower5, Nqthm/ACL26, the PVS Specification and Verification
Recommended publications
  • Enhancement of Properties in Mizar
    Enhancement of properties in Mizar Artur Korniªowicz Institute of Computer Science, University of Bialystok, Bialystok, Poland ABSTRACT A ``property'' in the Mizar proof-assistant is a construction that can be used to register chosen features of predicates (e.g., ``reflexivity'', ``symmetry''), operations (e.g., ``involutiveness'', ``commutativity'') and types (e.g., ``sethoodness'') declared at the definition stage. The current implementation of Mizar allows using properties for notions with a specific number of visible arguments (e.g., reflexivity for a predicate with two visible arguments and involutiveness for an operation with just one visible argument). In this paper we investigate a more general approach to overcome these limitations. We propose an extension of the Mizar language and a corresponding enhancement of the Mizar proof-checker which allow declaring properties of notions of arbitrary arity with respect to explicitly indicated arguments. Moreover, we introduce a new property—the ``fixedpoint-free'' property of unary operations—meaning that the result of applying the operation to its argument always differs from the argument. Results of tests conducted on the Mizar Mathematical Library are presented. Subjects Digital Libraries, Theory and Formal Methods, Programming Languages Keywords Formal verification, Mizar proof-assistant, Mizar Mathematical Library INTRODUCTION Classical mathematical papers consist of sequences of definitions and justified facts classified into several categories like: theorems, lemmas, corollaries, and so on, often interspersed with some examples and descriptions. Submitted 25 June 2020 Mathematical documents prepared using various proof-assistants (e.g., Isabelle (Isabelle, Accepted 29 October 2020 2020), HOL Light (HOL Light, 2020), Coq (Coq, 2020), Metamath (Metamath, 2020), Published 30 November 2020 Lean (Lean, 2020), and Mizar (Mizar, 2020)) can also contain other constructions that are Corresponding author Artur Korniªowicz, processable by dedicated software.
    [Show full text]
  • Arxiv:2005.03089V1 [Cs.LO] 5 May 2020 Abstract ??? Accepted: / ??? Received: Optrsine a Erlangen-N¨Urnberg E.G
    Noname manuscript No. (will be inserted by the editor) Experiences from Exporting Major Proof Assistant Libraries Michael Kohlhase · Florian Rabe Received: ??? / Accepted: ??? Abstract The interoperability of proof assistants and the integration of their li- braries is a highly valued but elusive goal in the field of theorem proving. As a preparatory step, in previous work, we translated the libraries of multiple proof assistants, specifically the ones of Coq, HOL Light, IMPS, Isabelle, Mizar, and PVS into a universal format: OMDoc/MMT. Each translation presented tremendous theoretical, technical, and social chal- lenges, some universal and some system-specific, some solvable and some still open. In this paper, we survey these challenges and compare and evaluate the solutions we chose. We believe similar library translations will be an essential part of any future system interoperability solution and our experiences will prove valuable to others undertaking such efforts. 1 Introduction Motivation The hugely influential QED manifesto [2] of 1994 urged the automated reasoning community to work towards a universal, computer-based database of all mathematical knowledge, strictly formalized in logic and supported by proofs that can be checked mechanically. The QED database was intended as a communal re- source that would guide research and allow the evaluation of automated reasoning tools and systems. This database was never realized, but the interoperability of proof assistants and the integration of their libraries has remained a highly valued but elusive goal. This is despite the large and growing need for more integrated and easily reusable libraries of formalizations. For example, the Flyspeck project [20] build a formal proof of the Kepler conjecture in HOL Light.
    [Show full text]
  • A Comparison of the Mathematical Proof Languages Mizar and Isar
    A comparison of the mathematical proof languages Mizar and Isar Markus Wenzel ([email protected]) ∗ Institut f¨urInformatik, Technische Universit¨atM¨unchen,Germany Freek Wiedijk ([email protected]) y Department of Computer Science, University of Nijmegen, the Netherlands Abstract. The mathematical proof checker Mizar by Andrzej Trybulec uses a proof input language that is much more readable than the input languages of most other proof assistants. This system also differs in many other respects from most current systems. John Harrison has shown that one can have a Mizar mode on top of a tactical prover, allowing one to combine a mathematical proof language with other styles of proof checking. Currently the only fully developed Mizar mode in this style is the Isar proof language for the Isabelle theorem prover. In fact the Isar language has become the official input language to the Isabelle system, even though many users still use its low-level tactical part only. In this paper we compare Mizar and Isar. A small example, Euclid's proof of the existence of infinitely many primes, is shown in both systems. We also include slightly higher-level views of formal proof sketches. Moreover a list of differences between Mizar and Isar is presented, highlighting the strengths of both systems from the perspective of end-users. Finally, we point out some key differences of the internal mechanisms of structured proof processing in either system. Keywords: Formalized mathematics, structured proof languages, proof sketches. 1. Introduction 1.1. Overview We compare the proof languages of two systems for formalizing math- ematics in the computer: the Mizar system by Andrzej Trybulec from Bia lystok,Poland (Rudnicki, 1992; Trybulec, 1993; Muzalewski, 1993; Wiedijk, 1999), and the Isar interface by Markus Wenzel from Munich, Germany (Wenzel, 1999; Wenzel, 2002a; Wenzel, 2002b) to the Isabelle system by Larry Paulson and Tobias Nipkow (Paulson, 1994; Nip- kow et al., 2002).
    [Show full text]
  • Formalising Mathematics in Simple Type Theory
    Formalising Mathematics In Simple Type Theory Lawrence C. Paulson Abstract Despite the considerable interest in new dependent type theories, simple type theory [10] (which dates from 1940) is sufficient to formalise serious topics in mathematics. This point is seen by examining formal proofs of a theorem about stereographic projections. A formalisation using the HOL Light proof assistant is contrasted with one using Isabelle/HOL. Harrison’s technique for formalising Eu- clidean spaces [23] is contrasted with an approach using Isabelle/HOL’s axiomatic type classes [27]. However, every formal system can be outgrown, and mathematics should be formalised with a view that it will eventually migrate to a new formalism. 1 Introduction Let’s begin with Dana Scott: No matter how much wishful thinking we do, the theory of types is here to stay. There is no other way to make sense of the foundations of mathematics. Russell (with the help of Ramsey) had the right idea, and Curry and Quine are very lucky that their unmotivated formalistic systems are not inconsistent.1 [48, p. 413] The foundations of mathematics is commonly understood as referring to philo- sophical conceptions such as logicism (mathematics reduced to logic), formalism (mathematics as “a combinatorial game played with the primitive symbols”) [51, p. 62], Platonism (“mathematics describes a non-sensual reality, which exists inde- pendently . of the human mind”) [17, p. 323] and intuitionism (mathematics as “a arXiv:1804.07860v1 [cs.LO] 20 Apr 2018 production of the human mind”) [26, p. 52]. Some of these conceptions, such as logi- cism and formalism, naturally lend themselves to the idea of doing mathematics in a formal deductive system.
    [Show full text]
  • Case Studies in Proof Checking Robert C
    Proof Checking 1 Running Head: PROOF CHECKING Case Studies in Proof Checking Robert C. Kam San José State University Proof Checking 2 Introduction The aim of computer proof checking is not to find proofs, but to verify them. This is different from automated deduction, which is the use of computers to find proofs that humans have not devised first. Currently, checking a proof by computer is done by taking a known mathematical proof and entering it into the special language recognized by a proof verifier program, and then running the verifier to hopefully obtain no errors. Of course, if the proof checker approves the proof, there are considerations of whether or not the proof checker is correct, and this has been complicated by the fact that so many systems have sprung into being. Dr. Freek Wiedijk made a list in 2006 of all systems that had been “seriously used for this purpose” of proof checking and that had at least one attribute that distinguished them from the rest. It contains seventeen proof systems: HOL, Mizar, PVS, Coq, Otter/Ivy, Isabelle/Isar, Alfa/Agda, ACL2, PhoX, IMPS, Metamath, Theorema, Lego, Nuprl, Ωmega, B method, and Minlog (Wenzel & Wiedijk, 2002, p. 8). The Flyspeck Project by Dr. Thomas Hales was one of the first required applications of the proof checker idea. Hales’ proof of Kepler's conjecture in 1998, the statement that the “grocery store” stacking of spheres is the optimal way to conserve volume, required computer verification in parts of the proof. The referee committee checked much of it by hand, but due to the nature of the proof, it was time-consuming.
    [Show full text]
  • Mizar in a Nutshell
    Mizar in a Nutshell ADAM GRABOWSKI Institute of Mathematics, University of Bialystok and ARTUR KORNILOWICZ and ADAM NAUMOWICZ Institute of Informatics, University of Bia lystok This paper is intended to be a practical reference manual for basic Mizar terminology which may be helpful to get started using the system. The paper describes most important aspects of the Mizar language as well as some features of the verification software. 1. INTRODUCTION Mizar is the name of a formal language designed by Andrzej Trybulec for writing strictly formalized mathematical definitions and proofs, but is also used as the name of a computer program which is able to check proofs written in this language. The Mizar project encompasses the development of both these aspects. The combina- tion of a convenient language with efficient software implementation made Mizar successful as a proof assistant with numerous applications and a powerful didactic tool. Currently the main effort of the Mizar community is to build the Mizar Math- ematical Library (MML), the comprehensive repository of interrelated definitions and proved theorems which can be referenced and used in new articles. This paper is not a step by step tutorial of Mizar, but rather a reference manual describing the expressiveness of its language and the capabilities of the verification system. The main purpose is to help the readers get acquainted with basic Mizar terminology and jargon. After studying the paper, the readers should be ready to understand all Mizar texts available in MML and start individual experiments with writing and verifying their own proofs using Mizar. 2. LANGUAGE The Mizar language is designed to be as close as possible to the language used in mathematical papers and at the same time to be automatically verifiable.
    [Show full text]
  • Proof Assistants: History, Ideas and Future
    Sadhan¯ a¯ Vol. 34, Part 1, February 2009, pp. 3–25. © Printed in India Proof assistants: History, ideas and future H GEUVERS∗ Institute for Computing and Information Science, Faculty of Science, Radboud University Nijmegen, P. O. Box 9010, 6500 GL Nijmegen, The Netherlands e-mail: [email protected] Abstract. In this paper I will discuss the fundamental ideas behind proof assis- tants: What are they and what is a proof anyway? I give a short history of the main ideas, emphasizing the way they ensure the correctness of the mathematics for- malized. I will also briefly discuss the places where proof assistants are used and how we envision their extended use in the future. While being an introduction into the world of proof assistants and the main issues behind them, this paper is also a position paper that pushes the further use of proof assistants. We believe that these systems will become the future of mathematics, where definitions, statements, computations and proofs are all available in a computerized form. An important application is and will be in computer supported modelling and verification of sys- tems. But there is still a long road ahead and I will indicate what we believe is needed for the further proliferation of proof assistants. Keywords. Proof assistant; verification; logic; software correctness; formalized mathematics. 1. Introduction Proof assistants are computer systems that allow a user to do mathematics on a computer, but not so much the computing (numerical or symbolical) aspect of mathematics but the aspects of proving and defining. So a user can set up a mathematical theory, define properties and do logical reasoning with them.
    [Show full text]
  • Wikis and Collaborative Systems for Large Formal Mathematics
    Wikis and Collaborative Systems for Large Formal Mathematics Cezary Kaliszyk1? and Josef Urban2?? 1 University of Innsbruck, Austria 2 Czech Technical University in Prague Abstract In the recent years, there have been significant advances in formalization of mathematics, involving a number of large-scale formal- ization projects. This naturally poses a number of interesting problems concerning how should humans and machines collaborate on such deeply semantic and computer-assisted projects. In this paper we provide an overview of the wikis and web-based systems for such collaboration in- volving humans and also AI systems over the large corpora of fully formal mathematical knowledge. 1 Introduction: Formal Mathematics and its Collaborative Aspects In the last two decades, large corpora of complex mathematical knowledge have been encoded in a form that is fully understandable to computers [8, 15, 16, 19, 33, 41] . This means that the mathematical definitions, theorems, proofs and theories are explained and formally encoded in complete detail, allowing the computers to fully understand the semantics of such complicated objects. While in domains that deal with the real world rather than with the abstract world researchers might discuss what fully formal encoding exactly means, in computer mathematics there is one undisputed definition. A fully formal encoding is an encoding that ultimately allows computers to verify to the smallest detail the correctness of each step of the proofs written in the given logical formalism. The process of writing such computer-understandable and verifiable theorems, definitions, proofs and theories is called Formalization of Mathematics and more generally Interactive Theorem Proving (ITP). The ITP field has a long history dating back to 1960s [21], being officially founded in 1967 by the mathematician N.G.
    [Show full text]
  • Semantics of Mizar As an Isabelle Object Logic
    Journal of Automated Reasoning https://doi.org/10.1007/s10817-018-9479-z Semantics of Mizar as an Isabelle Object Logic Cezary Kaliszyk1 · Karol P˛ak2 Received: 5 January 2018 / Accepted: 11 August 2018 © The Author(s) 2018 Abstract We formally define the foundations of the Mizar system as an object logic in the Isabelle logical framework. For this, we propose adequate mechanisms to represent the various components of Mizar. We express Mizar types in a uniform way, provide a common type intersection operation, allow reasoning about type inhabitation, and develop a type inference mechanism. We provide Mizar-like definition mechanisms which require the same proof obligations and provide same derived properties. Structures and set comprehension opera- tors can be defined as definitional extensions. Re-formalized proofs from various parts of the Mizar Library show the practical usability of the specified foundations. 1 Introduction Mizar [8] is one of the longest-lived proof assistants today. Its set theoretic foundations [27] together with an intuitive soft type system make the system attractive for mathematicians [68] and its formal library—the Mizar Mathematical Library (MML) [7]—became one of the largest libraries of formalized mathematics today. It includes many results absent from those derived in other systems, such as lattices [9], topological manifolds [63], and random-access Turing machines [42]. The unique features of the system include: – A soft type system which allows for dependent types and intersection types, – Declarative proofs in Ja´skowski-style natural deduction [33], – Convenient structure types with (multiple) inheritance, – A term language that allows for disambiguation based on types, in some cases allowing hundreds of meanings of a single symbol, – Proof checking corresponding to the research on the notion of “obviousness” of a single proof step, without the need to explicitly reference proof procedures or tactics.
    [Show full text]
  • Computer Theorem Proving in Math Carlos Simpson
    Computer theorem proving in math Carlos Simpson To cite this version: Carlos Simpson. Computer theorem proving in math. 2004. hal-00000842v2 HAL Id: hal-00000842 https://hal.archives-ouvertes.fr/hal-00000842v2 Preprint submitted on 20 Feb 2004 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. COMPUTER THEOREM PROVING IN MATH CARLOS SIMPSON Abstract. We give an overview of issues surrounding computer- verified theorem proving in the standard pure-mathematical con- text. 1. Introduction When I was taking Wilfried Schmid’s class on variations of Hodge structure, he came in one day and said “ok, today we’re going to calcu- late the sign of the curvature of the classifying space in the horizontal directions”. This is of course the key point in the whole theory: the negative curvature in these directions leads to all sorts of important things such as the distance decreasing property. So Wilfried started out the calculation, and when he came to the end of the first double-blackboard, he took the answer at the bottom right and recopied it at the upper left, then stood back and said “lets verify what’s written down before we erase it”.
    [Show full text]
  • Commutative Algebra in the Mizar System
    Article Submitted to Journal of Symbolic Computation Commutative Algebra in the Mizar System Piotr Rudnicki ∗1, Christoph Schwarzweller2 and Andrzej Trybulec †3 1University of Alberta, Canada email: [email protected] 2University of T¨ubingen, Germany email: [email protected] 3University of Bia lystok, Poland email: [email protected] Abstract We report on the development of algebra in the Mizar system. This in- cludes the construction of formal multivariate power series and polyno- mials as well as the definition of ideals up to a proof of the Hilbert basis theorem. We present how the algebraic structures are handled and how we inherited the past developments from the Mizar Mathematical Library (MML). The MML evolves and past contributions are revised and gener- alized. Our work on formal power series caused a number of such revisions. It seems that revising past developments with an intent to generalize them is a necessity when building a data base of formalized mathematics. This poses a question: how much generalization is best? 1. Introduction Mathematics, especially algebra, uses dozens of structures: groups, rings, vector spaces, to name a few of the most basic ones. These structures are closely connected to each other giving rise to inheritance. For example, each ring is a group with respect to its addition and hence every theorem about groups also holds for rings. There is a trend towards introducing more general structures: semi-rings as a generalization of rings, modules as a generalization of vector spaces, etc. Again, theorems about a structure are trivially true for any structure derived from it.
    [Show full text]
  • Presentation and Manipulation of Mizar Properties in an Isabelle Object Logic?
    Presentation and Manipulation of Mizar Properties in an Isabelle Object Logic? Cezary Kaliszyk1 and Karol Pąk2 1 Universität Innsbruck, Austria 2 Uniwersytet w Białymstoku, Poland [email protected] [email protected] Abstract. One of the crucial factors enabling an efficient use of a logical framework is the convenience of entering, manipulating, and presenting object logic constants, statements, and proofs. In this paper, we discuss various elements of the Mizar language and the possible ways how these can be represented in the Isabelle framework in order to allow a suit- able way of working in typed set theory. We explain the interpretation of various components declared in each Mizar article environment and cre- ate Isabelle attributes and outer syntax that allow simulating them. We further discuss introducing notations for symbols defined in the Mizar Mathematical Library, but also synonyms and redefinitions of such sym- bols. We also compare the language elements corresponding to the actual proofs, with special care for implicit proof expansions not present in Is- abelle. We finally discuss Mizar’s hidden arguments and demonstrate that some of them are not necessary in an Isabelle representation. 1 Introduction Set theory has been the standard foundation used by mathematicians in the past and is still the foundation with which the majority are most familiar today. However, when it comes to formalized mathematics, most proof assistants are based on other foundations. This could be one of the important factors that are hindering a wider adoption of formal proof. Mizar [4] has been the pioneering proof assistant based on classical logic combined with the axioms of set theory.
    [Show full text]