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.
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.
Original language | English |
---|---|
Title of host publication | CPP 2024 |
Subtitle of host publication | Proceedings of the 13th ACM SIGPLAN International Conference on Certified Programs and Proofs |
Publisher | Association for Computing Machinery (ACM) |
Pages | 260-273 |
Number of pages | 14 |
ISBN (Electronic) | 9798400704888 |
DOIs | |
Publication status | Published - 9 Jan 2024 |
Event | CPP '24: 13th ACM SIGPLAN International Conference on Certified Programs and Proofs - London, United Kingdom Duration: 15 Jan 2024 → 16 Jan 2024 |
Conference
Conference | CPP '24 |
---|---|
Abbreviated title | CPP 2024 |
Country/Territory | United Kingdom |
City | London |
Period | 15/01/24 → 16/01/24 |
Keywords
- linear logic
- categorical semantics
- monoidal categories
- Coq
- UniMath