Singleton集合的CFG复杂度
The CFG Complexity of Singleton Sets
AI总结:
研究Chomsky范式下生成单一字符串的最小CFG大小问题,证明其复杂度界限为Theta(n/log n),并提供非构造性与构造性证明。
摘要:
设G为Chomsky范式下的上下文无关文法(CFG)。我们将G中的规则数作为G的大小。我们假设所有CFG均为Chomsky范式。我们考虑这样一个问题:给定长度为n的字符串w,使得L(G)={w}的最小CFG是什么?我们展示以下结果:1)对于所有长度为n的字符串w,存在一个包含O(n/log n)条规则的CFG,使得L(G)={w}。2)存在一个长度为n的字符串w,使得每个满足L(G)={w}的CFG G的大小均为Omega(n/log n)。我们给出了两个证明:一个非构造性证明,另一个构造性证明。
英文摘要:
Let G be a context-free grammar (CFG) in Chomsky normal form. We take the number of rules in G to be the size of G. We also assume all CFGs are in Chomsky normal form. We consider the question of, given a string w of length n, what is the smallest CFG such that L(G)={w}? We show the following: 1) For all w, |w|=n, there is a CFG of size with O(n/log n) rules, such that L(G)={w}. 2) There exists a string w, |w|=n, such that every CFG G with L(G)={w} is of size Omega(n/log n). We give two proofs of: one nonconstructive, the other constructive.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。