Techniques for scaling up analyses based on pre-interpretations

John P. Gallagher*, Kim S. Henriksen, Gourinath Banda

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

Abstract

Any finite tree automaton (or regular type) can be used to construct an abstract interpretation of a logic program, by first determinising and completing the automaton to get a pre-interpretation of the language of the program. This has been shown to be a flexible and practical approach to building a variety of analyses, both generic (such as mode analysis) and program-specific (with respect to a type describing some particular property of interest). Previous work demonstrated the approach using pre-interpretations over small domains. In this paper we present techniques that allow the method to be applied to more complex pre-interpretations and larger programs. There are two main techniques presented: the first is a novel algorithm for determinising finite tree automata, yielding a compact "product" form of the transitions of the result automaton, that is often orders of magnitude smaller than an explicit representation of the automaton. Secondly, it is shown how this form (which is a representation of a pre-interpretation) can then be input directly to a BDD-based analyser of Datalog programs. We demonstrate through experiments that much more complex analyses become feasible.

Original languageEnglish
Title of host publicationLogic Programming. ICLP 2005
Volume3668
PublisherSpringer
Publication date2005
Pages280-296
ISBN (Print)978-3-540-29208-1
ISBN (Electronic)978-3-540-31947-4
DOIs
Publication statusPublished - 2005
Externally publishedYes
Event21st International Conference on Logic Programming, ICLP 2005 - Sitges, Spain
Duration: 2. Oct 20055. Oct 2005

Conference

Conference21st International Conference on Logic Programming, ICLP 2005
Country/TerritorySpain
CitySitges
Period02/10/200505/10/2005
SponsorAEPIA, Technical University of Catalonia, UPC, Spain, University of Texas at Dallas
SeriesLecture Notes in Computer Science
Volume3668
ISSN0302-9743

Fingerprint

Dive into the research topics of 'Techniques for scaling up analyses based on pre-interpretations'. Together they form a unique fingerprint.

Cite this