|
ABSTRACT
In this paper, we are interested in the application of program transformation for minimizing the number of intermediary sequences used in iterative programs. We shall use the FP language for presenting programs. The transformation rules are based on the algebra of functional programs. In contrast to the other systems of rules for program transformation, sets of rules presented here are convergent (i.e. finitely terminating and confluent) rewriting systems. These rewriting systems are the result of the Knuth-Bendix procedure applied to a set of equations. The equations are valided by the algebra of functional programs. We use the implementation of the Knuth-Bendix procedure in the system REVE. If REVE is applied to a set of equations and if it does not fail, then it returns a convergent rewriting set of rules. With such a rewriting system, the task of transforming a program is reduced to rewrite it until we get its normal form. Thus we propose a set of valid equations and we discuss how convergent rewriting systems can be generated using REVE.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
|
| |
2
|
|
 |
3
|
|
| |
4
|
DERSHOWITZ N., "Orderings for term-rewriting systems" Theorical Computer Science, 17-3, (1982), pp. 279-301.
|
 |
5
|
M. Gordon , R. Milner , L. Morris , M. Newey , C. Wadsworth, A Metalanguage for interactive proof in LCF, Proceedings of the 5th ACM SIGACT-SIGPLAN symposium on Principles of programming languages, p.119-130, January 23-25, 1978, Tucson, Arizona
[doi> 10.1145/512760.512773]
|
 |
6
|
|
 |
7
|
|
| |
8
|
|
| |
9
|
JOUANNAUD J.P., KIRCHNER C., KIRCHNER H., "Using meta-rules in the Knuth-Bendix completion algorithm" To appear.
|
| |
10
|
JOUANNAUD J.P., LESCANNE P., REINIG F., "Recursive decomposition ordering" In Formal Description of programming, concept II, IFIP TC-2 Conference, D. Bjorner Ed., North Holland, (1982), pp.331-348.
|
| |
11
|
KNUTH D., BENDIX P., "Simple word problems in universal algebras" In Computational problem in universal algebra. Leech J. Ed. Pergamon Press., (1970), pp. 263-297.
|
| |
12
|
KIRCHNER C., KIRCHNER H., "Unification dans les theories equationnelles" Internal Report. CRIN 83R011, (1983)
|
| |
13
|
LANKFORD D., "On proving Term-Rewriting Systems are Noetherian" Report MTP-2, Math. Dept., Louisiana Tech. University, (1979)
|
 |
14
|
|
| |
15
|
LESCANNE P., "Uniform Termination of Term-Rewriting systems, a new Recursive Decomposition Ordering with status" CAAP, Bordeaux(1984)
|
| |
16
|
MANNA Z., NESS S., "On the termination of Markov algorithms" Proc. 3rd Int. Conf. on System Sciences, Honolulu, (1970), pp. 789-792.
|
| |
17
|
REDDY U.S., JAYARAMAN B., "Theory of linear equations applied to program transformation" Proc. of 9th. IJCAI, (1983), pp. 10-16.
|
| |
18
|
TURNER D. A., "SASL Language Manuel" St. Andrews University Technical Report, (1976)
|
| |
19
|
WILLIAMS J.H., "On the development of the algebra of functional programs" Report RJ2983, IBM Research Laboratory, San Jose, California, (1980)
|
|