On Action Algebras. Dexter Kozen Computer Science Department University of Aarhus DK-8000 Aarhus C, Denmark. January 2, 1992.
|
|
- Molly Patrick
- 5 years ago
- Views:
Transcription
1 On Action Algebras Dexter Kozen Computer Science Department University of Aarhus DK-8000 Aarhus C, Denmark January 2, 1992 Abstract Action algebras have been proposed by Pratt [22] as an alternative to Kleene algebras [8, 9]. Their chief advantage over Kleene algebras is that they form a finitely-based equational variety, so the essential properties of (iteration) are captured purely equationally. However, unlike Kleene algebras, they are not closed under the formation of matrices, which renders them inapplicable in certain constructions in automata theory and the design and analysis of algorithms. In this paper we consider a class of action algebras called action lattices. An action lattice is simply an action algebra that forms a lattice under its natural order. Action lattices combine the best features of Kleene algebras and action algebras: like action algebras, they form a finitely-based equational variety; like Kleene algebras, they are closed under the formation of matrices. Moreover, they form the largest subvariety of action algebras for which this is true. All common examples of Kleene algebras appearing in automata theory, logics of programs, These results were obtained during the workshop Logic and the Flow of Information, Amsterdam, December 13 15, 1991, sponsored by NFI project NF 102/62-356, Structure and Semantic Parallels in Nature Languages and Programming Languages. Supported by the Danish Research Academy, the NationaI Science Foundation, and the John Simon Guggenheim Foundation. On sabbatical from: Computer Science Department, Upson Hall, Cornell University, Ithaca, New York 14853, USA. kozen@cs.cornell.edu 1
2 relational algebra, and the design and analysis of algorithms are action lattices. 1 Introduction Iteration is an inescapable aspect of computer programs. One finds a bewildering array of formal structures in the literature that handle iteration in various ways. Many of these are based on the algebraic operator,a construct that originated with Kleene [12] and has since evolved in various directions. Among these one finds Kleene algebras [3, 8, 9], -continuous Kleene algebras [3, 7, 10], action algebras [22], dynamic algebras [7, 21], and closed semirings (see [1, 17, 10, 15, 6]), all of which axiomatize the essential properties of in different ways. The standard relational and language-theoretic models found in automata theory [4, 5, 16, 15, 14], program logic and semantics (see [11] and references therein), and relational algebra [19, 20] are all examples of such algebras. In addition one finds a number of nonstandard examples in the design and analysis of algorithms, among them the so-called min,+ algebras (see [1, 17, 10]) an certain algebra of polygons [6]. Of the three classes of algebra mentioned, the lest restrictive is the class of Kleene algebras. Kleene algebras have been studied under various definitions by various authors, most notably Conway [3]. We adopt the definition of [8, 9], in which Kleene algebras are axiomatized by a certain finite set of universally quantified equational implications over the regular operators +, ;,, 0, 1. Thus the class of Kleene algebras forms a finitely-based equational quasivariety. The equational consequences of the Kleene algebra axioms are exactly the regular identities [3, 8, 13]. Thus the family of regular languages over an alphabet Σ forms the free Kleene algebra on free generators Σ. A central step in the completeness proof of [8] is the demonstration that the family of n n matrices over a Kleene algebra again forms a Kleene algebra. This construction is also useful in several other applications: matrices over the two-element Kleene algebra are used to derive fast algorithms for reflexive transitive closure in directed graphs; matrices over min,+ algebras are used to compute shortest paths in weighted directed graphs; and matrices over the free monoid Σ are used to construct regular expressions equivalent to given finite automata (see [1, 17, 10]). Using matrices over an arbitrary 2
3 Kleene algebra, one can give a single uniform solution from which each of these applications can be derived as a special case. Besides equations, the axiomatization of Kleene algebra contains the two equational implications ax x a x x (1) xa x xa x. (2) It is known that no finite equational axiomatization exists over this signature [23] (although well-behaved infinite equational axiomatizations have been given [13, 21]). Pratt [22] argues that this is due to an inherent nonmonotonicity associated with the operator. This nonmonitonicity is handled in Kleene algebras with the equational implications (1) and (2). In light of the negative result of [23], it is quite surprising that the essential properties of should be captured purely equationally. Pratt [22] shows that this is possible over an expanded signature. He augments the regular operators with two residuation operators and, which give a end of weak left and right inverse to the composition operator ;, and identifies a finite set of equations that entail all the Kleene algebra axioms, including (1) and (2). The models of these equations are called action algebras. The inherent nonmonotonicity associated with is captured by the residuation operators, each of which is nonmonotonic in one of its arguments. Moreover, all the examples of Kleene algebra mentioned above have naturally defined residuation operations under which they form action algebras. Thus the action algebras form a finitely-based equational variety contained in the quasivariety of Kleene algebras and containing all the examples we are interested in. This is a desirable state of affairs, since one can now reason about in a purely equational way. However, one disadvantage of action algebras is that they are not closed under the formation of matrices. In Example 3.3 below we construct an action algebra U for which the 2 2matrices over U do not form an action algebra. Thus one cannot carry out the program of [8] or use action algebra to give a genera treatment of the applications mentioned above that require matrices. In this paper we show that the situation can be rectified by father augmenting the signature with a meet operator and imposing lattice axioms, and that this step is unavoidable if closure under the formation of matrices is desired. Specifically, we show that for n 2, the family of n n matrices 3
4 over an action algebra A is again an aition algebra if and only if A has finite meets under its natural order. An action algebra with this property is called an action lattice. Action lattices have a finite equational axiomatization and are closed under the formation of matrices; moreover, they form the largest subvariety of action algebras for which this is true. In specializing from action algebras to action lattices, we do not lose any of the various models of interest mentioned above. We have thus identified a class that combines the best features of Kleene algebras and action algebras: like action algebras, action lattices form a finitely-bred equations variety; like Kleene algebras, the n n matrices over an action lattice again form an action lattice; all the Kleene algebras that normally arise in applications in logics of programs, automata theory, relations algebra, and the design and analysis of algorithms are examples of action lattices. 2 Definitions With so many operators and axioms, it is not hard to become confused. Not the lest problem is conflict of notation in the literature. For the purposes of this paper, we follow [22] and use + and for join and meet, respectively, and ; for composition ([8, 9, 10] use for composition). For ease of reference, we collect all operators, signatures, axioms, and closes of structures together in four tables. All closes of algebraic structures we consider will have signatures consisting of some subset of the operators in Table 1 and axioms consisting of some subset of the formulars of Table 3. The signatures and closes themselves are defined in Tables 2and 4, respectively. The binary operators are written in infix. We normally omit the operator ; from expressions, writing ab for a; b. We avoid parentheses by assigning highest priority, then ;, then all the other operators. Thus a + bc should be parsed a +(b(c )). The expression a b is considered an abbreviation for the equation a + b = b. 4
5 symbol name arity + sum, join, plus 2 ; product, (sequential) composition 2 meet 2 left residuation 2 right residuation 2 star, iteration 1 0 zero, additive identity 0 1 one, multiplicative identity 0 Table 1: Operators As shown in [22], the two definitions of RES given in Table 4 are equivalent. The first gives a useful characterization of and in succinct terms, and the second gives a purely equations characterization. With the second definition, RES and ACT are defined by pure equations. short name name operators is idempotent semirings +, ;, 0, 1 ka Kleene algebras is, res residuation algebras is,, act action algebras ka, res al action lattices act, Table 2: Signatures 5
6 a +(b + c) = (a + b)+c (3) a + b = b + a (4) a + a = a (5) a +0 = 0+a = a (6) a(bc) = (ab)c (7) a1 = 1a = a (8) a(b + c) = ab + ac (9) (a + b)c = ac + bc (10) a0 = 0a = 0 (11) 1+a + a a a (12) ax x a x x (13) xa x xa x (14) ax b x a b (15) xa b x b a (16) a(a b) b (17) (b a)a b (18) a b a (b + c) (19) b a (b + c) a (20) x a ax (21) x xa a (22) (x x) = x x (23) (x x) = x x (24) a (b c) = (a b) c (25) a b = b a (26) a a = a (27) a +(a b) = a (28) a (a + b) = a (29) Table 3: Axioms 6
7 class name signature defining axioms US upper semilattices + (3) (5) IS idempotent semirings is (3) (11) KA Kleene algebras ka IS, (12) (14) RES residuation algebras res IS, (15) (16) RES residuation algebras res IS, (17) (22) RKA residuated Kleene algebras act KA, RES ACT action algebras act RES, (12), (23), (24) LS lower semilattices (25) (27) L lattices +, US, LS, (28), (29) AL action lattices it ACT, L Table 4: Algebraic structures Let C be a class of algebraic structures with signature σ and let A be an algebraic structure with signature τ. We say that A expands to an algebra in C if the operators in σ τ can be defined on A in such a way that the resulting algebra, restricted to signature σ, isinc. 3 Main Results 3.1 Action algebras are residuated Kleene algebras We first give an alternative characterization of action algebras that we will later find useful: action algebras are exactly the residuated Kleene algebra. Lemma 3.1 ACT = RKA. Proof. Every action algebra is a residuation algebra by definition. As shown in [22], every action algebra is a Kleene algebra. This establishes the forward inclusion. Conversely, we show that the properties (23) and (24) hold in all residuated Kleene algebra. By symmetry, it will suffice to show (23). The inequality x x (x x) follows from (12) and the IS axioms. For the reverse inequality, we have x(x x) x by (17) x(x x) x by (14), and (x x) x x by (15). 7
8 3.2 Matrices Let R be an idempotent semiring and let Mat(n, R) denote the family of n n matrices over R, with + interpreted as the usual matrix addition, ; the usual matrix multiplication, 0 the zero matrix, and 1 the identity matrix. Under these definitions, Mat(n, R) forms an idempotent semiring. Moreover, if R is also a Kleene algebra, we define on Mat(n, R) in the usual way (see [3, 8, 10]); then Mat(n, R) forms a Kleene algebra [8]. We say that an ordered structure R has finite meets if every finite set of elements has a meet or greatest lower bond. An upper semilattice (R, +) has (nonempty) finite meets if and only if it expands to a lattice (R, +, ); the operation gives the meet of its arguments. Lemma 3.2 Let R = (R, +, ;, 0, 1,, ) be a residuation algebra. For n 2, the indempotent semiring Mat(n, R) expands to a residuation algebra if and only if R has finite meets. Proof. Suppose first that R has finite meets, and expand R to a lattice (R, +, ) accordingly. Using the notation for iterated + and for iterated, we define the operations and on Mat(n, R) as follows: (A B) ij = (B A) ij = Then for all n n matrices X, AX B (AX) ij B ij ij n (A ki B kj ) (30) k=1 n (B ik A jk ) (31) k=1 ( ij k ij k jk i jk A ik X kj ) B ij A ik X kj B ij X kj A ik B ij X ik i A ik B ij jk X kj (A B) kj 8
9 X A B The property XA B X B A follows from a symmetric argument. Thus the residuation axioms (15) and (16) are satisfied in Mat(n, R) with these definitions. Conversely, suppose Mat(2, R) expands to a residuation algebra (the argument is similar for any n>2). Then with respect to the natural order in R defined in terms of +, there exist maximum x, y, z, w such that [ ] [ ] [ ] 1 0 x y a a 1 0 z w b b componentwise; i. e., x, y, z, w are maximum such that x a, x b, y a, and y b. Then x and y are the greatest lower bound of a and b with respect to. Since a and b were arbitrary, R contains all binary meets, hence all nonempty finite meets. The empty meet is given by the top element 0 0. Not every residuation algebra has finite meets; we construct a counterexample below. Thus the family of n n matrices over a residuation algebra does not in general form a residuation algebra. The same is true for action algebras. Hence, in order to obtain a subvariety of action algebras closed under the formation of matrices, we will be forced to account for explicitly. Example 3.3 We construct an action algebra that does not have finite meets. Let U be an arbitrary upper semilattice containing three elements 0, 1,T such that 0 < 1 u T for all u 0. Let + be the join operation of U, let the distinguished elements 0, 1 be as given, and define the remaining action algebra operations as follows: 9
10 ab = ba = a = a b = b a = 0 if a =0orb =0 b if a =1 T if both a, b > 1 { 1 if a =0ora =1 T if a>1 0 if a b 1 if 1 <a b<t b if a =1 T if a =0orb = T It is straightforward to check that the resulting structure is an action algebra. Moreover, U can certainly be chosen without finite meets; for example, let U consist of the natural numbers, two incomparable elements above the nature numbers, and a top element. Then the two incomparable elements have no meet. We show now that if is added to the signature of action algebras along with the lattice equations, we obtain a finitely-based subvariety AL of ACT closed under the formation of matrices. Moreover, it is the largest subvariety of ACT with this property, by the direction ( ) of Lemma 3.2. Theorem 3.4 The Kleene algebra Mat(n, A) of n n matrices over an action lattice A expands to an action lattice. Proof. As remarked previously, Mat(n, A) forms a Kleene algebra under the usual definitions of the Kleene algebra operations +, ;,,, 0, 1 [8]. Let the residuation operations be defined as in (30) and (31); by Lemma 3.2, Mat(n, A) is a residuation algebra. Then by Lemma 3.1, Mat(n, A) isan action algebra. Finally, let be defined on matrices componentwise. Since A is a lattice and since + and are defined componentwise, Mat(n, A) is also a lattice (it is isomorphic to the direct product of n 2 copies of A). Thus Mat(n, A) is an action lattice. All the examples given in 1, under the nature definitions of the residuation and meet operators, are easily seen to be examples of action lattices. Thus we have given a finitely-based variety AL that contains all these natural examples and is closed under the formation of n n matrices. 10
11 4 Conclusions and Open Questions The Kleene algebras have a natural free model on free generators Σ, namely the regular sets Reg Σ [8]. This structure expands to an action algebra under the natural definition of the residuation operators A B = {x Σ y Ayx B} B A = {x Σ y Axy B} and to an action lattice under the definition A B = A B. Thus the axioms of action algebras and action lattices do not entail any more identities over the signature ka than do the Kleene algebra axioms. One might suspect from this that Reg Σ with residuation is the free action algebra on Σ and Reg Σ with residuation and meet is the free action lattice on Σ, but this is not the case: the identity a (a + ba) =1 holds in Reg {a,b} but is not a consequence of the axioms of action algebras or action lattices, as can be seen by reinterpreting a a and b a. We conclude with some open questions. 1. What is the complexity of the equations theory of action algebras and action lattices? (The equational theory of Kleene algebras is PSPACEcomplete [18].) 2. Every -continuous Kleene algebra extends universally to a closed semiring in the sense that the forgetful functor from closed semirings to - continuous Kleene algebras has a left adjoint [9]. In a sense, this says that it does not matter which of the two classes one chooses to work with. Is there such a relationship between Kleene algebras and action algebras, or between action algebras and action lattices? 11
12 Acknowledgements These results were obtained at the workshop Logic and the Flow of Information held on December 13 15, 1991 in Amsterdam, sponsored by NFI project NF 102/62-356, Structural and Semantic Parallels in Natural Languages and Programming Languages. I am grateful to the work shop organizers Jan van Eijck and Johan van Benthem for their superb organization and to the proprietors of the Hotel De Filosoof for providing a most congenial atmosphere. I would also like to thank the workshop participants, particularly Larry Moss and Dana Scott, for valuable comments. Finally, I am deeply indebted to Vaughan Pratt for insight and inspiration derived from his paper [22] and from many engaging discussions. References [1] Alfred V. Aho, John E. Hopcroft, and Jeffrey D. Ullman. The Design and Analysis of Computer Algorithms. Addison-Wesley, [2] Stephen L. Bloom and Zoltán Ésik, An equational axiomatization of the regular sets, manuscript, April [3] John Horton Conway. Regular Algebra and Finite Machines. Chapman and Hall, London, [4] F. Gécseg and I. Peák. Algebraic Theory of Automata. Akadémiai Kiadó, Budapest, [5] John E. Hopcroft and Jeffrey D. Ullman. Introduction to Automata Theory, Languages, and Computation. Addison-Wesley, [6] Kazuo Iwano and Kenneth Steiglitz, A semiring on convex polygons and zero-sum cycle problems, SIAM J. Comput. 19:5 (1990), [7] Dexter Kozen, On induction vs. -continuity, Proc. Workshop on Logics of Programs 1981, Spring-Verlag Lect. Notes in Comput. Sci. 131, ed. Kozen, 1981, [8] Dexter Kozen, A completeness theorem for Kleene algebra and the algebra of regular events, Proc. 6th IEEE Symp. Logic in Comput. Sci., July 1991, Submitted, Information and Computation. 12
13 [9] Dexter Kozen, On Kleene algebras and closed semirings, Proc. Math. Found. Comput. Sci. 1990, ed. Rovan, Lect. Notes in Comput. Sci. 452, Springer, 1990, [10] Dexter Kozen, The Design and Analysis of Algorithms. Springer-Verlag, [11] Dexter Kozen and Jurek Tiuryn, Logics of Programs, in: van Leeuwen (ed.), Handbook of Theoretical Computer Science, v. B, North Holland, Amsterdam, 1990, [12] Stephen C. Kleene, Representation of events in nerve nets and finite automata, in: Automata Studies, ed. Shannon and McCarthy, Princeton U. Press, 1956, [13] Daniel Krob, A complete system of B-rational identities, Technical Report 90-1, Institute Blaise Pascal, Paris, January [14] Werner Kuich, The Kleene and Parikh Theorem in complete semirings, in: Proc. 14th Colloq. Automata, Languages, and Programming, ed. Ottmann, Springer-Verlag Lecture Notes in Computer Science 267, 1987, [15] Werner Kuich and Arto Salomaa. Semirings, Automata, and Languages. Springer-Verlag, Berlin, [16] Harry Lewis and Christos Papadimitriou. Elements of the Theory of Computation. Prentice-Hall, [17] Kurt Mehlhorn. Data Structures and Algorithms 2: Graph Algorithms and NP-Completeness. EATCS Monographs on Theoretical Computer Science, Springer-Verlag, [18] Albert R. Meyer and Larry Stockmeyer, The equivalence problem for regular expressions with squaring requires exponential time, in: Proc. 13th IEEE Symp, on Switching and Automata Theoy, Long Beach, CA, 1972, [19] K. C. Ng and A. Tarski, Relation algebras with transitive closure, Abstract , Notices Amer. Math. Soc. 24 (1977), A29-A30. 13
14 [20] K. C. Ng. Relation Algebras with Transitive Closure. PhD Thesis, University of California, Berkeley, [21] Vaughan Pratt, Dynamic algebras as a well-behaved fragment of relation algebras, in: D. Pigozzi, ed., Proc. Conf. on Algebra and Computer Science, Ames, Iowa, June 2-4, 1988; Springer-Verlag Lecture Notes in Computer Science, to appear. [22] Vaughan Pratt, Action logic and pure induction, in: Proc. Logics in AI: European Workshop JELIA 90, ed. J. van Eijck, Springer-Verlag Lect. Notes in Comput. Sci. 478, September 1990, [23] V. N. Redo, On defining relations for the algebra of regular events, Ukrain. Mat. Z. 16 (1964), (in Russian). [24] Arto Salomaa, Two complete axiom systems for the algebra of regular events, J. Assoc. Comput. Mach, 13:1 (January, 1966), [25] Arto Salomaa and Matti Soittola. Automata Theoretic Aspects of Formal Power Series. Springer-Verlag,
Equational Theory of Kleene Algebra
Introduction to Kleene Algebra Lecture 7 CS786 Spring 2004 February 16, 2004 Equational Theory of Kleene Algebra We now turn to the equational theory of Kleene algebra. This and the next lecture will be
More informationAn Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras
An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California 1. Residuated Lattices with iteration 2. Background: Semirings and Kleene algebras 3. A Gentzen system
More informationIntroduction to Kleene Algebras
Introduction to Kleene Algebras Riccardo Pucella Basic Notions Seminar December 1, 2005 Introduction to Kleene Algebras p.1 Idempotent Semirings An idempotent semiring is a structure S = (S, +,, 1, 0)
More informationAxioms of Kleene Algebra
Introduction to Kleene Algebra Lecture 2 CS786 Spring 2004 January 28, 2004 Axioms of Kleene Algebra In this lecture we give the formal definition of a Kleene algebra and derive some basic consequences.
More informationIntroduction to Kleene Algebra Lecture 15 CS786 Spring 2004 March 15 & 29, 2004
Introduction to Kleene Algebra Lecture 15 CS786 Spring 2004 March 15 & 29, 2004 Completeness of KAT In this lecture we show that the equational theories of the Kleene algebras with tests and the star-continuous
More informationKLEENE algebra is an algebraic structure that captures
UBIQUTIOUS COMPUTING AND COMMUNICATION JOURNAL, VOL. X, NO. X, JANUARY 2012 1 Some Applications of Kleene Algebra M. Al-Mousa,F. Tchier and F. Toufic UBICC Publishers, Saudi Arabia malmousa@ksu.edu.sa,
More informationTowards Kleene Algebra with Recursion
Towards Kleene Algebra with Recursion Hans Leiß Universität München, CIS Leopoldstraße 139 D-8000 München 40 leiss@sparc1.cis.uni-muenchen.de Abstract We extend Kozen s theory KA of Kleene Algebra to axiomatize
More informationIntroduction to Kleene Algebra Lecture 9 CS786 Spring 2004 February 23, 2004
Introduction to Kleene Algebra Lecture 9 CS786 Spring 2004 February 23, 2004 Completeness Here we continue the program begun in the previous lecture to show the completeness of Kleene algebra for the equational
More informationTHE EQUATIONAL THEORIES OF REPRESENTABLE RESIDUATED SEMIGROUPS
TH QUATIONAL THORIS OF RPRSNTABL RSIDUATD SMIGROUPS SZABOLCS MIKULÁS Abstract. We show that the equational theory of representable lower semilattice-ordered residuated semigroups is finitely based. We
More informationParikh s Theorem in Commutative Kleene Algebra
Parikh s Theorem in Commutative Kleene Algebra Mark W. Hopkins Adaptive Micro Systems, Inc. 7840 North 86th St. Milwaukee, Wisconsin 53224, USA mwhams-i.com Dexter C. Kozen Department of Computer Science
More informationHalting and Equivalence of Program Schemes in Models of Arbitrary Theories
Halting and Equivalence of Program Schemes in Models of Arbitrary Theories Dexter Kozen Cornell University, Ithaca, New York 14853-7501, USA, kozen@cs.cornell.edu, http://www.cs.cornell.edu/~kozen In Honor
More informationUniversität Augsburg. Institut für Informatik. Separability in Domain Semirings. D Augsburg. Report Dezember 2004
Universität Augsburg à ÊÇÅÍÆ ËÀǼ Separability in Domain Semirings Dexter Kozen Bernhard Möller Report 2004-16 Dezember 2004 Institut für Informatik D-86135 Augsburg Copyright c Dexter Kozen Bernhard Möller
More informationKLEENE algebra is an algebraic structure that captures
REPRINTED FROM: 1 Some Applications of Kleene Algebra M. Al-Mousa, F. Tchier and F. Toufic Mathematics department, King Saud University malmousa@ksu.edu.sa, ftchier@ksu.edu.sa, ftoufic@ksu.edu.sa Invited
More informationHalting and Equivalence of Schemes over Recursive Theories
Halting and Equivalence of Schemes over Recursive Theories Dexter Kozen Computer Science Department, Cornell University, Ithaca, New York 14853-7501, USA Abstract Let Σ be a fixed first-order signature.
More informationOn the Myhill-Nerode Theorem for Trees. Dexter Kozen y. Cornell University
On the Myhill-Nerode Theorem for Trees Dexter Kozen y Cornell University kozen@cs.cornell.edu The Myhill-Nerode Theorem as stated in [6] says that for a set R of strings over a nite alphabet, the following
More informationOn the Complexity of Reasoning in Kleene Algebra
On the Complexity of Reasoning in Kleene Algebra Dexter Kozen Computer Science Department, Upson Hall, Cornell University, Ithaca, NY 14853-7501, USA E-mail: kozen@cs.cornell.edu We study the complexity
More informationTable 1. Main Results
On the Complexity of Reasoning in Kleene Algebra Dexter Kozen Department of Computer Science Upson Hall Cornell University Ithaca, NY 4853-75, USA kozen@cs.cornell.edu Abstract We study the complexity
More informationIntroduction to Kleene Algebra Lecture 13 CS786 Spring 2004 March 15, 2004
Introduction to Kleene Algebra Lecture 13 CS786 Spring 2004 March 15, 2004 Models of KAT In this lecture we show that the equational theories of KAT, KAT (the star-continuous Kleene algebras with tests),
More informationEfficient Recursive Subtyping
Mathematical Structures in Computer Science, 5(1):113 125, 1995. Also in Proc. POPL 93, pages 419 428. Efficient Recursive Subtyping Dexter Kozen kozen@cs.cornell.edu Michael I. Schwartzbach mis@daimi.aau.dk
More informationFrom Semirings to Residuated Kleene Lattices
Peter Jipsen From Semirings to Residuated Kleene Lattices Abstract. We consider various classes of algebras obtained by expanding idempotent semirings with meet, residuals and Kleene-. An investigation
More informationIntroduction to Kleene Algebra Lecture 14 CS786 Spring 2004 March 15, 2004
Introduction to Kleene Algebra Lecture 14 CS786 Spring 2004 March 15, 2004 KAT and Hoare Logic In this lecture and the next we show that KAT subsumes propositional Hoare logic (PHL). Thus the specialized
More informationSolving weakly linear inequalities for matrices over max-plus semiring and applications to automata theory
Solving weakly linear inequalities for matrices over max-plus semiring and applications to automata theory Nada Damljanović University of Kragujevac, Faculty of Technical Sciences in Čačak, Serbia nada.damljanovic@ftn.kg.ac.rs
More informationOn Fixed Point Equations over Commutative Semirings
On Fixed Point Equations over Commutative Semirings Javier Esparza, Stefan Kiefer, and Michael Luttenberger Universität Stuttgart Institute for Formal Methods in Computer Science Stuttgart, Germany {esparza,kiefersn,luttenml}@informatik.uni-stuttgart.de
More informationCompleteness of Star-Continuity
Introduction to Kleene Algebra Lecture 5 CS786 Spring 2004 February 9, 2004 Completeness of Star-Continuity We argued in the previous lecture that the equational theory of each of the following classes
More informationCharacterizing the Equational Theory
Introduction to Kleene Algebra Lecture 4 CS786 Spring 2004 February 2, 2004 Characterizing the Equational Theory Most of the early work on Kleene algebra was directed toward characterizing the equational
More informationKleene Algebra and Arden s Theorem. Anshul Kumar Inzemamul Haque
Kleene Algebra and Arden s Theorem Anshul Kumar Inzemamul Haque Motivation Regular Expression is a Kleene Algebra. We can use the properties and theorems of Kleene Algebra to simplify regular expressions
More informationKleene Algebra with Tests: A Tutorial
Kleene Algebra with Tests: A Tutorial Part I Dexter Kozen Cornell University RAMiCS, September 17 18, 2012 Outline Today: Some history. Definitions, models, basic results. Expressiveness, completeness,
More informationWhen does a semiring become a residuated lattice?
When does a semiring become a residuated lattice? Ivan Chajda and Helmut Länger arxiv:1809.07646v1 [math.ra] 20 Sep 2018 Abstract It is an easy observation that every residuated lattice is in fact a semiring
More informationResearch Statement Christopher Hardin
Research Statement Christopher Hardin Brief summary of research interests. I am interested in mathematical logic and theoretical computer science. Specifically, I am interested in program logics, particularly
More informationOn the Exponent of the All Pairs Shortest Path Problem
On the Exponent of the All Pairs Shortest Path Problem Noga Alon Department of Mathematics Sackler Faculty of Exact Sciences Tel Aviv University Zvi Galil Department of Computer Science Sackler Faculty
More informationMANFRED DROSTE AND WERNER KUICH
Logical Methods in Computer Science Vol. 14(1:21)2018, pp. 1 14 https://lmcs.episciences.org/ Submitted Jan. 31, 2017 Published Mar. 06, 2018 WEIGHTED ω-restricted ONE-COUNTER AUTOMATA Universität Leipzig,
More informationSecond-Order Abstract Interpretation via Kleene Algebra
Second-Order Abstract Interpretation via Kleene Algebra Łucja Kot lucja@cs.cornell.edu Department of Computer Science Cornell University Ithaca, New York 14853-7501, USA Dexter Kozen kozen@cs.cornell.edu
More informationA Weak Bisimulation for Weighted Automata
Weak Bisimulation for Weighted utomata Peter Kemper College of William and Mary Weighted utomata and Semirings here focus on commutative & idempotent semirings Weak Bisimulation Composition operators Congruence
More informationOn Modal Logics of Partial Recursive Functions
arxiv:cs/0407031v1 [cs.lo] 12 Jul 2004 On Modal Logics of Partial Recursive Functions Pavel Naumov Computer Science Pennsylvania State University Middletown, PA 17057 naumov@psu.edu June 14, 2018 Abstract
More informationBoolean Algebra and Propositional Logic
Boolean Algebra and Propositional Logic Takahiro Kato September 10, 2015 ABSTRACT. This article provides yet another characterization of Boolean algebras and, using this characterization, establishes a
More informationEquational Logic. Chapter Syntax Terms and Term Algebras
Chapter 2 Equational Logic 2.1 Syntax 2.1.1 Terms and Term Algebras The natural logic of algebra is equational logic, whose propositions are universally quantified identities between terms built up from
More informationKleene modules and linear languages
The Journal of Logic and Algebraic Programming 66 (2006) 185 194 THE JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING wwwelseviercom/locate/jlap Kleene modules and linear languages Hans Leiß Centrum für Informations-
More informationSubdirectly irreducible commutative idempotent semirings
Subdirectly irreducible commutative idempotent semirings Ivan Chajda Helmut Länger Palacký University Olomouc, Olomouc, Czech Republic, email: ivan.chajda@upol.cz Vienna University of Technology, Vienna,
More informationWeighted Finite-State Transducer Algorithms An Overview
Weighted Finite-State Transducer Algorithms An Overview Mehryar Mohri AT&T Labs Research Shannon Laboratory 80 Park Avenue, Florham Park, NJ 0793, USA mohri@research.att.com May 4, 004 Abstract Weighted
More informationAxiomatizability of Algebras of Binary Relations
Axiomatizability of Algebras of Binary Relations Szabolcs Mikulás Department of Computer Science and Information Systems Birkbeck, University of London szabolcs@dcs.bbk.ac.uk 22/09/2010 Sz. Mikulás ()
More informationUniversität Augsburg
Universität Augsburg Properties of Overwriting for Updates in Typed Kleene Algebras Thorsten Ehm Report 2000-7 Dezember 2000 Institut für Informatik D-86135 Augsburg Copyright c Thorsten Ehm Institut für
More informationBasics of Relation Algebra. Jules Desharnais Département d informatique et de génie logiciel Université Laval, Québec, Canada
Basics of Relation Algebra Jules Desharnais Département d informatique et de génie logiciel Université Laval, Québec, Canada Plan 1. Relations on a set 2. Relation algebra 3. Heterogeneous relation algebra
More informationInsertion operations: closure properties
Insertion operations: closure properties Lila Kari Academy of Finland and Mathematics Department 1 Turku University 20 500 Turku, Finland 1 Introduction The basic notions used for specifying languages
More informationWhat are Iteration Theories?
What are Iteration Theories? Jiří Adámek and Stefan Milius Institute of Theoretical Computer Science Technical University of Braunschweig Germany adamek,milius @iti.cs.tu-bs.de Jiří Velebil Department
More informationKleene Algebras and Algebraic Path Problems
Kleene Algebras and Algebraic Path Problems Davis Foote May 8, 015 1 Regular Languages 1.1 Deterministic Finite Automata A deterministic finite automaton (DFA) is a model of computation that can simulate
More informationWatson-Crick ω-automata. Elena Petre. Turku Centre for Computer Science. TUCS Technical Reports
Watson-Crick ω-automata Elena Petre Turku Centre for Computer Science TUCS Technical Reports No 475, December 2002 Watson-Crick ω-automata Elena Petre Department of Mathematics, University of Turku and
More informationRealization of Coinductive Types
MFPS 2011 Realization of Coinductive Types Dexter Kozen 1,2 Department of Computer Science Cornell University Ithaca, New York 14853 7501, USA Abstract We give an explicit combinatorial construction of
More informationKleene Algebra with Tests and Program Schematology
Kleene Algebra with Tests and Program Schematology Allegra Angus Dexter Kozen Department of Computer Science Cornell University Ithaca, NY 14853-7501, USA July 10, 2001 Abstract The theory of flowchart
More informationRegular Languages and Finite Automata
Regular Languages and Finite Automata 1 Introduction Hing Leung Department of Computer Science New Mexico State University In 1943, McCulloch and Pitts [4] published a pioneering work on a model for studying
More informationThe commutation with ternary sets of words
The commutation with ternary sets of words Juhani Karhumäki Michel Latteux Ion Petre Turku Centre for Computer Science TUCS Technical Reports No 589, March 2004 The commutation with ternary sets of words
More informationBoolean Algebras. Chapter 2
Chapter 2 Boolean Algebras Let X be an arbitrary set and let P(X) be the class of all subsets of X (the power set of X). Three natural set-theoretic operations on P(X) are the binary operations of union
More informationDuality in Logic. Duality in Logic. Lecture 2. Mai Gehrke. Université Paris 7 and CNRS. {ε} A ((ab) (ba) ) (ab) + (ba) +
Lecture 2 Mai Gehrke Université Paris 7 and CNRS A {ε} A ((ab) (ba) ) (ab) + (ba) + Further examples - revisited 1. Completeness of modal logic with respect to Kripke semantics was obtained via duality
More informationBoolean Algebra and Propositional Logic
Boolean Algebra and Propositional Logic Takahiro Kato June 23, 2015 This article provides yet another characterization of Boolean algebras and, using this characterization, establishes a more direct connection
More informationMetamorphosis of Fuzzy Regular Expressions to Fuzzy Automata using the Follow Automata
Metamorphosis of Fuzzy Regular Expressions to Fuzzy Automata using the Follow Automata Rahul Kumar Singh, Ajay Kumar Thapar University Patiala Email: ajayloura@gmail.com Abstract To deal with system uncertainty,
More information1 Two-Way Deterministic Finite Automata
1 Two-Way Deterministic Finite Automata 1.1 Introduction Hing Leung 1 In 1943, McCulloch and Pitts [4] published a pioneering work on a model for studying the behavior of the nervous systems. Following
More information11 Three problems on the decidability and complexity of stability
11 Three problems on the decidability and complexity of stability Vincent D. Blondel* and John N. Tsitsiklis** *Institute of Mathematics University of Liege Sart Tilman B37 4000 Liege BELGIUM vblondel~ulg.ac.be
More informationPropositional Logics and their Algebraic Equivalents
Propositional Logics and their Algebraic Equivalents Kyle Brooks April 18, 2012 Contents 1 Introduction 1 2 Formal Logic Systems 1 2.1 Consequence Relations......................... 2 3 Propositional Logic
More information2 C. A. Gunter ackground asic Domain Theory. A poset is a set D together with a binary relation v which is reexive, transitive and anti-symmetric. A s
1 THE LARGEST FIRST-ORDER-AXIOMATIZALE CARTESIAN CLOSED CATEGORY OF DOMAINS 1 June 1986 Carl A. Gunter Cambridge University Computer Laboratory, Cambridge C2 3QG, England Introduction The inspiration for
More informationIntroduction to Finite-State Automata
Introduction to Finite-State Automata John McDonough Language Technologies Institute, Machine Learning for Signal Processing Group, Carnegie Mellon University March 26, 2012 Introduction In this lecture,
More informationSYNTACTIC SEMIGROUP PROBLEM FOR THE SEMIGROUP REDUCTS OF AFFINE NEAR-SEMIRINGS OVER BRANDT SEMIGROUPS
SYNTACTIC SEMIGROUP PROBLEM FOR THE SEMIGROUP REDUCTS OF AFFINE NEAR-SEMIRINGS OVER BRANDT SEMIGROUPS JITENDER KUMAR AND K. V. KRISHNA Abstract. The syntactic semigroup problem is to decide whether a given
More informationAn algebraic characterization of unary two-way transducers
An algebraic characterization of unary two-way transducers (Extended Abstract) Christian Choffrut 1 and Bruno Guillon 1 LIAFA, CNRS and Université Paris 7 Denis Diderot, France. Abstract. Two-way transducers
More informationON SOME CLASSES OF TREE AUTOMATA AND TREE LANGUAGES
Annales Academiæ Scientiarum Fennicæ Mathematica Volumen 25, 2000, 325 336 ON SOME CLASSES OF TREE AUTOMATA AND TREE LANGUAGES Ferenc Gécseg József Attila University, Department of Informatics Aradi vértanúk
More informationTR : Binding Modalities
City University of New York (CUNY) CUNY Academic Works Computer Science Technical Reports Graduate Center 2012 TR-2012011: Binding Modalities Sergei N. Artemov Tatiana Yavorskaya (Sidon) Follow this and
More informationChaos, Complexity, and Inference (36-462)
Chaos, Complexity, and Inference (36-462) Lecture 5: Symbolic Dynamics; Making Discrete Stochastic Processes from Continuous Deterministic Dynamics Cosma Shalizi 27 January 2009 Symbolic dynamics Reducing
More informationDESCRIPTIONAL COMPLEXITY OF NFA OF DIFFERENT AMBIGUITY
International Journal of Foundations of Computer Science Vol. 16, No. 5 (2005) 975 984 c World Scientific Publishing Company DESCRIPTIONAL COMPLEXITY OF NFA OF DIFFERENT AMBIGUITY HING LEUNG Department
More informationGENERATING SETS AND DECOMPOSITIONS FOR IDEMPOTENT TREE LANGUAGES
Atlantic Electronic http://aejm.ca Journal of Mathematics http://aejm.ca/rema Volume 6, Number 1, Summer 2014 pp. 26-37 GENERATING SETS AND DECOMPOSITIONS FOR IDEMPOTENT TREE ANGUAGES MARK THOM AND SHEY
More information2 Dexter Kozen 1994 Krob 1991 Kuich and Salomaa 1986 Pratt 1990 Redko 1964 Sakarovitch 1987 Salomaa 1966]. In semantics and logics of programs, Kleene
Kleene Algebra with Tests DEXTER KOZEN Cornell University We introduce Kleene algebra with tests, an equational system for manipulating programs. We give a purely equational proof, using Kleene algebra
More informationRecursive Function Theory and Computability
Recursive Function Theory and Computability GILSON ANTONIO GIRALDI 1 1 LNCC National Laboratory for Scientific Computing - Av. Getulio Vargas, 333, 25651-070, Petropolis, RJ, Brazil {gilson}@lncc.br Abstract.
More informationUltimate approximation and its application in nonmonotonic knowledge representation systems
Ultimate approximation and its application in nonmonotonic knowledge representation systems Marc Denecker Department of Computer Science, K.U.Leuven Celestijnenlaan 200A, B-3001 Heverlee Département d
More informationResults on Transforming NFA into DFCA
Fundamenta Informaticae XX (2005) 1 11 1 IOS Press Results on Transforming NFA into DFCA Cezar CÂMPEANU Department of Computer Science and Information Technology, University of Prince Edward Island, Charlottetown,
More informationPartially ordered monads and powerset Kleene algebras
Partially ordered monads and powerset Kleene algebras Patrik Eklund 1 and Werner Gähler 2 1 Umeå University, Department of Computing Science, SE-90187 Umeå, Sweden peklund@cs.umu.se 2 Scheibenbergstr.
More informationF. Blanchet-Sadri and F.D. Gaddis, "On a Product of Finite Monoids." Semigroup Forum, Vol. 57, 1998, pp DOI: 10.
On a Product of Finite Monoids By: F. Blanchet-Sadri and F. Dale Gaddis F. Blanchet-Sadri and F.D. Gaddis, "On a Product of Finite Monoids." Semigroup Forum, Vol. 57, 1998, pp 75-91. DOI: 10.1007/PL00005969
More informationClosure operators on sets and algebraic lattices
Closure operators on sets and algebraic lattices Sergiu Rudeanu University of Bucharest Romania Closure operators are abundant in mathematics; here are a few examples. Given an algebraic structure, such
More informationMARKOV S PRINCIPLE AND SUBSYSTEMS OF INTUITIONISTIC ANALYSIS
MARKOV S PRINCIPLE AND SUBSYSTEMS OF INTUITIONISTIC ANALYSIS J. R. MOSCHOVAKIS Abstract. Using a technique developed by Coquand and Hofmann [3] we verify that adding the analytical form MP 1: α( xα(x)
More informationMTH 309 Supplemental Lecture Notes Based on Robert Messer, Linear Algebra Gateway to Mathematics
MTH 309 Supplemental Lecture Notes Based on Robert Messer, Linear Algebra Gateway to Mathematics Ulrich Meierfrankenfeld Department of Mathematics Michigan State University East Lansing MI 48824 meier@math.msu.edu
More informationResolution for mixed Post logic
Resolution for mixed Post logic Vladimir Komendantsky Institute of Philosophy of Russian Academy of Science, Volkhonka 14, 119992 Moscow, Russia vycom@pochtamt.ru Abstract. In this paper we present a resolution
More informationLanguage-Processing Problems. Roland Backhouse DIMACS, 8th July, 2003
1 Language-Processing Problems Roland Backhouse DIMACS, 8th July, 2003 Introduction 2 Factors and the factor matrix were introduced by Conway (1971). He used them very effectively in, for example, constructing
More informationAn Algebraic Approach to Energy Problems I -Continuous Kleene ω-algebras
Acta Cybernetica 23 (2017) 203 228. An Algebraic Approach to Energy Problems I -Continuous Kleene ω-algebras Zoltán Ésika, Uli Fahrenberg b, Axel Legay c, and Karin Quaas d Abstract Energy problems are
More informationFamily of lattice valued Aleshin type finite state automata
Family of lattice valued Aleshin type finite state automata Dr.A.Jeyanthi, 2 B.Stalin Faculty, 2 Assistant Professor Department of Mathematics, 2 Department of Mechanical Engineering, 2 Anna University,
More informationTree Automata and Rewriting
and Rewriting Ralf Treinen Université Paris Diderot UFR Informatique Laboratoire Preuves, Programmes et Systèmes treinen@pps.jussieu.fr July 23, 2010 What are? Definition Tree Automaton A tree automaton
More information3515ICT: Theory of Computation. Regular languages
3515ICT: Theory of Computation Regular languages Notation and concepts concerning alphabets, strings and languages, and identification of languages with problems (H, 1.5). Regular expressions (H, 3.1,
More informationIDEMPOTENT n-permutable VARIETIES
IDEMPOTENT n-permutable VARIETIES M. VALERIOTE AND R. WILLARD Abstract. One of the important classes of varieties identified in tame congruence theory is the class of varieties which are n-permutable for
More informationThe Equational Theory of Kleene Lattices
The Equational Theory of Kleene Lattices Hajnal Andréka 1, Szabolcs Mikulás 2, István Németi 1 TACL 2011, 29/07/2011 1 Alfréd Rényi Institute of Mathematics Hungarian Academy of Sciences 2 Department of
More informationPeter Wood. Department of Computer Science and Information Systems Birkbeck, University of London Automata and Formal Languages
and and Department of Computer Science and Information Systems Birkbeck, University of London ptw@dcs.bbk.ac.uk Outline and Doing and analysing problems/languages computability/solvability/decidability
More informationThe variety of commutative additively and multiplicatively idempotent semirings
Semigroup Forum (2018) 96:409 415 https://doi.org/10.1007/s00233-017-9905-2 RESEARCH ARTICLE The variety of commutative additively and multiplicatively idempotent semirings Ivan Chajda 1 Helmut Länger
More informationFinite Automata and Languages
CS62, IIT BOMBAY Finite Automata and Languages Ashutosh Trivedi Department of Computer Science and Engineering, IIT Bombay CS62: New Trends in IT: Modeling and Verification of Cyber-Physical Systems (2
More informationCompleteness and Incompleteness in nominal Kleene algebra
1/35 Completeness and Incompleteness in nominal Kleene algebra Dexter Kozen, Konstantinos Mamouras, Alexandra Silva Cornell University, University College London & HasLab INESC TEC September 28th, 2015
More informationc 1998 Society for Industrial and Applied Mathematics Vol. 27, No. 4, pp , August
SIAM J COMPUT c 1998 Society for Industrial and Applied Mathematics Vol 27, No 4, pp 173 182, August 1998 8 SEPARATING EXPONENTIALLY AMBIGUOUS FINITE AUTOMATA FROM POLYNOMIALLY AMBIGUOUS FINITE AUTOMATA
More informationcse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska
cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska LECTURE 1 Course Web Page www3.cs.stonybrook.edu/ cse303 The webpage contains: lectures notes slides; very detailed solutions to
More informationSubsumption of concepts in FL 0 for (cyclic) terminologies with respect to descriptive semantics is PSPACE-complete.
Subsumption of concepts in FL 0 for (cyclic) terminologies with respect to descriptive semantics is PSPACE-complete. Yevgeny Kazakov and Hans de Nivelle MPI für Informatik, Saarbrücken, Germany E-mail:
More informationOn the Structure of Rough Approximations
On the Structure of Rough Approximations (Extended Abstract) Jouni Järvinen Turku Centre for Computer Science (TUCS) Lemminkäisenkatu 14 A, FIN-20520 Turku, Finland jjarvine@cs.utu.fi Abstract. We study
More informationUniversal Algebra for Logics
Universal Algebra for Logics Joanna GRYGIEL University of Czestochowa Poland j.grygiel@ajd.czest.pl 2005 These notes form Lecture Notes of a short course which I will give at 1st School on Universal Logic
More informationA Solution of a Tropical Linear Vector Equation
A Solution of a Tropical Linear Vector Equation NIKOLAI KRIVULIN Faculty of Mathematics and Mechanics St. Petersburg State University 28 Universitetsky Ave., St. Petersburg, 198504 RUSSIA nkk@math.spbu.ru
More informationLecture 4. Algebra, continued Section 2: Lattices and Boolean algebras
V. Borschev and B. Partee, September 21-26, 2006 p. 1 Lecture 4. Algebra, continued Section 2: Lattices and Boolean algebras CONTENTS 1. Lattices.... 1 1.0. Why lattices?... 1 1.1. Posets... 1 1.1.1. Upper
More informationA representation of context-free grammars with the help of finite digraphs
A representation of context-free grammars with the help of finite digraphs Krasimir Yordzhev Faculty of Mathematics and Natural Sciences, South-West University, Blagoevgrad, Bulgaria Email address: yordzhev@swu.bg
More informationTopology Proceedings. COPYRIGHT c by Topology Proceedings. All rights reserved.
Topology Proceedings Web: http://topology.auburn.edu/tp/ Mail: Topology Proceedings Department of Mathematics & Statistics Auburn University, Alabama 36849, USA E-mail: topolog@auburn.edu ISSN: 0146-4124
More informationKleene algebra to compute with invariant sets of dynamical
to compute with invariant sets of dynamical systems Lab-STICC, ENSTA-Bretagne MRIS, ENSTA-Paris, March 15, 2018 [5][4] Motivation Consider the system Denote by ϕ(t, x) the ow map. S : ẋ(t) = f(x(t))
More informationLogic for Computational Effects: work in progress
1 Logic for Computational Effects: work in progress Gordon Plotkin and John Power School of Informatics University of Edinburgh King s Buildings Mayfield Road Edinburgh EH9 3JZ Scotland gdp@inf.ed.ac.uk,
More informationSection Summary. Relations and Functions Properties of Relations. Combining Relations
Chapter 9 Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations Closures of Relations (not currently included
More informationDecision Problems Concerning. Prime Words and Languages of the
Decision Problems Concerning Prime Words and Languages of the PCP Marjo Lipponen Turku Centre for Computer Science TUCS Technical Report No 27 June 1996 ISBN 951-650-783-2 ISSN 1239-1891 Abstract This
More information