Resource usage analysis of logic programs via abstract interpretation using sized types

Serrano Mena, Alejandro and López García, Pedro and Hermenegildo, Manuel V. (2014). Resource usage analysis of logic programs via abstract interpretation using sized types. "Theory and Practice of Logic Programming", v. 14 (n. 4-5); pp. 739-754. ISSN 1471-0684. https://doi.org/10.1017/S147106841400057X.

Description

Title: Resource usage analysis of logic programs via abstract interpretation using sized types
Author/s:
  • Serrano Mena, Alejandro
  • López García, Pedro
  • Hermenegildo, Manuel V.
Item Type: Article
Título de Revista/Publicación: Theory and Practice of Logic Programming
Date: July 2014
ISSN: 1471-0684
Volume: 14
Subjects:
Faculty: E.T.S. de Ingenieros Informáticos (UPM)
Department: Inteligencia Artificial
Creative Commons Licenses: Recognition - No derivative works - Non commercial

Full text

[img]
Preview
PDF - Requires a PDF viewer, such as GSview, Xpdf or Adobe Acrobat Reader
Download (925kB) | Preview

Abstract

We present a novel general resource analysis for logic programs based on sized types. Sized types are representations that incorporate structural (shape) information and allow expressing both lower and upper bounds on the size of a set of terms and their subterms at any position and depth. They also allow relating the sizes of terms and subterms occurring at different argument positions in logic predicates. Using these sized types, the resource analysis can infer both lower and upper bounds on the resources used by all the procedures in a program as functions on input term (and subterm) sizes, overcoming limitations of existing resource analyses and enhancing their precision. Our new resource analysis has been developed within the abstract interpretation framework, as an extension of the sized types abstract domain, and has been integrated into the Ciao preprocessor, CiaoPP. The abstract domain operations are integrated with the setting up and solving of recurrence equations for inferring both size and resource usage functions. We show that the analysis is an improvement over the previous resource analysis present in CiaoPP and compares well in power to state of the art systems.

Funding Projects

TypeCodeAcronymLeaderTitle
FP7318337ENTRAROSKILDE UNIVERSITETWhole-Systems Energy Transparency
Madrid Regional GovernmentTIC/1465 PROMETIDOS-CMUnspecifiedUnspecifiedUnspecified
Government of SpainTIN201239391UnspecifiedUnspecifiedUnspecified
Government of SpainTIN2008-05624UnspecifiedUnspecifiedUnspecified

More information

Item ID: 33658
DC Identifier: http://oa.upm.es/33658/
OAI Identifier: oai:oa.upm.es:33658
DOI: 10.1017/S147106841400057X
Official URL: http://journals.cambridge.org/action/displayJournal?jid=TLP
Deposited by: Biblioteca Facultad de Informatica
Deposited on: 23 Jan 2015 10:02
Last Modified: 14 May 2019 12:08
  • Logo InvestigaM (UPM)
  • Logo GEOUP4
  • Logo Open Access
  • Open Access
  • Logo Sherpa/Romeo
    Check whether the anglo-saxon journal in which you have published an article allows you to also publish it under open access.
  • Logo Dulcinea
    Check whether the spanish journal in which you have published an article allows you to also publish it under open access.
  • Logo de Recolecta
  • Logo del Observatorio I+D+i UPM
  • Logo de OpenCourseWare UPM