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 rig that generalizes the theory of regular expressions: it consists of a set with union (rig addition), concatenation (rig 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 a rig (R,0,,ϵ,()())(R, 0, \vee, \epsilon, (-)(-)) with a function () *:RR(-)^*:R \to R

  • \vee is idempotent: for all xRx \in R, xx=xx \vee x = x, making (R,0,)(R, 0, \vee) into a semilattice

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

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

  • for all xRx \in R and yRy \in R, if xyy=yx y \vee y = y, then x *yy=yx^* y \vee y = y

  • for all xRx \in R and yRy \in R, if yxy=yy x \vee y = y, then yx *y=yy x^* \vee y = y

Examples

References

Last revised on April 11, 2025 at 15:24:56. See the history of this page for a list of all contributions to it.