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 条
  • [31] Order-Sorted Generalization
    Alpuente, Maria
    Escobar, Santiago
    Meseguer, Jose
    Ojeda, Pedro
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 246 : 27 - 38
  • [32] Connecting many-sorted theories
    Baader, F
    Ghilardi, S
    AUTOMATED DEDUCTION - CADE-20, PROCEEDINGS, 2005, 3632 : 278 - 294
  • [33] A many-sorted natural deduction
    Cimatti, A
    Giunchiglia, F
    Weyhrauch, RW
    COMPUTATIONAL INTELLIGENCE, 1998, 14 (01) : 134 - 149
  • [34] WHEN IS THE INSERTION OF THE GENERATORS INJECTIVE FOR A SUR-REFLECTIVE SUBCATEGORY OF A CATEGORY OF MANY-SORTED ALGEBRAS?
    Vidal, J. Climent
    Tur, J. Soliveres
    HOUSTON JOURNAL OF MATHEMATICS, 2009, 35 (02): : 363 - 372
  • [35] On many-sorted ω-categorical theories
    Casanovas, Enrique
    Pelaez, Rodrigo
    Ziegler, Martin
    FUNDAMENTA MATHEMATICAE, 2011, 214 (03) : 285 - 294
  • [36] Existential rigidity and many modalities in order-sorted logic
    Kaneiwa, Ken
    KNOWLEDGE-BASED SYSTEMS, 2011, 24 (05) : 629 - 641
  • [37] On the algebraization of many-sorted logics
    Caleiro, Carlos
    Goncalves, Ricardo
    RECENT TRENDS IN ALGEBRAIC DEVELOPMENT TECHNIQUES, 2007, 4409 : 21 - +
  • [38] Connecting many-sorted theories
    Baader, Franz
    Ghilardi, Silvio
    JOURNAL OF SYMBOLIC LOGIC, 2007, 72 (02) : 535 - 583
  • [39] SOUNDNESS AND COMPLETENESS OF THE BIRKHOFF EQUATIONAL CALCULUS FOR MANY-SORTED ALGEBRAS WITH POSSIBLY EMPTY CARRIER SETS
    MANCA, V
    SALIBRA, A
    THEORETICAL COMPUTER SCIENCE, 1992, 94 (01) : 101 - 124
  • [40] Many-sorted hybrid modal languages
    Leustean, Ioana
    Moanga, Natalia
    Serbanuta, Traian Florin
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2021, 120