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 条
  • [1] Hard combinators
    Bechet, Denis
    Lippi, Sylvain
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2008, 203 (01) : 31 - 48
  • [2] LINEARIZING COMBINATORS
    Cockett, Robin
    Lemay, Jean-Simon Pacaud
    THEORY AND APPLICATIONS OF CATEGORIES, 2022, 38
  • [3] Storage Combinators
    Weiher, Marcel
    Hirschfeld, Robert
    PROCEEDINGS OF THE 2019 ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON NEW IDEAS, NEW PARADIGMS, AND REFLECTIONS ON PROGRAMMING AND SOFTWARE (ONWARD!' 19), 2019, : 111 - 127
  • [4] SPACES WITH COMBINATORS
    GEORGIEVA, N
    ARCHIVE FOR MATHEMATICAL LOGIC, 1993, 32 (05) : 321 - 339
  • [5] CATEGORICAL COMBINATORS
    CURIEN, PL
    INFORMATION AND CONTROL, 1986, 69 (1-3): : 188 - 254
  • [6] ALGEBRAS AND COMBINATORS
    ENGELER, E
    ALGEBRA UNIVERSALIS, 1981, 13 (03) : 389 - 392
  • [7] Evolving combinators
    Fuchs, M
    AUTOMATED DEDUCTION - CADE-14, 1997, 1249 : 416 - 430
  • [8] Pickler combinators
    Kennedy, AJ
    JOURNAL OF FUNCTIONAL PROGRAMMING, 2004, 14 : 727 - 739
  • [9] Combinators as presheaves
    Gangle, Rocco
    Tohme, Fernando
    Caterina, Gianluca
    LOGIC JOURNAL OF THE IGPL, 2024,
  • [10] Search combinators
    Tom Schrijvers
    Guido Tack
    Pieter Wuille
    Horst Samulowitz
    Peter J. Stuckey
    Constraints, 2013, 18 : 269 - 305