Machine-translated by Google. Questions are authored in English.
Top

Discussion

Why can forward chaining fail to terminate with function symbols?

  • A.Unification does not terminate on terms with functions
  • B.The knowledge base grows faster than it can be indexed
  • C.The set of derivable ground facts may be infinite
  • D.The rules may contain cycles that repeat indefinitely

Answer: C

A rule deriving a successor from every number will generate an unbounded sequence of ground terms, so saturation never completes. Datalog forbids function symbols precisely to keep the derived set finite. Cycles alone are handled by not repeating derivations, unification terminates, and indexing is an efficiency matter. Identifying the syntactic feature responsible for an unbounded computation is what allows a decidable fragment to be carved out deliberately.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.