Loop detection in rule-based expert systems
Abstract
This invention describes a method to verify non-looping properties of programs implemented as rule-based expert systems. Our method detects conditions under which the expert system enters erroneous infinite program loops, which lead to non-terminating or oscillating computations, or otherwise proves the absence of such conditions. Our automatic procedure also gives advice on how to correct these errors. The expert systems considered consist of condition-action rules (IF-THEN-statements), where the conditions are logical expressions (formulas of a propositional finite domain logic), and the actions modify the value of a single variable which in turn can be part of other logical expressions. There may be additional (external) variables not controlled by the expert system, and each rule may have an associated evaluation priority.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 19.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for verifying a set of rules in a rule-based expert system, the method comprising the steps of: retrieving a set of rules from an expert system; providing one or more logical expressions specifying cases of faulty behavior of said expert system; and executing an automatic theorem prover in order to verify of whether or not the retrieved set of rules fulfill the provided one or more logical expressions, if yes, generating a message indicating the existence of a case of faulty behavior, if no, generating a message indicating the correctness of said set of rules.
- Claim 2Depends on #1
The method according to claim 1 , wherein the step of retrieving the set of rules includes the step of: converting the set of rules from the expert system's format into logical expressions.
- Claim 3Depends on #2
The method according to claim 2 , wherein the step of converting the se
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 19 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- A. Kaiser, "A SAT-Based Propositional Prover for Consistency Checking of Automotive Product Data", Technical Report, Wilhelm-Schickard-Institut fur Informatik, Eberhard-Karls-Universitat Tubingen, Sand 13, 72076 Tubingen, Germany, 2001. Technical Report WSI-2001-16.
- D. Harel et al, "Looping vs. Repeating in Dynamic Logic", Information and Control, 55(1-3): pp. 175-192, 1982.
- D. Harel, "Dynamic Logic", Gabbay & Guenthner, editors, Handbook of Philosophical Logic, vol. II: Extensions of Classical Logic, pp. 507-544, Kluwer, 1984.
- F. Somenzi, CUDD: CU Decision Diagram Package, Rel. 2.3.0, University of Colorado, Boulder, 1998.
- Gamble et al, "Applying Formal Verification Methods to Rule-Based Programs", International Journal of Expert Systems: Research and Applications 7(3), pp. 203-237, 1994.