On the average size of glushkov and equation automata for KAT expressions

  • Authors:
  • Sabine Broda;António Machiavelo;Nelma Moreira;Rogério Reis

  • Affiliations:
  • CMUP & DM-DCC, Faculdade de Ciências da Universidade do Porto, Porto, Portugal;CMUP & DM-DCC, Faculdade de Ciências da Universidade do Porto, Porto, Portugal;CMUP & DM-DCC, Faculdade de Ciências da Universidade do Porto, Porto, Portugal;CMUP & DM-DCC, Faculdade de Ciências da Universidade do Porto, Porto, Portugal

  • Venue:
  • FCT'13 Proceedings of the 19th international conference on Fundamentals of Computation Theory
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Kleene algebra with tests (KAT) is an equational system that extends Kleene algebra, the algebra of regular expressions, and that is specially suited to capture and verify properties of simple imperative programs. In this paper we study two constructions of automata from KAT expressions: the Glushkov automaton ($\mathcal{A}_{\mathsf{pos}}$), and a new construction based on the notion of prebase (equation automata, $\mathcal{A}_{\mathsf{eq}}$). Contrary to other automata constructions from KAT expressions, these two constructions enjoy the same descriptional complexity behaviour as their counterparts for regular expressions, both in the worst-case as well as in the average-case. In particular, our main result is to show that, asymptotically and on average the number of transitions of the $\mathcal{A}_{{\mathsf{pos}}}$ is linear in the size of the KAT expression.