Correspondence between Composite Theories and Distributive Laws

Aloïs Rosset,Maaike Zwart,Helle Hvid Hansen,Jörg Endrullis
2024-03-31
Abstract:Composite theories are the algebraic equivalent of distributive laws. In this paper, we delve into the details of this correspondence and concretely show how to construct a composite theory from a distributive law and vice versa. Using term rewriting methods, we also describe when a minimal set of equations axiomatises the composite theory.
Logic in Computer Science,Category Theory
What problem does this paper attempt to address?
The core problem that this paper attempts to solve is to establish a one - to - one correspondence between composite theories and distributive laws, and provide specific construction methods. Specifically, the goals of the paper include: 1. **Explore in detail the correspondence between composite theories and distributive laws**: - The paper conducts in - depth research on the relationship between composite theories and distributive laws, and shows how to construct a composite theory from a distributive law, and vice versa. - Through term rewriting methods, the paper describes when the smallest set of equations can axiomatize a composite theory. 2. **Construct distributive laws from composite theories**: - Section 4 shows how to obtain a distributive law from a composite theory. - Specifically, given two algebraic theories \( S \) and \( T \), and their corresponding monads on a finite set, \( S \) and \( T \), the paper defines a distributive law \( \lambda: ST\Rightarrow TS \) such that the composite theory \( U \) is an algebraic representation of the monad \( TS \). 3. **Construct composite theories from distributive laws**: - Section 5 shows how to construct a composite theory from a distributive law. - Using term - rewriting techniques, in particular introducing functorial rewriting systems, to separate \( U \)-terms. 4. **Determine the smallest set of distribution axioms**: - Section 6 gives the conditions to ensure that a certain smallest set of distribution axioms \( E'\subseteq E_{\lambda} \) is sufficient to axiomatize \( U \). - The natural candidate for \( E' \) contains equations where the left - hand side consists of only one \( S \)-operation symbol, and this operation symbol is applied to arguments constructed from at most one \( T \)-operation symbol. - The paper proves that if the corresponding term - rewriting system is terminating, then \( E_S\cup E_T\cup E' \) axiomatizes \( U \). ### Formula presentation To understand these concepts more clearly, here are some key formulas and definitions: - **Distributive law \( \lambda: ST\Rightarrow TS \)**: \[ \lambda_V: STV \to TSV: s[t^T/x]_S \mapsto t'[s'^S/x]_T \] - **Separated terms of the composite theory \( U \)**: \[ \text{A separated term } t[s_x/x] \text{ satisfies that } t \text{ is a } T \text{-term, and } \{s_x \mid x \in \text{var}(t)\} \text{ is a set of } S \text{-terms} \] - **Functorial rewriting system \( R_{\text{sep}} \)**: \[ R_{\text{sep}} = (\Sigma, R), \quad \Sigma = \{S, T\}, \quad R = \{1\lambda: ST \to TS, 2\mu_S: SS \to S, 3\mu_T: TT \to T\} \] Through these methods and formulas, the paper successfully establishes a one - to - one correspondence between composite theories and distributive laws, and provides specific construction methods, thus solving this problem.