Change search
ReferencesLink to record
Permanent link

Direct link
A practical type analysis for verification of modular Prolog programs
Complutense University, Madrid.
Technical University of Madrid.
Technical University of Madrid.
2008 (English)In: Proceedings of the 2008 ACM SIGPLAN symposium on Partial evaluation and semantics-based program manipulation, ACM Digital Library, 2008, 61-70 p.Conference paper (Refereed)
Abstract [en]

Regular types are a powerful tool for computing very precise descriptive types for logic programs. However, in the context of reallife, modular Prolog programs, the accurate results obtained by regular types often come at the price of efficiency. In this paper we propose a combination of techniques aimed at improving analysis efficiency in this context. As a first technique we allow optionally reducing the accuracy of inferred types by using only the types defined by the user or present in the libraries. We claim that, for the purpose of verifying type signatures given in the form of assertions the precision obtained using this approach is sufficient, and show that analysis times can be reduced significantly. Our second technique is aimed at dealing with situations where we would like to limit the amount of reanalysis performed, especially for library modules. Borrowing some ideas from polymorphic type systems, we show how to solve the problem by admitting parameters in type specifications. This allows us to compose new call patterns with some precomputed analysis info without losing any information. We argue that together these two techniques contribute to the practical and scalable analysis and verification of types in Prolog programs.

Place, publisher, year, edition, pages
ACM Digital Library, 2008. 61-70 p.
Research subject
Embedded System
URN: urn:nbn:se:ltu:diva-31664Local ID: 5e91e090-c117-11dd-a054-000ea68e967bISBN: 978-1-595-93977-7OAI: diva2:1004898
ACM/SIGPLAN Workshop Partial Evaluation and Semantics-Based Program Manipulation : 07/01/2008 - 08/01/2008
Uppr├Ąttat; 2008; 20081203 (pawpie)Available from: 2016-09-30 Created: 2016-09-30

Open Access in DiVA

fulltext(157 kB)0 downloads
File information
File name FULLTEXT01.pdfFile size 157 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Pietrzak, Pawel

Search outside of DiVA

GoogleGoogle Scholar
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

ReferencesLink to record
Permanent link

Direct link