Program transformation by templates based on term rewriting

Yuki Chiba, Takahito Aoto, Yoshihito Toyama

研究成果: Conference contribution

12 被引用数 (Scopus)

抄録

Huet and Lang (1978) presented a framework of automated program transformation based on lambda calculus in which programs are transformed according to a given program transformation template. They introduced a second-order matching algorithm of simply-typed lambda calculus to verify whether the input program matches the template. They also showed how to validate the correctness of the program transformation using the denotational semantics. We propose in this paper a framework of program transformation by templates based on term rewriting. In our new framework, programs are given by term rewriting systems. To automate our program transformation, we introduce a term pattern matching problem and present a sound and complete algorithm that solves this problem. We also discuss how to validate the correctness of program transformation in our framework. We introduce a notion of developed templates and a simple method to construct such templates without explicit use of induction. We then show that in any program transformation by developed templates the correctness of the transformation can be verified automatically. In our framework the correctness of the program transformation is discussed based on the operational semantics. This is a sharp contrast to Huet and Lang's framework.

本文言語English
ホスト出版物のタイトルPPDP'05 - Proceedings of the Seventh ACM SIGPLAN Conference on Principles and Practice of Declarative Programming
ページ59-69
ページ数11
DOI
出版ステータスPublished - 2005 12 1
イベントPPDP'05 - 7th ACM SIGPLAN Conference on Principles and Practice of Declarative Programming - Lisbon, Portugal
継続期間: 2005 7 112005 7 13

出版物シリーズ

名前PPDP'05 - Proceedings of the Seventh ACM SIGPLAN Conference on Principles and Practice of Declarative Programming
2005

Other

OtherPPDP'05 - 7th ACM SIGPLAN Conference on Principles and Practice of Declarative Programming
国/地域Portugal
CityLisbon
Period05/7/1105/7/13

ASJC Scopus subject areas

  • 工学(全般)

フィンガープリント

「Program transformation by templates based on term rewriting」の研究トピックを掘り下げます。これらがまとまってユニークなフィンガープリントを構成します。

引用スタイル