English

The Parikh Property for Weighted Context-Free Grammars

Formal Languages and Automata Theory 2019-06-20 v3

Abstract

Parikh's Theorem states that every context-free grammar (CFG) is equivalent to some regular CFG when the ordering of symbols in the words is ignored. The same is not true for the so-called weighted CFGs, which additionally assign a weight to each grammar rule. If the result holds for a given weighted CFG GG, we say that GG satisfies the Parikh property. We prove constructively that the Parikh property holds for every weighted nonexpansive CFG. We also give a decision procedure for the property when the weights are over the rationals.

Cite

@article{arxiv.1810.01351,
  title  = {The Parikh Property for Weighted Context-Free Grammars},
  author = {Pierre Ganty and Elena Gutiérrez},
  journal= {arXiv preprint arXiv:1810.01351},
  year   = {2019}
}

Comments

29 pages, 2 figures, long version of FSTTCS'18 paper

R2 v1 2026-06-23T04:26:09.465Z