Especialização de programas lógicos através da dedução parcial: questões de controle
Logic program specialisation through partial deduction: Control issues
Logic program specialisation through partial deduction: Control issues
@misc{leuschel2002logic,
title = {Logic program specialisation through partial deduction: Control issues},
author = {Michael Leuschel and Maurice Bruynooghe},
year = {2002},
eprint = {cs/0202012},
archivePrefix = {arXiv},
primaryClass = {cs.PL},
url = {https://arxiv.org/abs/cs/0202012}
}
Leuschel, M., & Bruynooghe, M. (2002). Logic program specialisation through partial deduction: Control issues [Preprint]. arXiv. https://doi.org/10.48550/arXiv.cs/0202012
LEUSCHEL M, BRUYNOOGHE M. Logic program specialisation through partial deduction: Control issues[EB/OL]. (2002-02-12)[2026-11-29]. https://arxiv.org/abs/cs/0202012.
Resumo
A especialização de programas visa melhorar o desempenho geral de programas através de transformações de fonte para fonte. Uma abordagem comum dentro da programação funcional e lógica, conhecida respectivamente como avaliação parcial e dedução parcial, consiste em explorar conhecimento parcial sobre a entrada. Isso é alcançado através de uma aplicação bem automatizada de partes do framework de transformações unfold/fold de Burstall-Darlington. O principal desafio no desenvolvimento de sistemas é projetar um controle automático que garanta correção, eficiência e terminação. Este artigo de revisão e tutorial apresenta os principais desenvolvimentos no controle da dedução parcial nos últimos 10 anos e analisa seus respectivos méritos e limitações. Finaliza com uma avaliação das conquistas atuais e propõe alguns desafios de pesquisa remanescentes.
Program specialisation aims at improving the overall performance of programs by performing source to source transformations. A common approach within functional and logic programming, known respectively as partial evaluation and partial deduction, is to exploit partial knowledge about the input. It is achieved through a well-automated application of parts of the Burstall-Darlington unfold/fold transformation framework. The main challenge in developing systems is to design automatic control that ensures correctness, efficiency, and termination. This survey and tutorial presents the main developments in controlling partial deduction over the past 10 years and analyses their respective merits and shortcomings. It ends with an assessment of current achievements and sketches some remaining research challenges.