Generating compiler optimizations from proofs
Ross Tate, Michael Stepp, Sorin Lerner · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · 2010
We present an automated technique for generating compiler optimizations from examples of concrete programs before and after improvements have been made to them. The key technical insight of our technique is that a proof of equivalence between the original and transformed concrete programs informs us which aspects of the programs are important and which can be discarded. Our technique therefore uses these proofs, which can be produced by translation validation or a proof-carrying compiler, as a guide to generalize the original and transformed programs into broadly applicable optimization rules.
Cited by 28 works. doi:10.1145/1706299.1706345
Authors
References
- A theory of type polymorphism in programming
- Abstract and Concrete Categories.
- Denali
- Sharlit---a tool for building optimizers
- Superoptimizer: a look at the smallest program
- Abstract and concrete categories : the joy of cats
- Superoptimizer: a look at the smallest program
- Explanation-based learning: a survey of programs and perspectives
- Meta optimization
- The chase revisited