Sciweavers

JLP
2008

Program and proof optimizations with type systems

13 years 10 months ago
Program and proof optimizations with type systems
We demonstrate a method for describing data-flow analyses based program optimizations as compositional type systems with a transformation component. Analysis results are presented in terms of types ascribed to expressions and statements, certifiable by type derivations, and the transformation component carries out the optimizations that the type derivations license. We describe dead code elimination and common subexpression elimination. In the case of common subexpression elimination we circumvent non-compositionality with a combined type system for a combination of two analyses. The motivation of this work lies in certified code applications, where an optimization of a program must be supported by a checkable justification. As an example application we highlight "proof optimization", i.e., mechanical transformation of a program's functional correctness proof together with the program, based on the analysis type derivation. Key words: data-flow analyses, optimizations, ...
Ando Saabas, Tarmo Uustalu
Added 13 Dec 2010
Updated 13 Dec 2010
Type Journal
Year 2008
Where JLP
Authors Ando Saabas, Tarmo Uustalu
Comments (0)