Article View: comp.lang.prolog
Article #2885Re: Theoretical impediments to logic programming?
From: Jan Chomicki
Date: Wed, 25 Nov 1987 22:23
Date: Wed, 25 Nov 1987 22:23
21 lines
1752 bytes
1752 bytes
Rabin and Fischer's result about the inherent complexity of Presburger arithmetic has no relevance for Prolog. In Prolog you can not write most of the sentences of this arithmetic, because of the lack of: - arbitrary quantification. - equations, like y=x+x. - propositional connectives 'not' and 'or'. SLD-resolution (or for that matter any resolution method alone) can not handle Presburger arithmetic. It is quite possible that the arithmetic hacks (like is/2) with which we have to live were born out of their designers' fear of the inherent complexity (or even undecidability if both + and * are allowed) of arithmetic. The complexity results relevant for Prolog can be found in papers about the satisfiability problem for propositional and first order formulas ( Lewis 1980, Plaisted 1984: both in Journal of Computer and System Sciences). And those results confirm a special role of Horn clauses. For example, satisfiability of propositional Horn clauses is in P as opposed to the general case which is NP-complete. -- Jan Chomicki (chomicki@aramis.rutgers.edu) Phone: (201) 932-3999 Dept.of Computer Science, Rutgers University, New Brunswick, NJ 08903
Technical Details
Message-ID:
<2352@aramis.rutgers.edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!rutgers!aramis.rutgers.edu!chomickiReferences:
<8711240817.AA20548@ucbvax.Berkeley.EDU>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!rutgers!aramis.rutgers.edu!chomicki From: chomicki@aramis.rutgers.edu (Jan Chomicki) Newsgroups: comp.lang.prolog Subject: Re: Theoretical impediments to logic programming? Message-ID: <2352@aramis.rutgers.edu> Date: Wed, 25-Nov-87 17:23:04 EST Article-I.D.: aramis.2352 Posted: Wed Nov 25 17:23:04 1987 Date-Received: Sun, 29-Nov-87 11:38:44 EST References: <8711240817.AA20548@ucbvax.Berkeley.EDU> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 21