On the Expressibility of Stable Logic Programming

  • Authors:
  • V. Wiktor Marek;Jeffrey B. Remmel

  • Affiliations:
  • -;-

  • Venue:
  • LPNMR '01 Proceedings of the 6th International Conference on Logic Programming and Nonmonotonic Reasoning
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

Schlipf [Sch95] proved that Stable Logic Programming (SLP) solves all NP decision problems. We extend Schlipf's result to prove that SLP solves all search problems in the class NP. Moreover, we do this in a uniform way as defined in [MT99]. Specifically, we show that there is a single DATALOG¬ program PTrg such that given any Turing machine M, any polynomial p with non-negative integer coefficients and any input σ of size n over a fixed alphabet Σ, there is an extensional database edbM,p,σ such that there is a one-to-one correspondence between the stable models of edbM,p,σ ∪ PTrg and the accepting computations of the machine M that reach the final state in at most p(n) steps. Moreover, edbM,p,σ can be computed in polynomial time from p, σ and the description of M and the decoding of such accepting computations from its corresponding stable model of edbM,p,σ ∪ PTrg can be computed in linear time. A similar statement holds for Default Logic with respect to Σ2p-search problems. We also show that there is single program Meta which is a metainter-preter for SLP programs. That is, for any program Q, there there is an encoding of Q as an extensional data base edbQ such that the stable models of Meta ∪ edbQ are in one-to-one correspondence with the stable models of Q.