arXiv:2609.35691cs.LOSep 2026

Manuscript Offprint

arXiv:2609.35691

Coinductive reasoning for parametrized functors and monads

Ugo Dal Lago, Zeinab Galal

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Lax extensions (also called relators or relation liftings) are a categorical notion to reason about functors acting on functions and relations in a compatible way. They play a central role to develop sound proof principles for behavioral equivalence of state-based systems and are also important for establishing contextual equivalence for effectful programs.

In this paper, we develop the theory of lax extensions for parametrized functors and monads and consider notions of behavioral preorders, equivalence relations or metrics which can now be modulated by additional parameters. From an operational viewpoint, we replace standard contextual equivalence where we quantify over all possible contexts by a refined notion of equivalence where the user can regulate the allowed contexts via chosen parameters.

2012 ACM Subject Classification Theory of computation → Categorical semantics; Theory of computation → Operational semantics

Keywords and phrases categorical semantics, parametrized monads, effects, relations, lax extensions, behavioral equivalence, coalgebra, global state

Digital Object Identifier 10.4230/LIPIcs.CONCUR.2026.21

Acknowledgements The first author was partly supported by the ANR Project HOPR (ANR-24-CE48-5521-01) and the second author was supported by the Research Institute for Mathematical Sciences (RIMS) and by the JSPS KAKENHI Grant 26K21167.

Introduction

Relations play a central role in modeling various notions of behavioral preorders and equivalences for state-based systems and programming languages. In particular, coinductive techniques on relations provide a formal framework to reason about circular or infinite objects and they are an important tool in concurrency theory and in operational semantics for establishing behavioral equivalence of processes or programs [38]. Simulation and bisimulation are among the main examples of relations defined coinductively and they have a categorical counterpart in the world of coalgebras. Coalgebras are morphisms S⟶F(S)S \longrightarrow F(S) where SS represents the state space and FF is a functor encoding the branching type of the system [37, 23]. By varying the functor, we can capture a wide range of state-based systems: streams, labelled transition systems, automata, Markov chains, etc.

A fundamental component of the study of behavioral preorders and equivalences is to extend the behavior functor of the system from sets to relations using the notion of lax extension. This notion also plays an important role in the operational semantics of higher-order functional languages with monadic effects where applicative bisimulation is generalized to the effectful setting using lax extensions of monads from sets to relations [13].

Lax extensions are also used in modal logic, effectful intersection type systems, monoidal topology and in the theory of double categories [30, 15, 22, 27]. They were initially considered by Barr for the ultrafilter monad on sets and were since then generalized to quantale-enriched

© Ugo Dal Lago and Zeinab Galal;

licensed under Creative Commons License CC-BY 4.0

37th International Conference on Concurrency Theory (CONCUR 2026).

Editors: Ana Sokolova and Patrick Totzke; Article No. 21; pp. 21:1–21:26

Leibniz International Proceedings in Informatics

LIPICS Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl Publishing, Germany

Figure

21:2 Coinductive reasoning for parametrized functors and monads

relations [8, 36, 46, 40, 39, 10] to measure the behavioral distance between two states for non-deterministic and probabilistic systems [44, 7, 26].

The main purpose of this paper is to extend the theory of lax extensions for endofunctors and monads to parametrized functors and monads. A first generalization is to replace endofunctors F:C→CF : \mathbb{C} \to \mathbb{C} with functors F:P×C→CF : \mathbb{P} \times \mathbb{C} \to \mathbb{C} where P\mathbb{P} is viewed as a parameter category. This simple generalization allows us to vary the parameter and consider notions of behavioral preorders or equivalences which depend on relations on the parameter.

In the case of monads, the underlying endofunctor of an ordinary monad T:C→CT : \mathbb{C} \to \mathbb{C} is replaced by a functor T:Pop×P×C→CT : \mathbb{P}^{\text{op}} \times \mathbb{P} \times \mathbb{C} \to \mathbb{C} [5]. A parametrized monad has therefore two additional parameters providing information about the starting and ending state of a computation. It is important to note that the input parameter is contravariant and the output parameter is covariant, following the intuition of preconditions and postconditions for program logics. Parametrized monads were introduced by Atkey [5] and they offer a convenient setting to model sequential effectful computations, they also have a categorical characterization as the notion of monads arising from parametrized adjunctions [28, 12] (also called adjunction with a parameter or multivariable adjunction) offering the natural generalization of the standard monad-adjunction correspondence. One of the motivating examples is the global state monad: in the ordinary case, the set of global stores is fixed and remains constant which is not flexible enough to keep track of which memory regions a computation has access to and can modify. In the parametrized case, the change in the state type over time is captured by additional parameters corresponding to the memory region before and after the execution of a computation.

In this paper, we develop the theory of lax extensions for parametrized monads to have a framework that allows us to modulate the notion of program equivalence or metric depending on the power we want to give to contexts. For example, if programs can read and write on some memory locations, standard contextual equivalence means that contexts have access to the same memory locations as programs. We are interested in having well-behaved notions of program equivalence where contexts only have access to a restricted set of memory locations. In this setting, our framework allows to weaken the notion of equivalence by explicitly controlling the power we give to contexts depending on the relations added to parameters.

References (47)