Succinct Representation of Regular Sets Using Gotos and Boolean Variables

Abstract Regular expressions can be extended by gotos and Boolean variables. Although such extensions do not increase the class of expressible languages, they do permit shorter expressions for some languages. This paper investigates the relative economies of extended and ordinary regular expressions. It is shown that there is a size n expression with Boolean variables which is not equivalent to any ordinary regular expression of size less than a double exponential function of n . It is also shown that there is a size n expression containing a single goto and no variables which is equivalent to no ordinary regular expression of size less than cn log n , for some constant c .

[1]  Seymour Ginsburg,et al.  Mappings of languages by two-tape devices , 1964, JACM.

[2]  Joseph Y. Halpern,et al.  The prepositional dynamic logic of deterministic, well-structured programs , 1981, 22nd Annual Symposium on Foundations of Computer Science (sfcs 1981).

[3]  Richard E. Ladner,et al.  Propositional Dynamic Logic of Regular Programs , 1979, J. Comput. Syst. Sci..

[4]  Ernst L. Leiss,et al.  On Equations for Regular Languages, Finite Automata, and Sequential Networks , 1980, Theor. Comput. Sci..

[5]  Dexter Kozen,et al.  On parallelism in turing machines , 1976, 17th Annual Symposium on Foundations of Computer Science (sfcs 1976).

[6]  Andrzej Ehrenfeucht,et al.  Complexity Measures for Regular Expressions , 1976, J. Comput. Syst. Sci..

[7]  Ken Thompson,et al.  Programming Techniques: Regular expression search algorithm , 1968, Commun. ACM.

[8]  Jeffrey D Ullma Computational Aspects of VLSI , 1984 .

[9]  Alfred V. Aho,et al.  The Design and Analysis of Computer Algorithms , 1974 .

[10]  Sheila A. Greibach,et al.  Theory of Program Structures: Schemes, Semantics, Verification , 1976, Lecture Notes in Computer Science.