Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Logic and CS / Huth, Ryan. Logic in Computer Science, 2004 (Cambridge).pdf
Скачиваний:
124
Добавлен:
10.08.2013
Размер:
2.23 Mб
Скачать

328

5 Modal logics and agents

respect to semantic entailment based on truth tables. We also pointed out that the proof rules PBC, LEM and ¬¬e are questionable in certain computational situations. If we disallow their usage in natural deduction proofs, we obtain a logic, called intuitionistic propositional logic, together with its own proof theory. So far so good; but it is less clear what sort of semantics one could have for such a logic – again with soundness and completeness in mind. This is where certain models of KT4 will do the job quite nicely. Recall that correspondence theory implies that a model M = (W, R, L) of KT4 is such that R is reflexive and transitive. The only additional requirement we impose on a model for intuitionistic propositional logic is that its labelling function L be monotone in R: R(x, y) implies that L(x) is a subset of L(y). This models that the truth of atomic positive formulas persist throughout the worlds that are reachable from a given world.

Definition 5.19 A model of intuitionistic propositional logic is a model M = (W, R, L) of KT4 such that R(x, y) always implies L(x) L(y). Given a propositional logic formula as in (1.3), we define x φ as in Definition 5.4 exception for the clauses and ¬. For φ1 → φ2 we define x φ1 → φ2 i for all y with R(x, y) we have y φ2 whenever we have y φ1. For ¬φ we define x ¬φ i for all y with R(x, y) we have y φ.

As an example, consider the model W = {x, y} with accessibility relation R = {(x, x), (x, y), (y, y)}, which is indeed reflexive and transitive. For a labelling function L with L(x) = and L(y) = {p}, we claim that x p ¬p. (Recall that p ¬p is an instance of LEM which we proved in Chapter 1 with the full natural deduction calculus.) We do not have x p, for p is not in the set L(x) which is empty. Thus, Definition 5.4 for the case implies that x p ¬p can hold only if x ¬p holds. But x ¬p simply does not hold, since there is a world y with R(x, y) such that y p holds, for p L(y). The availability of possible worlds in the models of KT4 together with a ‘modal interpretation’ of and ¬ breaks down the validity of the theorem LEM in classical logic.

One can now define semantic entailment in the same manner as for modal logics. Then, one can prove soundness and completeness of the reduced natural deduction system with respect to this semantic entailment, but those proofs are beyond the scope of this book.

5.4 Natural deduction

Verifying semantic entailment Γ L ψ by appealing to its definition directly would be rather di cult. We would have to consider every Kripke model

5.4 Natural deduction

329

that satisfies all formulas of Γ and every world in it. Fortunately, we have a much more usable approach, which is an extension, respectively adaptation, of the systems of natural deduction met in Chapters 1 and 2. Recall that we presented natural deduction proofs as linear representations of proof trees which may involve proof boxes which control the scope of assumptions, or quantifiers. The proof boxes have formulas and/or other boxes inside them. There are rules which dictate how to construct proofs. Boxes open with an assumption; when a box is closed – in accordance with a rule – we say that its assumption is discharged. Formulas may be repeated and brought into boxes, but may not be brought out of boxes. Every formula must have some justification to its right: a justification can be the name of a rule, or the word ‘assumption,’ or an instance of the proof rule copy; see e.g. page 13.

Natural deduction works in a very similar way for modal logic. The main di erence is that we introduce a new kind of proof box, to be drawn with dashed lines. This is required for the rules for the connective . The dashed proof box has a completely di erent role from the solid one. As we saw in Chapter 1, going into a solid proof box means making an assumption. Going into a dashed box means reasoning in an arbitrary accessible world. If at any point in a proof we have φ, we could open a dashed box and put φ in it. Then, we could work on this φ, to obtain, for example, ψ. Now we could come out of the dashed box and, since we have shown ψ in an arbitrary accessible world, we may deduce ψ in the world outside the dashed box.

Thus, the rules for bringing formulas into dashed boxes and taking formulas out of them are the following:

Wherever φ occurs in a proof, φ may be put into a subsequent dashed box.

Wherever ψ occurs at the end of a dashed box, ψ may be put after that dashed box.

We have thus added two rules, introduction and elimination:

.

.

.

φ

 

φ

 

 

 

i

 

e

φ

.

 

 

 

 

 

 

 

.

 

 

 

.

 

 

 

φ

 

 

.

 

 

 

.

 

 

 

.

 

330

5 Modal logics and agents

In modal logic, natural deduction proofs contain both solid and dashed boxes, nested in any way. Note that there are no explicit rules for , which must be written ¬ ¬ in proofs.

The extra rules for KT45 The rules i and e are su cient for capturing semantic entailment of the modal logic K. Stronger modal logics, e.g. KT45, require extra rules if one wants to capture their semantic entailment via proofs. In the case of KT45, this extra strength is expressed by rule schemes for the axioms T, 4 and 5:

φ

T

φ

4

¬ φ

5

φ

φ

¬ φ

 

 

 

An equivalent alternative to the rules 4 and 5 would be to stipulate relaxations of the rules about moving formulas in and out of dashed boxes. Since rule 4 allows us to double-up boxes, we could instead think of it as allowing us to move formulas beginning with into dashed boxes. Similarly, axiom 5 has the e ect of allowing us to move formulas beginning with ¬ into dashed boxes. Since 5 is a scheme and since φ and ¬¬φ are equivalent in basic modal logic, we could write ¬φ instead of φ throughout without changing the expressive power and meaning of that axiom.

Definition 5.20 Let L be a set of formula schemes. We say that Γ L ψ is valid if ψ has a proof in the natural deduction system for basic modal logic extended with the axioms from L and premises from Γ.

Examples 5.21 We show that the following sequents are valid:

1. |−K p q → (p q).

1

p q

assumption

2

p

e1 1

3

q

e2 1

4

p

e 2

5

q

e 3

6

p q

i 4, 5

7

(p q)

i 46

8

p q → (p q) i 17

Соседние файлы в папке Logic and CS