Detecting unsolvable queries for definite logic programs
Author(s) -
Maurice Bruynooghe,
Henk Vandecasteele,
D. Andre de Waal,
Marc Denecker
Publication year - 1998
Publication title -
lecture notes in computer science
Language(s) - English
Resource type - Book series
SCImago Journal Rank - 0.249
H-Index - 400
eISSN - 1611-3349
pISSN - 0302-9743
ISBN - 3-540-65012-1
DOI - 10.1007/bfb0056611
Subject(s) - logic programming , computer science , constraint (computer aided design) , logic program , programming language , theoretical computer science , mathematics , geometry
In solving a query, the SLD proof procedure for definite pro- grams sometimes searches an infinite space for a non existing solution. For example, querying a planner for an unreachable goal state. Such programs motivate the development of methods to prove the absence of a solution. Considering the definite program and the query Q as clauses of a first order theory, one can apply model generators which search for a finite interpretation in which the program clauses as well as the clause false Q are true. This paper develops a new approach which exploits the fact that all clauses are definite. It is based on a goal directed abductive search in the space of finite pre-interpretations for a pre-interpretation such that Q is false in the least model of the pro- gram based on it. Several methods for efficiently searching the space of pre-interpretations are presented. Experimental results confirm that our approach find solutions with less search than with the use of a first order model generator.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom