Goto

Collaborating Authors

 Logic & Formal Reasoning


Logic programs with monotone abstract constraint atoms

arXiv.org Artificial Intelligence

We introduce and study logic programs whose clauses are buil t out of monotone constraint atoms . We show that the operational concept of the one-step provab ility operator generalizes to programs with monotone constraint atoms, bu t the generalization involves nondeterminism. Our main results demonstrate that our form alism is a common generalization of (1) normal logic programming with its semantics o f models, supported models and stable models, (2) logic programming with weight atoms ( lparse programs) with the semantics of stable models, as defined by Niemel a, Simons an d Soininen, and (3) of disjunctive logic programming with the possible-model semant ics of Sakama and Inoue. To appear in Theory and Practice of Logic Programming (TPLP).


Automated verification of weak equivalence within the SMODELS system

arXiv.org Artificial Intelligence

In answer set programming (ASP), a problem at hand is solved by (i) writing a logic program whose answer sets correspond to the solutions of the problem, and by (ii) computing the answer sets of the program using an answer set solver as a search engine. Typically, a programmer creates a series of gradually improving logic programs for a particular problem when optimizing program length and execution time on a particular solver. This leads the programmer to a meta-level problem of ensuring that the programs are equivalent, i.e., they give rise to the same answer sets. To ease answer set programming at methodological level, we propose a translation-based method for verifying the equivalence of logic programs. The basic idea is to translate logic programs P and Q under consideration into a single logic program EQT(P,Q) whose answer sets (if such exist) yield counter-examples to the equivalence of P and Q. The method is developed here in a slightly more general setting by taking the visibility of atoms properly into account when comparing answer sets. The translation-based approach presented in the paper has been implemented as a translator called lpeq that enables the verification of weak equivalence within the smodels system using the same search engine as for the search of models. Our experiments with lpeq and smodels suggest that establishing the equivalence of logic programs in this way is in certain cases much faster than naive cross-checking of answer sets.


Infinite Qualitative Simulations by Means of Constraint Programming

arXiv.org Artificial Intelligence

We introduce a constraint-based framework for studying infinite qualitative simulations concerned with contingencies such as time, space, shape, size, abstracted into a finite set of qualitative relations. To define the simulations, we combine constraints that formalize the background knowledge concerned with qualitative reasoning with appropriate inter-state constraints that are formulated using linear temporal logic. We implemented this approach in a constraint programming system by drawing on ideas from bounded model checking. The resulting system allows us to test and modify the problem specifications in a straightforward way and to combine various knowledge aspects.


Using Answer Set Programming in an Inference-Based approach to Natural Language Semantics

arXiv.org Artificial Intelligence

I ns ti t ut Gal i lรฉ e - U niv. P ar is - Nord 93430 V il l et ane us e - F RA NC E noui ouaf @l ipn.uni v-pa ri s 13.fr G eneral ly s peaking, form al NL s em antic s i s re ferenti al i .e. it as sum es t hat i t is pos si ble t o c reate a s tati c dis course uni verse and to equat e t he obj ect s of t his uni verse t o the (s tat ic) mea nings of w ords . The me aning of a sent ence is then buil t from t he me anings of the w ords in a c ompos iti onal proces s and the se mant ic inte rpretat ion of a s entenc e i s reduce d to it s logic al i nterpret ati on bas ed on t he t ruth condit ions . The very diffic ult tas k of ada pting the mea ning of a s ent ence to its c ontext is often left to the pragm ati c l evel, and this tas k re quires t o us e a huge a mount of com mon s ens e know ledge a bout the domai n. It has bee n s howe d t hat the above tri-pa rtit ion i s very arti fici al becaus e l inguis ti c a s we ll as e xtra-li nguis tic know ledge i nterac t i n t he s am e gl obal proces s to provide the ne ces sa ry elem ents for unders ta nding. But what kind of rea soni ng is needed for na tural language se manti cs? T he ans we r to thi s que st ion is bas ed on the remark t hat t exts s eldom provide norma l det ail s t hat are a ss umed to be known to the reader.


Decomposable Theories

arXiv.org Artificial Intelligence

We present in this paper a general algorithm for solving first-order formulas in particular theories called "decomposable theories". First of all, using special quantifiers, we give a formal characterization of decomposable theories and show some of their properties. Then, we present a general algorithm for solving first-order formulas in any decomposable theory "T". The algorithm is given in the form of five rewriting rules. It transforms a first-order formula "P", which can possibly contain free variables, into a conjunction "Q" of solved formulas easily transformable into a Boolean combination of existentially quantified conjunctions of atomic formulas. In particular, if "P" has no free variables then "Q" is either the formula "true" or "false". The correctness of our algorithm proves the completeness of the decomposable theories. Finally, we show that the theory "Tr" of finite or infinite trees is a decomposable theory and give some benchmarks realized by an implementation of our algorithm, solving formulas on two-partner games in "Tr" with more than 160 nested alternated quantifiers.


A Decision-Making Support System Based on Know-How

arXiv.org Artificial Intelligence

The research results described are concerned with: - developing a domain modeling method and tools to provide the design and implementation of decision-making support systems for computer integrated manufacturing; - building a decision-making support system based on know-how and its software environment. The research is funded by NEDO, Japan.


An Unfolding-Based Semantics for Logic Programming with Aggregates

arXiv.org Artificial Intelligence

The paper presents two equivalent definitions of answer sets for logic programs with aggregates. These definitions build on the notion of unfolding of aggregates, and they are aimed at creating methodologies to translate logic programs with aggregates to normal logic programs or positive programs, whose answer set semantics can be used to defined the semantics of the original programs. The first definition provides an alternative view of the semantics for logic programming with aggregates described by Pelov et al. The second definition is similar to the traditional answer set definition for normal logic programs, in that, given a logic program with aggregates and an interpretation, the unfolding process produces a positive program. The paper shows how this definition can be extended to consider aggregates in the head of the rules. The proposed views of logic programming with aggregates are simple and coincide with the ultimate stable model semantics, and with other semantic characterizations for large classes of program (e.g., programs with monotone aggregates and programs that are aggregate-stratified). Moreover, it can be directly employed to support an implementation using available answer set solvers. The paper describes a system, called ASP^A, that is capable of computing answer sets of programs with arbitrary (e.g., recursively defined) aggregates.


Reasoning and Planning with Sensing Actions, Incomplete Information, and Static Causal Laws using Answer Set Programming

arXiv.org Artificial Intelligence

We extend the 0-approximation of sensing actions and incomplete information in [Son and Baral 2000] to action theories with static causal laws and prove its soundness with respect to the possible world semantics. We also show that the conditional planning problem with respect to this approximation is NP-complete. We then present an answer set programming based conditional planner, called ASCP, that is capable of generating both conformant plans and conditional plans in the presence of sensing actions, incomplete information about the initial state, and static causal laws. We prove the correctness of our implementation and argue that our planner is sound and complete with respect to the proposed approximation. Finally, we present experimental results comparing ASCP to other planners.


A Knowledge-Based Approach for Selecting Information Sources

arXiv.org Artificial Intelligence

Through the Internet and the World-Wide Web, a vast number of information sources has become available, which offer information on various subjects by different providers, often in heterogeneous formats. This calls for tools and methods for building an advanced information-processing infrastructure. One issue in this area is the selection of suitable information sources in query answering. In this paper, we present a knowledge-based approach to this problem, in the setting where one among a set of information sources (prototypically, data repositories) should be selected for evaluating a user query. We use extended logic programs (ELPs) to represent rich descriptions of the information sources, an underlying domain theory, and user queries in a formal query language (here, XML-QL, but other languages can be handled as well). Moreover, we use ELPs for declarative query analysis and generation of a query description. Central to our approach are declarative source-selection programs, for which we define syntax and semantics. Due to the structured nature of the considered data items, the semantics of such programs must carefully respect implicit context information in source-selection rules, and furthermore combine it with possible user preferences. A prototype implementation of our approach has been realized exploiting the DLV KR system and its plp front-end for prioritized ELPs. We describe a representative example involving specific movie databases, and report about experimental results.


Yet Another Efficient Unification Algorithm

arXiv.org Artificial Intelligence

The unification algorithm is at the heart of the logic program ming paradigm [3]. Starting with the classic algorithm of Robinson [5], the unification algor ithm was developed to become more and more efficient [4]. Even nowadays the unification theory is sti ll under development and is receiving continuous scrutiny from the scientific community [2]. The present paper presents yet another efficient unification a lgorithm centered on a data structure called Unification Table, which borrows some ideas from the data structures used by the Warren's Abstract Machine [1]. The next paragraph presents in detail the proposed unificati on algorithm, giving the C-style pseudo code. An example of application of the algorithm take n from [1] is also presented.