Please use this identifier to cite or link to this item: http://repositorio.inesctec.pt/handle/123456789/3629
Title: Tabling, Rational Terms, and Coinduction Finally Together!
Authors: Theofrastos Mantadelis
Ricardo Rocha
Paulo Moura
Issue Date: 2014
Abstract: Tabling is a commonly used technique in logic programming for avoiding cyclic behavior of logic programs and enabling more declarative program definitions. Furthermore, tabling often improves computational performance. Rational term are terms with one or more infinite sub-terms but with a finite representation. Rational terms can be generated in Prolog by omitting the occurs check when unifying two terms. Applications of rational terms include definite clause grammars, constraint handling systems, and coinduction. In this paper, we report our extension of YAP's Prolog tabling mechanism to support rational terms. We describe the internal representation of rational terms within the table space and prove its correctness. We then use this extension to implement a tabling based approach to coinduction. We compare our approach with current coinductive transformations and describe the implementation. In addition, we present an algorithm that ensures a canonical representation for rational terms.
URI: http://repositorio.inesctec.pt/handle/123456789/3629
http://dx.doi.org/10.1017/s147106841400012x
metadata.dc.type: article
Publication
Appears in Collections:CRACS - Articles in International Journals

Files in This Item:
File Description SizeFormat 
P-009-PQG.pdf
  Restricted Access
289.57 kBAdobe PDFView/Open Request a copy


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.