9 research outputs found

    Strong Equivalence of Logic Programs with Abstract Constraint Atoms

    Get PDF
    Abstract. Logic programs with abstract constraint atoms provide a unifying framework for studying logic programs with various kinds of constraints. Establishing strong equivalence between logic programs is a key property for program maintenance and optimization, and for guaranteeing the same behavior for a revised original program in any context. In this paper, we study strong equivalence of logic programs with abstract constraint atoms. We first give a general characterization of strong equivalence based on a new definition of program reduct for logic programs with abstract constraints. Then we consider a particular kind of program revision-constraint replacements addressing the question: under what conditions can a constraint in a program be replaced by other constraints, so that the resulting program is strongly equivalent to the original one

    Discovering Classes of Strongly Equivalent Logic Programs

    Full text link
    In this paper we apply computer-aided theorem discovery technique to discover theorems about strongly equivalent logic programs under the answer set semantics. Our discovered theorems capture new classes of strongly equivalent logic programs that can lead to new program simplification rules that preserve strong equivalence. Specifically, with the help of computers, we discovered exact conditions that capture the strong equivalence between a rule and the empty set, between two rules, between two rules and one of the two rules, between two rules and another rule, and between three rules and two of the three rules

    A semantical framework for hybrid knowledge bases

    Get PDF
    In the ongoing discussion about combining rules and ontologies on the Semantic Web a recurring issue is how to combine first-order classical logic with nonmonotonic rule languages. Whereas several modular approaches to define a combined semantics for such hybrid knowledge bases focus mainly on decidability issues, we tackle the matter from a more general point of view. In this paper, we show how Quantified Equilibrium Logic (QEL) can function as a unified framework which embraces classical logic as well as disjunctive logic programs under the (open) answer set semantics. In the proposed variant of QEL, we relax the unique names assumption, which was present in earlier versions of QEL. Moreover, we show that this framework elegantly captures the existing modular approaches for hybrid knowledge bases in a unified way

    ASP(AC): Answer Set Programming with Algebraic Constraints

    Full text link
    Weighted Logic is a powerful tool for the specification of calculations over semirings that depend on qualitative information. Using a novel combination of Weighted Logic and Here-and-There (HT) Logic, in which this dependence is based on intuitionistic grounds, we introduce Answer Set Programming with Algebraic Constraints (ASP(AC)), where rules may contain constraints that compare semiring values to weighted formula evaluations. Such constraints provide streamlined access to a manifold of constructs available in ASP, like aggregates, choice constraints, and arithmetic operators. They extend some of them and provide a generic framework for defining programs with algebraic computation, which can be fruitfully used e.g. for provenance semantics of datalog programs. While undecidable in general, expressive fragments of ASP(AC) can be exploited for effective problem-solving in a rich framework. This work is under consideration for acceptance in Theory and Practice of Logic Programming.Comment: 32 pages, 16 pages are appendi

    Properties and Applications of Programs with Monotone and Convex Constraints

    Full text link
    We study properties of programs with monotone and convex constraints. We extend to these formalisms concepts and results from normal logic programming. They include the notions of strong and uniform equivalence with their characterizations, tight programs and Fages Lemma, program completion and loop formulas. Our results provide an abstract account of properties of some recent extensions of logic programming with aggregates, especially the formalism of lparse programs. They imply a method to compute stable models of lparse programs by means of off-the-shelf solvers of pseudo-boolean constraints, which is often much faster than the smodels system

    Reducing Strong Equivalence of Logic Programs to Entailment in Classical Propositional Logic

    No full text
    Recently Lifschitz, Pearce, and Valverde (2001) introduced a notion of strong equivalence between two logic programs, and showed that it can be captured in a 3-valued logic. In this paper, first for propositional logic programs with default negation, constraints, and disjunctions, we show that there is a simple mapping from these programs to propositional theories that reduces this notion of strong equivalence to entailment in classical propositional logic. Furthermore, we also provide a mapping in the other direction thus show that the problem of checking strong equivalence is co-NP-complete. We then consider logic programs with variables. One surprising result is that while the problem of deciding whether two logic programs are equivalent goes from decidable to undecidable when we move from logic programs without variables to ones with, the problem of deciding whether two logic programs are strongly equivalent remains to be co-NP-complete for logic programs with variables and constants
    corecore