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 条
  • [11] Constraint combinators
    不详
    PROGRAMMING CONSTRAINT SERVICES, 2002, 2302 : 105 - 116
  • [12] Search combinators
    Schrijvers, Tom
    Tack, Guido
    Wuille, Pieter
    Samulowitz, Horst
    Stuckey, Peter J.
    CONSTRAINTS, 2013, 18 (02) : 269 - 305
  • [13] STRICT COMBINATORS
    MEIRA, SRD
    INFORMATION PROCESSING LETTERS, 1987, 24 (04) : 255 - 258
  • [14] Spaces for combinators
    不详
    PROGRAMMING CONSTRAINT SERVICES, 2002, 2302 : 93 - 104
  • [15] Interaction combinators
    Lafont, Y
    INFORMATION AND COMPUTATION, 1997, 137 (01) : 69 - 101
  • [16] Total Parser Combinators
    Danielsson, Nils Anders
    ICFP 2010: PROCEEDINGS OF THE 2010 ACM SIGPLAN INTERNATIONAL CONFERENCE ON FUNCTIONAL PROGRAMMING, 2010, : 285 - 296
  • [17] ITERATIVE SEQUENCES OF COMBINATORS
    ROBINET, B
    COMPTES RENDUS DE L ACADEMIE DES SCIENCES SERIE I-MATHEMATIQUE, 1982, 295 (01): : 29 - 30
  • [18] Optimizing Parser Combinators
    Kurs, Jan
    Vrany, Jan
    Ghafari, Mohammad
    Lungu, Mircea
    Nierstrasz, Oscar
    PROCEEDINGS OF THE 11TH EDITION OF THE INTERNATIONAL WORKSHOP ON SMALLTALK TECHNOLOGIES, (IWST 2016), 2016,
  • [19] Total Parser Combinators
    Danielsson, Nils Anders
    ACM SIGPLAN NOTICES, 2010, 45 (09) : 285 - 296
  • [20] DIRECTOR STRINGS AS COMBINATORS
    KENNAWAY, R
    SLEEP, R
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1988, 10 (04): : 602 - 626