4. Assume that the property "normal body temperature" is described by a
triangular membership function, for which this property is
absolutely true for 36.5 degrees and absolutely false for 35.5 and 37.5.
Describe an explicit formula for this function. What is the
degree to which the temperature 37.2 is a normal? If we use the product as "and",
what is the degree to which both values 37.2 and 37.4 are normal?
5. Use the given history to check, step-by-step, that the
formula []((k \/ (¬ k & sUt)) → [](t → k)) is
satisfied at moment t = 3. In this formula:
- k stands
for "student knows the material",
- s stands for "student
studies the material", and
- t stands for "there is a test".
The statement says that if a student either knows the material
already or studies all the way
to the test, then on the day of the test, the student will know
the material. In the history below, -- means that a property
was not satisfied at a given moment of time, while X means that
the corresponding property was satisfied. The history is as
follows:
1 2 3 4 5 6 7 8 9 10
k - - - - - - X X X X
s - X X X X X X - - -
t - - - - - - X - - X
6. Is its possible to compute the difference of two
computable numbers? If yes, describe the algorithm; if
not, explain why such an algorithm is not possible.
7. Is it possible to algorithmically check whether
two computable numbers are equal? If yes, describe the algorithm; if
not, explain why such an algorithm is not possible.
8. What does it mean that a logic is non-monotonic? To give an
example of non-monotonicity, transform the following knowledge
base into a Prolog program. This knowledge base consists of two
statements: "Normally, it is warm in El Paso",
"Cold days are exceptions (i.e., abnormal)".
-
Assume first that we
have no additional information about today. If we want the Prolog program
a query -- asking whether it is warn today in El Paso -- what
will be the answer?
- Assume now that we also know that today is
a cold day. What will be the answer now?
- Explain why this
shows that Prolog implements a non-motononic logic.
9. Translate the following English phrases into first order logic.
Try to convey the meaning. If appropriate, use modal and/or temporal
logic as well.
- It is possible to survive in this world, but for that, it is
necessary to be resourceful.
- I will continue giving you quizzes until you learn
the material.