计算机科学 > 计算机科学中的逻辑
[提交于 2018年12月14日 (v1),最后修订于 2019年11月28日 (此版本, v2)]
标题:Building on the Diamonds between Theories: Theory Presentation Combinators
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:To build a large library of mathematics, it seems more efficient to take advantage of the inherent structure of mathematical theories. Various theory presentation combinators have been proposed, and some have been implemented, in both legacy and current systems. Surprisingly, the ``standard library'' of most systems do not make pervasive use of these combinators. We present a set of combinators optimized for reuse, via the tiny theories approach. Our combinators draw their power from the inherent structure already present in the \emph{category of contexts} associated to a dependently typed language. The current work builds on ideas originating in CLEAR and Specware and their descendents (both direct and intellectual). Driven by some design criteria for user-centric library design, our library-building experience via the systematic use of combinators has fed back into the semantics of these combinators, and later into an updated syntax for them.