Satisfiability of Context-Free String Constraints with Subword-Ordering and Transducers

被引:0
作者
Aiswarya, C. [1 ,2 ]
Mal, Soumodev [1 ]
Saivasan, Prakash [2 ,3 ]
机构
[1] Chennai Math Inst, Chennai, Tamil Nadu, India
[2] CNRS, ReLaX, IRL 2000, Chennai, Tamil Nadu, India
[3] HBNI, Inst Math Sci, Chennai, Tamil Nadu, India
来源
41ST INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE, STACS 2024 | 2024年 / 289卷
关键词
satisfiability; subword; string constraints; context-free; transducers; SMT SOLVER;
D O I
10.4230/LIPIcs.STACS.2024.5
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We study the satisfiability of string constraints where context-free membership constraints may be imposed on variables. Additionally a variable may be constrained to be a subword of a word obtained by shuffling variables and their transductions. The satisfiability problem is known to be undecidable even without rational transductions. It is known to be NExptime-complete without transductions, if the subword relations between variables do not have a cyclic dependency between them. We show that the satisfiability problem stays decidable in this fragment even when rational transductions are added. It is 2NEXPTIME-complete with context-free membership, and NExptime-complete with only regular membership. For the lower bound we prove a technical lemma that is of independent interest: The length of the shortest word in the intersection of a pushdown automaton (of size O(n)) and n finite-state automata (each of size O(n)) can be double exponential in n.
引用
收藏
页数:20
相关论文
共 45 条
  • [31] Hague M, 2015, ACM SIGPLAN NOTICES, V50, P1, DOI [10.1145/2858965.2814288, 10.1145/2814270.2814288]
  • [32] Hans Hermes, 1939, Journal of Philosophy, V36, P356, DOI DOI 10.2307/2017267
  • [33] String Constraints with Concatenation and Transducers Solved Efficiently
    Holik, Lukas
    Janku, Petr
    Lin, Anthony W.
    Rummer, Philipp
    Vojnar, Tomas
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2018, 2 (POPL):
  • [34] CertiStr: A Certified String Solver
    Kan, Shuanglong
    Lin, Anthony Widjaja
    Rummer, Philipp
    Schrader, Micha
    [J]. PROCEEDINGS OF THE 11TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON CERTIFIED PROGRAMS AND PROOFS (CPP '22), 2022, : 210 - 224
  • [35] Theory and Practice of String Solvers (Invited Talk Abstract)
    Kiezun, Adam
    Guo, Philip J.
    Hooimeijer, Pieter
    Ernst, Michael D.
    Ganesh, Vijay
    [J]. PROCEEDINGS OF THE 28TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS (ISSTA '19), 2019, : 6 - 7
  • [36] HAMPI: A Solver for Word Equations over Strings, Regular Expressions, and Context-Free Grammars
    Kiezun, Adam
    Ganesh, Vijay
    Artzi, Shay
    Guo, Philip J.
    Hooimeijer, Pieter
    Ernst, Michael D.
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2012, 21 (04)
  • [37] An efficient SMT solver for string constraints
    Liang, Tianyi
    Reynolds, Andrew
    Tsiskaridze, Nestan
    Tinelli, Cesare
    Barrett, Clark
    Deters, Morgan
    [J]. FORMAL METHODS IN SYSTEM DESIGN, 2016, 48 (03) : 206 - 234
  • [38] String Solving with Word Equations and Transducers: Towards a Logic for Analysing Mutation XSS
    Lin, Anthony W.
    Barcelo, Pablo
    [J]. ACM SIGPLAN NOTICES, 2016, 51 (01) : 123 - 136
  • [39] PROBLEM OF SOLVABILITY OF EQUATIONS IN A FREE SEMIGROUP
    MAKANIN, GS
    [J]. MATHEMATICS OF THE USSR-SBORNIK, 1977, 32 (02): : 129 - 198
  • [40] Matiyasevich Yu. V., 1968, Zap. Nauchn. Sem. LOMI, V8