relation: http://eprints.imtlucca.it/1375/ title: A Folding Algorithm for Eliminating Existential Variables from Constraint Logic Programs creator: Senni, Valerio creator: Pettorossi, Alberto creator: Proietti, Maurizio subject: QA75 Electronic computers. Computer science description: The existential variables of a clause in a constraint logic program are the variables which occur in the body of the clause and not in its head. The elimination of these variables is a transformation technique which is often used for improving program efficiency and verifying program properties. We consider a folding transformation rule which ensures the elimination of existential variables and we propose an algorithm for applying this rule in the case where the constraints are linear inequations over rational or real numbers. The algorithm combines techniques for matching terms modulo equational theories and techniques for solving systems of linear inequations. We show that an implementation of our folding algorithm performs well in practice. publisher: Springer date: 2008 type: Book Section type: PeerReviewed identifier: Senni, Valerio and Pettorossi, Alberto and Proietti, Maurizio A Folding Algorithm for Eliminating Existential Variables from Constraint Logic Programs. In: Logic Programming. Lecture Notes in Computer Science (5366). Springer, pp. 284-300. ISBN 978-3-540-89981-5 (2008) relation: http://dx.doi.org/10.1007/978-3-540-89982-2_29 relation: 10.1007/978-3-540-89982-2_29