Grammar-Constrained (CFL) Reachability: Subcubic Preprocessing, Indexing Trade-offs, and Structured Decoding Semantics

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Alpay, Faruk, Sarioglu, Levent
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917298621644800
author Alpay, Faruk
Sarioglu, Levent
author_facet Alpay, Faruk
Sarioglu, Levent
contents We study the problem of grammar-constrained context-free language reachability in graphs, focusing on complexity and empirical performance. We present an algorithmic framework for evaluating reachability queries constrained by context-free grammars, and analyze its theoretical runtime bounds. To complement our theoretical results, we conduct an extensive empirical evaluation on a comprehensive benchmark of real-world schemas, comparing different algorithmic variants and reporting performance trade-offs. Our results highlight the impact of grammar structure and graph characteristics on reachability computation, and provide guidance for selecting efficient approaches in practice.
format Preprint
id arxiv_https___arxiv_org_abs_2602_23401
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Grammar-Constrained (CFL) Reachability: Subcubic Preprocessing, Indexing Trade-offs, and Structured Decoding Semantics
Alpay, Faruk
Sarioglu, Levent
Data Structures and Algorithms
Formal Languages and Automata Theory
68Q45, 68R10
F.2.2; F.4.3
We study the problem of grammar-constrained context-free language reachability in graphs, focusing on complexity and empirical performance. We present an algorithmic framework for evaluating reachability queries constrained by context-free grammars, and analyze its theoretical runtime bounds. To complement our theoretical results, we conduct an extensive empirical evaluation on a comprehensive benchmark of real-world schemas, comparing different algorithmic variants and reporting performance trade-offs. Our results highlight the impact of grammar structure and graph characteristics on reachability computation, and provide guidance for selecting efficient approaches in practice.
title Grammar-Constrained (CFL) Reachability: Subcubic Preprocessing, Indexing Trade-offs, and Structured Decoding Semantics
topic Data Structures and Algorithms
Formal Languages and Automata Theory
68Q45, 68R10
F.2.2; F.4.3
url https://arxiv.org/abs/2602.23401