Diogo Poças ; Gil Silva ; Vasco T. Vasconcelos - Simple grammar bisimilarity, with an application to session type equivalence

lmcs:16789 - Logical Methods in Computer Science, October 15, 2026, Volume 22, Issue 4 - https://doi.org/10.46298/lmcs-22(4:5)2026
Simple grammar bisimilarity, with an application to session type equivalenceArticle

Authors: Diogo Poças ; Gil Silva ; Vasco T. Vasconcelos

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.


Volume: Volume 22, Issue 4
Published on: October 15, 2026
Accepted on: August 26, 2026
Submitted on: October 27, 2025
Keywords: Formal Languages and Automata Theory, Logic in Computer Science

Consultation statistics

This page has been seen 303 times.
This article's PDF has been downloaded 116 times.