scientific article; zbMATH DE number 3947599

From MaRDI portal
Publication:3718129





[For the entire collection see Zbl 0578.00007.] We have considered iterative programs developed by a particular style of programming using sequences defined by the way of recurrent relations mixed with a stepwise refinement methodology. This method (called MEDEE) make program easier to understand and to prove correct. However, non expert programmers naturally define too many sequences. The purpose is to improve this kind of programs by decreasing the number of intermediate sequences. The idea is to use a term rewriting system to get automatic transformations. If the rewriting system is noetherian and confluent, it produces a normal-form and the normal-form is the result of the transformation. Since programs may be described with functional (FP-like) expressions, the rewriting rules come from a simple algebra of functional expressions. Moreover the rules need to be oriented such that they improve the expressions (in other words such that the rewritten expression generate fewer sequences). We use the REVE system to get such a term rewriting system. This result comforts the idea of using term rewriting system for program transformation although there remain problems.











This page was built for publication:

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3718129)