Anti-Unification for Unranked Terms and Hedges

Authors Temur Kutsia, Jordi Levy, Mateu Villaret



PDF
Thumbnail PDF

File

LIPIcs.RTA.2011.219.pdf
  • Filesize: 0.51 MB
  • 16 pages

Document Identifiers

Author Details

Temur Kutsia
Jordi Levy
Mateu Villaret

Cite As Get BibTex

Temur Kutsia, Jordi Levy, and Mateu Villaret. Anti-Unification for Unranked Terms and Hedges. In 22nd International Conference on Rewriting Techniques and Applications (RTA'11). Leibniz International Proceedings in Informatics (LIPIcs), Volume 10, pp. 219-234, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2011) https://doi.org/10.4230/LIPIcs.RTA.2011.219

Abstract

We study anti-unification for unranked terms and hedges that may
contain term and hedge variables. The anti-unification problem of two hedges ~s_1 and ~s_2 is concerned with finding their generalization, a hedge ~q such that both ~s_1 and ~s_2 are instances of ~q under some substitutions. Hedge variables help to fill in gaps in generalizations, while term variables abstract single (sub)terms with different top function symbols. First, we design a complete and minimal algorithm to compute least general generalizations. Then, we improve the efficiency of the algorithm by restricting possible alternatives permitted in the generalizations. The restrictions are imposed with the help of a rigidity function that is a parameter in the improved algorithm and selects certain common subsequences from the hedges to be generalized. Finally, we indicate a possible application of the algorithm in software engineering.

Subject Classification

Keywords
  • Anti-unification
  • generalization
  • unranked terms
  • hedges
  • software clones.

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail