Action Algebra
   HOME

TheInfoList



OR:

In
algebraic logic In mathematical logic, algebraic logic is the reasoning obtained by manipulating equations with free variables. What is now usually called classical algebraic logic focuses on the identification and algebraic description of models appropriate for ...
, an action algebra is an
algebraic structure In mathematics, an algebraic structure consists of a nonempty set ''A'' (called the underlying set, carrier set or domain), a collection of operations on ''A'' (typically binary operations such as addition and multiplication), and a finite set of ...
which is both a residuated semilattice and a
Kleene algebra In mathematics, a Kleene algebra ( ; named after Stephen Cole Kleene) is an idempotent (and thus partially ordered) semiring endowed with a closure operator. It generalizes the operations known from regular expressions. Definition Various ineq ...
. It adds the star or reflexive transitive closure operation of the latter to the former, while adding the left and right residuation or implication operations of the former to the latter. Unlike dynamic logic and other modal logics of programs, for which programs and propositions form two distinct sorts, action algebra combines the two into a single sort. It can be thought of as a variant of intuitionistic logic with star and with a noncommutative conjunction whose identity need not be the top element. Unlike Kleene algebras, action algebras form a variety, which furthermore is finitely axiomatizable, the crucial axiom being ''a''•(''a'' → ''a'')* ≤ ''a''. Unlike models of the equational theory of Kleene algebras (the regular expression equations), the star operation of action algebras is reflexive transitive closure in every model of the equations. Action algebras were introduced by
Vaughan Pratt Vaughan Pratt (born April 12, 1944) is a Professor Emeritus at Stanford University, who was an early pioneer in the field of computer science. Since 1969, Pratt has made several contributions to foundational areas such as search algorithms, sorti ...
in the European Workshop JELIA'90. __TOC__


Definition

An action algebra (''A'', ∨, 0, •, 1, ←, →, *) is an
algebraic structure In mathematics, an algebraic structure consists of a nonempty set ''A'' (called the underlying set, carrier set or domain), a collection of operations on ''A'' (typically binary operations such as addition and multiplication), and a finite set of ...
such that (''A'', ∨, •, 1, ←, →) forms a residuated semilattice in the sense of Ward and Dilworth, while (''A'', ∨, 0, •, 1, *) forms a
Kleene algebra In mathematics, a Kleene algebra ( ; named after Stephen Cole Kleene) is an idempotent (and thus partially ordered) semiring endowed with a closure operator. It generalizes the operations known from regular expressions. Definition Various ineq ...
in the sense of Dexter Kozen. That is, it is any model of the joint theory of both classes of algebras. Now Kleene algebras are axiomatized with quasiequations, that is, implications between two or more equations, whence so are action algebras when axiomatized directly in this way. However, action algebras have the advantage that they also have an equivalent axiomatization that is purely equational. The language of action algebras extends in a natural way to that of action lattices, namely by the inclusion of a meet operation. In the following we write the inequality ''a'' ≤ ''b'' as an abbreviation for the equation ''a'' ∨ ''b'' = ''b''. This allows us to axiomatize the theory using inequalities yet still have a purely equational axiomatization when the inequalities are expanded to equalities. The equations axiomatizing action algebra are those for a residuated semilattice, together with the following equations for star. ::: 1 ∨ ''a''*•''a''* ∨ ''a''   ≤   ''a''* ::: ''a''* ≤ (''a'' ∨ ''b'')* ::: (''a'' → ''a'')*   ≤   ''a'' → ''a'' The first equation can be broken out into three equations, 1 ≤ ''a''*, ''a''*•''a''* ≤ ''a''*, and ''a'' ≤ ''a''*. Defining ''a'' to be reflexive when 1 ≤ ''a'' and transitive when ''a''•''a'' ≤ ''a'' by abstraction from binary relations, the first two of those equations force ''a''* to be reflexive and transitive while the third forces ''a''* to be greater or equal to ''a''. The next axiom asserts that star is monotone. The last axiom can be written equivalently as ''a''•(''a'' → ''a'')* ≤ ''a'', a form which makes its role as induction more apparent. These two axioms in conjunction with the axioms for a residuated semilattice force ''a''* to be the least reflexive transitive element of the semilattice of elements greater or equal to ''a''. Taking that as the definition of reflexive transitive closure of ''a'', we then have that for every element ''a'' of any action algebra, ''a''* is the reflexive transitive closure of ''a''.


Properties

The equational theory of the implication-free fragment of action algebras, those equations not containing → or ←, can be shown to coincide with the equational theory of Kleene algebras, also known as the regular expression equations. In that sense the above axioms constitute a
finite axiomatization In mathematical logic, an axiom schema (plural: axiom schemata or axiom schemas) generalizes the notion of axiom. Formal definition An axiom schema is a formula in the metalanguage of an axiomatic system, in which one or more schematic variables a ...
of regular expressions. Redko showed in 1967 that the regular expression equations had no finite axiomatization, for which John Horton Conway gave a shorter proof in 1971. V.N. Redko, On defining relations for the algebra of regular events (Russian), ''Ukrain. Mat. Z.'', 16:120–126, 1964. Arto Salomaa gave an equation schema axiomatizing this theory which Dexter Kozen subsequently reformulated as a finite axiomatization using quasiequations, or implications between equations, the crucial quasiequations being those of induction: if ''x''•''a'' ≤ ''x'' then ''x''•''a''* ≤ ''x'', and if ''a''•''x'' ≤ ''x'' then ''a''*•''x'' ≤ ''x''. Kozen defined a Kleene algebra to be any model of this finite axiomatization. Conway showed that the equational theory of regular expressions admit models in which ''a''* was not the reflexive transitive closure of ''a'', by giving a four-element model 0 ≤ 1 ≤ ''a'' ≤ ''a''* in which ''a''•''a'' = ''a''. In Conway's model, ''a'' is reflexive and transitive, whence its reflexive transitive closure should be ''a''. However the regular expressions do not enforce this, allowing ''a''* to be strictly greater than ''a''. Such anomalous behavior is not possible in an action algebra, which forces ''a''* to be the least transitive reflexive element.


Examples

Any Heyting algebra (and hence any Boolean algebra) is made an action algebra by taking • to be ∧ and ''a''* = 1. This is necessary and sufficient for star because the top element 1 of a Heyting algebra is its only reflexive element, and is transitive as well as greater or equal to every element of the algebra. The set 2Σ* of all formal languages (sets of finite strings) over an alphabet Σ forms an action algebra with 0 as the empty set, 1 = , ∨ as union, • as concatenation, ''L'' ← ''M'' as the set of all strings ''x'' such that ''xM'' ⊆ ''L'' (and dually for ''M'' → ''L''), and ''L''* as the set of all strings of strings in ''L'' (Kleene closure). The set 2''X''² of all binary relations on a set ''X'' forms an action algebra with 0 as the empty relation, 1 as the identity relation or equality, ∨ as union, • as relation composition, ''R'' ← ''S'' as the relation consisting of all pairs (''x,y'') such that for all ''z'' in ''X'', ''ySz'' implies ''xRz'' (and dually for ''S'' → ''R''), and ''R*'' as the reflexive transitive closure of ''R'', defined as the union over all relations ''R''''n'' for integers ''n'' ≥ 0. The two preceding examples are power sets, which are
Boolean algebras In abstract algebra, a Boolean algebra or Boolean lattice is a complemented distributive lattice. This type of algebraic structure captures essential properties of both set operations and logic operations. A Boolean algebra can be seen as a gen ...
under the usual set theoretic operations of union, intersection, and complement. This justifies calling them Boolean action algebras. The relational example constitutes a
relation algebra In mathematics and abstract algebra, a relation algebra is a residuated Boolean algebra expanded with an involution called converse, a unary operation. The motivating example of a relation algebra is the algebra 2''X''² of all binary relations ...
equipped with an operation of reflexive transitive closure. Note that every Boolean algebra is a Heyting algebra and therefore an action algebra by virtue of being an instance of the first example.


See also

*
Dynamic logic (modal logic) In logic, philosophy, and theoretical computer science, dynamic logic is an extension of modal logic capable of encoding properties of computer programs. A simple example of a statement in dynamic logic is :\text \to text\text, which states that ...
* Kleene star * Regular expression


References

{{Reflist Formal languages Algebraic logic Algebraic structures