%R doi:10.1007/978-3-540-74610-2_25 %N 4670 %B Logic Programming %L eprints1379 %D 2007 %X The many approaches which have been proposed in the literature for proving the correctness of unfold/fold program transformations, consist in associating suitable well-founded orderings with the proof trees of the atoms belonging to the least Herbrand models of the programs. In practice, these orderings are given by ?clause measures?, that is, measures associated with the clauses of the programs to be transformed. In the unfold/fold transformation systems proposed so far, clause measures are fixed in advance, independently of the transformations to be proved correct. In this paper we propose a method for the automatic generation of the clause measures which, instead, takes into account the particular program transformation at hand. During the transformation process we construct a system of linear equations and inequations whose unknowns are the clause measures to be found, and the correctness of the transformation is guaranteed by the satisfiability of that system. Through some examples we show that our method is able to establish in a fully automatic way the correctness of program transformations which, by using other methods, are proved correct at the expense of fixing sophisticated clause measures. %S Lecture Notes in Computer Science %A Alberto Pettorossi %A Maurizio Proietti %A Valerio Senni %I Springer %O Proceedings of the 23rd International Conference, ICLP 2007, Porto, Portugal, September 8-13, 2007. Also presented at the 2007 Italian Conference on Computational Logic (CILC 2007), 21-22 June, 2007, Messina, Italy. %P 364-379 %T Automatic Correctness Proofs for Logic Program Transformations