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. Through some examples we show that an implementation of our folding algorithm has a good performance in practice.
Pettorossi, A., Senni, V., Proietti, M. (2009). A folding rule for eliminating existential variables from constraint logic programs. FUNDAMENTA INFORMATICAE, 96, 373-393 [10.3233/FI-2009-183].
A folding rule for eliminating existential variables from constraint logic programs
PETTOROSSI, ALBERTO;SENNI, VALERIO;
2009-01-01
Abstract
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. Through some examples we show that an implementation of our folding algorithm has a good performance in practice.File | Dimensione | Formato | |
---|---|---|---|
FI_SenniPettorossiProietti.pdf
accesso aperto
Dimensione
193.92 kB
Formato
Adobe PDF
|
193.92 kB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.