Parameterized regular expressions and their languages

被引:10
|
作者
Barcelo, Pablo [1 ]
Reutter, Juan [2 ]
Libkin, Leonid [2 ]
机构
[1] Univ Chile, Dept Comp Sci, Santiago, Chile
[2] Univ Edinburgh, Sch Informat, Edinburgh EH8 9YL, Midlothian, Scotland
基金
英国工程与自然科学研究理事会;
关键词
Regular expressions with variables; Possibility semantics; Certainty semantics; Graph databases;
D O I
10.1016/j.tcs.2012.12.036
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We study regular expressions that use variables, or parameters, which are interpreted as alphabet letters. We consider two classes of languages denoted by such expressions: under the possibility semantics, a word belongs to the language if it is denoted by some regular expression obtained by replacing variables with letters; under the certainty semantics, the word must be denoted by every such expression. Such languages are regular, and we show that they naturally arise in several applications such as querying graph databases and program analysis. As the main contribution of the paper, we provide a complete characterization of the complexity of the main computational problems related to such languages: nonemptiness, universality, containment, membership, as well as the problem of constructing NFAs capturing such languages. We also look at the extension when domains of variables could be arbitrary regular languages, and show that under the certainty semantics, languages remain regular and the complexity of the main computational problems does not change. (C) 2013 Elsevier B.V. All rights reserved.
引用
收藏
页码:21 / 45
页数:25
相关论文
共 50 条
  • [21] Beyond ω-regular languages: ωT-regular expressions and their automata and logic counterparts
    Barozzini, David
    de Frutos-Escrig, David
    Della Monica, Dario
    Montanari, Angelo
    Sala, Pietro
    THEORETICAL COMPUTER SCIENCE, 2020, 813 : 270 - 304
  • [22] Regular expressions and context-free grammars for picture languages
    Matz, O
    STACS 97 - 14TH ANNUAL SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE, 1997, 1200 : 283 - 294
  • [23] Regular expressions with truth values in lattice-monoid and their languages
    Li, YM
    Pedrycz, W
    NAFIPS 2004: ANNUAL MEETING OF THE NORTH AMERICAN FUZZY INFORMATION PROCESSING SOCIETY, VOLS 1AND 2: FUZZY SETS IN THE HEART OF THE CANADIAN ROCKIES, 2004, : 572 - 577
  • [24] Beyond ωBS-regular Languages: ωT-regular Expressions and Counter-Check Automata
    Della Monica, Dario
    Montanari, Angelo
    Sala, Pietro
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2017, (256): : 223 - 237
  • [25] GENERATION OF REGULAR EXPRESSIONS FOR AUTOMATA BY INTEGRAL OF REGULAR EXPRESSIONS
    SMITH, LW
    YAU, SS
    COMPUTER JOURNAL, 1972, 15 (03): : 222 - &
  • [26] On Approximating Non-regular Languages by Regular Languages
    Eisman, Gerry
    Ravikumar, Bala
    FUNDAMENTA INFORMATICAE, 2011, 110 (1-4) : 125 - 142
  • [27] Regular expressions
    Becker, P
    DR DOBBS JOURNAL, 2006, 31 (05): : 52 - +
  • [28] Regular expressions
    LeFebvre, William
    Performance Computing/Unix Review, 1999, 17 (11): : 49 - 51
  • [29] Regular expressions
    Scientific Computing and Instrumentation, 2000, 17 (08):
  • [30] Partial Derivatives for Context-Free Languages From μ-Regular Expressions to Pushdown Automata
    Thiemann, Peter
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES (FOSSACS 2017), 2017, 10203 : 248 - 264