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 条
  • [1] Parameterized Regular Expressions and Their Languages
    Barcelo, Pablo
    Libkin, Leonid
    Reutter, Juan L.
    IARCS ANNUAL CONFERENCE ON FOUNDATIONS OF SOFTWARE TECHNOLOGY AND THEORETICAL COMPUTER SCIENCE (FSTTCS 2011), 2011, 13 : 351 - 362
  • [2] Enumerating regular expressions and their languages
    Lee, J
    Shallit, J
    IMPLEMENTATION AND APPLICATION OF AUTOMATA, 2005, 3317 : 2 - 22
  • [3] Regular binoid expressions and regular binoid languages
    Hashiguchi, K
    Wada, Y
    Jimbo, S
    THEORETICAL COMPUTER SCIENCE, 2003, 304 (1-3) : 291 - 313
  • [4] Parameterized Prefix Distance between Regular Languages
    Kutrib, Martin
    Meckel, Katja
    Wendlandt, Matthias
    SOFSEM 2014: THEORY AND PRACTICE OF COMPUTER SCIENCE, 2014, 8327 : 419 - 430
  • [5] On monotone languages and their characterization by regular expressions
    Gyurica, Gyoergy
    ACTA CYBERNETICA, 2007, 18 (01): : 117 - 134
  • [6] Regular expressions -: Languages, algorithms, and software
    Kernighan, BW
    Pike, R
    DR DOBBS JOURNAL, 1999, 24 (04): : 19 - 22
  • [7] On Nilpotent Languages and Their Characterization by Regular Expressions
    Gyurica, Gyoergy
    ACTA CYBERNETICA, 2009, 19 (01): : 231 - 244
  • [8] On the closure of pattern expressions languages under intersection with regular languages
    Cezar Câmpeanu
    Nicolae Santean
    Acta Informatica, 2009, 46 : 193 - 207
  • [9] On the closure of pattern expressions languages under intersection with regular languages
    Campeanu, Cezar
    Santean, Nicolae
    ACTA INFORMATICA, 2009, 46 (03) : 193 - 207
  • [10] More concise representation of regular languages by automata and regular expressions
    Geffert, Viliam
    Mereghetti, Carlo
    Palano, Beatrice
    INFORMATION AND COMPUTATION, 2010, 208 (04) : 385 - 394