-
Notifications
You must be signed in to change notification settings - Fork 0
/
forallx-05-fol-sym.tex
executable file
·1569 lines (1256 loc) · 127 KB
/
forallx-05-fol-sym.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
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
\part{First-order logic}\label{p:FOL}
\chapter{Symbolization in FOL}\label{ch:FOLSymbolization}
Consider the following argument, which is obviously valid:
\begin{earg}
\item[] Willard is a logician.
\item[] All logicians wear funny hats.
\item[$\therefore$] Willard wears a funny hat.
\end{earg}
But how would be symbolize it in TFL? W could offer the following symbolization key:
\begin{ekey}
\item[L] Willard is a logician.
\item[A] All logicians wear funny hats.
\item[F] Willard wears a funny hat.
\end{ekey}
and then symbolize the argument as:
$$L, A \therefore F$$
But the truth-table test will indicate that this is \emph{invalid}. What has gone wrong?
The problem is not that we have made a mistake while symbolizing the argument. This is the best symbolization we can give \emph{in TFL}. The problem lies with TFL itself! This argument is not valid in virtue of its \emph{truth-functional} structure, but rather in virtue of its \emph{subsentential} structure. For example, `All logicians wear funny hats' establishes a certain relationship between being a logician and hat-wearing. But in TFL, the best we can do is symbolize it as an atomic sentence $A$. Because TFL doesn't let us represent any subsentential structure, we lose the connection between Willard's being a logician and Willard's wearing a hat in the TFL symbolization..
To symbolize arguments like the preceding one, we will have to develop a new logical language which will allow us to \emph{split the atom}. That is to say: it will let us represent logically significant structure \emph{inside} atomic sentences. This will be the language of \emph{first-order logic}, or \emph{FOL}.
The details of FOL will be explained throughout this chapter, but here is the basic idea for splitting the atom. A sentence like `Willard is a logician' is internally composed of a name, `Willard', and a predicate, `\blank is a logician'. In FOL, we'll use lowercase letters to symbolize names, and uppercase letters to symbolize predicates. So we might use `$a$' to symbolize the name `Willard', and `$L$' to symbolize the predicate `\blank is a logician'. The whole sentence can then be symbolized as `$La$', thereby representing the fact that this atomic sentence is internally composed of a name and a predicate.
A sentence like `All logicians wear funny hats' involves two predicates: `\blank is a logician' and `\blank wears funny hats'. It also involves the word `all', which relates the two predicates. This is called a \emph{quantifier}, because it tells us something about ``quantities'' --- in this case that \emph{all} individuals who are logicians wear funny hats, rather than just some of them. FOL will have two quantifiers, `$\forall$' and `$\exists$'. `$\exists$' will roughly convey `There is at least one thing such that \ldots' and `$\forall$' will convey `Every thing is such that \ldots'.
So FOL has three new ingredients: names, predicates, and quantifiers. And we'll be able to use these ingredients to represent the internal structure of atomic sentences. That is the general idea. But FOL is significantly more complex than TFL, so we'll build up slowly.
\section{Names and Predicates}\label{s:NamesPredicates}
In English, a \emph{singular term} is a word or phrase that refers to a \emph{specific} person, place, or thing. The word `dog' is not a singular term, because there are many dogs. But `Fido' is a singular term, because it refers to a specific dog. Likewise, the phrase `Philip's dog Fido' is a singular term, because it also refers to that specific terrier.
\emph{Proper names} are a particularly important kind of singular term. These are expressions that, unlike e.g. `Philip's dog Fido', pick out individuals without describing them. The name `Emerson' is a proper name, and it alone does not tell you anything about Emerson. Of course, some names are traditionally given to boys or girls. If `Hilary' is used as a singular term, you might guess that it refers to a woman. But then again you might be wrong. Indeed, the name does not necessarily mean that the person referred to is even a person: Hilary might be a giraffe, for all you could tell just from the name.
In FOL, our \define{names} are lowercase letters `$a$' through to `$t$'. We can also add subscripts if we want to use some letter more than once. So the following are all names in FOL:
$$a,b,c,\ldots , s, t, a_1, f_{32}, j_{390}, m_{12}$$
These should be thought of along the lines of proper names in English. But with one difference. `Syracuse' is a proper name, but it is the name of both a city in New York State and of a city in Italy. And there are over thirty towns in the US that have the name `Springfield'. We live with this kind of ambiguity in English, allowing context to determine that `Syracuse' is being used to refer to a city in the US rather than to one in Italy. In FOL, we do not tolerate any such ambiguity. Each name must refer to \emph{exactly} one thing. (However, two different names may refer to the same thing, like `Mark Twain' and `Sam Clemens' refer to the same person.)
As with TFL, we'll provide symbolization keys. These indicate, temporarily, what object a name will refer to. So we might offer the following:
\begin{ekey}
\item[e] Elsa
\item[g] Gregor
\item[m] Marybeth
\end{ekey}
The second ingredient in FOL are \define{predicates}. The simplest predicates express properties of individuals. Here are some examples of English predicates:
\begin{quote}
\blank\ is a dog\\
\blank\ is a member of Monty Python\\
A piano fell on \blank
\end{quote}
In general, you can think about predicates as things which combine with names and other singular terms to make sentences. Conversely, you can start with sentences and make predicates out of them by removing terms. Consider the sentence, `Vinnie borrowed the family car from Nunzio.' By removing a singular term, we can obtain three different predicates:
\begin{quote}
\blank\ borrowed the family car from Nunzio\\
Vinnie borrowed \blank\ from Nunzio\\
Vinnie borrowed the family car from \blank
\end{quote}
FOL predicates are capital letters $A$ through $Z$, with or without subscripts. We might write a symbolization key for some simple predicates like this:
\begin{ekey}
\item[A] \blank\ is angry
\item[H] \blank\ is happy
% \item[T_1xy] \gap{x} is as tall or taller than \gap{y}
% \item[T_2xy] \gap{x} is as tough or tougher than \gap{y}
% \item[Bxyz] \gap{y} is between \gap{x} and \gap{z}
\end{ekey}
If we combine our two symbolization keys, we can start to symbolize some English sentences that use these names and predicates in combination. For example:
\begin{earg}
\item[\ex{terms1}] Elsa is angry.
\item[\ex{terms2a}] Gregor and Marybeth are angry.
\item[\ex{terms2}] If Elsa is angry, then so are Gregor and Marybeth.
\end{earg}
Sentence \eref{terms1} is just symbolized as `$Ae$'. Sentence \eref{terms2a} is a conjunction of two simpler sentences. The simple sentences can be symbolized as `$Ag$' and `$Am$'. Then we help ourselves to our resources from TFL, and symbolize the entire sentence as `$(Ag \eand Am)$'. This illustrates an important point: FOL has all of the truth-functional connectives of TFL! Lastly, sentence \eref{terms2} is a conditional, whose antecedent is sentence \eref{terms1} and whose consequent is sentence \eref{terms2a}. So we can symbolize it as `$Ae \eif (Ag \eand Am)$'.
We can also use TFL connectives to symbolize sentences that involve \define{compound predicates}, that is, predicates formed out of simpler ones. Consider the following sentence:
\begin{earg}
\item[\ex{syn1}] Herbie is a white car
\end{earg}
It involves the compound predicate `\blank is a white car'. But we can paraphrase the sentence as a conjunction involving simpler predicates: `Herbie is white and Herbie is a car'. Using the following symbolization key:
\begin{ekey}
\item[W] \blank\ is white
\item[C] \blank\ is a car
\item[h] Herbie
\end{ekey}
we can thus symbolize \eref{syn1} as `$(Wh \eand Ch)$'.
In this case, the compound predicate was formed out of an adjective and a noun. But there are other ways to form compound predicates too:
\begin{earg}
\item[\ex{cp1}] Herbie is a car from Germany.
\item[\ex{cp2}] Herbie is a car from Germany that is fast.
\end{earg}
Sentence \eref{cp1} involves a compound predicate formed from a noun and the prepositional phrase `from Germany', and \eref{cp2} involves a compound predicate formed from a noun, a prepositional phrase, and the relative clause `that is fast'. These can also be symbolized as conjunctions of simple predications. Using `$G$' for `\blank is from Germany' and `$F$' for `\blank is fast', \eref{cp1} can be symbolized as `$Ch \eand Gh$' and \eref{cp2} as `$(Ch \eand Gh) \eand Fh$'.
One does, occasionally have to be careful when symbolizing compound predicates. Suppose I have a violin that I've named `Lucy', and now consider the sentence `Lucy is a fake Stradivarius'. You might think that using `$c$' for `Lucy',`$F$' for `\blank is fake' and `$S$' for `\blank is a Stradivarius', we can symbolize this as `$Fc \eand Sc$'. But that wouldn't be right: `$Fc \eand Sc$' entails `$Sc$', but our English sentence does not entail `Lucy is a Stradivarius'! The word `fake' is what's called a \emph{non-intersective} adjective; in a case like this, we 'd have to use a single FOL predicate, say `$S$', for the whole English predicate `\blank is a fake Stradivarius'.
\practiceproblems
\problempart Symbolize the following in FOL:
\begin{earg}
\item Ada was both a mathematician and a computer scientist.
\item Ada was a mathematician from either England or Wales.
\item Susan will attend the party only if neither Tom nor Ella does.
\item Jen is a talented composer, and Fritz is also a composer, but not talented.
\item Susan and Tom will not both attend the party if Ella does.
\item If Ella attends the party, Susan and Tom both will not attend.
\end{earg}
\section{Quantifiers and Quantifier Scope}\label{s:Quantifiers}
Next up are quantifiers. Consider these sentences:
\begin{earg}
\item[\ex{q.a}] Everyone is happy.
% \item[\ex{q.ac}] Everyone is at least as tough as Elsa.
\item[\ex{q.e}] Someone is angry.
\end{earg}
Sentence \eref{q.a} superficially looks like it has the same kind of structure as something like `Elsa is happy'. So you might be tempted to symbolize \eref{q.a} as `$He$', with the explanation that `$e$' is to symbolize `everyone'. But that would be a serious mistake.
`Everyone' is not a proper name --- it doesn't pick out any particular individual --- and so it should not be symbolized using a name like `$e$' in FOL. The word `everyone' is rather a quantifier. Logically, quantifiers behave very differently from names. For example, whereas `Either Elsa is happy or Elsa is not happy' is a necessary truth, `Either everyone is happy or everyone is not happy' is not a necessary truth. In fact, it's presumably false: some people are happy and others are not.
To express claims about every individual in a set, we'll use the FOL symbol `$\forall$'. This is called the \define{universal quantifier}. A quantifier in FOL always has to be followed by a variable. FOL variables are lowercase letters `$u$' through `$z$', with or without subscripts. So we could symbolize sentence \eref{q.a} as `$\forall x Hx$'. The variable `$x$' is serving as a kind of placeholder. The expression `$\forall x$' intuitively means that you can pick anyone and put them in as `$x$'. The subsequent `$Hx$' indicates, of that thing you picked out, that it is happy. So `$\forall x Hx$' can be read as saying ``every individual $x$ is such that: $x$ is happy.''
There is no special reason to use `$x$' rather than some other variable here. The sentences `$\forall x Hx$', `$\forall y Hy$', `$\forall z Hz$', and `$\forall x_5 Hx_5$' use different variables, but they are all logically equivalent, and any of them could be used to symbolize \eref{q.a}.
To symbolize sentence \eref{q.e}, we introduce another new symbol: the \define{existential quantifier}, `$\exists$'. Like the universal quantifier, the existential quantifier requires a variable. Sentence \eref{q.e} can be symbolized by `$\exists x Ax$'. You can read `$\exists x Ax$' as saying ``there is some individual x such that: x is angry'. Again, the variable is just a kind of placeholder; we could just as well have symbolized sentence \eref{q.e} as `$\exists z Az$' or `$\exists w Aw$'.
In FOL, quantifiers always range over a \define{domain} of objects. So really, `$\forall xHx$' says that every object $x$ \emph{in the domain} is such that $x$ is happy, and `$\exists xAx$' says that some object $x$ \emph{in the domain} is such that $x$ is angry. So whenever we symbolize something with a quantifier, we should also specify a domain of objects in our symbolization key. English quantifiers like `everyone' and `someone' are used to talk about people, so in this case we can specify our domain as consisting of people. We'll look more closely at picking domains later on.
%\section{Quantifier Scope}\label{s:QuantifierScope}
Next, consider the following two sentences:
\begin{earg}
\item[\ex{scope1}] Someone is a logician and someone is an architect.
\item[\ex{scope2}] Someone is a logician and an architect.
\end{earg}
These sentences clearly mean different things, and must therefore receive different symbolizations. Sentence \eref{scope1} says that there is someone who is a logician, and also that there is someone (maybe a different person) who is an architect. So it is a conjunction of two existential sentences. Using the following symbolization key:
\begin{ekey}
\item[\text{domain}] people
\item[L] \blank\ is a logician
\item[A]\blank\ is an architect
\end{ekey}
sentence \eref{scope1} can be symbolized as `$\exists xLx \eand \exists xAx$'.
Notice that we could equally well have symbolized it as `$\exists x Lx \eand \exists yAy$' or `$\exists zLz \eand \exists v Av$'. As we observed earlier, sentences like `$\exists x Ax$' and `$\exists y Ay$' that differ only in which variable gets used are equivalent to each other, so `$\exists xLx \eand \exists xAx$' is therefore equivalent to`$\exists x Lx \eand \exists yAy$'. Using the same variable in both conjuncts, as in `$\exists xLx \eand \exists xAx$', does \emph{not} mean that the person who is a logician is the same as the one who is an architect; and using different variables, as in `$\exists x Lx \eand \exists yAy$', does \emph{not} mean it's a different person. Both of these FOL sentences just say that there is someone who is a logician, and that there is someone (maybe the same, maybe different) who is an architect.
Sentence \eref{scope2}, on the other hand, says that there exists some \emph{one} individual who is \emph{both} a logician and an architect. It gets symbolized as `$\exists x(Lx \eand Ax)$'. You can read this as: there is some object $x$ in the domain of people such that $x$ is a logician and $x$ is also an architect. The difference between `$\exists x(Lx \eand Ax)$' and the earlier `$\exists xLx \eand \exists xAx$' has to do with the \define{scope} of the quantifiers.
The way scope works with quantifiers is very similar to it works with negation, which we discussed in \S\ref{s:TFLSyntacticNotions}. In the sentence `$\enot P \eand \enot Q$', the first $\enot$ has scope over just the first conjunct, and the second $\enot$ has scope over just the second conjunct. It is the conjunction $\eand$ that is the main logical operator. Similarly, in `$\exists xLx \eand \exists xAx$', the first quantifier has scope over just the first conjunct, and the second quantifier over just the second conjunct, with the conjunction $\eand$ functioning as the main logical operator.
On the other hand, in `$\exists x(Lx \eand Vx)$' the quantifier is the main logical operator, and has scope over the entire sentence, with the conjunction $\eand$ occurring inside the scope of the quantifier. This is similar to how in `$\enot (P \eand Q)$', the negation is the main logical operator, with the conjunction occurring inside its scope. We'll give a more precise definition of the notion of scope in relation to quantifiers in \S\ref{s:FOLSyntax}, but the analogy with negation should give you a working handle for now.
Closely connected to the notion of scope are the notions of \define{free} and \define{bound} variables. A quantifier is said to \emph{bind} the variables that occur in its scope. So in `$\exists x(Lx \eand Vx)$', the quantifier `$\exists x$' binds the variable in `$Lx$' and also the one in `$Vx$', since they both occur inside its scope. On the other hand, in `$\exists xLx \eand \exists xAx$', the first quantifier binds the variable in `$Lx$', since it occurs in its scope, but does not bind the variable in `$Ax$' --- that variable is bound by the second quantifier, in whose scope it occurs.
Or compare the following two FOL sentence:
\begin{earg}
\item[\ex{bound1}] $\forall x(Hx \eor Wx)$
\item[\ex{bound2}] $\forall xHx \eor Wx$
\end{earg}
In \eref{bound1}, the quantifier `$\forall x$' is the main operator, and it has scope over the entire sentence; it therefore binds both occurrences of the variable `$x$'. On the other hand, in \eref{bound2}, the main operator is the disjunction, with the quantifier only taking scope over the left disjunct. So here, the quantifier binds the variable in `$Hx$', but not the one in `$Wx$'. Variables like this, that are not bound by any quantifier, are said to be \define{free variables}. Formulas like \eref{bound2} that contain free variables are called \define{Open Formulas}. Formulas like \eref{bound1} where all the variables are bound are called \define{Closed Formulas}.
When symbolizing English statements, you should not have any free variables in your symbolization, i.e. your symbolizations should always be closed formulas. The closed formula \eref{bound1} could be used to symbolize the English statement `Everyone is either happy or wise'. The open formula \eref{bound2}, on the other hand, says something like: either everyone is happy, or $x$ is wise. But who is $x$? Since `$x$' isn't a name, it doesn't refer to any particular thing, and we can't determine whether it's true that $x$ is wise. English statements always have truth values, whereas open formulas like \eref{bound2} do not, so open formulas shouldn't be used to symbolize English statements.
We could turn \eref{bound2} into a close formula either by adding parentheses as in \eref{bound1}, or by adding another quantifier to bind the variable in `$Wx$', as in `$\forall x Hx \eor \forall xWx$'. The latter is a closed formula, but means something quite different than \eref{bound1}: it can be read as saying that either everyone is happy, or everyone is wise. The moral is that parentheses are important! They indicate the scope of quantifiers, and thereby what variables quantifiers binds, which has a significant impact on meaning.
\practiceproblems
\problempart Using a domain of people, $H$ for `\blank is happy', and $W$ for `\blank is wise', symbolize the following statements:
\begin{earg}
\item Someone is happy, and someone is not happy.
\item Everyone is both friendly and honest.
\item Everyone is either friendly or honest.
\item Everyone is friendly and someone is honest.
\item If everyone is friendly then Liz is happy.
\item Liz is not happy, but someone is.
\item Someone is neither honest nor friendly.
\item Someone is honest but not friendly.
\item If Liz is friendly but not happy, then someone is friendly but not happy.
\item Someone is happy, but not everyone is wise.
\end{earg}
\problempart Which of the following are open formulas, and which are closed formulas? What variables does each quantifier bind?
\begin{earg}
\item $Wb$
\item $Wz$
\item $\exists z Wz$
\item $\forall yWx$
\item $\forall xHx \eand Wx$
\item $\forall x(Hx \eand Wx)$
\item $\forall x(Hx \eand Wy)$
\item $\exists z Hz \lor Wb$
\item $\exists z(Hz \lor Wy)$
\item $\forall x(Hx \lor \exists y(Wy \eand Hx))$
\item $\forall xHx \lor \exists y(Wy \eand Hx)$
\item $\forall x(\exists y(Hy \land Fx) \rightarrow \forall z(Wz \eand Hx))$
\end{earg}
\section{Common Quantifier Phrases and Domains}\label{s:QuantifierPhrases}
Consider these sentences:
\begin{earg}
\item[\ex{quan2}] Some dogs are poodles.
\item[\ex{quan1}] Every dog is a canine.
\end{earg}
Let's use the following symbolization key:
\begin{ekey}
\item[\text{Domain}] animals
\item[D] \blank\ is a dog
\item[P] \blank\ is a poodle
\item[C] \blank\ is a canine
\end{ekey}
Sentence \eref{quan2} gets symbolized using an existential quantifier as `$\exists x(Dx \eand Px)$'. You can read this as ``there is some object $x$ (in the domain of animals) such that $x$ is a dog and $x$ is a poodle'', which does capture the intent of \eref{quan2}.
Sentence \eref{quan1} gets symbolized using a universal quantifier. You might be tempted to to symbolize it as `$\forall x(Dx \eand Cx)$', using a universal quantifier together with a conjunction, just as we used an existential quantifier together with a conjunction for \eref{quan2}. But that would be a mistake: `$\forall x(Dx \eand Cx)$' means ``every object $x$ (in the domain) is such that $x$ is a dog and $x$ is a canine'', or more simply, ``every object (in the domain) is both a dog and a canine.'' That's not at all what \eref{quan1} says!
To see the route towards the correct symbolization, notice that \eref{quan1} can be paraphrased as ``for any object $x$ in the domain, \emph{if} $x$ is a dog, then $x$ is a canine.'' So \eref{quan1} gets symbolized using a universal quantifier together with a conditional, as `$\forall x(Dx \eif Cx)$'. As general guidelines, we have the following:
\factoidbox{
An English sentence that can be paraphrased as `Some $\script{F}$ is $\script{G}$' can be symbolized as $\exists x (\script{F}x \eand \script{G}x)$.
An English sentence that can be paraphrased as `Every $\script{F}$ is $\script{G}$' can be symbolized as $\forall x (\script{F}x \eif \script{G}x)$.
}
%Notice that just as it was essential to use a conditional (rather than a conjunction) with the universal quantifier, so it's essential to use a conjunction (rather than a conditional) with the existential. Suppose we had instead symbolized \eref{quan2} as `$\exists x(Dx \eif Px)$'. That would mean that there is some object in the domain of which `$(Dx \eif Px)$' is true. Recall that, in TFL, $\meta{\varphi} \eif \meta{\psi}$ is tautologically equivalent to $\enot\meta{\varphi} \eor \meta{\psi}$. This equivalence will also hold in FOL. So `$\exists x(Dx \eif Px)$' is true if there is some object in the domain, such that `$(\enot Dx \eor Px)$' is true of that object, that is, if some animal is \emph{either} not a dog \emph{or} is a poodle. And of course there are lots of animals that are not dogs! So it is \emph{far too easy} for `$\exists x(Tx \eif Dx)$' to be true, and it doesn't at all capture the meaning of \eref{quan2}.
The same patterns apply to quantified sentences that involve compound predicates:
\begin{earg}
\item[\ex{quan3}] Some tame dogs are poodles.
\item[\ex{quan4}] Every wild dog is a canine.
\end{earg}
Let's use `$T$' for `\blank is tame' and `$W$' for `\blank is wild'. Recall from \S\ref{s:NamesPredicates} that in general, compound predicates get symbolized as conjunctions of the component predicates. So we can symbolize \eref{quan3} as $\exists x((Tx \eand Dx) \eand Px)$, with the conjunction `$(Tx \eand Dx)$' symbolizing the compound predicate `is a tame dog'. Similarly, \eref{quan4} gets symbolized as `$\forall x((Wx \eand Dx) \eif Cx)$', with `$(Wx \eand Dx)$' symbolizing the compound predicate `is a wild dog'. This can be read as: every object $x$ (in the domain) is such that \emph{if} $x$ is wild and $x$ is a dog, \emph{then} $x$ is a canine.
When symbolizing more complex sentences like these, it is useful to distinguish the \define{Restrictor Predicate} from the \define{Main Predicate}. Intuitively, the restrictor predicate tells you what class of things the sentence says something about --- e.g. pet dogs, or wild dogs, or wild dogs from Africa --- and the main predicate then says what is true of some or all of them (e.g. that they're poodles, or canines). The general pattern is that, in the case of an existential quantifier, the restrictor predicate and main predicate always get connected by a conjunction. And in the case of a universal quantifier, the restrictor predicate and main predicate always get connected by a conditional:
\begin{multicols}{2}
\begin{center}
$\text{Some }\underbrace{\text{ tame dogs }}_{\text{Restrictor}}\ \underbrace{\text{ are poodles}}_{\text{Main}}$
\vspace{1em}
$\exists x (\ \underbrace{(Tx \eand Dx)}_{\text{Restrictor}} \ \eand \ \underbrace{Px}_{\text{Main}} \ )$
\end{center}
\columnbreak
\begin{center}
$\text{Every }\underbrace{\text{ wild dog }}_{\text{Restrictor}} \ \underbrace{\text{ is a canine}}_{\text{Main}}$
\vspace{1em}
$\forall x( \ \underbrace{(Wx \eand Dx)}_{\text{Restrictor}} \ \eif \ \underbrace{Cx}_{\text{Main}} \ )$
\end{center}
\end{multicols}
It doesn't matter how complex the restrictor and main predicate get, the pattern is always the same. Using $A$ for `\blank is from Africa' and $M$ for `\blank is a mammal' we get:
$$\text{Every }\underbrace{\text{ wild dog from Africa }}_{\text{Restrictor}} \ \underbrace{\text{ is both a mammal and a canine}}_{\text{Main}}$$
$$\forall x(\ \underbrace{(Wx \eand (Dx \eand Ax))}_{\text{Restrictor}} \ \eif \underbrace{(Mx \eand Cx)}_{\text{Main}} \ )$$
Again: since it's a universal sentence the restrictor predicate and main predicate get connected by a \eif. If the quantifier had been `Some' instead of `Every', they would have been connected by a \eand.
So far we've been pretty loose about picking domains. But in practice, picking a domain can be a delicate matter, and can affect what the correct symbolization of a sentence is. Take \eref{quan1} from earlier, `Every dog is a canine.' In a domain of animals, this gets symbolized as `$\forall x (Dx \eif Cx)$'. But suppose we instead use a domain that consists of just dogs. In this domain, `Every dog is a canine' can just be symbolized as `$\forall xCx$': every object $x$ in the domain (of dogs) is a canine. In other words, by restricting our \emph{domain} to dogs, we no longer need the explicit restrictor \emph{predicate} `$Dx$' in our symbolization.
You could in principle always avoid complex symbolizations by just restricting your domain appropriately. A sentence that standardly gets symbolized as $\forall x (\script{F}x \eif \script{G}x)$ could just be symbolized $\forall x \script{G}x$ by making the domain consist of whatever things the restrictor predicate $\script{F}x$ is true of. And similarly, a sentence that standardly gets symbolized as $\exists x (\script{F}x \eand \script{G}x)$ could just be symbolized as $\exists x \script{G}x$ by picking a domain that consists of whatever things $\script{F}x$ is true of.
However, this gain in convenience comes at a cost. If we pick a domain of dogs in our symbolization key for \eref{quan1}, then we can no longer use the same symbolization key to symbolize sentences that talk about things other than dogs. That could be a problem: `Every dog is a canine' might appear as the first premise in an argument, whose second premise is `No pelican is a canine', and whose conclusion is `No pelican is a dog'. Since the second premise and the conclusion talk about pelicans, we can't symbolize them using a domain of just dogs. We'll instead have to go back to using a larger domain, like all animals, and revert to the more complex symbolization $\forall x (Dx \eif Cx)$ for \eref{quan1}.
In practice, we're going to be fairly restrictive about what domains to use. In order to standardize symbolizations, you should always pick one of two domains in your symbolization key: either a domain that consists of people, or a domain that consists of things in general (dogs, people, other animals, plants, stars, numbers etc.). You can use the following guidelines to determine which domain to pick:
\factoidbox{
\begin{itemize}
\item If a sentence or argument contains quantifiers implicitly restricted to people (like `everyone', `someone', `no one'), and no quantifiers, predicates, or standalone names that concern things other than people, you may (but aren't required to) use a domain of just people.
\item For any other kind of sentence or argument, use the domain of things.
\end{itemize}}
So in the case of `Every dog is a canine', you should use a domain of things and symbolize it as $\forall x(Dx \eif Cx)$. On the other hand, for something like `everyone is happy', you may use a domain of just people and symbolize it as $\forall xHx$. %For `Every logician is wise', you'd also use a domain of things and symbolize it as `$\forall x(Lx \eif Wx)$'.
It's important to notice, though, that you don't \emph{have} to use a domain of people to symbolize `Everyone is happy.' This can be symbolized in a domain of things too, by making the implicit restriction to people (carried by the `one' in `everyone') explicit with an additional predicate `$P$' for `\blank is a person'. This would give us the symbolization `$\forall x(Px \eif Hx)$'. In fact, using an extra predicate like this is what you would have to do if this sentence occurred as part of a larger sentence or argument that involves reference to things other than people, and thus requires a domain of things for its symbolization.
Similarly, if you wanted to symbolize:
\begin{earg}
\item[\ex{quan5}] Everyone in Chicago is happy.
\end{earg}
in a domain of people, you would symbolize it as $\forall x(Cx \eif Hx)$, using $C$ for `\blank is in Chicago'. But if we use a domain of things in general, the implicit restriction to people carried by `everyone' has to be made explicit by adding `$Px$', for `$x$ is a person', giving us `$\forall x((Px \eand Cx) \eif Hx)$'. After all, in a domain of things, $\forall x(Cx \eif Hx)$ says that absolutely every \emph{thing} in Chicago is happy, including every pigeon and tree, for example, whereas that isn't required to make \eref{quan5} true, so we would have to symbolize it as $\forall x((Px \eand Cx) \eif Hx)$.
One last point: sentence \eref{quan5} contains the name `Chicago', which refers to a city, so you might think that our guidelines \emph{require} a domain of things here. In fact, though, we can use the domain of people, because we aren't symbolizing the name `Chicago' in \eref{quan5} \emph{as a name}, but rather treating it as part of the larger predicate `\blank is in Chicago', which we symbolize as `$C$'. What the guidelines mean by a ``standalone name'' is a name that will get \emph{symbolized as a name}. It is only if a sentence contains a standalone name (in this sense) of something other than a person that you shouldn't use a domain of people any more. The reason is that every object referred to by a name \emph{in our symbolization} must be part of the domain.
\practiceproblems
\problempart Symbolize the following (using a domain of things):
\begin{earg}
\item Some dogs are cute but not friendly.
\item Some dogs are neither friendly nor cute.
\item Some ancient manuscripts are priceless.
\item Every wealthy artist is happy.
\item Every artist is both wealthy and happy.
\item Every politician from London will get re-elected.
\item All red mushrooms are deadly if eaten.
\end{earg}
\problempart The following contain quantifiers restricted to people, and can be symbolized in either a domain of people or a domain of things. Symbolize each first in a domain of people, and then in a domain of things:
\begin{earg}
\item Someone is wise but not happy.
\item Everyone is both wise and happy.
\item Everyone from Sweden is either wise or happy.
\item Someone from Norway is wise, but not everyone in Scandinavia is wise.
\end{earg}
\section{Quantifiers and Negation}
%Some more examples will help. Consider these sentences:
% \begin{earg}
% \item[\ex{q.ne}] No one is angry.
% \item[\ex{q.en}] There is someone who is not happy.
% \item[\ex{q.na}] Not everyone is happy.
% \end{earg}
So far we've only looked at English quantifier phrases involving `every' and `some'. But our two FOL quantifiers $\forall$ and $\exists$ can also be used to symbolize other quantifier phrases in English. Consider the following sentence:
\begin{earg}
\item[\ex{q.neg1}] No one is angry.
\end{earg}
This could be paraphrased as `It is not the case that someone is angry'. We can therefore symbolize it using negation together with an existential quantifier: $\enot \exists x Ax$. Interestingly, though, this is not the only option. If you think about it, \eref{q.neg1} could also be paraphrased as `Everyone is not-angry'. So we can also symbolize our sentence using negation and a universal quantifier: $\forall x \enot Ax$ (``every individual $x$ is such that $x$ is not angry''). Indeed, as we will see, it holds in general that $\forall \meta{v} \enot\meta{\varphi}$ is logically equivalent to $\enot\exists \meta{v}\meta{\varphi}$. (Notice that I have here returned to the practice of using `$\meta{\varphi}$' as a metavariable, now over FOL sentences; and \meta{v} as a metavariable over FOL variables.) So whenever you have a negation in front of an existential quantifier in FOL, you can move the negation over the quantifier, and flip the quantifier into a universal to obtain an equivalent sentence.
A similar pattern emerges if we consider the following.
\begin{earg}
\item[\ex{q.neg2}] Not everyone is happy.
\end{earg}
This can be symbolized as $\enot \forall x Hx$. But again, if you think about it, \eref{q.neg2} could be paraphrased as `Someone is not-happy.' So another way to symbolize this sentence is as $\exists x\enot Hx$. This illustrates that in general $\enot \forall \meta{v} \meta{\varphi}$ is equivalent to $\exists \meta{v} \enot \meta{\varphi}$, meaning that if a negation occurs in front of a universal quantifier, we can move it over the quantifier and flip the quantifier into an existential. So we have the following logical laws:\footnote{Notice that this in turns means that $\forall \meta{v} \meta{\varphi}$ is equivalent to $\enot \exists\meta{v} \enot \meta{\varphi}$. So we don't really need $\forall$ in our language in addition to $\exists$, we could just define one in terms of the other and always write $\enot \exists \meta{v} \enot \meta{\varphi}$ when we mean $\forall \meta{v} \meta{\varphi}$.}
\factoidbox{\define{Quantifier Equivalence Laws:}
$$\forall \meta{v} \enot\meta{\varphi} \text{ is equivalent to } \enot\exists \meta{v}\meta{\varphi}$$
$$\enot \forall \meta{v} \meta{\varphi} \text{ is equivalent to } \exists \meta{v} \enot \meta{\varphi}$$
}
Next consider the following examples involving more complex quantifier phrases:
\begin{earg}
\item[\ex{q.neg3}] No dog is a poodle.
\item[\ex{q.neg4}] Not all dogs are poodles.
\end{earg}
Sentence \eref{q.neg3} says that there does not exist a dog that is a poodle. So it can be symbolized as a negated existential sentence, $\enot \exists x(Dx \eand Px)$. Whereas \eref{q.neg3} says something which is in fact false, \eref{q.neg4} says something true: that it's not the case that every dog is a poodle. It can therefore be symbolized as a negated universal sentence, $\enot \forall x(Dx \eif Px)$.
Again, though, each of these can be symbolized another way too. Sentence \eref{q.neg4} could also be paraphrased as saying `Some dog (i.e. at least one) is a non-poodle'. So instead of symbolizing it as a negated universal `$\enot \forall x(Dx \eif Px)$', it could also be symbolized as an existential: $\exists x(Dx \eand \enot Px)$'. Similarly, sentence \eref{q.neg3} could also be paraphrased as `every dog is a non-poodle'. So instead of symbolizing it as a negated existential `$\enot \exists x(Dx \eand Px)$', it could also be symbolized as a universal: $\forall x(Dx \eif \enot Px)$. In both of these cases, the two possible symbolizations are equivalent to each other.
We'll learn how to use natural deduction to prove these equivalences later. But you can already see the reason for it given the Quantifier Equivalence Laws from above, together with some of the equivalences we know from TFL. For example, our symbolization `$\enot \forall x(Dx \eif Px)$' of \eref{q.neg4} is, by the Quantifier Equivalence Laws, equivalent to `$\exists x\enot (Dx \eif Px)$'. Then, applying the NegImp law sinside the scope of the existential, the latter is equivalent to `$\exists x (Dx \eand \enot Px)$', which was our second possible symbolization!
In general, we've seen the following patterns:
\factoidbox{
An English sentence that can be paraphrased as `No $\script{F}$ is $\script{G}$' can be symbolized as $\enot \exists x (\script{F}x \eand \script{G}x)$, or as $\forall x (\script{F}x \eif \enot \script{G}x)$
An English sentence that can be paraphrased as `Not every $\script{F}$ is $\script{G}$' can be symbolized as $\enot \forall x (\script{F}x \eif \script{G}x)$ or as $\exists x (\script{F}x \eand \enot \script{G}x)$.
}
These patterns also apply if we want to symbolize our earlier examples \eref{q.neg1} and \eref{q.neg2} in a domain of things rather than people. In a domain of things, `No one (i.e. no person) is angry' gets symbolized as $\enot \exists x(Px \eand Ax)$' (or alternatively, as $\forall x(Px \eif \enot Ax)$, i.e. ``every person is non-angry''). And `Not everyone is angry' would become $\enot \forall x(Px \eif Ax)$ (or alternatively, $\exists x(Px \eand \enot Ax)$, i.e. ``at least one person is non-angry''). Here is a summary of the common symbolization patterns we've seen in the past few sections:
\factoidbox{
\begin{tabular}{l | l }
English Sentence Pattern & FOL Symbolization \\
\hline
& \\
Some $\script{F}$ is $\script{G}$ & $\exists x(\script{F}x \eand \script{G}x)$ \\
&\\
Every $\script{F}$ is $\script{G}$ & $\forall x(\script{F}x \eif \script{G}x)$\\
&\\
No $\script{F}$ is $\script{G}$ & $\enot \exists x(\script{F}x \ \eand \ \script{G}x)$ \\
(Every $\script{F}$ is not-$\script{G}$)& $\forall x(\script{F}x \eif \enot \script{G}x)$\\
& \\
Not every $\script{F}$ is $\script{G}$ & $\enot \forall x(\script{F}x \eif \script{G}x)$ \\
(Some $\script{F}$ is not-$\script{G}$)& $\exists x(\script{F}x \ \eand \ \enot \script{G}x)$\\
&\\
\end{tabular}}
\practiceproblems
\problempart Symbolize the following:
\begin{earg}
\item No honest politician is rich.
\item Some honest politicians aren't rich.
\item No logician is both rich and famous.
\item Not every logician is both rich and famous.
\item No one from Sweden is famous.
\end{earg}
%
%\section{Empty predicates}
%In \S\ref{s:FOLBuildingBlocks}, I emphasised that a name must pick out exactly one object in the domain. However, a predicate need not apply to anything in the domain. A predicate that applies to nothing in the domain is called an \define{empty} predicate. This is worth exploring.
%
%Suppose we want to symbolize these two sentences:
% \begin{earg}
% \item[\ex{monkey1}] Every monkey knows sign language
% \item[\ex{monkey2}] Some monkey knows sign language
% \end{earg}
%It is possible to write the symbolization key for these sentences in this way:
% \begin{ekey}
% \item[\text{domain}] animals
% \item[M] \gap{1} is a monkey.
% \item[S] \gap{1} knows sign language.
% \end{ekey}
%Sentence \ref{monkey1} can now be symbolized by `$\forall x(Mx \eif Sx)$'. Sentence \ref{monkey2} can be symbolized as `$\exists x(Mx \eand Sx)$'.
%
%It is tempting to say that sentence \ref{monkey1} \emph{entails} sentence \ref{monkey2}. That is, we might think that it is impossible that every monkey knows sign language unless some monkey knows sign language. But this would be a mistake. It is possible for the sentence `$\forall x(Mx \eif Sx)$' to be true even though the sentence `$\exists x(Mx \eand Sx)$' is false.
%
%How can this be? The answer comes from considering whether these sentences would be true or false \emph{if there were no monkeys}. If there were no monkeys at all (in the domain), then `$\forall x(Mx \eif Sx)$' would be \emph{vacuously} true: take any monkey you like---it knows sign language! But if there were no monkeys at all (in the domain), then `$\exists x(Mx \eand Sx)$' would be false: the truth of that sentence requires a (signing) monkey.
%
%Another example will help to bring this home. Suppose we extend the above symbolization key, by adding:
% \begin{ekey}
% \item[R] \gap{1} is a refrigerator
% \end{ekey}
%Now consider the sentence `$\forall x(Rx \eif Mx)$'. This symbolizes `every refrigerator is a monkey'. And this sentence is true, given our symbolization key. This is counterintuitive, since we do not want to say that there are a whole bunch of refrigerator monkeys. It is important to remember, though, that `$\forall x(Rx \eif Mx)$' is true iff every refrigerator \emph{in the domain} is also a monkey. Since the domain comprises only \emph{animals}, there are no refrigerators in the domain. Again, then, the sentence is \emph{vacuously} true. (Of course, if you were actually dealing with the sentence `All refrigerators are monkeys', then you would most likely want to include kitchen appliances in the domain. Then the predicate `$R$' would not be empty and the sentence `$\forall x(Rx \eif Mx)$' would be false.)
% \factoidbox{
% When $\meta{F}$ is an empty predicate, any sentence $\forall x (\meta{F}x \eif \ldots)$ is vacuously true.
% }
%
%Here is another example to illustrate the importance of scope:
% \begin{earg}
% \item[\ex{qscope3}] If everyone is a bassist, then Kurt Cobain is a bassist
% \item[\ex{qscope4}] Everyone is such that, if they are a bassist, then Kurt Cobain is a bassist.
% \end{earg}
%We'll use a domain of people, `$B$' for `\blank is a bassist', and `$c$' for the name `Kurt Cobain'. Sentence \eref{qscope3} is a conditional, whose antecedent is `everyone is a bassist'. So we will symbolize it with `$\forall x Bx \eif Bc$'. This sentence is \emph{necessarily} true: if absolutely \emph{everyone} is a bassist, then Kurt Cobain has to be a bassist too. (Of course the antecedent is in fact false; but the conditional as a whole is a necessary truth.)
%
%Sentence \eref{qscope4}, by contrast, is best paraphrased as `every person x is such that, if x is a bassist, then Kurt Cobain is a bassist'. This is symbolized by `$\forall x (Bx \eif Bc)$'. Not only is this not a necessary truth, it is false. The claim is that no matter what person $x$ you pick, the conditional `$(Bx \eif Bc)$' will be true. That's not the case: we could pick Kim Deal, who is in fact a bassist --- but the conditional `If Kim Deal is a Bassist, then Kurt Cobain is a bassist' is false (unlike Deal, Cobain was not a bassist).
%
%The difference between `$\forall x Bx \eif Bc$' and `$\forall x (Bx \eif Bc)$' again concerns the scope of the quantifiers. In `$\forall x Bx \eif Bc$', the conditional $\eif$ is the main logical operator, and the quantifier `$\forall x$' only has scope over the antecedent. In `$\forall x (Bx \eif Bc)$' on the other hand, the scope of `$\forall x$' extends over the entire sentence, and it functions as the main operator. %Again, this is similar to the scope of negation in `$\enot P \eif Q$' and `$\enot(P \eif Q)$': in the former, the negation has scope only over the antecedent, and in the latter, it has scope over the whole conditional.
%Notice also that even though the quantifier in `$\forall x Bx \eif Bc$' only has scope over the antecedent, this sentence has no free variables (as we would expect, since it symbolizes an English sentence). That's because although `$c$' occurs outside the scope of the quantifier, it is not a variable, but a name. And only variables can be bound or free.
%
\section{The Utility of Paraphrase}
As we've seen, it is important to get the structure of the sentences you want to symbolize right. Sometimes you will be able to move from English directly to a sentence of FOL. Other times, it helps to paraphrase the sentence one or more times. Each successive paraphrase should move from the original sentence closer to something that you can finally symbolize directly in FOL.
For the next few examples, we will use this symbolization key:
\begin{ekey}
\item[\text{domain}] people
\item[B] \blank\ is a bassist
\item[R] \blank\ is a rock star
\item[k] Kim Deal
\end{ekey}
Now consider these sentences:
\begin{earg}
\item[\ex{pronoun1}] If Kim Deal is a bassist, then she is a rock star.
\item[\ex{pronoun2}] If someone is a bassist, then she is a rock star.
\end{earg}
These sentences look similar, and even have the same words in the consequent (`$\ldots$ she is a rock star'), but they mean very different things and will requires different symbolizations. Sentence \eref{pronoun1} can be paraphrased as, `If Kim Deal is a bassist, then \emph{Kim Deal} is a rockstar'. This can obviously be symbolized as the conditional `$Bk \eif Rk$'.
Sentence \eref{pronoun2} is more tricky. You might think that it's a conditional, with an existential quantifier in its antecedent, and should be symbolized along the lines of `$\exists xBx \eif Rx$'. This isn't correct, however, since the quantifier in this symbolization isn't binding the variable in `$Rx$', that is, it's an open sentence. In the English \eref{pronoun2}, the pronoun `she' is referring back to the bassist. You might try to fix it by adding parentheses, giving us `$\exists x(Bx \eif Rx)$'. This is now at least a closed sentence, with the quantifier binding both variables. Unfortunately it doesn't capture the meaning of \eref{pronoun2}. Recall that in TFL, $(P \eif Q)$ is equivalent (by the Imp Law) to $(\enot P \eor Q)$. Similarly, in FOL `$\exists x(Bx \eif Rx)$' is equivalent to `$\exists x(\enot Bx \eor Rx)$'. This will be true as long as there is at least one non-bassist in the world! But that clearly doesn't suffice for \eref{pronoun2} to be true, so this can't be the correct symbolization either.
Paraphrase will help us reach our goal. \eref{pronoun2} can be rephrased as `If someone is a bassist, then that person is a rock star'. This sentence is not about any particular person, it rather says something about \emph{every} person who is a bassist. It can be paraphrased as `For any person x, if x is a bassist, then x is a rockstar', which can be symbolized as `$\forall x (Bx \eif Rx)$'. This is now the correct symbolization of \eref{pronoun2}. There is a surprising but important upshot to this: sometimes, English sentences that involve the quantifier `someone' get symbolized using the universal quantifier $\forall$ in FOL!\footnote{Sentence \eref{pronoun2} involves what linguists call a ``donkey anaphor.'' You can read more about this in the Stanford Encyclopedia of Philosophy: \href{https://plato.stanford.edu/entries/anaphora/}{https://plato.stanford.edu/entries/anaphora/}.}
Next, consider these sentences:
\begin{earg}
\item[\ex{anyone1}] If anyone is a bassist, then Kim Deal will be happy.
\item[\ex{anyone2}] If anyone is a bassist, then she is a rock star.
\end{earg}
The same words appear as the antecedent in sentences \eref{anyone1} and \eref{anyone2} (`If anyone is a bassist$\ldots$'). But again, they mean very different things, and will have to be symbolized differently. Paraphrase will help us.
Sentence \eref{anyone1} can be paraphrased, `If there is least one bassist, then Kim Deal will be happy'. This is a conditional whose antecedent is an existentially quantified sentence. Using `$H$' for `\blank is happy', we can symbolize this as a sentence with a conditional as the main operator: `$\exists x Bx \eif Hk$'. (Notice that this is not an open sentence: although the quantifier only has scope over the antecedent, the $k$ in the consequent is a name, not a variable.)
Sentence \eref{anyone2} again has a pronoun `she' referring back to the bassist. It can be paraphrased as `For every person x, if x is a bassist, then x is a rock star', or just `All bassists are rock stars'. So it gets symbolized as a universally quantified sentence, `$\forall x(Bx \eif Rx)$', just like sentence \eref{pronoun2} from earlier. What these examples illustrate is that the English quantifier `anyone' sometimes gets symbolized as an existential quantifier and at other times as a universal quantifier. To determine which, try paraphrasing the sentence using words \emph{besides} `any' or `anyone'.
\practiceproblems
\problempart Symbolize the following:
\begin{earg}
\item If everyone is wealthy, economists are happy.
\item If anyone is wealthy, economists are happy.
\item If someone is wealthy, they are an economist.
\item If a politician is corrupt, they are also dishonest.
\item All violins and cellos are stringed instruments. %Thanks to Scott Looney
\end{earg}
\problempart\label{pr.BarbaraEtc}
Below are the syllogistic figures identified by Aristotle and his successors, along with their medieval names. These formed the foundation of formal logic for over two millennia, until the end of the 19th century. Formalize each syllogistic figure in FOL.
\begin{ebullet}
\item \textbf{Barbara.} All G are F. All H are G. So: All H are F
\item \textbf{Celarent.} No G are F. All H are G. So: No H are F
\item \textbf{Ferio.} No G are F. Some H is G. So: Some H is not F
\item \textbf{Darii.} All G are F. Some H is G. So: Some H is F.
\item \textbf{Camestres.} All F are G. No H are G. So: No H are F.
\item \textbf{Cesare.} No F are G. All H are G. So: No H are F.
\item \textbf{Baroko.} All F are G. Some H is not G. So: Some H is not F.
\item \textbf{Festino.} No F are G. Some H are G. So: Some H is not F.
\item \textbf{Datisi.} All G are F. Some G is H. So: Some H is F.
\item \textbf{Disamis.} Some G is F. All G are H. So: Some H is F.
\item \textbf{Ferison.} No G are F. Some G is H. So: Some H is not F.
\item \textbf{Bokardo.} Some G is not F. All G are H. So: Some H is not F.
\item \textbf{Camenes.} All F are G. No G are H So: No H is F.
\item \textbf{Dimaris.} Some F is G. All G are H. So: Some H is F.
\item \textbf{Fresison.} No F are G. Some G is H. So: Some H is not F.
\end{ebullet}
%\problempart
%\label{pr.FOLvegetarians}
%Using the following symbolization key:
%\begin{ekey}
%\item[\text{domain}] people
%\item[K] \blank\ knows the combination to the safe
%\item[S] \blank\ is a spy
%\item[V] \blank\ is a vegetarian
%%\item[Txy] \gap{x} trusts \gap{y}.
%\item[h] Hofthor
%\item[i] Ingmar
%\end{ekey}
%symbolize the following sentences in FOL:
%\begin{earg}
%\item Neither Hofthor nor Ingmar is a vegetarian.
%\item No spy knows the combination to the safe.
%\item No one knows the combination to the safe unless Ingmar does.
%\item Hofthor is a spy, but no vegetarian is a spy.
%\end{earg}
%\problempart\label{pr.FOLalligators}
%Using this symbolization key:
%\begin{ekey}
%\item[\text{domain}] all animals
%\item[A] \blank\ is an alligator.
%\item[M] \blank\ is a monkey.
%\item[R] \blank\ is a reptile.
%\item[Z] \blank\ lives at the zoo.
%\item[a] Amos
%\item[b] Bouncer
%\item[c] Cleo
%\end{ekey}
%symbolize each of the following sentences in FOL:
%\begin{earg}
%\item Amos, Bouncer, and Cleo all live at the zoo.
%\item Bouncer is a reptile, but not an alligator.
%%\item If Cleo loves Bouncer, then Bouncer is a monkey.
%%\item If both Bouncer and Cleo are alligators, then Amos loves them both.
%\item Some reptile lives at the zoo.
%\item Every alligator is a reptile.
%\item Any animal that lives at the zoo is either a monkey or an alligator.
%\item There are reptiles which are not alligators.
%%\item Cleo loves a reptile.
%%\item Bouncer loves all the monkeys that live at the zoo.
%%\item All the monkeys that Amos loves love him back.
%\item If any animal is an reptile, then Amos is.
%\item If any animal is an alligator, then it is a reptile.
%%\item Every monkey that Cleo loves is also loved by Amos.
%%\item There is a monkey that loves Bouncer, but sadly Bouncer does not reciprocate this love.
%\end{earg}
\problempart
In \S\ref{s:QuantifierPhrases} we noted that English sentences of the form `No \script{F} is \script{G}' can be symbolized either as $\enot \exists x (\script{F}x \eand \script{G}x)$ or as $\forall x(\script{F}x \eif \enot \script{G}x)$, and ones of the form `Not all \script{F} are \script{G}' can be symbolized as either $\enot \forall x(\script{F}x \eif \script{G}x)$ or as $\exists x(\script{F}x \eand \enot \script{G}x)$. Following these templates, give two different symbolizations for each of the following:
\begin{earg}
\item No spy is famous.
\item Not all spies are famous.
\item Not every famous villain is a spy.
\item Not all famous spies are villains.
\item No spy is both famous and a villain.
\item No villain is both famous and a spy.
\item Not every spy is both famous and a villain.
\item Some spies are not villains.
\end{earg}
\problempart
\label{pr.FOLarguments}
For each argument, write a symbolization key and symbolize the argument in FOL.
\begin{earg}
\item Willard is a logician. All logicians wear funny hats. So Willard wears a funny hat
\item Nothing on my desk escapes my attention. There is a computer on my desk. As such, there is a computer that does not escape my attention.
\item All my dreams are black and white. Old TV shows are in black and white. Therefore, some of my dreams are old TV shows.
\item Neither Holmes nor Watson has been to Australia. A person could see a kangaroo only if they had been to Australia or to a zoo. Although Watson has not seen a kangaroo, Holmes has. Therefore, Holmes has been to a zoo.
\item No one expects the Spanish Inquisition. No one knows the troubles I've seen. Therefore, anyone who expects the Spanish Inquisition knows the troubles I've seen.
\item All babies are illogical. Nobody who is illogical can manage a crocodile. Berthold is a baby. Therefore, Berthold is unable to manage a crocodile.
\end{earg}
\section{Many-Place Predicates}
So far, we have only considered sentences with one-place predicates and one quantifier. The full power of FOL really comes out when we start to use many-place predicates and multiple quantifiers, however. Whereas the logic of singly-quantified sentences has been well known for over two millennia since Aristotle, it took until the work of Gottlob Frege in the late 19\textsuperscript{th} for a logic capable of handling sentences with multiple quantifiers to be developed. The system of FOL we are here studying is a fragment of the logic Frege developed in his book \emph{Begriffsschrift} (1879).
\define{One-place predicates} concern \emph{properties} that objects might have. They have one argument place, or gap, in them. To make a sentence, we simply slot a name into that gap. Other predicates concern \emph{relations} between things. Here are some examples of relational predicates in English:
\begin{quote}
\blank\ loves \blank\\
\blank\ is to the left of \blank\\
\blank\ is in debt to \blank
\end{quote}
These are \define{two-place predicates}: they need to be filled in with two terms in order to make a sentence. Conversely, if we start with an English sentence containing many singular terms, we can remove two singular terms, to obtain different two-place predicates. Consider the sentence `Vinnie borrowed the family car from Nunzio'. By deleting two singular terms, we can obtain any of three different two-place predicates
\begin{quote}
Vinnie borrowed \blank\ from \blank\\
\blank\ borrowed the family car from \blank\\
\blank\ borrowed \blank\ from Nunzio
\end{quote}
And by removing all three singular terms, we obtain a \define{three-place predicate}:
\begin{quote}
\blank\ borrowed \blank\ from \blank
\end{quote}
Indeed, there is in principle no upper limit on the number of argument places that our predicates may contain.
It's important to realize that the multiple argument places in a predicate can be filled either with the same term, or with different terms, and in various different orders. For example, if we begin with the two-place predicate `\blank\ loves \blank{}', we can fill the gaps with the names `Karl' and `Imre' in various different ways, to obtain different English sentences:
\begin{earg}
\item[\ex{terms3}] Karl loves Imre.
\item[\ex{terms3b}] Imre loves Karl.
\item[\ex{terms3a}] Karl loves Karl.
\end{earg}
In FOL, many-place predicates are symbolized via uppercase letters, just like one-place predicates. To symbolize the above sentences, we can use the following symbolization key:
\begin{ekey}
\item[\text{domain}] people
\item[i] Imre
\item[k] Karl
\item[L] \blank\ loves \blank
\end{ekey}
As in the case of one-place predicates, FOL names appear \emph{after} the predicate letter. So sentence \eref{terms3} will be symbolized as `$Lki$', sentence \eref{terms3b} as `$Lik$', and sentence \eref{terms3a} as `$Lkk$'. You can think of the FOL predicate letter `$L$' as having two invisible argument places after it, into which we can slot the names `$i$' and `$k$'. The convention is that the first gap after the predicate letter represents the first gap in the corresponding English predicate, and the second gap represents the second gap in the English predicate. So since sentence \eref{terms3a} results from putting `Karl' into the first gap in `\blank\ loves \blank' and `Imre' into the second, its symbolization in FOL has `$k$' in the first gap after `$L$' and `$i$' in the second.
Another way to put it is that the first gap in the English predicate `\blank\ loves \blank' is for the \emph{agent} of the relation --- the lover, the person doing the loving --- and the second gap is for the \emph{patient}, or direct object, of the relation --- the beloved, the person who is loved. So given our symbolization key, the first name in the FOL sentence `$Lki$' represents the agent, the lover, and the second name represents the patient, the beloved.
Here are some more sentences that we can symbolize using this key:
\begin{earg}
\item[\ex{terms4}] Imre loves himself.
\item[\ex{terms5}] Karl loves Imre, but not vice versa.
\item[\ex{terms6}] Karl is loved by Imre.
\end{earg}
Sentence \eref{terms4} can be paraphrased as `Imre loves Imre', and is symbolized by `$Lii$'. Sentence \eref{terms5} is a conjunction. We can paraphrase it as `Karl loves Imre, and Imre does not love Karl', and so symbolize it as `$Lki \eand \enot Lik$'. Sentence \eref{terms6} is in the passive voice, but it can be paraphrased in the active voice as `Imre loves Karl', and so symbolized as `$Lik$'. Of course, there are differences of \emph{tone} between the active and passive voice; but we have preserved the truth conditions.
The difference between active and passive voice illustrates something important. Suppose we had instead used the following symbolization key of our predicate `$L$':
\begin{ekey}
\item[L] \blank\ is loved by \blank
\end{ekey}
Now `$L$' symbolizes an English predicate in the passive voice, meaning that the first gap now represents the patient, the person who is loved, and the second gap the agent, the person doing the loving. Using this symbolization key, the FOL sentence `$Lki$' now means that Karl is loved by Imre, that is to say, that Imre loves Karl. So Sentence \eref{terms3} --- which says that Karl loves Imre, i.e. that Imre is loved by Karl --- can no longer be symbolized as `$Lki$', but must be symbolized as `$Lik$'. The overall moral is simple: \emph{differences in the order of names matter.}
\practiceproblems
\problempart symbolize the following using two-place predicates.
\begin{earg}
\item Tom chased Jerry, and Tom was also chased by Jerry.
\item Tom chased Jerry, but Jerry didn't chase Tom.
\item If Tai admires Meg, then Meg admires herself.
\item Tom didn't chase Jerry unless Jerry was chased by Tom.
%\item Socrates admires someone.
%\item Everyone admires Socrates.
%\item If everyone admires Socrates, then Socrates also admires himself.
\end{earg}
\section{Multiple Generality}
Now that we have two-place predicates to work with, we can also symbolize sentences that combine such predicates with quantifiers. Suppose we're again working with the following symbolization key:
\begin{ekey}
\item[\text{domain}] people
\item[i] Imre
\item[k] Karl
\item[L] \blank\ loves \blank
\end{ekey}
Now consider the following sentences:
\begin{earg}
\item[\ex{elovi}] Everyone loves Imre.
\item[\ex{ilove}] Imre loves everyone.
\item[\ex{ilovep}] Imre is loved by everyone
\end{earg}
Starting with \eref{elovi}, we could paraphrase this as: every person $x$ is such that $x$ loves Imre. So here the variable $x$ will now go into the first slot after $L$, since $x$ is the lover, and the name $i$ into the second, giving us $\forall xLxi$. There's a common mistake students make with examples like this. In the English sentence \eref{elovi}, it looks like the quantifier phrase `everyone' occupies the first argument place of `loves', so students are sometimes tempted to put a quantifier into the corresponding argument place in the FOL symbolization, producing something like `$L\forall xi$'. However, this is not a grammatical sentence of FOL! In FOL, only \emph{names} and \emph{variables} may occur in the argument places of predicate letters. So again, the way to symbolize this is as `$\forall xLxi$', with the universal quantifier out front binding a variable in the first argument place of `$L$'.
Sentence \eref{ilove} could be paraphrased as: every person $x$ is such that Imre loves $x$. So here the variable now goes into the second argument place of `$L$', giving us the symbolization `$\forall xLix$'. As for \eref{ilovep}, notice that this is equivalent to \eref{elovi}, so it can also be symbolized as `$\forall xLxi$'.
As already mentioned, the real power of FOL lies in its ability to treat sentences with many-place predicates and \emph{multiple} quantifiers. Take the following:
\begin{earg}
\item[\ex{elovs}] Everyone loves someone.
\end{earg}
On its most natural interpretation, this sentence says that for every person $x$, there is some person $y$ whom $x$ loves. It can therefore be symbolized as `$\forall x \exists yLxy$'. This would be true, for example, in a love triangle situation where Karl loves Imre, Imre loves Juan, and Juan loves Karl (and no one loves anyone else): no matter which person $x$ we consider, we can find some person $y$ such that $x$ loves $y$.
However, English sentences like \eref{elovs} that contain multiple quantifiers are \emph{ambiguous}. There is another interpretation of \eref{elovs} on which it says that every $x$ loves some one particular person $y$, a claim that can also be expressed via the following English sentence:
\begin{earg}
\item[\ex{slovbye}] There is someone who is loved by everyone.
\end{earg}
Since this now claims that there is some particular person $y$ who is loved by every $x$, we can symbolize it as `$\exists y\forall xLxy$'. This would be false in our earlier love triangle situation, since there is no lucky individual $y$ who is loved by \emph{everyone} in that scenario. A situation where `$\exists y\forall xLxy$' is true would be one where, for example, Karl loves Imre, Juan loves Imre, and Imre also loves himself. Now Imre is the lucky individual $y$ who's loved by everyone.
The two examples we've looked at --- `$\forall x \exists yLxy$' and `$\exists y\forall xLxy$' --- differ in the order, or \emph{scope}, of the two quantifiers: in the first, the universal $\forall x$ has the larger scope (i.e. comes first, and is the main operator), whereas in the second the existential $\exists y$ has the larger scope.\footnote{Of course we could use different variables: \eref{slovbye} could also be paraphrased as saying that there is some person $x$ who is loved by every $y$, and thus symbolized as $\exists x\forall y Lyx$ instead of $\exists y\forall xLxy$. These FOL sentences look different, but they are equivalent: in both cases the existential quantifier binds the variable in the \emph{second} argument position of $L$, and the universal quantifier binds the variable in the \emph{first} argument position. This is what's crucial to capturing the meaning of \eref{slovbye}.} As we've seen, this difference in scope results in a difference in meaning between these two FOL sentences. Accidentally switching the scope of quantifiers gives rise to the so-called \emph{quantifier shift fallacy}. For example, the following argument is not valid:
\begin{earg}
\item[] Everything is caused by something. \hfill ($\forall \exists$)
\item[$\therefore$] There is some one thing that caused everything. \hfill ($\exists \forall$)
\end{earg}
Using `$C$' for `\blank\ caused \blank' (and a domain of things), the premise can be symbolized as `$\forall x \exists yCyx$': for every $x$ there exists some $y$ such that $y$ caused $x$. The conclusion, on the other hand, can be symbolized as `$\exists y \forall xCyx$': there exists some $y$ such that for every $x$, $y$ caused $x$. The latter is not implied by `$\forall x \exists yCyx$'. We'll leave it as an exercise for you to describe a situation that would make the premise true, but the conclusion false.
Such fallacies, though, arise only when we swap around universal with existential quantifiers. With strings of the same quantifier, the order doesn't matter. For example, `$\exists x \exists y Lxy$' and `$\exists y \exists x Lxy$' would naturally be used to symbolize English sentences `there is someone who loves someone' and `there is someone who is loved by someone', respectively. But, though these differ in nuance, they are true in exactly the same situations; `$\exists x \exists y Lxy$' and `$\exists y \exists x Lxy$' are therefore equivalent. Also, to return to a point from \S\ref{s:Quantifiers}, notice that `$\exists x \exists y Lxy$' does not require that $x$ and $y$ be different individuals. This sentence, as well as `$\exists y \exists x Lxy$', would be true in a situation where Imre loves himself (and no one loves anyone else). After all, that would be a situation where someone loves someone, and also one where someone is loved by someone.
Similar comments apply to pairs like `$\forall x \forall y Lxy$' and `$\forall y \forall x Lxy$': if everyone loves everyone (as per the first sentence) then it follows that everyone is loved by everyone (as per the second), and vice versa. So there can be no situation that makes one true but not the other. And notice that for either to be true, everyone has to, among other things, love themselves. So both of these imply $\forall xLxx$, as we'll be able to show soon using natural deductions.
Lastly, multiply quantified sentences can of course also involve ``negative quantifiers.'' For example:
\begin{earg}
\item[\ex{negquan1}] No one loves everyone.
\item[\ex{negquan2}] There's someone who loves no one.
\end{earg}
Sentence \eref{negquan1} is the denial of `there is someone who loves everyone'; since the latter gets symbolized as `$\exists x\forall yLxy$', sentence \eref{negquan1} gets symbolized as its negation, `$\enot \exists x \forall y Lxy$'. Sentence \eref{negquan2} says that there is some person $x$ such that no matter what $y$ we pick, $x$ does not love $y$. It therefore gets symbolized as `$\exists x \forall y \enot Lxy$'.
Another way to think about \eref{negquan2} is as saying: there is some $x$ such that there does not exist any $y$ whom $x$ loves. So we can also symbolize it as $\exists x \enot \exists y Lxy$'. This illustrates that the Quantifier Equivalence Laws from \S\ref{s:Quantifiers}, which govern the movement of negation across quantifiers, continue to hold in multiply quantified sentences. Similarly, if we start with `$\enot \exists x \forall y Lxy$', which was our symbolization of \eref{negquan1}, and move the negation across both quantifiers, we end up with `$\forall x \exists y \enot Lxy$'. This says that for every $x$ there is at least one $y$ whom $x$ does not love, which is indeed another way to capture the truth conditions of \eref{negquan1}.
\practiceproblems
\problempart Symbolize the following (in a domain of people):
\begin{earg}
\item Plato admires someone.
\item Everyone admires Plato.
\item If everyone admires Plato, then Plato also admires himself.
\item Everyone loves someone.
\item Someone loves everyone.
\item Everyone is loved by someone.
\item Someone is loved by everyone.
\item Everyone loves everyone.
\item Someone loves no one
\item No one loves everyone.
\item No one is loved by everyone.
\item Someone is loved by no one.
\end{earg}
\section{Intermediate Steps to Symbolization}\label{s:FOLSymSteps}
Symbolization in FOL gets tricky as the English sentences we want to symbolize become more complex. In such cases, it's best to break a symbolization down into intermediate steps. Take the following increasingly complicated examples:
\begin{earg}
\item[\ex{log1}] Every logician admires Marcus.
\item[\ex{log2}] Carnap admires some philosopher.
\item[\ex{log3}] Every logician admires some philosopher.
\item[\ex{log4}] Every logician who is admired by someone admires at least one philosopher.
%\item[\ex{log5}] Every dog owner is a friend of a dog owner.
%\item[\ex{dog6}] Every dog owner's friend owns some friend's dog.
\end{earg}
\noindent Let's use the following symbolization key:
\begin{ekey}
\item[\text{Domain}] people
\item[L] \blank\ is a logician
\item[P] \blank\ is a philosopher
\item[A] \blank\ admires \blank
\item[c] Carnap
\item[m] Marcus
\end{ekey}
Starting with \eref{log1}, we see that we're dealing with a complex quantifier `every logician' rather than the simple `everyone', so it'll be helpful the divide the sentence into a restrictor predicate a main predicate, as we did in \S\ref{s:QuantifierPhrases}. The restrictor predicate is `logician', and the main predicate is `admires Marcus', and these will have to be joined by an $\eif$ since the quantifier is universal. So as an intermediate step we get: $$\forall x(x \text{ is a logician} \eif x \text{ admires Marcus})$$ The antecedent just becomes `$Lx$'. The consequent gets symbolized as `$Axm$', with the variable $x$ in the admiring-slot and the name $m$ in the admired-slot. So we get:$$\forall x(Lx \eif Axm)$$ as our final symbolization.
Sentence \eref{log2} involves a `some' quantifier, but it occurs at the end of the sentence, in the direct-objet position of `admires'. To symbolize it, it will help to first paraphrase it so that the quantifier shows up at the beginning: `some philosopher is admired by Carnap'. Since this is an existential sentence, the restrictor and the main predicate will get connected with an \eand, so our first intermediate step is:$$\exists x(x \text{ is a philosopher} \land x \text{ is admired by Carnap})$$The restrictor gets symbolized as `$Px$' and the main predicate as `$Acx$', giving us:$$\exists x(Px \land Acx)$$
Next, sentence \eref{log3} has a structure similar to \eref{log1}, except that the main predicate is now `admires some philosopher' rather than simply `admires Marcus':$$\forall x(Lx \eif x \text{ admires some philosopher})$$ Notice that `$x$ admires some philosopher' is just like \eref{log2} except with `$x$' in place of `Carnap'. Since we symbolized \eref{log2} as $\exists x(Px \land Acx)$, we can symbolize `$x$ admires some philosopher' as $\exists y(Py \eand Axy)$. Here we have to use a different variable, `$y$', with this existential quantifier, since we'realready using `$x$' for the main universal quantifier in the sentence. Putting it all together we get:$$\forall x(Lx \eif \exists y(Py \eand Axy))$$
Finally, we get to \eref{log4}, the most complicated of our four examples. This is a universal sentence and can be split into restrictor and main predicate as follows:$$\forall x(x \text{ is a logician who is admired by someone} \eif x \text{ admires at least one philosopher})$$Let's consider each part in turn. The restrictor can be paraphrased as: $x$ is a logician and $x$ is admired by someone. To say that $x$ is admired by someone is to say that someone admires $x$, which can be symbolized as `$\exists yAyx$' in our domain of people. This gives us:$$\forall x((Lx \eand \exists yAyx) \eif x \text{ admires at least one philosopher})$$as the next intermediate step. Next comes the main predicate: `$x$ admires at least one philosopher'. Here `at least one' is an existential quantifier, so let's rephrase this in a way that puts this quantifier into the subject position: `at least one philosopher is admired by $x$'. We can symbolize the latter as $\exists y(Py \eand Axy)$, giving us: $$\forall x((Lx \eand \exists yAyx) \eif \exists y(Py \eand Axy))$$as our final symbolization.
We here decided to use the same variable, `$y$', for the existential quantifiers in the antecedent \emph{and} the consequent of the conditional. This is ok, because there is no scope overlap between the two. We can graphically represent the scope of the various quantifiers thus:
$$\overbrace{\forall x\bigl(\ (Lx \ \eand \overbrace{\exists yAyx}^{\text{scope of 1st `}\exists y\text{'}}) \eif \overbrace{\exists y(Py \eand Axy)}^{\text{scope of 2nd `}\exists y\text{'}} \ \bigr)}^{\text{scope of `}\forall x\text{'}}$$
Since the scopes of the two `$\exists y$' quantifiers don't overlap, there is no clash of variables. That said, to be absolutely safe, it's good to just pick a different variable for each quantifier in your symbolization. So the following, where we use `$\exists z$' in the consequent, would be an equally good, and ``safer,'' symbolization of \eref{log4}:$$\forall x((Lx \eand \exists yAyx) \eif \exists z(Pz \eand Axz))$$
Students who are first learning FOL symbolization sometimes want to put all the quantifiers out front, at the beginning of the sentence, perhaps like so:
$$\forall x\exists y \exists z((Lx \eand Ayx) \eif (Pz \eand Axz))$$
This is not a correct symbolization of \eref{log4}, however, and indeed virtually impossible to make sense of. Avoid doing this. Instead, use the strategy of breaking things down via intermediate steps, as we've done in these examples. By following doing this you will arrive at a correct symbolization with all the quantifiers in the right places.
%\section{Intermediate Steps to Symbolization}\label{s:FOLSymSteps}
%As we are starting to see, symbolization in FOL can become tricky. When symbolizing a complex sentence, it is best to proceed by way of several intermediate steps. Let's look at some examples. Consider the following sentences:
%\begin{earg}
%\item[\ex{dog2}] Geraldo owns a dog.
%\item[\ex{dog3}] Someone owns a dog.
%\item[\ex{dog4}] All of Geraldo's friends are dog owners.
%\item[\ex{dog5}] Every dog owner is a friend of a dog owner.
%%\item[\ex{dog6}] Every dog owner's friend owns some friend's dog.
%\end{earg}
%We'll use the following symbolization key:
%\begin{ekey}
%\item[\text{domain}] things
%\item[D] \blank\ is a dog
%\item[F] \blank\ is a friend of \blank
%\item[O] \blank\ owns \blank
%\item[g] Geraldo
%\end{ekey}
%
%Sentence \eref{dog2} can be paraphrased as, `There is a dog that Geraldo owns'. This can be symbolized by `$\exists x(Dx \eand Ogx)$'.
%
%Sentence \eref{dog3} can be paraphrased as, `There is some y such that y owns a dog'. We can begin by just focusing on the initial quantifier, which gives us `$\exists y(y\text{ owns a dog})$'. Now the fragment `$y$ owns a dog' is exactly like sentence \eref{dog2}, except it contains a variable instead of a name. So we could symbolize this fragment as $\exists x(x \text{ is a dog} \eand y \text{ owns } x)$. Putting it all together we get the following:
%$$\exists y \exists x(Dx \eand Oyx)$$
%In working out how to symbolize this sentence, we wrote down things like `$\exists y(y\text{ owns a dog})$' and $\exists x(x \text{ is a dog} \eand y \text{ owns } x)$. To be very clear: these are \emph{neither} FOL sentence \emph{nor} English sentences. They use bits of FOL (`$\exists$', `$y$') and bits of English (`owns a dog'). These really are just \emph{intermediate steps} on the way to symbolizing the English sentence, a bit of ``scratch work'' we do on the side as we work through the problem.
%
%Sentence \eref{dog4} can be paraphrased as, `Everyone who is a friend of Geraldo is a dog owner'. Since being a dog owner is the same as owning a dog, we can in turn paraphrase this as `Everyone who is a friend of Geraldo owns a dog'. So we can write:
%$$\forall x \bigl[Fxg \eif x \text{ owns a dog}\bigr]$$
%as our first intermediate step. Now the consequent of the conditional, `$x$ is a dog owner', is structurally just like sentence \eref{dog2}. Using our symbolization of \eref{dog2} as a guide, we get:
%$$\forall x \bigl[Fxg \eif \exists y(Dy \eand Oxy)\bigr]$$
%
%Notice that it was essential that we used a variable other than `$x$' for the existential quantifier in the consequent. If we had instead written:
%$$\forall x \bigl[Fxg \eif \exists x(Dx \eand Oxx)\bigr]$$
%we would have had a \emph{clash of variables}. The first variable `$x$' after the predicate `$O$' represents the agent, the person doing the owning, who is a friend of Geraldo. Accordingly, this variable should get bound by the initial quantifier `$\forall x$' that also binds the `$x$' in the antecedent `$Fxg$'. But if we now use `$\exists x$' in the consequent, then it should bind every `$x$' in its scope, including the first one in `$Oxx$'. To avoid this clash of variables, we have to use a different variable for the quantifier in the consequent, as in `$\forall x \bigl[Fxg \eif \exists y(Dy \eand Oxy)\bigr]$'. The broad moral is that a single variable cannot serve two masters simultaneously.
%
%
%Moving to sentence \eref{dog5}, it can be paraphrased as `For any $x$, if $x$ is a dog owner, then $x$ is a friend of some dog owner'. As our first intermediate step, we might have:
%$$\forall x\bigl[\mbox{$x$ is a dog owner}\eif\exists y(\mbox{$y$ is a dog owner}\eand Fxy)\bigr]$$
%Again, being a dog owner is the same as owning some dog, and we know how to symbolize that. To avoid a variable clash, we'll have to use an existential quantifier that won't threaten to bind either the `$x$' or the `$y$' we already have in our intermediate step. So let's use `$\exists z$' in both cases, giving us:
%$$\forall x\bigl[\exists z(Dz \eand Oxz)\eif\exists y\bigl(\exists z(Dz \eand Oyz)\eand Fxy\bigr)\bigr]$$
%Here `$\exists z(Dz \eand Oxz)$' just says that $x$ owns a dog, and `$\exists z(Dz \eand Oyz)$' that $y$ owns a dog.
%
%
%We here decided to use the same variable, `$z$', in both the antecedent \emph{and} the consequent of the conditional. This is ok, because there is no scope overlap between the two. We might graphically represent the scope of the various quantifiers thus:
%$$\overbrace{\forall x\bigl[\overbrace{\exists z(Dz \eand Oxz)}^{\text{scope of 1st `}\exists z\text{'}}\eif \overbrace{\exists y(\overbrace{\exists z(Dz \eand Oyz)}^{\text{scope of 2nd `}\exists z\text{'}}\eand Fyx)\bigr]}^{\text{scope of `}\exists y\text{'}}}^{\text{scope of `}\forall x\text{'}}$$
%Since the scopes of the two `$\exists z$' quantifiers don't overlap, there is no clash of variables. That said, if you want to be absolutely safe, you can always just pick a different variable for each quantifier in your symbolization. So the following, where we use `$\exists v$' in the consequent, would be perfectly good symbolization of \eref{dog5} as well:
%$$\forall x\bigl[\exists z(Dz \eand Oxz)\eif\exists y\bigl(\exists v(Dv \eand Oyv)\eand Fxy\bigr)\bigr]$$
%
%%Sentence \eref{dog6} is the trickiest yet. First we paraphrase it as `For any x, if x is a friend of a dog owner, then x owns a dog which is also owned by a friend of x'. As a first intermediate step we get:
%%$$\forall x\bigl[x\text{ is a friend of a dog owner}\eif x\text{ owns a dog which is owned by a friend of }x\bigr]$$
%%Breaking this down a bit more we get:
%%$$\forall x\bigl[\exists y(Fxy \eand y\text{ is a dog owner})\eif \exists y(Dy \eand Oxy \eand y\text{ is owned by a friend of }x)\bigr]$$
%%I here use `$\exists y$' in both the antecedent and consequent, which is again fine because their scopes do not overlap. To complete the symbolization, we now just have to symbolize `$y$ is a dog owner' and `$y$ is owned by a friend of $x$', giving us:
%%$$\forall x\bigl[\exists y(Fxy \eand \exists z(Dz \eand Oyz)) \eif \exists y(Dy \eand Oxy \eand \exists z(Fzx \eand Ozy))\bigr]$$
%%And we are done!
%%
%%Again, we could have used different variables for each of the quantifiers, for example:
%%$$\forall x\bigl[\exists y(Fxy \eand \exists z(Dz \eand Oyz)) \eif \exists v(Dv \eand Oxv \eand \exists u(Fux \eand Ouv))\bigr]$$
%Students who are first learning FOL symbolization sometimes want to put all the quantifiers out front, at the beginning of the sentence, perhaps like so:
%$$\forall x\exists z \exists y \exists v\bigl[(Dz \eand Oxz)\eif \bigl((Dv \eand Oyv)\eand Fxy\bigr)\bigr]$$
%
%This is not a correct symbolization of \eref{dog5}, and indeed, virtually impossible to make sense of. Avoid doing this. Instead, use the strategy of breaking things down via intermediate steps, as we've done in these examples. By following this strategy, you will arrive at a correct symbolization, with all the quantifiers in the right places.
\practiceproblems
\problempart Symbolize the following using two-place predicates. (Note: problem 6 and 7 involve nouns that express relational notions, so these can be symbolized using the two-place predicates `\blank is an assassin of \blank' and `\blank is a friend of \blank'.)
\begin{earg}
\item Every doctor cured someone.
\item Every doctor cured a patient.
\item Every student is admired by someone.
\item Every logician is admired by some philosopher.
\item No politician admires everyone.
\item No politician admires every senator.
\item Some famous soprano is admired by every tenor.
\item No self-respecting lawyer admires every judge.
\item All of Caesar's assassins were friends of Brutus.
\item Some of Caesars advisors knew all of Caesar's assassins but suspected none of them.
\item Every tenor from Italy is respected by some famous soprano.
%\item There is no greatest prime number.
\end{earg}
%NOTE: examples 6 and 7 involve relational notions expressed by nouns: `\_ is an assassin of \_', `\_ is a friend of \_', `\_ is an advisor to \_ '.
%\problempart
%Using this symbolization key:
%\begin{ekey}
%\item[\text{domain}] things
%\item[A] \blank\ is an alligator
%\item[M] \blank\ is a monkey
%\item[R] \blank\ is a reptile
%\item[Z] \blank\ lives at the zoo
%\item[L] \blank\ loves \blank
%\item[a] Amos
%\item[b] Bouncer
%\item[c] Cleo
%\end{ekey}
%symbolize each of the following sentences in FOL:
%\begin{earg}
%%\item Amos, Bouncer, and Cleo all live at the zoo.
%%\item Bouncer is a reptile, but not an alligator.
%\item If Cleo loves Bouncer, then Bouncer is a monkey.
%\item If both Bouncer and Cleo are alligators, then Amos loves them both.
%%\item Some reptile lives at the zoo.
%%\item Every alligator is a reptile.
%%\item Any animal that lives at the zoo is either a monkey or an alligator.
%%\item There are reptiles which are not alligators.
%\item Cleo loves a reptile.
%\item Bouncer loves all the monkeys that live at the zoo.
%\item All the monkeys that Amos loves love him back.
%%\item If any animal is an reptile, then Amos is.
%%\item If any animal is an alligator, then it is a reptile.
%\item Every monkey that Cleo loves is also loved by Amos.
%\item There is a monkey that loves Bouncer, but sadly Bouncer does not reciprocate this love.
%\end{earg}
%
%\problempart
%Using this symbolization key:
%\begin{ekey}
%\item[\text{domain}] things
%\item[D] \blank\ is a dog
%\item[S] \blank\ likes samurai movies
%\item[L] \blank\ is larger than \blank
%\item[b] Bertie
%\item[e] Emerson
%\item[f] Fergis
%\end{ekey}
%symbolize the following sentences in FOL (provide your own symbolization key for each):
%\begin{earg}
%\item Bertie is a dog who likes samurai movies.
%\item Bertie, Emerson, and Fergis are all dogs.
%\item Emerson is larger than Bertie, and Fergis is larger than Emerson.
%\item All dogs like samurai movies.
%\item Only dogs like samurai movies.
%\item There is a dog that is larger than Emerson.
%\item If there is a dog larger than Fergis, then there is a dog larger than Emerson.
%\item No animal that likes samurai movies is larger than Emerson.
%\item No dog is larger than Fergis.
%\item Any animal that dislikes samurai movies is larger than Bertie.
%\item There is an animal that is between Bertie and Emerson in size.
%\item There is no dog that is between Bertie and Emerson in size.
%\item No dog is larger than itself.
%\item Every dog is larger than some dog.
%\item There is an animal that is smaller than every dog.
%\item If there is an animal that is larger than any dog, then that animal does not like samurai movies.
%\end{earg}
%
%\problempart
%Using this symbolization key:
%\begin{ekey}
%\item[\text{domain}] things
%\item[R] \blank\ has run out.
%\item[T] \blank\ is on the table.
%\item[F] \blank\ is food.
%\item[P] \blank\ is a person.
%\item[L] \blank\ likes \blank\
%\item[e] Eli
%\item[f] Francesca
%\item[g] the guacamole
%\end{ekey}