Regular Expressions with Counting: Weak versus Strong Determinism

  • Authors:
  • Wouter Gelade;Marc Gyssens;Wim Martens

  • Affiliations:
  • wouter.gelade@gmail.com and marc.gyssens@uhasselt.be;-;wim.martens@uni-bayreuth.de

  • Venue:
  • SIAM Journal on Computing
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We study deterministic regular expressions extended with the counting operator. There exist two notions of determinism, strong and weak determinism, which are equally expressive for standard regular expressions. This, however, changes dramatically in the presence of counting. In particular, we show that weakly deterministic expressions with counting are exponentially more succinct and strictly more expressive than strongly deterministic ones, even though they still do not capture all regular languages. In addition, we present a finite automaton model with counters, study its properties, and investigate the natural extension of the Glushkov construction translating expressions with counting into such counting automata. This translation yields a deterministic automaton if and only if the expression is strongly deterministic. These results then also allow us to derive upper bounds for decision problems for strongly deterministic expressions with counting.