Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

FIT5047 Semester 2 , 2025

Fundamentals of Artificial Intelligence

Assignment 2: Knowledge Representation and Reasoning (KRR)

Due date: Thur, 25 Sep 2025  (23:55).

Evaluation: 100 marks = 15%.

Submission: Moodle.

Submission instructions and late subimssion policy: In Moodle.

For this assignment, there are no restrictions on the use of generative AI technologies. However, whenever used, generative AI must be acknowledged.  For further informa- tion, please, refer to the current university policy on the use of generative AI.

And we don't accept handwritten.

Q1: Propositional Logic Advanced Validity and CNF Transformation

Given the formulas:

ϕ₁ = ((A V (B → C)) Λ (¬C V D)) → ((A → D) V (C ↔ E))

ϕ₂ = (((¬A Λ B) V (C → D)) Λ (¬E V A)) → ((¬D V F) ↔ (A Λ B))

ϕ₃ = ((A ↔ B) V (C → D)) Λ ((¬A V ¬D) → (F Λ ¬G))

(a) For each formula:                                                                                                (9 marks)

Determine whether the clause is valid, satisfiable but not valid, or unsatisfiable. Justify using truth assignments, or semantic arguments.

(b) Convert each formula into CNF. Identify Horn clauses where applicable.               (12 marks)

(c) For ϕ₂, assume F is always false:

(i) What is the effect on satisfiability?                                                                       (4 marks)

(ii) Can you infer anything about A or B? Justify.                                                     (5 marks)

Q2: Enhanced Forward/Backward Reasoning Deceptive Rules and Sparse Inference

Q2.1: Logic Translation with Mixed Relevance (10 marks)

Convert the following 10 statements into propositional logic, using the symbol key:

S: is Sick

V: likely to Vomit

P: looks Pale

T: is Thirsty

H: has High Temperature

NS: has Not Slept well

NF: does Not Feel well

F: has Fever

W: drinks Water

E: is Exhausted

A: has Allergy

M: has Muscle Pain

If the knowledge base does not have the symbol key, it means that you can ignore it.

R1. If a person looks pale, is thirsty, and has not slept well, then they are sick.

R2. If a person has a fever, then they have a high temperature.

R3. If a person has a high temperature, then they are thirsty.

R4. If a person is exhausted, then they have not slept well.

R5. If a person has not slept well, then they look pale.

R6. If a person looks pale, then they should drink water.

R7. If a person has muscle pain, then they are not feeling well.

R8. A person has an allergy if they sneeze in spring.

R9. If a person is not thirsty and has slept well, then they either will not vomit or will drink water.

R10. If a person is not exhausted and not thirsty, then they might either feel well or drink water.

Initial facts (observations):

•    The person has a fever.

•    The person is exhausted.

Task: Prove that the person is sick (S)

Q2.2: Forward Chaining:                                                                           (8 marks)

Refer to our lab format to complete the forward chaining proving process

Q2.3: Backward Chaining: (8 marks)

Refer to our lab format to complete the backward chaining proving process

Q2.4 Discussion ( 4 marks)

(i) Does forward chaining stop early in this scenario? Why?

(ii) Could adding ¬M or A improve inference? Why or why not?

Q3: First-Order Logic Multi-Clause Resolution Challenge

We have below clauses :

1. 彐z. R(z) → 彐w. T(w)

2. ∀x 彐y. (∀z. (P(x) v R(z)) Λ 彐w. (T(w) → Q(y)))

3. ∀w 彐y. (∀x. (P(x) → T(w)) Λ ∀x. (Q(y) → P(x)))

4. ∀x 彐z. (¬R(z) v ¬Q(x))

5. ∀x. (U(x) → (P(x) v ¬T(f(x))))

6. 彐x. (Q(x) Λ ¬U(x))

7. ∀x ∀y. (¬P(x) v Q(y) v S(x, y)) Goal: ∀x. P(x)

(a) Convert all into CNF. Show Skolemization and standardization.      (14 marks)

(b) Apply resolution to prove or refute G:                                                   (14 marks)

(c) :

(i) Which clauses are redundant?                                                                 (4 marks)

(ii) Which ones increase complexity the most?                                         (4 marks)

(d) Suppose clause 6 is removed. Does this impact provability of G?  (4 marks)