Is an Axiom of Arithmetic." B. Theorem Schemas. the Following Kind of "

Is an Axiom of Arithmetic." B. Theorem Schemas. the Following Kind of "

Section!: Mathematical and Theoretical Aspects of Artificial lntelliqer.cc CHECKING PROOFS IN THE METAMATHEMATICS OF FIRST ORDER LOGIC Mario Aiello Istituto di Scienze dell 'Informazione, Universita di Pisa, Corso Italia 40, 56100 Pisa Italy and Richard Weyhrauch A.T. Lab., Computer Science Department, Stanford University, Stanford, California 94305 U.S.A. Abstract is an axiom of arithmetic." b. Theorem schemas. The following kind of First order theories not only can be used in prov• "theorem" is sometimes seen in set theory ing properties of programs, but have also rele - books vance in representation theory. The desire to rep• resent first order theories in a computer in a feasible way requires the facility to discuss meta mathematical notions. Using metamathematics will - eventually allow to construct systems which can formally discuss how they reason. In this paper It asserts the existence of some particular proje£ we present two different first order axiomatiza- tion of n+1-tuples. In its usual formulation this tions of the metamathematics of the logic which is not a theorem of set theory at all, but a meta- POL (First Order Logic proof checker) checks and theorem which states that, for each n, the above show several proofs using each one. The difference sentence is a theorem. We do not know of any ma• between the axiomatizations is that one defines chine implementation of first order logic capable the metamathematics in a many sorted logic and of expressing the above notion in a straightfor• the other does not. Proofs are then compared and ward way. used to discuss the adequacy of some FOL features. c. Subsidiary deduction rules. Below we show how to prove that if there is a proof of Vx y. WFF Section 1 Introduction then there is also a proof of Vy x. WFF, where WFF is any well formed formula. We chose this task be• This paper represents a first attempt at axi- cause it seemed simple enough to do, and is a omatizing the metamathemat ics of a first order theorem which may actually be used. The use of metatheorems as rules of inference by means of a (First Order Logic). The logic whieh FOL checks is reflection principle will be discussed in a future described in detail in the user manual for this memo by Richard Weyhrauch. Eventually we hope to program, Weyhrauch and Thomas 1974. It is based on check some more substantial metamathematical a system of natural deduction described in Prawitz theorems. 1965, 1970. d. Interesting mathematical theorems. We pres ent two examples. The first is any theorem about Our motivation in axiomatizing the metamathe• finite groups. The notion of finite group cannot mat ics of FOL was the desire to work on an example be defined in the usual first order language of which could he used as a case study for projected group theory. Thus many "theorems" are actually features of FOL and, at the same time, had inde• metatheorems, unless you axiomatize groups in set pendent interest with respect to representing the theory. The second theorem is the "duality princi• proofs of significant mathematical results to a ple" in projective geometry. computer. Finally, from the viewpoint of A.I. and re• The eventual ability to clearly express the presentation theory the ability to state and prove theorems of mathematies to a computer will require theorems of metamathematies can be very helpful in the facility to state and prove theorems of meta- answering the questions of how we "reflect" on the mathematics. There are several clear examples: reasoning we are doing and if a proper axiomatizat a. Axiom schemas. How exactly do we express ion of the metamathematics of an FOL language to• that gether with some sort of computationally realiza• ble reflection principle allows us to discuss in an adequate way our reasonings. is an axiom schema? We need to say: "if for any This paper is divided into two sections. In first order sentence V with one free variable y we the first one, we present the two axiom systems denote by P(n) the formula obtained from P by sub• and the proof of the metatheorem: "for all varia• stituting n for y assuming n is free for y in P, bles x,y and well formed formulas f, then the sentence is a theorem also is a theorem". In the second section we look at proofs appearing in the appendices in order to explore the features of FOL that need improving and their use in earry ing out formal proofs. • « This research was carried out while the author was visiting at the A.I. Lab., Computer Science Department, Stanford University. I Section 2 The Axiom System where the function substring(s,n,n) returns the substring of s starting from its m-th element and In this HOClion we present two axiomatiza- ending with the n-th. len(s) computes the length Uons of the mctamalhcmatics of first order logic. of s and (n gP s))selecls the n-th element of s. The IIUJi 11 difference between Lhcm is that one is done iu a many sorted first order logic and the Well formed formulas (wffs) are represented other not. These axioinilizalions represent an at• as strings which either are elementary formulas tempt at experimenting with proots about proper• (defined by the predicate KM-') or can be partition^ ties of formulas and deductions. No effort has ed into substrings for formulas and logical con• been spent on guaranteeing that the axioms are in• nectives. Formulas are defined by: dependent. It would not only have been uninterest• ing but also contrary to our basic philosophy. We wish to find axioms which naturally reflect the relevant notions. At the moment this axiomatizat- ion is far from being in its final form. Neither the extent of the notions involved nor the best way of expressing them is considered settled. gen is the infix operator that maps its arguments Strings and sequences of strings have been x and f into the string "(FOKALLSYM c x) c f" re• axiotnatized and used to define metamathematical presenting the well formed formula Vx.f. The oper notions. For instance, well formed formulas are ator ex is used for the existential quantifier, represented as strings of symbols which satisfy dis, con and impl are the infix operators for the the predicate' FORM defining which combinations of disjunction, conjunction and implication of two constants, variables predicates and functions sym• formulas,Finally neg is the operator which maps bols represent a wff.; deductions are then repre• a formula into its negation. sented as sequences of wff's satisfying the predi• cate PROOFTKKK. We could possibly represent wffs as structur• ed objects (lists, trees, etc.) which contain all 2.1 The Sorts the information about the structure of the formula and do not require any parsing. This approach a- The sorts we have defined correspond to the mounts to axiomatizing metamathematics in terms basic notions ol the metamathematics i.e. terms, of the abstract syntax of first order logic, in• formulas, individual variables, logical symbols, stead of strings of symbols. Both of these possi• function symbols etc. and the notions of the do• bilities should be explored. We have chosen the mains (strings and sequences of strings) in which first alternative because: the axiotnatizat ion has been defined. KOI, (see Weyhrauch and Thornas 1974) allows the declaration 1) It is the most traditional, i.e. luetanuith of variables to be ot a certain sort. In the for• ematics, as it appears in logic books, is usually mulas appearing in this paper, each variable is stated in terms of strings. declared to be of some particular sort. For in• 2) Axioms in terras of abstract syntax are stance f,fl,f2,.,. are of sort well formed formulas simply theorems of the theory expressed in terms t,tl,t2... of sort terms etc. For the complete set of strings. Thus the two representations look sub of FOL declarations see Aiello and Wcyhrauch 1974. stantially the same with respect to "high level" theorems. 2.2 The Domain of Representation of the meta• mathemat ics. 3) Ill-formed formulas can be mentioned. This is of course impossible in an axiomatization in The basic notions of the metamathematics of terms of the abstract syntax. first order logic have been axiomatized in terms of strings and sequences of strings. The primitive The properties of wffs relevant to our theory functions on them are concatenation (c for strings, have been defined by the predicates FR, FRN, GEB cc for sequences) and selectors (car, cdr for and SBT, FR(x,f) is true iff the variable x has strings and scar, scdr for sequences), c and cc at least one free occurrence in the wff f, while are infix operators. FRN(x,n,f) and CEB(x,n,f) are respectively true when the variable x occurs free or bound at the 2.2.1 Formulas and terms place n in the formula f. In addition to these predicates, some generalized selector functions Formulas and terms arc represented by the are defined, which evaluate the first or the k-th string of symbols appearing in them. Terms are de• free occurrence of a variable in a wff, or the fined recursively as strings which either represent number of its free occurrences. The predicate SBT an individual variable or can be decomposed into is then defined. It axiotnatizes the notion of sub n+l substrings representing a function symbol of stitution of a term for any free occurrence of a arity n, followed by n terms.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us