Pumping Lemmas Can be “Harmful”

IF 0.6 4区 计算机科学 Q4 COMPUTER SCIENCE, THEORY & METHODS Theory of Computing Systems Pub Date : 2024-04-05 DOI:10.1007/s00224-024-10169-9
Jingnan Xie, Harry B. Hunt III, Richard E. Stearns
{"title":"Pumping Lemmas Can be “Harmful”","authors":"Jingnan Xie, Harry B. Hunt III, Richard E. Stearns","doi":"10.1007/s00224-024-10169-9","DOIUrl":null,"url":null,"abstract":"<p>A pumping lemma for a class of languages <span>\\(\\varvec{\\mathcal {C}}\\)</span> is often used to show particular languages are not in <span>\\(\\varvec{\\mathcal {C}}\\)</span>. In contrast, we show that a pumping lemma for a class of languages <span>\\(\\varvec{\\mathcal {C}}\\)</span> can be used to study the computational complexity of the predicate “<span>\\(\\in \\varvec{\\mathcal {C}}\\)</span>” via highly efficient many-one reductions. In this paper, we use extended regular expressions (EXREGs, introduced in Câmpeanu et al. (Int. J. Foundations Comput. Sci. <b>14</b>(6), 1007–1018, 2003)) as an example to illustrate the proof technique and establish the complexity of the predicate “is an EXREG language” for several classes of languages. Due to the efficiency of the reductions, both productiveness (a stronger form of non-recursive enumerability) and complexity results can be obtained simultaneously. For example, we show that the predicate “is an EXREG language” is productive (hence, not recursively enumerable) for context-free grammars, and is Co-NEXPTIME-hard for context-free grammars generating bounded languages. The proof technique is easy to use and requires only a few conditions. This suggests that for any class of languages <span>\\(\\varvec{\\mathcal {C}}\\)</span> having a pumping lemma, the language class comparison problems (e.g., does a given context-free grammar generate a language in <span>\\(\\varvec{\\mathcal {C}}\\)</span>?) are almost guaranteed to be hard. So, pumping lemmas sometimes could be “harmful” when studying computational complexity results.</p>","PeriodicalId":22832,"journal":{"name":"Theory of Computing Systems","volume":null,"pages":null},"PeriodicalIF":0.6000,"publicationDate":"2024-04-05","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-024-10169-9","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

A pumping lemma for a class of languages \(\varvec{\mathcal {C}}\) is often used to show particular languages are not in \(\varvec{\mathcal {C}}\). In contrast, we show that a pumping lemma for a class of languages \(\varvec{\mathcal {C}}\) can be used to study the computational complexity of the predicate “\(\in \varvec{\mathcal {C}}\)” via highly efficient many-one reductions. In this paper, we use extended regular expressions (EXREGs, introduced in Câmpeanu et al. (Int. J. Foundations Comput. Sci. 14(6), 1007–1018, 2003)) as an example to illustrate the proof technique and establish the complexity of the predicate “is an EXREG language” for several classes of languages. Due to the efficiency of the reductions, both productiveness (a stronger form of non-recursive enumerability) and complexity results can be obtained simultaneously. For example, we show that the predicate “is an EXREG language” is productive (hence, not recursively enumerable) for context-free grammars, and is Co-NEXPTIME-hard for context-free grammars generating bounded languages. The proof technique is easy to use and requires only a few conditions. This suggests that for any class of languages \(\varvec{\mathcal {C}}\) having a pumping lemma, the language class comparison problems (e.g., does a given context-free grammar generate a language in \(\varvec{\mathcal {C}}\)?) are almost guaranteed to be hard. So, pumping lemmas sometimes could be “harmful” when studying computational complexity results.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
抽水马桶可能 "有害"
一类语言(\varvec{mathcal {C}})的抽水稃常被用来证明特定的语言不在(\varvec{mathcal {C}})中。与此相反,我们通过高效的多一还原法证明,一类语言 \(\varvec{mathcal {C}}\) 的抽水稃可以用来研究谓词"\(\in \varvec{mathcal {C}}\)" 的计算复杂性。在本文中,我们使用了扩展正则表达式(EXREGs,在 Câmpeanu et al.J. Foundations Comput.Sci. 14(6), 1007-1018, 2003)中引入的扩展正则表达式(EXREGs)作为例子来说明证明技术,并为几类语言建立 "是 EXREG 语言 "谓词的复杂性。由于还原的高效性,我们可以同时获得生产性(一种更强的非递归可枚举性)和复杂性结果。例如,我们证明了 "是 EXREG 语言 "这个谓词对于无上下文语法来说是富有成效的(因此不是递归可枚举的),而对于生成有界语言的无上下文语法来说是 Co-NEXPTIME-hard 的。证明技术易于使用,只需要几个条件。这表明,对于任何一类有抽水稃法的语言 \(\varvec{\mathcal {C}}/),语言类比较问题(例如,给定的无上下文语法会生成 \(\varvec{\mathcal {C}}/)中的语言吗?因此,在研究计算复杂性结果时,抽取lemmas有时可能是 "有害 "的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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