< Formal Logic < Predicate Logic
Models Predicate Logic Truth


Satisfaction

The rules for assigning truth to sentences of should say, in effect, that

is true if and only if is true of every object in the domain. There are two problems. First, will normally have free variables. In particular, it will normally have free . But formulae with free variables are not sentences and do not have a truth value. Second, we do not yet have a precise way of saying that is true of every object in the domain. The solution to these problems comes in two parts.

  • We will need an assignment of objects from the domain to the variables.
  • We will need to say that a model satisfies (or does not satisfy) a formula with a variable assignment.

We can then define truth in a model in terms of satisfaction.

Variable assignment

Given model , a variable assignment is a function assigning each variable of a member of . The function is defined for all variables of , so each one is assigned a member of the domain.

Okay, we have assignments of domain members to variables. We also have an assignment of domain members to constant symbolsthis achieved by the model's interpretation function. Now we need to use this information to generate assignments of domain members to arbitrary terms including, in addition to constant symbols and variables, complex terms formed by using n-place operation letters where n is greater than 0. This is accomplished by an extended variable assignment defined below. Remember that is the interpretation function of model . It assigns semantic values to the operation letters and predicate letters of .

An extended variable assignment is a function making assignments as follows.

If is a variable, then:
If is a constant symbol (i.e., a 0-place operation letter), then:
If is an n-place operation letter (n greater than 0) and are terms, then:

Some examples may help. Suppose we have model where:

On the previous page, it was noted that we want the following result:

We now have achieved this because we have for any defined on :

Suppose we also have a variable assignment where:

Then we get:

Satisfaction

A model, together with a variable assignment, can satisfy (or fail to satisfy) a formula. Then we will use the notion of satisfaction with a variable assignment to define truth of a sentence in a model. We can use the following convenient notation to say that the interpretaion satisfies (or does not satisfy) with .

We now define satisfaction of a formula by a model with a variable assignment. In the following, 'iff' is used to mean 'if and only if'.

.
.

Examples

The following continue the examples used when describing extended variable assignments above. They are based on the examples of the previous page.

A model and variable assignment for examples

Suppose we have model where

Suppose further we have a variable assignment where:


We already saw that both of the following resove to 1:

Examples without quantifiers

Given model , the previous page noted the following further goals:

We are not yet ready to evaluate for truth or falsity, but we can take a step in that direction by seeing that these sentences are satisfied by with Indeed, the details of will not figure in determining which of these are satisfied. Thus satisfies (or fails to satisfy) them with any variable assignment. As we will see on the next page, that is the criterion for truth (or falsity) in .


Corresponding to (1),

In particular:


Corresponding to (2) through (6) respectively:


As noted above, the details of were not relevant to these evaluations. But for similar formulae using free variables instead of constant symbols, the details or do become relevant. Examples based the above are:

Examples with quantifiers

Given model , the previous page also noted the following further goals:

Again, we are not yet ready to evaluate for truth or falsity, but again we can take a step in that direction by seeing that the sentence in (7) is and the sentence in (8) is not satisfied by with


Corresponding to (7):

is true if and only if at least one of the following is true:

The formula of (7) and (9) is satisfied by if and only if it is satified by with each of the modified variable assignments. Turn this around, and we get the formula failing to be satisfied by if and only if it fails to be satisfied by the model with at least one of the three modified variable assignments as per (10) through (12). Similarly, (10) is true if and only if at least one of the following are true:

Indeed, the middle one of these is true. This is because

Thus (9) is true.


Corresponding to (8),

is true if and only if at least one of the following is true:

The middle of these is true if and only if at least one of the following are true:

Indeed, the last of these is true. This is because:

Thus (13) is true.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.