Problem Set For Tutorial 1 - TDDD08: 1 Syntax of First-Order Logic
Problem Set For Tutorial 1 - TDDD08: 1 Syntax of First-Order Logic
Victor Lagerkvist†1
1
Department of Computer and Information Science, Linköping University, Linköping, Sweden
3. ∃x(p(f (x)) ∧ q(x)) where p and q are predicate symbols and f a function symbol. Yes.
4. ∃x(p(f (x)) ∧ ∃xq(x)) where p and q are predicate symbols and f a function symbol. Yes.
5. ∀x(f (x) ∧ p(x)) where f is a function symbol and p a predicate symbol. No.
1.2 Exercise
Translate the following sentences into first-order logic:
Possible translations:
1. ∀x(employee(x) → income(x)).
∗
Some exercises taken from TDDD72.
†
victor.lagerkvist@liu.se
1
2. ∃x(employee(x) ∧ holiday(x)).
3. ∀x(employee(x) → ¬unemployed(x)).
4. ∃x(employee(x) ∧ ¬satisfied(x, salary policy)).
1.3 Exercise
Translate the following formulas into natural language:
1. ∀x((strongEngine(x) ∧ car(x) ∧ wheels(x, 4)) → fast(x)).
2. ∀x∀y((parent(x, y) ∧ ancestor(y)) → ancestor(x)).
3. ∀x∀y((car(x) ∧ onRoad(x, y) ∧ highway(y) ∧ normalConditions(y)) → fastSpeedAllowed(x)).
Possible translations:
2.2 Exercise
Consider the formula nat(0) ∧ ∀x (nat(x) → nat(f (x))). Provide two interpretations: one which is a
model and one which is not.
Possible interpretations: