nLab Kleene star algebra

This page is about the rigs with a Kleene star closure operation. For the de Morgan algebra, see Kleene algebra.


Contents

Idea

A Kleene algebra is a semiring or rig that generalizes the theory of regular expressions: it consists of a set with union (semiring addition), concatenation (semiring multiplication), and closure operation (Kleene star).

Disambiguation note: This article is titled Kleene star algebra solely for disambiguation purposes as Kleene algebra already refers to the de Morgan algebra, and this rig is the only one with a Kleene star. In the existing literature, these objects are simply called Kleene algebras.

Definition

A Kleene algebra is an additively idempotent semiring (R,0,∨,ϵ,(−)(−))(R, 0, \vee, \epsilon, (-)(-)) with a function (−) *:R→R(-)^*:R \to R

  • for all x∈Rx \in R, (ϵ∨xx *)∨x *=x *(\epsilon \vee x x^*) \vee x^* = x^*

  • for all x∈Rx \in R, (ϵ∨x *x)∨x *=x *(\epsilon \vee x^* x) \vee x^* = x^*

  • for all x∈Rx \in R and y∈Ry \in R, if xy∨y=yx y \vee y = y, then x *y∨y=yx^* y \vee y = y

  • for all x∈Rx \in R and y∈Ry \in R, if yx∨y=yy x \vee y = y, then yx *∨y=yy x^* \vee y = y

Examples

References

Last revised on June 13, 2025 at 05:19:20. See the history of this page for a list of all contributions to it.