Anti-unification in Constraint Logic Programming

被引:6
|
作者
Yernaux, Gonzague [1 ]
Vanhoof, Wim [1 ]
机构
[1] Univ Namur, Namur Digital Inst, Namur, Belgium
关键词
Anti-unification; (most specific) generalization; CLP; program analysis; PARTIAL DEDUCTION; POLYVARIANCE;
D O I
10.1017/S1471068419000188
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Anti-unification refers to the process of generalizing two (or more) goals into a single, more general, goal that captures some of the structure that is common to all initial goals. In general one is typically interested in computing what is often called a most specific generalization, that is a generalization that captures a maximal amount of shared structure. In this work we address the problem of anti-unification in CLP, where goals can be seen as unordered sets of atoms and/or constraints. We show that while the concept of a most specific generalization can easily be defined in this context, computing it becomes an NP-complete problem. We subsequently introduce a generalization algorithm that computes a well-defined abstraction whose computation can be bound to a polynomial execution time. Initial experiments show that even a naive implementation of our algorithm produces acceptable generalizations in an efficient way.
引用
收藏
页码:773 / 789
页数:17
相关论文
共 50 条
  • [1] Anti-Unification of Concepts in Description Logic EL
    Konev, Boris
    Kutsia, Temur
    [J]. FIFTEENTH INTERNATIONAL CONFERENCE ON THE PRINCIPLES OF KNOWLEDGE REPRESENTATION AND REASONING, 2016, : 227 - 236
  • [2] Selective Unification in (Constraint) Logic Programming
    Mesnard, Fred
    Payet, Etienne
    Vidal, German
    [J]. FUNDAMENTA INFORMATICAE, 2020, 177 (3-4) : 359 - 383
  • [3] Selective Unification in Constraint Logic Programming
    Mesnard, Fred
    Payet, Etienne
    Vidal, German
    [J]. PROCEEDINGS OF THE 19TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING (PPDP 2017), 2017, : 115 - 126
  • [4] Idempotent Anti-unification
    Cerna, David
    Kutsia, Temur
    [J]. ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2020, 21 (02)
  • [5] A Library of Anti-unification Algorithms
    Baumgartner, Alexander
    Kutsia, Temur
    [J]. LOGICS IN ARTIFICIAL INTELLIGENCE, JELIA 2014, 2014, 8761 : 543 - 557
  • [6] A Library of Anti-unification Algorithms
    [J]. Baumgartner, Alexander, 1600, Springer Verlag (8761):
  • [7] On complexity of the anti-unification problem
    [J]. Discrete Math Appl, 2008, 1 (85-98):
  • [8] Anti-unification and the theory of semirings
    Cerna, David M.
    [J]. THEORETICAL COMPUTER SCIENCE, 2020, 848 : 133 - 139
  • [9] On complexity of the anti-unification problem
    Kostylev, E. V.
    Zakharov, V. A.
    [J]. DISCRETE MATHEMATICS AND APPLICATIONS, 2008, 18 (01): : 85 - 98
  • [10] Anti-unification and Generalization: A Survey
    Cerna, David M.
    Kutsia, Temur
    [J]. PROCEEDINGS OF THE THIRTY-SECOND INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, IJCAI 2023, 2023, : 6563 - 6573