Rational Index of Languages Defined by Grammars with Bounded Dimension of Parse Trees

IF 0.6 4区 计算机科学 Q4 COMPUTER SCIENCE, THEORY & METHODS Theory of Computing Systems Pub Date : 2023-12-20 DOI:10.1007/s00224-023-10159-3
Ekaterina Shemetova, Alexander Okhotin, Semyon Grigorev
{"title":"Rational Index of Languages Defined by Grammars with Bounded Dimension of Parse Trees","authors":"Ekaterina Shemetova, Alexander Okhotin, Semyon Grigorev","doi":"10.1007/s00224-023-10159-3","DOIUrl":null,"url":null,"abstract":"<p>The rational index <span>\\(\\rho _L\\)</span> of a language <i>L</i> is an integer function, where <span>\\(\\rho _L(n)\\)</span> is the maximum length of the shortest string in <span>\\(L \\cap R\\)</span>, over all regular languages <i>R</i> recognized by <i>n</i>-state nondeterministic finite automata (NFA). This paper investigates the rational index of languages defined by grammars with bounded parse tree dimension: this is a numerical measure of the amount of branching in a tree (with trees in a linear grammar having dimension 1). For context-free grammars, a grammar with tree dimension bounded by <i>d</i> has rational index at most <span>\\(O(n^{2d})\\)</span>, and it is known from the literature that there exists a grammar with rational index <span>\\(\\Theta (n^{2d})\\)</span>. In this paper, it is shown that for multi-component grammars with at most <i>k</i> components (<i>k</i>-MCFG) and with a tree dimension bounded by <i>d</i>, the rational index is at most <span>\\(O(n^{2kd})\\)</span>, where the constant depends on the grammar, and there exists such a grammar with rational index <span>\\(\\frac{k}{2^{kd^2 - kd -2k -1} \\cdot (8k+1)^{2kd}} n^{2kd}\\)</span>. Also, for the case of ordinary context-free grammars, a more precise lower bound <span>\\(\\frac{1}{2^{d^2 + d - 3} 3^{2d}} n^{2d}\\)</span> is established.</p>","PeriodicalId":22832,"journal":{"name":"Theory of Computing Systems","volume":null,"pages":null},"PeriodicalIF":0.6000,"publicationDate":"2023-12-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Theory of Computing Systems","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1007/s00224-023-10159-3","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

The rational index \(\rho _L\) of a language L is an integer function, where \(\rho _L(n)\) is the maximum length of the shortest string in \(L \cap R\), over all regular languages R recognized by n-state nondeterministic finite automata (NFA). This paper investigates the rational index of languages defined by grammars with bounded parse tree dimension: this is a numerical measure of the amount of branching in a tree (with trees in a linear grammar having dimension 1). For context-free grammars, a grammar with tree dimension bounded by d has rational index at most \(O(n^{2d})\), and it is known from the literature that there exists a grammar with rational index \(\Theta (n^{2d})\). In this paper, it is shown that for multi-component grammars with at most k components (k-MCFG) and with a tree dimension bounded by d, the rational index is at most \(O(n^{2kd})\), where the constant depends on the grammar, and there exists such a grammar with rational index \(\frac{k}{2^{kd^2 - kd -2k -1} \cdot (8k+1)^{2kd}} n^{2kd}\). Also, for the case of ordinary context-free grammars, a more precise lower bound \(\frac{1}{2^{d^2 + d - 3} 3^{2d}} n^{2d}\) is established.

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
解析树维度有界的语法所定义语言的有理索引
语言 L 的有理指数 (\(\rho _L\))是一个整数函数,其中 \(\rho _L(n)\) 是在 n 状态非确定有限自动机(NFA)识别的所有规则语言 R 中,\(L \cap R\) 中最短字符串的最大长度。本文研究了由解析树维度有界的语法定义的语言的理性指数:这是树中分支量的数字度量(线性语法中的树维度为 1)。对于无上下文语法来说,树维度以 d 为界的语法的有理指数最多为 \(O(n^{2d})\),文献中已知存在一种有理指数为 \(\Theta (n^{2d})\)的语法。本文证明,对于最多有 k 个成分(k-MCFG)且树维度以 d 为界的多成分语法,合理指数最多为 (O(n^{2kd})\)、存在这样一种语法,其合理指数为 \(\frac{k}{2^{kd^2 - kd -2k -1} \cdot (8k+1)^{2kd}} n^{2kd}\).此外,对于普通无上下文语法,还建立了一个更精确的下界 \(\frac{1}{2^{d^2 + d - 3} 3^{2d}} n^{2d}\).
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Theory of Computing Systems
Theory of Computing Systems 工程技术-计算机:理论方法
CiteScore
1.90
自引率
0.00%
发文量
36
审稿时长
6-12 weeks
期刊介绍: TOCS is devoted to publishing original research from all areas of theoretical computer science, ranging from foundational areas such as computational complexity, to fundamental areas such as algorithms and data structures, to focused areas such as parallel and distributed algorithms and architectures.
期刊最新文献
Elastic-Degenerate String Matching with 1 Error or Mismatch String Attractors of Some Simple-Parry Automatic Sequences Jumping Automata over Infinite Words On the Solution Sets of Three-Variable Word Equations Near-Optimal Auctions on Independence Systems
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1