尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。
We propose a scalable framework for deciding, proving, and explaining (in-)equivalence of context-free grammars. We present an implementation of the framework and evaluate it on large data sets collected within educational support systems. Even though the equivalence problem for context-free languages is undecidable in general, the framework is able to handle a large portion of these datasets. It introduces and combines techniques from several areas, such as an abstract grammar transformation language to identify equivalent grammars as well as sufficiently similar inequivalent grammars, theory-based comparison algorithms for a large class of context-free languages, and a graph-theory-inspired grammar canonization that allows to efficiently identify isomorphic grammars.
DOI 原文 ·
@article{paperbot3016,
title = {Detecting and Explaining (In-)equivalence of Context-Free Grammars},
author = {Marko Schmellenkamp and Thomas Zeume and Sven Argo and Sandra Kiefer and Cedric Siems and Fynn Stebel},
journal = {Proceedings of the ACM on Programming Languages},
volume = {9},
number = {OOPSLA2},
year = {2025},
doi = {10.1145/3763156}
}