A Transformational Approach to Resource Analysis with Typed-norms Inference. Issue 3 (5th May 2020)
- Record Type:
- Journal Article
- Title:
- A Transformational Approach to Resource Analysis with Typed-norms Inference. Issue 3 (5th May 2020)
- Main Title:
- A Transformational Approach to Resource Analysis with Typed-norms Inference
- Authors:
- ALBERT, ELVIRA
GENAIM, SAMIR
GUTIÉRREZ, RAÚL
MARTIN-MARTIN, ENRIQUE - Abstract:
- Abstract: In order to automatically infer the resource consumption of programs, analyzers track how data sizes change along program's execution. Typically, analyzers measure the sizes of data by applying norms which are mappings from data to natural numbers that represent the sizes of the corresponding data. When norms are defined by taking type information into account, they are named typed-norms . This article presents a transformational approach to resource analysis with typed-norms that are inferred by a data-flow analysis. The analysis is based on a transformation of the program into an intermediate abstract program in which each variable is abstracted with respect to all considered norms which are valid for its type. We also present the data-flow analysis to automatically infer the required, useful, typed-norms from programs. Our analysis is formalized on a simple rule-based representation to which programs written in different programming paradigms (e.g., functional, logic, and imperative) can be automatically translated. Experimental results on standard benchmarks used by other type-based analyzers show that our approach is both efficient and accurate in practice.
- Is Part Of:
- Theory and practice of logic programming. Volume 20:Issue 3(2020)
- Journal:
- Theory and practice of logic programming
- Issue:
- Volume 20:Issue 3(2020)
- Issue Display:
- Volume 20, Issue 3 (2020)
- Year:
- 2020
- Volume:
- 20
- Issue:
- 3
- Issue Sort Value:
- 2020-0020-0003-0000
- Page Start:
- 310
- Page End:
- 357
- Publication Date:
- 2020-05-05
- Subjects:
- resource analysis, -- typed-norms, -- data-flow analysis, -- program transformation
Logic programming -- Periodicals
Artificial intelligence -- Computer programs -- Periodicals
Constraint programming (Computer science) -- Periodicals
005.115 - Journal URLs:
- https://www.cambridge.org/core/journals/theory-and-practice-of-logic-programming ↗
- DOI:
- 10.1017/S1471068419000401 ↗
- Languages:
- English
- ISSNs:
- 1471-0684
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD Digital store
- Ingest File:
- 16335.xml