Succinctness of the Complement and Intersection of Regular Expressions

Author:

Gelade Wouter1,Neven Frank1

Affiliation:

1. Hasselt University and Transnational University of Limburg

Abstract

We study the succinctness of the complement and intersection of regular expressions. In particular, we show that when constructing a regular expression defining the complement of a given regular expression, a double exponential size increase cannot be avoided. Similarly, when constructing a regular expression defining the intersection of a fixed and an arbitrary number of regular expressions, an exponential and double exponential size increase, respectively, cannot be avoided. All mentioned lower bounds improve the existing ones by one exponential and are tight in the sense that the target expression can be constructed in the corresponding time class, that is, exponential or double exponential time. As a by-product, we generalize a theorem by Ehrenfeucht and Zeiger stating that there is a class of DFAs which are exponentially more succinct than regular expressions, to a fixed alphabet. When the given regular expressions are one-unambiguous, as for instance required by the XML Schema specification, the complement can be computed in polynomial time whereas the bounds concerning intersection continue to hold. For the subclass of single-occurrence regular expressions, we prove a tight exponential lower bound for intersection.

Funder

Seventh Framework Programme

Publisher

Association for Computing Machinery (ACM)

Subject

Computational Mathematics,Logic,General Computer Science,Theoretical Computer Science

Reference45 articles.

1. Aho A. Hopcroft J. and Ullman J. 1974. The Design and Analysis of Computer Algorithms. Addison-Wesley. Aho A. Hopcroft J. and Ullman J. 1974. The Design and Analysis of Computer Algorithms . Addison-Wesley.

2. Bray T. Paoli J. Sperberg-McQueen C. Maler E. and Yergeau F. 2004. Extensible Markup Language (XML). Tech. rep. World Wide Web Consortium. http://www.w3.org/TR/REC-xml/. Bray T. Paoli J. Sperberg-McQueen C. Maler E. and Yergeau F. 2004. Extensible Markup Language (XML). Tech. rep. World Wide Web Consortium. http://www.w3.org/TR/REC-xml/.

3. Inference of concise regular expressions and DTDs

4. Ambiguity in Graphs and Expressions

Cited by 26 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Linear Matching of JavaScript Regular Expressions;Proceedings of the ACM on Programming Languages;2024-06-20

2. Lean Formalization of Extended Regular Expression Matching with Lookarounds;Proceedings of the 13th ACM SIGPLAN International Conference on Certified Programs and Proofs;2024-01-09

3. Negation-closure for JSON Schema;Theoretical Computer Science;2023-04

4. Regular expression length via arithmetic formula complexity;Journal of Computer and System Sciences;2022-05

5. Games for Succinctness of Regular Expressions;Electronic Proceedings in Theoretical Computer Science;2021-09-17

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3