Jump to : Download | Abstract | Contact | BibTex reference | EndNote reference |

henglein94c

Fritz Henglein. Iterative Fixed Point Computation for Type-Based Strictness Analysis. In 1st Int'l Static Analysis Symposium (SAS), Namur, Belgium, Baudouin Le Charlier (ed.), Lecture Notes in Computer Science, Also DIKU Semantics Report D-192, Volume 864, Pages 395-407, September 1994.

Download

Download paper: Adobe portable document (pdf) pdf

Copyright notice:This material is presented to ensure timely dissemination of scholarly and technical work. Copyright and all rights therein are retained by authors or by other copyright holders. All persons copying this information are expected to adhere to the terms and constraints invoked by each author's copyright. These works may not be reposted without the explicit permission of the copyright holder.

Abstract

Amtoft has formulated an ``on-line'' constraint normalization method for solving a strictness inference problem inspired by Wright. From the syntactic form of the normalized constraints he establishes that every pro- gram expression has a unique, most precise (``minimal'') strictness judgement, given fixed values for the strictness annotation in negative position. We show that his on-line normalization is not required for proving his main syntactic result. Instead of normalizing the constraints during a bottom-up pass through the program we simply collect them first and solve them by standard iterative fixed point methods in a second phase. The main result follows from the fact that observable negative strictness variables only occur on the right-hand sides of the constraints. Furthermore, a standard iterative fixed point algorithm solves the constraints in linear time in the number of strictness variables in the constraint system whereas Amtoft's method requires exponential time. Our presentation is somewhat different than Amtoft's. We use a linear-logic inspired presentation of the programming language and the strictness inference system for it. This results in smaller constraint systems generated. A tight strictness inference normalization result shows that many inequational constraints can be replaced by equational ones. Thus the constraint system can be simplified and significantly reduced in size by efficient variable unification, which can be performed on-line during its construction. Finally, we give an asymptotic worst-case analysis of the size of constraint systems relative to a program with or without explicitly typed variable declarations. The main contributions in this paper are our analysis and method for solving type-based program analyses efficiently, not the design of new type-based program analyses. Generally, our method provides insight into the strengths of noncompositional program analysis algorithms; i.e., algo- rithms where the solution for a program is not computed as a function of the corresponding solutions of its immediate components, such as in Algorithm W or in frontier-based abstract interpretation. In particular, our method demonstrates the effective use of efficient iterative fixed point com- putation known from classical data flow analysis in type-based program analysis

Contact

Fritz Henglein

BibTex Reference

@InProceedings{henglein94c,
   Author = {Henglein, Fritz},
   Title = {Iterative Fixed Point Computation for Type-Based Strictness Analysis},
   BookTitle = {1st Int'l Static Analysis Symposium (SAS), Namur, Belgium},
   editor = {Le Charlier, Baudouin},
   Volume = {864},
   Pages = {395--407},
   Series = {Lecture Notes in Computer Science},
   Publisher = {Springer-Verlag},
   Month = {September},
   Year = {1994}
}

EndNote Reference [help]

Get EndNote Reference (.ref)