Higher-Order Pattern Anti-Unification in Linear Time

被引:0
|
作者
Alexander Baumgartner
Temur Kutsia
Jordi Levy
Mateu Villaret
机构
[1] Johannes Kepler University,Research Institute for Symbolic Computation (RISC)
[2] Spanish Council for Scientific Research (CSIC),Artificial Intelligence Research Institute (IIIA)
[3] Universitat de Girona (UdG),Departament d’Informàtica i Matemàtica Aplicada (IMA)
来源
关键词
Generalizations of lambda terms; Anti-unification; Higher-order patterns;
D O I
暂无
中图分类号
学科分类号
摘要
We present a rule-based Huet’s style anti-unification algorithm for simply typed lambda-terms, which computes a least general higher-order pattern generalization. For a pair of arbitrary terms of the same type, such a generalization always exists and is unique modulo α\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\alpha $$\end{document}-equivalence and variable renaming. With a minor modification, the algorithm works for untyped lambda-terms as well. The time complexity of both algorithms is linear.
引用
收藏
页码:293 / 310
页数:17
相关论文
共 50 条
  • [21] On complexity of the anti-unification problem
    Kostylev, E. V.
    Zakharov, V. A.
    DISCRETE MATHEMATICS AND APPLICATIONS, 2008, 18 (01): : 85 - 98
  • [22] Decidability of bounded higher-order unification
    Schmidt-Schauss, M
    Schulz, KU
    JOURNAL OF SYMBOLIC COMPUTATION, 2005, 40 (02) : 905 - 954
  • [23] HIGHER-ORDER UNIFICATION VIA COMBINATORS
    DOUGHERTY, DJ
    THEORETICAL COMPUTER SCIENCE, 1993, 114 (02) : 273 - 298
  • [24] HIGHER-ORDER UNIFICATION, POLYMORPHISM, AND SUBSORTS
    NIPKOW, T
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 516 : 436 - 447
  • [25] EFFICIENT FULL HIGHER-ORDER UNIFICATION
    Vukmirovic, Petar
    Bentkamp, Alexander
    Nummelin, Visa
    LOGICAL METHODS IN COMPUTER SCIENCE, 2021, 17 (04)
  • [26] Decidable variants of higher-order unification
    Schmidt-Schauss, M
    MECHANIZING MATHEMATICAL REASONING: ESSAYS IN HONOUR OF JORG H SIEKMANN ON THE OCCASION OF HIS 60TH BIRTHDAY, 2005, 2605 : 154 - 168
  • [27] Decidability of bounded higher-order unification
    Schmidt-Schauss, M
    Schulz, KU
    COMPUTER SCIENCE LOGIC, PROCEEDINGS, 2002, 2471 : 522 - 536
  • [28] Type Inference for GADTs and Anti-unification
    Gelain, Adelaine
    Vasconcellos, Cristiano
    Camarao, Carlos
    Ribeiro, Rodrigo
    PROGRAMMING LANGUAGES, SBLP 2015, 2015, 9325 : 16 - 30
  • [29] Anti-Unification for Unranked Terms and Hedges
    Kutsia, Temur
    Levy, Jordi
    Villaret, Mateu
    22ND INTERNATIONAL CONFERENCE ON REWRITING TECHNIQUES AND APPLICATIONS (RTA'11), 2011, 10 : 219 - 234
  • [30] Anti-unification for Unranked Terms and Hedges
    Kutsia, Temur
    Levy, Jordi
    Villaret, Mateu
    JOURNAL OF AUTOMATED REASONING, 2014, 52 (02) : 155 - 190