首页    期刊浏览 2024年11月10日 星期日
登录注册

文章基本信息

  • 标题:Program Inversion for Tail Recursive Functions
  • 本地全文:下载
  • 作者:Naoki Nishida ; German Vidal
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2011
  • 卷号:10
  • 页码:283-298
  • DOI:10.4230/LIPIcs.RTA.2011.283
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:Program inversion is a fundamental problem that has been addressed in many different programming settings and applications. In the context of term rewriting, several methods already exist for computing the inverse of an injective function. These methods, however, usually return non-terminating inverted functions when the considered function is tail recursive. In this paper, we propose a direct and intuitive approach to the inversion of tail recursive functions. Our new technique is able to produce good results even without the use of an additional post-processing of determinization or completion. Moreover, when combined with a traditional approach to program inversion, it constitutes a promising approach to define a general method for program inversion. Our experimental results confirm that the new technique compares well with previous approaches.
  • 关键词:term rewriting; program transformation; termination
国家哲学社会科学文献中心版权所有