Modal Convolution Kleene Algebras
- Modal convolution Kleene algebras are function spaces over structured categories or relational frames that lift both convolution and modal operators while ensuring controlled finite decomposability.
- They employ a Möbius-star recursive construction and relational ternary compositions to model sequential and concurrent operations, which supports robust program verification and weighted semantics.
- This framework generalizes classical convolution quantales and Kleene algebras by preserving induction principles and integrating modalities like Box and Diamond, impacting formal language and concurrency theories.
Searching arXiv for the specified papers and related work on convolution/modal Kleene algebras. Modal convolution Kleene algebras are convolution algebras of function spaces such as or , where the underlying structure carries compositional data and the codomain is a Kleene algebra, a modal Kleene algebra, or a concurrent quantale. Their defining feature is that algebraic composition is lifted pointwise by convolution over factorizations in a category, catoid, or ternary relational frame, while modal operators are inherited from source–target maps or from binary relations extracted from the underlying ternary relations. In the setting of generalised Möbius categories, the key technical advance is that a recursive Möbius-style star construction yields bona fide convolution Kleene algebras, and in the modal case this produces satisfying the modal Kleene algebra axioms (Cranch et al., 29 Aug 2025). In the broader relational setting, the same perspective extends to concurrent composition, powerset liftings, shuffle languages, pomsets, and weighted graph models (Cranch et al., 2020).
1. Algebraic setting and basic construction
The starting point is a small category, or more generally a Möbius catoid, together with a semiring . One forms the function space
equipped with pointwise addition
convolution
and convolution unit
This makes into a semiring provided each has finitely many factorizations 0, a condition stated as finite 1-decomposability (Cranch et al., 29 Aug 2025).
The categorical finiteness conditions are sharpened by the notion of a Möbius category, or Möbius catoid. In this formulation, arrows admit finite lengths 2 and only finitely many decompositions of each length. Definition 3.1 states that a catoid 3 is Möbius if every 4 has a finite maximal decomposition-length 5 and only finitely many ways to factor 6 into 7 at each step (Cranch et al., 29 Aug 2025). This finiteness is what permits the recursive definition of a star.
A parallel but more general formulation uses a relational bi-magma 8, where 9 are ternary relations encoding two forms of composition. Given a bi-prequantale 0, the function space 1 carries pointwise joins and two relational convolutions,
2
3
Under relational associativity and units, these convolutions lift the algebraic structure of 4 to 5 (Cranch et al., 2020).
These two presentations are closely aligned. The category/catoid formulation emphasizes Möbius finiteness and recursive star; the relational formulation emphasizes relational correspondence, multiple compositions, and modal operators. This suggests that modal convolution Kleene algebras are best understood not as a single isolated variety, but as a common lifting pattern from structured relational or categorical data into function spaces.
2. Möbius-star recursion and the Kleene algebra structure
The central obstacle in constructing convolution Kleene algebras on a wide class of structures is the definition of a suitable star. In the generalised Möbius-category setting, this is resolved by combining a generalisation of Möbius categories with a generalisation of a classical definition of a star for formal power series (Cranch et al., 29 Aug 2025).
If 6 is a Kleene algebra, meaning an additively idempotent semiring with a star 7 satisfying unfold and induction axioms, then for 8 the star is defined recursively by
9
for each identity 0, and
1
where 2 denotes the source identity of 3 (Cranch et al., 29 Aug 2025).
By induction on 4, one obtains the star-unfold equations
5
and both star-induction axioms. Lemma 3.4 gives the pointwise form
6
while Lemma 3.5 states that if 7 then 8, and dually 9 (Cranch et al., 29 Aug 2025).
The resulting structural theorem is explicit. Theorem 3.2 states: let 0 be a Möbius catoid and 1 a Kleene algebra. Define convolution 2 and star 3 by the recursive clauses above. Then 4 is a Kleene algebra (Cranch et al., 29 Aug 2025).
In the relational interchange setting, an analogous star construction is available when 5 is graded and finitely decomposable. Theorem 2.4 defines stars recursively over the grade: 6 and similarly for 7. Under these hypotheses, 8 becomes a concurrent Kleene algebra (Cranch et al., 2020).
A plausible implication is that the Möbius-star construction and the graded relational-star construction capture the same general phenomenon from two technical directions: one controlled by finite decomposition-length in catoids, the other by finite decomposability plus grading in relational frames.
3. Modal operators and modal Kleene algebra laws
A modal Kleene algebra is a Kleene algebra 9 equipped with two operators
0
satisfying, for all 1,
2
3
together with the dual axioms for 4 by interchanging 5-arguments and 6, as well as the idempotence laws 7 and 8 (Cranch et al., 29 Aug 2025).
In the convolution setting, assume 9 is a local Möbius catoid and 0 a modal Kleene algebra. For 1, the modal operators are defined by
2
3
Equivalently, in terms of source and target maps,
4
Theorem 3.3 states that if 5 is a modal Kleene algebra and 6 is local, then
7
is again a modal Kleene algebra (Cranch et al., 29 Aug 2025).
The paper specifies what is preserved under lifting: distribution of 8 and 9 over 0, compatibility with convolution through Box-Kleene and Diamond-Kleene interaction, the unfold and induction laws for 1, and domain/codomain closure laws (Cranch et al., 29 Aug 2025). This is the sense in which the modal structure is not appended externally, but induced from the source–target structure of the base catoid.
In the broader relational account, modalities arise by currying ternary relations into binary relations. For a binary relation 2, one has
3
Applied to the ternary compositions, this yields diamond and box operators that “look left”, “look right”, or “look in the interior” of sequential or parallel composition (Cranch et al., 2020).
A recurrent point of comparison concerns whether modal structure must be introduced by an ad hoc domain operator. The comparison section of the Möbius-category work states the opposite for this construction: modal structure in 4 is induced by the source–target maps of 5, not by an ad hoc domain operator (Cranch et al., 29 Aug 2025).
4. Relational correspondence, concurrency, and higher-dimensional variants
The relational theory emphasizes a correspondence between properties of the underlying frame and laws of the lifted algebra. In the bi-magma setting, the underlying data are two ternary relations together with seven relational interchange laws 6–7. Proposition 3.1 states that for each of the seven small interchange laws 8,
9
Under mild non-degeneracy conditions and finiteness assumptions, the implication reverses, so interchange in 0 holds exactly when it holds in 1 and in 2 (Cranch et al., 2020).
This correspondence is made concrete by delta functions. Lemma 6.1 defines the point-mass 3 by
4
Then
5
so convolutions of deltas exactly shadow the ternary relational trees in the quantale 6. Proposition 6.2 shows that, under no-zero-divisor and non-empty-fiber assumptions,
7
Proposition 6.3 then characterizes interchange through the interaction of relational and algebraic interchange laws (Cranch et al., 2020).
Concurrency enters by allowing two distinct lifted compositions, usually interpreted as sequential and parallel composition. The 2020 exposition states that concurrent quantales and concurrent Kleene algebras arise as convolution algebras 8 of functions from structures 9 with two ternary relations that satisfy relational interchange laws into concurrent quantales or Kleene algebras 0 (Cranch et al., 2020). Its main examples include weighted words, digraphs, posets, isomorphism classes of finite digraphs and pomsets.
The generalised Möbius-category work extends this line further by discussing concurrent convolution Kleene algebras and higher convolution Kleene algebras, including those on strict higher categories and higher relational monoids (Cranch et al., 29 Aug 2025). It also states that the 1-dimensional convolution of a 2-catoid 3 yields a concurrent Kleene algebra 4 supporting both interleaving (horizontal) and parallel (vertical) composition, with a two-star 5 and 6 for repeated interleaving or parallel repetition (Cranch et al., 29 Aug 2025).
This suggests that modal convolution Kleene algebras occupy a boundary zone between ordinary LLMs, algebraic concurrency, and higher-dimensional rewriting. The unifying mechanism is always convolution; what varies is the compositional arity and geometry present in the underlying frame.
5. Worked semantics and canonical examples
A worked example in the Möbius-category account uses weighted path semantics. Let 7 be a finite directed graph with weights in the tropical semiring
8
Its path-category 9 has objects 00 and arrows all finite paths. Then 01 is a convolution dioid; restricting to finitely supported 02 yields a dioid with 03. If 04 is equipped with the trivial Kleene star 05 for all 06, then 07 is a convolution Kleene algebra with
08
09
10
For 11, 12, 13, and 14, one obtains
15
16
and since 17, 18, one gets 19; also
20
The broader relational theory develops several canonical examples. For 21-weighted words, one takes 22 with
23
Then 24 has sequential and parallel convolutions
25
recovering the complex algebra of weighted shuffle languages (Cranch et al., 2020).
For digraphs, one considers a class 26 of finite directed graphs closed under serial composition 27 and parallel composition 28, together with the subsumption preorder 29 iff there is a vertex-bijective graph morphism 30. Then the antitone functions 31 form a unital concurrent quantale under
32
For pomsets and labeled partial orders, the same pattern uses series composition for 33, parallel disjoint union for 34, and subsumption via order-embeddings for 35. The resulting convolution algebra 36 recovers the classical true-concurrency concurrent Kleene algebra of pomset-languages (Cranch et al., 2020).
In the Boolean case 37, convolution reduces to relational product: 38 Hence 39, and one recovers exactly the usual powerset lifts (Cranch et al., 2020). This gives the Boolean edge case in which modal convolution Kleene algebras become complex algebras of relational frames.
6. Comparisons, applications, and interpretive issues
The generalised Möbius-category account explicitly compares its construction with two earlier lines. First, Rosenthal’s convolution quantales allow an arbitrary complete-lattice 40 and arbitrary catoid 41, with convolution using 42 and arbitrary joins. This yields 43-ary sups and a star 44, but loses finitary induction and in general does not land in a Kleene algebra (Cranch et al., 29 Aug 2025). Second, Kozen’s convolution Kleene algebras with tests arise as a special case 45, where 46 are tests and 47 actions. The Möbius-star construction generalises this to arbitrary many-object categories 48, embedding 49-valued indicator functions as tests (Cranch et al., 29 Aug 2025).
These comparisons mark an important conceptual distinction. Quantales do not require Möbius conditions, but support only sup-based star. By contrast, the Möbius-star construction is designed precisely to recover the finitary unfold and induction behavior characteristic of Kleene algebra (Cranch et al., 29 Aug 2025). A common misunderstanding would therefore be to treat convolution quantales and convolution Kleene algebras as interchangeable. The comparison section makes clear that they differ exactly on the role of star and induction.
The applications identified in the source material are primarily semantic and verification-theoretic. In program verification, programs are interpreted as elements 50, assertions as tests 51, sequential composition 52 represents next-program, and choice 53 represents nondeterminism. Kleene star models while-loops as 54, and the star-induction axiom corresponds to the Hoare-induction rule. The modal operators 55 provide predicate transformers,
56
giving sound and complete axiomatizations of quantitative Hoare triples
57
The same source identifies applications to the verification of weighted and probabilistic sequential and concurrent programs, using quantitative Hoare logics or predicate transformer algebras, and to algebraic reasoning in higher-dimensional rewriting (Cranch et al., 29 Aug 2025). The 2020 relational account similarly presents modal convolution Kleene algebras as natural models for reasoning about sequential and concurrent composition together with modalities, and lists classical languages over words, pomsets, weighted digraph or graph-type languages, incidence algebras in combinatorics, chop-modalities in interval logic, and separating conjunction in separation logic among the structures unified by the framework (Cranch et al., 2020).
A plausible implication is that the significance of modal convolution Kleene algebras lies less in a single signature than in a transferable construction principle. Whenever the underlying relational or categorical frame supports controlled factorization, convolution lifts composition, star lifts finite iteration, and modalities lift observational structure. Under that reading, the theory supplies a common algebraic interface for weighted semantics, concurrency, and modal reasoning.