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

Serrano Mena, Alejandro, López García, Pedro and Hermenegildo, Manuel V. ORCID: https://orcid.org/0000-0002-7583-323X (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:
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

[thumbnail of HERME_A_2014-1.pdf]
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

Type
Code
Acronym
Leader
Title
FP7
318337
ENTRA
ROSKILDE UNIVERSITET
Whole-Systems Energy Transparency
Madrid Regional Government
TIC/1465 PROMETIDOS-CM
Unspecified
Unspecified
Unspecified
Government of Spain
TIN201239391
Unspecified
Unspecified
Unspecified
Government of Spain
TIN2008-05624
Unspecified
Unspecified
Unspecified

More information

Item ID: 33658
DC Identifier: https://oa.upm.es/33658/
OAI Identifier: oai:oa.upm.es:33658
DOI: 10.1017/S147106841400057X
Official URL: http://journals.cambridge.org/action/displayJourna...
Deposited by: Biblioteca Facultad de Informatica
Deposited on: 23 Jan 2015 10:02
Last Modified: 08 Feb 2023 09:02
  • 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