UNCLASSIFIED F/G 9/2 NL

Similar documents
Mechanized Proof of Buchberger s Algorithm in ACL2

o is a type symbol. There are no other type symbols.

What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos

NICTA Advanced Course. Theorem Proving Principles, Techniques, Applications. Gerwin Klein Formal Methods

The Underlying Semantics of Transition Systems

Formal Verification of Mathematical Algorithms

COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning

18.S097 Introduction to Proofs IAP 2015 Lecture Notes 1 (1/5/2015)

, i, ~. '~~~* a F- WI W U V U S S S S S S It

Requirements Validation. Content. What the standards say (*) ?? Validation, Verification, Accreditation!! Correctness and completeness

Introduction to Metalogic

ArgoCaLyPso SAT-Inspired Coherent Logic Prover

Infinite Truth-Functional Logic

Mechanized Operational Semantics

Semantics and Pragmatics of NLP

02 Propositional Logic

CHAPTER 0: BACKGROUND (SPRING 2009 DRAFT)

Automated Proving in Geometry using Gröbner Bases in Isabelle/HOL

Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson

HOW TO FACILITATE THE PROOF OF THEORIES BY USING THe INDUCTION MATCHING. AND BY GENERALIZATION» Jacqueline Castaing

TUNING ROUGH CONTROLLERS BY GENETIC ALGORITHMS

Chapter 1 Elementary Logic

07 Practical Application of The Axiomatic Method

Transformational programming and forests

The Pumping Lemma. for all n 0, u 1 v n u 2 L (i.e. u 1 u 2 L, u 1 vu 2 L [but we knew that anyway], u 1 vvu 2 L, u 1 vvvu 2 L, etc.

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory

MICROCOPY RESOLUIION IESI CHARI. NAMfNA[ IC~ ANtn

23.1 Gödel Numberings and Diagonalization

Hierarchic Superposition: Completeness without Compactness

Towards Practical Reflection for Formal Mathematics

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula:

Direct Proof and Counterexample I:Introduction

Strong AI vs. Weak AI Automated Reasoning

Informal Statement Calculus

Lecture 1: The arithmetic hierarchy

Direct Proof and Counterexample I:Introduction. Copyright Cengage Learning. All rights reserved.

Logic. Propositional Logic: Syntax

Propositional Logic: Syntax

Leonardo de Moura Microsoft Research

A0A TEXAS UNIV AT AUSTIN DEPT OF CHEMISTRY F/G 7/5 PHOTOASSISTED WATER-GAS SHIFT REACTION ON PLATINIZED T7TANIAI T--ETCIUI

Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction)

Existence and Consistency in Bounded Arithmetic

A DEFINITION-DRIVEN THEOREM PROVER

Combining Induction Axioms By Machine

Lecture Notes: Axiomatic Semantics and Hoare-style Verification

Lecture 11: Measuring the Complexity of Proofs

Completeness for FOL

Algebra 2 and Trigonometry

Propositional and Predicate Logic. jean/gbooks/logic.html

Introduction to Metalogic

The Syntax of First-Order Logic. Marc Hoyois

REPRESENTATION AND ANALYSIS OF ELECTRICAL CIRCUITS IN A DEDUCTIVE SYSTEM

Computer-Checked Meta-Logic

Dynamic Semantics. Dynamic Semantics. Operational Semantics Axiomatic Semantics Denotational Semantic. Operational Semantics

LOGIC PROPOSITIONAL REASONING

Creative Objectivism, a powerful alternative to Constructivism

A Complete Proof of the Robbins Conjecture

The LCF Approach to Theorem Proving

DATE ~~~ 6O 300 N1. nbc OF / END FJLIEEO

A Little Deductive Logic

Two-Dimensional Modal Logic

Two-Dimensional Modal Logic

Propositional Logic Language

Bound and Free Variables. Theorems and Proofs. More valid formulas involving quantifiers:

On Ramsey s Theorem for Pairs

First Order Logic: Syntax and Semantics

RD-R14i 390 A LIMIT THEOREM ON CHARACTERISTIC FUNCTIONS VIA RN ini EXTREMAL PRINCIPLE(U) TEXAS UNIV AT AUSTIN CENTER FOR CYBERNETIC STUDIES A BEN-TAL

Section 3.1: Direct Proof and Counterexample 1

Inductive Theorem Proving

geeeo. I UNCLASSIFIED NO 814-B5-K-88 F/G 716 NL SCENCESECTION L F HANCOCK ET AL 81 AUG 87 TR-i

Ivy: Safety Verification by Interactive Generalization

The Limit of Humanly Knowable Mathematical Truth

XCB, the Last of the Shortest Single Axioms for the Classical Equivalential Calculus

This is logically equivalent to the conjunction of the positive assertion Minimal Arithmetic and Representability

INTRODUCTION TO LOGIC

Meaning and Reference INTENSIONAL AND MODAL LOGIC. Intensional Logic. Frege: Predicators (general terms) have

THE LOGIC OF QUANTIFIED STATEMENTS. Predicates and Quantified Statements I. Predicates and Quantified Statements I CHAPTER 3 SECTION 3.

CS156: The Calculus of Computation

Lecture 8: Complete Problems for Other Complexity Classes

A Semantic Criterion for Proving Infeasibility in Conditional Rewriting

Static Program Analysis using Abstract Interpretation

Model Theory MARIA MANZANO. University of Salamanca, Spain. Translated by RUY J. G. B. DE QUEIROZ

Provably Total Functions of Arithmetic with Basic Terms

GS03/4023: Validation and Verification Predicate Logic Jonathan P. Bowen Anthony Hall

On Applying Point-Interval Logic to Criminal Forensics

Lecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem

Announcements. Today s Menu

The logic of Σ formulas

258 Handbook of Discrete and Combinatorial Mathematics

Propositional Reasoning

Ramsey Theory and Reverse Mathematics

Gödel s Incompleteness Theorems by Sally Cockburn (2016)

Every formula evaluates to either \true" or \false." To say that the value of (x = y) is true is to say that the value of the term x is the same as th

Introduction to Artificial Intelligence Propositional Logic & SAT Solving. UIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2010

TR : Binding Modalities

Proof Techniques (Review of Math 271)

Propositional Logic: Evaluating the Formulas

Symbolic Logic 3. For an inference to be deductively valid it is impossible for the conclusion to be false if the premises are true.

CONCEPT CALCULUS by Harvey M. Friedman September 5, 2013 GHENT

Two sources of explosion

Transcription:

AfD-fli44 356 REHOSTING THE THEOREM PROVER(U) TEXAS UNIV AT AUSTIN i/i INST FOR COMPUTING SCIENCE AND COMPUTER APPLICATIONS R S BOYER ET AL. 13 JUL 84 N00014-8i-K-0634 UNCLASSIFIED F/G 9/2 NL

lm J& 6 I NI 1.0 M Lu 122 I i 1111---- 1 1.25 1M1.4 1 1.6.W MICROCOPY RESOLUTION TEST CHART NATIONAL BUREAU OF STANDARDS-1963-A "- "L Cl L... ---..

THE UNIVERSITY OF TEXAS AT AUSTIN INSTITUTE FOR COMPUTING SCIENCE AND COMPUTER APPLICATIONS AUSTIN, TEXAS 78712 2100 Main Bvilding 13 July 1984 (312) 471-1901 Dr. Robert Grafton Information Systems Program Mathematicial & Information Sciences Division Attn: Code 437 ~ 1. Office of Naval Research ('Va 800 N. Quincy Street UG 1 Arlington, VA 22217 Dear Dr. Grafton: Y This letter represents the annual summary report~for ONR Contract N00014-81-K-0634 tort-m epfiod June 1, 1983 to May 31, 1984 We have pursued two different research activities 4 during this period: rehosting.ur-' theorem prover onto several different computers and extending the formal logic supported by the system. poredbyh m This document has been approved forpublic reee d ae; it REHOSTING THE THEOREM PROVER distribution is unlimited. C.'> M LA- For the past decade of its development our theorem prover has been implemented in Interlisp under the TOPS-20 time sharing operating system on a DEC-2060. Because of address limitations of the 2060 and the need for more LISP cycles than delivered by a timeshared machine, we acquired a Symbolics 3600 Lisp Machine on an NSF/CER Grant to the University of Texas. The machine arrived in May, 1983. Much of our time the subsequent Summer was spent converting the system from Interlisp to Zetalisp so that it would run on the 3600. Since Zetalisp is a close relative of Maclisp, we decided to limit, insofar as possible, our use of Zetalisp primitives to those also in Maclisp so that we might more easily port the system to other machines supporting Maclisp dialects. Throughout the Fall and Winter we continued rewriting the system to make it run under the TOPS-20, Multics, SAIL operating systems. By further restricting the set of LISP primitives used we have been able to port the system to the VAX and the Sun (in Franzlisp). As a result of this work the system is now available on a wide variety of relatively inexpensive machines and the number of users of the system has increased by at least an order of magnitude. It is Interesting to note that our theorem prover runs faster in Zetallsp on the 3600 than 84 "07 24 011

Dr. Robert Grafton 13 July 1984 Page 2 it does in Interlisp on a dedicated DEC 2060. In particular, the 3600 does our standard benchmark of about one thousand theorems in roughly 61% of the time taken by the 2060. QUANTIFIERS We have developed an extension to our quantifier-free computational logic that permits the use of bounded quantifiers such as "the sum as i runs over L of f(i)" and "the list of those x in L with property p(x)." Such quantified expressions are extremely common in both mathematics and computing. For any particular choice of the schematic expressions f(i) or p(x) it is possible to avoid the use of quantified expressions by the introduction of an ad hoc recursive function. However, the ability to manipulate quantified expressions involving schemators such as f and p is extremely useful for it permits the statement and proof of simple but powerful lemmas about quantifiers. For example, one can prove that, for any schematic expression f(i), the sum of f(i) as i ranges over the concatenation of A and B is the sum of f(i) over A plus the the sum of f(i) over B. It does not matter whether f(i) is i*i or 3+i or gd(i,x). The lack of information about f aids the mechanical discovery of the proof - because the system does not get confused by a possibly vast amount of information about some particular f. Furthermore, the extremely general statement of the lemma permits its application in a wide variety of situations where particular f's are involved. Our method of adding quantifiers to the logic is novel in that it does not alter the term structure of the language or the rules of inference. Instead we simply add some additional axioms defining an "interpreter" for the logic in the logic and a function, FOR, which iteratively "evaluates" a "term" in a succession of environments. Thus, the expression: (for I in L when (EVEN 1) sum (TIMES 1I)), which is an abbreviation for (FOR 'I L '(EVEN I) 'SUM '(TIMES II) NIL), is a term whose value is the sum of the squares of the even elements of the list L. Note that FOR takes as arguments "expressions" in the logic - expressions represented by list constants. The definition of FOR requires the addition to the logic of an interpreter for the logic. The primary research issue here was how we could embed into the logic a sufficiently powerful interpreter without rendering the formal system inconsistent. This problem is faced in all "sufficiently powerful" formal systems such as higher

*Dr. Robert Grafton 13 July 1984 Page 3 order logic and set theory. The protection mechanisms in such systems (e.g., hierarchies of types or indexed variable symbols) prevent the utterance of certain potentially useful sentences but also prevent inconsistency. There seems to be a tradeoff between the ex- * pressibility permitted by a given mechanism and the complexity of the mechanism itself. * Often the mechanisms adopted are so clumsy that their authors immediately introduce notational conventions to suppress them in informal proofs. However, in formal proofs -and in particular, in mechanical proofs - these mechanisms cannot be ignored without risking the validity of the enterprise itself. We were therefore driven to investigate protection mechanisms that were more limiting in their restrictions but less obtrusive in formal proofs. We discovered an interesting and novel formal device for avoiding inconsistently while providing what we believe is acceptable quantificational power. The device is employed in the enclosed description of our new logic and is discussed in a paper now in preparation. Having invented a suitable extension to the logic we then extended our mechanical theorem prover. It is in the implementation that we see the advantages of preserving the original term structure and rules of inference of the logic: the old theorem prover.is sound for the new logic. Indeed, in order to implement a theorem prover for the quan- * tified logic all we had to do was add certain axioms to the initial data base. We did not have to inspect or modify the hall-megabyte of code that implements the old theory. The result was a machine that proved some interesting elementary theorems about quantifiers, such as that the sum as i runs over L of f(i)+g(i), is the sum as i runs over L of f(i) plus the sum as i runs over L of g(i). To improve the performance of the system on quantified theorems it was only necessary to add heuristics that deal with FOR. We did not have to alter existing heuristics or proof techniques. The new system is as fast as the old when dealing with "old" theorems - indeed, it ex-- ecutes exactly the same code; the new system is as smart as the old when dealing with unquantified fragments of a quantified formula; and, because of our new heuristics for dealing with FOR, the new system is reasonably powerful for quantified expressions. The * most interesting proof produced thus far involving quantifiers is the proof of the Binomial Theorem: (a+b)n E(jla'n-i. The proof requires several interesting lemmas about quantifier manipulation, e.g., moving constants in and out of sigmas and changing the range of the quantifiers.- PAPERS During the current reporting period we wrote the enclosed paper on program verification. The paper is an overview of the field written at the invitation of Larry Wos for inclusion

, Dr. Robert Grafton 13 July 1984 Page 4 in the inaugural edition of the new Journal of Automated Reasoning. The new quantified logic is described in the enclosed draft "A Computational Logic with Quantifiers," intended for inclusion in the users manual to accompany the new version of the system. Both the user's manual and a paper describing our introduction of quantifiers are in preparation. Yours, Robert S. Boyer J Strother Moore I lza. K 1 T_ AEm

A p *, Y It Im 1777 *1,0