FOL Semantics — Meaning and Interpretation
Prerequisites
- FOL Syntax — terms, atoms, WFFs, quantifiers
- Propositional Logic Semantics — truth tables, models
🎯 Learning Objectives
- Define an interpretation (structure) for FOL: domain + assignments
- Evaluate truth of FOL formulas under a given interpretation
- Distinguish satisfiable, valid, and unsatisfiable formulas
- Understand logical consequence (φ ⊨ ψ) in FOL
1. Interpretations (Structures)
An interpretation (or structure) I for a FOL language consists of:
- Domain D — a non-empty set of objects (the “universe of discourse”).
- Constant assignment — each constant symbol c is mapped to an element cI ∈ D.
- Predicate assignment — each n-ary predicate P is mapped to a relation PI ⊆ Dn.
- Function assignment — each n-ary function f is mapped to a total function fI : Dn → D.
A variable assignment σ is a function that maps each variable to an element of D: σ : Variables → D.
We write σ[x ↦ d] for the assignment identical to σ except that x maps to d.
Language: constants {a, b}, predicate P (arity 1), function f (arity 1).
- D = {1, 2, 3}
- aI = 1, bI = 2
- PI = {1, 3} (P is true for 1 and 3)
- fI(1) = 2, fI(2) = 3, fI(3) = 1
2. Truth Under an Interpretation
Given interpretation I with domain D and variable assignment σ, the truth value of a formula φ is defined recursively:
- Term evaluation: val(c) = cI; val(x) = σ(x); val(f(t1,…,tn)) = fI(val(t1),…,val(tn)).
- Atom: I,σ ⊨ P(t1,…,tn) iff (val(t1),…,val(tn)) ∈ PI
- I,σ ⊨ ¬φ iff I,σ ⊭ φ
- I,σ ⊨ φ ∧ ψ iff I,σ ⊨ φ and I,σ ⊨ ψ
- I,σ ⊨ φ ∨ ψ iff I,σ ⊨ φ or I,σ ⊨ ψ
- I,σ ⊨ φ → ψ iff I,σ ⊭ φ or I,σ ⊨ ψ
- I,σ ⊨ ∀x φ iff for every d ∈ D: I,σ[x↦d] ⊨ φ
- I,σ ⊨ ∃x φ iff for some d ∈ D: I,σ[x↦d] ⊨ φ
3. Satisfiability, Validity, Logical Consequence
| Concept | Definition |
|---|---|
| Satisfiable | φ is satisfiable if there exists an interpretation I and assignment σ such that I,σ ⊨ φ |
| Valid (Tautology) | φ is valid (⊨ φ) if for every interpretation I and every σ: I,σ ⊨ φ |
| Unsatisfiable | φ is unsatisfiable if no interpretation makes it true |
| Logical Consequence | Γ ⊨ φ if every interpretation satisfying all formulas in Γ also satisfies φ |
| Logical Equivalence | φ ≡ ψ if φ ⊨ ψ and ψ ⊨ φ |
φ is valid iff ¬φ is unsatisfiable.
Proof sketch: φ is valid means I,σ ⊨ φ for all I,σ. So I,σ ⊭ ¬φ for all I,σ. Hence ¬φ has no satisfying interpretation, i.e., ¬φ is unsatisfiable. □
In propositional logic, validity is decidable (truth tables). In FOL, validity is only semi-decidable: if φ is valid, a proof can be found; if φ is not valid, the search may never terminate. This is a consequence of Church’s theorem.
4. Model Theory Basics
An interpretation I is a model of a sentence φ (or a set of sentences Γ) if I ⊨ φ (or I ⊨ every γ ∈ Γ).
Key results from model theory relevant to AI:
- Compactness Theorem: A set of sentences Γ has a model iff every finite subset of Γ has a model.
- Löwenheim–Skolem Theorem: If a countable set of FOL sentences has an infinite model, it has a model of every infinite cardinality.
GATE typically tests your ability to evaluate formulas under small given interpretations and determine satisfiability/validity. Deep model theory is rarely tested, but understanding models is crucial.
5. Worked Examples
Claim: This formula is valid (true in every interpretation).
Proof: Let I be any interpretation with domain D. Let aI = d0 ∈ D.
- Case 1: I ⊨ ∀x P(x). Then P holds for every element of D, including d0. So I ⊨ P(a). The implication is T → T = T.
- Case 2: I ⊭ ∀x P(x). Then the antecedent is false, so the implication is vacuously true (F → anything = T).
In both cases the formula is true. ∴ It is valid. □
Given: D = {1, 2}, aI = 1, PI = {1}, QI = {2}
Formula: ∀x (P(x) ∨ Q(x))
Evaluation:
- x = 1: P(1) ∨ Q(1) = T ∨ F = T ✓
- x = 2: P(2) ∨ Q(2) = F ∨ T = T ✓
Both elements satisfy P(x) ∨ Q(x), so ∀x (P(x) ∨ Q(x)) is true under this interpretation.
Formula: ∃x P(x) → ∀x P(x)
Counter-interpretation: D = {1, 2}, PI = {1}.
- ∃x P(x): True (P(1) is true).
- ∀x P(x): False (P(2) is false).
- T → F = F.
The formula is false in this interpretation, so it is not valid. However, it is satisfiable (e.g., D = {1}, PI = {1} makes it true).
Summary
- An interpretation specifies a domain D plus mappings for constants, predicates, and functions.
- Truth of quantified formulas: ∀x checks all domain elements; ∃x checks at least one.
- Valid ⇔ true in all interpretations ⇔ ¬φ is unsatisfiable.
- Γ ⊨ φ means φ is true in every model of Γ.
- FOL validity is semi-decidable (not decidable) — unlike propositional logic.
References
- Russell, S. & Norvig, P. AIMA, 4th Ed. — Section 8.2
- Enderton, H.B. A Mathematical Introduction to Logic, 2nd Ed. — Chapter 2