Method to Translate Order-Sorted Algebras to Many-Sorted Algebras

被引:3
|
作者
Li, Liyi [1 ]
Gunter, Elsa [1 ]
机构
[1] Univ Illinois, Dept Comp Sci, Champaign, IL 61820 USA
基金
美国国家科学基金会;
关键词
SEMANTICS;
D O I
10.4204/EPTCS.265.3
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Order-sorted algebras and many sorted algebras exist in a long history with many different implementations and applications. A lot of language specifications have been defined in order-sorted algebra frameworks such as the language specifications in K (an order-sorted algebra framework). The biggest problem in a lot of the order-sorted algebra frameworks is that even if they might allow developers to write programs and language specifications easily, but they do not have a large set of tools to provide reasoning infrastructures to reason about the specifications built on the frameworks, which are very common in some many-sorted algebra framework such as Isabelle/HOL [24], Coq [6] and FDR [27]. This fact brings us the necessity to marry the worlds of order-sorted algebras and many sorted algebras. In this paper, we propose an algorithm to translate a strictly sensible order-sorted algebra to a many-sorted one in a restricted domain by requiring the order-sorted algebra to be strictly sensible. The key idea of the translation is to add an equivalence relation called core equality to the translated many-sorted algebras. By defining this relation, we reduce the complexity of translating a strictly sensible order-sorted algebra to a many-sorted one, make the translated many-sorted algebra equations only increasing by a very small amount of new equations, and keep the number of rewrite rules in the algebra in the same amount. We then prove the order-sorted algebra and its translated many-sorted algebra are bisimilar. To the best of our knowledge, our translation and bisimilar proof is the first attempt in translating and relating an order-sorted algebra with a many-sorted one in a way that keeps the size of the translated many-sorted algebra relatively small.
引用
收藏
页码:20 / 34
页数:15
相关论文
共 50 条
  • [1] ORDER-SORTED COMPLETION - THE MANY-SORTED WAY
    GANZINGER, H
    THEORETICAL COMPUTER SCIENCE, 1991, 89 (01) : 3 - 32
  • [2] ORDER-SORTED COMPLETION - THE MANY-SORTED WAY
    GANZINGER, H
    LECTURE NOTES IN COMPUTER SCIENCE, 1989, 351 : 244 - 258
  • [3] Many-sorted and single-sorted algebras
    Anna Mućka
    Anna B. Romanowska
    Jonathan D. H. Smith
    Algebra universalis, 2013, 69 : 171 - 190
  • [4] Many-sorted and single-sorted algebras
    Mucka, Anna
    Romanowska, Anna B.
    Smith, Jonathan D. H.
    ALGEBRA UNIVERSALIS, 2013, 69 (02) : 171 - 190
  • [5] When are profinite many-sorted algebras retracts of ultraproducts of finite many-sorted algebras?
    Climent Vidal, J.
    Cosme Llopez, E.
    LOGIC JOURNAL OF THE IGPL, 2018, 26 (04) : 381 - 407
  • [6] HYPERSUBSTITUTIONS OF MANY-SORTED ALGEBRAS
    Denecke, Klaus
    Lekkoksung, Somsak
    ASIAN-EUROPEAN JOURNAL OF MATHEMATICS, 2008, 1 (03) : 337 - 346
  • [7] Generalized Hypersubstitutions of Many-Sorted Algebras
    Chumpungam, Dawan
    Leeratanavalee, Sorasak
    THAI JOURNAL OF MATHEMATICS, 2019, 17 (02): : 463 - 473
  • [8] Multicategories and varieties of many-sorted algebras
    Tronin S.N.
    Siberian Mathematical Journal, 2008, 49 (5) : 944 - 958
  • [9] Automorphic Equivalence of Many-Sorted Algebras
    A. Tsurkov
    Applied Categorical Structures, 2016, 24 : 209 - 240
  • [10] Automorphic Equivalence of Many-Sorted Algebras
    Tsurkov, A.
    APPLIED CATEGORICAL STRUCTURES, 2016, 24 (03) : 209 - 240