We are almost ready, finally, to say what it means for a sentence to be true in a structure. First, we define what it is for a structure to be a model of a formula.
Definition: If
is a formula in the language
and
is an
-structure, we say that
is a model of
, and write
, if and only if
for every assignment function
. If
is a set of
-formulas, we will say that
models
, and write
, if and only if
for each
in
.
The symbol `
' is rather versatile! The right-hand side can be either a formula or a set of formulas. Much more versatility is yet to come.
Informally, the basic idea is that a structure is a model of a formula if the formula must be true in the structure, i.e. if the formula comes out true no matter what terms you substitute for its free variables.
Of course, sentences are special cases of formulas. In the case of sentences, it makes no difference what assignment function
we use. Why? Because sentences have no free variables, and assignment functions have no effect on bound variables. So if there is any assignment function
for which
in the special case in which
is a sentence, then, since it makes no difference what assignment function we use,
will be true for every assignment function, and hence we can simply say that
, period.
To make it obvious when we are dealing with formulas that are also sentences, we will use a different Greek variable for sentences, `
'. (Notice the alliterative choice of Greek letters: phi, with its initial `f' sound, for formulas, and sigma, with its initial `s' sound, for sentences.)
Definition: If
is a sentence, then we say that
is true in
if and only if
, which in turn is the case if and only if there is any assignment function
for which
.
Notice that a structure models a formula if and only if the sentence that results from prefixing to the formula universal quantifiers binding all the free variables of the formula results in a sentence that is true in the structure.
Finally, we turn to Leary's definitions of logical implication and validity. Logical implication is defined in Definition 1.9.1 on p. 43:
Definition: Suppose that
and
are sets of
-formulas. We will say that
logically implies
and write
if for every
-structure
, if
, then
.
If we restrict ourselves to sentences for a moment, we can say that one set of sentences
logically implies another set of sentences
if and only if every structure in which all the sentences
are true is a structure in which all the sentences in
are true. Equivalently, we can say that
logically implies
if and only if every model of
is also a model of
.
Still another way to say the same thing: sometimes structures are called interpretations, and a model of a sentence is called an interpretation in which the sentence is true. So we can say that
logically implies
iff every interpretation that makes all the sentences in
true also makes all the sentences in
true.
It is a short step to the notion of a valid argument: an argument from a set of premises
to a conclusion
is valid iff
.
The term `valid' is also used for a property of individual formulas. This usage is defined in Leary's Definition 1.9.2:
Definition: An
-formula
is said to be valid if
, in other words, if
is true in every
-structure with every assignment function
. In this case, we will write
.
Notice the relation between this definition and Barwise and Etchemendy's more informal definition in Language, Proof, and Logic. B & E informally charactize a valid sentence as one that remains true regardless of which predicates are used. The idea of substitution of predicates is an informal way to accomplish what the formal definition accomplishes by considering different structures (which will have different interpretations of the predicates).