Quiz bank: first-order logic and model theory in natural language

Shared model \(\mathcal{M}\)

Domain \(D = \{a, b, c, p, q\}\) with \(a\) = Ayşe, \(b\) = Burak, \(c\) = Can, \(p\) = a novel, \(q\) = a dictionary.

Symbol Meaning Extension in \(\mathcal{M}\)
\(S\) is a student \(\{a, b\}\)
\(P\) is a professor \(\{c\}\)
\(B\) is a book \(\{p, q\}\)
\(R\) reads \(\{(a,p), (b,p), (b,q)\}\)
\(L\) likes \(\{(a,c), (b,c), (c,a)\}\)
\(W\) wrote \(\{(c,p)\}\)

Further symbols for translation tasks: \(D(x)\) = dictionary, \(O(x,y)\) = owns, constants \(a\), \(c\).

Part 1: Translation

1A. English to FOL

  1. Every student reads some book.
  2. Some book is read by every student. How does it differ from item 1?
  3. No student likes every professor.
  4. Only students read dictionaries.
  5. Exactly one student likes Can.
  6. At least two students read the same book.
  7. Every student who owns a book reads it. (Donkey sentence: which quantifier does “a book” need, and why?)
  8. The professor wrote a book. (Use Russell’s analysis of the definite description.)
  9. “Every student likes a professor.” Give both readings and a situation where they differ.
  10. All students except Ayşe read a book.

1B. FOL to English

  1. \[\exists x\,(S(x) \land \forall y\,(B(y) \to R(x,y)))\]
  2. \[\forall x\,(P(x) \to \neg\exists y\,(S(y) \land L(x,y) \land \neg L(y,x)))\]
  3. \[\forall x\,\forall y\,(L(x,y) \to \neg R(x,y))\]

1C. Spot the error

  1. “Every student reads a book” is rendered as \(\forall x\,(S(x) \land \exists y\,(B(y) \land R(x,y)))\). What is wrong?
  2. “Some student is lazy” is rendered as \(\exists x\,(S(x) \to \mathit{Lazy}(x))\). What is wrong?

Part 2: Truth in a model

Decide whether each formula is true in \(\mathcal{M}\) and justify with witnesses or counterexamples.

  1. \[\forall x\,(S(x) \to \exists y\,(B(y) \land R(x,y)))\]
  2. \[\exists y\,(B(y) \land \forall x\,(S(x) \to R(x,y)))\]
  3. \[\exists x\,(S(x) \land \forall y\,(B(y) \to R(x,y)))\]
  4. \[\forall y\,(B(y) \to \exists x\,(S(x) \land R(x,y)))\]
  5. \[\exists x\,\exists y\,(L(x,y) \land L(y,x))\]
  6. \[\forall x\,(S(x) \to \exists y\,(P(y) \land L(x,y) \land \neg L(y,x)))\]
  7. \[\exists x\,\forall y\,L(x,y)\]
  8. \[\forall x\,\exists y\,L(x,y)\]
  9. \[\forall x\,(R(x,p) \to S(x))\]
  10. \(\forall x\,(S(x) \land P(x) \to \bot)\) (Why is this true in \(\mathcal{M}\) even though it looks strange?)
  11. For the open formula \(\varphi(x) = \exists y\,(B(y) \land R(x,y))\), list all assignments of \(x\) that satisfy it.

Part 3: Countermodels and entailment

  1. Give a model falsifying \(\forall x\,(S(x) \to \exists y\,(B(y) \land R(x,y)))\).
  2. Show that \(\forall x\,\exists y\,R(x,y) \not\models \exists y\,\forall x\,R(x,y)\) by giving a countermodel. Describe it in plain English too.
  3. Show that \(\exists x\,S(x) \land \exists x\,P(x) \not\models \exists x\,(S(x) \land P(x))\).
  4. Give a finite model of \(\forall x\,\exists y\,L(x,y) \land \neg\exists x\,L(x,x)\). What is the smallest possible domain size?
  5. Does \(\forall x\,(S(x) \to R(x,x)) \models \exists x\,R(x,x)\)? Explain.
  6. Does \(\exists x\,\forall y\,R(x,y) \models \forall y\,\exists x\,R(x,y)\)? Prove or refute.
  7. Give a model where “Every student reads a book” is true but “Every book is read by a student” is false.
  8. Write a sentence (with \(=\)) true exactly in models with exactly two elements, and give one model.

Part 4: Changing the model

Start from \(\mathcal{M}\) and make the smallest change asked for.

  1. Formula 21 is false. Change only \(L\) to make it true.
  2. Formula 18 is true. Remove one tuple from \(R\) to make it false. Which single removals do not work, and why?
  3. Change only \(W\) so that “Every book was written by a professor” becomes true.
  4. Change only the extension of \(P\) so that \(\forall x\,(S(x) \to \exists y\,(P(y) \land L(x,y)))\) becomes false.
  5. Can you falsify formula 20 by changing only \(S\)? Why or why not?
  6. Add a new element \(e\) that belongs to no predicate. Which of these change truth value: (i) \(\forall x\,(S(x) \to \exists y\,(B(y) \land R(x,y)))\), (ii) \(\forall x\,(B(x) \lor S(x) \lor P(x))\)?
  7. Make formula 22 true by adding as few tuples as possible.

Answer key

Part 1

  1. \[\forall x\,(S(x) \to \exists y\,(B(y) \land R(x,y)))\]
  2. \(\exists y\,(B(y) \land \forall x\,(S(x) \to R(x,y)))\). It is strictly stronger: item 1 allows different books per student.
  3. \[\neg\exists x\,(S(x) \land \forall y\,(P(y) \to L(x,y)))\]
  4. \[\forall x\,(\exists y\,(D(y) \land R(x,y)) \to S(x))\]
  5. \[\exists x\,(S(x) \land L(x,c) \land \forall y\,((S(y) \land L(y,c)) \to y = x))\]
  6. \[\exists x\,\exists y\,\exists z\,(S(x) \land S(y) \land x \neq y \land B(z) \land R(x,z) \land R(y,z))\]
  7. \(\forall x\,\forall y\,((S(x) \land B(y) \land O(x,y)) \to R(x,y))\). A universal reading is needed; \(\exists\) in the antecedent would leave \(y\) unbound in the consequent.
  8. \[\exists x\,(P(x) \land \forall y\,(P(y) \to y = x) \land \exists z\,(B(z) \land W(x,z)))\]
  9. Surface scope: \(\forall x\,(S(x) \to \exists y\,(P(y) \land L(x,y)))\). Inverse scope: \(\exists y\,(P(y) \land \forall x\,(S(x) \to L(x,y)))\). They differ when each student likes a different professor.
  10. \(\forall x\,((S(x) \land x \neq a) \to \exists y\,(B(y) \land R(x,y)))\). Optionally add that Ayşe reads no book, depending on whether “except” implies it.
  11. Some student reads every book.
  12. No professor likes a student who does not like them back.
  13. Nobody reads anyone they like (people never like what they read).
  14. The conjunction forces everything to be a student. It should use \(\to\) under \(\forall\).
  15. It is true whenever anything is not a student. It should use \(\land\) under \(\exists\).

Part 2

# Value Reason
16 True \(a\) reads \(p\), \(b\) reads \(p\)
17 True \(p\) is read by both students
18 True \(b\) reads \(p\) and \(q\)
19 True \(p\) by \(a\), \(q\) by \(b\)
20 True \(a\) and \(c\) like each other
21 False for \(a\), the only liked professor \(c\) likes \(a\) back
22 False nobody likes everything, themselves included
23 False \(p\) and \(q\) like nobody
24 True only \(a\) and \(b\) read \(p\)
25 True no element is both student and professor
26 \(x \mapsto a\), \(x \mapsto b\) they read some book

Part 3

  1. One student, no books, empty \(R\) (or a student who reads nothing).
  2. Take \(D = \{1,2,3,4\}\) and \(R = \{(1,3), (2,4)\}\). Every element of \(\{1,2\}\) has an \(R\)-successor, but no single element is read by both.
  3. Domain \(\{1,2\}\), \(S = \{1\}\), \(P = \{2\}\).
  4. Domain \(\{1,2\}\), \(L = \{(1,2),(2,1)\}\). A one-element domain is impossible, so the minimum is 2.
  5. No. Take a model with empty \(S\) and empty \(R\); the premise is vacuously true, the conclusion false.
  6. Yes. If some \(x_0\) is related by \(R\) to every \(y\), then every \(y\) has an \(x\) (namely \(x_0\)) with \(R(x,y)\).
  7. Students \(\{s\}\), books \(\{k_1, k_2\}\), \(R = \{(s, k_1)\}\).
  8. \(\exists x\,\exists y\,(x \neq y) \land \neg\exists x\,\exists y\,\exists z\,(x \neq y \land y \neq z \land x \neq z)\). Model: any 2-element set.

Part 4

  1. Delete \((c,a)\) from \(L\). Then \(a\) likes \(c\) without being liked back, and \(b\) likes \(c\) the same way.
  2. Remove \((b,p)\) or \((b,q)\). Removing \((a,p)\) does not work because \(b\) still witnesses the formula.
  3. Add \((c,q)\) to \(W\).
  4. Make \(P\) empty. Students exist, but nobody they like is a professor.
  5. No. Formula 20 does not mention \(S\), so changing \(S\) cannot affect it.
  6. (i) does not change, since \(e\) is not a student. (ii) changes from true to false, since \(e\) is none of the three.
  7. Pick \(c\) as the witness. It already likes \(a\), so add \((c,b)\), \((c,c)\), \((c,p)\), \((c,q)\): four new tuples.

Updated: