English

Simple grammar bisimilarity, with an application to session type equivalence

Formal Languages and Automata Theory 2026-05-11 v3 Logic in Computer Science

Abstract

We provide an algorithm for deciding simple grammar bisimilarity whose complexity is polynomial in the valuation of the grammar (maximum seminorm among production rules). Since the valuation is at most exponential in the size of the grammar, this gives rise to a (single) exponential running time. Previously only a double-exponential algorithm was known. As an application, we provide a conversion from context-free session types to simple grammars whose valuation is linear in the size of the type. In this way, we provide the first polynomial-time algorithm for deciding context-free session type equivalence.

Keywords

Cite

@article{arxiv.2407.04063,
  title  = {Simple grammar bisimilarity, with an application to session type equivalence},
  author = {Diogo Poças and Gil Silva and Vasco T. Vasconcelos},
  journal= {arXiv preprint arXiv:2407.04063},
  year   = {2026}
}

Comments

46 pages, 6 figures

R2 v1 2026-06-28T17:29:26.880Z