A model is an interpretation that satisfies a given formula. Essentially, it is some mapping of symbols that makes a formula true.
Models are an example of meta-logic, since we can use them to talk about any set of logic, be it propositional logic or predicate logic.
Definition
Model (Propositional Logic) ^definition-propositional
In propositional logic, a model is a valuation (mapping of atoms to truth values).
With reference to a formula (proposition, in this case), is a model of a formula if, and only if, is true under . This can be written as:
Model (Predicate Logic) ^definition
In predicate logic (and higher-order logic), a model is defined to the combination of:
- An interpretation,
- A universe,
- (Optionally) A variable assignment,
With reference to a formula, is a model of a formula if, and only if, is true under . If there was a variable assignment, it should result in being true. This can be written as:
Else, if there are no free variables, just the model is sufficient:
Reusing symbols
The symbol is used to for showing models, but it is also used for showing semantic consequences. Pay key attention to what the operands on the left and right actually are. If the left is also a formula, we are talking about semantic consequences, not models.