English

A Myhill-Nerode Theorem for Register Automata and Symbolic Trace Languages

Formal Languages and Automata Theory 2021-04-01 v2 Logic in Computer Science

Abstract

We propose a new symbolic trace semantics for register automata (extended finite state machines) which records both the sequence of input symbols that occur during a run as well as the constraints on input parameters that are imposed by this run. Our main result is a generalization of the classical Myhill-Nerode theorem to this symbolic setting. Our generalization requires the use of three relations to capture the additional structure of register automata. Location equivalence l\equiv_l captures that symbolic traces end in the same location, transition equivalence t\equiv_t captures that they share the same final transition, and a partial equivalence relation r\equiv_r captures that symbolic values vv and vv' are stored in the same register after symbolic traces ww and ww', respectively. A symbolic language is defined to be regular if relations l\equiv_l, t\equiv_t and r\equiv_r exist that satisfy certain conditions, in particular, they all have finite index. We show that the symbolic language associated to a register automaton is regular, and we construct, for each regular symbolic language, a register automaton that accepts this language. Our result provides a foundation for grey-box learning algorithms in settings where the constraints on data parameters can be extracted from code using e.g. tools for symbolic/concolic execution or tainting. We believe that moving to a grey-box setting is essential to overcome the scalability problems of state-of-the-art black-box learning algorithms.

Keywords

Cite

@article{arxiv.2007.03540,
  title  = {A Myhill-Nerode Theorem for Register Automata and Symbolic Trace Languages},
  author = {Frits Vaandrager and Abhisek Midya},
  journal= {arXiv preprint arXiv:2007.03540},
  year   = {2021}
}

Comments

This is the full version of a paper that appeared in the proceedings of ICTAC'20