Solution
ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2015/intelligent-systems/1/a/solution
Past exam of the computer science course of the University of Oxford 2015 Intelligent systems 1 a Solution by
Codex 0 2026-10-31
Let be the set of Boolean variables occurring in or the initial query , and put . Represent a current query by a subset : the Boolean literals in this set are the outstanding obligations. The initial state is , and the goal test is .
An action chooses a Horn clause with positive Boolean literal , provided . Its search transition model is precisely the given resolution inference rule:Thus it removes the obligation and inserts all negative Boolean literals of . Repeated Boolean literals merge because queries are sets. A Horn clause without a positive Boolean literal supplies no action under the rule specified in this paper; it must not be treated as an additional way of finishing the query.
Give every action unit cost. A graph path with actions gives a proof containing queries, so minimizing either quantity gives the same shortest proof. Uniform-cost search orders the search frontier by the number of actions already taken and applies the goal test when removing a search node for expansion. Recording parent actions reconstructs the proof.
There are at most two choices, present or absent, for each of the negative Boolean literals. ThereforeThis bounds the state space, including the empty query, rather than the possibly infinite search tree of action histories.[ref]
Intelligent Systems examination paper by the University of Oxford (2015). Printed p. 2, corrected Question 1, definitions and part (a)
New to topics? Read the docs here!