Theory of Linear Equations Applied to Program Transformation
Proceedings of the Eighth International Joint Conference on Artificial Intelligence. Automatic Programming. Pages 10-15.
Abstract
In this pap er is presented a tec hniqu e for transforming a class of recursive equations ca lled linear equations into iterativ e equations. Linear equations are characterized by involving at the most one recursive call for any invocation. In contrast to the conventional techniques, the scheme of program transformation presented here involves finding the solution of the given linear equation and transforming this solution. The solutions of lin ea r equations can always be expressed using a construct called abstract sequence. Two classe s of abstract sequence programs a re identified: right-associative and left-a ssociative sequence programs. The former are obtained by solving linear equations and the latter correspond to it e rative programs . The task of transforming linear recursive programs into iterative programs is thus reduced to the task of transforming right-associativ e se quence programs into left-associative ones. Variou s tran sfo rmation rules are developed based on an algebra of functional programs.
@inproceedings{ijcai1983p2,
title = {Theory of Linear Equations Applied to Program Transformation},
author = {Reddy, Uday S. and Jayaraman, Bharat},
booktitle = {Proceedings of the Eighth International Joint Conference on
Artificial Intelligence, {IJCAI-83}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Alan Bundy},
pages = {10--15},
year = {1983},
note = {Automatic Programming},
url = {https://ijcai.org/proceedings/1983/2},
}
TY - CPAPER TI - Theory of Linear Equations Applied to Program Transformation AU - Reddy, Uday S. AU - Jayaraman, Bharat T2 - Proceedings of the Eighth International Joint Conference on Artificial Intelligence, IJCAI-83 PB - International Joint Conferences on Artificial Intelligence PY - 1983 SP - 10 EP - 15 UR - https://ijcai.org/proceedings/1983/2 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: