Higher-Order Dynamic Pattern Unification for Dependent Types and Records

被引:0
|
作者
Abel, Andreas [1 ]
Pientka, Brigitte [2 ]
机构
[1] Ludwig Maximilians Univ Munchen, Inst Informat, Munich, Germany
[2] McGill Univ, Sch Comp Sci, Montreal, PQ, Canada
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
While higher-order pattern unification for the lambda(Pi)-calculus is decidable and unique unifiers exists, we face several challenges in practice: 1) the pattern fragment itself is too restrictive for many applications; this is typically addressed by solving sub-problems which satisfy the pattern restriction eagerly but delay solving sub-problems which are non-patterns until we have accumulated more information. This leads to a dynamic pattern unification algorithm. 2) Many systems implement lambda(Pi Sigma) calculus and hence the known pattern unification algorithms for lambda(Pi) are too restrictive. In this paper, we present a constraint-based unification algorithm for lambda(Pi Sigma)-calculus which solves a richer class of patterns than currently possible; in particular it takes into account type isomorphisms to translate unification problems containing Sigma-types into problems only involving Pi-types. We prove correctness of our algorithm and discuss its application.
引用
收藏
页码:10 / 26
页数:17
相关论文
共 50 条
  • [41] Unification of higher-order patterns in linear time and space
    Qian, Z
    JOURNAL OF LOGIC AND COMPUTATION, 1996, 6 (03) : 315 - 341
  • [42] HIGHER-ORDER DATA-TYPES
    MAIBAUM, TSE
    LUCENA, CJ
    INTERNATIONAL JOURNAL OF COMPUTER & INFORMATION SCIENCES, 1980, 9 (01): : 31 - 53
  • [43] Higher-order algebra with transfinite types
    Steggles, LJ
    HIGHER-ORDER ALGEBRA, LOGIC, AND TERM REWRITING, 1996, 1074 : 238 - 263
  • [44] Dynamic Higher-Order Stereophony
    Hollebon, Jacob
    Fazi, Filippo Maria
    IEEE-ACM TRANSACTIONS ON AUDIO SPEECH AND LANGUAGE PROCESSING, 2024, 32 : 2073 - 2084
  • [45] Restricted higher-order anti-unification for analogy making
    Krumnack, Ulf
    Schwering, Angela
    Gust, Helmar
    Kiffinberger, Kai-Uwe
    AI 2007: ADVANCES IN ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2007, 4830 : 273 - 282
  • [46] Verifying Higher-Order Functional Programs with Pattern-Matching Algebraic Data Types
    Ong, C. -H. Luke
    Ramsay, Steven J.
    ACM SIGPLAN NOTICES, 2011, 46 (01) : 587 - 598
  • [47] Verifying Higher-Order Functional Programs with Pattern-Matching Algebraic Data Types
    Ong, C. -H. Luke
    Ramsay, Steven J.
    POPL 11: PROCEEDINGS OF THE 38TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2011, : 587 - 598
  • [48] Higher-Order unification for free! Reusing the meta-language unification for the object language
    Fissore, Davide
    Tassi, Enrico
    26TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, PPDP 2024, 2024,
  • [49] HIGHER-ORDER UNIFICATION REVISITED - COMPLETE-SETS OF TRANSFORMATIONS
    SNYDER, W
    GALLIER, J
    JOURNAL OF SYMBOLIC COMPUTATION, 1989, 8 (1-2) : 101 - 140
  • [50] Higher-Order Patterns in Replicated Data Types
    Leijnse, Adriaan
    Almeida, Paulo Sergio
    Baquero, Carlos
    PAPOC '19: PROCEEDINGS OF THE 6TH WORKSHOP ON PRINCIPLES AND PRACTICE OF CONSISTENCY FOR DISTRIBUTED DATA, 2019,