forked from OpenLogicProject/forallx-cam
-
Notifications
You must be signed in to change notification settings - Fork 31
/
forallx-yyc-tfl.tex
933 lines (788 loc) · 69.8 KB
/
forallx-yyc-tfl.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
%!TEX root = forallxyyc.tex
\part{Truth-functional logic}
\label{ch.TFL}
\addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par}
\chapter{First steps to symbolization}
\section{Validity in virtue of form}\label{s:ValidityInVirtueOfForm}
Consider this argument:
\begin{earg}
\item[] It is raining outside.
\item[] If it is raining outside, then Jenny is miserable.
\item[\texttherefore] Jenny is miserable.
\end{earg}
and another argument:
\begin{earg}
\item[] Jenny is an anarcho-syndicalist.
\item[] If Jenny is an anarcho-syndicalist, then Dipan is an avid reader of Tolstoy.
\item[\texttherefore] Dipan is an avid reader of Tolstoy.
\end{earg}
Both arguments are valid, and there is a straightforward sense in which we can say that they share a common structure. We might express the structure thus:
\begin{earg}
\item[] $A$
\item[] If $A$, then $C$
\item[\texttherefore] $C$
\end{earg}
This looks like an excellent argument \emph{structure}. Indeed, surely any argument with this structure will be valid. And this is not the only good argument structure. Consider an argument like:
\begin{earg}
\item[] Jenny is either happy or sad.
\item[] Jenny is not happy.
\item[\texttherefore] Jenny is sad.
\end{earg}
Again, this is a valid argument. The structure here is something like:
\begin{earg}
\item[] $A$ or $B$
\item[] not-$A$
\item[\texttherefore] $B$
\end{earg}
A superb structure! Here is another example:
\begin{earg}
\item[] It's not the case that Jim both studied hard and acted in lots of plays.
\item[] Jim studied hard.
\item[\texttherefore] Jim did not act in lots of plays.
\end{earg}
This valid argument has a structure which we might represent thus:
\begin{earg}
\item[] not-($A$ and $B$)
\item[] $A$
\item[\texttherefore] not-$B$
\end{earg}
These examples illustrate an important idea, which we might describe as \emph{validity in virtue of form}. The validity of the arguments just considered has nothing very much to do with the meanings of English expressions like `Jenny is miserable', `Dipan is an avid reader of Tolstoy', or `Jim acted in lots of plays'. If it has to do with meanings at all, it is with the meanings of phrases like `and', `or', `not,' and `if \ldots, then \ldots'.
In \crefrange{ch.TFL}{ch.NDTFL}, we are going to develop a formal language which allows us to symbolize many arguments in such a way as to show that they are valid in virtue of their form. That language will be \emph{truth-functional logic}, or TFL.
\section{Validity for special reasons}
In \cref{s:FormalValidity}, we first introduced the notion of formal
validity, and contrasted it with other kinds of validity related to
what kinds of counterexamples we consider. It bears repeating that
there are plenty of arguments that are valid, but not for reasons
relating to their form. Take an example:
\begin{earg}
\item[] Juanita is a vixen.
\item[\texttherefore] Juanita is a fox.
\end{earg}
It is impossible for the premise to be true and the conclusion false,
since `vixen' just means `female fox'. So the argument is
(conceptually) valid. The validity is not explained by the form of the
argument. To see this, we can give an invalid argument with the same
form, e.g.:
\begin{earg}
\item[] Juanita is a vixen.
\item[\texttherefore] Juanita is a cathedral.
\end{earg}
Equally, consider the argument:
\begin{earg}
\item[] The sculpture is green all over.
\item[\texttherefore] The sculpture is not red all over.
\end{earg}
Again, it seems there can be no case where the premise is true and the
conclusion false, for nothing can be both green all over and red all
over. So the argument is valid, but here is an invalid argument with
the same form:
\begin{earg}
\item[] The sculpture is green all over.
\item[\texttherefore] The sculpture is not shiny all over.
\end{earg}
This argument is invalid, since it is possible to be green all over
and shiny all over. (One might paint the sculpture with an elegant
shiny green varnish.) Plausibly, the validity of the first argument is
keyed to the way that colours (or colour-words) interact, but, whether
or not that is right, it is not simply the \emph{form} of the
argument alone that makes it valid.
The important moral can be stated as follows. \emph{At best, TFL will help us to understand arguments that are valid due to their form.}
\section{Atomic sentences}
We started isolating the form of an argument, in \cref{s:ValidityInVirtueOfForm}, by replacing \emph{subsentences} of sentences with individual letters. Thus in the first example of this section, `it is raining outside' is a subsentence of `If it is raining outside, then Jenny is miserable', and we replaced this subsentence with `$A$'.
Our artificial language, TFL, pursues this idea absolutely ruthlessly. We start with some \emph{sentence letters}. These will be the basic building blocks out of which more complex sentences are built. We will use single uppercase letters as sentence letters of TFL. There are only twenty-six letters of the alphabet, but there is no limit to the number of sentence letters that we might want to consider. By adding subscripts to letters, we obtain new sentence letters. So, here are five different sentence letters of TFL:
$$A, P, P_1, P_2, A_{234}$$
We will use sentence letters to represent, or \emph{symbolize}, certain English sentences. To do this, we provide a \define{symbolization key}, such as the following:
\begin{ekey}
\item[A] It is raining outside
\item[C] Jenny is miserable
\end{ekey}
In doing this, we are not fixing this symbolization \emph{once and for all}. We are just saying that, for the time being, we will think of the sentence letter of TFL, `$A$', as symbolizing the English sentence `It is raining outside', and the sentence letter of TFL, `$C$', as symbolizing the English sentence `Jenny is miserable'. Later, when we are dealing with different sentences or different arguments, we can provide a new symbolization key; as it might be:
\begin{ekey}
\item[A] Jenny is an anarcho-syndicalist
\item[C] Dipan is an avid reader of Tolstoy
\end{ekey}
It is important to understand that whatever structure an English sentence might have is lost when it is symbolized by a sentence letter of TFL. From the point of view of TFL, a sentence letter is just a letter. It can be used to build more complex sentences, but it cannot be taken apart.
\newglossaryentry{sentence letter}
{
name=sentence letter,
description={An letter used to represent a basic sentence in TFL}
}
\newglossaryentry{atomic sentence}
{
name=atomic sentence,
description={An expression used to represent a basic sentence; a sentence letter in TFL, or a predicate symbol followed by names in FOL}
}
\newglossaryentry{symbolization key}
{
name=symbolization key,
description={A list that shows which English sentences are represented by which \glspl{sentence letter} in TFL}
}
\chapter{Connectives}
\label{s:TFLConnectives}
In the previous chapter, we considered symbolizing fairly basic English sentences with sentence letters of TFL. This leaves us wanting to deal with the English expressions `and', `or', `not', and so forth. These are \emph{connectives}---they can be used to form new sentences out of old ones. In TFL, we will make use of logical connectives to build complex sentences from atomic components. There are five logical connectives in TFL. This table summarizes them, and they are explained throughout this section.
\newglossaryentry{connective}
{
name=connective,
description={A logical operator in TFL used to combine \glspl{sentence letter} into larger sentences}
}
\begin{table}[h]
\center
\begin{tabular}{l l l}
\textbf{symbol}&\textbf{what it is called}&\textbf{rough meaning}\\
\hline
\enot&negation&`It is not the case that$\ldots$'\\
\eand&conjunction&`Both$\ldots$\ and $\ldots$'\\
\eor&disjunction&`Either$\ldots$\ or $\ldots$'\\
\eif&conditional&`If $\ldots$\ then $\ldots$'\\
\eiff&biconditional&`$\ldots$ if and only if $\ldots$'\\
\end{tabular}
\end{table}
These are not the only connectives of English of interest. Others are, e.g., `unless', `neither \dots{} nor \dots', and `because'. We will see that the first two can be expressed by the connectives we will discuss, while the last cannot. `Because', in contrast to the others, is not \emph{truth functional}.
\section{Negation}
Consider how we might symbolize these sentences:
\begin{enumerate}
\item\label{not1} Mary is in Barcelona.
\item\label{not2} It is not the case that Mary is in Barcelona.
\item\label{not3} Mary is not in Barcelona.
\end{enumerate}
In order to symbolize \cref*{not1}, we will need a sentence letter. We might offer this symbolization key:
\begin{ekey}
\item[B] Mary is in Barcelona.
\end{ekey}
Since \cref*{not2} is obviously related to \cref*{not1}, we will not want to symbolize it with a completely different sentence letter. Roughly, \cref*{not2} means something like `It is not the case that~$B$'. In order to symbolize this, we need a symbol for negation. We will use~`\enot'. Now we can symbolize \cref*{not2} with~`$\enot B$'.
\Cref*{not3} also contains the word `not', and it is obviously equivalent to \cref*{not2}. As such, we can also symbolize it with~`$\enot B$'.
\factoidbox{
A sentence can be symbolized as $\enot\metav{A}$ if it can be paraphrased in English as `It is not the case that\ldots'.
}
It will help to offer a few more examples:
\begin{enumerate}
\item\label{not4} The widget can be replaced.
\item\label{not5} The widget is irreplaceable.
\item\label{not5b} The widget is not irreplaceable.
\end{enumerate}
Let us use the following representation key:
\begin{ekey}
\item[R] The widget is replaceable
\end{ekey}
\Cref*{not4} can now be symbolized by `$R$'. Moving on to \cref*{not5}: saying the widget is irreplaceable means that it is not the case that the widget is replaceable. So even though \cref*{not5} does not contain the word `not', we will symbolize it as follows:~`$\enot R$'.
\Cref*{not5b} can be paraphrased as `It is not the case that the widget is irreplaceable.' Which can again be paraphrased as `It is not the case that it is not the case that the widget is replaceable'. So we might symbolize this English sentence with the TFL sentence~`$\enot\enot R$'.
But some care is needed when handling negations. Consider:
\begin{enumerate}
\item\label{not6} Jane is happy.
\item\label{not7} Jane is unhappy.
\end{enumerate}
If we let the TFL-sentence `$H$' symbolize `Jane is happy', then we can symbolize \cref*{not6} as `$H$'. However, it would be a mistake to symbolize \cref*{not7} with `$\enot{H}$'. If Jane is unhappy, then she is not happy; but \cref*{not7} does not mean the same thing as `It is not the case that Jane is happy'. Jane might be neither happy nor unhappy; she might be in a state of blank indifference. In order to symbolize \cref*{not7}, then, we would need a new sentence letter of TFL.
\newglossaryentry{negation}
{
name=negation,
description={The symbol \enot, used to represent words and phrases that function like the English word ``not''}
}
\section{Conjunction}
\label{s:ConnectiveConjunction}
Consider these sentences:
\begin{enumerate}
\item\label{and1}Adam is athletic.
\item\label{and2}Barbara is athletic.
\item\label{and3}Adam is athletic, and also Barbara is athletic.
\end{enumerate}
We will need separate sentence letters of TFL to symbolize \cref*{and1,and2}; perhaps
\begin{ekey}
\item[A] Adam is athletic.
\item[B] Barbara is athletic.
\end{ekey}
\Cref*{and1} can now be symbolized as `$A$', and \cref*{and2} can be symbolized as `$B$'. \Cref*{and3} roughly says `A and B'. We need another symbol, to deal with `and'. We will use `\eand'. Thus we will symbolize it as `$(A\eand B)$'. This connective is called \define{conjunction}. We also say that `$A$' and `$B$' are the two \define{conjuncts} of the conjunction `$(A \eand B)$'.
\newglossaryentry{conjunction}
{
name=conjunction,
description={The symbol \eand, used to represent words and phrases that function like the English word ``and''; or a sentence formed using that symbol}
}
\newglossaryentry{conjunct}
{
name=conjunct,
description={A sentence joined to another by a \gls{conjunction}}
}
Notice that we make no attempt to symbolize the word `also' in \cref*{and3}. Words like `both' and `also' function to draw our attention to the fact that two things are being conjoined. Maybe they affect the emphasis of a sentence, but we will not (and cannot) symbolize such things in TFL.
Some more examples will bring out this point:
\begin{enumerate}
\item\label{and4}Barbara is athletic and energetic.
\item\label{and5}Barbara and Adam are both athletic.
\item\label{and6}Although Barbara is energetic, she is not athletic.
\item\label{and7}Adam is athletic, but Barbara is more athletic than him.
\end{enumerate}
\Cref*{and4} is obviously a conjunction. The sentence says two things (about Barbara). In English, it is permissible to refer to Barbara only once. It \emph{might} be tempting to think that we need to symbolize \cref*{and4} with something along the lines of `$B$ and energetic'. This would be a mistake. Once we symbolize part of a sentence as `$B$', any further structure is lost, as `$B$' is a sentence letter of TFL. Conversely, `energetic' is not an English sentence at all. What we are aiming for is something like `$B$ and Barbara is energetic'. So we need to add another sentence letter to the symbolization key. Let `$E$' symbolize `Barbara is energetic'. Now the entire sentence can be symbolized as `$(B\eand E)$'.
\Cref*{and5} says one thing about two different subjects. It says of both Barbara and Adam that they are athletic, even though in English we use the word `athletic' only once. The sentence can be paraphrased as `Barbara is athletic, and Adam is athletic'. We can symbolize this in TFL as `$(B\eand A)$', using the same symbolization key that we have been using.
\Cref{and6} is slightly more complicated. The word `although' sets up a contrast between the first part of the sentence and the second part. Nevertheless, the sentence tells us both that Barbara is energetic and that she is not athletic. In order to make each of the conjuncts a sentence letter, we need to replace `she' with `Barbara'. So we can paraphrase \cref*{and6} as, `\emph{Both} Barbara is energetic, \emph{and} Barbara is not athletic'. The second conjunct contains a negation, so we paraphrase further: `\emph{Both} Barbara is energetic \emph{and} \emph{it is not the case that} Barbara is athletic'. Now we can symbolize this with the TFL sentence `$(E\eand\enot B)$'. Note that we have lost all sorts of nuance in this symbolization. There is a distinct difference in tone between \cref*{and6} and `Both Barbara is energetic and it is not the case that Barbara is athletic'. TFL does not (and cannot) preserve these nuances.
\Cref{and7} raises similar issues. The word `but' suggests a contrast
or difference, but this is not something that TFL can deal with. All
we can do is paraphrase the sentence as `\emph{Both} Adam is athletic,
\emph{and} Barbara is more athletic than Adam'. (Notice that we once
again replace the pronoun `him' with `Adam'.) How should we deal with
the second conjunct? We already have the sentence letter `$A$', which
is being used to symbolize `Adam is athletic', and the sentence `$B$'
which is being used to symbolize `Barbara is athletic'; but neither of
these concerns their relative athleticity. So, to symbolize the entire
sentence, we need a new sentence letter. Let the TFL sentence `$R$'
symbolize the English sentence `Barbara is more athletic than Adam'.
Now we can symbolize \cref*{and7} by `$(A \eand R)$'.
\factoidbox{A
sentence can be symbolized as $(\metav{A}\eand\metav{B})$ if it can be
paraphrased in English as `Both\ldots, and\ldots', or as `\ldots, but
\ldots', or as `although \ldots, \ldots'.}
We noted above that the contrast suggested by `but' cannot be captured
in TFL, and that we simply ignore it. A phenomenon that cannot simply
be ignored is temporal order. E.g., consider:
\begin{enumerate}
\item\label{stoodfirst} Harry stood up and objected to the proposal.
\item\label{stoodsecond} Harry objected to the proposal and stood up.
\end{enumerate}
If Harry stood up \emph{after} he objected, \cref*{stoodsecond} is true
but \cref*{stoodfirst} is false---the use of `and' here is
\emph{asymmetric}. The symbol `\eand' of TFL, however, is always
symmetric (or ``commutative'' as logicians say). TFL cannot deal with
asymmetric `and'. We'll assume for all our examples and exercises
that `and' is symmetric.\footnote{On symmetric and asymmetric
conjunction in linguistics, see, e.g., Robin Lakoff, ``If's,
and's, and but's about conjunction'', in: C. J. Fillmore and D. T.
Langendoen (eds.), \textit{Studies in Linguistic Semantics},
Holt, Rinehart \& Winston, 1971, and Susan Schmerling, ``Asymmetric
conjunction and rules of conversation'', in: P. Cole and J. L.
Morgan (eds.), \textit{Speech Acts}, Brill, 1975, pp.~211--31.}
You might be wondering why
we put brackets around the conjunctions. The reason can be brought out
by thinking about how negation interacts with conjunction. Consider:
\begin{enumerate}
\item\label{negcon1} It's not the case that you will get both soup and salad.
\item\label{negcon2} You will not get soup but you will get salad.
\end{enumerate}
\Cref*{negcon1} can be paraphrased as `It is not the case that: both you will get soup and you will get salad'. Using this symbolization key:
\begin{ekey}
\item[\ensuremath{S_1}] You will get soup.
\item[\ensuremath{S_2}] You will get salad.
\end{ekey}
we would symbolize `both you will get soup and you will get salad' as `$(S_1 \eand S_2)$'. To symbolize \cref*{negcon1}, then, we simply negate the whole sentence, thus: `$\enot (S_1 \eand S_2)$'.
\Cref*{negcon2} is a conjunction: you \emph{will not} get soup, and you \emph{will} get salad. `You will not get soup' is symbolized by `$\enot S_1$'. So to symbolize \cref*{negcon2} itself, we offer `$(\enot S_1 \eand S_2)$'.
These English sentences are very different, and their symbolizations differ accordingly. In one of them, the entire conjunction is negated. In the other, just one conjunct is negated. Brackets help us to keep track of things like the \emph{scope} of the negation.
\section{Disjunction}
Consider these sentences:
\begin{enumerate}
\item\label{or1}Either Fatima will play videogames, or she will watch movies.
\item\label{or2}Either Fatima or Omar will play videogames.
\end{enumerate}
For these sentences we can use this symbolization key:
\begin{ekey}
\item[F] Fatima will play videogames
\item[O] Omar will play videogames
\item[M] Fatima will watch movies
\end{ekey}
However, we will again need to introduce a new symbol. \Cref*{or1} is symbolized by `$(F \eor M)$'. The connective is called \define{disjunction}. We also say that `$F$' and `$M$' are the \define{disjuncts} of the disjunction `$(F \eor M)$'.
\newglossaryentry{disjunction}
{
name=disjunction,
description={The connective \eor, used to represent words and phrases that function like the English word ``or'' in its inclusive sense; or a sentence formed by using this connective}
}
\newglossaryentry{disjunct}
{
name=disjunct,
description={A sentence joined to another by a \gls{disjunction}}
}
\Cref*{or2} is only slightly more complicated. There are two subjects, but the English sentence only gives the verb once. However, we can paraphrase \cref*{or2} as `Either Fatima will play videogames, or Omar will play videogames'. Now we can obviously symbolize it by `$(F \eor O)$' again.
\factoidbox{
A sentence can be symbolized as $(\metav{A}\eor\metav{B})$ if it can be paraphrased in English as `Either\ldots, or\ldots.'
}
Sometimes in English, the word `or' is used in a way that excludes the possibility that both disjuncts are true. This is called an \define{exclusive or}. An \emph{exclusive or} is clearly intended when it says, on a restaurant menu, `Entrees come with either soup or salad': you may have soup; you may have salad; but, if you want \emph{both} soup \emph{and} salad, then you have to pay extra.
At other times, the word `or' allows for the possibility that both disjuncts might be true. This is probably the case with \cref{or2}, above. Fatima might play videogames alone, Omar might play videogames alone, or they might both play. \Cref*{or2} merely says that \emph{at least} one of them plays videogames. This is an \define{inclusive or}. The TFL symbol `\eor' always symbolizes an \emph{inclusive or}.
It will also help to see how negation interacts with disjunction. Consider:
\begin{enumerate}
\item\label{or3} Either you will not have soup, or you will not have salad.
\item\label{or4} You will have neither soup nor salad.
\item\label{or.xor} You get either soup or salad, but not both.
\end{enumerate}
Using the same symbolization key as before, \cref*{or3} can be paraphrased in this way: `\emph{Either} it is not the case that you get soup, \emph{or} it is not the case that you get salad'. To symbolize this in TFL, we need both disjunction and negation. `It is not the case that you get soup' is symbolized by `$\enot S_1$'. `It is not the case that you get salad' is symbolized by `$\enot S_2$'. So \cref*{or3} itself is symbolized by `$(\enot S_1 \eor \enot S_2)$'.
\Cref{or4} also requires negation. It can be paraphrased as, `\emph{It is not the case that:} either you get soup or you get salad'. Since this negates the entire disjunction, we symbolize \cref*{or4} with `$\enot (S_1 \eor S_2)$'.
\Cref{or.xor} is an \emph{exclusive or}. We can break the sentence into two parts. The first part says that you get one or the other. We symbolize this as `$(S_1 \eor S_2)$'. The second part says that you do not get both. We can paraphrase this as: `It is not the case both that you get soup and that you get salad'. Using both negation and conjunction, we symbolize this with `$\enot(S_1 \eand S_2)$'. Now we just need to put the two parts together. As we saw above, `but' can usually be symbolized with `$\eand$'. So \cref*{or.xor} can be symbolized as `$((S_1 \eor S_2) \eand \enot(S_1 \eand S_2))$'.
This last example shows something important. Although the TFL symbol `\eor' always symbolizes \emph{inclusive or}, we can symbolize an \emph{exclusive or} in {TFL}. We just have to use a few other symbols as well.
\section{Conditional}
Consider these sentences:
\begin{enumerate}
\item\label{if1} If Jean is in Paris, then Jean is in France.
\item\label{if2} Jean is in France only if Jean is in Paris.
\end{enumerate}
Let's use the following symbolization key:
\begin{ekey}
\item[P] Jean is in Paris
\item[F] Jean is in France
\end{ekey}
\Cref*{if1} is roughly of this form: `if $P$, then $F$'. We will use
the symbol `\eif' to symbolize this `if\ldots, then\ldots' structure.
So we symbolize \cref*{if1} by `$(P\eif F)$'. The connective is called
the \define{conditional}. Here, `$P$' is called the
\define{antecedent} of the conditional `$(P \eif F)$', and `$F$' is
called the \define{consequent}.
\newglossaryentry{conditional}
{
name=conditional,
description={The symbol \eif, used to represent words and phrases that function like the English phrase ``if \dots{} then \dots''; a sentence formed by using this symbol}
}
\newglossaryentry{antecedent}
{
name=antecedent,
description={The sentence on the left side of a \gls{conditional}}
}
\newglossaryentry{consequent}
{
name=consequent,
description={The sentence on the right side of a \gls{conditional}}
}
\Cref{if2} is also a conditional. Since the word `if' appears in the second half of the sentence, it might be tempting to symbolize this in the same way as \cref*{if1}. That would be a mistake. Your knowledge of geography tells you that \cref*{if1} is unproblematically true: there is no way for Jean to be in Paris that doesn't involve Jean being in France. But \cref*{if2} is not so straightforward: were Jean in Dieppe, Lyon, or Toulouse, Jean would be in France without being in Paris, thereby rendering \cref*{if2} false. Since geography alone dictates the truth of \cref*{if1}, whereas travel plans (say) are needed to know the truth of \cref*{if2}, they must mean different things.
In fact, \cref*{if2} can be paraphrased as `If Jean is in France, then Jean is in Paris'. So we can symbolize it by `$(F \eif P)$'.
\factoidbox{
A sentence can be symbolized as $(\metav{A} \eif \metav{B})$ if it can be paraphrased in English as `If A, then B' or `A only if B'.
}
\noindent In fact, the conditional can represent many English expressions. Consider: \begin{enumerate}
\item\label{ifnec1} For Jean to be in Paris, it is necessary that Jean be in France.
\item\label{ifnec2} It is a necessary condition on Jean's being in Paris that she be in France.
\item\label{ifsuf1} For Jean to be in France, it is sufficient that Jean be in Paris.
\item\label{ifsuf2} It is a sufficient condition on Jean's being in France that she be in Paris.
\end{enumerate}
If we think about it, all four of these sentences mean the same as `If Jean is in Paris, then Jean is in France'. So they can all be symbolized by `$(P \eif F)$'.
It is important to bear in mind that the connective `\eif' tells us only that, if the antecedent is true, then the consequent is true. It says nothing about a \emph{causal} connection between two events (for example). In fact, we lose a huge amount when we use `$\eif$' to symbolize English conditionals. We will return to this in \cref{s:IndicativeSubjunctive} and~\cref{s:ParadoxesOfMaterialConditional}.
\section{Biconditional}
Consider these sentences:
\begin{enumerate}
\item\label{iff1} Laika is a dog only if she is a mammal.
\item\label{iff2} Laika is a dog if she is a mammal.
\item\label{iff3} Laika is a dog if and only if she is a mammal.
\end{enumerate}
We will use the following symbolization key:
\begin{ekey}
\item[D] Laika is a dog
\item[M] Laika is a mammal
\end{ekey}
For reasons discussed above, \cref*{iff1} can be symbolized by `$(D \eif M)$'.
\Cref*{iff3} says something stronger than either \cref*{iff1} or \cref*{iff2}. It can be paraphrased as `Laika is a dog if Laika is a mammal, and Laika is a dog only if Laika is a mammal'. This is just the conjunction of \cref*{iff1,iff2}. So we can symbolize it as `$(D \eif M) \eand (M \eif D)$'. We call this a \define{biconditional}, because it amounts to stating both directions of the conditional.
\newglossaryentry{biconditional}
{
name=biconditional,
description={The symbol \eiff, used to represent words and phrases that function like the English phrase ``if and only if''; or a sentence formed using this connective}
}
We could treat every biconditional this way. So, just as we do not need a new TFL symbol to deal with \emph{exclusive or}, we do not really need a new TFL symbol to deal with biconditionals. Because the biconditional occurs so often, however, we will use the symbol `\eiff' for it. We can then symbolize \cref*{iff3} with the TFL sentence `$(D \eiff M)$'.
The expression `if and only if' occurs a lot especially in philosophy, mathematics, and logic. For brevity, we can abbreviate it with the snappier word `iff'. We will follow this practice. So `if' with only \emph{one} `f' is the English conditional. But `iff' with \emph{two} `f's is the English biconditional. Armed with this we can say:
\factoidbox{
A sentence can be symbolized as $(\metav{A} \eiff \metav{B})$ if it can be paraphrased in English as `A \ifeff{} B'; that is, as `A if and only if B'.
}
A word of caution. Ordinary speakers of English often use `if \ldots, then\ldots' when they really mean to use something more like `\ldots if and only if \ldots'. Perhaps your parents told you, when you were a child: `if you don't eat your greens, you won't get any dessert'. Suppose you ate your greens, but that your parents refused to give you any dessert, on the grounds that they were only committed to the \emph{conditional} (roughly `if you get dessert, then you will have eaten your greens'), rather than the biconditional (roughly, `you get dessert \ifeff{} you eat your greens'). Well, a tantrum would rightly ensue. So, be aware of this when interpreting people; but in your own writing, make sure you use the biconditional \ifeff{} you mean to.
\section{Unless}
We have now introduced all of the connectives of TFL. We can use them together to symbolize many kinds of sentences. An especially difficult case is when we use the English-language connective `unless':
\begin{enumerate}
\item\label{unless1} Unless you wear a jacket, you will catch a cold.
\item\label{unless2} You will catch a cold unless you wear a jacket.
\end{enumerate}
These two sentences are clearly equivalent. To symbolize them, we will use the symbolization key:
\begin{ekey}
\item[J] You will wear a jacket
\item[D] You will catch a cold
\end{ekey}
Both sentences mean that if you do not wear a jacket, then you will catch a cold. With this in mind, we might symbolize them as `$(\enot J \eif D)$'.
Equally, both sentences mean that if you do not catch a cold, then you must have worn a jacket. With this in mind, we might symbolize them as `$(\enot D \eif J)$'.
Equally, both sentences mean that either you will wear a jacket or you will catch a cold. With this in mind, we might symbolize them as `$(J \eor D)$'.
All three are correct symbolizations. Indeed, in \cref{s:SemanticConcepts} we will see that all three symbolizations are equivalent in TFL.
% TODO: it might be useful to reference exercise 11.F.3 explicitly
% here, since the point is not discussed in the main text
\factoidbox{
If a sentence can be paraphrased as `Unless $A$, $B$,' then it can be symbolized as `$(\metav{A}\eor\metav{B})$'.
}
Again, though, there is a little complication. `Unless' can be symbolized as a conditional; but as we said above, people often use the conditional (on its own) when they mean to use the biconditional. Equally, `unless' can be symbolized as a disjunction; but there are two kinds of disjunction (exclusive and inclusive). So it will not surprise you to discover that ordinary speakers of English often use `unless' to mean something more like the biconditional, or like exclusive disjunction. Suppose someone says: `I will go running unless it rains'. They probably mean something like `I will go running \ifeff{} it does not rain' (i.e., the biconditional), or `either I will go running or it will rain, but not both' (i.e., exclusive disjunction). Again: be aware of this when interpreting what other people have said, but be precise in your writing.
\practiceproblems
\solutions
\problempart Using the symbolization key given, symbolize each English sentence in TFL.\label{pr.monkeysuits}
\begin{ekey}
\item[M] Those creatures are men in suits
\item[C] Those creatures are chimpanzees
\item[G] Those creatures are gorillas
\end{ekey}
\begin{compactlist}
\item Those creatures are not men in suits.
\item Those creatures are men in suits, or they are not.
\item Those creatures are either gorillas or chimpanzees.
\item Those creatures are neither gorillas nor chimpanzees.
\item If those creatures are chimpanzees, then they are neither gorillas nor men in suits.
\item Unless those creatures are men in suits, they are either chimpanzees or they are gorillas.
\end{compactlist}
\problempart Using the symbolization key given, symbolize each English sentence in TFL.
\begin{ekey}
\item[A] Mister Ace was murdered
\item[B] The butler did it
\item[C] The cook did it
\item[D] The Duchess is lying
\item[E] Mister Edge was murdered
\item[F] The murder weapon was a frying pan
\end{ekey}
\begin{compactlist}
\item Either Mister Ace or Mister Edge was murdered.
\item If Mister Ace was murdered, then the cook did it.
\item If Mister Edge was murdered, then the cook did not do it.
\item Either the butler did it, or the Duchess is lying.
\item The cook did it only if the Duchess is lying.
\item If the murder weapon was a frying pan, then the culprit must have been the cook.
\item If the murder weapon was not a frying pan, then the culprit was either the cook or the butler.
\item Mister Ace was murdered if and only if Mister Edge was not murdered.
\item The Duchess is lying, unless it was Mister Edge who was murdered.
\item If Mister Ace was murdered, he was done in with a frying pan.
\item Since the cook did it, the butler did not.
\item Of course the Duchess is lying!
\end{compactlist}
\solutions
\problempart Using the symbolization key given, symbolize each English sentence in TFL.\label{pr.avacareer}
\begin{ekey}
\item[\ensuremath{E_1}] Ava is an electrician
\item[\ensuremath{E_2}] Harrison is an electrician
\item[\ensuremath{F_1}] Ava is a firefighter
\item[\ensuremath{F_2}] Harrison is a firefighter
\item[\ensuremath{S_1}] Ava is satisfied with her career
\item[\ensuremath{S_2}] Harrison is satisfied with his career
\end{ekey}
\begin{compactlist}
\item Ava and Harrison are both electricians.
\item If Ava is a firefighter, then she is satisfied with her career.
\item Ava is a firefighter, unless she is an electrician.
\item Harrison is an unsatisfied electrician.
\item Neither Ava nor Harrison is an electrician.
\item Both Ava and Harrison are electricians, but neither of them find it satisfying.
\item Harrison is satisfied only if he is a firefighter.
\item If Ava is not an electrician, then neither is Harrison, but if she is, then he is too.
\item Ava is satisfied with her career if and only if Harrison is not satisfied with his.
\item If Harrison is both an electrician and a firefighter, then he must be satisfied with his work.
\item It cannot be that Harrison is both an electrician and a firefighter.
\item Harrison and Ava are both firefighters if and only if neither of them is an electrician.
\end{compactlist}
\problempart
Using the symbolization key given, symbolize each English-language sentence in TFL.
\label{pr.jazzinstruments}
\begin{ekey}
\item[\ensuremath{J_1}] John Coltrane played tenor sax
\item[\ensuremath{J_2}] John Coltrane played soprano sax
\item[\ensuremath{J_3}] John Coltrane played tuba
\item[\ensuremath{M_1}] Miles Davis played trumpet
\item[\ensuremath{M_2}] Miles Davis played tuba
\end{ekey}
\begin{compactlist}
\item John Coltrane played tenor and soprano sax. %{\color{red} $J_1 \eand J_2$} \vspace{1ex}
\item Neither Miles Davis nor John Coltrane played tuba. %{\color{red} $\enot(M_2 \eor J_3)$ or $\enot M_2 \eand \enot J_3$} \vspace{1ex}
\item John Coltrane did not play both tenor sax and tuba. %{\color{red} $\enot(J_1 \eand J_3)$ or $\enot J_1 \eor \enotJ_3$} \vspace{1ex}
\item John Coltrane did not play tenor sax unless he also played soprano sax. %{\color{red} $\enot J_1 \eor J_2$} \vspace{1ex}
\item John Coltrane did not play tuba, but Miles Davis did. %{\color{red} $\enotJ_3 \eand M_2$} \vspace{1ex}
\item Miles Davis played trumpet only if he also played tuba. %{\color{red} $M_1 \eiff M_2$} \vspace{1ex}
\item If Miles Davis played trumpet, then John Coltrane played at least one of these three instruments: tenor sax, soprano sax, or tuba. %{\color{red} $M_1 \eif (J_1 \eor (J_2 \eor J_3))&} \vspace{1ex}
\item If John Coltrane played tuba then Miles Davis played neither trumpet nor tuba. %{\color{red} $J_3 \eif \enot(M_1 \eor M_2)$ or $J_3 \eif (\enot M_1 \eand \enot M_2)$ } \vspace{1ex}
\item Miles Davis and John Coltrane both played tuba if and only if Coltrane did not play tenor sax and Miles Davis did not play trumpet. %{\color{red} $(J_3 \eand M_2) \eiff \enotJ_1 & \enot M_1)$ or $(J_3 \eand M_2) \eiff \enot (J_1 \eor M_1)$} \vspace{1ex}
\end{compactlist}
\solutions
\problempart
\label{pr.spies}
Give a symbolization key and symbolize the following English sentences in TFL.
\begin{compactlist}
\item Alice and Bob are both spies.
\item If either Alice or Bob is a spy, then the code has been broken.
\item If neither Alice nor Bob is a spy, then the code remains unbroken.
\item The German embassy will be in an uproar, unless someone has broken the code.
\item Either the code has been broken or it has not, but the German embassy will be in an uproar regardless.
\item Either Alice or Bob is a spy, but not both.
\end{compactlist}
\solutions
\problempart Give a symbolization key and symbolize the following English sentences in TFL.
\begin{compactlist}
\item If there is food to be found in the pridelands, then Rafiki will talk about squashed bananas.
\item Rafiki will talk about squashed bananas unless Simba is alive.
\item Rafiki will either talk about squashed bananas or he won't, but there is food to be found in the pridelands regardless.
\item Scar will remain as king if and only if there is food to be found in the pridelands.
\item If Simba is alive, then Scar will not remain as king.
\end{compactlist}
\problempart
For each argument, write a symbolization key and symbolize all of the sentences of the argument in TFL.
\begin{compactlist}
\item If Dorothy plays the piano in the morning, then Roger wakes up cranky. Dorothy plays piano in the morning unless she is distracted. So if Roger does not wake up cranky, then Dorothy must be distracted.
\item It will either rain or snow on Tuesday. If it rains, Neville will be sad. If it snows, Neville will be cold. Therefore, Neville will either be sad or cold on Tuesday.
\item If Zoog remembered to do his chores, then things are clean but not neat. If he forgot, then things are neat but not clean. Therefore, things are either neat or clean; but not both.
\end{compactlist}
\problempart
For each argument, write a symbolization key and symbolize the argument as well as possible in TFL. The part of the passage in italics is there to provide context for the argument, and doesn't need to be symbolized.
\begin{compactlist}
\item It is going to rain soon. I know because my leg is hurting, and my leg hurts if it's going to rain.
\item \emph{Spider-man tries to figure out the bad guy's plan.} If Doctor Octopus gets the uranium, he will blackmail the city. I am certain of this because if Doctor Octopus gets the uranium, he can make a dirty bomb, and if he can make a dirty bomb, he will blackmail the city.
\item \emph{A westerner tries to predict the policies of the Chinese government.} If the Chinese government cannot solve the water shortages in Beijing, they will have to move the capital. They don't want to move the capital. Therefore they must solve the water shortage. But the only way to solve the water shortage is to divert almost all the water from the Yangzi river northward. Therefore the Chinese government will go with the project to divert water from the south to the north.
\end{compactlist}
\problempart
We symbolized an \emph{exclusive or} using `$\eor$', `$\eand$', and `$\enot$'. How could you symbolize an \emph{exclusive or} using only two connectives? Is there any way to symbolize an \emph{exclusive or} using only one connective?
\chapter{Sentences of TFL}\label{s:TFLSentences}
The sentence `either apples are red, or berries are blue' is a sentence of English, and the sentence `$(A\eor B)$' is a sentence of TFL. Although we can identify sentences of English when we encounter them, we do not have a formal definition of `sentence of English'. But in this chapter, we will \emph{define} exactly what will count as a sentence of TFL. This is one respect in which a formal language like TFL is more precise than a natural language like English.
\section{Expressions}
We have seen that there are three kinds of symbols in TFL:
\begin{center}
\begin{tabular}{l l}
Atomic sentences & $A,B,C,\ldots,Z$\\
with subscripts, as needed & $A_1, B_1,Z_1,A_2,A_{25},J_{375},\ldots$\\
\\
Connectives & $\enot,\eand,\eor,\eif,\eiff$\\
\\
Brackets &( , )\\
\end{tabular}
\end{center}
Define an \define{expression of TFL} as any string of symbols of TFL. So: write down any sequence of symbols of TFL, in any order, and you have an expression of TFL.
\section{Sentences}\label{s:Sentences}
Given what we just said, `$(A \eand B)$' is an expression of TFL, and so is `$\lnot)(\eor()\eand(\enot\enot())((B$'. But the former is a \emph{sentence}, and the latter is \emph{gibberish}. We want some rules to tell us which TFL expressions are sentences.
Obviously, individual sentence letters like `$A$' and `$G_{13}$' should count as sentences. (We'll also call them \define{atomic} sentences.) We can form further sentences out of these by using the various connectives. Using negation, we can get `$\enot A$' and `$\enot G_{13}$'. Using conjunction, we can get `$(A \eand G_{13})$', `$(G_{13} \eand A)$', `$(A \eand A)$', and `$(G_{13} \eand G_{13})$'. We could also apply negation repeatedly to get sentences like `$\enot \enot A$' or apply negation along with conjunction to get sentences like `$\enot(A \eand G_{13})$' and `$\enot(G_{13} \eand \enot G_{13})$'. The possible combinations are endless, even starting with just these two sentence letters, and there are infinitely many sentence letters. So there is no point in trying to list all the sentences one by one.
Instead, we will describe the process by which sentences can be \emph{constructed}. Consider negation: Given any sentence \metav{A} of TFL, $\enot\metav{A}$ is a sentence of TFL. (Why the funny fonts? We return to this in \cref{s:Metavariables}.)
We can say similar things for each of the other connectives. For instance, if \metav{A} and \metav{B} are sentences of TFL, then $(\metav{A}\eand\metav{B})$ is a sentence of TFL. Providing clauses like this for all of the connectives, we arrive at the following formal definition for a \define{sentence of TFL}:
\factoidbox{\label{TFLsentences}
\begin{numberlist}[labelindent=0pt,leftmargin=*]
\item Every sentence letter is a sentence.
\item If \metav{A} is a sentence, then $\enot\metav{A}$ is a sentence.
\item If \metav{A} and \metav{B} are sentences, then $(\metav{A}\eand\metav{B})$ is a sentence.
\item If \metav{A} and \metav{B} are sentences, then $(\metav{A}\eor\metav{B})$ is a sentence.
\item If \metav{A} and \metav{B} are sentences, then $(\metav{A}\eif\metav{B})$ is a sentence.
\item If \metav{A} and \metav{B} are sentences, then $(\metav{A}\eiff\metav{B})$ is a sentence.
\item Nothing else is a sentence.
\end{numberlist}
}
\newglossaryentry{sentence of TFL}
{
name=sentence (of TFL),
description={A string of symbols in TFL that can be built up according to the inductive rules given \ifHTMLtarget in \cref{s:Sentences}\else on p.~\pageref{TFLsentences}\fi}
}
Definitions like this are called \define{inductive}. Inductive definitions begin with some specifiable base elements, and then present ways to generate indefinitely many more elements by compounding together previously established ones. To give you a better idea of what an inductive definition is, we can give an inductive definition of the idea of \emph{an ancestor of mine}. We specify a base clause:
\begin{itemize}
\item My parents are ancestors of mine.
\end{itemize}
and then offer further clauses like:
\begin{itemize}
\item If $x$ is an ancestor of mine, then $x$'s parents are ancestors of mine.
\end{itemize}
Finally, we stipulate that \emph{only} what the base and inductive
clauses say are ancestors of mine will count as such.
\begin{itemize}
\item Nothing else is an ancestor of mine.
\end{itemize}
Using this definition, we can easily check to see whether someone is my ancestor: just check whether she is the parent of the parent of\ldots one of my parents. And the same is true for our inductive definition of sentences of TFL. Just as the inductive definition allows complex sentences to be built up from simpler parts, the definition allows us to decompose sentences into their simpler parts. Once we get down to sentence letters, then we know we are ok.
Let's consider some examples.
Suppose we want to know whether or not `$\enot \enot \enot D$' is a sentence of TFL. Looking at the second clause of the definition, we know that `$\enot \enot \enot D$' is a sentence \emph{if} `$\enot \enot D$' is a sentence. So now we need to ask whether or not `$\enot \enot D$' is a sentence. Again looking at the second clause of the definition, `$\enot \enot D$' is a sentence \emph{if} `$\enot D$' is. So, `$\enot D$' is a sentence \emph{if} `$D$' is a sentence. Now `$D$' is a sentence letter of TFL, so we know that `$D$' is a sentence by the first clause of the definition. So for a compound sentence like `$\enot \enot \enot D$', we must apply the definition repeatedly. Eventually we arrive at the sentence letters from which the sentence is built up.
Next, consider the example `$\enot (P \eand \enot (\enot Q \eor R))$'. Looking at the second clause of the definition, this is a sentence if `$(P \eand \enot (\enot Q \eor R))$' is, and this is a sentence if \emph{both} `$P$' \emph{and} `$\enot (\enot Q \eor R)$' are sentences. The former is a sentence letter, and the latter is a sentence if `$(\enot Q \eor R)$' is a sentence. It is. Looking at the fourth clause of the definition, this is a sentence if both `$\enot Q$' and `$R$' are sentences, and both are!
Ultimately, every sentence is constructed nicely out of sentence letters. When we are dealing with a \emph{sentence} other than a sentence letter, we can see that there must be some sentential connective that was introduced \emph{last}, when constructing the sentence. We call that connective the \define{main logical operator} of the sentence. In the case of `$\enot\enot\enot D$', the main logical operator is the very first `$\enot$' sign. In the case of `$(P \eand \enot (\enot Q \eor R))$', the main logical operator is `$\eand$'. In the case of `$((\enot E \eor F) \eif \enot\enot G)$', the main logical operator is `$\eif$'.
As a general rule, you can find the main logical operator for a sentence by using the following method:
\begin{itemize}
\item If the first symbol in the sentence is `$\enot$', then that is the main logical operator
\item Otherwise, start counting the brackets. For each open-bracket, i.e., `(', add $1$; for each closing-bracket, i.e., `$)$', subtract $1$. When your count is at exactly $1$, the first operator you hit (\emph{apart} from a `$\enot$') is the main logical operator.
\end{itemize}
(Note: if you do use this method, then make sure to include \emph{all} the brackets in the sentence, rather than omitting some as per the conventions of \cref{TFLconventions}!)
The inductive structure of sentences in TFL will be important when we consider the circumstances under which a particular sentence would be true or false. The sentence `$\enot \enot \enot D$' is true if and only if the sentence `$\enot \enot D$' is false, and so on through the structure of the sentence, until we arrive at the atomic components. We will return to this point in \cref{ch.TruthTables}.
The inductive structure of sentences in TFL also allows us to give a formal definition of the \emph{scope} of a negation (mentioned in \cref{s:ConnectiveConjunction}). The scope of a `$\enot$' is the subsentence for which `$\enot$' is the main logical operator. Consider a sentence like:
$$(P \eand (\enot (R \eand B) \eiff Q))$$
which was constructed by conjoining `$P$' with `$ (\enot (R \eand B) \eiff Q)$'. This last sentence was constructed by placing a biconditional between `$\enot (R \eand B)$' and `$Q$'. The former of these sentences---a subsentence of our original sentence---is a sentence for which `$\enot$' is the main logical operator. So the scope of the negation is just `$\enot(R \eand B)$'. More generally:
\factoidbox{The \define{scope} of a connective (in a sentence) is the subsentence for which that connective is the main logical operator.}
\section{Bracketing conventions}
\label{TFLconventions}
Strictly speaking, the brackets in `$(Q \eand R)$' are an indispensable part of the sentence. Part of this is because we might use `$(Q \eand R)$' as a subsentence in a more complicated sentence. For example, we might want to negate `$(Q \eand R)$', obtaining `$\enot(Q \eand R)$'. If we just had `$Q \eand R$' without the brackets and put a negation in front of it, we would have `$\enot Q \eand R$'. It is most natural to read this as meaning the same thing as `$(\enot Q \eand R)$', but as we saw in \cref{s:ConnectiveConjunction}, this is very different from `$\enot(Q\eand R)$'.
Strictly speaking, then, `$Q \eand R$' is \emph{not} a sentence. It is a mere \emph{expression}.
When working with TFL, however, it will make our lives easier if we are sometimes a little less than strict. So, here are some convenient conventions.
First, we allow ourselves to omit the \emph{outermost} brackets of a sentence. Thus we allow ourselves to write `$Q \eand R$' instead of the sentence `$(Q \eand R)$'. However, we must remember to put the brackets back in, when we want to embed the sentence into a more complicated sentence!
Second, it can be a bit painful to stare at long sentences with many nested pairs of brackets. To make things a bit easier on the eyes, we will allow ourselves to use square brackets, `[' and~`]', instead of rounded ones. So there is no logical difference between `$(P\eor Q)$' and `$[P\eor Q]$', for example.
Combining these two conventions, we can rewrite the unwieldy sentence
$$(((H \eif I) \eor (I \eif H)) \eand (J \eor K))$$
rather more clearly as follows:
$$\bigl[(H \eif I) \eor (I \eif H)\bigr] \eand (J \eor K)$$
The scope of each connective is now much easier to pick out.
\practiceproblems
\solutions
\problempart
\label{pr.wiffTFL}
For each of the following: (a) Is it a sentence of TFL, strictly speaking? (b) Is it a sentence of TFL, allowing for our relaxed bracketing conventions?
\begin{compactlist}
\item $(A)$
\item $J_{374} \eor \enot J_{374}$
\item $\enot \enot \enot \enot F$
\item $\enot \eand S$
\item $(G \eand \enot G)$
\item $(A \eif (A \eand \enot F)) \eor (D \eiff E)$
\item $[(Z \eiff S) \eif W] \eand [J \eor X]$
\item $(F \eiff \enot D \eif J) \eor (C \eand D)$
\end{compactlist}
\problempart
Are there any sentences of TFL that contain no sentence letters? Explain your answer.\\
\problempart
What is the scope of each connective in the sentence
$$\bigl[(H \eif I) \eor (I \eif H)\bigr] \eand (J \eor K)$$
\chapter{Ambiguity}\label{s:AmbiguityTFL}
In English, sentences can be \define{ambiguous}, i.e., they can have more than one meaning. There are many sources of ambiguity. One is \emph{lexical ambiguity:} a sentence can contain words which have more than one meaning. For instance, `bank' can mean the bank of a river, or a financial institution. So I might say that `I went to the bank' when I took a stroll along the river, or when I went to deposit a check. Depending on the situation, a different meaning of `bank' is intended, and so the sentence, when uttered in these different contexts, expresses different meanings.
A different kind of ambiguity is \emph{structural ambiguity}. This arises when a sentence can be interpreted in different ways, and depending on the interpretation, a different meaning is selected. A famous example due to Noam Chomsky is the following:
\begin{enumerate}
\item[] Flying planes can be dangerous.
\end{enumerate}
There is one reading in which `flying' is used as an adjective which modifies `planes'. In this sense, what's claimed to be dangerous are airplanes which are in the process of flying. In another reading, `flying' is a gerund: what's claimed to be dangerous is the act of flying a plane. In the first case, you might use the sentence to warn someone who's about to launch a hot air baloon. In the second case, you might use it to counsel someone against becoming a pilot.
When the sentence is uttered, usually only one meaning is intended. Which of the possible meanings an utterance of a sentence intends is determined by context, or sometimes by how it is uttered (which parts of the sentence are stressed, for instance). Often one interpretation is much more likely to be intended, and in that case it will even be difficult to ``see'' the unintended reading. This is often the reason why a joke works, as in this example from Groucho Marx:
\begin{compactlist}
\item[] One morning I shot an elephant in my pajamas.
\item[] How he got in my pajamas, I don't know.
\end{compactlist}
Ambiguity is related to, but not the same as, vagueness. An adjective, for instance `rich' or `tall,' is \define{vague} when it is not always possible to determine if it applies or not. For instance, a person who's 6~ft 4~in (1.9~m) tall is pretty clearly tall, but a building that size is tiny. Here, context has a role to play in determining what the clear cases and clear non-cases are (`tall for a person,' `tall for a basketball player,' `tall for a building'). Even when the context is clear, however, there will still be cases that fall in a middle range.
In TFL, we generally aim to avoid ambiguity. We will try to give our symbolization keys in such a way that they do not use ambiguous words or disambiguate them if a word has different meanings. So, e.g., your symbolization key will need two different sentence letters for `Rebecca went to the (money) bank' and `Rebecca went to the (river) bank.' Vagueness is harder to avoid. Since we have stipulated that every case (and later, every valuation) must make every basic sentence (or sentence letter) either true or false and nothing in between, we cannot accommodate borderline cases in TFL.
It is an important feature of sentences of TFL that they \emph{cannot} be structurally ambiguous. Every sentence of TFL can be read in one, and only one, way. This feature of TFL is also a strength. If an English sentence is ambiguous, TFL can help us make clear what the different meanings are. Although we are pretty good at dealing with ambiguity in everyday conversation, avoiding it can sometimes be terribly important. Logic can then be usefully applied: it helps philosophers express their thoughts clearly, mathematicians to state their theorems rigorously, and software engineers to specify loop conditions, database queries, or verification criteria unambiguously.
Stating things without ambiguity is of crucial importance in the law as well. Here, ambiguity can, without exaggeration, be a matter of life and death. Here is a famous example of where a death sentence hinged on the interpretation of an ambiguity in the law. Roger Casement (1864--1916) was a British diplomat who was famous in his time for publicizing human-rights violations in the Congo and Peru (for which he was knighted in 1911). He was also an Irish nationalist. In 1914--16, Casement secretly travelled to Germany, with which Britain was at war at the time, and tried to recruit Irish prisoners of war to fight against Britain and for Irish independence. Upon his return to Ireland, he was captured by the British and tried for high treason.
The law under which Casement was tried is the \textit{Treason Act of 1351}. That act specifies what counts as treason, and so the prosecution had to establish at trial that Casement's actions met the criteria set forth in the Treason Act. The relevant passage stipulated that someone is guilty of treason
\begin{quote}
if a man is adherent to the King's enemies in his
realm, giving to them aid and comfort in the realm, or elsewhere.
\end{quote}
Casement's defense hinged on the last comma in this sentence, which is not present in the original French text of the law from 1351. It was not under dispute that Casement had been `adherent to the King's enemies', but the question was whether being adherent to the King's enemies constituted treason only when it was done in the realm, or also when it was done abroad. The defense argued that the law was ambiguous. The claimed ambiguity hinged on whether `or elsewhere' attaches only to `giving aid and comfort to the King's enemies' (the natural reading without the comma), or to both `being adherent to the King's enemies' and `giving aid and comfort to the King's enemies' (the natural reading with the comma). Although the former interpretation might seem far fetched, the argument in its favor was actually not unpersuasive. Nevertheless, the court decided that the passage should be read with the comma, so Casement's antics in Germany were treasonous, and he was sentenced to death. Casement himself wrote that he was `hanged by a comma'.
We can use TFL to symbolize both readings of the passage, and thus to provide a disambiguiation. First, we need a symbolization key:
\begin{ekey}
\item[A] Casement was adherent to the King's enemies in the realm
\item[G] Casement gave aid and comfort to the King's enemies in the realm
\item[B] Casement was adherent to the King's enemies abroad
\item[H] Casement gave aid and comfort to the King's enemies abroad
\end{ekey}
The interpretation according to which Casement's behavior was not treasonous is this:
\[A \lor (G \lor H)\]
The interpretation which got him executed, on the other hand, can be symbolized by:
\[(A \lor B) \lor (G \lor H)\]
Remember that in the case we're dealing with Casement, was adherent to the King's enemies abroad ($B$ is true), but not in the realm, and he did not give the King's enemies aid or comfort in or outside the realm ($A$, $G$, and~$H$ are false).
One common source of structural ambiguity in English arises from its lack of parentheses. For instance, if I say `I like movies that are not long and boring', you will most likely think that what I dislike are movies that are long and boring. A less likely, but possible, interpretation is that I like movies that are both (a) not long and (b) boring. The first reading is more likely because who likes boring movies? But what about `I like dishes that are not sweet and flavorful'? Here, the more likely interpretation is that I like savory, flavorful dishes. (Of course, I could have said that better, e.g., `I like dishes that are not sweet, yet flavorful'.) Similar ambiguities result from the interaction of `and' with `or'. For instance, suppose I ask you to send me a picture of a small and dangerous or stealthy animal. Would a leopard count? It's stealthy, but not small. So it depends whether I'm looking for small animals that are dangerous or stealthy (leopard doesn't count), or whether I'm after either a small, dangerous animal or a stealthy animal (of any size).
These kinds of ambiguities are called \emph{scope ambiguities}, since they depend on whether or not a connective is in the scope of another. For instance, the sentence, `\textit{Avengers: Endgame} is not long and boring' is ambiguous between:
\begin{enumerate}
\item\label{scamb1} \textit{Avengers: Endgame} is not: both long and boring.
\item\label{scamb2} \textit{Avengers: Endgame} is both: not long and boring.
\end{enumerate}
\Cref*{scamb2} is certainly false, since \textit{Avengers: Endgame} is over three hours long. Whether you think~\cref*{scamb1} is true depends on if you think it is boring or not. We can use the symbolization key:
\begin{ekey}
\item[B] \textit{Avengers: Endgame} is boring
\item[L] \textit{Avengers: Endgame} is long
\end{ekey}
\Cref*{scamb1} can now be symbolized as `$\enot(L \eand B)$', whereas \cref*{scamb2} would be `$\enot L \eand B$'. In the first case, the `\eand' is in the scope of `\enot', in the second case `\enot' is in the scope of `\eand'.
The sentence `Tai Lung is small and dangerous or stealthy' is ambiguous between:
\begin{enumerate}
\item\label{scamb3} Tai Lung is either both small and dangerous or stealthy.
\item\label{scamb4} Tai Lung is both small and either dangerous or stealthy.
\end{enumerate}
We can use the following symbolization key:
\begin{ekey}
\item[D] Tai Lung is dangerous
\item[S] Tai Lung is small
\item[T] Tai Lung is stealthy
\end{ekey}
The symbolization of \cref*{scamb3} is `$(S \eand D) \eor T$' and that of \cref*{scamb4} is `$S \eand (D \eor T)$'. In the first, `\eand' is in the scope of `\eor', and in the second `\eor' is in the scope of `\eand'.
\practiceproblems
\solutions
\problempart The following sentences are ambiguous. Give symbolization keys for each and symbolize the different readings.
\begin{compactlist}
\item Haskell is a birder and enjoys watching cranes.
\item The zoo has lions or tigers and bears.
\item The flower is not red or fragrant.
\end{compactlist}
\chapter{Use and mention}\label{s:UseMention}
In this Part, we have talked a lot \emph{about} sentences. So we should pause to explain an important, and very general, point.
\section{Quotation conventions}
Consider these two sentences:
\begin{itemize}
\item Justin Trudeau is the Prime Minister.
\item The expression `Justin Trudeau' is composed of two uppercase letters and eleven lowercase letters
\end{itemize}
When we want to talk about the Prime Minister, we \emph{use} his name. When we want to talk about the Prime Minister's name, we \emph{mention} that name, which we do by putting it in quotation marks.
There is a general point here. When we want to talk about things in the world, we just \emph{use} words. When we want to talk about words, we typically have to \emph{mention} those words. We need to indicate that we are mentioning them, rather than using them. To do this, some convention is needed. We can put them in quotation marks, or display them centrally in the page (say). So this sentence:
\begin{itemize}
\item `Justin Trudeau' is the Prime Minister.
\end{itemize}
says that some \emph{expression} is the Prime Minister. That's false. The \emph{man} is the Prime Minister; his \emph{name} isn't. Conversely, this sentence:
\begin{itemize}
\item Justin Trudeau is composed of two uppercase letters and eleven lowercase letters.
\end{itemize}
also says something false: Justin Trudeau is a man, made of flesh rather than letters. One final example:
\begin{itemize}
\item ``\,`Justin Trudeau'\,'' is the name of `Justin Trudeau'.
\end{itemize}
On the left-hand-side, here, we have the name of a name. On the right hand side, we have a name. Perhaps this kind of sentence only occurs in logic textbooks, but it is true nonetheless.
Those are just general rules for quotation, and you should observe them carefully in all your work! To be clear, the quotation-marks here do not indicate reported speech. They indicate that you are moving from talking about an object, to talking about a name of that object.
\section{Object language and metalanguage}
These general quotation conventions are very important for us. After all, we are describing a formal language here, TFL, and so we must often \emph{mention} expressions from TFL.
When we talk about a language, the language that we are talking about is called the \define{object language}. The language that we use to talk about the object language is called the \define{metalanguage}.
\label{def.metalanguage}
\newglossaryentry{object language}
{
name=object language,
description={A language that is constructed and studied by logicians. In this textbook,
the object languages are TFL and FOL}
}
\newglossaryentry{metalanguage}
{
name=metalanguage,
description={The language logicians use to talk about the object language. In this textbook, the metalanguage is English, supplemented by certain symbols like metavariables and technical terms like ``valid''}
}
For the most part, the object language in this chapter has been the formal language that we have been developing: TFL. The metalanguage is English. Not conversational English exactly, but English supplemented with some additional vocabulary to help us get along.
Now, we have used uppercase letters as sentence letters of TFL:
$$A, B, C, Z, A_1, B_4, A_{25}, J_{375},\ldots$$
These are sentences of the object language (TFL). They are not sentences of English. So we must not say, for example:
\begin{itemize}
\item $D$ is a sentence letter of TFL.
\end{itemize}
Obviously, we are trying to come out with an English sentence that says something about the object language (TFL), but `$D$' is a sentence of TFL, and not part of English. So the preceding is gibberish, just like:
\begin{itemize}
\item \foreignlanguage{german}{Schnee ist weiß} is a German sentence.
\end{itemize}
What we surely meant to say, in this case, is:
\begin{itemize}
\item `\foreignlanguage{german}{Schnee ist weiß}' is a German sentence.
\end{itemize}
Equally, what we meant to say above is just:
\begin{itemize}
\item `$D$' is a sentence letter of TFL.
\end{itemize}
The general point is that, whenever we want to talk in English about some specific expression of TFL, we need to indicate that we are \emph{mentioning} the expression, rather than \emph{using} it. We can either deploy quotation marks, or we can adopt some similar convention, such as placing it centrally in the page.
\section{Metavariables}\label{s:Metavariables}
However, we do not just want to talk about \emph{specific} expressions of TFL. We also want to be able to talk about \emph{any arbitrary} sentence of TFL. Indeed, we had to do this in \cref{s:Sentences}, when we presented the inductive definition of a sentence of TFL. We used uppercase script letters to do this, namely:
$$\metav{A}, \metav{B}, \metav{C}, \metav{D}, \ldots$$
These symbols do not belong to TFL. Rather, they are part of our (augmented) metalanguage that we use to talk about \emph{any} expression of TFL. To explain why we need them, recall the second clause of the recursive definition of a sentence of TFL:
\begin{compactlist}
\item[2.] If $\metav{A}$ is a sentence, then $\enot \metav{A}$ is a sentence.
\end{compactlist}
This talks about \emph{arbitrary} sentences. If we had instead offered:
\begin{compactlist}
\item[2$'$.] If `$A$' is a sentence, then `$\enot A$' is a sentence.
\end{compactlist}
this would not have allowed us to determine whether `$\enot B$' is a sentence. To emphasize:
\factoidbox{
`$\metav{A}$' is a symbol (called a \define{metavariable}) in augmented English, which we use to talk about expressions of TFL. `$A$' is a particular sentence letter of TFL.}
\newglossaryentry{metavariables}
{
name=metavariables,
description={A variable in the metalanguage that can represent any sentence in the object language}
}
But this last example raises a further complication, concerning quotation conventions. We did not include any quotation marks in the second clause of our inductive definition. Should we have done so?
The problem is that the expression on the right-hand-side of this rule, i.e., `$\enot\metav{A}$', is not a sentence of English, since it contains~`$\enot$'. So we might try to write:
\begin{numberlist}
\item[2$''$.] If \metav{A} is a sentence, then `$\enot \metav{A}$' is a sentence.
\end{numberlist}
But this is no good: `$\enot \metav{A}$' is not a TFL sentence, since `$\metav{A}$' is a symbol of (augmented) English rather than a symbol of TFL.
What we really want to say is something like this:
\begin{numberlist}
\item[2$'''$.] If \metav{A} is a sentence, then the result of concatenating the symbol `$\enot$' with the sentence \metav{A} is a sentence.
\end{numberlist}
This is impeccable, but rather long-winded. %Quine introduced a convention that speeds things up here. In place of (2$''$), he suggested:
% \begin{numberlist}
% \item[2$'''$.] If \metav{A} and \metav{B} are sentences, then $\ulcorner (\metav{A}\eand\metav{B})\urcorner$ is a sentence
% \end{numberlist}
%The rectangular quote-marks are sometimes called `Quine quotes', after Quine. The general interpretation of an expression like `$\ulcorner (\metav{A}\eand\metav{B})\urcorner$' is in terms of rules for concatenation.
But we can avoid long-windedness by creating our own conventions. We can perfectly well stipulate that an expression like `$\enot \metav{A}$' should simply be read \emph{directly} in terms of rules for concatenation. So, \emph{officially}, the metalanguage expression `$\enot \metav{A}$'
simply abbreviates:
\begin{quote}
the result of concatenating the symbol `$\enot$' with the sentence \metav{A}
\end{quote}
and similarly, for expressions like `$(\metav{A} \eand \metav{B})$', `$(\metav{A} \eor \metav{B})$', etc.
\section{Quotation conventions for arguments}
One of our main purposes for using TFL is to study arguments, and that will be our concern in \cref{ch.TruthTables}. In English, the premises of an argument are often expressed by individual sentences, and the conclusion by a further sentence. Since we can symbolize English sentences, we can symbolize English arguments using TFL.
Or rather, we can use TFL to symbolize each of the \emph{sentences} used in an English argument. However, TFL itself has no way to flag some of them as the \emph{premises} and another as the \emph{conclusion} of an argument. (Contrast this with natural English, which uses words like `so', `therefore', etc., to mark that a sentence is the \emph{conclusion} of an argument.)
%So, if we want to symbolize an \emph{argument} in TFL, what are we to do?
%An obvious thought would be to add a new symbol to the \emph{object} language of TFL itself, which we could use to separate the premises from the conclusion of an argument. However, adding a new symbol to our object language would add significant complexity to that language, since that symbol would require an official syntax.\footnote{\emph{The following footnote should be read only after you have finished the entire book!} And it would require a semantics. Here, there are deep barriers concerning the semantics. First: an object-language symbol which adequately expressed `therefore' for TFL would not be truth-functional. (\emph{Exercise}: why?) Second: a paradox known as `validity Curry' shows that FOL itself \emph{cannot} be augmented with an adequate, object-language `therefore'.}
So, we need another bit of notation. Suppose we want to symbolize the premises of an argument with $\metav{A}_1$, \dots,~$\metav{A}_n$ and the conclusion with $\metav{C}$. Then we will write:
$$\metav{A}_1, \ldots, \metav{A}_n \therefore \metav{C}$$
The role of the symbol `$\therefore$' is simply to indicate which sentences are the premises and which is the conclusion.
%Strictly, this extra notation is \emph{unnecessary}. After all, we could always just write things down long-hand, saying: the premises of the argument are well symbolized by $\metav{A}_1, \ldots \metav{A}_n$, and the conclusion of the argument is well symbolized by $\metav{C}$. But having some convention will save us some time. Equally, the particular convention we chose was fairly \emph{arbitrary}. After all, an equally good convention would have been to underline the conclusion of the argument. Still, this is the convention we will use.
Strictly, the symbol `$\therefore$' will not be a part of the object language, but of the \emph{metalanguage}. As such, one might think that we would need to put quote-marks around the TFL-sentences which flank it. That is a sensible thought, but adding these quote-marks would make things harder to read. Moreover---and as above---recall that \emph{we} are stipulating some new conventions. So, we can simply stipulate that these quote-marks are unnecessary. That is, we can simply write:
$$A, A \eif B \therefore B$$
\emph{without any quotation marks}, to indicate an argument whose premises are (symbolized by) `$A$' and `$A \eif B$' and whose conclusion is (symbolized by)~`$B$'.