A Self-Modifying Theorem Prover

نویسنده

  • Cynthia A. Brown
چکیده

Theorem provers can be viewed as containing declarative knowledge (in the form of axioms and lemmas) and procedural knowledge (in the form of an algorithm for proving theorems). Sometimes, as in the case of commutative laws in a Knuth-Bendix prover, it is appropriate or necessary to transfer knowledge from one category to the other. We describe a theorem proving system that independently recognizes opportunities for such transfers and performs them dynamically. Theorem proving algorithms Theorem provers can be divided into two general classes: those that operate without human intervention to prove straightforward consequences of a set of axioms, and those that serve as a mathematician's assistant in the search for a proof of a mathematically significant theorem. The first type of prover is needed for program verification and artificial intelligence applications, where the necessity of human intervention would severely disrupt the intended application. The second type of theorem prover ususally contains one or more of the first type. It is the first type of prover that we are concerned with. Our model of a theorem prover is thus an algorithm that establishes the truth of a statement by showing that it is a logical consequence of a given set of axioms. In the process of establishing that truth, the theorem prover may obtain intermediate results that play the role of lemmas. The power and efficiency of the theorem prover depend on the algorithm that is employed (and there is often a trade-off between these two characteristics of the system). Two major classes of theorem proving algorithms are the resolution-based methods [ROB65,OVE75,BOY71] and Knuth-Bendix type methods [KNU70,HUE80,HUE80b,JEA8O,MUS8O,PET81, STI81]. There are several ambitious theorem provers of the second type that incorporate one or the other of these methods; for example, the Affirm system [TH079] includes a Knuth-Bendix prover, and the ITP theorem prover [MCC76,OVE75,LUS84] uses hyperresolution, an efficient form of resolution, along with other techniques. Both the Knuth-Bendix algorithm and resolution methods can also be used as the basis of an algorithmic theorem prover. The Knuth-Bendix method is usually more efficient in the cases where it applies, but resolution is much more general. Declarative versus procedural knowledge in

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Using Theory Morphisms for Implementing Formal Methods Tools

Tools for a specification language can be implemented directly (by building a special purpose theorem prover) or by a conservative embedding into a typed meta-logic, which allows their safe and logically consistent implementation and the reuse of existing theorem prover engines. For being useful, the conservative extension approach must provide derivations for several thousand “folklore” theore...

متن کامل

Self-compilation and self-verification

This dissertation presents two pieces of work, one building on the other, that advance the state of the art of formal verification. The focus, in both cases, is on proving end-to-end correctness for realistic implementations of computer software. The first piece is a verified compiler for a stateful higher-order functional programming language, CakeML, which is packaged into a verified read-eva...

متن کامل

Lakatos-Style Automated Theorem Modification

We describe a flexible approach to automated reasoning, where non-theorems can be automatically altered to produce proved results which are related to the original. This is achieved through an interaction of the HR machine learning system, the Otter theorem prover and the Mace model generator, and uses methods inspired by Lakatos’s philosophy of mathematics. We demonstrate the effectiveness of ...

متن کامل

Verifying the Uniform Candy Distribution Puzzle with CSP-Prover

In this paper we formally verify that the Uniform Candy Distribution Puzzle is self-stabilizing: Given a valid start configuration, eventually the Puzzle will evolve to a ‘stable’ situation in which it will remain. In terms of verification, the Uniform Candy Distribution Puzzle forms a scalable parametrized distributed system: The Puzzle comes in various sizes, for each size of the Puzzle there...

متن کامل

8 Conclusions and Future Work

We think that the approach to safe system extension proposed in this paper presents many advantages. From a software engineering perspective, the architectural principles presented in Section 3 considerably simplify the task of building and extending theorem provers safely. The concept of OMRS is a rst small step towards complex reasoning systems built by composing existing modules, or extended...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1984