Polynomial and Exponential Bounded Logic Programs with Function Symbols: Some New Decidable Classes

Vernon Asuncion, Yan Zhang, Heng Zhang, Ruixuan Li

Abstract

Logic programming with function symbols offers significant expressive power but often leads to undecidability regarding the existence of a finite grounding. This paper introduces two new decidable classes—poly-bounded and k-EXP-bounded programs—which significantly expand the known landscape of finitely ground programs. By utilizing a novel fixpoint-based progression framework, the authors demonstrate that these classes encompass many existing safe classes and can model complex domains like propositional planning.

Introduction

In Answer Set Programming (ASP), function symbols allow for the representation of complex, recursive data structures. However, their inclusion often makes the grounding process—converting a program with variables into a finite propositional form—infinite. A program is considered finitely ground if it possesses a finite equivalent that can be processed by standard solvers. Since determining finite groundness is generally undecidable, researchers have focused on identifying "safe" fragments of logic programs.

Existing classes, such as $\omega$-restricted or GMT-bounded programs, provide safety guarantees but are often too restrictive for practical applications like automated planning. This research addresses this gap by defining broader classes that remain decidable while capturing more complex recursive behaviors.

Methodology: Fixpoint Progressions and Bounds

The authors propose a framework to estimate the bounds of a program's stable models using fixpoint-like progressions. This approach involves:

  1. Lower and Upper Bounds: A procedure calculates the set of facts that must be true (lower bound) and an approximation of all potentially derivable atoms (upper bound).
  2. SCC Stratification: Programs are decomposed into Strongly Connected Components (SCCs) to analyze term growth within recursive loops.
  3. Termination Criteria:
  4. Poly-bounded: The depth of terms is guaranteed to stop growing after a polynomial number of iterations relative to the program size.
  5. k-EXP-bounded: Term growth is bounded by a $k$-nested exponential function.

Unlike purely syntactic methods, this approach is semantically aware, accounting for negations, disjunctions, and constraints to provide tighter and more accurate bounds.

The Landscape of Decidability

A core contribution of this work is the formalization of the relationship between various decidable classes. The authors prove a hierarchy of strict containment, where the new classes sit at the top, encompassing nearly all previously known fragments.

Hierarchy of decidable logic program classes, showing the containment of poly-bounded and k-EXP-bounded programs.

As shown in Figure 1, poly-bounded programs strictly contain GMT-bounded and size-restricted programs, while $k$-EXP-bounded programs provide an even broader safety net for complex logic structures.

Complexity and Results

The paper establishes the computational complexity of determining whether a program belongs to these new classes. While the membership check is computationally intensive, it serves as a one-time verification step that ensures the program can be safely solved by high-performance ASP tools like clingo or DLV.

Membership complexity for advanced decidable classes, including the newly introduced poly-bounded and k-exp-bounded classes.

The results indicate that deciding if a program is poly-bounded is EXPTIME-complete, while $k$-EXP-bounded membership is (k+1)-EXPTIME-complete. Despite this complexity, the authors demonstrate practical utility through a case study on Propositional Planning (STRIPS), showing that such problems are naturally 1-EXP-bounded.

Conclusion

By introducing poly-bounded and $k$-EXP-bounded programs, this research significantly pushes the boundaries of what can be automatically grounded and solved in ASP. These classes provide a robust theoretical foundation for handling complex recursive structures in AI applications, bridging the gap between abstract logic and practical problem-solving. Future work includes optimizing membership checkers and extending these bounds to alternative semantics.

Summary updated

BibTeX
@article{asuncion2019polynomial,
  author = {Vernon Asuncion and Yan Zhang and Heng Zhang and Ruixuan Li},
  title = {{Polynomial and Exponential Bounded Logic Programs with Function Symbols: Some New Decidable Classes}},
  journal = {J. Artif. Intell. Res.},
  year = {2019},
  doi = {10.1613/jair.1.11408},
}
Figure