Unranked second-order anti-unification

被引:4
|
作者
Baumgartner, Alexander [1 ]
Kutsia, Temur [1 ]
机构
[1] Johannes Kepler Univ Linz, Res Inst Symbol Computat, Linz, Austria
基金
奥地利科学基金会;
关键词
Higher-order anti-unification for unranked terms and hedges; Anti-unification using context and hedge variables; Generalization of forests; CLONE DETECTION; TREES;
D O I
10.1016/j.ic.2017.01.005
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this work we study anti-unification for unranked terms and hedges, permitting context and hedge variables. Hedges are sequences of unranked terms. The anti-unification problem of two hedges (s) over tilde and (q) over tilde is concerned with finding their generalization, a hedge (g) over tilde such that both (s) over tilde and (q) over tilde are substitution instances of (g) over tilde. Second-order power is gained by using context variables to generalize vertical differences at the input hedges. Hedge variables are used to generalize horizontal differences. An anti-unification algorithm is presented, which computes a generalization of input hedges and records all the differences. The algorithm is parametric by a skeleton computation function. For instance, we can compute a generalization of a skeleton which represents a constrained longest common subforest, or an agreement subhedge/subtree of the input hedges. The computation of the generalization is done in quadratic time. (C) 2017 The Authors. Published by Elsevier Inc.
引用
收藏
页码:262 / 286
页数:25
相关论文
共 50 条
  • [1] Anti-unification for Unranked Terms and Hedges
    Kutsia, Temur
    Levy, Jordi
    Villaret, Mateu
    [J]. JOURNAL OF AUTOMATED REASONING, 2014, 52 (02) : 155 - 190
  • [2] Anti-Unification for Unranked Terms and Hedges
    Kutsia, Temur
    Levy, Jordi
    Villaret, Mateu
    [J]. 22ND INTERNATIONAL CONFERENCE ON REWRITING TECHNIQUES AND APPLICATIONS (RTA'11), 2011, 10 : 219 - 234
  • [3] Anti-unification for Unranked Terms and Hedges
    Temur Kutsia
    Jordi Levy
    Mateu Villaret
    [J]. Journal of Automated Reasoning, 2014, 52 : 155 - 190
  • [4] Idempotent Anti-unification
    Cerna, David
    Kutsia, Temur
    [J]. ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2020, 21 (02)
  • [5] Higher-Order Pattern Anti-Unification in Linear Time
    Baumgartner, Alexander
    Kutsia, Temur
    Levy, Jordi
    Villaret, Mateu
    [J]. JOURNAL OF AUTOMATED REASONING, 2017, 58 (02) : 293 - 310
  • [6] Higher-Order Pattern Anti-Unification in Linear Time
    Alexander Baumgartner
    Temur Kutsia
    Jordi Levy
    Mateu Villaret
    [J]. Journal of Automated Reasoning, 2017, 58 : 293 - 310
  • [7] A Library of Anti-unification Algorithms
    Baumgartner, Alexander
    Kutsia, Temur
    [J]. LOGICS IN ARTIFICIAL INTELLIGENCE, JELIA 2014, 2014, 8761 : 543 - 557
  • [8] Linear second-order unification
    Levy, J
    [J]. REWRITING TECHNIQUES AND APPLICATIONS, 1996, 1103 : 332 - 346
  • [9] On the undecidability of second-order unification
    Levy, J
    Veanes, M
    [J]. INFORMATION AND COMPUTATION, 2000, 159 (1-2) : 125 - 150
  • [10] Anti-unification and the theory of semirings
    Cerna, David M.
    [J]. THEORETICAL COMPUTER SCIENCE, 2020, 848 : 133 - 139