MPTP 0.2: Design, Implementation, and Initial Experiments

This paper describes the second version of the Mizar Problems for Theorem Proving (MPTP) system and first experimental results obtained with it. The goal of the MPTP project is to make the large formal Mizar Mathematical Library (MML) available to current first-order automated theorem provers (ATPs) (and vice versa) and to boost the development of domain-based, knowledge-based, and generally AI-based ATP methods. This version of MPTP switches to a generic extended TPTP syntax that adds term-dependent sorts and abstract (Fraenkel) terms to the TPTP syntax. We describe these extensions and explain how they are transformed by MPTP to standard TPTP syntax using relativization of sorts and deanonymization of abstract terms. Full Mizar proofs are now exported and also encoded in the extended TPTP syntax, allowing a number of ATP experiments. This covers, for example, consistent handling of proof-local constants and proof-local lemmas and translating of a number of Mizar proof constructs into the TPTP formalism. The proofs using second-order Mizar schemes are now handled by the system, too, by remembering (and, if necessary, abstracting from the proof context) the first-order instances that were actually used. These features necessitated changes in Mizar, in the Mizar-to-TPTP exporter, and in the problem-creating tools. Mizar has been reimplemented to produce and use natively a detailed XML format, suitable for communication with other tools. The Mizar-to-TPTP exporter is now just a XSLT stylesheet translating the XML tree to the TPTP syntax. The problem creation and other MPTP processing tasks are now implemented in about 1,300 lines of Prolog. All these changes have made MPTP more generic, more complete, and more correct. The largest remaining issue is the handling of the Mizar arithmetical evaluations. We describe several initial ATP experiments, both on the easy and on the hard MML problems, sometimes assisted by machine learning. It is shown that on the nonarithmetical problems, countersatisfiability (completions) is no longer detected by the ATP systems, suggesting that the ‘Mizar deconstruction’ done by MPTP is in this case already complete. About every fifth nonarithmetical theorem is proved in a fully autonomous mode, in which the premises are selected by a machine-learning system trained on previous proofs. In 329 of these cases, the newly discovered proofs are shorter than the MML originals and therefore are likely to be used for MML refactoring. This situation suggests that even a simple inductive or deductive system trained on formal mathematics can be sometimes smarter than MML authors and usable for general discovery in mathematics.

[1]  W. Kellaway,et al.  Complex Numbers , 2019, AMS/MAA Textbooks.

[2]  Jaskowski,et al.  Polish Logic 1920-1939. , 1969 .

[3]  José Meseguer,et al.  Order-Sorted Algebra I: Equational Deduction for Multiple Inheritance, Overloading, Exceptions and Partial Operations , 1992, Theor. Comput. Sci..

[4]  Piotr Rudnicki,et al.  An Overview of the MIZAR Project , 1992 .

[5]  Joseph A. Goguen,et al.  Order Sorted Algebra , 1996 .

[6]  Christoph Weidenbach,et al.  Common Syntax of the DFG-Schwerpunktprogramm ''Deduktion'' , 1996 .

[7]  Ingo Dahn,et al.  Interpretation of a Mizar-Like Logic in First-Order Logic , 1998, FTP.

[8]  F. J. Pelletier A Brief History of Natural Deduction , 1999 .

[9]  Christoph Weidenbach,et al.  SPASS: Combining Superposition, Sorts and Splitting , 2000 .

[10]  G. Sutcliffe The Design and Implementation of a Compositional Competition-Cooperation Parallel ATP System , 2001 .

[11]  Alan Robinson,et al.  The Inverse Method , 2001, Handbook of Automated Reasoning.

[12]  Christoph Weidenbach,et al.  Combining Superposition, Sorts and Splitting , 2001, Handbook of Automated Reasoning.

[13]  Andrei Voronkov,et al.  Handbook of Automated Reasoning: Volume 1 , 2001 .

[14]  Christoph Weidenbach,et al.  Computing Small Clause Normal Forms , 2001, Handbook of Automated Reasoning.

[15]  Stephan Schulz,et al.  E - a brainiac theorem prover , 2002, AI Commun..

[16]  Andrei Voronkov,et al.  The design and implementation of VAMPIRE , 2002, AI Commun..

[17]  Piotr Rudnicki,et al.  Information Retrieval in MML , 2003, MKM.

[18]  Freek Wiedijk Comparing Mathematical Provers , 2003, MKM.

[19]  Josef Urban Translating Mizar for First Order Theorem Provers , 2003, MKM.

[20]  Andrea Asperti,et al.  Mathematical Knowledge Management: Third International Conference, MKM 2004, Bialowieza, Poland, September 19-21, 2004, Proceedings , 2004 .

[21]  Piotr Rudnicki,et al.  On Equivalents of Well-Foundedness , 1999, Journal of Automated Reasoning.

[22]  Josef Urban MPTP – Motivation, Implementation, First Experiments , 2004, Journal of Automated Reasoning.

[23]  Josef Urban,et al.  Integrated Semantic Browsing of the Mizar Mathematical Library for Authoring Mizar Articles , 2004, MKM.

[24]  Geoff Sutcliffe,et al.  The TPTP Problem Library , 1994, Journal of Automated Reasoning.

[25]  Arnon Avron Formalizing Set Theory as it Is Actually Used , 2004, MKM.

[26]  Adam Naumowicz,et al.  Improving Mizar Texts with Properties and Requirements , 2004, MKM.

[27]  Harald Ganzinger,et al.  Superposition with equivalence reasoning and delayed clause normal form transformation , 2005, Inf. Comput..

[28]  R. Matuszewski,et al.  IZAR : the first 30 years , 2005 .

[29]  Josef Urban,et al.  XML-izing Mizar: Making Semantic Processing and Presentation of MML Easy , 2005, MKM.

[30]  Josef Urban,et al.  Momm - Fast Interreduction and Retrieval in Large Libraries of Formalized Mathematics , 2006, Int. J. Artif. Intell. Tools.

[31]  Josef Urban,et al.  MizarMode - an integrated proof assistance tool for the Mizar way of formalizing mathematics , 2006, J. Appl. Log..