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

Notation

  • Constants carry a prime: \(\mathit{student}'\), \(\mathit{read}'\), \(a'\). Variables are single characters: \(x, y, z\).
  • Application is Montagovian and left-associative, so \(\mathit{read}'yx\) abbreviates \(((\mathit{read}'\,y)\,x)\). Arguments are in reverse order: the object comes first and the subject last. So \(\mathit{like}'yx\) means “\(x\) likes \(y\)”.
  • A dot marks the scope of a quantifier, which extends as far right as possible, up to the closing parenthesis or the end of the formula: \(\forall x.\,\mathit{student}'x \to \exists y.\,\mathit{prof}'y \land \mathit{like}'yx\).
  • Binding strength, strongest first: \(\lnot\), \(\land\) and \(\lor\), \(\to\). Use parentheses wherever a quantifier’s scope must be cut short, for example \((\exists x.\,\mathit{student}'x) \land (\exists x.\,\mathit{prof}'x)\).
  • Identity is written \(x = y\) and \(x \neq y\).

Shared model \(\mathcal{M}\)

Domain \(D = \{a, b, c, p, q\}\) where \(a\) = Ayşe, \(b\) = Burak, \(c\) = Can, \(p\) = a novel, \(q\) = a dictionary. The individual constants \(a', b', c', p', q'\) denote \(a, b, c, p, q\) respectively.

Constant Meaning Extension in \(\mathcal{M}\)
\(\mathit{student}'\) is a student \(\{a, b\}\)
\(\mathit{prof}'\) is a professor \(\{c\}\)
\(\mathit{book}'\) is a book \(\{p, q\}\)
\(\mathit{read}'\) reads \(\{(a,p), (b,p), (b,q)\}\)
\(\mathit{like}'\) likes \(\{(a,c), (b,c), (c,a)\}\)
\(\mathit{write}'\) wrote \(\{(c,p)\}\)

For the binary constants, each pair is listed as (subject, object). So \((a,p) \in \mathit{read}'\) makes \(\mathit{read}'p'a'\) true. Extra constants for translation tasks: \(\mathit{dict}'\) (is a dictionary), \(\mathit{own}'\) (owns), \(\mathit{lazy}'\).

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. (Use the constant \(c'\).)
  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. (Use \(a'\).)

1B. FOL to English

  1. \[\exists x.\,\mathit{student}'x \land \forall y.\,\mathit{book}'y \to \mathit{read}'yx\]
  2. \[\forall x.\,\mathit{prof}'x \to \lnot\exists y.\,\mathit{student}'y \land \mathit{like}'yx \land \lnot \mathit{like}'xy\]
  3. \[\forall x.\,\forall y.\,\mathit{like}'yx \to \lnot \mathit{read}'yx\]

1C. Spot the error

  1. “Every student reads a book” is rendered as \(\forall x.\,\mathit{student}'x \land \exists y.\,\mathit{book}'y \land \mathit{read}'yx\). What is wrong?
  2. “Some student is lazy” is rendered as \(\exists x.\,\mathit{student}'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.\,\mathit{student}'x \to \exists y.\,\mathit{book}'y \land \mathit{read}'yx\]
  2. \[\exists y.\,\mathit{book}'y \land \forall x.\,\mathit{student}'x \to \mathit{read}'yx\]
  3. \[\exists x.\,\mathit{student}'x \land \forall y.\,\mathit{book}'y \to \mathit{read}'yx\]
  4. \[\forall y.\,\mathit{book}'y \to \exists x.\,\mathit{student}'x \land \mathit{read}'yx\]
  5. \[\exists x.\,\exists y.\,\mathit{like}'yx \land \mathit{like}'xy\]
  6. \[\forall x.\,\mathit{student}'x \to \exists y.\,\mathit{prof}'y \land \mathit{like}'yx \land \lnot \mathit{like}'xy\]
  7. \[\exists x.\,\forall y.\,\mathit{like}'yx\]
  8. \[\forall x.\,\exists y.\,\mathit{like}'yx\]
  9. \[\forall x.\,\mathit{read}'p'x \to \mathit{student}'x\]
  10. \(\forall x.\,\mathit{student}'x \land \mathit{prof}'x \to \bot\) (Why is this true in \(\mathcal{M}\) even though it looks strange?)
  11. For the open formula \(\varphi(x) = \exists y.\,\mathit{book}'y \land \mathit{read}'yx\), list all assignments of \(x\) that satisfy it.

Part 3: Countermodels and entailment

  1. Give a model falsifying \(\forall x.\,\mathit{student}'x \to \exists y.\,\mathit{book}'y \land \mathit{read}'yx\).
  2. Show that \(\forall x.\,\exists y.\,\mathit{read}'yx \not\models \exists y.\,\forall x.\,\mathit{read}'yx\) by giving a countermodel. Describe it in plain English too.
  3. Show that \((\exists x.\,\mathit{student}'x) \land (\exists x.\,\mathit{prof}'x) \not\models \exists x.\,\mathit{student}'x \land \mathit{prof}'x\).
  4. Give a finite model of \((\forall x.\,\exists y.\,\mathit{like}'yx) \land \lnot\exists x.\,\mathit{like}'xx\). What is the smallest possible domain size?
  5. Does \(\forall x.\,\mathit{student}'x \to \mathit{read}'xx \models \exists x.\,\mathit{read}'xx\)? Explain.
  6. Does \(\exists x.\,\forall y.\,\mathit{read}'yx \models \forall y.\,\exists x.\,\mathit{read}'yx\)? 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 \(\mathit{like}'\) to make it true.
  2. Formula 18 is true. Remove one pair from \(\mathit{read}'\) to make it false. Which single removals do not work, and why?
  3. Change only \(\mathit{write}'\) so that “Every book was written by a professor” becomes true.
  4. Change only the extension of \(\mathit{prof}'\) so that \(\forall x.\,\mathit{student}'x \to \exists y.\,\mathit{prof}'y \land \mathit{like}'yx\) becomes false.
  5. Can you falsify formula 20 by changing only \(\mathit{student}'\)? Why or why not?
  6. Add a new element \(e\) that belongs to no predicate. Which of these change truth value: (i) \(\forall x.\,\mathit{student}'x \to \exists y.\,\mathit{book}'y \land \mathit{read}'yx\), (ii) \(\forall x.\,\mathit{book}'x \lor \mathit{student}'x \lor \mathit{prof}'x\)?
  7. Make formula 22 true by adding as few pairs as possible.

Answer key

Part 1

  1. \[\forall x.\,\mathit{student}'x \to \exists y.\,\mathit{book}'y \land \mathit{read}'yx\]
  2. \(\exists y.\,\mathit{book}'y \land \forall x.\,\mathit{student}'x \to \mathit{read}'yx\). It is strictly stronger: item 1 allows a different book for each student.
  3. \[\lnot\exists x.\,\mathit{student}'x \land \forall y.\,\mathit{prof}'y \to \mathit{like}'yx\]
  4. \[\forall x.\,(\exists y.\,\mathit{dict}'y \land \mathit{read}'yx) \to \mathit{student}'x\]
  5. \[\exists x.\,\mathit{student}'x \land \mathit{like}'c'x \land \forall y.\,(\mathit{student}'y \land \mathit{like}'c'y) \to y = x\]
  6. \[\exists x.\,\exists y.\,\exists z.\,\mathit{student}'x \land \mathit{student}'y \land x \neq y \land \mathit{book}'z \land \mathit{read}'zx \land \mathit{read}'zy\]
  7. \(\forall x.\,\forall y.\,(\mathit{student}'x \land \mathit{book}'y \land \mathit{own}'yx) \to \mathit{read}'yx\). The universal reading is needed. An existential in the antecedent would leave \(y\) unbound in the consequent.
  8. \[\exists x.\,\mathit{prof}'x \land (\forall y.\,\mathit{prof}'y \to y = x) \land \exists z.\,\mathit{book}'z \land \mathit{write}'zx\]
  9. Surface scope: \(\forall x.\,\mathit{student}'x \to \exists y.\,\mathit{prof}'y \land \mathit{like}'yx\). Inverse scope: \(\exists y.\,\mathit{prof}'y \land \forall x.\,\mathit{student}'x \to \mathit{like}'yx\). They differ when each student likes a different professor.
  10. \(\forall x.\,(\mathit{student}'x \land x \neq a') \to \exists y.\,\mathit{book}'y \land \mathit{read}'yx\). 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. More idiomatically, people never like what they read.
  14. The conjunction forces everything to be a student. It should use \(\to\) under \(\forall\). The dot scope also makes the final \(\mathit{read}'yx\) fall inside \(\exists y\) correctly, but the first conjunct is the real problem.
  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 \(\mathit{read}'\).
  2. Take \(D = \{1,2,3,4\}\) and \(\mathit{read}' = \{(1,3), (2,4)\}\), with 1 and 2 the readers. Every reader reads something, but no single item is read by everyone.
  3. Domain \(\{1,2\}\), \(\mathit{student}' = \{1\}\), \(\mathit{prof}' = \{2\}\).
  4. Domain \(\{1,2\}\), \(\mathit{like}' = \{(1,2),(2,1)\}\). A one-element domain is impossible, so the minimum is 2.
  5. No. Take a model with empty \(\mathit{student}'\) and empty \(\mathit{read}'\): the premise is vacuously true and the conclusion false.
  6. Yes. If some \(x_0\) reads every \(y\), then every \(y\) has an \(x\) (namely \(x_0\)) with \(\mathit{read}'yx\).
  7. Students \(\{s\}\), books \(\{k_1, k_2\}\), \(\mathit{read}' = \{(s, k_1)\}\).
  8. \((\exists x.\,\exists y.\,x \neq y) \land \lnot\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 \(\mathit{like}'\). Then \(c\) no longer likes \(a\) back, and \(b\) is already fine.
  2. Remove \((b,p)\) or \((b,q)\). Removing \((a,p)\) does not work because \(b\) still witnesses the formula.
  3. Add \((c,q)\) to \(\mathit{write}'\).
  4. Make \(\mathit{prof}'\) empty. Students exist, but nobody they like is a professor.
  5. No. Formula 20 does not mention \(\mathit{student}'\), so changing it 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 pairs.

Updated: