ME290M, Spring 1999, Week 4a

ME290M
Expert Systems in Mechanical Engineering

Spring 1999, T-Th 12:30-2:00 pm
1165 Etcheverry Hall, Course Control No. 56369 http://best.me.berkeley.edu/~aagogino/me290m/s99


[ Home | Info | Syllabus | Readings | Students | Homework | Resources | News | Chat]


Week 4b

Solution to Exercises in Week 4b

3 Exercises on Interpretation

For each of the following sentences, give interpretations to the symbols so that the sentence makes sense and represents the world accurately (i.e., so that you believe the sentence to be true).

    1. (> 3 7)
    2. 3 is greater than 7

    3. (SHORTER ALICE (ETCHEVERRY-HALL))
    4. Alice is shorter than Etcheverry Hall.

    5. (Ductile+ COPPER BRASS)
    6. Copper is more.ductile than brass.

    7. (EXIST something (AND (GOLD something) (NOT (GLITTER something))))
    8. There exists something that is gold and does not glitter. Or as Tolkein said: All that is gold does not glitter.

    9. (EXIST something (AND (WANDER something) (NOT (LOST something))))
    10. There exists something that wanders but is not lost. Or as Tolkein said: Not all those who wander are lost.

    11. (IF (REPTILE x)(ANIMAL x))
    12. If something is a reptile than it is an animal.

    13. (IF (R a b c) (R b c a))
    14. If relation R holds for a, b and c, then it holds for b, c and a.

    15. (IF (NOT (P)) (NOT (Q)))
    16. If P is not true, then Q is not true.

 

4 Exercises on Satisfaction and Validity

Say whether each of the following sentences is valid, satisfiable or unsatisfiable.

    1. (IF P (NOT P))
    2. Satisfiable only if P is false.

    3. (IF (NOT P) P)
    4. Satisfiable only if P is true.

    5. (IF P P)
    6. Valid, or tautological.

    7. (AND (IF P (NOT P)) (IF (NOT P) P))
    8. Unsatisfiable or inconsistent.

    9. (AND (NOT P) P)
    10. Unsatisfiable or inconsistent.

    11. (OR (NOT P) P)
    12. Valid, or tautological.

    13. (IF P (IF Q P))
    14. Valid, or tautological. One way to figure this out is to use the fact that (IF A B) is the same as (OR (NOT A) B). Thus (IF P (IF Q P)) is the same as (OR (NOT P) (NOT Q) P), which is clearly tautological.

      Or using a truth table:
      PQ(IF P Q) (IF P (IF Q P))
      TTTT
      TFTT
      FTFT
      FFTT

    15. (OR (NOT P) (IF Q P))
    16. Valid, or tautological. Again converting to a disjunction it is obviously tautological. (OR (NOT P) (IF Q P)) is the same as (OR (NOT P) (NOT Q) P).

      Or using a truth table:
      P(NOT P)Q(IF Q P) (OR (NOT P) (IF Q P))
      TFTTT
      TFFTT
      FTTFT
      FTFTT


    [ Home | Info | Syllabus | Readings | Students | Homework | Resources | News | Chat]

    Last updated: 20 February 99
    Send Comments to: Alice Agogino, aagogino@me.berkeley.edu
    Copyright © 1999 Alice Agogino; All Rights Reserved.