Memoization for Unary Logic Programming: Characterizing PTIME - Archive ouverte HAL
Pré-Publication, Document De Travail Année : 2015

Memoization for Unary Logic Programming: Characterizing PTIME

Résumé

We give a characterization of deterministic polynomial time computation based on an algebraic structure called the resolution semiring, whose elements can be understood as logic programs or sets of rewriting rules over first-order terms. More precisely, we study the restriction of this framework to terms (and logic programs, rewriting rules) using only unary symbols. We prove it is complete for polynomial time computation, using an encoding of pushdown automata. We then introduce an algebraic counterpart of the memoization technique in order to show its PTIME soundness. We finally relate our approach and complexity results to complexity of logic programming. As an application of our techniques, we show a PTIME-completeness result for a class of logic programming queries which use only unary function symbols.
Fichier principal
Vignette du fichier
stack-and-p-standalone.pdf (284.74 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-01107377 , version 1 (20-01-2015)
hal-01107377 , version 2 (03-02-2015)
hal-01107377 , version 3 (16-10-2015)

Licence

Identifiants

Citer

Clément Aubert, Marc Bagnol, Thomas Seiller. Memoization for Unary Logic Programming: Characterizing PTIME. 2015. ⟨hal-01107377v1⟩
431 Consultations
149 Téléchargements

Altmetric

Partager

More