Trace simultaneous rule updates

A monitoring agent represents status flags by propositional atoms AA through II. Initially, only AA and BB are recorded as facts. Its knowledge base also contains the following rules:


A∧B→CC→DC→ED∧E→FF→GE→BH→II→H.\begin{aligned} A\land B&\rightarrow C\\ C&\rightarrow D\\ C&\rightarrow E\\ D\land E&\rightarrow F\\ F&\rightarrow G\\ E&\rightarrow B\\ H&\rightarrow I\\ I&\rightarrow H. \end{aligned}


Each is a definite Horn rule: a conjunction of positive atoms implies one positive atom. Use synchronous forward chaining. Round 0 contains the initial facts. In each later round, evaluate all rule antecedents using only the facts available at the end of the previous round, then add all newly supported conclusions simultaneously. Retain earlier facts and stop when no new atom is added.


Report three exact integers: the number of distinct newly derived atoms, excluding the initial facts; the first round in which GG is added; and the number of atoms among HH and II that are classically entailed by the knowledge base. Classical entailment means truth in every interpretation satisfying the initial facts and all rules.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Logical Reasoning Questions: