English

Learning Realtime One-Counter Automata

Formal Languages and Automata Theory 2024-09-16 v2

Abstract

We present a new learning algorithm for realtime one-counter automata. Our algorithm uses membership and equivalence queries as in Angluin's L* algorithm, as well as counter value queries and partial equivalence queries. In a partial equivalence query, we ask the teacher whether the language of a given finite-state automaton coincides with a counter-bounded subset of the target language. We evaluate an implementation of our algorithm on a number of random benchmarks and on a use case regarding efficient JSON-stream validation.

Keywords

Cite

@article{arxiv.2110.09434,
  title  = {Learning Realtime One-Counter Automata},
  author = {Véronique Bruyère and Guillermo A. Pérez and Gaëtan Staquet},
  journal= {arXiv preprint arXiv:2110.09434},
  year   = {2024}
}

Comments

55 pages, 9 figures, submitted to TACAS 2022

R2 v1 2026-06-24T06:58:56.248Z