Escolar Documentos
Profissional Documentos
Cultura Documentos
Gilmore
Abstract: A program is described which can provide a computer with quick logical facility for syllogisms and
moderately more complicated sentences. The program realizes a method for proving that a sentence of quan-
tification theory is logically true. The program, furthermore, provides a decision procedure over a subclass of
the sentences of quantificatio~ theory. The subclass of sentences for which the program provides a decision
procedure includes all syllogisms. Full justification of the method is given.
A program for the IBM 704 Data Processing Machine is outlined which realizes the method. Production runs of
the program indicate that for a class of moderately complicated sentences the program can produce proofs in
intervals ranging up to two minutes.
Introduction
Before a rigorous mathematical proof of any theorem can ingful and are therefore called well-formed formulae, or
be given, it is necessary that the theorem, and the axioms briefly wff. From the wff of the theory will be selected
from which the theorem is to be deduced, be precisely the sentences of the theory.
stated in an unambiguous language. The formal language Inductive definitions of wff and of "the (individual)
variously called the first-order predicate calculus or logic, variable X occurs free in the wff S" are given simultane-
the first-order functional calculus or logic, or quantifica- ously:
tion theory, is adequate for the expression of any theorem 1. A formula consisting of a predicate letter followed by
or axiom. Further, although the sentences of quantifica- any number of individual names or variables is an atomic
tion theory are ambiguous in the sense of being capable wff and a wff and the variables occurring in it occur free.
of possessing many different meanings, it is an easy matter
2. If S is a wff then so is -S, and the variables occurring
to remove this ambiguity simultaneously from all sen-
free in S occur free in <S,
tences of the language by assigning meaning to the primi-
tive symbols from which the sentences are formed. But 3. If Sand Tare wff then so are (S&T), (SvT),
most important of all, it is possible to give for sentences (S :J T) and (S == T), and the variables occurring free
T, SI, S2, ... of quantification theory a precise definition in either S or T occur free in these wff.
of "T is a logical consequence of the sentences S1,S2,"'" 4. If S is a wff and X is any variable then (EX)S and
to replace the intuitive but vague notion in natural lan- (AX)S are wff and the variables other than X occurring
guages that one sentence is a logical consequence of
free in S occur free in these wff.
other sentences. Thus quantification theory not only pro-
vides a language for mathematics but also permits a A variable X which occurs in a wff but does not occur
description of what constitutes a rigorous mathematical free is said to be bound in the wff and must, therefore, by
proof. part (4) of the definition, occur with quantifier symbols
The primitive symbols of quantification theory are as in (EX) or (AX). A sentence of the theory is a wff in
brackets (,), the logical connectives -, &, v, :J, ==, the which no variable occurs free. Calling such formulae of
predicate letters A, B, C, ... the individual names, a, b, c, the theory sentences is reasonable if the primitive symbols
... the individual variables x, y, z, ... and the quantifiers of the theory are interpreted as follows:
E and A. Any finite sequence of these primitive symbols Atomic sentences (atomic wff which are sentences)
is a formula of the theory. From the formulae of the can be understood as abbreviations for sentences such as
28 theory are selected some which in some sense are mean- "1+3=5", "3<7", or "John is tall"; these could be ex-
tion for which - T is true. Thus for T in M. if the process theorem. Dunham, Fridshal and Sward have developed a
is carried out with - T as input and k ~ 0 at the nth step, program which uses an efficient decision procedure for
n"<N, then T has been proven to be logically true; while theorems in propositional logic." The work of Wang is
if kn>O for each of the first N steps of the process, Tis most directly related to the present paper." Wang has
known to be not logically true and a counterexample to T written two programs and has proposed a third. His first
30 can actually be exhibited. program is a decision procedure for theorems of the
(3) For any interpretation I" for which S is true there unique completion} of '" 1"<p(,,,
U such that Ir;;F. 1ft is a
n:::1
exists an interpretation 1', I'<]", for which S is true and
homomorphism of 1 onto 1'.
a function cP for whichI,,<I>o,l r;;f"+l'1>("q) for n> 1, such
Corollary. For S not in D there exists an interpretation for
that I' is the homomorphic image of some completion
00 which S is true if and only if k,,>O for all n,
of'U 1,,<IJ(n).9 Since by (I) if k,,> 0 for all n then there exists a func-
n~~l
tion cP for which [,,"'(n) for all n, and hence by
Proof (2) there exists an interpretation for which S is true. Con-
versely if there is an interpretation for which S is true
That they possess property (I) is immediate. A comple-
~
then by (3) there is such a and hence k.'> 0 for all 11,
tion 1 of a set U 1,,$(,,) is formed from the latter set by
n;;;;l Theorem 2
adding to it ground sentences consistent with it formed
from names and predicate letters occurring in members of When S is in D and N "~max(l, (m-r+s)"), the sets I"j
the latter set. Hence, all of the sentences M(a"." ... ,a'l.m), possess the following properties:
n= 1,2, . , . , are true for I and therefore also S is true (I) For any 11, 1 <;n<N, for which kn+i>O and any i,
for t. 1 S;Sk n ,!, there exists an i such that [nir;;f,,+lj.
Let S be true for I", Choose a sequence b i , b 2 , , of
names of I" as follows: (2) For any function cP for which In'iJ;n) Cln+l<l>(;'~l) for
eo
1'511<1"1, S is true for any completion of U InP(n..
( 1) If names occur in S, list these first in the order in 1l:::o1
which they are listed in a1, (12, , , (I,; (3) For any interpretation 1" for which S is true there
(2) If no names occur in Sand QI is A, choose any name exists an interpretation 1', rc; I", for which S is true and a
of I" as b 1 ; function 1:> for which [,,<1'(") Cl n+l'iJin+l}, for 1Sn<N, such
that I' is the homomorphic image of some completion of
(3) Assume that the sequence of names has been com- y
(1) (Ex) (Ay) (Az) ([Fy.::JGy)=Fx) &Fy-::>Hy)=:Cx) & (Fy-::>Gy) -::> Hy)=Hx)] -::> (Fz&Gz&Hz)} .
(4) (Ex)(Ey)(Az){(Fxy::J (Fyz & Fzz) ) & Fxy & Gxy)::J (Gxz& Gzz} .
(5) {[(Ax){Ey)(Fxy v Fyx) & (Ax)(Ay)(Fxy :J Fyy)::J (Ez)Fzz} .
(6) (Ax)(Ey)(Px::J(PyvQy, where the atomic wff "Px' is replaced by: (Eu)(Av)(Fux:J(Gvu&Gux)), the
atomic wff "Py" is replaced by a corresponding wff, and the atomic wff "Qy" is replaced by: (Au) (Av) (Ew)
Gvu v Hwyv)::J Guw) .
(7) ([(Ax) (Kx -::> (Ey) (Ly & (Fxy ::J Gxy ) & (Ez;)(Kz; &(Au) (Lu::J Fzu J:J (Ev)(Ew) (Kv&Lw& Gvw)} .
(8) (3) in which the atomic wff "Hx" is replaced by: (Au)(Ev)Hu'lJx, and the atomic wff "Hz" is replaced by a corre-
sponding wff.
(9) (Ax) (Ey) (Az) {(pyx:J (Pxz :: Pxy & (Pxy::J (~Pxz:J (Pyx & PZy)}, where the atomic wff "Pxy" is replaced
by: (Au)(Ev) tFxun & Gyu & -Hxy), and the other atomic wffs are replaced by corresponding wffs.