1990 - Margaris - First Order Mathematical Logic
1990 - Margaris - First Order Mathematical Logic
1990 - Margaris - First Order Mathematical Logic
\S
ISBN'0-486-66269-1
90000
1
$7.95 IN USA
DOVER BOOKS ON
ADVANCED MATHEMATICS
QuAUTATIVE 'I'HEoRY OF RDINARY DIFl"ER!'.NnAL EQuA'nONS: AN
INI'RODUCTION, Fred Brauer and John A. Nohel. (65846-5) $8.95
1oURIER SERIES AND RrHOGONAL FuNCTioNS, Harry F. Davia.
(65973-9) $9.95
UlsmACT ANALYTIC ~UMBER Tm:oRY, John Knopfmacher. (663442) $9.95
l'ENsoRS, DIFFERENTIAL FoRMS, AND VARIA'nONAL PRINcmEs, David
Lovelock and Hanno Rund. (65840-6) $8.95
roPOLOGICAL UNIFORM STRUCTURES, w arren Page. (65808-2) $9.95
~ CALCULUs WITH AFPl.JCATIONS, Richard A. Silverman.
(66097-4) $8.95
}roMETRY AND SYMMETRY, Paul B. Yale. (65779-5) $7.95
roPOLOGY, John G. Hocking and Gail s. Young. (65676-4) $8.95
iNrRoDUCTION TO LINEAR Al.GEBRA, Marvin MIU'CUB and Henryk Mine.
(65695-0) $7.95
~UMBER 'I'HEoRY AND ITS HlsToRY, Oystein Ore. (65620-9) $8.95
\.fATHEMATICAL MEmoDs OF PERATIONS R.EsEARcH, Thomas L. Saaty.
(65703-5) $12.95
~ SURVEY OF NUMERICAL MATIIBMATICS, David M. Young and Robert Todd
Gregory. (65691 8, 65692-6) Two-volume set $29.90
DISTRIBtmON 'I'HEORY A."ID TRANsFORM ANALYSIS, A.H. Zemanian.
(65479-6) $9.95
[NTRODUCTIONTO NUMERICALANALYsis, F. B. Hildebrand. (65363-3) $14.95
MATHEMATICAL EcoNOMlCS, Kelvin Lancaster. (65391-9) $10.95
E<'IFrY CHAU..ENGING PRoBLEMs IN PRoBABIUTY WlTH SoumoNs, Frederick
Mosteller. (653552) $3.95
HANDBOOK OF MATIIBMATICAL FuNCTioNs, Milton Abramowitz and Irene A.
Stegun. (61272-4) $22.95
I'ENsoR MALYSIS ON MANIFOLDs, Richard L. Bishop and Samuel l.
Goldberg. (64039-6) $7.95
VECTOR AND TENSOR ANALYSIS WITH AFPucATIONS, A.I. Borisenko and I.E.
Tarapov. (63833 2) $6.95
Tm: HlsToRY OF THE CALCULUs AND ITS CoNCEPI'UAL DEvELoPMENT, Car! B.
Boyer. (60509-4) $7.95
PruNCIPLES OF STATISTICS, M.G. Bulmer. (637603) $6.95
'I'HE 'I'HEoRY OF SPINORS, lie Cartan. (64070-1)
A.DVANCED NUMBER 'I'HEORY, Harvey Cohn. (64023-X) $6.95
STATISTJCS MANuAL, Edwin L. Crow, Francis Davis, and Margaret
. Maxfield. (60599X) $6.95
CoMPUTABILl'I'Y AND UNSOLVABILITY, Martin Davis. (61471-9) $6.95
AsYMPronc MEmoos IN ANALYSIS, N. G. de Bruijn. (64221-6) $6.95
PROBLEMS IN GROUP 'I'HEoRY, John D. Dixon. (61574-X).$5.95
'I'HE MATHEMATICS OF GAMES OF STRATEGY, Melvin Dresher.
(64216-X) $5.95
AsYMPronc EXPANSJONS, A. Erdlyi. (60318-0) $3.95
).m
'f
1
{
1
1
l.
r
J
!i
i
i
~
1'
,;
/'
i
1
1
!
,.
~ .
First Order
Mathematical
Logic
'-
by
Angelo Margaris
I,
Many errors have been corrected for this edition. A few minor corrections that I could not squeeze in to the text appear in an Addendum,
which also lists sorne books publshed since the first edtion.
Fbr their contributions to this edition I thank Joseph Barback.
David Duncan, Ro.r Meyers, Judith Ng, lvo Thomas, Barbara Turner,
Walter Westphal, and Joe Whitford.
My thanks to the folks at Dover, for resuscitating this book and for
all the hard work they put in getting rid of the gremlins.
A.M.
Columbus, Ohio
December 1966
Contents
}
INTRODUCTION
1 Rules of Inference / 1
2 Set Theory / 5
3 Axiomatic Theories / 12
4 Predicates and Quantifiers
/ 16
5 Statement Connectives / 23
6 The lnterpretation of Predicates and Quantifiers
7 The Predicate Calculus and First Order Theories
8 The Omission of Parentheses / 36
9 Substitution of a Term for a Varia.ble J 38
10 Removing and Inserting Quantifiers / 39
11 Denials / 42
/
/
27
30
12 Formulation / 47
13 The Statement Calculus / 51
14 The Deduction Theorem / 55
15 The Completeness Theorem for the Statement Calculus / 63
16 Applications of the Completeness Theorem for the Statement
Calculus / 71
17 Quantifiers / 74
18 Equivalence and Replacement / 83
ix
CONTENTS
19
Theorem Schemes / 89
Normal Forros / 94
Equality / 104
20
21
3
22
23
24
25
26
27
28
29
30
31
191
References
195
Addendum
201
Index of Symbols
Subject Index
205
203
First Order
Mathelllatical
Logic
1
INTRODUCTION
Rules of Inference
(1)
(2)
(3)
1
[Ch. 1
INTRODUCTION
(1) is true. (2) is false. (3) is the famous Fermat conjecture whose
truth or falsehood is unknown at this time.
Let P and Q be staternents. Then P and Q and P or Q are also
statements. The words and and or stand for operations on staternents
in the sarne way that in ordinary algebra, + and stand for operations
on numbers. We write P /\ Q for P and Q, and P v Q for P or Q.
A typical rule of ordinary algebra is : For all integers a, and b,
a + b = b + a, The rules of logic are called rules oj inference. An
exarnple of a rule of inference is: For all staternents P and Q, the
statement P rnay be inferred from the staternent P /\ Q. We write
this rule in the following convenient form :
p /\ Q
1]
RULES OF INFERENCE
,_,p
(excluded middle)
(13)
-+ ,......,,...,_, p
(double negation)
(14)
(double negation)
(15)
( ,_,,....,,P) -+
The rneaning of (13) is that P v ,._,p is true outright for every statement P because of the way that V and ,......, enter into the construction
of P v ,,._,p, Similarly, (14) and (15) are true outright.
Sorne rules of inference can be derived from others.
(4)
-p-
EXA.MPLE
l.
p /\ Q
Q /\ p
Proof.
(6)
PvQ
P,
Sorne rules of
(modus ponens)
Q, p-+ S , Q-+
EXAMPLE
2.
(,......,P)--+Q
'(8)
(~)-+P
Proof.
P-+Q , Q-+S
P-+S
V
(14)
(8)
(7 )
P-+ ,.._,,_,p
,.._,,.._,p
P vQ
Q v P
P-+Q, p
Q
p
,.._,,.._,p
(5)
(transitivity)
(proof by cases)
(9)
(,......,P)-+Q,
(10)
Q-+,.._,~
(,.._,p -+ ,......,~
(~)-+ p
(14)
(9)
(12)
(11)
Q-+P
P-+Q
(contraposition)
(12)
EXERCISES
INTRODUCTION
[Ch. I
2)
SET THEORY
,.._,,.._,p
(a)
3. (c)- (f) are correct; (a), (b), and (g) are incorrect.
Q
(e) ("-'P)-+
Q, C-....P)-+ ~
(proof by cases)
(proof by contracliction)
(d) P-+P
(e) (,.._,P)-+ p
(g)
(proof by contradiction)
P-+Q
P, ,.._,p
Q
(b)
(e)
(modus moron)
P-+.....,p
,.._,p
(PvQ)-+S
(e) P-+
(~; ,.._,Q)
,.._,(P-+Q)
(f)
p
(P
(g)
A Q)-+S
P-+S
Set Theory
a is in the set A
a is an element of the set A
a is a member of the set A
a EA
(contraposition)
(... -
(a) P-+Q,
ANSWERS
l. (a).
-p-
(f)
s R.
R and x is positive}
[Ch. 1
INTRODUCTION
s A
A or x
B or both}.
A and
B}.
= {O}.
The following properties of sets are immediate from the definitions of
s, =,u , and n.
(1) If A s B and B s C, then A
(2} A u B =Bu.A
(3) (A u B) u C = A u (B u O)
(4} A nB = BnA
ne =
(5} (A n B)
(6) As A u B
(7) A n B s A
(B
SET THEORY
2]
C)
If f is the
Iff and g are functions , thenf = g if and only ifj and g ha ve the same
domain, and f (x ) = g(x ) for every x in the common domain.
Let n be a positive integer. A sequence of n terrns is a list (a 1 , a 2 , . . . ,
an ) of n objects, called terms , with repetitions permitted. A sequence of
O terms is the empty set. A finite sequence is a sequence of n terms for
sorne nonnegative integer n . For example , (1 , 3, i , 3, 4 ) is a finite sequence of five terms . Two finite sequen ces (a 1 , . . . , a,_) and (b1 , . . . , bm )
are equal if and only if they have the same number of terms (n = rn) ,
and a = b; for i = 1, 2, ... , n. For finite sequences, the notions of
order and repetition are critical. Thus (1 , 2, 3) # (2, 3, 1) and
(1, 2, 1) # (1 , 2). ( # means not equal.)
For our purposes the ordered n-tuple (a 1 , . . . , an) is the same thing as
the finite sequence (a1 , . . . , an) An ordered 2-tuple (a 1 , a 2 ) is also
called an ordered pair.
If A ; a set an c r;. is a posit iYe i:J.teger. ther:. A" is t!-: e set 0: ri:l
ordered n-tuples (a 1 , . , an) of elements of A. For example, R 2 is the
set of ali ordered pairs (a 1 , a 2 ) of real numbers. Geometrically, R 2 is
the set of ali points in the plane.
An n-place operation on A is a function whose domain is A n and
whose values all lie in A.. Addition is a 2-place operation on R since
it assigns to each ordered pair (a, b) of real numbers the real number
a + b. /\ is a 2-place operation on the set of statements since it
assigns to each ordered pair (P , Q) of statements the statement P /\ Q.
The function f with domain R 3 , defined by j(a , b, e) = a(b + e) , is a
3-place operation on R. The function g with domain R, defined by
g(a) = -a, is a 1-place operation on R.
A 2-place operation is also called a binary operation . For binary
operations, it is customary to write a. + b or a b or a o b instead of
j(a, b). Let be a binary operation on A. o is associative if and only
if (a b) e = a (b e) for all a, b, e in A. If is associative , one can
[Ch. 1
INTRODUCTIO.N
2]
prove by induction that a 1 o a 2 o o a,. does not depend on the way
that the elements a1 , . , a,. are associated. For n = 4, this means
that
((a1 a2 ) a 3 ) a 4
= a1 ((a2 a 3 ) a 4 )
=
(a1
(a 2
a 3 ))
= (a1 a 2 ) (a3 a 4 )
a 4 = a 1 o (a 2 o (a3 a 4 ) )
THEOREM
Proof.
is finite.
Let a =
Hence a
1.
SET THEORY
THEoREM
3.
t,
i,
-t.
To
enumerate ali the rationals we start with O and interlace the positive
. rat10na
..
ls.. o, -,
l
l l
.l 2
2 l
l
2
2
an d negat ive
- ,
2 , - 2 y, --, :r - :r, 2, - 2, ... .
THEOREM 4 . Let A s.: B. lf B is countable, then A is countahle.
H ence, by contraposition, if A is uncountahle, then B is also uncountahle.
Hence ,
10
[Ch. 1
INTRODUCTION
6.
2]
111213a
EXERCISES
l.
2.
3.
4.
5.
6.
7.
nU2U3U4 . . .
i.
b, =
8.
2122U23U24
.a3U3zU33U34 .. .
{~
if a = 3
if a 11 #- 3
11
sequence
l.
2.
3.
SET THEORY
9.
10.
11. Use Theorems 3 and 4 to prove that the set of integers is countable.
12
[Ch. 1
INTRODUCTION
ANSWERS
5.
6.
7.
8.
9.
one wife. (b} No longer a function because sorne American men are
unmarried.
The set of ali women married to American men (which is not the
same as the set of all married American women); {x 1 x E R and
x ~ O}; {Fort Knox}; the set of all positive integers greater than l.
No. The domains are different.
Yes.
No. f(a, O) is not a real number. The same rule applied to A 2 ,
where A is the set of all real numbers different from O, is an operation
onA.
For all a, b, e, din R, f(a, b, e, d) = (a + b)(c + d).
Axiomatic Theories
3]
AXIOMATIC THEORIES
13
12
213
= =
14
INTRODUCTION
[Ch. I
3]
AXIOMATIC TREORIES
15
Why are
__
2 = 4-+ (2
4 __.,. 2
6)
and has modus ponens (see Section 1) as its one and only rule of
inference. Find all the theorems of this theory, and give a formal
proof of each one.
4. An axiomatic theory is consistent if and only if there is at least one
statement of the theory that is not a theorem. In a certain formal
theory, (a) if P and Q are statements, then P-+ Q is also a statement;
(b\ every sta.tement of the form P -4-Q : an axiom: and (e) modm
ponens is one of t.ne ruies of inference. i:lnow tna;; this theory is not
consistent.
ANS\VERS
1. The proof may have infinitely many steps, or one of the steps may be
infinite, Le., have infinitely many symbols. The purpose of any
proof is to convince the reader; an "infinite proof" can convince
no one because no one can read it all.
2. Let T be an axiomatic theory whose one and only axiom is: All girls
are beautiful. Then this statement is not only provable-it is
axiomatic.
3. The theorems are the two axioms and 2 + 2 = 4 __.,. 2 + 3 = 6 and
2 + 3 = 6.
16
[Ch. 1
INTRODUCTION
(1)
(2)
(3)
--+--=--
(4)
__ + __
=7
(5)
__ + __
=7
(6)
4]
17
(7)
(8)
(9)
(10)
(11 )
The phrase for every x is called a universal quantifier, and we shall write
itas Vx. In logical symbolism, (11) is written as
Vx(x is greedy)
(12)
18
[Ch. 1
INTRODUCTION
4]
EXAMPLE 4.
Vx\ly(x }oves y)
{13 )
(14)
EXA.MPLE 5.
\lx'Vy3z(x
= z)
VxVyVz((x
y)
(y
(nurnber theory)
z))
+z=
+ z)
(y
z)
ln the statement
2.
k=5
k2
k=l
\ly3x(x loves y )
EXA.MPLE
(number theory)
EXAMPLE 6 .
l.
3x\ly(x loves y )
EXAMPLE
19
k is a dummy variable.
12
55
(15)
22
32
42
52
55
3.
J cos x dx = sin 1
1
0
3x3y(x loves y)
x is a dummy variable.
(16)
The statement
J cos
1
0
t dt
sin 1
(17)
20
[Ch. 1
INTRODUCTION
4]
In the formula
3x(x < y)
the first and last occurrences of x are free, and the other two occurrences
are bound. (22) is confusing and is better written as
(18)
J cos t dt =
V\'hen (18) is
0x
written as
There is a number less than y
2. k =
n(n
kl
1)/2
f:
COS
t d,t
(20)
8)
(21)
the first two occurrences of x (from left to right) are bound, but the
third occurrence of x is free because it is not in the scope of the quantifier
3x. As far as meaning is concerned, the free and bound occurrences
of the same variable in a formula have nothing to do with each other.
In the formula
J: cos
x dx = sin x
(25)
For the most part, we shall avoid formulas such as (24), but again we
do not forbid them.
+z=
(24)
(19)
(23)
Similarly, in
Sin X
sin x
We shall avoid formulas in which the same variable occurs both free
and bound, but we do not forbid them, because to do so would
complicate the definition of formula. In the formula
21
(22)
x)
(26)
(27)
+y
= y
(28)
.22
[Ch. I
INTRODUCTION
5)
y)(x
Statement Connectives
z)
6. For each of the following formulas, write "B" for "bound" or "F"
for "free" under each occurrence of each variable.
(a)
(b)
(e)
{d)
23
(d); you can probably do better: {d) There exist two numbers with
the property that the sum of one number and an arbitrary number is
equal to the product of the other number and the same arbitrary
number. (This answer is not quite correct. What has been
overlooked
EXERCISES
STATEMENT CONNECTIVES
3y(x < y)
3zVy(z = y v y = x)
(Vx(x > O)) /\ (3y(y = x))
(3z(x + y = z)) v ((Vx(x > 2))--+ (3y(y
T T
F
Q PvQ
T
F
T
T
T
F F
F
T
ANSWERS
l.
5. (a) Somebody is loved by everybody. (b) Everybody loves somebody. (e} The difference of two numbers is a number. (d) and (e)
are best not written in ordinary English. We give an answer for
T
F
F
F
The first two columns list all the possible assignment s of truth values
to the pair {P, Q}, and the last column gives the corresponding truth
value for P /\ Q. The table above is an example of a truth value
table~ or b!i~fly ; t~4u.tlt ta.ble. "!1 exa:mr~e C:f b. ,._:-_~r~.; Lli-ictiG~.'.. ~.:~ 2 ""'."~ 2 ::= 4
/\ 3 + 2 = 7, which is false because 3 + 2 = 7 is false.
If P and Q are any statements, then the statement P or Q is called the
disjunction of P and Q, and we write it as P v Q. We choose that
meaning of or for which P v Q is true if and only if P or Q or both are
true. The truth table for disjunction is
T T
z)))
T F
F F
Q p /\ Q
24
[Ch. 1
INTRODUCTION
5)
STATEMENT CONNECTIVES
Qif P.
Q provided P.
Q when(ever) P.
Pis a sufficient condition for Q.
Q is a necessary condition fr P.
The negation of
Mary Potholder loves candy
is
Mary Potholder <loes not love candy
The negation of
Everyone loves a fat man
is
It is false that everyone loves a fat man
We write the negation of P as ,._,p.
is false and is false when P is true.
_,p
T
F
.F
T
T T
F
T
T
F
F F
Q P+-+Q
T T
F
T
T
F
F
F
F F
Q
T T
p
T
T
F
T
25
T F
F
P-+Q
Q-+P
T
T
F
T
F
T
"J. .-
~' - ;t.::
(P-+ Q) /\ (Q-+ P)
P if and only if Q
P is equivalent to Q
P is a necessary and sufficient condition for Q
Q +--+ P has the same meaning as P +--+ Q, i.e., P +--+ Q is true if and
only if Q +--+ P is true. Hence P and Q can be interchanged in each of
26
6]
[Ch. l
INTRODUCTION
~-+,...,p
,...,p-+ Q +-+ R
Q p /\ Q ,....,( p /\ Q)
T T
F
T
F
F
F
F
T
F
F
F
T
T
T
Construct the truth ta.ble for ,....,p /\ ~ a.nd for ,....,p v ~ a.nd
state which ofthese two is the sa.me as the truth table for ,....,(p /\ Q).
5. (a) Show that the truth ta.ble for P v Q is the same as the truth
table for ,.._.p-+ Q. (b) Show that the truth ta.ble for P /\ Q is the
same as the truth table for ,....,(p-+ ~).
6. Use the convention to elimina.te as many parentheses as possible.
(a) ((P-+ R ) /\ ((~)-+ R ))-+ ((P v Q) -+ R )
(b) P-+ (Q +-+ (P+-+Q))
(c) (,....,P)-+ (( --P) V Q)
(P A Q) -+ R
(P V Q) +-+ R
(~) -+ (""P)
((,...,P) -+ Q) +-+ R
ANSWERS
l. (a.), (d), (e), (g), (h), and (j) are true, the others false.
2. P is false and Q is true:
6. (a) (P-+ R) /\ (~-+ R)-+ (P v Q-+ R). (b) No change.
,....,p-+ ,....,p
EXERCISES
27
the sta.tementa a.hove. However, Q-+ P does not have the same
mea.ning as P-+ Q.- Q-+ P is ca.lled the converse of P-+ Q, and its
truth vaJue can be different from the truth value of P -+ Q.
The symbols A , v , ,....,, -+, a.nd +-+ are oalled statement connectives.
With ea.ch connective there is assooia.ted an operation on sta.tements.
,...,, is called a singulary oonneotive, beca.use the associated operation is a
singulary (1-place) operation; the other four oonnectives are oalled
binar connectives beca.use their associated operations are binary
(2-plaoe) operations.
The operations a.ssocia.ted with statement connectives can aJso be
applied to predica.tes. For example, x > 2 A x > 5 is a formula.
To simplify the a.ppearance of formulas, we a.dopt a oonvention for
the om.ission of parentheses. The symbols +-+, -+, /\ , v , and ,...,, are
ranked in the given order with /\ and v having equal ra.nk. The
exa.mples below illustrate the convention. The formulas with pa.rentheses omitted a.ppear on the left.
P/\Q-+R
PvQ+-+R
(c)
Q.
"'$'
theory:
Let G(x) and H (x) be 1-place predica.tes in the doma.in D, G(x, y) a.nd
H(x, y) be 2-place predica.tes in D , and G(x 1 , , xn) be an n-place
predica.te in D.
Let. G(x, y) be the predica.te x < y of number theory. G(x, y) can be
interpreted as a function that assigns to ea.ch ordered pair (d1 , d 2 ) of
numbers the statement d 1 < d 2 , which we denote by G(d1 , d 2 ). ':['hus
1 < 2 is G(l, 2), and 2 < 1 is G(2, 1). Since ea.ch statement is true or
false, we can also interpret Gas a function that assigns to ea.ch ordered
pair (d1 , d 2 ) of numbers a truth value T or F. Thus G(l, 2) = T since
l < 2 is true, and G(2, 1) = F since 2 < 1 is false.
We shall interpret G(xv . .. , xn) as a function that assigns to each
ordered n-tuple (d1 , , dn) of individuals the truth vlue of the statement that results when "d" is substituted for "X" in G(x, .. . ' Xn)
28
[Ch. 1
INTRODUCTION
(,.._,lfx......,O(x) )
(1 )
is true.
Proof. Let D be any domain and Jet G(x ) be any 1-place predicate in
D . \Ve show that 3xG(x ) and ,.._,\fx--G(x ) have the same truth value.
Then (1 ) is true by the truth table for- . Suppose that 3xG(x ) is true.
Then by the interpretation for 3, G(d 0 ) is true for sorne d 0 in D. Then
,.._,Q(d0 ) is false by the truth table for ,.._,, Then 'v'x......,O (x ) is false by
the interpretation for 'v'. Then ,.._,\fx,.._,G(x ) is true by the truth table
for --. Now suppose that 3xG(x ) is false. Then G(d) is false for every
d in D by the interpretaton for 3. Then ,....,G(d) is true for every d in
D by the truth table for ,.._,, Then 'v'x"-'G(x) is true by the interpretation
for 'v'. Then ,.._,\fx,.._,G(x) is false by the truth table for """'
EXA111PLE 2.
(2 )
is true.
Proof. Let D be any dornan and let G(x) and H (x) be any 1-place
predicates in D. We note that G(x) v H(x) is also a l-place predicate
in D. If (VxG(x)) v (VxH(x)) is false , then (2) is true by the truth
table for --+. So suppose that ('v'xG(x)) v (VxH(x)) is true. Then by
the truth table for v , either VxG(x) or VxH(x) is true. Suppose
VxG(x) is true. Then G(d) is true for every din D by the interpretation
for V. Then G(d) v H(d) is true for every din D by the truth table for
v. Then Vx(G(x) v H(x)) is true by the interpretation for 'v'. Then
(2) is true by the truth table for --+. Similarly, if VxH(x) is true, then
(2) is true.
6]
EXAMPLE 3.
29
(3)
is false by the truth table for -+. For the second example, let D consist
of the two elements d 1 and d 2 . Let G(x) and H(x) be defined in Das
follows: G(d 1 ) = T , G(d2 ) = F , H(d 1 ) = F , H(d2 ) = T. Then by the
truth table for V, G(d1 } v H(d 1 ) is true because G(d 1 ) is true , and
G(d 2 ) v H(d 2 ) is true because H (d 2 ) is true. Hence \'x(G(x) v H (x) )
is true by the interpretation for V. Now by the interpretation for V,
V:rG (x) is false because G(d 2 ) is false , and vxH(x) is false because H (d 1 )
is false . Hence ('v'xG(x)) v ('v'xH(x)) is false by the truth table for v.
Hence (3 ) is false by the truth table for --+ .
EXA}IPLE
4.
is true.
(4 )
Proof. Let D be any domain, and let G(x, y) be any 2-place predicate
in D. We show that 'v'xVyG(x , y) and VyVxG(x, y) have the same truth
value. Then (4) is true by the truth table for ~. Suppose Vx'v'yG(x, y )
is true. Then, by the interpretation for V, we have in turn : 'v'yG(d, y )
is true for every din D, G(d, e) is true for every d ande in D, VxG(x , e) is
true for every e in D, and finally, VyVxG(x, y) is true. Now suppose
that 'v'x'v'yG(x, y) is false . Then by the interpretation for V we ha'.ve in
turn: 'v'yG(d 0 , y) is false for sorne d 0 in D, G(d0 , e0 ) is false for sorne d 0
and e0 in D, 'v'xG(x, e0 ) is false , and finally, 'v'y'v'xG(x, y) is false.
EXA.MPLE 5.
There is a cruel dictator
has the same meaning as
There is a human being d such that
d is cruel and d is a dictator
(5)
(6)
30
[Ch. 1
INTltODUCTION
is cruel /\ x is a dictator)
(7)
7]
31
{V,,.....,, 3}.
EXERCISES
(a)
(b)
(e)
(d)
(e)
('v'xG(x)) -+ (3xG(x))
('v'xG(x))~ (,_x......,(i(x))
((\fxG(x)) /\ ('t/xH(x)))~ ('t/x(G(x) /\ H(x)))
(3x(G(x) v H(x)))- ((3xG(x)) V (3xH(x)))
Ll.
L2.
L3.
Examples of linearly ordered sets are the integers and the rea.Is with
the usual meaning of < .
We formulate L as a formal theory. The formal symbols are the
logical operators
-+
the punctuation marks
the 2-ph ce predi-;;ate f:y::".l bols
The most important system of logic for mathematics is the first order
)redicate calculus, which we call the pre.dicate calculus. The predicate
~alculus supplies ali the language and logic necessary to state and prove
tny theorem of a first order theory. In this section we shall consider
mly the linguistic aspect of the predicate calculus.
The logical operators are the statement connectives and the quantifiers
t and 3.
Some of these operators can be defined in terms of the others. Let
We define /\ , v , and 3 in
;erms of ,....,, -+, and V.
<
y z x 1 y 1 z1 x 2 y 2
of variables.
A string is a finite sequence of formal symbols.
Formula is defined as follows: (1) If u a.nd v are variables, then
(u < v) a.nd (u = v) are formulas {atomic formulas). (2) If P and Q
are formulas, then (P-+ Q) is a formula. (3) If P is a formula, then
,_,pis a formula. (4) If Pis a formula and vis a va.ria.ble, then VvP
is a formula. (5) Only strings are formulas, a.nd a string is a formula
only if its being so follows from one of (1) through (4).
Briefiy, a formula is a string constructed from a.tomic formulas by a
finite number (perhaps zero) of applications of the logical operations.
For example, (x < y) is a formula by (1). Then Vx(x < y) is a formula
32
[Ch. 1
INTRODUCTION
is a formula by (2). Then Vz(,......,'rfx(x < y)~ ........(x < z)) is a formula
by (4).
Ll through L3 above are the axioms of L. We translate Ll through
L3 into logical symbolism as follows.
LL
L2.
L3.
Vx.-...(x < x)
VxVy'r/z(((x < y) /\ (y < z)) ~ (x < z))
'v'x'v'y(((x < y) v (x = y)) V (y < x})
EXAMPLE 2.
AGl.
O.
Examples of abelian groups are the integers and the reals with the
usual meanings of + and O.
The formal 1>ymbols c:f AG s.re
,....,
+
the constant symbol
o
and an infinite sequence of variables
X
y z
Y1
Z X2 Y2 .
7J
33
are terms, and a string is a term only if its being so follows from one of
(1) through (3).
Sorne terms are
x, O, (x +O), (O+ x ), ((x + z) +O), ((x +y) +(x
z))
z)
AG2. Vx((x + O) = x )
AG3. Vx3y( (x + y) = O)
AG4. 'v'x'r/y((x + y) = ( y
x ))
AGl.
'v'x'v'yVz(((x
y)
(x
(y
z)))
Comparing L and AG, we not e t hat each predicate symbol gives rise
to at omic formulas and that t he operation sy mbol of AG applied to
terms yields new terms. In L , the only terms are t he variables and
need no special mention.
V{ith these examples as a. guide, we formulate t he linguistic part of
the predicate calculus.
The formal symbols are
~
together with (a) an infinite sequence of variables, (b) for each positive
integer n an infinite sequence of n -pla cl? p red ica.te sym ?ofr. (e; for <;a.t;:.
p::.isitive integer n an infir.ite sequence of n-place operation symbols, and
(d) an infi.nite sequence of constant symbols.
Term is defined as follows : (1) Every variable is a term. (2) E very
constant symbol is a term. (3) If F is an n-place operation symbol, and
t 1 , . . . , t.,, are terms (not necessarily distinct), then F(t 1 , , tn) is a
term. (4) Only strings are terms, anda string is a term only if its being
so follows from (1), (2), or (3).
Formula is defined as follows : (1) If Gis an n-place predicate sy mbol,
and t 1 , . , tn are terms (not necessarily distinct), t hen G(t1 , , tn) is
a formula (an atomic formula). (2) If P and Q are formulas , then
(P ~ Q) is a formula. (3) lf P is a formula, then ,.._,p is a formula.
(4) If Pis a formula and vis a variable, then 'ivP is a formula. (5) Only
strings are formulas , anda string is a formula only if its being so follows
from one of (1) through (4).
Every formula of every fi.rst order theory can be expressed in t he
symbolisip. of the predicate calculus. For example, to formulate the
34
INTRODUCTION
[Ch. 1
theory L of linearly ordered sets, we use the first two 2-place predicate
symbols G and H for = and <. Then axioms Ll through L3 are
written as follows:
Ll.
L2.
L3.
Vx(,-B(x, x))
VxVyVz((H(x, y) /\ H(y, z))-+ H(x, z))
VxVy((H(x, y) v G(x, y)) v H (y, x))
7)
35
We close this section with one more example of a .first arder theory.
EXAMPLE 3. Let N be number theory. We use the 2-place predicate
symbols = and < , the 2-place operation symbols + and (multiplication), and an infinite sequence of constant symbols
01234 ...
l. State wh.r each first order theory must have at least one predicate
symbol.
L5.
L6.
[Ch. l
INTRODUCTION
ANSWERS
8]
,.._,p
P 11:Q-+. R~s
Vv.P-+ Q .~. 'VvP-+ 'VvQ
P 11 (Q-+ (R~ sn
'Vv(P-+ Q) ~ (Vr:P-+ Vt-Q)
V (Q~R)
We do not use dots with ,....,,. Because our description of the use of dots
is vague, we shall use them sparingly and with caution t-0 n.void
ambiguity.
For iterated conjunctions and disjunctions we use the connntion of
association to the left. For example, P 11 Q 11 R 11 S is a11 nhbrtn-iation for (( P 11 Q) 11 R ) 11 S. This convention is not used with -+
and~ .
[,....,,p] -+ (Q
P 11 S-+,....,,Q~R
--NvP-+ 3uQ
Vv,....,,3uQ v S -+ R
11 R)
37
EXERCISES
Q/ -+
E)
ANSWERS
l. (a)
(b)
(e)
(d)
38
[Ch. 1
INTRODUCTION
10)
39
EXERCISES
(a) What is P(x 1 /x), P(yfx), P(z/x), P(2x/x), P(x + y/x), P(3 + y/x)?
(b) Which of the following terms does P admit for x: x 1 , y, z, 2x,
X+ '!f, 3 + y1
(e) What is P(x/y) 1
(d) Wha.t is P(x/x) 1
What is P(v/v)1
.ANSWERS
P.
~LL"!'\il'LE
l. Pis 3y(y > x). Below we list sorne terms, and alongside
:ach term the result of substituting this term for x in P.
z
2z
z + 2
x+z
>
>
>
>
>
3y(y >
3y(y
3y(y
3y{y
3y(y
3y(y
2)
z)
2z)
P(2/x)
P(z /x)
P(2z/x)
z + 2)
X
y)
z)
P(z
10
2/x)
P(x + z/x)
P(y/x)
'(2/x) says that there is a number greater than 2, and P(z/x) says that
tere is a number greater than z. But P(y/x) sa.ys that faere is a
imber greater than itself. When y is substituted for x in P, y falls
P(t/v)
t:
The idea is that if Pis true for every v, then in particular it iB true for t.
EXAMPLE
l.
Vx(x ~ O)
X;?; 0
Vx(x ~ O)
y~
Vx(x ~ O)
Vx(x ~ O)
l+yz;?;(I
P(t/v)
3vP
The idea is that if P is true for t, then there is a v for which P iz true.
EXAMPLE 2.
X> 2
3x(x
> 2)
y > 2
3x(x > 2)
5 > 2
3x(x > 2)
1 ~ y > 2
3x(x > 2
[Ch. 1
INTRODUCTION
10]
~he
~he
Proof.
. .t (x
l rml
h-O
h) 2
x2
. .t x2
1l~
. 2xh h+ h2
lim1t
2xh
h-O
h-O
+ h2
x2
. (2x +
= lim1t
h)
h-O
2x
Since x is
41
VvP
\Vhen. it
1e idea is that if P is true for sorne v, then we can choose sorne object
for which P is true. We call existential elimination "Rule C"
C" for "choose "). The precise restrictions on generalization and
1le C are given in Chapter 2. Now we give sorne exarnples that show
w careless use of these rules can lead to error.
:AMPLE 4. We begin with the true staternent 3x(x < 2) of number
iory, apply Rule e to get X < 2, and then generalize to get the false
.tement 'v'x(x < 2). When p is inferred from 3xP by Rule e, X
iomes restricted and is not eligible for generalization.
AMPLE 5. We begin with the two true statements 3x(x < 2) and
> 2) of number theory. Rule e applied to each statement gives
t2
[Ch. 1
INTR.ODUCTION
11)
DENIALS
43
The rules apply not only to statements but to formulas and also to
formulas that are parts of other formulas.
We show how to pass from (2) to (3) using the rules above.
(d) applied to (2) gives
3x,....,Vy3z(x + y = z)
(4)
EXAMPLE l.
Example.
;:i:
3y(y ;:i: O)
3x3y-az(x
specia.liza.ti on
existential introduction
z)
(5 )
The negation of
Vx(P V Q)
(6)
,.._,Vx(P V Q)
(7 )
is
Denials
3x,.....,(P v Q)
+y=
,.....,Vx'tly3z(x
+y
z)
= z)
guiva.lent to (2) is
3x3yVz,....,(x
+y =
z)
(3)
!lich is a. more useful denial. In (3), the qua.ntifiers come a.t the
ginning, and hence the rules for removing quantifiers can be a.pplied.
general, it is desirable to transfer the negation sign in front of a
i.tement as far as possible into the sta.tement. W e list below some
les which provide a mea.ns of finding useful denials o statements.
e say that two statements are equivalent if they ha.ve the same
ianing.
(a) ,_,(p V Q)
(b) ,_,(p " Q)
(e) -axP
'. d) ,.....,VxP
'.e) ,_,(P-+ Q)
is equivalent to
is equivalent to
is equivalent to
is equivalent to
is equivalent to
!
1
\,
(1)
{2i
L
1'~
3x(,.....,p 11 -Q)
E:x:A .r?LE 3.
p" ~
(9)
The negation of
3x(P-+ Q)
(10)
-ax(P-+Q)
(11)
is
(12)
EXAMPLE 4.
Vx,.....,P
3x,......, P
(8 )
Vx(P 11 -.Q)
(13)
Vx3y(y ~ x)
(14)
A denial of
is
3x\;fy,.....,(y
x)
(15)
44
11)
[Ch. 1
INTRODUCTION
DENIALS
Q which is equivalent to
(16)
3x'v'y(y > x)
45
(26}
(17)
Pn-+Q
AA
is
P1
A A
Pn
(18)
-,(J
The formula
3o(o >
o"
Q)
(19)
vs(,....,s
>
ov
-,(J}
vs(s
us.~ful
Using (c}
,....,Q
EXERCISES
(21}
,....,(x is cruel})
,....,,..._,(x is cruel))
-,(J-+ ,....,R
(23)
lam -
f(c)I
< e))
'v'x(,....,(x is a dictator}
(22}
(c) P
(a) 3y'r/x(zy = x)
(b) VxVy(x < y V x ;;: y)
denial !n practice.
3x(x is a dictator
(20}
Since ,..._,p
0 s:; A. By
Let d be any
true. Hence
We say that
(25}
(a)
(b)
(c)
(d)
(e)
(f)
Everybody is greedy
Nobody is greedy
Every college dean is greedy
Ko college dean is greedy
Kot all freshman girls are beautiful
Ali freshman girls are not beautiful
46
[Ch. 1
INTRODUCTION
ANSWERS
l. (a) Yy3x(xy # x)
(b) 3x3y(,......(x < y) /\ ,.._,(x ;;::: y))
(e)
P "
,._,e
(d) VxVy3z(xz = y)
(e) 3eV3x.
< /\ lf(x) - /(c) I ;;::: e
(f) 3e.e > O /\ V( > 0-+ 3x(lx - el < /\
x - el
jf(x) - f(c) j ; : :
e))
THE PREDICATE
CALCULUS
lam - al ; : :
(b)
(e)
(d)
(e)
is greedy)
a college dean-+ x is greedy)
Vx(x is a college dean-+ ,.._,(x is greedy))
,.._,Vx(x is a freshman girl-+ x is beautiful) or
3x(x is a freshman girl and '"-'(X is beautiful))
(f) 'v'x(x is a freshman girl-+ '"-'(X is beautiful) )
Vx,.._,(x
Yx(x is
12
Formula.iion
xi
:_4*<,a.
48
more occurrences of
[Ch. 2
12]
FOR!'tlULATION
P v Q is an abbreviation for
P /\ Q is an abbreviation for
P +-+ Q is an abbreviation for
3vP
is an abbreviation for
49
,...._,p-+ Q
,..._,(p-+ .--..Q)
(P-+ Q) /\ (Q-+ P)
,..._,yv ,..._,p
y, . ...
-s
Further, if Pisan axiom, and vis free in P, then VvP is also an axiom
(axiom generalization, or Ax Gen).
There is exactly one rule of inference : from P -+ Q and P to infer Q
(modus ponens).
Al through A6 are called axiom schemes. Each axiom scheme
provides infinitely many axioms, which we call instances of the axiom
scheme. For each axiom provided by an axiom scheme, Ax Gen
provides a finite number of additional axioms. Although the number
of axioms is infinite, the notion of axiom is effective because each axiom
has one of six recognizable forros.
If Q is inferred by modus ponens on P-+ Q and P, we call P-+ Q the
majar premies and P the minar premiss.
Let fl. be a finite set of formulas. We define "deduction from fl.,"
which reduces to "proof" when fl. is the empty set.
A deduction from fl. is a finite sequence S 1 , . . . , Sn of formulas such
that for each S1 (1 ~ i ~ n) , at least one of the following holds.
.:_;
;;~ll
t
':!
'
L,,
t ~
t :
t
t
J
!
50
[Ch. 2
l.
2.
3.
8 1 is an axiom
(axiom)
8 1 is in A
(assumption)
There exist positive integers j and k, each less than i, such that
Sk is S1 -+ 8 1
(modus ponens)
13]
51
ANSWERS
2. 15.
3. ,...,,(a###(x,
5. No.
x, x i!) -+ ,....,,...,,'fz,...,,a#l(x)).
0 r- Q (A r- Q with A empty)
t-Q
Q is a theorem
Q is provable
X1
Y1
Z1
X2
'Ve write A, B, and O for the first three n-place predicate symbols (for
very n). Hence A(x, y, z), B(x, z), A(x), and O(x, y, z, x 1 ) are
)rmulas.
EXERCISES
For each of the six axiom schemes, give one axiom provided by the
scheme. (You may use A, B, C, x, y, z.)
Proof.
l.
A(x) -+:A(x)-+A (x) .-+A(x) .:-+:. A(x)-+. A(x)-+ A(x) :-+: A(x)-+A(x)
A(x) -+: A(x)-+ A(x) .-+. A(x)
A(x) -+. A(x)-+ A(x) :-+: A(x)-+ A(x)
A(x) -+. A(x)-+ A(x)
A(x)-+ A(x)
1\
-
.~
:.'
j
1~
J-. ~
.;._;
52
THEOREM 2.
Prooj.
,._,A(x)
1-
[Ch. 2
13]
A (x)-+ B (y)
l.
2.
......,A(x)
3.
4.
5.
2.
3.
4.
5.
A(x) -+: A(x)-+ A (x) .-+. A(x) .:-+:. A (x) -+. A(x)-+
A(x) :-+: A(x) -+ A(x)
A(x) :-+: A (x)-+ A(x) .-+. A(x)
A(x) .-+. A(x)-+ A(x) :--+: A(x)--+ A(x)
A(x) .--+. A(x)-+ A(x)
A(x)-+ A(x)
A2
Al
MP, 1, 2
Al
MP,3,4
" A2" after step 1 indicates that step 1 is an instance of axiom scheme
A2. "MP, 1, 2" after step 3 indicates that step 3 is inferred by modus
ponens on steps 1 and 2, with step l the major premiss and step 2 the
minor premiss. (We always give the number of the major premiss
first.)
THEOREM 3.
53
Prooj.
below.
l.
6.
7.
THEOREM 4.
1-
A3
Al
MP, 2, 1
A2
MP, 4, 3
Al
MP, 5 , 6
O(z)
Proof.
l.
2.
3.
4.
5.
~ f::
A (x) -+ B (y)
B (y) -+ C(z)
as
as
as
MP, 1, 3
MP, 2, 4
A (x)
B (y)
O(z)
;: {
1-P-+ P .
l.
2.
3.
4.
5.
-,
"
,~.
i~--~
,.. ,
-
i . . .
l.E:J
f
f. t
J
ir
A2
Al
MP, 1, 2
Al
MP, 3, 4
.,
';
J'
f~ .
l
'
54
[Ch. 2
formal theorems.
THEOREM:
14]
A3
14
3.
4.
P-+Q
,._,p :--+: ,.._,Q-+ ,..,_,p.--+. P-+ Q
,._,p :-..+: ,..._,Q--+ ,..,_,p .--+. p--+ Q .:-..+:. ,._,p.--+. ,..,_,Q--+
Al
MP, 2, 1
is
A2
MP, 4, 3
Al
MP, 5, 6
1-A(x)--+ A(x)
i-P-+ p
2.
3.
4.
5.
A(x)--+ A(x)
EXERCISES
1-
A(x)
P-+P
A(x) --+. B(y)--+ A(x) :-..+: A(x)--+ B(y) .--+. A(x)--+ A(x)
l.
2.
A(x)-+ A(x)
Why?
l.
(a)
(b)
5.
6.
7.
55
6.
1-
P--+ Q
l.
(1)
1-
(2)
56
[Ch. 2
If P
1-
Q, then 1-P-+ Q
(3)
14)
If , P
1-
Q, then
1-
S1
S1 .-+. p-+ S1
P-+S1
8 1 .-+. P-+S1
P-+81
ax1om
Al
MP
[/1
2.
3.
81
SI .-+. p-+ S1
P-+81
S2
f/'2 5. 82 .-+. p -+ S2
6. P-+S2
MP
axiom
Al
MP, 2, l
sm
(a)
"',~
;.
"
rf,,
b
assumption
Al
MP, 5,4
.,.'!{(_,i
sk
and
(b)
assumption
Al
P-+ Q.
57
1;
1
~
'
"i=:1
i
P-+Si
Then !/m + 1 is
(i) J!-+ (Si-+sm+1l]-+[(P-+Si> -+ (P-+sm+IV
(ii) P-+ Si.-+. P-+ Sm+i
(iii) P-+Sm+ i
A2
f
~
l!.47?
..rZ.:'..~?~..-.i~2~
;r-::'' . -l~~~iu~'.,.~::~
~-
...._,1
"1~~~'~
-.':Y:~
..
58
[Ch. 2
14]
(4)
4.
Proof.
l.
2.
3.
4.
5.
6.
,.._.A(x)
,.._.A(x) .-+. --B(y)-+ --A(x)
--B(y)-+ --A(x)
--B(y)-+ --A(x) .-+. A(x)-+ B(y)
A(x)-+ B(y)
,.._.A(x) .-+. A(x)-+ B(y)
as
Al
MP, 2, 1
A3
MP,4, 3
DT, 1-5
59
5.
l' ~
f-t
j. .'".
J~:_:..b
~- !
1~~:;
t:~:~~
':-"'
.~
t-'-i""'
';rj
-"'-O-'
~;~
;,: ~
w..!J:
Ji
.;::~
':-'~
;_:~
t,. >.('~
f' ~
! ~
f-,_,.._.p-+ p
Proof.
l.
2.
3.
4.
5.
6.
7.
q:-_;i~:,j
'
? >,
,.._,,.._,p
,.._.,.._.p .-+. ,.._.p-+ ,.._,,.._.,.._,p
,.._.p-+ ,.._.,.._,,.._,p
,.._,p-+ ,.._.,...._,,.._,p .-+. ,.._.,.._.p-+ p
,.._.,.._,p -+ p
p
,.._.,.._.p-+p
as
Tl3.6
M:P, 2, 1
A3
MP,4, 3
MP,5, 1
DT, 1-6
~'
'
i1 . '
{ o;
lr: thf provf 0ut.li11c ~,bo v- e : ~ rl:i .&': a.:ft er sLe.p ~ m e~-ns "J... . : t l .s :oi.L...
insert the formal proof of ,.._,,.._.p .-+. ,._,p-+ ,._,,.._.,.._.p which can be
extracted from the proof of Theorem 6 of Section 13." The proof
outline above completely specifies a formal proof of ,.._.,.._.p-+ P. We
do not give the formal proof, but we do compute the total number of
steps in the formal proof. Steps 1 and 3 through 6 above each call for
one step in a formal deduction. Step 2 calls for 7 steps. Hence steps
1 through 6 call for 12 steps which constitute a deduction of P from
,._,,._,p, Step 7 calls for the deduction theorem to be applied to this
12-step deduction. Th~\ first step is replaced by 5 steps, and every
other step is replaced by 3, steps. Hence the total number of steps in
the formal proof of ,_,.._.p.:,. P is 3(12) + 2 = 38.
By avoiding the deduction theorem and using a little ingenuity, one
can find a shorter formal proof of ,.._.,.._.p-+ P. However, the technique
of starting from assumptions and using the deduction theorem is a great
help in discovering proofs.
f,1>:;
.
..
;:\,
'~
~!
i'
t
1
i
1
60
[Ch. 2
TuEOREl\1 6.
1-P-+ ,.._,,.._,p
l.
THEOREM 7.
,.._,,.....,,.._,p-+ ,.._,p
,.._,,.....,,.....,p-+ ,.._,p .-+. p-+ ,.._,,.._,p
P-+ ,.._,,.._,p
'~,!
Proof.
Proof.
l.
2.
3.
61
T5
A3
MP, 2, 1
Proof.
2.
3.
4.
5.
6.
7.
8.
9.
S-+P
,.._,p
s -+ P .-+. ,.._,p -+ ,.._,s
,.._,p-+,....,s
,.._,s
,.._,s .-+. ,.._,p-+ ,.._,{,.._,S-+ P)
,...,p-+ ,..._,(,.._,S-+ P)
as
as
T7
MP, 3, 1
MP,4, 2
TS
MP, 6, 5
MP, 7,2
DT, 1-8
A3
MP, 10, 9
DT, 1-11
,.._,(,....,8-+ P)
,.._,p-+ ,.._,{,.....,S-+ P)
,.._,p -+ ,.....,{ ,.....,s-+ P) :-+:
,.....,s -+ P .-+. P
s - P :-+: ,......,s - P .-+. P
2.
,.._,,.._,p
as
as
3.
,.._,,.._,p-+p
T5
4.
5.
6.
7.
p
Q
MP,3, 2
MP, 1, 4
T6
MP, 6, 5
\Ve conclude this section with sorne theorems that state sorne
natural properties o deduction. D. and r are finite sets o formulas.
DT, 1-7
TE:EOREM 10.
l.
8.
9.
10.
11.
P-+Q
Q-+ ,....,,.._,(J
,.._,,.._,Q
,.._,,.._,p-+ ,.....,,.._,(J
,.._,.....,p-+ ,....,,.._,(J .-+. ,.._,Q-+ ,.._,p
,.._,Q-+ ,.._,p
P-+ Q .-+. --Q-+ ,.._,p
A3
MP, 9, 8
DT, 1-10
l.
7.
Q-+R
R
(Q-+ R)-+ R
(Q-+ R) -+ R .-+. ,.._,R-+ ,.._,(Q-+ R)
,.._,R-+ ,.._,(Q-+ R)
Q -+. ,.._,R-+ ,.._,(Q-+ R)
as
as
MP, 2, 1
DT, 1-3
T7
MP, 5, 4
DT, 1-6
If D. . . . . Q, then D. u
,.....,s -
P .-+. P
; :
l
l
[ _.., _
l :;i
1
COROLLARY 11.
t-
P and I'
t-
t-
Q.
P and D.
CoROLLARY 13.
If A
CoROLLARY 14.
If 1-P and
CoROLLARY 15.
If A
1-
1-
P-+ Q, then A
1-
1-
Q.
1-
Q.
1-
p-+ Q, then
Q.
.i'
rHEOREM 9.
1-
;:_
r . . . . Q Jor every r.
THEOREM 12.
Proof.
2.
3.
4.
5.
6.
10.
11.
12.
--
~
~
-~
.... .
~.!.1
~.
62
(Ch. 2
If P 1 ,
. .,
Pn
1-
Q and D.
1-
/:l. 1-Q.
15]
I,
~1
63
5. Give a formal proof of ,..._,,..._,A (x)-+ A(x) with fewer than 38 steps.
6. How many steps are there in the formal proof of A(x)-+ B(y) .-+.
,..._,B(y)-+ ,..._,A(x) if the proof outlines of Theorem 7 and previous
. ~.:~.
l~
'"
~
~I
~
(:l!
Proof.
CoROLLARY 17.
If P 1 ,
.. ,
Pn
1-
(d) P V ,...,p
(e) ,...,p V P
(f) P V Q -+ Q V P
(g} p A Q-+ p
(h} P A Q-+Q
(i) P A Q-+ Q A P
(j) p -+. Q-+ p A Q
(k) (P-+ Q)-+ Q .-+. (Q-+ P}-+ P
~:
15
_.,
F
f
t'
t
,,'
1
.,., 1
/;,
-~
J'
!
EXAMI'LE l.
,....,,,B(y) is
A(x)
B(y}
,..._,B(y)
A(x)-+ ,....,,,B(y)
T
T
F
F
F
F
T
T
T
F
T
T
T
;~
t
l
1
1
t
11
'
.
THE PREDICATE CALCULUS
[Ch. 2
)4
A (x )
-+
,.....,
B (y)
T
T
F
T
T
F
F
T
T
T
F
:xAMPLE
15]
LEMMA
-+
A (x)
3.
Proof.
A (x)
.-+.
A (x )
-+
B (y )
T
F
T
T
'F
T
T
F
T
T
F
T
T
T
fT'
-F
r,
T
F
T
F
T
T
T
T
T
T
F
F
T
F
T
T
T
F
T
F
l.
2.
3.
4.
n
~
i ;,
'l' 1.~~
m
.J.
LEMMA
F
T
F
T
65
2.
A (x )
~_~
-+
.T
F
T
F
T
T
T
T
F
F
.:1~ 1
~;l
:,
Suppose P-+ Q and P take the value T for every assignment to the
prime constituents of P and Q. Then line 3 cannot occur because
P-+ Q is never F, and lines 2 and 4 cannot occur because Pis never F .
Hence 0nly liae l can occur; i.e., Q alwa,ys tak es the v,lue T .
THEOREM
5.
sn
sn
s,,
sn
sk
,.
L:.
J~
l '"
t
~
..
~
"';
66
[Ch. 2
15]
A
F
,.._,A, B 1- ,.._,A
.. .,
U~
1-
P'
,.._,A, B
EXA111PLE 6.
P is A(x)-+ ,..._,B(y). The table below shows the four
assignments to the prime constituents A(x) and B(y) , the corresponding
truth value for A(x)-+ ,.._,B(y), and the assertion (1) for each assignment. We write A for A(x) and B for B(y) .
,..._,B
A-.+,..._,B
T
F
T
F
T
T
F
F
F
F
T
T
F
T
T
T
A -+ ,.._,E
A-+,.._,B
T
,...,A, B 1-A-+ ,..._,B
A -+ ,.._,B.
u;
u; .._.u
Vi , ... , u~ . . . P'
Proof.
1-
1-
the list U 1 ,
A, B 1- "-'(A-+ --B)
,.._,A, B 1-A-+ ,..._,B
A , ,..._,B 1- A -+ ,.._,B
,.._,A, ,.._,B 1-A-+ ,..._,B
,.._,A, B
1-
,.._,E
F
,.._,A, B 1- ,...,,,.._,E
(1)
B
T
,.._,A, B
u; ,.._,u;
U~,
(2)
We prove (2) to illustrate the proof of the lemma. The idea is to prove
(1) for every subformula of P that occurs in the construction of the
67
truth table for P. For the assignment we are using, the table below
lists the subformulas of P, their truth values, and the corresponding
statement (1).
u;
Ll
r,:
(1)
P'
(3)
Basis.
If n
u;.
Then P'
lncluction step. Suppose that (3) holds for every formula with n or
fewer symbols, and consider P with n + l symbols.
[Ch. 2
>8
t:u-Q'
(4)
Subcase 1.1. Q takes the value T. Then P takes the value F, Q' is
I, P' is ,..._,p (which is ,....,.,,..._,(J), and (4) is t:.. 1- Q. Then modus ponens
.p plied to 1-Q and t-Q-+ ,....,.,,_.c (Theorem 14.6) gives /:),, 1- ,.....,,_.c,
rhich is (3).
Subcase 1.2. Q takes the value F. Then P takes the value T , Q' is
-Q, P' is P (which is --Q), and (4) is A 1- --Q, which is (3).
(5)
t:..
(6)
nd
1-
R'
Subcase 2.1. R takes the value T. Then P takes the value T , R '
; R, P' is P (which is Q-+ R), and (6) is A 1- R. Then modus ponens
pplied to A 1- R and 1-R -+. Q-+ R (Axiom scheme Al) gives
, 1- Q-+ R , which is (3).
Subcase 2.2. Q takes the value F . Then P takes the value T , Q' is
-Q, and P' is P (which is Q-+ R) , and (5) is 1- --Q. Then modus
onens applied to A 1- --Q and 1---Q .-+. Q-+ R (Theorem 13.6) gives
1- Q-+ R , which is (3) .
Subcase 2.3. Q takes the value T and R takes the value F. Thn
takes the value F , Q' is Q, R' is ,.....,R, P' is ,....,.,p (which is ,..._,(Q-+ R)) ,
nd (5) and (6) are A 1- Q and 1- ,...,R. Modus ponens applied
o A 1- Q and 1-Q .-+. ,..._,R-+ ,..._,(Q-+ R) (Theorem 14.8) gives
, 1- ,.._,R-+ ,..._,(Q-+ R).
Then modus ponens applied to !:l. 1- ,....,R and
1- ""R -+ ,_,(Q -+ R) gives A 1- ,..._,(Q -+ R), which is (3).
15]
Every
:>
~XAMPLE
69
Proof.
Theorems 5 and 9.
There are many ways of checking tautologies other than the method
of truth tables. We give one below. The reader is encouraged to
improvise. Let P be a formula. We suppose that Pis nota tautology
and proceed to fill in truth values for the subformulas of P until a
contradiction (i.e., a confct) results, or until each prime formula is
assigned a truth value. If a contradiction results, then the initial
assumption that Pis nota tautology is false . Hence in this case Pis a
70
[Ch. 2
16)
CXAMPLE
:xAMPLE
3.
4.
5.
6.
EXERCISES
For each formula scheme, construct the truth table and state if the
scheme is tautologous. (A scheme with three distinct letters has 8
lines in its truth table.)
Q /\
P /\ Q- ,..._,(,...._,p V .......,Q)
P v Q- (P-+Q)-rQ
(P /\ Q) /\ R - P /\ (Q /\ R)
P- .......,,.._,p
P-rQ./\. ,.._,p-+R.-+.Q v R
(j) P /\ ~-+ R /\ ,.._,R.-+. P-r Q
(k) ~-+......,P.-. P-rQ
(i)
71
make use of the proof of Lemma 7 to handle the various cases that
arise. Write A for A(x) and B for B(y).
16
(a)
(b)
(e)
(d)
(e)
(f)
(g)
(h)
.' f
P-Q .-.Q-P
P -+. Q -+ R .-. Q -+. P -+ B
(P v Q) V B.-. P V (Q V R )
(P /\ Q) /\ B.-. P /\ (Q " R )
7. p /\ (Q V R) - (P /\ Q) V {P " R)
8. P v (Q A R) .-. {P v Q) A (P V B)
9. P A P-P
l f'. F v p._-+ P
11. P - ,..._,.......,p
12. P V ,..._,p
13. P -r Q :-r: Q-+ R.-+. P-+ R
14. P-+ Q .A. Q-+ B.-+. P-+ R
15. P-rQ.-. "'Q-r ,..._,p
16. P-r,.....,Q.-. Q-,.._,p
17. P A Q-r R :-r: P-r. Q-+ R
18. P -+. Q -r R :-+: P A Q-+ R
19. P A Q-r B .- . P-+. Q-+ R
20. P V (P A Q) - P
21. P A {P v Q) - P
22. P-r. P-rQ.-. P-+Q
23. P-+ Q .A. P-+ R.-. P-+ Q A R
24. ,.._,(p V Q)- ,.._,p A ~
25. ,.._,(p A Q)- ,..._,p V ,.._,Q
J
]
commutati ve laws
associative la ws
distributive laws
1 i.<len1
J
J
double negation
excluded middle
transitivity of
implication
contraposition
law of exportation
law of importation
export-import law
J
J
absorption laws
72
[Ch. 2
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
p V Q./\.P-+R./\.Q-+R.-+.R
,.._,p-+ R /\ ,.._,R.-+. P
,.._,p-+ p .-+. p
p-+ ,...,_,p .-+. ,.._,p
P /\ ,.._,Q-+ R 11 ,.._,R .-+. P-+ Q
P /\ ,....,,,,Q-+ ,.._,p.-+. P-+Q
p /\ ,.._,Q -+ Q .-+. p -+ Q
P-+Q .-. ,.._,p V Q
p-+ Q - ,...,_,(p /\ ,.._,Q)
P v Q .-. (P-+ Q) ->- Q
P V Q .-. ,._,p-+ Q
P V Q .-. ,._,(,.._,p /\ ,.._,Q)
P /\ Q .-. ,...,_,(,_,p V ,.._,Q)
proof by cases
proof by
contradiction
relations between
connectives
ExAMPLE
yz #-O
z = o 11 yo =
yO = O
z
*o
73
formal proof of (1). Then write step 6-+ (step 7-+ step 8), which is
justified by modus ponens on (1) and step 5. Then write step 7-+ step
8, which is justified by modus ponens on step 6--+ (step 7-+ step 8) and
step 6. Then write step 8, which is justified by modus ponens on
step 7 -+ step 8 and step 7. All the reader has to check is that (1)
is a tautology. This is straightforward. A more sat isfying procedure
is to informally derive step 8 from steps 5 through 7 in the following way. By the commutativity of conjunction, step 6 is equivalent to yO = O /\ z = O-+ yz = O. This in turn is equivalent to
yO = O.-+. z = O-+ yz = O by the law of exportation. Then modus
ponens with step 7 gives z = O-+ yz = O. Then contraposition
gives yz =f O-+ z =f O. Then modus ponens with step 5 gives z =f O.
EXAMPLE
16]
o -+ yz = o
se, 5-7
2.
2.
y = y /\
4.
5.
X=
= y .-+. y = y - y
y= y
Y-+Y
se, 2, 4
=X
(2)
"se" stands for "statement calculus." "se, 5-7" after step 8 means
that
EXERCISES
(1)
.
~
i4
(a)
(b)
(e)
(d)
[Ch. 2
Ii]
6. 'f/v,..._,Q--+ Vv,..._,p
7.
,_,Q --+
8.
3.
4.
l.
2.
,..._,yv,.....,P-rQ
8.
9.
1O.
(e) 17.
23.
24.
(f) 4.
5.
(g) 9.
10.
(h) 2.
3.
Vv~
SC, 6,i
QUANTIFIERS
75
We
Q
P-rQ
'f/v,..._,P-+ ,..._,p(t/v)
P(t/v)--+ ,.._.yv,..._,p
Vv(P +-t Q) .-+. VvP--+ VvQ
Vv(P +-t Q) .--+. vvQ--+ VvP
Vv(P +-t Q) .--+. VvP -r-t VvQ
,..._,VvP--+ 3v(P--+ Q)
S0,3
SO,
P /\
Abelian groups.
l.
2.
3.
se. s, 9
VxVy(x + y = y + x)
Vy(O + y = y + O)
axiom
spec, l
spec, 2
o+ o= o+ o
3vQ-+ 3v(P--+ Q)
VvP-+ 3vQ .--+. 3v(P--+ Q)
3y(x '
EXAMPLE 2.
SO,
17,23
y')
O v 3y(x
~ --+
3y(x' =y')
SO, 4
THEOREM
3.
P-r Q V R
,_,p--+ Q V .....,R
Q
4. R-rP
SC, 9
Proof.
vv,..._,p-+ ,..._,p(t/v)
P(t/v) -+ ,..._,yv,..._,p
P(t/v)-+ 3vP
l.
2.
3.
se, 2, 3
A5
se,
same as 2
A, P 1 ,
.,
Pn
f-
/\ /\
Pn--+ Q
ANSWERS
17
Quantifiers
l.
Ij A
lf A
f-
P(t/v), then A
f-
In this section we shall study the rules for removing and inserting
quantifiers. The ideas are the same as in Section 1O, but the details
are considerably different. We begin with the rule of specialization.
THEOREM
4.
f-
VvP, then A
f-
t for v.
Proof. Suppose that A f- VvP and P admits t for v. Then modus
ponens applied to A f- VvP and f- VvP--+ P(t/v) (Axiom Scheme A5)
gives A f- P(t/v).
5.
Abelian groups
O = x)
l.
2.
o+ o= o
3.
3x(O
Vx(x
+x
= O)
P is O + x
axiom
spec, l
3, 2
A is the empty set, vis x,
76
[Ch. 2
17]
QUANTIFIERS
1-VvP-+ 3vP
Proof.
VvP
p
l.
2.
3.
4.
3vP
VvP-+3vP
as
A6
MP, 2, l
P-+3vP
6.
S1
S 1 -+ Vv8 1
VvS 1
l.
2.
3.
THEOREM
77
as
spec
3
DT, 1-3
occur as steps.
Case 4. S 11 + 1 is inferred from S"' and S1 by modus ponens, where
8"' is 8 1 -+Bn+i Sincej ~ n and k ~ n, the steps
(a) VvS1
In the proof outline above we used the convention that if the analysis
for step k mentions no other step, then step k depends only on step
k - l. Thus we "'Tote "spec" instead of "spec, 1," and "3" instead
of "3, 2."
Next we consider the rule of generalization.
A variable vis not free in t::.. if and only if there is no formula in t::.. with
a free occurrence of v.
THEOREM
7.
lf t::..
1-
Q, then t::..
1-
W e prove by induction on
(1)
81
axiom
S 1 -+ VvS 1
'rlvS1
A6
1-IP, 2, 1
and
(b) Vv(S1 -+Sn+ 1 )
occur in!').
Then
to!')
we append
(i)
(ii)
(ili)
A4
MP, (i), (b)
MP, (ii), (a)
,
8.
Number theory
1-Vx.2 <
Proof.
l.
2.
3.
4.
2<XAX<7
2 <X
2 < X A X < 7 -+ 2 < X
'rfx .2 < X A X < 7 -+ 2 <
as
so
X
DT, 1-2
gen
78
[Ch. 2
EXAMPLE
l.
2.
3.
4.
x<2
Vx(x < 2)
x < 2 --+ Vx(x < 2)
Vx.x < 2--+ Vx(x < 2)
as
gen
DT, 1-2
gen
Step 4 is a false statement because 1 < 2--+ Vx(x < 2) is false. \Ve
look with deep suspicion upon any "proof" of a false statement in
number theory. The error occurs at step 2. Since x is free in the
assumption x < 2, gen cannot be applied with x until this assumption
is discharged. (The application of gen at step 4 is correct, because at
step 4 A is the empty set.)
THEOREM 10.
1-VuVvP--+ VvVuP
17]
QUA...~TIFIERS
5.
6.
7.
8.
9.
10.
THEOREM 12. lf A
not free in t::.. or Q.
t-
3v P and !::.., P
t-
Q, tken !::..
t-
79
A4
.MP, 5, 4
A6
SC,6, 7
same as 8
DT, 1-9
Q, provided tliat v is
Prooj.
l.
2.
VuVvP
VvP
3.
4.
5.
6.
VuP
VvVuP
VuVvP--+ VvVuP
as
spec
spec
gen
gen
DT, 1-5
Proof.
5.
6.
3x(x > 3)
X > 3
X>3-+X>2
X> 2
3x(x > 2)
3x(x > 2)
theorem
Cx
theorem
MP, 3, 2
3
e, 2
3.
4.
Vv(P--+Q)
P--+Q
--Q--+ ,.._,p
Vv(~--+ ,.._,p)
as
spec
se
gen
Here A is the empty set, 3vP is 3x(x > 3), and Q is 3x(x > 2). At step
1 we have 1-3x(x > 3). At step 2 we take x > 3 as an assumption.
At step 5 we have x > 3 1- 3x(x > 2). Since x is not free in A or
3x(x > 2), Theorem 12 gives 1-3x(x > 2) at step 6. "Cx" at step 2
means "Rule O with the variable x ." This notation serves three
purposes. First, it indicates that step 2 is the result of removing 3x
from the preceding step. Second, it signals that we intend to use
80
[Ch. 2
14.
1-3v(P /\ Q)
3vP
17]
...-..
l.,
.. "!
.,....
..
l.
2.
3.
4.
5.
6.
3vQ
3x(x < 2)
3y(y > 2)
X< 2
y> 2
X<2Ay>2
3v(P
5.
6.
7.
8.
9.
Q)
X<y
8.
3y(x < y)
9.
3y(x <y)
10.
3x3y(x <y)
11. 3x3y(x < y)
as
Cv
p /\ Q
p
se
3vP
3
SC, 2
3
SC,4, 6
e, 2
3vQ
3vP /\ 3vQ
3vP 11 3vQ
3v(P /\ Q) ~ 3vP
11
3vQ
15.
1,
1-'t/v(P ~ Q)
.~.
3vP
9.
't/v(P~Q)
3vP
p
P~Q
Q
3vQ
3vQ
3vP~3vQ
Yv(P
Q)
.~.
3vP
3
C, 3
The next proof illustrates how Rule C can be used twice on the same
formula.
THEOREM 17.
Prooj.
2.
3.
3u3vP
3vP
4.
3.
4.
5.
6.
7.
8.
e, 4
At step 8 we have x < 2, y > 3 1- 3y(x < y). Then Theorem 12 gives
step 9. Here Pis y > 3, Q is 3y(x < y) , is {x < 2}, and vis y. At
step l O we have x < 2 1- 3x3y(x < y). Then Theorem 12 gives step 11 .
Here P is x < 2, Q is 3x3y(x < y), ti is the empty set, and vis x .
l.
3vQ
Prooj.
l.
2.
MP, 6,5
3
DT, 1-8
theorem
theorem
Cx, l
Cy,2
SC, 3,4
theorem
X<2Ay>2~X<y
7.
l.
QUANTIJ!'IERS
3vQ
as
as
Cv
spec, 1
MP,4, 3
3
e, 3
DT, 1-7
DT, 1-8
81
XAMPLE 10. .n.we u may be used more than once in a proof outline.
We give an example from number theory.
Prooj.
2.
3.
4.
--~~~~~~~~~~~~
3uP
3v3uP
6.
3v3uP
7.
3v3uP
8. 3u3vP ~ 3v3uP
5.
as
Cu
Cv
3
3
e, a
e, 2
DT, 1-7
EXERCISES
B2
[Ch. 2
18]
EQUIVALENCE AND :&EPLACEMENT
~.
3.
4.
5.
o> 1
6.
o> l
7. --(x > 2) - O > 1
8. """'( > 1)
Proof.
l.
2.
3.
4.
5.
6.
7.
3 > 2
3x(x > 2)
X> 2
Vx(x > 2)
y> 2
y> 2
Vy(y > 2)
theorem
3
Cx
gen
spec
9.
10.
5.
6.
7.
Vx(x < x + 1)
X < X + 1
3y(x < y)
X< y
Vx(x <Y!
3y'v'x(x < y)
3yVx(x <y)
4.
5.
6.
7.
8.
theorem
X> 2
'v'x(x > 2)
SC,7,8
gen
l.
4 > 3
3x(x > 3)
3.
X> 3
4.
X>3-x>2
5.
X> 2
6. X> 2
7. 'v'x(x > 2)
theorem
spec
3
Cy
(f) 1-'v'v3uP -
gen
3
theorem
3
Cx
theorem
MP,4,3
O, 3
gen
3u'v'vP
Prooj.
e, 4
l.
2.
3.
Proof.
3x(x < 2)
3x(x > 2)
X< 2
X> 2
X < 2 /\ X > 2
3x(x < 2 /\ x > 2)
3x(x < 2 /\ x > 2)
3x(x < 2 /\ x > 2)
DT, 1-6
2.
l.
2.
3.
se, 1, 4
C,4
Proof.
gen
Proof.
l.
3
Ox
e, a
2.
3.
4.
3x(x > 2)
X> 2
4.
5.
theorem
theorem
Cx, 1
Cx, 2
se, 3, 4
3
6.
7.
'v'v3uP
3uP
p
VvP
3u'VvP
3uVvP
'v'v3uP - 3u'VvP
as
spec
Cu
gen
e, a
DT, 1-6
e, 4
e, 3
l.
l.
l.
,...._,(x > 2)
2.
3 > 2
as
theorem
Vv(P~Q)
2.
VvP
3.
P~Q
as
as
spec, 1
83
84
[Ch. 2
4.
5.
6.
7.
8.
9.
10.
p
Q
VvQ
VvP-+ VvQ
Vv(P +-+ Q) .-+. VvP-+ VvQ
Vv(P +-+ Q) .-+. VvQ-+ VvP
Vv(P +-+ Q) .-+. VvP +-+ VvQ
18)
spec,2
se, 3, 4
gen
DT, 1-6
DT, 1-7
similar to 1-8
se, 8, 9
CoROLLARY
CoROLL.A.RY 4
lf 1-U +...+ V,
3.
85
TREOREM
in Theorem 2.
'
" TlmOREM
5.
Proof.
l.
2.
3.
4.
taut
taut
rep, 1, 2
same as 3
86
[Ch. 2
18]
We first consider the formulas x < 2 and y < 2, which are similar
according to the definition below.
We sometimes write P(v) for a formula. The variable v mayor may
not be free in P(v), and variables other than v may be free in P (v).
Let u and v be distinct variables, and let P(u) and P(v) be formulas.
P (u) is similar to P(v) if and only if vis not free in P(u) and u is not free
in P(v), and P(u) admit~ v for u and P(v) admit~ u for v, and P(v/u )
is P(v) and P(u/v) is P(u). Briefly, P(u) is the same a.s P (v), except
that P(u) has free occurrences of u in exactly those positions in which
P(v) has free occurrences of v.
The definition of similar is symmetric, i.e., if P(u) is similar to P (v),
then P(v) is similar to P(u). We observe also that if P(u) is similar to
P(v), then ,.._,p(u) is similar to ,..._,p(v).
THEOREM
1-'r/uP(u) ~ 'r/vP(v)
Proof.
EXAMPLE
as
spec
gen
DT, 1-3
repeat 1--4, interchanging u
and v
'iluP('llJ ~ 'ivP(v)
'~ "'"":
~
;:,1..;,
'i,
;)
10.
(1)
y ~ y
x)
(2)
If we try to get (1) from (2) by spec we run into trouble. (Try it. )
However, the difficulty is purely notational and easily overcome by
changes of bound variables. Recall that x , y , x 1 , x 2 are distinct
variables. x + y ~ y + x is similar to x + y 1 ~ y 1 + x. Hence
Theorem 7 applied to (2) gives
x)
~.
i1" ...,.,,
ti~Then
Y1 ~ Y1
Vx'Vy1(x
theory we need
VuP(u)
P(v)
'r/vP(v)
'r/uP(u)--+ 'r/vP(v)
'r/vP(v)--+ 'r/uP(u)
l.
2.
3.
4.
5.
Proof.
6.
6.
87
Y1 ~ Y1
+ :::.;.)
(3)
+ X1)
Then
(4)
THEOREM 7
Proof.
THEOREM
Proof.
l.
2.
3.
8.
1-3uP(u) ~ 3vP(v)
T6
se
same as 2
19]
[Ch. 2
88
THEOREM SCHEMES
89
TK.ll:OREM
u 1 in
P by an occurrence of t 1 f or 1 ~ i ~ n.
VxVy3z(x + z = y)
3z((x + y) + z = (y
x)
For example,
spec
19
,,T 0
Theorem Schemes
as follows:
3x(x < 2)
3x(x > 2)
3y(y > 2)
x < 2
4.
y> 2
5.
l.
2.
3.
theorem
theorem
Theorem 9
Cx, 1
Cy, 3
l.
theorem
theorem
Cx, 1
Cy,2
90
[Ch. 2
14.
15.
16.
17.
18.
19.
20.
41.
42.
43.
44.
45.
3v(P
3v(P
3v(P
3v(P
3v(P
THEOREM
Proof.
l.
2.
3.
l.
19]
THEOREM SCHEMES
THEOREM
Proof.
l.
2.
3.
'Vu'VvP-+ VvVuP
VvVuP-+ Vu"lvP
VuVvP +--+ 'VvVuP
THEOREM
3.
Tl7.l0
Tl7.10
se, 1, 2
r--Vv,....,P+-+ ~vP
Proof.
l.
2.
THEOREM 4 .
taut
same as 1
r--3uVvP-+ Vv3uP
Proof.
l.
3uVvP
YvP
2.
3.
4.
3uP
Yv3uP
Vv3uP
3uVvP-+ Vv3uP
5.
6.
7.
as
Cu
spec
3
gen
C,2
DT, 1-6
Tl8.l
Tl
se, 1, 2 (or rep, 1, 2)
VvP-+ P
P-+ VvP
VvP+-+ P
2.
l.
A5
A6
so,
1, 2
2.
3.
Vv(P +-+ Q)
3vP
P+-+Q
as
as
spec, 1
91
92
[Ch. 2
4.
5.
6.
7.
8.
3vQ
9.
10.
11.
3vQ
3vP-+ 3vQ
Vv(P +-+ Q) .--+. 3vP--+ 3vQ
Vv(P+-+Q).-+.3vQ-+3vP
Vv(P +-+ Q) .-+. 3vP +-+ 3vQ
19]
THEOREM SCHEMES
Cv, 2
SC,3,4
3
e,
8.
DT, 1-7
DT, 1-8
similar to 1-9
THEOREM 9.
se, 9, lo
l.
2.
Vv(P 11 Q)
se
VvP
gen
se,2
VvQ
VvP 11 VvQ
Vv(P 11 Q) -+ VvP 11 VvQ
VvP 11 VvQ
VvP
as
se
spec
se, n
apee
se, 11, 13
gen
DT, 9-15
se, 8, 16
THEOREM
gen
SC, 4, 6
DT, 1-7
"ivQ
Vv(P 11 Q)
VvP 11 VvQ-+ Vv(P /\ Q)
Vv(P 11 Q) +-+ VvP 11 VvQ
8.
Proof.
l.
2.
3.
4.
5.
Vv(P V Q)
P V Q+-+ ,...._,Q-+ p
Vv(~-+ P)
Vv( ~ -+ P) .-+. Vv~ -+ VvP
'tfv,..._,Q -+ VvP
4.
5.
6.
7.
as
spec
as
taut
rep, 1, 2
A4
MP, 4, 3
'VvP
p
P
3.
Proof.
l.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
se
same as 6
DT, 1-7
Proof.
THEOREM 7.
VvP v ,...._,Vv~
'r/vP v 3vQ
'Vv(P v Q)-+ 'VvP V 3vQ
6.
7.
as
spec
se
'Vv(P v Q}
'VvP-+ 'Vv(P V Q)
'VvQ-+ Vv(P V Q)
'VvP V 'VvQ-+ Vv(P v Q )
THEoREM
10.
gen
DT, 1-4
similar to 1-5
SC,5, 6
Proof.
l.
3v(P-+ Q)
2.
VvP
3.
P-+Q
4.
:;
5.
Q
3vQ
6.
7.
3vQ
8.
'VvP-+3vQ
9. 3v(P-+ Q) .-+. VvP-+ 3vQ
10.
-dv(P-+ Q)
11.
,....,,..._,yv,..._,(P-+ Q)
12.
vv,...,(P-+ Q)
13.
"'(P-+Q)~ P /\ ~
14.
Vv(P /\ ~)
15.
16.
17.
18.
19.
as
as
Cv, l
apee, 2
MP, 3, 4
e,
DT, 1-7
DT, 1-8
as
same as 10
se
taut
rep, 12, 13
T7
se, 14, 15
se
same as 17
se
93
94
TRE
20.
21.
22.
20)
[Ch. 2
PREDICATE C.ALCULUS
NORMAL FORMS
EXA.?vIPLE l.
DT, 10-19
se
se, 9, 21
as
TlS.5
lo, 11
l.
2.
,..._,VvP
VvP - -av,..._,P
3v,.._,P
se,
,.._,p
3.
4.
Cv
5.
6.
7.
8.
se
P-+Q
3v(P-+Q)
e,
13
DT, 10-16
as
3v(P-+Q)
,....,vvP-+ 3v(P-+ Q)
3vQ
Q
P-+Q
3v(P-+Q)
3v(P-+Q)
3vQ-+ 3v(P-+ Q)
,..._,vvP v 3vQ-+ 3v(P-+ Q)
VvP-+ 3vQ .-+. 3v(P-+ Q)
P1
P2
Pa
T
F
T
F
T
F
T
F
T
T
F
F
T
T
F
F
T
T
T
T
F
F
F
F
F
F
T
F
F
F
T
F
Since {T, F} has 2 elements, the domain {T, F}3 off has 23 elements.
For every n, {T, F}" has 2" elements. Each line of the table above
states what value f assigns to one of the 8 possible ordered triples
(p 1 , p 2 , p 3 ) of truth values. For example, line 2 states that f (F, T, T)
= F. The 8 lines of the table completely define/.
Cv
se
e, 19
DT, 18-22
17, 23
se,
se
,..._,T= F
=T
EXERCISES
,..._,p
T-+ T = T
F-+T=T
T-+F=F
F~P=T
TAT=T
FAT=F
T /\ F = F
FAF=F
TvT=T
FvT=T
TvF=T
FvF=F
T+-tT=T
F+-tT=F
T......c; F = F
F+-tF=T
Ali we have done is to reproduce the truth tables for ........,, -+, /\, v, and
It should come as no surprise that such identities as p +-t q =
+-t.
/as follows.
95
Normal Forms
f (p1, P2) =
'1
96
[Ch. 2
20]
NORMAL FORJ.IS
97
EXAMPLE 4 . f is defined by
P1 A ,_,p2 A P3
On line 7, p 1 = T , p 2
use the conjunction
F , and p 3
P1 A
,_,p2
F.
Corresponding to line 7 we
A ,_,p3
of these conjunctions has the same truth table as f . To see this, let g
be the operation corresponding to
We show t hat f
,.._,p2
g.
-P2
A -p3). 1
g(T , F, T) = (T
= (T
,.._,p
(T A ,..._,p A ,....,p)
(T A T A F) = T v F
A T) V
A T) V
T.
If p 1 = T, p 2 = F, p 3 = P, then
g(T, F, F)
=
=
EXAMPLE 5.
f! is defined by
= T.
or P1 A -P2 A -p3
f (p , q)
T
F
T
F
T
T
F
F
F
T
T
F
{P1 A
T.
Q) v {P /\ ,_,Q ), where
f is defined by
p
f(p, q)
T
F
F
F
~F
..
THEOREM 6
98
[Ch. 2
20)
NORMAL FORMS
value
at
/\A
P 1 ,,) v (P 21
A A
P 2 ,,) v v (Pk 1
.. ,
EXAMPLE 8.
table for P is
(A(x)
B(y))
/\
,.....,
(A(x)
/\
B(y))
T
T
T
F
T
T
T
T
F
T
T
T
T
F
F
F
T
T
T
F
F
F
T
F
The truth
F
F
corresponding to Pis defined by
P1
P2
f (p1, P2)
T
F
T
T
T
F
T
T
.:._p
v (A(x) /\ ,.....,B(y))
Pk,,)
........,~.
THEOREM 7.
... ,
P,, is in
P n is in
/\. /\
99
/\
(P21 V V P 2 ,,)
/\ /\
(Pkl Y V Pkn)
[Ch. 2
100
V ... V
NORMAL FORMS
20]
101
not
not
not
not
free
free
free
free
in P
in Q
in Q
in P
--(P11 " ... " Pin) " ... " ,....,(Pkl " ... " Pkn)
EXAMPLE 10'. Let P be the formula Vx(x ~ O)--+ 3y(y > 2) ofnumber
theory. By 36, P is equivalent to
V V
(,....,P11
V ... V
,_,pin) /\ . .. /\ (,....,Pk1
V .. V
= ,....,,......,p,.
,....,pkn)
P2
g(p1, P2)
T
T
F
F
This
(1)
Then
(2)
i"
102
[Ch. 2
20]
NORMAL FORMS
Case 2. P is Q -+ R for sorne Q and R. By the induction hypothesis, Q and R are equivalent to formulas Q' and R' in prenex normal
form. Then P is equivalent to Q'-+ R ' . Suppose that Q' is 'VvQ".
Then Q' -+ R' is VvQ" -+ R ' . Then by Theorem Scheme 36 and the
equivalence theorem, P is equivalent to 3v(Q" -+ R'). If vis free in R ',
we change the bound variable v to a variable that does not occur in
VvQ" -+ R ' , and then apply 36. If Q' is 3vQ", we proceed in the same
way, using 23 instead of 36. k applications of 36 and 23 (mixed as
necessary) move ali the quantifiers in Q' to the front of the conditional.
Then similarly we use 37 and 21 to move all the quantifiers in R' to the
front of the conditional.
Case 3. Pis VvQ for sorne v and Q. By the induction hypothesis, Q
is equivalent to a formula Q' in prenex normal form. Then P is
equivalent to VvQ', which is in prenex normal form.
Case 4. P is 3vQ for sorne v and Q. This case is similar to case 3.
EXAMPLE 12. P is --3x(3x(x > 2)-+ x = 3). First we make a
change of bound variable to get ,.._,3x(3y(y > 2) -+ x = 3). Then we
apply Theorem Scheme 23 to 3y(y > 2)-+ x = 3 to get Vy( y > 2-+
x = 3). Hence P is equivalent to --3xVy( y > 2-+ x = 3). Then
we apply Theorem Schemes 7 and 14 in turn to get 'Vx3y,.....,(y > 2-+
X=
3).
l 03
EXERCISES
T
F
T
T
T
F
F
F
F
T
F F
} is operationally
(a) P-+ Q
(b) P-+ Q +-+ ,..._,R
(e) xy
O+.-+
=oV
y=
P1 P2 Pa
T T T
F T T
T F T
F F T
T T F
F T F
T F F
F F F
P is
y + x)
y) + z
= x
+ (y + z)) /\ Vy(x +y
y + x)
x + (y + z)) /\ x +y =y+ x
Then 27 gives
'</x"lyVz.(x
y)
(y
z) A x
+y =
+x
T
F
T
T
T
T
'</x'VyVz'Vz (X
y = z
y =
Z-+
z =
Z )
l 04
[Ch. 2
21]
EQUALITY
El is an individual axiom.
105
We note that
VX1 Yx2 Yy1 Vy2(X1
= Y1
/\
X2
ANSWERS
2. Hint:
~ A
(b) (P A
(,.._,p
R)
V ~ V
(P A Q A ,.._,R)
,_,R) /\ (P
V ~
(p
q)
THEOREM
l.
2.
3.
4.
5.
6.
v ,.._,R) /\ (P V Q V ,.._,R)
/\ ('""-'P V Q V R )
Zl
-+
x)
Z2
Z )
We write the first 2-place predicate symbol as =, and for all terms r
and s, we write (r = 8) for = (r, s) and r =f. 8 for ,.._,(r = 8).
The predicate calculus with equality is the result o adjoining to the
predicate calculus the following axioms, which we call the equality
axioms.
'v'x(x = x)
VX Vxn 'v'y 'v'yn(X1
l.
2.
3.
4.
5.
6.
Vx 1
y= y
y-+y
X=
Vx't/y(x
Vxn Vy 'v'yn(X
Y1 /\ /\ Xn = Yn
.-+. G(x 1 , , Xn) +-+ G(y, .. . , Yn) )
Y1 /\ _
/ \ Xn = Yn
-+ F(xi, ... , Xn) = F(y1 , , Yn)) .
2.
= X2+--+ Y1 = Y2)
E2
spec
El
spec
se, 2, 4
=X
= y-+ y = x)
gen
1--VxVyVz(x = y /\ y = z-+ X = z)
z == z
X = y /\ y
X2
Z +-+
E2
spec
El
spec
=Z
= z-+ x =
se, 2,4
Z-+ X
VxYyYz(x = y /\ y
z)
gen
l.
2.
x)
Proof.
Equality
EL
E2.
THEOREM
5. P 3 -+ P 1 .
1--VxVy(x = y-+ y
Proof.
(,.._,p A Q A ,.._,R)
v (,_,p /\ ~ A ,.._,R);
l.
X
Z
+ y =
=
Z /\ X
+ y = Z
106
[Ch. 2
21]
EQUALITY
6. If 11
as in Theorem 5.
COR.OLLAR.Y
EXAMPLE 4.
l.
0+0=0+0
2. O+y=y+O
3. y'+ O= y+ O'
4. y + O' = (y + O)'
5. y + O' = (O + y)'
6. O + y' = (O + y)'
7. O+y'=y'+O
Proof.
f-
= 8,
then 11
f-
t,
= t,,
107
/1
=, 6, 5, 3
El.
EXAMPLE 7.
l.
2.
y=z+l
(x(z + 1) + y) + (z + 1) = (xy + y ) + y
sub, l
(x(z + 1) + y) + (z + 1).
1-t1 =
8 .-+.
G(t 1 ,
. ,
108
[Ch. 2
Case 2. Pr is Qr-+ Rr far sorne Qr and Rr. The induction hypothesis gives 1-r = s .-+. Qr +-t Q8 and 1-r = s .-+. Rr +-t R.. Then the
statement calculus gives 1-r = s .-+. Qr -+ Rr +-t Q. -+ R .
Case 3. Pr is VvQr far sorne v and Qr. Theinduction hypothesis gives
1-r = s .-+. Qr +-t Q5 Then gen gives 1-Vv(r = s .-+. Qr +-t Q.). Since v
is a bound variable of P" vis not free in r = s. Then Theorem Scheme
21 of Section 19 and the statement calculus give
21]
EQUALITY
is
is
is
is
Proof.
1-
P" then 6.
1-
< y /\ y <
9.
= Y1 +
14.
X < Y1
/\ y < z
(1)
sub, 9, 6
(2)
Proof.
Y2
+ Y2
v)
where P(v) is P(v/u), and vis the first variable in the alphabetic list of
variables that does not occur in P(u). Then we abbreviate (1) as
1-Vx3!y(y = x).
THEOREJII 12.
X
3!uP(u)
6.
CoROLLARY 9. If 6. 1- r = s and 6.
and P. are as in Theorem 8.
109
l.
2.
3.
4.
5.
6.
7.
8.
P(y) is y = x.
X= X
3y(y = x)
y= X
y= z
y =
X /\ Z
/\ Z
as
=, 3
= X-+ y
DT, 3-4
VyT/z(y = x /\ z = x-+ y
3!y(y = x)
Vx3!y(y = x)
= z)
gen
SC,2, 6
gen
A proof of 3!uP(u) breaks down into two parts, the existence part
3uP(u) and the uniqueness part VuVv(P(u) /\ P(v)-+ u = v). For the
.10
[Ch. 2
21]
EQUALITY
v)
ANSWERS
/\
Abelian groups.
1-'r/x'r/y3!z(x
z)
U1
Proof.
l.
2.
3.
4.
5.
6.
7.
8.
x+y=x+y
3z(x + y = z)
+y =Z
= Z1
/\ X
y =
3
as
= Z /\ X + y = Z --+ Z = z1
'r/z'r/z1 (x + y = z /\ x + y = z1 --+ z = z1 )
+y
3!z(x
+y
'r/x'r/y3 !z(x
z)
= z)
=, 3
DT, 3-4
gen
se, 2, 6
gen
EXERCISES
Prove (where vis the first variable that does not occur in P(u)):
(a) 1--3!uP(u) +-+ 3u'r/v(u = v +-+ P(v))
(b) 1--3!uP(u) +-+ 3u(P(u) /\ 'r/v(P(v)--+ u= v))
Translate the following into symbolic forro:
(a)
(b)
(e)
(d)
There
There
There
There
exist
exist
exist
exist
z /\ x
y 1 # z .--+.y =fa y 1 )
= U2
V U
P(u 2 )
/\
= U3
/\
P(u 2 )
V U2
u1 # u2
/\
P(u3 )-+
= U3.
(e) The conjunction of (a) and (b), or 3u1 3u2 .P(u1 ) /\ P(u2 ) /\
U # U2 /\ Vu3(P(u3) -+ U3 = U V U3 = U2}.
(d) 3u1 3u2 3u3 .P(u1 ) /\ P(u 2 ) /\ P(u3 } /\ u 1 # u 2 /\ u 1 # u 3 /\
U2 # U3 /\ Vu4(P(u4)-+ U4 = U1 V U4 = U2 V U4 = U3}.
lll
22)
3
FIRST ORDER
THEORIES
~2
From now on the predicate calculus mea.ns the predicate calculus with
:quality, and 1- indicates a deduction in the predicate calculus. The
ogical axioms are the axioms of the predicate calculus, i.e., the instances
>f Al through A6, El and the instances of E2 and E3, together with
,he additional axioms given by Ax Gen. The proper symbols of the
>redicate calculus are ali the predicate, operation, and constant symbols.
A first order theory T is defined by a set 9 of proper symbols that
:ontains = and a set X of statements. 9 is called the set of proper
ymbols ofT; X is called the set of proper axiom.s of T. Theformula.s of
r are all the formulas constructible from 9, i.e., Pis a formula of T if
md only if every proper symbol that occurs in P is in the set 9.
r may be any set of statements of T.
Let t:,. be a finite set of formulas of T, and let Q be a formula of T.
l'hen . 1-T Q means that there is a finite sequence S 1 , . , S,. of formulas
1f T such that S,. is Q, and each S, (1 ~ i ~ n) is a logical axiom ora
112
113
proper axiom or is inferred by modus ponens on S 1 and S1c for sorne j and
k less than i, or is in !::...
If !::.. is the empty set, we write 1-TQ and say that Q is a theorem of T.
The only difference between a deduction in the predicate calculus
and a deduction in T is tha.t certa.in statements that would be labeled
as assumptions in the predica.te calculus are labeled as proper axioms
in T.
l. Let T be a first order theory. 1-TQ if and only if there is a
finite set {P 1 , . , P 1c} of proper axioms of T such that P v ... , P 1c 1- Q
and euch step of the deduction is a formula of T.
Tln:OREM
Proof.
P 1,
Suppose
1-TQ.
Let S1 ,
S,. be a. proof of Q in T.
Let
Ll.
L2.
L3.
'v'x--(x < x)
'v'x'v'y'v'z(x <y/\ y< z-+x < z)
'v'x'v'y(x < y v x = y v y < x)
114
[Ch. 3
22]
DEFINITION AND EXAMPLES
Vx3y(x
VxVy(x
+y =
+y=
=x +
(y
LA~ ~~~~<YAY<Z-+X<zj
z))
LA3. VxVy(x ~ x u y /\ y ~ x U y)
LA4. VxVy(x n y ~ x A x n y ~ y)
LA.5. VxVyVz(x ~ z A y ~ z-+ x U y ~ z)
LA6. VxVyVz(z ~ x A z ~ y-+ z ~ x n y)
O)
y
x)
El.
Vx(x
E2 = .
E3 +.
x)
Y1 /\ X2
Vx,.....(x < x)
LAI.
VxVyVz((x + y )
Vx (x + O = x)
AGl.
AG2.
AG3.
AG4.
115
= Y2-+ X1 + X2 = Y1 + J/2)
EXAMPLE 6.
{=, , 1}, where is the first 2-place operation symbol and 1 is the first
constant symbol.
EXAMPLE
Rl. Vx'r/yVz((x + y) + z = x
R2. Vx(x + O = x)
R3. \'x 3y(x + y = O)
R4. VxVy(x + y = y + x )
R5.
R6.
R7.
(y
z))
+ z) =
+ z)x =
xy
VxVyVz( ( y
yx
+
+
Vx'Vy'Vz((xy)z = x(yz))
VxVy'Vz(x(y
Gl.
G2.
G3.
xz)
zx)
'
~'{ "".',
EXAMPLE
+, ,
~ Write
-.
Yx't/yYz((x + y )
Yx(x + O= x)
Vx3y(x
+z=
y = O)
YxVy(x + y = y + x)
YxVyVz((xy)z = x(yz))
Vx(xl
x)
(y
z))
[Ch. 3
.16
22]
DEFINITION AND
F7.
F8.
F9.
FlO. O,: 1
fhe rationals, the reals, and the complex numbers are fields with the
usual meaning of = , +, , O, and l. The integers do not forro a field
because F7 fails. Fl through-F4 sta.te that a field is an abelian group
with + and O. F5 through F8 state that the nonzero elements of a
field are an abelian group with and 1. The theory of division rings
is the result of replacing F8 by VxVyVz((y + z)x = yx + zx).
EXAMPLE l O.
.. times
+ 1 "/: O,
1 b . ,.
'
' fiWM1.;: lf 1. ne :re,,,ul,
avge
raHXi.-1/.lf c;.osec.
1
T'rte tneory
..
A ('~
f
1 1
'
....,.v.J:i.
O
of adjoining to the theory of fields one proper axiom for each posi.ive
integer n that says that every polynomial of degree n has a root. For
.
n = 3, the axiom is
VyVy 1 Vy 2 Vy 3 (y3
"/:
O-+ 3x(y
+ y 1x +
y.x2
y 3x 3
to the theory o fields the 2-place predicate symbol < , the proper
~
~XAMPLE ~..
117
EXAM.PLES
O))
/&:times
The rationals and reals are ordered fields with the usual meaning of < .
The field of complex numbers is not ordered because there is no way of
defining < so that all the proper a:rioms of OF hold. We sketch the
proof. x is positive means O < x. In an ordered field, the square of
every nonzero element is positive, and the sum of two positive elements
is positive. Suppose for contradication that the field of complex
numbers is ordered. Then 1 and -1 are positive because 1 is the
square of l and -1 is the square of i. Then l + ( -1) is positive, i.e.,
O < O. But ,..._,,(O < O) by LI.
EXAMPLE 11. The theory RCF of real closed fields is the result of
adjoining to the theory of ordered fields the following proper axiom :
RCFI.
= x))
which sayF t.hQt every P ~sitive. eJ~mer1t has a E=!U3.re root: and ad j 0 ~~1~ :-~ g
for each odd positive integer n, the proper axiom that says that every
polynomial of degree n has a root. (See Example 9.) The field of real
numbers is a real closed field. The theory of real closed fields is roughly
that part of the theory of real numbers that is studied in high-school
algebra. The field of complex numbers is nota real closed field because
it is not ordered, and the field of rational numbers is not a real closed
field because RCFl fails. For example, the rational number 2 has no
rational square root.
,,; EXAMPLE 12. The theory DL of dense linearly ordered sets with neither
first nor last element is the result of adjoining to the proper axioms of L
(Example 2)
L4.
L5.
L6.
[Ch. 3
ll8
22]
119
The rationals and the reals with the usual meaning of = and < are
dense linearly ordered sets with neither first nor last element.
ExAMPLE 13. The predicate calculus is a first order theory. Its
proper symbols are all the proper symbols, and it has no proper axioms.
ExAMPLE 14. The set of proper symbols of the theory BA of Boolean
algebras is {=,U, n, ',O, l}, where U and n are the first two 2-place
operation symbols, ' is the first 1-place operation symbol, and O and 1
are the first two constant symbols. The proper axioms of BA are
BAl.
BA2.
BA3.
BA4.
BA5.
BA6.
VxVyVz((x u y) U z = x u (y U z))
VxVyVz((x n y) n z = 'X n (y n z))
= y u x)
= y n x)
U (y n z) = (x U
n (y U z) = (x n
O = x)
1 = x)
x' = 1)
x' = O)
VxVy(x u
VxVy(x n
VxVyVz(x
VxVyVz(x
y
y
y) n (x u z))
y) U (x n z))
BA7.
Vx(x u
BA8.
Vx(x n
BA9.
Vx(x U
BAlO. Vx(x n
BAll. O# 1
Let A be any nonempty set, and let D be the set of all subsets of A.
Then D is a Boolean algebra with the following interpretations of =,
u, n, ', O, and l. = is equality of sets, U and n are union and intersection, B' is {x E A \ x 1$ B}, O is the empty set 0, and 1 is A.
A first order theory is finitely axiomatized if and only if its set of
proper axioms is finite.
A set X of statements is decidable if and only if there is an effective
procedure for deciding whether or not any given statement is in X.
Every finite set is decidable, and sorne infinite sets are decidable. For
example, the set of proper axioms of the theory of algebraically closed
fields is decidable.
A first order theory is formal if and only if its set of proper axioms is
decidable. All the examples above are formal theories. We are
really interested only in formal theories, because the notion of proof is
effective for a first order theory if and only if the theory is formal. We
need to consider theories that are not formal because they enter into
the proofs of the main theorems about first order theories.
M-+ x
1 E M)-+ Vx(x
M)
120
[Ch. 3
23]
DEDUCTION
EXERCISES
1. Give the equality axioms for the theories R , F, LA, and BA.
2. Give axioms AGI' and AG4' corresponding to AGl and AG4, using
the predicate symbol G in place of + .
3. Give a formulation of R using the predicate symbols G, H, and K in
place of +, , and O.
4. We give below three definitions of "group" that appear in the
literature. Two are correct, and one is nonsense. State which is
nonsense and why, and formulate the other two as first order
theories.
THEOREM
l.
2.
:i
+y
= x)
AG2
3
as
+ y = x)
+ y = x)
4.
Vx(x
'v'x(x
5.
Y1 +Y= Y1
6.
7.
8.
9.
Y+ Y1 =Y
Vx(x
y1
/\ 'v'x(x
+ y1 = x )
se
spec
x)
so, 3
spec
AG4
y + x)
Y1 +Y= Y+ Y1
'v'x'v'y(x
'.
iU.
spe c
=, 7, 9, 5
= 'li1
11.
Vy'v'y 1 'v'x(x
12.
3!y'v'x(x
THEOREM 2 .
23
1-Aa3!yVx(x
'v'x(x + O = x )
3yVx(x + y
x)
3.
x ( yz).
l.
121
+
y
x)
/\ Vx(x
x)
+ y1
= x)
-+y
=X
l-AaVxVzVz1(X
= Y1
Z1-+
z =
Deduction
x+z=x+~
~~~+Y=y+zj
3.
x+z=z+x
4.
x+~=~+x
as
AG4
spec
spec, 2
5.
6.
7.
8.
9.
10.
+X= Z1 +X
V:t3y(x + y = O)
3y(x +y= O)
x+y=O
(z + x) + y = (z 1
=, 3, 1,
VxVyVz((x
y)
x)
AG3
spec
Cy
sub, 5
+y
(y
z))
(z + x) + y = z + (x + y)
(z1 + x) + y = z1 + (x + y)
z + (x + y) = z1 + (x + y)
Z + 0 = z1 + 0
Vx(x +O= x)
z+O=z
Z1 + 0 = z1
Z = Z1
=
19.
20.
VxVzVz1 (x
CHEOREM 3.
+z
= x
1- AG V:t3 !y(x
+ z1 ~ z
= z1)
Suppose x
= X+
11.
12.
13.
14.
15.
16.
17.
18.
DEDUCTION
[Ch.3
122
AGl
apee
spec, 10
=' 11, 9, 12
sub, 8, 13
AG2
spec
spec, 15
=,16,14,17
e, 8
DT, 1-19, and gen
l.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17,
+ y = 0)
18.
l-AGVxVy3!z(x +
AG3
spec
as
=, 3
T2
spec
MP, 6, 4
DT, 3-7, and gen
SC,2, 8
gen
z = y)
19.
20.
+ z =y
and x
z1 =y.
Vx3y(x + y = O)
3y(x +y= O)
X+ Y1
=o
't/xVyVz((x + y) + z = x
(x + '!/1) + '!/ = X + ('!/1
0 + '!f =X+ (y1 + '!/)
VxVy(x + y = y + x)
+ (y +
+ '!/)
z))
O+y=y+O
Vx(x +O= x)
y+O=y
X+ ('!/1 +y)='!/
3z(x + z = y)
3z(x + z = y)
X + Z = '!/ /\ X + z1 = '!J
X+ Z =X+ z1
VxVzVz1 (x + z = x + z1 ~z = z1)
X + Z = X + Z ~ Z = z1
Z = Z
VzVz 1 .x + z =y/\ x
VxVy3!z(x + z = y)
+ z1
= y~z = z1
123
Then z = z1 by
AG3
apee
Cy
AGl
apee
sub, 3, 5
AG4
spec
AG2
spec
=' 6, 8, 10
3
e,
as
=,
14
T2
spec
MP, 17, 15
DT, 14-18, and gen
se,
Next we prove in L the trichotomy law, which states that for all x and
y, exactly one of the following holds: x <y, x = y, y< x. We need the
exclusive or. The binary connective vis defined as follows: P \i Q is an
abbreviation for P v Q /\ - (P /\ Q). \i is associative so it makes sense
to write P \i Q \i R. An examination of the truth table for P v Q v R
will reveal why it is not suitable for the trichotomy law. What we need
here is the ternary connective
defined as follows: (P, Q, R) is an
abbreviation for P v Q v R /\ - (P /\ Q) /\ - (P /\ R) /\ - (Q /\ R).
Recall that the proper axioms of L are
v,
Ll.
L2.
L3.
Vx,....,(x < x)
't/xVyVz(x < y /\ y < z ~ x < z)
V:i.,Vy(x < y v x = y v y < x)
124
[Ch. 3
TREOREM 5.
t-i,VxVy\J(x <y,
y , y< x)
23]
3.
4.
5.
L3
apee
as
VxVy(x < y V X
y V y < x)
x<yvx=yvy<x
X < y /\ X
y
x<y
x=y
X< X
x<yAx=y-x<x
vx.-.-(x < x)
.-..(x < x)
,...,(X < y /\ X
y)
se
se, a
sub, 5, 4
DT, 3-6
Ll
apee
6.
7.
8.
9.
10.
=
11. Vx'rlyVz(x < y /\ y < z - x < z)
12. X<y/\y<X-X<X
13. .-.-(x < y /\ y < x)
14. "'(x = y /\ y < x)
15. \J ( x < y, :r = y , y< x )
16. Vx'rly\J(x <y, x = y , y< x )
_Next
Rl.
R2.
R3.
R4.
R5.
R6.
R7.
se,7, 9
L2
apee
se, 12, 9
similar to 3-1 O
se, 2, 10, rn, 14
gen
Vx'rlyVz((x + y) + z = x + (y
Vx(x + O = x)
Vx3y(x + y = O)
VxVy(x + y = y + x)
Vx'rlyVz((xy)z
x(yz))
VxVyVz(x(y + z) = xy + xz)
VxVyVz((y + z)x
yx + zx)
z))
t-RVx(xO
O)
125
l.
2.
3.
4.
5.
6.
7.
8.
l.
2.
DEDUCTION
VxVy'rlz(x(y + z) = xy
x(O + O) = xO + xO
R2
apee
R6
apee
apee, 1
sub, 5, 4
xz)
o+ o= o
+ xO
xO = xO
xO = xO
xO
VxVzVz1 (x
xO + xO
xO =O
9.
10.
11.
z
xO
=
+
O
x + z1 - z = z1 )
O - xO = O
=, 6, 2
T2
apee
MP, 9, 7
gen
Vx(xO = O)
Fl.
F2.
F3.
F4.
F5.
lfx(x
I'8.
F9.
= 'i;'X}
VxVy\fz(x(y + z)
FlO.
O i= 1
Prooj.
and Fs.
o- 3z(xz
i=
z))
= 1))
(y
= xy
t-FVx\fyVz((y
VxVy(xy
z)x
= x(y +
xy
(y
xz
= yx
+ z)x
= zx
xz)
z)x = yx
z) = xy
= yx)
2. (y + z}x = x(y + z)
3. Vx\fyVz(x(y + z) = xy
4. x(y + z} = xy + xz
5. (y + z)x = xy + xz
7.
8.
Vx'iy(;.,':J
TREOREM 7.
(y
F6.
F7.
l.
= yx
xz
+ zx)
xz = yx
zx
FB
xz)
spee
F9
apee
=,
2, 4
spec, 1
sub, 6, 5
spee, 1
by
FS,
F9,
126
[Ch. 3
9.
10.
(y + z)x = yx + zx
VxVyVz((y + z)x = yx
sub, 8, 7
gen
yz)
8.
t-FVxVy(xy = 0 ~ x
0 V y
0)
2.
3.
4.
5.
6.
7.
8.
9.
10.
ll.
12.
13.
14.
15.
16.
17.
18.
19.
NUMBER THEORY
se
se,
127
as
xy = O /\ y =F O
xy = O
y =F o
Vx(x =F O~ 3z(xz = 1))
y =F O -+ 3z( yz = 1)
3z(yz = 1)
yz = 1
Vx{xl = x)
xl =X
x(yz) = x
VxVyVz{{xy)z = x(yz))
(xy)z = x(yz)
Oz = x(yz)
VxVy(xy = yx)
Oz = zO
Vx(xO = O)
zO = O
x=O
x=O
20. xy=O/\y=FO~x=O
21. xy=O~x=OVy=O
22. VxVy(xy = O~ x = O V y
24)
EXERCISES
F7
spec
MP, 5, 3
ez
F6
spec
sub, 7, 9
F5
spec
sub, 2, 12
FS
spec
T6
spec
=, 10, 13, 15, 17
'r-RV'xVy(x(y
'r-~ !yVx(xy
+ y)
= x)
z = x /\ 3y(x
= (x
y = z))
x)y)
Z )
O) (r 2 is an abbre-
5. Prove
(a) 'r-LAVxVyVz(x U y = z ~ x
z /\ y ~ z
/\ Vz1 {x ~ z1 /\y ~ z1 -+Z ~ z1 ))
e, 1
0)
DT, 1-19
24
se
gen
Number Theory
.28
[Ch. 3
NI.
N2.
N3.
N4.
N5.
N6.
N7.
Vx(x + O = x)
VxVy(x + y' = (x +y)')
Vx(xO = O)
VxVy(xy' = xy + x)
For each formula P(v), the closure of
P(O /v) /\ Vv(P(v) ~ P(v' /v)) ~ VvP(v)
THEOREM 3.
l.
2.
3.
4.
5.
N4
N3
sub, 2, 1
same as 3
O)'
x +O'= x'
X+ 1 = X 1
10.
11.
12.
1-'v'x't/yVz .(x + y) + z =
x'
l.
2.
3.
Induction on z.
(x + y) + 0 = X
y+ o= y
(x + y) + O = x
(y
O)
y'
P(y) is x'
+y =
x + y'
O= x'
N3
N3
sub, 2
N4
=, 1, 3, 4
as (ind. hyp.)
N4
sub, 6, 7
N4
=, 8, 9
DT, 6-10, andgen
ind, 5, 11
1-VxVy.x + y =y + x
+ (y + z)
P(z) is (x + y) + z = x + (y + z).
+y
(x + O)' = x'
x + O' = (x + O)'
x' + O= x + O'
X 1 +y= X+ y'
x' + y' = (x' + y)'
x' + y' = (x + y')'
X + (y')' = (x + y')'
X 1 + y' = X + (y')'
Vy.x' +y= x +y' ~x' +y'= x +(y')'
Vy .x' + y = x + y'
Proof.
Proof.
as (ind. hyp.)
sub, 4
N4
N4
=, 6, 5, 7
N4
sub, 9, 8
X+ =X
THEOREM 4.
THEOREM 2.
1-VxVy .x' + y
Induction on y.
Proof.
8.
129
Step 4 above is the induction hypothesis for use with N7. Theorem
2 is the associative law of addition. Theorem 3 prepares the way for
the commutative law of addition which is Theorem 4.
9.
x + O' = (x
X+ 0 =X
NUMBER THEORY
4.
(x + y) + z = x + (y + z)
5.
((x + y) + z)' = (x + (y + z))'
6.
(x + y) + z' = ((x + y) + z)'
7.
x + (y + z)' = (x + (y + z))'
8.
(x + y) + z' = x + (y + z)'
9.
y + z' = (y + z)'
10.
(x + y) + z' = x + (y + z')
11. Vz.(x +y) + z = x + (y + z) ~
(x +y) + z' = x + (y+ z')
12. Vz.(x + y) + z = x + (y + z)
6.
7.
1-'v'x(x + 1 = x')
Proof.
l.
2.
3.
4.
24]
N3
N3
sub, 2, 1
O+ y
l.
2.
3.
Induction on x. P(x) is x + y
y + O by induction on y.
y + x
First we prove
O+O = O+O
o+
y'
y= y+ o
O = y + O'
as (ind. hyp.)
T3
30
[Ch. 3
4.
y + O' = (y + O)'
5.
y + O' = {O + y)'
6.
O + y' = (O + y)'
7.
o+ y'= y'+ o
8. Vy .O + y = y + O -r O + y' = y' + O
9. O+y=y+O
10.
x+y=y+x
11.
X 1 +y= X+ y'
12.
X + y' = (x + y)'
13.
X + y' = (y + x)'
14.
y + x' = (y + x)'
15.
x' +y= y+ x'
16. Vx .x + y = y + x -r x' + y = y + x'
17. x+y=y+x
EIEOREM
Proof.
5.
1-VxVyVz.x
Induction on x.
+ y=
N4
sub, 2, 4
N4
=, 6, 5, 3
DT, 2-7, and gen
ind, 1, 8
as (ind. hyp.)
T3
N4
sub, 10, 12
N4
=, 11, 13, 14
DT, 10-15, and gen
ind, 9, 16
+ z -r y = z
P(x) is x
+ y = x + z -r y
l.
O+y=O+z
2.
y+O=O+y
3.
O+z=z+O
4.
y+O=y
5.
z+O=z
6.
y=z
7. O+y=O+z-ry=z
8.
x+y=x+z-ry=z
9.
x' +y= x' + z
10.
x' +y= X+ y'
ll.
x' + z = x + z'
12.
X + y' = (X + y)'
13.
x + z' = (x + z)'
14.
(x + y)' = (x + z)'
15.
(x + y)' = (x + z)' -r
x+y=x+z
16.
y=z
17.
x' + y = x' + z -r y = z
18. Vx(x + y = x + z -r y = z .-r.
x' + y = x' + z -r y = z)
19. x+y=x+z-ry=z
= z
as
T4
T4
N3
Ns
=' ~: 2, l , 3, 5
DT, 1-6
as (ind. hyp.)
as
T3
T3
N4
N4
=' 12, 10, 9, ll, 13
Nl
24]
NU"MBER TlIEORY
THEOREM
Proof.
oV
1-Vx.x =
Induction on x.
l.
o= o
2.
3.
x' = x'
3y(x' = y')
4.
~,,.
6.
O V 3y(O
3y(x =y')
P(x) is x = O
3y(x
= y')
y')
se
=
5.
6.
7.
131
se
gen
ind, 2, 6
THEOREM
7.
1-Vx(x ~ x)
Proof.
l.
2.
3.
x+O=x
3y(x +y= x)
X~ X
THEOREM
8.
N3
3
same as 2
1-Vx.O ~ x
Proof.
l.
2.
3.
4.
5.
x+O=x
O+x=x+o
O+x=x
3y(O +y= x)
~X
THEOREM
DT, 9-16
Proof.
2.
l.
3.
9.
N3
T4
=, 2, l
3
same as 4
1-Vx .x ~ x'
X+ 1 = x'
3y(x + y = x')
X~ x'
TI
3
same as 2
132
[Ch. 3
THEOREM 10.
Proof.
l.
2.
3.
4.
5.
6.
7.
8.
9.
10.
ll.
12.
13.
14.
15.
as
x:s;;yAy:s;;z
X::;; y
y :::;;
se
se, 1
+ z = y)
3x 1 (y + x 1 =
3z(x
X+
z)
=y
+ X = Z
(X + Z1) + X1 = Z
(x + Z1) + X1 = X +
X + (z1 + X1) = Z
3x 1(x + x 1 = z)
(z1
::;;
e,
e,
::;; Z
x:s;;y/\y:s;;z-+x:s;;z
THEOREM ll.
same as 11
7
6
DT, 1-14
X ::;; Z
X1)
same as 2
same as 3
Cz1 , 4
Cx 1, 5
sub, 6, 7
T2
=, 9, 8
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
o:::;;
y
0 ::;;y V y' ::;; 0
X::;; X1
y' :::;; x /\ x :::;; x' -+ y' :::;; x'
y' ::;; X -+ y' ::;; x'
x = y .-+. x' :::;; x' +-t y' :::;; x'
x':::;; x'
X= y-+y' ::;; X1
x:s;;y/\x:f.y
X::;; y
x#y
3z(x + z =y)
x+z=y
z = o.-+. X+ z = Y+-tX
NUMBER THEORY
15.
z=O-+x+O=y
16.
x+O=x
17.
Z=0-+x=y
18.
z :. o
19.
z = 0 V 3y(z = y')
20.
3y(z = y')
21.
z = x{
22.
X+ X~ =y
23.
X1 + X1 =X+ X~
24.
X1 + X1 =y
25.
3z(x' + z =y)
26.
x':::;; y
27.
x':::;; y
28.
x':::;; y
29. X ::;; y /\ X :f. y -+ X1 ::;; y
30. Vx .x :::;; y v y' :::;; x -+ x' :::;; y V y' :::;; x'
31. X ::;;y V y' ::;;X
THEOREM 12.
Proof.
l.
2.
3.
24]
T8
se
T9
TlO
se, 3, 4
sub
T7
se, 6, 7
as
se
se, 9
+ o =y
same as 10
Cz
sub
l.
f-\:/x\:/y .X
Induction on y.
y = 0-+ X
P(y) is x
se,
13, 14
N3
sub, 16, 15
11, 17
T6
18, 19
se,
se,
Cx1
sub, 21, 13
T3
=, 23, 22
3
same as 25
21
13
DT, 9-28
5, 8, 29, and gen
ind, 2, 30
e,
e,
se,
y = O-+ x = O
5.
6.
x+0=0-+x+0=0
X+ 0 =X
X + = -+ X =
X + y' = (x + y)'
(x +y)' #- O
X+ y'#- 0
7.
8.
2.
3.
4.
THEOREM 13.
133
taut
N3
sub, 2, 1
N4
N2
sub, 4, 5
and gen
ind, 3, 7
se
Proof.
l.
2.
3.
4.
5.
6.
7.
x:s;;y/\y:s;;x
X::;; y
3z(x + z = y)
y::;; X
3z(y
X+
as
se
same as 2
1
same as 4
se,
x)
=y
Z1 =
ez, 3
ez 1 , 5
l34
[Ch. 3
8.
9.
10.
ll.
12.
13.
14.
15.
16.
17.
18.
19.
20.
(x
(x
+
+
X+
X
X
Z
Z
X=
X=
X ~
rHEOREM
=
=
x
x
(z
sub, ~' 7
T2
z1 )
+ (z + z1 ) = X + 0
+ (z + z1 ) = X + -+ Z +
+ Z1 = 0
+ z1 = 0-+ Z = 0
Z1
= o
X+
0 =y
X=
NUMBE.R TREORY
THEOREM
N3
=' 9, 8, 10
T5
l.
2.
3.
4.
5.
MP, 12, 11
Tl2
MP, 14, 13
sub, 15,6
= , 10,16
X-+ X
4.
5.
6.
7.
8.
9.
y -+ y
se
se, 1
Tll
l'HEOREM
x' -+y
15.
x v y
sanie as l
ey
N2
se,
3, 4
3
DT, 1-6
e,
(x
3z((x
z)'
= y' +-7 x +
sub
N1
=y
< y'<--+ X ~ y
z = y)
se, 3,4
x'
Tl3
5, 6
DT, 1-7
1-VxVyVz.y ~ Z+-7
y ~
l.
2.
3.
<
X 1 <--+ X
::;; X
X::;; X
X<
T17
T7
x'
se, 1, 2
Proof.
l.
2.
3.
4.
5.
6.
7.
se,
l, 2
equiv, 3
same as 4
Proo,f.
se
= x'
18.
THEOREM
se, 2,
17.
+
+
= Z-+ X + (y + x 1 ) = X +
(y + X1) =X + Z-+ y + X1 =
Z
X
Z
y+x 1 =z+-7x+(y+x 1 )=x+z
(x + y) + X1 = X + (y + X1)
y + X 1 = Z +-7 (X + y) + X 1 = X + Z
3x1 (y + x 1 = z) ~--+ 3x1 ((x + y) + x 1 = x
y~z+-7x+y~x+z
sub
v)'
T5
+ z)
se, i , 2
Prooj.
T2
sub, 4, 3
equiv, 5
same as 6
l.
2.
3.
THEOREM
4.
5.
6.
x'
x
19.
z = x
z'
= (x +
z'
T3
z)'
+ z = (x + z)'
x' + z = y~ (x + z)' = y
3 z(x' + z = y) ~ 3 z( (x +
N4
=, 1, 2
x'
X'~ y~ X< y
135
as
y)' = O)
2.
3.
4.
5.
as
x' ~y
y ~ x' /\ x'
y= x'
Proof.
l.
y ~ x ' /\ "-'(Y ~ x)
y~ x'
,.._(y ~ x)
y ~X V x ' ~y
"-'(X < O)
,..._,(x < O)
x < O-+ --(x < O)
"-'(X < 0)
THEOREM
Proof.
l.
2.
3.
X<
se
y = x'
X V
1-\fx-.,(x < 0)
(x +y)' = O
(x +y)' :t: O
6.
DT, 1-19
1-Yx'Vy .y ~ x ' -+ y ~
16.
3y((x
7.
8.
e, '
e, 6
y /\ y :o;;
14.
z) + z1
z) + z1
0 =X
24]
z)'
= y)
sub, 3
equiv, 4
same as 5
l36
[Ch. 3
1-VxVy .y ~ x
20.
l'HEOREM
vx
24]
,,
1'HEOREM
Proof.
l.
2.
3.
x'
x' ~y
y-x <y
Tll
Tl9
se,
y~ X V X< y
~ X /\ X
< y
1, 2
as
y~ X
se
TlO
S0,2,4, 6
same as i
+ y = x)
X + Z =X
x' + z = x + z'
X+ 0 = X
X + z' = X + 0
x + z' = x + O-+ z' =
3y(x'
Cz
T3
N3
=' 10, 9, 11
T5
MP, 13 , 12
z' = O
z' :/; O
o =/= o
~ X /\ X
se,
e, 9
< y-+ 0 =/= 0
14, 15
DT, 4-17
o= o
~ X /\ X
20.
,..._,(y
21.
y~ X
se, 18, 19
se, 3, 20
< y)
V X< y
1-"tx'<y'Vz.y < z~x + y <
21.
X+;;
z~y-x+z~x+y
~y
vy
y <
'HEOREM
< z
+yV
X + y <
Z -
22.
X
X
+y
+Z
<
1-Vx'Vy .X ~ y V y ~
+z
Tl5
T20
T20
se,
1-3
~ 0 -+ X = 0
x~O/\O~x-+x=O
X=O
X~ 0-+x
X~
4.
X~
y~
y V y' ~X
y'
y' /\ y' ~ X -+ y
THEOREM
y V
y~ X
se,
24.
~ k-+ Q(z))
se,
Basis.
2.
3.
4.
5.
6.
7.
8.
Q()
as
as
z ~o
z~O-+z=O
T23
MP, 3, 2
sub, 4, 1
Z=O
Q(z)
z ~ 0-+ Q(z)
\fz(z ~ O-+ Q(z))
Q(O)--+ \fz(z ~ O--+ Q(z))
DT, 1-5
gen
DT, 1-7
1-3
(1 )
l.
TlO
1-3
DT, 1-4
Tll
T9
~ X
For the next theorem we write k for the term consisting of Ofollowed
by k primes with appropriate parentheses. For example, 3 is an
abbreviation for ((O')')'. Note that k + l is (k)', which we write as k'.
We also write Q(k) for Q(k/v).
lnduction step.
that
l.
2.
3.
as
T8
TI3
~X
Proof.
x~o
5.
.l..
Proof.
l.
2.
3.
4.
l.
N2
0=1=0
'HEOREM
1-Vx .X
2.
3.
4.
23.
Proof.
y~ X V
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
13 7
NUMBER THEORY
< y
2.
3.
~ k'--+ Q(z))
as
se
spec
38
[Ch. 3
4.
Q(k')
se, 1
5.
Tl4
sub
6.
7.
8.
9.
10.
ll.
We move on to multiplication.
NUMBER THEORY
se, 3-6
gen
DT, 1-8
(1)
SC,9,10
,w.
HEOREM
Prooj.
l.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
25.
f-'v'xVy'v'z.x(y
Induction on z.
z)
= xy +
P(z) is x(y
xz
z) = xy
y+O=y
x(y + O)= xy
xy+O=xy
x(y + O) = xy + O
xO = O
x(y + O) = xy + xO
x(y + z) = xy + xz
y + z' = (y + z)'
x(y + z') = x(y + z)'
x(y + z)' = x(y + z) + x
x(y + z') = x(y + z) + x
x(y + z') = (xy + xz) + x
(xy + xz) + x = xy + (xz + x)
x(y + z') = xy + (xz + x)
xz' = xz + x
x(y + z') = xy + xz'
'v'z.x(y + z) = xy + xz-+
x(y + z') = xy + xz'
'v'z.x(y + z) = xy + xz
iEOREM
26.
Proof.
Induction on y.
l.
2.
x'O
xO
f-'v'x'v'y .x'y
=O
=
= xy +
xz.
N3
sub, 1
N3
=, 2, 3
N5
sub, 5, 4
as (ind. hyp.)
N4
sub, 8
::t\6
=, 9, 10
sub, 7, 11
T2
=,12,13
N6
sub, 15, 14
3.
4.
5.
6.
7.
8.
9.
xO + O = xO
x'O = xO +O
x'y = xy +y
x'y' = x'y + x'
x'y' = (xy + y) + x'
(xy + y) + x' = xy + (y
x'y' = xy + (y + x')
'!/ 1 +X= y+ X'
X+ y'= y'+ X
'!/ + x' =X+ y'
x'y' = xy + (x + y')
x')
l. Prove
(a) f-1 =f. O
(b) 1-Vx(x .,.
I
x'!
2. Prove
(a)
(b)
f-2 + 2 = 4
1-2.2 = 4
N5
N5
N3
=, 1-3
as (ind. hyp.)
N6
sub, 5, 6
T2
=, 7, 8
T3
T4
=, 10, 11
sub, 12, 9
T2
=,13,14
N6
sub, 16, 15
DT, 5-17, and gen
ind, 4, 18
10.
11.
12.
13.
14.
(xy + x) + y' = xy + (x + y')
15.
x'y' = (xy + x) + y'
16.
xy' = X'!J +X
17.
x'y' = xy' + y'
18. Vy.x'y = xy +y-+ x'y' = xy' +y'
19. Vy.x'y = xy +y
4. Prove
= xy + y.
139
EXERCISES
P(y) is x'y
24]
= y')
x, and then
140
[Ch. 3
y= O
xz-+ y = z
z +-t xy ~ xz)
z +-t xy < xz)
yz)
O
V
in any order:
(a) 1--Vx.xlx
(b) 1-Vx.xjO
(e) 1--VxVy .x\xy
xi
'-
# O
Vv(v js-+ v
=1
v v
= s)
where sis a term and v is the first variable that does not occur in s.
Prove the following:
(a) 1-Vx.l < x A Vy(l < y A y jx-+ x ~ y)-+ pr(x)
(b) 1-pr(2)
25
Theorem 1 allows us to say consisten t or inconsistent without qualification for first order theories.
Consistency makes sense and Theorem 1 holds for the statement
calculus.
2.
. T'_,o_,+- a t1'"
,?..,,..,,, .o.-f ~ :-. " <-t
A,- :., ., 1,,~
P rooJ,/. Th_e ~_ormula __;1. .rx ) rn
. ~O-~.~
..a.e-'.,-.~' ,on'
~--~,---~--"bec.:. u.se it is not a r.autology.
Proof. We proceed by contraposition. Suppose the theory T is negation inconsistent; i.e., there is a formula Q of T such that both Q and
,_Q are theorems of T. Let P be any formula of T. ,_Q .-+. Q-+ P
is a theorem of T since it is a tautology. Then by two applications
of modus ponens, P is a theorem of T. Since P is arbitrary , every
formula of T is a theorem ; i.e. , T is absolutely inconsistent. Now
suppose that T is absolutely inconsistent. Let Q be any formula of T.
,._,e is also a formula of T. Since every formula of T is a theorem , both
Q and ,._,e are theorems of T; i.e. , T is negation inconsistent.
THEOREM
141
THEOREM l.
A firsi order theory is negation consistent if and only if it is
absolutely consistent.
(d) 1-Vx.Ojx+-t x
25]
THEOREM
3.
142
[Ch. 3
25]
Vx 1
THEOREM
Proof.
Vx,. Vy 1 Vyn(x 1
= y 1 /\ /\
x ,. = Yn-+ F(x1, .. , x,.) = F(y1, , Yn)l
Al'.
E3'.
(x
x -+ x
= x)
/\ /\ (x
= x -+ x = x)
-+ (x
'
x-+ x
= x)
143
P-r.Q-+P
s -+. p -+ Q :-+: s -+ p .-+. s -+ Q
-,(-+ ,.._,p .-.. p -+ Q
'Vv(P-+ Q) .-+. VvP-+ VvQ
VvP -+ P(t/v) if P admits t for v
P -+ 'VvP if v is not free in P
Vx(x = x)
E2. Vx 1 Vxn Vy 1 Vyn(x1 = Y1 /\ /\
Xn = Yn .-+. G(x1, ... , x,.) ~ G(y1, ... , y,.)}
AL
A2.
A3.
A4.
A5.
A6.
EL
E3.
THEOREM 7.
'THEOREM 4 .
THEOREM 5.
144
[Ch. 3
26]
TRUTH
ANSWERS
26
Truth
EXERCISES
Let T'
be the result o adjoining ,.._,p to T as a proper axiom. \ Prove that
T' is inconsistent if and only if P is a theorem of T.
2. For the formal theory of Exercise 3.4, suppose that the only Jogical
operators are-+ and V. D1scuss the consistency ofthis theory.
3. Prove that a first order theory T is consistent and complete if and
only if for every statement S of T, exactly one of the pair {S, ,.._,S} is
a theorem of T.
4. A certain theory has as its theorems precisely those formulas of the
predicate calculus that are neither tautologies nor contradictions.
145
t '
E xAm>:::,E 1.
J:.
4'
.AGL
AG2.
AG3.
AG4.
Vi7e e::hibit.
9.
VxVyVz((x + y) + z = x
Vx(x +O= x)
Vx3y(x + y = O)
VxVy(x + y = y + x)
(y
0f ;;r o:er
&.xiomo. e: /-. S:
z))
I a
~~
146
[Ch. 3
VxVyVz((x y)
~XA!>ll'LE
Ll.
L2.
L3.
2.
Vx ,...., (x < x)
VxVyVz(x < y /\ y < z -r x < z)
VxVy(x < y v x = y V y < x)
\gain the domain of Mis {a, b}, and M assigns to < the predicate <J
n D, defined by
<J
7J=:F
b
1F
T
F
since a <J a and b <J b are false in M, ,._,(a <J a) and ,._,(b <J b) are true
n M. Hence Vx ,.._, (x <l x) is true in M. R ene-e Ll is tn:e in J.1 .
~ <J b /\ b <l b -r a <l b is true in M because b <J b is false in M. In
he same way, ali eight statements of the form x <J y /\ y <J z -r x <l z
.re true in M. Hence VxVyVz(x <l y /\ y <l z -r x <J z) is true in M.
Ience L2 is true in M. a <la v a = a v a <Ja and b <J b v
= b V b <lb are true in M, because a = a and b = b are true in M.
: <J b v a = b v b <J a and b <l a v b = a v a <J b are true in M,
>ecause a <J b is true in M. Hence Vx'Vy(x <J y v x = y v x <J y) is
rue in M. Hence L3 is true in M.
The intuitive notion of truth is satisfactory fr many purposes, but
or the development of a theory of truth, a precise definition is essential.
\Te offer two examples to illustrate the ideas '\lnderlying the precise
lefinition.
~XAMPLE
26]
TRUTH
147
"-
.........
148
[Ch. 3
26]
TRUTH
assigned to Vy{x < y-+ 3z(x < z /\ z < y)) for every real number d.
Again this is the set of ali points. Thus all points are assigned to P.
This is our criterion for truth. W e con elude that P is true in this
interpretation.
EXAMPLE 4. Again let p be the formula vxVy(x < y -+ 3z(x < z /\ z <
Let 1 be the interpretation for P whose domain D is the set of integers, and which assigns to < the usual meaning of < in D . Again we
assign to each subformula Q a set of points in D 3 , but we change the
wording a little. Instead of talking about the set assigned to Q, we
speak now of whether or not a point is in this set. Let p = (a 1 , a 2 , a 3 )
be an arbitrary point in D 3 . p satisfies Q means pis in the set assigned
to Q. p satisfies x < z if and only if a 1 < a 3 . p satsfies z < y if and
only if as < a 2 . Then p satisfies x < z /\ z < y if and only if p
satisfies x < z and z < y, i.e., a 1 < as and a 3 < a 2 . p satisfies
3z(x < z /\ z < y) if and only if there is an integer d such that (a 1 , a2 , d)
satisfies x < z A z < y, i.e., there is an integer d such that a 1 < d and
d < a2 p satisfies x < y if and only if a 1 < a 2 Then p satisfies
x < y-+ 3z(x < z /\ z < y) if and only if p does not satisfy x < y or p
satisfies 3z(x < z /\ z < y), i.e., a 1 < a 2 is false or there is ad such that
a 1 < d and d < a 2 Thus (1 , 2, 3) does not satisfy x < y-+ 3z(x <
z A z < y) becau se l < 2, anci t here is n o integH d such t hat 1 < ti
and d < 2. In the integers, a 1 < a 2 is false if and only if a 1 ~ 2
Hence p satisfies x < y-+ 3z(x < z /\ z < y) if and only if a 1 ~ a2 or
there is an integer d such that a 1 < d and d < a 2 p satisfies Vy(x <
y-+ 3z(x < z /\ z < y)) if and only if (a1 , d, as) satisfies x < y-+
3z(x < z /\ z < y) for every integer d. We know that (a1 , d, a 3 ) satisfies x < y-+ 3z{x < z /\ z < y) if and only if a 1 ~ d or there is an
integer e such that a 1 < e and e < d. Hence p satisfies Vy(x < Y-+
3z{x < z /\ z < y)) if and only if for every d, a 1 ~ d or there is an e su ch
that a 1 < e and e < d. No p satisfies Vy(x < y-+ 3z(x < z /\ z <
y)), for if d = a 1 + 1, then a 1 ~ d is false, and there is no integer e such
that a 1 < e and e < a 1 + l. Finally, p satisfies VxVy(x < y-+
3z(x < z /\ z < y)) if and only if (d , a 2 , as) satisfies Vy(x < y-+
3z(x < z /\ z < y)) for every integer d. No point satisfies VxVy(x <
y-+ 3z(x < z /\ z < y)) because no point satisfies Vy(x < y-+ 3z{x <
z /\ z < y)). Hence the empty set is assigned to P. This is our
y)).
,,~
We conclude that P
149
is false in this
X2
X3
..
a1,
~ ~'
E.~ormula,
p(d/k)
150
[Ch. 3
26]
TRUTH
151
(b) Let p be a point. Suppose P -+ Q and P are true in J. Then p
satisfies P-+ Q and p satisfies P. Hence p satisfies Q by (a).
Since p is arbitrary, Q is true in 1.
(d) Let 'v'x;, 'v'xi. P be the closure of P . Then Pis true in 1 if and
only if 'v'x11 'v'x1 P is true in 1 by n applications of (e).
(e ) ,...._,pis true in 1 if and only if every point satisfies ,..._,p_ Every
point satisfies ,...._,p if and only if no point satisfies P . l\o point
satisfies P if and only if P is false.
6.
(f) Suppose P is both true and false in 1. Then every point satisfies
P and no point satisfies P. But this is impossible because the
domain is not empty and hence there is at 1east one point.
(g) Suppose P is a statement. Then P has no free variables. In
Lemma 7 below, let {xi1 , , xJ be the empty set . Then all
points p and q satisfy the hypotheses of Lemma 7. Hence by
Lemma 7, ali points satisfy Por no points satisfy P , i.e. , Pis
true in 1 or Pis false in J. Then use (e) and (f ).
(h) Sup!)OSe P and Q are statemea ts. Suppose P-+ Q is true in J .
Let p be a point. Then p satisfies P-+-Q. Hence p does not
satisfy Por p satisfies Q. If p does not satisfy P , then Pis not
true in I , and hence Pis false in 1 by (g). If p satisfies Q, then Q
is not false in 1, and hence Q is true in 1 by (g). Now suppose
that P is false in 1 or Q is true in I. If P is false in 1, then no
point satisfies P, and hence every point satisfies P-+ Q. If Q is
true in J, then every point satisfies Q, and hence every point
satisfies P --+- Q. Hence P-+ Q is true in 1.
(a)
(b)
(e)
{d)
(e)
(f)
(g)
Proof.
We shall try to take the mystery out of the next lemma with an
example. Let P be the formula x 1 + x 2 < x 3 . Let I be the interprettion for P who,e domain;. R, and which a.sigo' the mua! meaning
~L.
152
[Ch. 3
TRUTH
that a1
= b11 for 1
k.
'>
Proof. First we show that if Pisan atomic formula , then p(t) = q(t )
for every term t of P. If t is a variable, then t is X1 with 1 ~ j ::;; k.
Then p(t) = p(x;1 ) = a1 = b;, = q(x1 ) = q(t). If t is a constant.
symbol e, then p(t) = p(c) = d = q(c) = q(t), where d is the element of
the domain assigned to e by J. Suppose that p(t 1 ) = q(t 1 ), . , p(tm) =
q(tm), and t is F(t1 , .. tm) where F is an m-place operation symbol.
Let j be the operation assigned to F by J. Then
p(t)
= j(q(t 1 ) ,
153
i.l
L,
154
[Ch. 3
TRUTH
LEMMA
9.
~~
10
(,_,
_,.
,_,
P)
_,.
(P
_,.
Q)
LEMMA
12.
P _,. T/xkP
p(s' )
= p(F(s~ , .. . , s~))
= f (p
LEMMA
14.
'(s 1 ), . ,
= f (p (si), . . . , p (s;,,))
sm )) = p '(s)
is valid.
155
t~P.
Basis.
,~ ,
,"~,~~currence
G(s;,~ s~).
p(s~))
ff'
156
[Ch. 3
26]
EXERCISES
axioms of AG.
; 1 ~1:
1
LEMMA
16.
Proof.
X1
Xn + 1
= Xn + 1
Xn
/\
17.
lo
~~1;
~/
' /\
l.57
TRUTH
(e)
(f)
(g)
{h)
v B(xi))
/\ B(x ))
1
l58
[Ch. 3
FIRST ORDER THEORIES
AG is valid.
Proof.
true in J.
l7
stands for a
nM.
~HEOREM 2. lf T has a model , then T is consistent.
'ef
( ; )
f3
,.......,,.._,,
~ .
then all the 3-letter words in dictionary order, and so on, with all the
n-letter words following in dictiona.::-y c der e.11 t he w0rds ,,.; . . :: fr,,v2 r
thr.n n btwrs. Ev)ry stril!g has a definite position in this sequence.
Hence the set of all strings of the predicate calculus is countable.
Every formula of T is a string of the predicate calculus. Then by
Theorem 2.4, the set of all formulas of T is countable. Similarly,
the statements of T , the statements of T that begin with a universal
quantifier, and the closed terms of T are ali countable sets.
Let T be consistent. Then T has a consistent and complete
extension with the same formulas as T.
THEOREM
if T'.
159
W e note that if T' is an extension of T, then every model for T' is also
a model for T. For example, F is an extension of AG, and hence every
:field is an abelian group.
A term is closed if and only if no variables occur in it.
27]
4.
l 60
27]
[Ch. 3
161
.vhose proper axioms are all the proper axioms of all the Tn's. That is,
Pis a proper axiom of T' if and only if Pis a proper axiom of sorne T" .
r is an extension of every Tn, and T' has the same formulas as T and
ivery Tr.. V\1e show that T' is consistent and complete. Suppose, for
:ontradiction, that T ' is not consistent. Then r-T.Q /\ --Q for sorne
ormula Q. Let S 1 , . . . , Bm be a proof of Q A ,._,Q in T ', and let
0 1 , . . , P i be all the distinct steps in the proof that are labeled as
iroper axioms. By t he definition of T ' , each P is a proper axiom of
orne T1c, Let n be the largest of tbe numbers k 1 , k 2 , .. , ki. By the
onstruction of the sequence T 0 , T 1 , T 2 , . , each Pi is a proper axiom
f T n Hence S 1 , , Sm is a proof of Q , ~ in T n contradict ing t he
onsist ency of Tn. Now let S be a statement of T ' . We show that S
r
is a theorem of T' . Sin ce S is a statement of T, S is P n for sorne
Suppose T n is the result of adjoining P n to T n _ 1 as a proper axiom.
'hen P n is a proper axiom of T ', and hence a theorem of T'. Suppose
'n is T n _ 1. Then the result of adjoining P n to T " _ 1 is inconsistent.
hen by Theorern 25 .5 , 1-Tn _, ,._,p n Then 1-T.,...,p"' since T ' is an
,....,s
LEMMA 6.
dension of Tn_ 1 .
Proof. We proceed by contraposition. Suppose that T ' is inconsistent. Then by Theorem 25.5, ;-T"-'(Q(c/v) --r VvQ ). Then by
the statement calculus, ;-TQ(c/v) and '""T""VvQ. Let S1, ... ' sn be a
proof of Q(c/v) in T. Let u be a variable other than v that does not
occur in this proof. Then Q<u./v) is simil:Lr : :e (1. Fo j :( i ::.;; n , le-v
s; be the result of replacing each occurrence of e in S 1 by an occurrence
of u . Then as in the proof of Lemma 5, S~, .. ., S~ is a proof of Q(u/v)
in T. Then gen gives ;-TVuQ(u/v), and a change of bound variable
gives ;-T"JvQ. Since r-T,._,VvQ , T is inconsistent.
The reason we must contend with fi.rst order theories that are not
rmal is that the proof of Theorem 4 is not constructive: The set of
~oper axioms of the consistent and complete extension is not effectively
ven. The set may or may not be decidable.
We may assume t hat t h l': re ;Ge inf:iitely many c:ir. ~ts,nt ;;ymbols
lBt are not proper symbols of T . For even if T requires an infinite list
constant symbols, we may use the odd-numbered ones, so that the
en-numbered ones are not proper symbols of T.
~:MMA
T is closed if and only if (i) T has at least one closed term, and (ii) for
every statement YvQ of T that begins with a universal quantifier, VvQ
is a theorem of T whenever Q(t/v) is a theorem of T for every closed
term t of T.
is T'.
7. Every consistent first order theory has a consistent , complete,
and closed extension.
THEORE111
162
[Ch. 3
CHEOREM
8.
1-TG(a1 ,
am)
27]
163
= [a]
64
[Ch. 3
27]
THE COMPLETENESS THEOREM
10.
165
enough: Every first arder theory is complete relative to its set of
formulas true in every model.
THEOREM 11. Let Q be a formula of T.
T, then Q is a theorem of T.
Proof. Suppose that Q is true in every model for T. First suppose Q is a statement. Let T' be the result of adjoining "-'Q to T as a
proper axiom. If .J.11. is a model for T', then both Q and "-'Q are true
in M, which is impossible. Therefore T' has no model. Then T' is
inconsistent by the completeness theorem. Hence 1-.r-.,'"'-'Q by
Theorem 25.5 Then 1-TQ by the statement calculus. If Q is not a
statement, then the closure Q* of Q is true in every model for T by
Theorem 26.6(c). Hence 1-TQ* since Q* is a statement. Therefore
1-TQ by spec.
THEOREJ\1
12.
odel.
Proof.
Proof.
166
[Ch. 3
THEOREM
lf
28]
T has a model,
3.
Proof.
TREOREM
4.
5.
6.
7.
8.
9.
#-
Xz
10.
A Xi -:/ X3 A . .. /\
Xn /\ Xz -:/ X3 A A X2 -:/ Xn A A Xn - i
#-
Xn )
11 .
12.
17. Suppose that for cve:ry p0c0i t i vf i ntcger n , T has a mo.'el
vith at least n elements. Then T has an infinite model.
rREOREM
EXERCISES
13.
14.
INDEPENDENCE
167
State why the usual dictionary ordering does not yield a proof of
Theorem 3.
Let M be a model for T. Let the theorems of T' be precisely the
formulas of T that are true in M. Show that T' is a consistent and
complete extension of T.
Prove that a formula Q of T is a theorem of T if and only if Q is a
theorem of every consistent and complete extension of T.
Let T be consistent and complete, and let M be a model for T.
without using the completeness theorem, prove that a formula Q
of T is a theorem of T if and only if it is true in M.
Show that AG is not closed.
Prove that if a formula Q of T is true in every countable model for
T, then 1-TQ.
Derive the completeness theorem from Theorem 11 and the
LOwenheim-Skolem theorem.
Derive the completeness theorem for finitely axiomatized theories
from Theorems 12 and 14 and the Lowenheim-Skolem theorem.
Derive the completeness theorem from the compactness theorem ,
the Lowenheim-Skolem theorem, and the completeness theorem for
finitely axiomatized theories.
Let T be finitely axiomatized, and let P 1 , . . . , P k be the proper
axioms of T. Prove that 1-TQ if and only if Pi /\ A Pk-+ Q is
valid.
Pro ve that 1-TQ if and only if there is a finite set {P 1 , . .. , P :'t of
pr oper axiom~ of T such 1at P 1 /\ 1, 1-' i -+ Q is va.lid.
Let P 1 , P 2 , be an infinite sequence of statements of T. Let T'
be the result of adjoining all the P's as proper axioms to T. Prove
that Q is true in every model for T' if and only if there is a finite
set {P 1 , , P J of P's such that P 1 A /\ P;1 -+ Q is true in
every model for T.
Prove that if Q is a formula of the theory of fields that is true in
every field of characteristic zero, then there is a prime p (depending
on Q) such that Q is true in every field of characteristic greater
than p.
28 Independence
168
[Ch. 3
28]
INDEPENDENCE
EXAMPLE 2.
'<txVy(x
y = y
+ y)(l +
(x
l} = (x
+ y}l +
(x
y )l = x
y)(l
+ y(l + 1)
+ yl + yl = x + x + y + y
Eience x + x + y + y= x + y + x + y. The cancellation law applied
m the left gives x + y + y = y + x + y. Then the cancellation law
Lpplied on the right gives x + y = y + x .
(x
l}
x(l + 1)
xl + xl
3.
VxVyVz(x(y + z}
R7. VxVyVz((y + z)x
R6.
R8.
VxVy(xy
non-Euclidean geometry is a model for geometry in which the fifth postulate is false and ali the other axioms are true.
The preceding discussion is concerned with a statement that is
already an axiom. Now suppose a statement is not an axiom but is
being considered as a possible axiom.
The statement S of T is consistent with T if and only if the result of
adjoining S to T as a proper axiom is consistent. For example, the
statement VxVy(xy = yx) of the t heory G of groups is consistent with
G because there is an abelian group.
The statement S of T is independent of T if and only if both S and ,.....,s
are consistent with T. For example, the statement VxVy(x = y ) of
AG is independent of AG because there is an abelian group with exactly
one element, and there is an abelian group with more t han one element .
An important example of an independent statement is t he statement
of set theory called the. axiom of choice. The axiom of choice states
that for every nonempty set d of nonempty sets, there is a funct ion
that assigns to each set A in dan element of A . Because the consistency of set theory has not been proved, a more precise statement
of this result is: If set theory is consistent, then the axiom of choice is
independent. A famous independent statement of number theory is
discussed in Section 31.
A proper symbol may be dependent.
An n-place predicate s~'rnbol G of T is de penrlr-nt if and ody if : h.;::re
is a formula P ( v 1, , vn ) of T whose free variables are exactly
v1, ,v,., such that G does not occur in P and
= xy + xz)
= yx + zx}
169
f-TV'v1 .. . Vvn ( G ( v 1 ,
. .
,v,.) ~ P ( v 1
,v,,))
VxVyVz(x ~ y /\ y ~ z--+ x ~ z)
VxVy(x ~ y /\ y ~ x --+ x = y)
VxVyVz(x ~ y--+ x U z ~ y U z)
VxVyVz(x ~ y--+ x n z ~ y n z}
VxVy(x ~ y--+ y' ~ x' )
Vx1 Yx 2 (x 1 ~ x 2 ~ x 1
U x2 = x2 )
. 70
[Ch. 3
. .
,vn )
(-x)
INDEPENDENCE
EXAMPLE
8.
'v'x3!y(x
ExAMPLE
6.
X2-Xi
Xz = X3 -
Xi ~ X3
'v'x2(X2
Xi
= X2))
O)
1-AG''v'x1'v'x2(-xi
171
v,,, V,,+ 1 ))
li::XAMPLE
AG3'.
28)
---~
X2 =O)
u is dependent because
Xz ~ X3
= O)
(1)
+ (-
x) = O)
(2)
x1
x2
O)
Second, (2) cannot be proved in AG (even if - is adjoined) because does not occur in any proper axiom. Third, AG and AG* ha ve essentially the same models. More precisely, every model for AG* is a
model for AG because AG* is an extension of AG, and every model for
AG can be extended to a model for AG* as follows. Let M be a model
for AG with domain D , and let M assign a to O. Because (1) is true
in M, far every element d of D there is a unique element d' of D such
that d + d' = a. Define the 1-place operation - in D by -d = d'.
Let M* be the same as M, except that M* assigns - to the operation
symbol - of AG*. Then M* is a model for AG*. We conclude that
for practica! purposes AG and AG* are two formulations of the same
theory.
172
[Ch. 3
O /\ q = O is not
consistent with F.
10. Show that the statement 1 + 1 = O is independent of F .
11. The theory OAG of ordered abelian groups has the proper symbols
=, +, O, and <, and the proper axioms AGl through AG4, Ll
through L3, and
OAG8.
z < y
+ z)
Vx(x # 0-+xx'
= 1)
Show that every model for F can be extended to a model for F*.
Discuss O'.
14. Formulate the theory of fields, using only the proper symbols
=, +, and .
29)
29
EXERCISES
173
174
[Ch. 3
The familiar algebraic theories are not categorical because they have
models with different numbers of elements. One advantage of the
axiomatic approach in algebra is that one theorem establishes a true
formula in each of many different models.
The obvious way to make a theory categorical is to pile on axioms
until only one model remains . (This must be done with sorne care to
avoid reducing the number of models to zero.) Axioms fixing the
number of elements in a model sometimes make a theory categorical.
Let 3!n be the statement
29)
M3
o 1
o 1
o ,...---
-1
3x 1 3xn(x 1 # x 2 /\ /\ x 1 # Xn /\ x 2 # x 3 /\ /\ x 2 # Xn
/\ /\ Xn-l # Xn /\ 'Vy( y = x 1 V y = x 2 V V y = Xn))
-3
Thus 3!3 is
3x3x23X3 (X1
# Xz /\ X #
X3 /\ Xz
X3
/\ 'Vy(y = X1 V y = Xz V Y = X3})
Proof.
+
o
11
11
o
o
1
1
1=
If a is paired off with O, and b is paired off with 1, the tables for M 1 and
175
M4
2 3
-=== 2 3
- 2
1-
1
2
*fe
~l e 1._~~
b
O) is
76
29]
[Ch. 3
'HEOREM
~HEOREM
7.
ategorical.
Proof. Suppose N is consistent. Then N has a countable model M
>y the completeness theorem. The proper axioms of N force every
177
Proof. Let A be a set with cardinal number re. Let T' be the result
f adjoining to Tone new constant symbol for ea.ch eleroent of A , and
djoining to T one new proper axfom a i= b for e>'. ch pair {a . b} of
istinct new constant symbols. Let X be any finite subset of the
roper axioms of T'. Let a 1 , . . . , an be ali the distinct new constant
ymbols that occur in X. Let M' be the same as M except that M '
ssigns a different element of the domain to each a;. This is always
o0ssible because M is infinite. Then M' is a model for X. Hence 1"
.as a model M 1 by the compactness theorem. ltf 1 is a model for T
ecause T' is an extension of T. The cardinal number of M 1 is at least.
?, because each new proper axiom a #- b is true in M 1 .
~~
~~~(l
~.:i~~~
~Ji1
~I ,
THEOREM 8.
i''>l
78
30]
[Ch. 3
9.
EXERCISES
HEOREM
Then T is complete.
5.
:'
'
1!
'"
6.
7.
8.
~.;b;;,~
#ft- ,r,;_~
,-:.:- ~.;
ii~i:~
.....
n times
Proof. Suppose T has an infinite model M. Let A be a well~dered set of cardinal num ber CfJ. Define T ' as in the proof of Theorem
Then exactly as in the proof of Theorem 6, T ' has a model M i By
le generalized Lowenheim-Skolem theorem, T ' has a model M 2 with
; most C(J elements. M 2 has at least CfJ elements because each new
~oper axiom a # b is true in M 2 . Hence M 2 has exactly ({j' elements
r the Schroder-Bernstein theorem.
e isomorphic.
179
Because of Theorem 8, ali the theorems that follow from the comleteness theorem extend to generalized first order theories with exactly
!le same proofs. In the generalized Lowenheim-Skolem theorem,
ountable (i.e., ~ w} is replaced by :::; CfJ, where CfJ is the cardinal number
f the set of proper symbols of the theory if CfJ is transfinite.
'l !EOREM
DECIDABILITY
CAMPLE
30
Decidability
30]
[Ch. 3
80
DECIDABILITY
THEoREM 3.
181
Theorems 1 and 2.
THEoREM 4.
CREOREM
1e effectively e11:umerated.
Proof. Suppose that T is decidable. Let P 1 , P 2 , . . be the effective
:numeration of the formulas of T given in the proof of Theorem 27 .3.
Che decision-making machine examines each P 1 in turn and puts
t in list 1 if it is a theorem or in list 2 if it is not a theorem.
Chen list 1 is an effective enumeration of the theorems of T, and list 2
s an effective enumeration of the nontheorems of T. Now suppose
;hat Q1 , Q2 , is an effective enumeration of the theorems of T, and
R1 , R 2 , is an effective enumeration of the nontheorems of T. Let
P be any formula of T. The machine goes through the sequence
21 , R 1 , Q2 , R 2 , . . . , Q1, R1, until it encounters P. If Pis a Q,, then
t is a theorem; if P is an R 1, then it is not a theorem. Hence T is
iecidable.
182
[Ch. 3
Two important decida.ble first order theories a.re the theory of abelian
groups and the theory of real closed :fields.
Sorne undecidable first order theories are number theory, set theory,
the predica.te calculus, and the theories of groups, rings, fields, and
lattices. A theory is undecidable if and only if there is a proof that
no decision procedure exista for it. There are many theories whose
decidability is unknown.
T is e.ssentially undecidable if and only if T is undecidable, and every
consistent extension of T with the same formulas as T is undecidable.
The theory Q defined below is essentially undecidable.
Q5.
Q6.
Q7.
VxVy(x' = y' -+ x = y)
Vx(x' =/:- O)
Vx(x = O v 3y(x = y'))
Vx(x + O = x)
Vx'r/y(x + y' = (x + y)')
Vx(xO = O)
Vx'r/y(xy' = xy + x)
The decision procedures for the theories of abelian groups and real
closed fields use the method of elimination of quanti.fiers. We outline
a decision procedure for DL that uses elimination of quanti5.ers.
Let P be a statement of DL. It suffices to consider statements,
because a formula is a theorem if and only if its closure is a theorem.
Let T be 'v'x(x = x). We show that P is equivalent to T or ""'T. If
P is equivalent to T, then P is a theorem because T is a theorem. If
Pis equivn.lent to ,_,T, then Pis nota theorem beca.use DL is consisten t.
We use the following theorems of DL. 1 through 12 are theorems of
the predica.te calculus. Only 13 through 18 depend on the proper
axioma of DL. We also use the commutative and associative laws for
conjunction and disjunction without explicit mention.
(1)
,.._,,.._,p +-t T
(2)
(3)
T A P+-t P
T v P+-tT
(4)
(5)
,.._,TA
P~
,.._,T v
P~P
,.._,T
30]
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
V=v
8)~ R
DECIDABILITy
A R)
3vQ1 V ... V 3vQk
3v(v = u)
3v(v = u A 8) +-4 8(u/v) if 8 admits u for v
"-'(V < V)
"-'(u
"-'(U
= v) ~u <
< v) ~U =
3v(v < U A
3v(ul < V A
3v(ul <
U2
<
V
U2
<
<
V V V
< u
V V V
<
U2
A . A
V A .. /\
V < u,)
uj < v)
V A U2
... /\ V
W1
In the steps below, T is regarded asan atomic formula, i.e., the variable
x and the quantifier Vx that occur in Tare disregarded.
8tep
each
Vv;l. byReduce
"'3v "-'.P to prenex normal forro Zv1 ZvnQ and replace
1
Step 2. Let Q' be the formula that comes after 3vn (Q' is either Q
or "-'Q.) ln Q', use (10) to replace each subformula v = v by T, and
use (13) to replace each subformula v < v by "-'T. Let Q" be thc r esult.
If Q" is T or "-'l', use (1) and (6) to reduce P to T or "-'1'. If Qh is a
tautology ora contradiction, replace it by T or ,..,_,p and use (1) and (6)
to reduce P to T or "-'T. Otherwise proceed to step 3.
Step 3. Reduce Qh to disjunctive normal forro.
v < u.
each Q1 is the conjunction of atomic formulas.
183
184
Subcase 3.1.
(16) to repla.ce
Subcase 3.2.
(17) to replace
Subcase 3.3.
U1
[Ch. 3
< Vn /\
U2
Vn /\ /\ U;
<
t!n /\ Vn
/\ /\ Vn
<
31]
GODEL'S THEOREM
U;.
Then use
<
Vn.
is undecidable.
Then use
<
W1
/\ Vn
<
W2 /\ . /\ Vn
<
Wk
<
W1 /\ U1
<
W2 /\ /\ U
/\ ,\ u 2
< Wk /, U2 < W 1
< wk /\ /\ u, < w 1
ui <
wk
6.
185
Suppose that for some transfinite cardinal number ce, T has a model of cardinal number ce, and
ali modela for T of cardinal number ce are isomorphic. Prove that
T is decidable.
Step l.
Godel's Theorem
EXERCISES
(i)
(ii)
ji f!l'(a 1 ,
3z(y = zx).
l86
[Ch. 3
-+
1357911
f3
'Y
13
15
17
19
21
23
Nis
:.o-consistent if and only if for every formula Q(v) of N with exactly one
Proof.
~xactly
31)
GODEL'S THEOREM
187
Let P be the formula Yy ,...._, G(x, y), and let i be the Godel number of
Let S be the statement P(i), i.e., Vy ,...._, G(i, y).
88
[Ch. 3
31]
GODEL'S THEOREM
rEMM.A 5
(a)
(b)
mVm~
Proof. (a) is Theorem 24.24. Each instance of (b) follows immeditely by spec on 'r-N\fx'v'y.x ~ y v y ~ x , which is Theorem 24.22.
6. Let .J"t' be the 2-place predicate defined by: .J"t'(a, b) 8 true if
nd only if a is the Godel number of a formula P (x) with free variable x ,
nd b is the Godel number of a. proof in K of ,._,P(a). Then .J"t' is
:cpressible in K by a formula H .
.EMMA
: HEOREM 7
~either
189
y /\ H(j , z)))
If N is consistent , then
90
[Ch. 3
Notes
i.
~T\fvQ(v).
Chapter l
Chapter 1 of Rosser 1953 and Part I of Kleene 1952 are excellent
introductions to mat hematical logic. Section 2. For more set theory
along these lines, see Abian 1965, Fraenkel 1953, Halmos 1960, and
Sf Jll l 963. Sr:cf,",-;;; ?. _:_xiornD~ :e, the0::t:s an, di:>cuss6d in StoL lflt:::;
and vVilder 1952.
Chapter 2
General references for the predicate calculus are Beth 1959, Church
1956, Hilbert and Ackermann 1950, Hilbert and Bernays 1934, Kleene
1952, l\fendelson 1964, Quine 1940, Rosenbloom 1950, Rosser 1953,
Stoll 1963, and Whitehead and Russell 1910. For additional references
to particular topics, see Church 1956, especially Sections 29 and 49.
Section 14. The deduction theorem is due to Herbrand 1930. Section
15. The completeness theorem for the statement calculus is due to
Post 1921. The proof here is that of Kalmr 1935. Section 17. The
name Rule C is borrowed from R osser 1953. (The formulation here is
not t he same as Rosser's. )
191
NOTES
NOTES
Cha.pter 3
neral references for first order theories are Beth 1959, Mendelson
64, Robinson 1963, and Stoll 1963. For additional references to
rticular topics, see Mendelson 1964. Section 22. For more algebra,
~ Birkhoff and MacLane 1941, Herstein 1964, Jacobson 1951, van der
a..erden 1949, or any modern algebra book. Higher order logic is
1cussed in Church 1956 and Hilbert and Ackermann 1950. For
mal set theory , see Bernays and Fraenkel 1958, Fraenkel and
,r-Hillel 1958, Godel 1940, Mendelson 1964, Rosenbloom 1950, and
ppes 1960. Section 24. For more number theory along these lines,
i Beth 1959, Church 1956, Hilbert and Bernays 1934, Kleene 1952,
.ndau 1951 , and Mendelson 1964. Section 26. The precise definition
truth is due to Tarski 1936. (An English translation appears in
.rski 1956.) Section 27. Lowenheim 1915 proved that if a finitely
iomatized first order theory has a model, then it has a countable
>del. Skolem 1920 extended the theorem to arbitrary first order
~ores . The completeness theorem is dueto Godel 1930. The proof
re is that of Henkin 1949 as simplified by Hasenjaeger 1953. The
mpactness theorem is due to Malcev 1936. Theorem 4 is due to
Lolf Lindenbaum. (See page 98 of Tarski 1956.) The definition of
ith and the completeness theorem forro the basis of the theory of
1dels. See Tarski 1952 and 1954, and Robinson 1963. Section 29.
r more on completeness see Robinson 1956. Cantor's theorem is in
ntor 1915 and Kamke 1950. For cardinal nun:bers h.rid well -or derd
;s, see Abian 1965, Bachman 1955, Bernays and Fraenkel 1958,
ntor 1915, Fraenkel 1953, Godel 1940, Halmos 1960, Kamke 1950,
mdelson 1964, Sierpiski 1958, Stoll 1963, Suppes 1960, and Whitead and Russell 1910. Theorem 10 is dueto Vaught 1954. Steinitz's
eorem is in Steinitz 1910. Section 28. Euclid's fifth postulate is
;cussed in Wilder 1952. The consistency of the axiom of choice
~s proved by Godel 1940; the independence by Cohen 1963. For
)re about the axiom of choice, see Rosser 1953, Rubn and Rubn
63, or any set theory book. Section 30. Church 1936a and 1936b
ve a precise definition of decidable theory and proved the uncidability of number theory and the predicate calculus. Decida.bility
an aspect of the theory of recursive functions. See Davis 1958 and
65, Hermes 1965, Kleene 1952, Markov 1954, Mendelson 1964,
:ter 1951, Rogers 1967, and Smullyan 1961. Theorem 2 and related
eorems are discussed in Post 1944. The decidability of the theory
193
References
ALEXANDER AllIAK.
1965; The Theory aj Sets and Tranafinite Arithmetic.
Saunders Co.
HEmz
Philadelphia: W. B.
BACHMAN.
F'RAENKEL.
Amsterdam.
EVERT BETH.
1959: The Faundationa aj Mathematics.
Amsterdam.
GEORG CANTOR.
1915: Oontributiona to the Faunding aj the Theary aj Tranafinite NumberB.
Chicago: Open Court Publishing Co. Reprinted 1952 New York: Dover
Publications, Inc.
195
96
REFERENCES
REFERENCES
LONZO CHURCH.
1936a: "An Unsolvable Problem of Elementary Number Theory," American
Journal of Mathematics, Vol. 58, pp. 345-363.
1936b: " A Note on the Entscheidungsproblem," Journal of Symbolic Logic,
Vol. 1, pp. 40-41; Correction, ibid., pp. 101-102.
1956: Introduction to MathematicaJ. Logic, Vol. l. Princeton, N.J.: Princeton
University Press.
'AUL COHEN.
ISRAEL liERSTEIN.
197
J ACQUES liERBR.AND.
DAVIS.
Reprint~d 1944
UlRAHAM FRAENXEL.
1953: Abstract Set Theory.
Amsterdam.
Princeton, N.J. :
LSZL KALMR.
1935: "ber die A..'Ciomatisierbarkeit des Aussagenkalkls," Acta Scientiarum
Mathematicarum (Szeged), Vol. 7, pp. 222-243.
CURT GbDEL.
1930: " Die Vollstandigkeit der Axiome des logischen Funktionenkalkls,"
Monatshe,ftefr Mathematik urui Physik, Vol. 37, pp. 349-360.
1931: "ber formal unentscbeidbare Satze der Principia Mathematica und
verwandter Systeme I," ibi., Vcl. 38, pp. 173-l!'IS.
1940: The Conai8tency oj the Axiom oj Choice and the Generalized Connnumnhypothui.fi with the Axioma of Set Theory. Princeton, N .J.: Princeton University
Press, second printing 1951.
?AUL HALMOS.
1960: Naive Set Theory.
NATHAN JACOBSON.
ERICH KAMKE.
1950: Theory oj Sets.
STEP2EN KLEEl't3.
EDMUND LA.>mAU.
Princeton, K.J.: Van Nostrand Co.
)ISBERT HASENJAEGER.
1953: "Eine Bemerkung zu Henkin's Beweis fr die Vollsti.i.ndigkeit des
Pradikatenkalkls der ersten Stufe," Journal of Symbolic Logic, Vol. 18, pp.
42-48.
LEON HENKIN.
1949:" The Completeness of the First-Order Functional Calculus," J ournal of
Symbolic Logic, Vol. 14, pp. 159-166.
1955: "On a tbeorem of Vaugbt," Iruiagationu Mathematicae, Vol. 17, pp.
326-328.
COOPER LANGFORD.
1927: "Sorne Tbeorems on Deducibility," Annal.fl of Mathematics, Vol. 28, pp.
16-40, 459-471.
LEOPOLD LOWENHEIM.
1915: "ber Moglichkeiten im RelativkalkJ," Mathematche Annalen, Vol.
76, pp. 447-470.
ANATOLII MALCEV.
1936: " Untersucbungen aus dem Gebiete der mathematiscben Logik," Matematichukii Sbomik (new series), Vol. 1, pp. 323-336.
[)8
REFERENCES
REFERENCES
NDREI MARKOV.
MENDELSON.
Princeton, N.J.: Van Nostra.nd Co.
PTER.
p ATRICK SuPPES.
SZMIELEW'.
i ILLARD QUINE .
New York:
AUL ROSE1'"'"BLOOM.
1950: Element8 oj.Mat,hematical Logic.
TA.RSK.I.
1948: A Decision Method for Elementary Algebra and Geometry. Santa Monica:
Rand Corporation. Revised 1951, Berkeley: University of California Press.
1952: "Sorne J:\otions on the Borderline of Algebra and Meta.mathematics,''
Proceedings oj the Intern<Uional Congress of Mathemmicians, 1950, pp. 705-720.
1954: "Contributions to the Theory of Models," lndagationes Mathematicae,
Vol. 16, pp. 572-588 and Vol. 17, pp. 56-64.
1956: Logic, Semantics, Metamat,hematics. Oxford.
A LFRED T"IBsru:, .;.NDI;.ZEJ
ROBINSON.
Amsterdam.
RoBERT V AUGHT .
. BARKLEY RosSER.
1936: "Extensions of Sorne Theorerns of Godel and Church," Journal of
Symbolic Logic, Vol. l, pp. 87-91.
1953: Logicfor Mathematicians. New York: McGraw-Hill Book Co.
Amsterda.m.
VAN
DER W AERDEN.
SIERPISK.I.
ALFRED
1936: "Der Wahrheitsbegriff in den formalisierten Spra.chen," Studia Philoaophica, Vol. 1, pp. 261-405.
ROBINSON.
VA.Cl.A.w
1910: "Algebraische Theorie der Korper," Journaljr die reine und angewandte
Mathematik, Vol. 137, pp. 167-309 .
BRAHAM
ROBERT STOLL.
Buda.pest, second edition 1957.
MIL POST.
199
RAYMOND SMULLYAN.
Warsaw.
Cambridge, England,
'HORA.LF SKOLEM.
RA.YMOND WILDER.
"
.~;
Addendum
In this section a few minor errors are corrected, and the bibliography
is expanded to include sorne worthy books published since the first
edition.
There is a defect in the proofs of the substitution theorems. In
Theorem 18.2 (see p. 84 ), the equivalence theorem, it may happen in
case 3 that Qr (or R u) is left unchanged by the substitut ion. Then we
cannot appeal to the induction hypothesis to get
f-V'v 1
(1 )
s ~ f
t;
t;
(2)
t;,
201
202
ADDEJ\'Dt:M
KENNETI! KUNEJ\.
Index of Symbols
1!:167: Frorn Frege lo Godel: A Sourcl Book i111liathematical Logic. 1879- 1931.
Cumbrid(!e. Mass.: Harvard rniversir:- Press.
E, 5
'f, 5
{x, ... , Xn}, 5
{x / P(x)), 5
J:, 5
s. 5
6, 104, 105
0, 6
{x}, 6
u, 6, 115
{"\, 6, 115
=.
j(a), 7
:;&., 7
(a, . .. , an), 7
An, 7
1-1, 9
17, 47
3, 18, 49
A, 23, 49
T, 23
F, 23
V, 23, 49
~, 24, 47
v.
~.
24, 47
25, 49
v, 26, 123
L. 31, 113
<, 31, :>5, 134
AG, 32, 114
~. 35, 131
>, 35
;;i:, 35
., :, .:, 37
P(t/v), 38
a:, 47
fJ, 47
y, 47
X , 47
J, 47
#. 47
P, Q R, S, U, V, 48
u, v, w, 48
Ll., 49
Ll. 1--Q, 50
.__ Q, 50
A, B, O, 50
~.
203
204
P 1 , .. , P,. 1- Q, 51
A2, 52
MP, 52
as, 53
!::.., p 1-Q, 55
DT, 58
Tl3.6, 59
r, 61
se, 72
spec, 75, 88
3, 2, 75
gen, 77
Cx, 79
e, 2, 79
equiv, 85
rep, 85
taut, 85
P(v), 86
... t' 103
sub, 107, 108
3!uP(u), 109
A 1-TQ, 112
.....~. 113
R,114
LA,115
G,115
F,115
F", 116
F, 116
ACF, 116
OF, 117
RCF, 117
DL, 117
BA, 118
123
N, 127
'. 127
+. 127
., 127
O, 127
ind, 128
ind. hyp., 129
k, 137
rs, 140
pr(B}, 140
D"', 149
p, q, 149
p(d/k), 149
p(t), 149
T, 158
3n, 166
BA*, 169
AG', 170
AG, 171
OAG, 172
F*, 172
3tn, 174
AG2 , 174
AG., 174
.A, 176
w, 176
ACF, 178
Q, 182
P(a1 , , an), 185
Oonsis, 189
v,
Subject Index
205
206
SUBJECT INDEX
SUBJECT INDEX
BA,118
BA*, 169
Bachman, H., 192, 195
Bar-Hillel, Y., 192, 196
Bernays, P., 191-93, 195, 197
Beth, E., 191, 192, 195
Biconditional, 25
Binary connective, 26
Bina.ry operation, 7
Birkhoff, G., 192, 195
Boolean algebras, theory of, 118
Bound, 48
change of bound variable, 86-88,
108
Cantor, G., 175, 176, 192, 195
Cardinal number, 176, 192
Cases, proof by, 2, 4, 72, 94
Categoricity, 173
and completeness, 175
and number theory, 176
Change of bound varia.ble, 86-88, l 08
Characteristic of a field, 116
Church, A., vii, 191-93, 196
Closed first order theory, 161-62
Closed formule., 48
Closed term, 159
Closure, 48, 143
Cohen, P., 192, 196
Cornmutative laws, 71
Commutative operation, 8
Cornmutative rings, theory of, 114
Compe.ctness theorem, 166, 192
Completeness, 143-44, 165, 192
of algebraically closed fields of characteristic zero, l 7S-79
and categoricity, 175
and consistency, 159
and decidability, 181
of dense linearly ordered sets, 175
and models, 173
number theory is incomplete, 187-89
w-completeness, 190
operational, 97-98
of predicate calculus, 165
of statement calculus, 69, 191
Completeness theorem, 164, 192
generalized, 177
Divide, 140
Division rings, theory of, 116
DL, 117
is complete, 17 5
is decida.ble, 181, 182, 193
Doma.in, 16, 145
finite, 153
of function, 6
Dots, 37
Double nege.tion, 3, 71
DT, 58
Dummy variable, 19
207
208
SUBJECT INDEX
SUB.TECT INDEX
of equa.lity, 145
finite, 153
of predica.tes, 27
of qua.ntifiers, 28
of sta.tement connectives, 23-26
Intersection, 6
Isomorphic modela, 173
isomorphic, 173
for sets of formuls, 145
a.nd theorem, 165
theory of, 192
Modus moron, 4
Modus ponens, 2, 49, 62
preserves ta.utologies, 65
preserves truth, 150
Mostowski, A., vii, 193, 199
MP, 52
,,
209
successor, 127-28
truth va.lue, 94
Opera.tiona.l completeness, 97-98
Opera.tion symbol, 47, 119, 170
Or, 23-24
Order
linear, 31
in number theory, 131, 134
well, 177
Ordered abelia.n groups, theory of, 172
Ordered fields, theory of, 11 7
Ordered n -tuple, 7
Ordered pair, 7
is incomplete, 187-89
is not ca.tegorica.l, l 7 6
Necessa.ry a.nd sufficient condition, Pa.rentheses, omission of, 26, 36
25
Pter, R., 192, 198
Necessa.ry condition, 25
Positive, 117
N ega.tion, 24
Positive integers, 8-9
double, 3, 71
Post, E., 191-93, 198
N orma.l forro, 94
Predica.te, 16, 21
conjunctive, 99
interpreta.tion of, 27
disjunctive, 98
Predica.te ca.lculus, first order, 30, 47,
prenex, 100
112, 119-20, 182, 191, 192
Not, 24
axiom schemes of, 49
n-pla.ce opera.tion, 7
completeness of, 165
n-pla.ce predica.te, 16, 21
consistency of, 141
Number, 16
deduction in, 49
cardinal, 176, 192
with eque.lity, 104, 112
prir:1er 140
is a first order theory, 118
Number theory, 16, 35, 127, 182, 185,
formula. of, 48
192
theorem of, 50
is incomplete, 187-89
Predica.te symbol, 47, 119, 169
is not ca.tegorica.l, 176
Premiss, 49
Numera.!, 185
Prenex norma.! fonn, 100
Prime constituent, 63
OAG, 172
Prime formula., 63
Object la.ngua.ge, 14
Prime number, 140
OF, 117
Proof
w-completeness, 190
by ca.ses, 2, 4, 72, 94
w-consistency, 186
by contra.diction, 4, 69, 72
Omission of pa.rentheses, 26, 36
by contra.position, 2, 4, 71
One to one correspondence, 9, 173
in first order theory, 113
Only if, 25
forma.!, 13
Opera.tion, 7
in predica.te ca.lculus, 50
a.ssocia.tive, 7
working, 13
bina.ry, 7
Proof outline, 59
commuta.tive, 8
Proper a.xiom, 112, 167
n-pla.ce, 7
Proper symbols, 112, 169-71, 177
210
SUBJ;<.:CT INDEX
E'rove.ble, 12, 50
E'rovided, 25
Q, 182, 193
IQuantifiers
existentia.l, 18, 49
inserting, 39, 40, 75, 76
interpreta.tion of, 28
removing, 39, 40, 74, 78-79, 88
scope of, 18
universal, l 7, 4 7
Quine, _W., 191, 198
R, 114, 124, 182
multiplication is independent in, 170
Range, 11
Ra.tional numbers, 9, 116, 117
RCF, 117, 182, 193
Real closed fields, theory of, 11 i, 182,
193
Real numbers, 10, 116, 117
Recursive function, 192
Removing que.ntifiers, 39, 40, 74, 7879, 88
rep, 85
Replacement theorem, 85
Rings, theory of, 114, 124, 182
commuta.tive, 114
division, 116
multiplication is independent in, 170
Robinson, A., 192, 198
Robinson, R., vii, 193, 199
Rogers, H., 192, 198
Rosenbloom, P., 191, 192, 198
Rosser, J. B., 187-89, 191-93, 198
Godel-Rosser theorem, 188, 193
Rubin, H., 192, 198
Rubin, J., 192, 198
Rule C, 40--42, 78-79, 88, 191
Rules of inference, 1, 49
Russell, B., 191, 192, 199
Satisfiable, 157
Satisfies, 150
se, 12
Schroder-Bernstein theorem, 176, 178
Scope, 18
Sequence, 7-8
SUBJECT INDEX
Set, 5
counta.ble, 8
empty, 6
enumere.tion of, 8
finite, 8
infinite, 8
singleton, 6
subset, 5
unit, 6
well-ordered, 177, 192
Set theory, 5, 119, 182, 190, 192
Sierpmski, W., 192, 198
Similar, 86
Singleton set, 6
Singulary connective, 26
Skolem, T., 166, 167, 178, 192, 198
LOwenheim-Skolem theorem, 166,
167, 178
Smullyan, R., 192, 199
spec, 75, 88
Specialization, 39, 74-75, 88
Ste.tement, 1, 21 , 48
acceptable, 12
consistency of, 169
independence of, 169
truth of, 150
vacuously true, 45
Statement calculus, 51, 72
is complete, 63, 69, 19~
is consistent, 141
is decide.ble, 69, 180
is operatione.lly complete, 97-98
Ste.tement connectives, 23-26, 47, 49,
72
operational completeness, 97-98
Steinitz, E., 179, 192, 199
Step, 13, 56
Stoll, R., 191, 192, 199
String, 14, 47
Godel number of, 186
sub, 107, 108
Subformula, 48
Substitution of a term for a variable,
38, 48
Substitutivity of equality, 106, 107
Successor operation, 137-38
Sufficient condition, 25
Suppes, P., 192, 199
Symbol
constant, 48, 119, 170
formal, 14, 47
operation, 47, 119, 170
predice.te, 47, 119, 169
proper, 112, 177
Szmielew, W., 193, 199
Tarski, A., vii, 192, 193, 199
taut, 85
Tautologous schemes, 64
list of, 71-72
Tautology, 64, 96
Term, 48
closed, 159
of a sequence, 7
Theorem, 12, 13
of first order theory, 113
formal, 15
metatheorem, 15
and models, 165
of predice.te calculus, 50
Theorem schemes, 54
list of, 89-90
Theory, 12
axioma.tic, 12, 191
first order, 112
formal, 14
hif!her order, lHl, 192
informal, 14
Torsion.free abelian groups, theory of,
179
Transfinite cardinal number, 176
Transfinite induction, 177
Transitivity of implication, 2, 71
m=====================================~I
A CATALOG OF SELECTED
r1
DOVER BOOKS
IN SCIENCE AND MATHEMATICS 11
[O
,
!
A CATALOG OF SELECTED
DOVER BOOKS
RELATIVITY, THERMODYNAMICS ANO COSMOLOGY, Richard C. Tolman. Landmark study extends thermodynamics to special, general relativity; also
applications of relativistic mechanics, thermodynamics to cosmological models.
501pp. 51' )( 81;.
65383-8 Pa. $12.95
APPLIEO ANAL YSIS, Comelius Lanczos. Classic work on analysis and design of
finite processes for approximating solution of analytical problems. Algebraic
equations, matrices, harmonic analysis, quadrature methods , much more. 559pp.
si. X 8!-l.
65656-X Pa. $1 2.95
INTRODUCTJON TO QUA NT U M MECHANICS With Applications to Chemist.ry. Linus Pauling & E. Bright Wilson, Jr. Classic undergraduate tex t by Nobel
Prize winner applies quamum mechanics to chemical and ph ysical problems.
Numerous tables and figures enhance the text. Chapter bibliographies. Appen di ces. Index. 468pp. 5li x 8n.
6487 J-O Pa. SI 1. 95
A TOMIC PHYSICS (8th edition ). Max Born. Nobel laureate's lucid rreatment of
kinetic theory o f gases, elementary particles, nuclear atom, wave-corpuscles, atomic
structure and spectral Jines, much more. Over 40 appendices, bibliograph y. 495pp.
5:" 8n.
65984-4 Pa. $12.95
ELECTRONIC STRUCTURE AND THE PROPERTIES OF SOLIDS: The
Physics o f the Chemical Bond, Walter A. Harrison. Innovative text offers basic
understanding of the electronic structure of covalent and ionic solids, simple
metals, rransition metals and their compounds. Problems. 1980 edition. 582pp.
6\i )( 9\.
66021-4 Pa. $14.95
BOU N DARY VAL L'E PROBLEMS OF HEAT CO NDUCTION , M. Necui
cJzisik. Systematic, comprehensive treatment of modern mathematical methods of
solving problems in heat conduction and diffusion. Numerous examples and
problems. Selected references. Appendices. 505pp. 5l " 8:.
65990-9 Pa. $11.95
A SHORT HISTORY OF CHEMISTRY (3rd edition ), j.R. Panington. Classic
exposition explores origins of chemistry, alchemy, early medica! chemistry. nature
of atmosphere, theory of valency, laws and structure of atomic theory , much more.
428pp. 51' x 8lf. (Available in U .S. only )
65977-1 Pa. $10.95
A HISTORY OF ASTRONOMY, A. Pannekoek. Well-balanced, carefully reasoned study covers such topics as Ptolemaic theory , work of Copemicus, Kepler,
Newton, Eddington's work on stars, much more. Illustrated. References. 521pp.
51' )( 8:.
65994-1 Pa. $12.95
PRINCIPLES OF METEOROLOGICAL ANALYSIS, Waher J. Saucier. Highl y
respected, abundantly illustrated classic reviews atmospheric variables, hydrostatics, static stability, various analyses (scalar, cross-section, isobaric, isentropic,
more). For intermediate meteorology students. 454pp. 6~" 9'.t 65979-8 Pa. $12.95
1
,
THE ELECTROMAGNETIC FIELO, Albert Shadowitz. Comprehensive undergraduate text covers basics of electric and magnetic fields, builds up to electromagnetic theory. Also related topics, including relativity. Over 900 problems. 768pp .
5 x 8!4.
65660-8 Pa. SI 7.9S
FOURIER SERIES, Georgi P. To!stov. Translated by Richard A. Silverman. A
valuable addition to the literature on the subject, moving clearly from subject to
subject and theorem to theorem. 107 problems, answers. 336pp. 51' x Sl.
63317-9 Pa. $8.95
THEORY OF ELECTROMAGNETIC WAVE PROPAGATION, Charles Herach Papas. Graduate-level study discusses the Maxwell field equations, radiation
from wire antennas, the Doppler effect and more. xiii + 244pp. 51' x SJi.
65678-0 Pa. $6.95
DISTRIBUTION THEORY ANO TRANSFORM ANALYSIS: An lntroduction
to Generalized Functions, with Applications, A.H. Zemanian. Provides basics of
distribution theory, describes generalized Fourier and l..aplace transformations.
Numerous problems. 384pp. 51' x Sll.
65479-6 Pa. S9.95
THE PHYSICS OF WAVES, William C. Elmore and Mark A. Heald. Unique
overview of classical wave theory. Acoustics, optics, electromagnetic radiation,
more. Ideal as classroom text or Cor self-study. Problems. 477pp. 5 x Sll.
64926- J Pa. SI 1. 95
CALCULUS OF VARIATIONS WITH APPLICATIONS, George M. Ewing.
Applications-oriented introduction 10 variational theory develops insight and
promotes understanding of specialized books, research papers. Suitable for
advanced undergraduate/ graduate students as primary, supplementary text. 352pp.
5% x Sll.
64856-7 Pa. $8.95
A TREATISE ON ELECTRICITY ANO MAGNETISM, James Clerk Maxwell.
Imponant foundation work of modern ph vsics. Brings to final orm Man,d l's
of
and rigorously cierives his general equations of field
60636-8, 60637-6 Pa., Two-vol. set $19.90
theory. l,084pp. 51' x Sil.
th~or: eltctromagneti~rn
9~.
OPTIMIZATION THEORY WITH APPLICATIONS. Donald A. Pierre. Broadspectrum approach to important wpic. Classical theory of mnima and maxima,
calculus of variations, simplex technique and linear programming, more. Many
problems, examples. 640pp. 5l x 8\.
65205-X Pa. Sl4.95
-'i;"
SPECIAL FU NCTIONS, N.N. Lebedev. Translated by Richard Silverman. Famous Russian work treating more importam special functions, with applications
to specific problems of physics and engineering. 38 figures. 308pp. 5% x 8%.
60624-4 Pa. $7.95
OBSERVATIONAL ASTRONOMY FOR AMATEURS, ].B. Sidgwick. Mine of
useful data for observation of sun, moon, planets, asteroids, aurorae, meteors,
comets, variables, binaries, etc. 39 illustra tions. 384pp. 5li x 8!4. (Available in U.S.
only)
24033-9 Pa. S8.95
CELESTIAL OBJECTS FOR COMMON TELESCOPES, T.W. Webb. Inestimable aid for locating and identifying nearly 4,000 celestial objects. 77 illustrations.
645pp. 5%x 8%.
20917-2, 20918-0 Pa., Two-vol. set $12.00
MODERN NONLINEAR EQUATIONS, Thomas L. Saaty. Emphasizes practical
solution of problems; covers seven types of equations. " . . . a welcome contribu tion
to che existing literature. . . ." -Math Reviews. 490pp. 5%x 812. 64232-1 Pa. $9.95
INTRODUCTION TO LINEAR ALGEBRA AND DIFFERENTIAL EQUATIONS, John W. Dettman. Excellent text covers complex numbers, determinams,
onhonormal bases, Laplace transforms, much more. Exercises wilh solutions.
Undergraduate leve!. 416pp. 5% x 8\.
6.519J -6 Pa S9.!l5
I.'.\iC0:'.1PRESSIBLE AERODYNAMICS, edited by Bryan Thwaites. Covers theoretical and experimental treatmem o the uniform flow o air and viscous fluids past
two-dimensional aerofoils and three-dimensional wings; many other topics. 654pp.
65465-6 Pa. S 16. 95
5l x 812.
INTRODUCTION TO DIFFERENCE EQUATIONS, Samuel Goldberg. Excep tionally clear exposition of imponam discipline wilh applicacions to sociology,
psychology, economics. Many illustrative examples; over 250 problems. 260pp.
5% X 812.
65084-7 Pa. $7.95
LAMINAR BOUNDAR Y LA YERS, edited by L. Rosenhead. Engineering classic
covers steady boundary layers in two- and three-dimensional flow, unsteady
boundary layers, stability, observacional techniques, much more. 708pp. 5l x 812.
65646-2 Pa. $15.95
LECTURES ON CLASSICAL DIFFERENTIAL GEOMETRY, Second Edition,
Dirk J. _S truik. Excellem brief introduction covers curves, theory of surfaces,
fundamental equations, geometry on a surface, conforma! mapping, other topics.
Problems. 240pp. 5%x 8~.
65609-8 Pa. $7.95
INTRODUCTJON TO SPACE DYNAMICS, William Tyrrell Thomson. Comprehensive, classic introduction to space-flight engineering for advanced undergraduate and graduate students. lncludes vector algebra, kinema1ics. transformation of coordinates. Bibliography. Index. 352pp. 5ll x 8~.
65113-4 Pa. $8.95
A SURVEY OF MINIMAL SURFACES, Roben Osserman. Up-10-date, in-depth
discussion of the field for advanced students. Corrected and enlarged edition covers
new developments. Includes numerous problems. l92pp. 5ll x 8~.
64998-9 Pa. $8.95
ANALYTICAL MECHANICS OF GEARS, Earle Buckingham. Indispensable
reference for modern gear manufacture covers conjugate gear-tooth action, gearlooth profiles of various gears, many other 1opics. 263 figures. 102 tables. 546pp.
5li x 8n.
65712-4 Pa. s1 J.95
SET THEORY AND LOGIC, Roben R. Stoll. Lucid introducon w unified
theory of mathematical concep1s. Set theory and logic seen as tools for concep1Ual
understanding of real number system. 496pp. 5li x 814.
63829-4 Pa. Sl 0.95
A HISTOR Y OF MECHANICS, Ren Dugas. Monumental study of mechanical
principies from antiquity 10 quantum mechanics. Contributions of ancient Greeks,
Galileo, Leonardo, Kepler, Lagrange, many others. 67lpp. 5% x 8~.
65632-2 Pa. $14.95
FAMOUS PROBLEMS OF GEOMETRY AND HOW TO SOLVE THEM,
Benjamn Bold. Squaring the circle, trisecting the angle, duplicating the cube:
learn their history, why 1hey are impossible IO solve, then salve them yourselL
24297-8 Pa. $3.95
l 28pp. 5Ji x 8\.
HISTORY OF STRENGTH OF MATERIALS, S1ephen P. Timoshenko. Excellem historical survey of the streng1h of ma1erials wi1h many references ID the
theories of elastici1y and structure. 245 figures. 452pp. 5ll x 8~. 61187-6 Pa. SJ0.95
THE DEVELOPMENT OF MODERN CHEMISTRY, Aaron J. Ihde. Authoritative history of chemist.ry from ancient Greek theory 10 20th-century innovation.
Covers majar chemis1s and their discoveries. 209 illustrations. 14 tables. Bibliographies. Indices. Appendices. 85lpp. 5l x Bn.
64235-6 Pa. $17.95
1
1
J. William;. A ciear concise dictionary of o ver 1,000 statistical terms andan outline
of statistical formulas covering probabil ity, nonparametric tests, much more.
667960 Pa. S6.95
208pp. 5li x 8!7