Substitution for Non-Wellfounded Syntax with Binders Through Monoidal Categories

Conference Paper (2024)
Author(s)

Ralph Matthes (Université de Toulouse)

Kobe Wullaert (TU Delft - Programming Languages)

Benedikt Ahrens (University of Birmingham, TU Delft - Programming Languages)

Research Group
Programming Languages
DOI related publication
https://doi.org/10.4230/LIPIcs.FSCD.2024.25
More Info
expand_more
Publication Year
2024
Language
English
Research Group
Programming Languages
ISBN (electronic)
978-3-95977-323-2
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 describe a generic construction of non-wellfounded syntax involving variable binding and its monadic substitution operation.

Our construction of the syntax and its substitution takes place in category theory, notably by using monoidal categories and strong functors between them. A language is specified by a multisorted binding signature, say Σ. First, we provide sufficient criteria for Σ to generate a language of possibly infinite terms, through ω-continuity. Second, we construct a monadic substitution operation for the language generated by Σ. A cornerstone in this construction is a mild generalization of the notion of heterogeneous substitution systems developed by Matthes and Uustalu; such a system encapsulates the necessary corecursion scheme for implementing substitution.

The results are formalized in the Coq proof assistant, through the UniMath library of univalent mathematics.