On Finitely Recursive Programs
نویسندگان
چکیده
Disjunctive finitary programs are a class of logic programs admitting function symbols and hence infinite domains. They have very good computational properties, for example ground queries are decidable while in the general case the stable model semantics is Π11-hard. In this paper we prove that a larger class of programs, called finitely recursive programs, preserves most of the good properties of finitary programs under the stable model semantics, namely: (i) finitely recursive programs enjoy a compactness property; (ii) inconsistency checking and skeptical reasoning are semidecidable; (iii) skeptical resolution is complete for normal finitely recursive programs. Moreover, we show how to check inconsistency and answer skeptical queries using finite subsets of the ground program instantiation. We achieve this by extending the splitting sequence theorem by Lifschitz and Turner: We prove that if the input program P is finitely recursive, then the partial stable models determined by any smooth splitting ω-sequence converge to a stable model of P .
منابع مشابه
Bottom-up Evaluation of Finitely Recursive Queries
The support for function symbols in logic programming under Answer Set Programming semantics (ASP) allows to overcome some modeling limitations of traditional ASP systems, such as the inability of handling infinite domains. On the other hand, admitting function symbols in ASP makes inference undecidable in the general case. Thus, the research is lately focusing on finding proper subclasses of A...
متن کاملRecursive Programs as Definitions in First Order Logic
Despite the reputed limitations of first order logic, it is easy to state and prove almost all interesting properties of recursive programs within a simple first order theory, by using an approach we call "first order programming logic". Unlike higher order logics based on fixed-point induction, first order programming logic is founded on deductive principles that are familiar to most programme...
متن کاملGraph Programs
This paper gives a brief introduction to GP (for Graph Programs), an experimental nondeterministic programming language for high-level problem solving in the domain of graphs. The language is based on conditional rule schemata for graph transformation and thereby frees programmers from handling low-level data structures for graphs. The prototype implementation of GP compiles graph programs into...
متن کاملDisjunctive ASP with functions: Decidable queries and effective computation
Querying over disjunctive ASP with functions is a highly undecidable task in general. In this paper we focus on disjunctive logic programs with stratified negation and functions under the stable model semantics (ASP). We show that query answering in this setting is decidable, if the query is finitely recursive (ASP fr). Our proof yields also an effective method for query evaluation. It is done ...
متن کاملOn the decidability of FDNC programs
Il Milione: A Journey in the Computational Logic in Italy 55 SOMMARIO/ABSTRACT Questo articolo introduce una nuova dimostrazione della decidibilità del controllo di consistenza per i programmi FDNC sotto la semantica dei modelli stabili, basandosi su splitting sequences regolari. Con questa tecnica, riusciamo a rilassare leggermente la definizione di programmi FDNC e muoviamo un primo passo ver...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- TPLP
دوره 9 شماره
صفحات -
تاریخ انتشار 2007