Substitution for Non-Wellfounded Syntax with Binders through Monoidal Categories

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Matthes, Ralph, Wullaert, Kobe, Ahrens, Benedikt
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909193178447872
author Matthes, Ralph
Wullaert, Kobe
Ahrens, Benedikt
author_facet Matthes, Ralph
Wullaert, Kobe
Ahrens, Benedikt
contents 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 multi-sorted 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.
format Preprint
id arxiv_https___arxiv_org_abs_2308_05485
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Substitution for Non-Wellfounded Syntax with Binders through Monoidal Categories
Matthes, Ralph
Wullaert, Kobe
Ahrens, Benedikt
Programming Languages
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 multi-sorted 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.
title Substitution for Non-Wellfounded Syntax with Binders through Monoidal Categories
topic Programming Languages
url https://arxiv.org/abs/2308.05485