Model
Let be a first-order theory over a signature .
Definition. A model (or -structure) for consists of:
- A nonempty set called the domain (or universe).
- For each constant symbol , an element .
- For each -ary function symbol , a function .
- For each -ary relation symbol , a subset .
We say is a model of if for every sentence .
Definition. Given a -structure and a variable assignment , the satisfaction relation is defined recursively on formulas:
- iff .
- iff and .
- iff .
- iff for all .
For a sentence (no free variables), the assignment is irrelevant, and we write .
Proposition. has a model if and only if is consistent (i.e., ).
Proof sketch. This is the completeness theorem (Godel, 1930). Soundness gives the forward direction; the Henkin construction gives the reverse.
Proposition. Two -structures and are elementarily equivalent () if and only if they satisfy the same first-order sentences.
Examples.
- is the standard model of Peano arithmetic.
- is a model of the theory of real closed fields.
- By the Lowenheim-Skolem theorem, any consistent theory with an infinite model has models of every infinite cardinality.
In Heyting algebra semantics, a model of is a Heyting algebra homomorphism from the Lindenbaum-Tarski algebra of into a Heyting algebra . Truth values are elements of rather than the two-element Boolean algebra, so a formula receives a truth value in , with and as the extreme cases and intermediate values representing partial truth.