Professional Documents
Culture Documents
P U R E A N D A P P L IE D M A T H E M A T IC S
G eneral E ditors : I. N . Sneddon and M . Stark
E xecutive E ditors : J. P. K ahane, A. P. R obertson and S. U lam
VOLUME 31
ELEMENTS
OF MATHEMATICAL LOGIC
JAN LUKASIEWICZ
ELEMENTS
OF MATHEMATICAL LOGIC
by
OLGIERD WOJTASIEWICZ
PERGAMON PRESS
OXFORD • LONDON ■EDINBURGH ■NEW YORK
TORONTO • PARIS • BRAUNSCHWEIG
Copyright 1963
by PANSTWOWE WYDAWNICTWO NAUKOWE
(PWN — POLISH SCIENTIFIC PUBLISHERS)
WARSZAWA
Original Title:
Elementy logiki matematycznej
WARSZAWA, PWN
Second Edition 1958
Printed in Poland
(1487/64)
CONTENTS
If in syllogism I w e su b s titu te “ m an ” fo r M , “ p la n t”
for P , an d “ P o le” fo r S , w e o b ta in th e follow ing syllogism :
A ll m en are p la n ts.
A ll P oles are m en.
T herefore all P oles are p lan ts.
3 C (a - b eP n ) G N (a s P n ) (b e P n ) .
G G G N (a e P n ) ( a e P n ) (a e P n ) C (a *a e P n ) (a e P n ) .
8 0 (a • a e P n )(a e P n ) .
S en ten ce 8 is th e th eo rem th a t w as to b e p ro v ed .
T h e p ro o f of T heorem 8 as g iv en ab o v e is a n ex am p le of
a co m p lete proof. I n th a t proof, th e reco g n itio n of every
sen ten ce is ju stifie d b y a c e rta in ru le w hich w as ad o p ted
in ad v an ce. E v e ry step in th e p ro o f ca n be su b sta n ti
a te d ; th e su b sta n tia tio n is to b e fo u n d in th a t lin e of th e
p ro o f w hich p reced es ev ery sen ten ce recognized in th e
p ro o f.
T h e p ro o f g iv en above m ig h t be carried o u t w ith o u t
th e use of sym bols, b u t th e n i t w ould seem m ore com
p lic a te d a n d less clear. T he sym bols w e h av e ad o p ted
are sh o rte r th a n th e co rresponding w ords in ev ery d ay
lan g u ag e a n d en ab le us to see a t a glance how a given
th eo rem is co n stru cted . M oreover, sym bolic n o ta tio n m akes
easier a co m p lete fo rm alizatio n of th e proof. T h e p ro o f
m ig h t b e checked q u ite m echanically. A p erso n w ho d id
n o t k now th e m ean in g of th e sym bols we h av e u sed w ould
T H E O R E M S A N D R U L E S O F IN F E R E N C E 21
«+(& +<?) = { a + b ) + c
I n re ad in g th e la s t lin e w e m u st b e a r in m in d th a t every
sym bol fo rm s a sum to g e th e r w ith tw o n u m erical
expressions th a t sta n d to th e rig h t of it. T hese num erical
expressions m ay in tu rn b e e ith e r v ariab les o r sum s. W e
sh o u ld re a d th e co n d itio n al sentences, such as th o se given
in 6 , S ectio n 1.2, in th e sam e w ay.
P R IM IT IV E TER M S AND AXIOM S 25
2 G G N ppp ,
3 G pG N pq.
G R G p q G q rG p r .
C G K pqrG pC qr .
G G N ppp
A p p = G Tlpp
a n d pro v e th e thesis:
C Appp .
T H E O R E M S O F T H E S E N T E N T IA L CALCULUS 41
18! CpGpCrCsr .
W e p ro v e:
18x p jO p G p C rC sr * C l 8 X— C18X— 182 ,
182 C rC sr.
1 8 2 rjC rC sT j sjq * O l8 2 — 1 8 s ,
183 G q C rG sr .
1 8 2 rjG q C rG sr, s jp * 0 1 83 — 1 8 4 ,
18* G p C q C rC sr.
1 8 . q ]p * 1 8 . ,
18J C p C p C rG a r .
21 q f N p , r j q * <73 — 36 ,
36 CNpCpq.
1 pjJ Sfp j * 036 — 37 ,
37 C G G pqrG N pr.
27 p ( l ) f p , q j p * 02 — 38 ,
38 GCpSfpJH p .
37 p j N p , q l p , r j p * 02 — 39 ,
39 CJSrUTpp .
9 q / N N - p , r j N S f p * 038 p j N p — 40 ,
40 GpNNp .
1 p f N N p , z i p , rjq * (739 — 41 ,
41 G C pqC N N pq.
1 p j C p q , qjG H fN pq * (741 — 42 ,
42 C G G N N pqrC C pqr.
42 r jG G q N p N p * 015 p / N p — 43 ,
43 G C pqC G qN pNp .
5 p jG p q , q jG q N p , r ( N p * 043 — 44 ,
44 G G sG qN pG G pqG sN p .
5 p f G N p q , q jG q p , r fp * 03 5 — 45 ,
45 C G sG qpC C N pqG sp .
T H E O R E M S O F T H E S E N T E N T IA L CALCULUS 51
44 s \N q * (736 p f q , q f N p — 46 ,
46 G G pqG NqN p .
22 q jC N p r , r fC C q rC C p q r, p j s * 059 — 60,
60 C C sC X fprC $C C qrC C pqr.
1 q j N N p , rjq * 0 4 0 — 6 2 ,
62 C C NN pqC pq.
21 r jp * 018 q{p , p j q — 6 3 ,
63 C qC pp.
4 8 p /g , 2 / G pp * 063 q l ^ q — 64,
64 G N C ppq.
48 p f q , q /C p N q * (718 q fN q — 6 8 ,
68 C N CpN qq,
Ol A p q — G N pq.
3 * 0 1 -7 2 ,
72 Op A p q .
5*
56 I I . T H E S E N T E N T IA L CALCULUS
53 * 01*82,
82 C ApqC C pqq.
37 r(q * 01 8 3 ,
83 C C C pqqApq.
T heses 82 a n d 83 d e m o n stra te , as m en tio n ed above
(cf. th e re m a rk to T hesis 27), th e ad m issib ility of th e
follow ing d efin itio n of a lte rn a tio n : A p q = GCpqq.
16 p jC N p q * 0 1 1 * 8 4 ,
84 C ApqC N pq.
58 n . T H E S E N T E N T IA L CALCULUS
16 p jG N p q * 0 1 1 1 -8 5 ,
85 C C N pqApq.
41 * 01 p /iy p - 8 6 ,
86 G C p q A P fp q .
62 * 01 p l& p • 8 7 ,
87 C AN pqCpq.
T heses 86 a n d 87 d e m o n stra te th e ad m issib ility of a d e
fin itio n of im p lic a tio n su ch as is a d o p ted in P r in c ip ia
M a th e m a tic a (cf. th e re m a rk to T hesis 78 above).
±6 p f A N p q , q jC p q * 087 — 8 8 ,
88 G N G pqN AN pq.
46 p j C p q , q jA P fp q * 086 — 80,
89 G N AN pqN G pq.
85 q ilifp * 016 p j N p — 90,
90 A p lS fp .
T hesis 90 is a sym bolic ex p ressio n of th e la w o f the e x
clu d ed m id d le , w hich sta te s th a t of tw o c o n tra d ic to ry
sen ten ces a t le a s t one is tru e . T he sen ten ce “ to d a y is
t h e o r e m s o f t h e s e n t e n t ia l c a lcu lu s f>9
5 p fG K p q r , q fC q K p q , r jC q r , s jp
* 022 q jK p q , p jq — 091 — 9 8 ,
98 C G K p q rC p G qr .
21 p fC K p q C q r , q jC K p q q , r jG K p q r * 095 p j K p q — 0 9 4 — 9 9 ,
99 C G K p q G q rC K p q r .
1 p jO p r , q jC K p q r , r js * 096 — 100,
100 0 0 G K p q rsG G p rs.
100 r jC q r, s/G K p q r * 099 — 1 0 1 ,
101 0 C pC qr G K p q r .
Theses 98 a n d 101 a re th e law s o f exp o rta tio n a n d im p o r
ta tio n , referred to above (cf. p . 28-29).
55 * 0 3 -1 2 0 ,
120 G G pqC BpqN p.
120 * 03 p jD p q , q i p ' 121,
121 O C pqD D pqp.
1 p fG p q , q lD D p g p * (7121 — 122,
122 C G D D p q p rC C p g r.
122 r jD p D p q * (7119 p jD p q , q fp — 123,
123 C C pqD pBpq.
68 * 0 3 -1 2 4 ,
124 G N Bpqq.
22 q!NDpq<s rjq * (7124 — 125,
125 C G pN D pqG pq.
125 * 03 q fD p q - 1 2 6 ,
126 C D pD pqG pq,
T heses 123 a n d 126 d em o n strate th e ad m issib ility o f th e
follow ing d e fin itio n of im p lica tio n b y m eans of th e sym bol
of a lte rn a tiv e d e n ia l alone:
G pq = B p D p q .
S heffer h as sh o w n 11 th a t a ll th e term s o f th e se n te n tia l
calcu lu s ca n b e d efin ed b y m eans of a lte rn a tiv e d en ial.
I t ca n b e seen fro m th e re su lts o b ta in e d ab o v e th a t th e
te rm s of th e s e n te n tia l calculus w hich ap p e a r in o u r sy stem
ca n b e d efin ed b y m eans of th e sym bol of a lte rn a tiv e
d en ial: fo r n e g a tio n a n d im p lic a tio n th is c a n b e seen
d ire c tly fro m T heses 117, 118, 123 an d 126; a lte rn a tio n ,
co n ju n ctio n a n d eq u iv alen ce a re d efin ab le b y m eans of
n eg a tio n an d im p lica tio n , w hich ca n easily be red u ced to
a lte rn a tiv e d en ial.
T he F re n c h lo g ician J . M o o d gav e a single axiom
of th e se n te n tia l calcu lu s, w ith a lte rn a tiv e d en ial as
64 IT. T H E S E N T E N T IA L CALCULUS
0 0 1 N
0 I 1 1
1* 0 1 0
T he sym bols in th e first colum n of th e ta b le are th e values
of th e arg u m en t of n eg a tio n or th e values of th e first
arg u m en t of im p licatio n ; th e values of th e second arg u m e n t
of im p licatio n a re in th e first row of th e tab le. T he fo u r
values of im p licatio n corresponding to th e respective com
b in atio n s of th e v alues of th e argum ents are to be found
in th e tw o low er row s of th e tw o m iddle colum ns, an d th e
values of negation, in th e la s t colum n of th e table.
I n the p ro o f o f co n sisten cy w e need n o t treat the sym bols
“ 0” a n d “ 1 ” a# falsehood a n d tru th . F o r us th e y are sym bols
w hose m eanings are red u ced to th e role assigned to th em
b y th e ta b le above.
L e t us now exam ine A xiom 1. L e t us su b stitu te fo r
th e v ariables p , q, r som e of th e sym bols “ 0 ” a n d “ 1 ” ,
so t h a t equiform sym bols are su b stitu te d fo r equiform
variables, e.g., p /1 , g/0, r/0 . The re su lt is
(70 1 0 0 COOCIO.
L e t us red u ce th e expression o b tain ed on th e stre n g th
of th e ta b le above:
OCIOOOOOOIO =*= C0C10 = 000 = 1 .
T he expression u n d e r in v estig atio n has, a fte r com plete
red u ctio n , changed in to th e sym bol “ 1” . I t can easily be
ascertain ed t h a t fo r every su b stitu tio n of th e sym bols “ 0”
C O N SISTEN C Y O P A X IO M S. M A N Y -V A LU ED LOGIC 71
0 0 12 IV
0 1 1 1 1
0 10 0
2 1 1 0 2
G10N12 = G1G02 = 0 1 1 = 1 .
C O N SIST E N C Y O F A X IO M S. M A N Y -V A L U E D LO G IC 75
c 0 1 TV
0 1 1 0
1* 0 1 0
76 I I I . M ETH O D O LO G Y O P T H E S E N T E N T IA L CALCULUS
€ 0 1 nr
0 1 1 1
1* 0 1 1
0 111 1
* i l l i
1* O i l 0
c c N m = c c m = C l* = * .
I t follows fro m th e ta b le above th a t every th eo rem of
th ree -v alu ed logic also is a theorem of tw o-valued logic
(b u t, of course, n o t vice versa). T h u s three-valued logic
is a 'proper p a r t of tw o-valued logic.
T h ree-v alu ed logic can b e fo rm u lated as a n axiom atic
sy stem , as w as o u r sy stem of tw o-valued sen ten tial
calculus 2. I f th a t w ere done, th e n in p ro v in g theorem s
we w ould n o t h av e to refer to th e ta b le given above.
80 I I I . M ETH O D O LO G Y O F T H E S E N T E N T IA L CALCULUS
(a) ,
(b) &
A n u m b er of lem m as concerning th e concept of equiv
a le n t expressions will now b e given:
L . l . T h e fo llo w in g equivalences are true (they are a c
com panied b y th e n um bers of theses from w hich a given
equivalence follows):
Gay an d G ya
L . 2b. I f
(1 ) a'--'/? and P~Ynyt
th en
(2) a ~ y XTy %.
P roof. I f follows fro m assum ptions (1) t h a t th e im plica
tio n s
(3) Cap, Cfia, CPyx, C 0y2, and Cyx Cy
are theses. I n Thesis 1 w e s u b s titu te p j a , qjft, r f y x, a n d
n e x t p j a , qjp, r j y z . O n ap p ly in g th e ru le of d e ta c h m e n t
to th e expressions th u s o b tain ed a n d to expressions (3)
we s ta te t h a t th e im plications
(4) C ayx and Cayz
are theses.
W e now s u b s titu te in Thesis 146: p j y x , qly*, r IPt s l a-
O n ap p ly in g th e ru le of d e ta c h m e n t to th e expression th u s
o b tain ed an d to expressions (3) w e s ta te t h a t th e expression
Cyx Cy a a is a thesis. T his, a n d th e fa c t t h a t expressions (4)
are theses, leads to th e e q u a lity (2 ).
L. 3. I f
(1) f i~ y
then
(2 ) CanCan^ x... Ca1P ‘-^ C a n Can_ 1... Gaxy .
(3) Caxp^Ca^y.
G f j p p p — C K O lp — COp .
fJ p G p O = K C 0 0 C 1 0 = # 1 0 = 0 .
G O fJp p = C0 # 0 1 — COO = 1 .
O n s u b stitu tin g p j l w e h a v e
G lfjpp = G 1K 01 = CIO = 0 .
# 0 = 1, # 1 = 0 .
^ T J P P iP ) “ (0 ) 9 (1 ) = X-?^93(0)^9?(l) = £ p N * p { p ) .
T h u s we see t h a t th e expression J¥f]p<p(p) is equivalent
to th e expression ^pN < p{p)„ In fa c t, if i t is n o t tru e t h a t
fo r all th e su b stitu tio n s of concrete sentences for th e
v ariab le p , <p(p) proves tru e th e n fo r som e su b stitu tio n
fo r th e v aria b le p th e expression <p(p) proves false, w hich
m eans t h a t th e expression Ncp{p) proves tru e.
25. T h e se n te n tia l calculus w ith q uantifiers can be
fo rm u lated as a n axio m atic system . A n axiom atic system
of th e sen ten tial calculus w ith th e un iv ersal q u an tifier
will be o u tlin ed here, w ith only im plication an d th e
u n iv ersal q u an tifier being a d o p te d as p rim itiv e term s.
isTegation will be defined as m entioned above.
F iv e rules of inference w ill b e ad o p ted . T he first tw o
of th em will b e th e rules of su b stitu tio n a n d of d etach m en t.
T he la tte r is th e sam e as in th e quantifier-free sen ten tial
calculus. To th e form er, how ever, ce rtain reserv atio n s
m u st be added. In th e se n te n tia l calculus w ith a q u an tifier
96 IV - T H E S E N T E N T IA L CALCULUS W IT H Q U A N T IFIE R S
G flp p p
th e expression
c r ip p G q fjq q -
L e t us exam ine th e expression G fJp G p q q w ith th e
free v ariab les q. W e n o te th a t regardless of th e value
of q we h av e: GOq ~ 1 , C lq = q , K l q = q. T hus, regardless
of th e v alu e of q we have:
C r ip C P M = C K C O qC lqq = O K lq q = Gqq .
(D) N p — C p[[pp .
T1 Q qG pth
T2 G G C pqpp,
T3 C G pqG G qrG pr ,
T6 q l f j p p , rjq * CT8 p j q — T 9 ,
T9 GGp [ J p p G p q .
I n th is proof th e ru le of d e ta c h m e n t h as been applied
to th e follow ing su b stitu tio n s of T6 a n d T8:
T1 qjG q C p q , p j r * C T 1 — T 15,
T15 C rC q C p q .
T 1 5 * R J -T 1 6 ,
T16 C rfJ q C q C p q .
T16 * 35J ♦T 17,
T17 G r n v fl^ G p q -
T17 r jC p p * CT4 — T 18,
T18 [ Ip I hG qC pq.
T h e p ro ced u re used in p roving T14 a n d T18 m a y also
b e u sed in th e case of expressions co n tain in g a n a rb itra ry
n u m b e r of diversiform free variables. W h en proceding in
th e reverse o rd er to t h a t observed above, w e m a y elim inate
Q U A N T IF IE R S . R U L E S O F IN F E R E N C E . T H E S E S 101
T19 C G pC qrC N C p N q r .
T20 C C N C p N q rC p C q r .
T 4 p IF I qCp z * s o *r a i ,
T21 G fJ q C p q C p q .
T 1 9 p l lJ a C p q , q jp , t f q * CT21 — T 22,
T22 G N C Yl9.G pq.N pq.
T22 * R J -T 2 3 ,
T23 G N G fJ q C p q N p f ] q q .
T 2 0 p j f ] q C p q , q l p , r f f ] q q * CT23 — T 24,
T24 G fJ q C p q G p flq q .
8
102 IV . THJfi SJfiNTifiN TlA U C A L C U L U S W IT H Q U A N T I F I E S
T h e fu n cto rs TJ a n d l m a y he in te rp re te d b y circles,
as w as done in th e 1 8 th c e n tu ry b y th e G erm an m a th e
m a tic ia n L. E u ler. I f one circle stan d s for objects a, and
th e o th e r fo r ob jects b, th e n th e expression Uab m ay be
in te rp re te d b y th e follow ing figure:
S2 la a .
S3 C K U m bU am U ab.
S4 C K X fm b lm a la h .
A xiom S I is re a d “ all a is a ” , a n d A xiom S2 is re a d “ som e
a is a ” . These sentences a re tru e fo r a ll th e values of th e
v aria b le a w hich a re n o n -e m p ty nam es, e.g., “ all m en
a re m en ” , “ som e m en a re m en ” . Theses S I a n d S2 do
A X IO M S. D E F IN IT IO N S . R E X E S O F IN F E R E N C E 105
T h lO G C K p q r C G sp G K s q r
T h l2 G G K p q rG G rsG K q p s.
th e sentences Y a h a n d Ja b ca n n o t b o th b e tru e or b o th
b e false.
T he rela tio n o f s u b a lte m a tio n holds b etw een a sentence
of th e fo rm l a b a n d a sen ten ce of th e fo rm Uab. T he sen
ten ce TJab im plies th e sentence la b , b u t n o t conversely.
Likew ise, th e re la tio n of s u b a lte m a tio n holds b etw een th e
sentence Oab a n d th e sentence Y d b . T h e relatio n s of
su b a lte rn a tio n w ill b e p ro v e d as theses from S13 to S16,
inclusively.
T h e rela tio n o f co n tra riety holds b etw een u n iv ersal
sentences, i.e., sentences of th e form U ab a n d Y o b . E a c h
of th ese sentences im plies th e n e g a tio n of th e o th er, b u t
n o t conversely. T h u s c o n tra ry sentences c a n n o t b o th b e
tru e , b u t can b o th b e false. T he law s of c o n tra rie ty w ill
b e p ro v e d as th eses S17 a n d S18.
T h e rela tio n o f su b co n tra riety h olds b etw een p a rtic u la r
sentences, i.e., sentences of th e fo rm l a b a n d OaJ>. T h e
n eg a tio n of each of th ese sentences im plies th e o th e r
sentence, b u t n o t conversely. S u b c o n tra ry sentences can
th u s b o th b e tru e , b u t can n o t b o th b e false. T he law s
of su b c o n tra rie ty will b e p ro v ed as theses S19 an d S20.
W e re p e a t th e axiom s an d definitions of A risto tle’s
syllogistic a n d th e n p ass on to proofs.
SI U aa.
S2 Ia a .
S3 G K U m b U am U a b .
S4 C K U m b lm a la b .
D1 Oab — N U a b t
D2 Y a b = 2s l a b .
T h l pjJSfU ab * D 1 1 ♦S 5 ,
S5 C O abJTU ab.
T h l p fN U a b * D 1 H • S 6 .
S6 O N U abO ab.
110 V . A R IST O T L E ’S SY LLO G ISTIC
T h 4 p jO d b , q jU a b * 0S5 — S 7 ,
87 G U abN O ab.
Th5 p j U a b , qjOab * 0S6 — 8 8 ,
S8 G N O abU ab.
T ill p j N I a b * D 2 I *S 9 ,
89 C Y a b N Ia b .
T h l p j N I a b * D2 II *S10,
810 G N Ia b Y a b .
Th4 p / Y a b , q jla b * OS9 — S l l ,
S ll G la b N Y a b .
Th5 p j l a b , q jY a b * 0810 — 81 2 ,
S12 G N Y a b la b .
T h7 p jJ J a b , q j l a a ,
r jla b * 084 m ja — OS2 — S13 ,
S1.3 G U a b la b .
T h3 p jJ J a b , q jla b * OS13 — 814,
S14 G N Id b N U a b .
S14 * D 2 *D 1 *S 1 5 ,
815 G YabO ab.
Th3 p j Y a b , qjOab * 0S15 — 816,
S16 G N O abN Yab.
S14 * D 2 • S17,
817 C YabN U ab.
T h4 * p / Y a b , q jU a b * 0817 — S I 8 ,
SI 8 C U abN Yab.
T H E S E S O P A R IS T O T L E ’S SY L L O G IST IC 111
T l i l l p j Y m b , q j l a m , rjO a b , s jU m a
* CS33 — OS22 a jm , bja — S42,
S42 G K Y rn b U m aO ab (F ela p to n ).
T h l 2 p j U m a , q j l m b , r j l b a , s fla b
* OS4 b ja , alb — CS21 a jb , b ja — 843,
843 C K Im b U m a la b ( B is a m is).
Th9 p jU m b , qjU am , rjUab * OS3 — S44,
544 G K K Uab V a m N U m b .
S44 ajm, mfa * D1 a /^ •D1 *S45,
545 C K O m b U m aO ab {B ocardo ).
T l i l l p f Y m b , q j l a m , rjO a b , s j l m a
* CS33 — CS21 a f m t b ja — S46,
846 C K Y m b lm a O a b (F&rison).
M ill p jU b m , q fY a m , r}Y a b , s jY m a
* CS36 — 0S25 a jm , bja — 848,
548 CK U bm Ym aYab {Oalemes).
Th2 p J K U b m Y m a , q j Y a b , rjO ab
* 0848 — CS15 — S49,
849 O K U b m Y7naOab {C alem op).
T H E S E S O F A B IS T O T L E ’S S T IX O G 1ST IC 117
9
NOTES
Chapter I
Chapter II
11 Cf. [25].
“ Cf. [29].
13 T hese th eses are n o t given in th e first ed itio n of th e Elements.
Chapter XU
1 Cf. [J].
* A n ax io m atic sy stem of th ree-v alu ed logic w as b u ilt b y
M. W ajsberg. Cf. [34].
3 T he issues raised here a re an aly sed b y L ukasiew icz m ore
com prehensively in [15] a n d [24].
* P o s t’s proof is given in [27], T arsk i’s p ro o f h as n o t been
p ublished.
5 I t can easily b e seen th a t eq u iv alen t expressions a re in feren tially
e q u iv alen t, b u t n o t conversely {the concept of in fere n tial equivalence
w as defined on p . 47). F o r in stan ce, th e expressions p an d q are
in feren tially e q u iv a le n t, b u t th e y are n o t eq u iv alen t.
6 Cf. [30], p p . 4 a n d 5.
Chapter IV
Chapter V
1 A risto tle’s syllogistic is ex ten siv ely d e alt w ith b y L ukasiew icz
in [22] a n d [23].
THE LIST OF WORKS QUOTED