๐”– Bobbio Scriptorium
โœฆ   LIBER   โœฆ

Decidability of logic program semantics and applications to testing

โœ Scribed by Salvatore Ruggieri


Publisher
Elsevier Science
Year
2000
Tongue
English
Weight
248 KB
Volume
46
Category
Article
ISSN
0743-1066

No coin nor oath required. For personal study only.

โœฆ Synopsis


In this paper, we investigate the decidability problem of logic program semantics and observables, focusing in particular on the least Herbrand model (or M-semantics), the C-semantics, and the S-semantics. We introduce bounded logic programs, and show that they coincide with programs such that every ground query has ยฎnitely many SLD-refutations via any selection rule. In particular, bounded programs strictly include the well-studied class of acceptable logic programs. We show that the mentioned declarative semantics are decidable when considering acceptable programs and programs bounded by recursive level mappings. Interestingly, the decision procedures have direct implementations in the logic programming paradigm itself as Prolog meta-programs. We relate semantics decidability to program testing. In our terminology, the testing problem consists of checking whether or not the formal semantics of a program includes a given ยฎnite set of atoms. With this deยฎnition, semantics decidability and the testing problem are equivalent. The decision procedures are then recognized to be automatic tools for testing logic programs. The meta-programming approach reveals to be successful in modeling extensions such as arithmetic built-in's, negation, modular programming and some other declarative semantics. Also, we present some preliminary experimental results and an ef-ยฎcient compilation-oriented approach that overcome the overhead due to meta-programming.


๐Ÿ“œ SIMILAR VOLUMES


Prioritized logic programming and its ap
โœ Chiaki Sakama; Katsumi Inoue ๐Ÿ“‚ Article ๐Ÿ“… 2000 ๐Ÿ› Elsevier Science ๐ŸŒ English โš– 284 KB

Representing and reasoning with priorities are important in commonsense reasoning. This paper introduces a framework of prioritized logic programming (PLP), which has a mechanism of explicit representation of priority information in a program. When a program contains incomplete or indefinite informa