patternMinor
Do basic operators of RE (Union, Kleene star and Concatenation) have properties like associativity, commutativity, distrbutivity etc.?
Viewed 0 times
starassociativityconcatenationpropertiesunionlikedistrbutivitycommutativityandkleene
Problem
So in regular algebra we have some basic operations defined such as multiplication, addition, subtraction and division.
For these operations/operators, we have some properties like commutativity, associativity and distributivity.
Is there an analogue set of properties for the operations/operators on that we do with Regular Expressions?
I also believe that the set of all regular expressions together with its operations that are defined on the members of regular expression set form an algebraic structure similar to the integers and common operators that we learn about at arithmetics.
For these operations/operators, we have some properties like commutativity, associativity and distributivity.
Is there an analogue set of properties for the operations/operators on that we do with Regular Expressions?
I also believe that the set of all regular expressions together with its operations that are defined on the members of regular expression set form an algebraic structure similar to the integers and common operators that we learn about at arithmetics.
Solution
There are several known axiomatizations of the equational theory of Kleene algebra, see lecture notes from a course by Dexter Kozen. These axiomatizations give you a complete set of rules that can be used to deduce any identity involving regular expressions. The first ones were given in a classic paper of Salomaa, and others are also known.
Context
StackExchange Computer Science Q#66530, answer score: 2
Revisions (0)
No revisions yet.