Skip to main content
QUICK REVIEW

[Paper Review] Language ASP{f} with Arithmetic Expressions and Consistency-Restoring Rules

Marcello Balduccini, Michael Gelfond|arXiv (Cornell University)|Jan 8, 2013
Logic, Reasoning, and KnowledgeComputer Science16 references4 citations
TL;DR

This paper introduces ASP{f,cr}, an extension of Answer Set Programming that supports non-Herbrand functions, full arithmetic expressions, and consistency-restoring rules. It enables more natural, declarative, and efficient encoding of dynamic domains—such as numerical fluents and constraint problems—by avoiding grounding blowups seen in traditional ASP, while maintaining computational efficiency through integration with constraint solvers like clingcon.

ABSTRACT

In this paper we continue the work on our extension of Answer Set Programming by non-Herbrand functions and add to the language support for arithmetic expressions and various inequality relations over non-Herbrand functions, as well as consistency-restoring rules from CR-Prolog. We demonstrate the use of this latest version of the language in the representation of important kinds of knowledge.

Motivation & Objective

  • To extend Answer Set Programming with non-Herbrand functions to support more natural and declarative modeling of dynamic domains.
  • To integrate full arithmetic expressions and inequality relations over non-Herbrand functions for richer knowledge representation.
  • To incorporate consistency-restoring rules from CR-Prolog to handle inconsistencies and partial functions.
  • To improve computational efficiency by reducing grounding size compared to traditional ASP encodings.
  • To demonstrate the language's expressiveness and efficiency on classical problems like the water pouring and N-Queens domains.

Proposed method

  • Extends the ASP language with support for arithmetic expressions involving non-Herbrand functions, enabling direct manipulation of numerical values.
  • Introduces consistency-restoring rules (CR-rules) to handle inconsistent or incomplete information, allowing partial functions and recovery from inconsistency.
  • Uses a generalized inertia axiom: val(N,T+1) = val(N,T) unless explicitly changed, enabling incremental encoding of numerical fluents.
  • Employs a hybrid solver architecture combining ASP and CSP solvers (as in clingcon), enabling efficient grounding and computation.
  • Defines a semantics based on reducts and answer sets, extending the original ASP framework to handle non-Herbrand functions and arithmetic.
  • Uses functional notation (e.g., occupancy(S+1) = O+1) instead of relational encodings, avoiding the need for uniqueness axioms and reducing grounding overhead.

Experimental results

Research questions

  • RQ1How can non-Herbrand functions be integrated into ASP to support arithmetic expressions and inequalities without sacrificing efficiency?
  • RQ2In what ways do consistency-restoring rules improve the handling of partial functions and inconsistent knowledge in ASP?
  • RQ3How does the grounding size of ASP{f,cr} encodings compare to traditional ASP and other extended languages in dynamic and constraint-based problems?
  • RQ4Can ASP{f,cr} provide more declarative and elaboration-tolerant encodings than standard ASP for problems like the water pouring and N-Queens?
  • RQ5What performance advantages does ASP{f,cr} offer over translation-based approaches (e.g., to ASP or CSP) in terms of grounding size and solver execution time?

Key findings

  • The grounding of the N-Queens encoding in ASP{f,cr} grows as O(n²), compared to O(n⁴) in standard ASP encodings, significantly improving scalability.
  • The encoding of numerical fluents using functional notation (e.g., val(N,T+1) = val(N,T)) avoids the need for uniqueness constraints, reducing grounding size and improving performance.
  • The use of consistency-restoring rules allows for partial functions and recovery from inconsistency, enabling more robust modeling of real-world domains.
  • The ASP{f,cr} approach avoids the O(|D|²) grounding blowup seen in relational encodings of functions, where D is the domain of numerical values.
  • The language supports incremental extension: adding new numerical fluents requires no changes to existing rules, enhancing elaboration tolerance.
  • The prototype solver demonstrates that the approach achieves better performance than translation-based methods, with experimental validation expected upon full release.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.