Abstract
AbstractA binding-time analysis is correct if it always produces consistent binding-time information. Consistency prevents partial evaluators from ‘going wrong’. A sufficient and decidable condition for consistency, called well-annotatedness, was first presented by Gomard and Jones. In this paper we prove that a weaker condition implies consistency. Our condition is decidable, subsumes the one of Gomard and Jones, and was first studied by Schwartzbach and the present author. Our result implies the correctness of the binding-time analysis of Mogensen, and it indicates the correctness of the core of the binding-time analyses of Bondorf and Consel. We also prove that all partial evaluators will on termination have eliminated all ‘eliminable’-marked parts of an input which satisfies our condition. This generalizes a result of Gomard. Our development is for the pure λ-calculus with explicit binding-time annotations.
Publisher
Cambridge University Press (CUP)
Reference15 articles.
1. Gomard Carsten K. (1991) (November). Program analysis matters. Ph.D. thesis, DIKU, University of Copenhagen. DIKU Report 91–17.
2. Specifying the correctness of binding-time analysis
3. Mogensen Torben Æ . (1992) Self-applicable partial evaluation for pure lambda calculus. Pages 116–121 of: Proc. ACM SIGPLAN workshop on partial evaluation and semantics-based program manipulation.
4. Sestoft Peter . (1989) Replacing function parameters by global variables. Pages 39–53 of: Proc. conference on functional programming languages and computer architecture.
5. Flow analysis of lambda expressions
Cited by
23 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献