Monoid Structures on Indexed Containers

Containers represent a wide class of type constructions that are relevant for functional programming and (co)inductive reasoning.Indexed containers generalize this notion to better fit the scope of dependently typed programming.When interpreting types to be sets, a container describes an endofunctor on the category of sets while an I-indexed container describes an endofunctor on the category Set I of I-indexed families of sets.We consider the monoidal structure on the category of I-indexed containers whose tensor product of containers describes the composition of the respective induced endofunctors.We then give a combinatorial characterization of monoids in this monoidal category, and we show how these monoids correspond precisely to monads on the induced endofunctors on Set I .Lastly, we conclude by presenting some examples of monads on Set I that fall under our characterization, including the product of two monads, indexed variants of the state and the writer monads and an example of a free monad.The technical results of this work are accompanied by a formalization in the proof assistant Cubical Agda.

Authors

Publication Details

Journal
Electronic Proceedings in Theoretical Computer Science
Published
2025-09-28
DOI
https://doi.org/10.4204/eptcs.430.4
Primary Topic
Artificial Intelligence in Games
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Monoid Structures on Indexed Containers

Niccolò Veltrì, Tarmo Uustalu, Michele De Pascalis
Electronic Proceedings in Theoretical Computer Science
Artificial Intelligence in Games
article

Monoid Structures on Indexed Containers

Niccolò Veltrì, Tarmo Uustalu, Michele De Pascalis
article en

Abstract

Containers represent a wide class of type constructions that are relevant for functional programming and (co)inductive reasoning.Indexed containers generalize this notion to better fit the scope of dependently typed programming.When interpreting types to be sets, a container describes an endofunctor on the category of sets while an I-indexed container describes an endofunctor on the category Set I of I-indexed families of sets.We consider the monoidal structure on the category of I-indexed containers whose tensor product of containers describes the composition of the respective induced endofunctors.We then give a combinatorial characterization of monoids in this monoidal category, and we show how these monoids correspond precisely to monads on the induced endofunctors on Set I .Lastly, we conclude by presenting some examples of monads on Set I that fall under our characterization, including the product of two monads, indexed variants of the state and the writer monads and an example of a free monad.The technical results of this work are accompanied by a formalization in the proof assistant Cubical Agda.

Electronic Proceedings in Theoretical Computer ScienceVol. 430
Eesti Teadusagentuur
Openalex Percentile: Top 86%
Artificial Intelligence in Games
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Monoid Structures on Indexed Containers — Niccolò Veltrì, Tarmo Uustalu, et al. · Electronic Proceedings in Theoretical Computer Science (2025) | TGRS Research Map | TGRS