Pruning Simply Typed Lambda-Terms
Pruning Simply Typed Lambda-Terms
复制标题
修剪简单类型的 Lambda 术语
DOI:
10.1093/logcom/6.5.663
复制
发表时间:
1996
影响因子:
0.7
通讯作者:
S. Berardi
中科院分区:
文献类型:
--
作者:
S. Berardi
We say that a simply typed λ-term is a ‘pruning’ of another one if the former is obtained from the latter by replacing some subterms with dummy constants. We prove that ‘pruning’ preserves observational behaviour of a simply typed λ-term if it does not modify the type nor the context (assignment of types to free variables) of the term. This result is used to define a map Fl: {simply typed λ-terms} → {simply typed λ-terms} removing redundant code in functional programs. In the rest of the paper we prove some property of Fl interesting from a computational viewpoint. An algorithm to compute Fl is included in the Appendix.