ConceptComplete

Predicate Logic - Key Properties

The semantic properties of first-order logic depend on structures (models) that interpret the non-logical symbols and provide domains over which variables range.

DefinitionStructure (Model)

A structure (or model) M\mathcal{M} for a first-order language L\mathcal{L} consists of:

  1. A non-empty set MM called the domain (or universe)
  2. For each constant symbol cc in L\mathcal{L}, an element cM∈Mc^\mathcal{M} \in M
  3. For each nn-ary function symbol ff in L\mathcal{L}, a function fM:Mn→Mf^\mathcal{M}: M^n \to M
  4. For each nn-ary predicate symbol PP in L\mathcal{L}, a relation PMβŠ†MnP^\mathcal{M} \subseteq M^n
DefinitionSatisfaction

Given a structure M\mathcal{M} and a variable assignment s:Varβ†’Ms: \text{Var} \to M, we define when M\mathcal{M} satisfies a formula Ο•\phi under ss, written MβŠ¨Ο•[s]\mathcal{M} \models \phi[s]:

  • M⊨P(t1,…,tn)[s]\mathcal{M} \models P(t_1, \ldots, t_n)[s] iff (t1M[s],…,tnM[s])∈PM(t_1^\mathcal{M}[s], \ldots, t_n^\mathcal{M}[s]) \in P^\mathcal{M}
  • MβŠ¨Β¬Ο•[s]\mathcal{M} \models \neg \phi[s] iff MβŠ¨ΜΈΟ•[s]\mathcal{M} \not\models \phi[s]
  • MβŠ¨Ο•βˆ§Οˆ[s]\mathcal{M} \models \phi \land \psi[s] iff MβŠ¨Ο•[s]\mathcal{M} \models \phi[s] and M⊨ψ[s]\mathcal{M} \models \psi[s]
  • MβŠ¨βˆ€x ϕ[s]\mathcal{M} \models \forall x \, \phi[s] iff MβŠ¨Ο•[sβ€²]\mathcal{M} \models \phi[s'] for all sβ€²s' that differ from ss at most on xx
  • MβŠ¨βˆƒx ϕ[s]\mathcal{M} \models \exists x \, \phi[s] iff MβŠ¨Ο•[sβ€²]\mathcal{M} \models \phi[s'] for some sβ€²s' that differs from ss at most on xx

For sentences (closed formulas), satisfaction is independent of the assignment ss.

ExampleStructure for Group Theory

Consider the language L={e,β‹…,βˆ’1}\mathcal{L} = \{e, \cdot, ^{-1}\} with constant ee, binary function β‹…\cdot, and unary function βˆ’1^{-1}.

The structure G=(Z,0,+,βˆ’)\mathcal{G} = (\mathbb{Z}, 0, +, -) interprets:

  • Domain: M=ZM = \mathbb{Z} (integers)
  • eG=0e^\mathcal{G} = 0
  • β‹…G(a,b)=a+b\cdot^\mathcal{G}(a,b) = a + b
  • ^{-1}^\mathcal{G}(a) = -a

This structure satisfies the group axioms:

  • βˆ€x (xβ‹…e=x)\forall x \, (x \cdot e = x)
  • βˆ€xβ€‰βˆ€yβ€‰βˆ€z ((xβ‹…y)β‹…z=xβ‹…(yβ‹…z))\forall x \, \forall y \, \forall z \, ((x \cdot y) \cdot z = x \cdot (y \cdot z))
  • βˆ€x (xβ‹…xβˆ’1=e)\forall x \, (x \cdot x^{-1} = e)
DefinitionValidity and Satisfiability

A formula Ο•\phi is:

  • Valid (or logically true), written βŠ¨Ο•\models \phi, if MβŠ¨Ο•[s]\mathcal{M} \models \phi[s] for all structures M\mathcal{M} and assignments ss
  • Satisfiable if MβŠ¨Ο•[s]\mathcal{M} \models \phi[s] for some structure M\mathcal{M} and assignment ss
  • Unsatisfiable if it is not satisfiable
Remark

Unlike propositional logic, first-order validity is undecidable: there is no algorithm that determines whether an arbitrary first-order formula is valid. This fundamental limitation, proved by Church in 1936, distinguishes first-order logic from propositional logic and shapes the landscape of automated theorem proving.

Important valid formulas include:

βˆ€x ϕ→ϕ[x/t](instantiation,Β ifΒ tΒ isΒ substitutableΒ forΒ x)βˆ€x (Ο•β†’Οˆ)β†’(βˆ€xβ€‰Ο•β†’βˆ€xβ€‰Οˆ)(distributivity)βˆ€xβ€‰Ο•β†”Β¬βˆƒx ¬ϕ(quantifierΒ duality)\begin{align} &\forall x \, \phi \to \phi[x/t] \quad \text{(instantiation, if $t$ is substitutable for $x$)} \\ &\forall x \, (\phi \to \psi) \to (\forall x \, \phi \to \forall x \, \psi) \quad \text{(distributivity)} \\ &\forall x \, \phi \leftrightarrow \neg \exists x \, \neg \phi \quad \text{(quantifier duality)} \end{align}