Diagram Combinators in MMT

被引:2
|
作者
Rabe, Florian [1 ,2 ]
Sharoda, Yasmine [3 ]
机构
[1] FAU Erlangen Nurnberg, Comp Sci, Erlangen, Germany
[2] Univ Paris Sud, LRI, Orsay, France
[3] McMaster Univ, Comp & Software, Hamilton, ON, Canada
来源
关键词
D O I
10.1007/978-3-030-23250-4_15
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Formal libraries, especially large ones, usually employ modularity to build and maintain large theories efficiently. Although the techniques used to achieve modularity vary between systems, most of them can be understood as operations in the category of theories and theory morphisms. This yields a representation of libraries as diagrams in this category, with all theory-forming operations extending the diagram. However, as libraries grow even bigger, it is starting to become important to build these diagrams modularly as well, i.e., we need languages and tools that support computing entire diagrams at once. A simple example would be to systematically apply the same operation to all theories in a diagram and return both the new diagram and the morphisms that relate the old one to the new one. In this work, we introduce such diagram combinators as an extension to the MMT language and tool. We provide many important combinators, and our extension allows library developers to define arbitrary new ones. We evaluate our framework by building a library of algebraic theories in an extremely compact way.
引用
收藏
页码:211 / 226
页数:16
相关论文
共 50 条
  • [21] Termination Combinators Forever
    Bolingbroke, Maximilian
    Jones, Simon Peyton
    Vytiniotis, Dimitrios
    HASKELL 11: PROCEEDINGS OF THE 2011 ACM SIGPLAN HASKELL SYMPOSIUM, 2011, : 23 - 34
  • [22] Distributed Protocol Combinators
    Andersen, Kristoffer Just Arndal
    Sergey, Ilya
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES (PADL 2019), 2019, 11372 : 169 - 186
  • [23] FUNCTIONAL PROGRAMMING WITH COMBINATORS
    GIBERT, J
    JOURNAL OF SYMBOLIC COMPUTATION, 1987, 4 (03) : 269 - 293
  • [24] On principal types of combinators
    Broda, S
    Damas, L
    THEORETICAL COMPUTER SCIENCE, 2000, 247 (1-2) : 277 - 290
  • [25] On the word problem for combinators
    Statman, R
    REWRITING TECHNIQUES AND APPLICATIONS, PROCEEDINGS, 2000, 1833 : 203 - 213
  • [26] Termination Combinators Forever
    Bolingbroke, Maximilian
    Jones, Simon Peyton
    Vytiniotis, Dimitrios
    ACM SIGPLAN NOTICES, 2011, 46 (12) : 23 - 34
  • [27] Graph parser combinators
    Mazanek, Steffen
    Minas, Mark
    IMPLEMENTATION AND APPLICATION OF FUNCTIONAL LANGUAGES, 2008, 5083 : 1 - 18
  • [28] Fair enumeration combinators
    New, Max S.
    Fetscher, Burke
    Findler, Robert Bruce
    Mccarthy, Jay
    JOURNAL OF FUNCTIONAL PROGRAMMING, 2017, 27
  • [29] REPRESENTATION OF MARKOV ALGORITHMS BY COMBINATORS
    CURRY, HB
    NOTICES OF THE AMERICAN MATHEMATICAL SOCIETY, 1973, 20 (06): : A590 - A590
  • [30] CATEGORICAL MULTI-COMBINATORS
    LINS, RD
    LECTURE NOTES IN COMPUTER SCIENCE, 1987, 274 : 60 - 79