Constructing recursions by similarity
AUTOR(ES)
Galán, F. J., Cañete, J. M., Madrigal, V. J. Diaz
FONTE
Journal of the Brazilian Computer Society
DATA DE PUBLICAÇÃO
2003-11
RESUMO
A formal specification can describe software models which are difficult to program. Transformational methods based on fold/unfold strategies have been proposed to palliate this problem. The objective of applying transformations is to filter out a new version of the specification where recursion may be introduced by a folding step. Among many problems, the "eureka" about when and how to define a new predicate is difficult to find automatically. We propose a new version of the folding rule which decides automatically how to introduce new predicates in a specification. Our method is based on finding similarities between formulas represented as parsing trees and it constitutes an assistance to the complex problem of deriving recursive specifications from non recursive ones.