Luo, Y. and Chitil, Olaf
Proving the correctness of algorithmic debugging for funtional programs.
In: Nilsson, Henrik, ed.
Trends in Functional Programming.
Trends in Functional Programming, 7
Intellect UK, United States, pp. 19-34.
ISBN 978-1841501888 .
(Full text available)
This paper formally presents a model of tracing for functional programs based on a
small-step operational semantics. The model records the computation of a functional
program in a graph which can be utilised for various purposes such as algorithmic
debugging. The main contribution of this paper is to prove the correctness of algorithmic
debugging for functional programs based on the model. Although algorithmic
debugging for functional programs is implemented in several tracers such as Hat, the
correctness has not been formally proved before. The difficulty of the proof is to find
a suitable induction principle and a more general induction hypothesis.
- Depositors only (login required):