home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.ai:4795 comp.lang.prolog:2342 sci.logic:2552
- Newsgroups: comp.ai,comp.lang.prolog,sci.logic
- Path: sparky!uunet!cs.utexas.edu!torn!nott!cunews!bond
- From: bond@sce.carleton.ca (Greg Bond)
- Subject: Decision procedure for Horn theories with inequality
- Message-ID: <bond.726521497@regulus.sce.carleton.ca>
- Sender: news@cunews.carleton.ca (News Administrator)
- Organization: Carleton University
- Date: Fri, 8 Jan 1993 19:31:37 GMT
- Lines: 41
-
- I'm curious whether there exists a refutation complete decision
- procedure for Horn clause theories with *inequality*, namely
- "not-equals". For example, consider the definite clause program
- defining the negation of path and arc relations for the following
- directed graph:
-
- A-->B-->D
-
- not_path(x,z) :- not_arc(x,z),not_arc(x,k(x,z)).
- not_path(x,z) :- not_arc(x,z),not_path(k(x,z),z)).
-
- not_arc(X,Y) :- (X != a),(X != b).
- not_arc(X,Y) :- (X != a),(Y != d).
- not_arc(X,Y) :- (Y != b),(X != b).
- not_arc(X,Y) :- (Y != b),(Y != d).
-
- This program is simply the Skolem normal form of the ONLY-IF sentences
- of the predicate completion of a definite program defining the
- (positive) path and arc relations. The functor k/2 is a Skolem
- function introduced through Skolemization. Note that not_path and
- not_arc are predicate symbols here. Inequality is represented by !=
- which can either be interpreted to be a predicate symbol or as the
- logical negation of equality. The standard equality axioms can be
- considered implicit as can the following (lexical) inequalities:
-
- (a != b).
- (a != d).
- (b != d).
-
- I would like to be able to confirm that a refutation exists for ground
- goals like :- not_path(b,a). This can be done using the OTTER theorem
- prover and linear paramodulation but it seems to me there must be a
- specialized approach for dealing with Horn clause theories.
-
- Please reply via email and I will summarize for the net.
- --
- Greg Bond -----> bond@sce.carleton.ca (613) 788 2600 (ext.1835)
- Dept. of Systems and Computer Engineering, Carleton University
- Ottawa, ON, Canada K1S 5B6
-