12.07.2015 Views

Chapter 9 Modal Language, Syntax, and Semantics - David W. Agler

Chapter 9 Modal Language, Syntax, and Semantics - David W. Agler

Chapter 9 Modal Language, Syntax, and Semantics - David W. Agler

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The use of the formation rules for ML begin with identifying the needed propositional letters,proceed to attaching those operators having the least scope, until the operator with the mostscope is attached. As a final example, consider a more complicated use of the formation rules:Show that ¬(□◊P→□R) is a wff.1 P <strong>and</strong> R are wffs Rule 12 If R is a wff, then □R is a wff. Rule 4 + Line 13 If P is a wff, then ◊P is a wff. Rule 4 + Line 24 If ◊P is a wff, then □◊P is a wff. Rule 4 + Line 35 If □◊P <strong>and</strong> □R are wffs, then □◊P→□R is a wff. Rule 3 + Line 2, 46 If □◊P→□R is a wff, then ¬(□◊P→□R) is a wff. Rule 2 + line 5Exercise Set #1A. <strong>Syntax</strong>: Identifying well-formed formulas. State whether the following are well-formedformulas in ML.1. ◊P2. □¬P3. ¬□(P→R)4. □□(P→R)5. □P→R6. P□∧P7. P□→P◊8. ¬◊¬P9. ◊(□P)10. ¬P□¬PB. <strong>Syntax</strong>: Using the formation rules. Using the formation rules provided in this chapter, showthat the following formulas are wffs.1. ◊P2. □P3. ¬□P4. □(P→R)5. □¬(P→R)6. ◊□P7. □◊P8. □(◊P↔R)9. ◊□P∧¬□◊P10. (□P→□□P)→(□□P→□P)9.4* Types of Relations: Preparation for 9.5Intuitively, a relation is some way in which two or more objects are connected or taken together.For example, if John is taller than Liz, we say that one way that John <strong>and</strong> Liz can be takentogether is through the taller-than relation. The st<strong>and</strong>ing-between relation is another example. If5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!