Displayed Monoidal Categories for the Semantics of Linear Logic

Conference Paper (2024)
Author(s)

B.P. Ahrens (TU Delft - Programming Languages, University of Birmingham)

Ralph Matthes (Université de Toulouse, INPT)

N.J. van der Weide (Radboud Universiteit Nijmegen)

Kobe Wullaert (TU Delft - Programming Languages)

Research Group
Programming Languages
Copyright
© 2024 B.P. Ahrens, Ralph Matthes, N.J. van der Weide, K.F. Wullaert
DOI related publication
https://doi.org/10.1145/3636501.3636956
More Info
expand_more
Publication Year
2024
Language
English
Copyright
© 2024 B.P. Ahrens, Ralph Matthes, N.J. van der Weide, K.F. Wullaert
Research Group
Programming Languages
Pages (from-to)
260-273
ISBN (print)
979-8-4007-0488-8
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

We present a formalization of different categorical structures used to interpret linear logic. Our formalization takes place in UniMath, a library of univalent mathematics based on the Coq proof assistant. All the categorical structures we formalize are based on monoidal categories. As such, one of our contributions is a practical, usable library of formalized results on monoidal categories. Monoidal categories carry a lot of structure, and instances of monoidal categories are often built from complicated mathematical objects. This can cause challenges of scalability, regarding both the vast amount of data to be managed by the user of the library, as well as the time the proof assistant spends on checking code. To enable scalability, and to avoid duplication of computer code in the formalization, we develop "displayed monoidal categories". These gadgets allow for the modular construction of complicated monoidal categories by building them in layers; we demonstrate their use in many examples. Specifically, we define linear-non-linear categories and construct instances of them via Lafont categories and linear categories.