Removing Redundancy from Answer Set Programs

  • Authors:
  • Tomi Janhunen

  • Affiliations:
  • Department of Information and Computer Science, Helsinki University of Technology TKK, TKK, Finland FI-02015

  • Venue:
  • ICLP '08 Proceedings of the 24th International Conference on Logic Programming
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

In answer set programming, ground programs are used as intermediate representations of logic programs for which answer sets are computed. It is typical that such programs contain many redundant rules--increasing the length of the program unnecessarily. In this article, we address redundancy of rules in answer set programs, and in particular, in program modules that are used as components of programs. To this end, we provide an exact semantical characterization of redundancy and present a translation-based method for detecting redundant rules. A prototype implementation, the modular optimizer (modopt ), has been developed in the context of the smodels system. In the experimental part, we study the effects of modular optimization on lengths and run times of programs.