SEMANTICS OF ORDER-SORTED SPECIFICATIONS

被引:11
|
作者
WALDMANN, U
机构
[1] Max-Planck-Institut für Informatik, W-6600 Saarbrücken, Im Stadtwald
关键词
D O I
10.1016/0304-3975(92)90322-7
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Order-sorted specifications (i.e. many-sorted specifications with subsort relations) have been proved to be a useful tool for the description of partially defined functions and error handling in abstract data types. Several definitions for order-sorted algebras have been proposed. In some papers an operator symbol, which may be multiply declared, is interpreted by a family of functions ("over-loaded" algebras). In other papers it is always interpreted by a single function ("non-overloaded" algebras). On the one hand, we try to demonstrate the differences between these two approaches with respect to equality, rewriting and completion; on the other hand, we prove that in fact both theories can be studied in parallel provided that certain notions are suitably defined. The overloaded approach differs from the many-sorted and the nonoverloaded one in that the overloaded term algebra is not necessarily initial. We give a decidable sufficient criterion for the initiality of the term algebra, which is less restrictive than GJM-regularity as proposed by Goguen, Jouannaud and Meseguer. Sort-decreasingness is an important property of rewrite systems since it ensures that confluence and Church-Rosser property are equivalent, that the overloaded and nonoverloaded rewrite relations agree, and that variable overlaps do not yield critical pairs. We prove that it is decidable whether or not a rewrite rule is sort-decreasing, even if the signature is not regular. Finally, we demonstrate that every overloaded completion procedure may also be used in the nonoverloaded world, but not conversely, and that specifications exist that can only be completed using the nonoverloaded semantics.
引用
收藏
页码:1 / 35
页数:35
相关论文
共 50 条
  • [41] PARAMETRIC ORDER-SORTED TYPES IN LOGIC PROGRAMMING
    HANUS, M
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 494 : 180 - 200
  • [42] AN ORDER-SORTED LOGIC FOR KNOWLEDGE REPRESENTATION SYSTEMS
    BEIERLE, C
    HEDTSTUCK, U
    PLETAT, U
    SCHMITT, PH
    SIEKMANN, J
    ARTIFICIAL INTELLIGENCE, 1992, 55 (2-3) : 149 - 191
  • [43] Order-sorted equational generalization algorithm revisited
    Alpuente, Maria
    Escobar, Santiago
    Meseguer, Jose
    Sapina, Julia
    ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 2022, 90 (05) : 499 - 522
  • [44] Regular expression order-sorted unification and matching
    Kutsia, Temur
    Marin, Mircea
    JOURNAL OF SYMBOLIC COMPUTATION, 2015, 67 : 42 - 67
  • [45] PATTERN-MATCHING IN ORDER-SORTED LANGUAGES
    KESNER, D
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 520 : 267 - 276
  • [46] Order-sorted equality enrichments modulo axioms
    Gutierrez, Raul
    Meseguer, Jose
    Rocha, Camilo
    SCIENCE OF COMPUTER PROGRAMMING, 2015, 99 : 235 - 261
  • [47] Method to Translate Order-Sorted Algebras to Many-Sorted Algebras
    Li, Liyi
    Gunter, Elsa
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2018, (265): : 20 - 34
  • [48] A modular order-sorted equational generalization algorithm
    Alpuente, Maria
    Escobar, Santiago
    Espert, Javier
    Meseguer, Jose
    INFORMATION AND COMPUTATION, 2014, 235 : 98 - 136
  • [49] Currying of order-sorted term rewriting systems
    Kawabe, Y
    Ishii, N
    COMPUTING AND COMBINATORICS, 1995, 959 : 191 - 202
  • [50] Order-sorted logic programming with predicate hierarchy
    Kaneiwa, K
    ARTIFICIAL INTELLIGENCE, 2004, 158 (02) : 155 - 188