Přístupnostní navigace
E-přihláška
Vyhledávání Vyhledat Zavřít
Detail publikačního výsledku
CHEN, Y.; HAVLENA, V.; HEČKO, M.; HOLÍK, L.; LENGÁL, O.
Originální název
A Uniform Framework for Handling Position Constraints in String Solving
Anglický název
Druh
Článek WoS
Originální abstrakt
We introduce a novel decision procedure for solving the class of position string constraints, which includes string disequalities, prefixof, suffixof, str.at, and str.at. These constraints are generated frequently in almost any application of string constraint solving. Our procedure avoids expensive encoding of the constraints to word equations and, instead, reduces the problem to checking conflicts on positions satisfying an integerconstraint obtained from the Parikh image of a polynomial-sized finite automaton with a special structure. By the reduction to counting, solving position constraints becomes NP-complete and for some cases even falls into PTime. This is much cheaper than the previously used techniques, which either used reductions generating word equations and length constraints (for which modern string solvers use exponential-space algorithms) or incomplete techniques. Our method is relevant especially for automata-based string solvers, which have recently achieved the best results in terms of practical efficiency, generality, and completeness guarantees. This work allows them to excel also on position constraints, which used to be their weakness. Besides the efficiency gains, we show that our framework may be extended to solve a large fragment of contains (in NExpTime), for which decidability has been long open, and gives a hope to solve the general problem. Our implementation of the technique within the Z3-Noodler solver significantly improves its performance on position constraints.
Anglický abstrakt
Klíčová slova
string constraints,SMT,automata,position constraints,disequalities,not contains,regular languages
Klíčová slova v angličtině
Autoři
Rok RIV
2026
Vydáno
16.06.2025
Nakladatel
ACM
Kniha
Proceedings of PLDI'25
ISSN
2475-1421
Periodikum
Proceedings of the ACM on Programming Languages-PACMPL
Svazek
9
Číslo
PLDI
Stát
Spojené státy americké
Strany od
550
Strany do
575
Strany počet
26
URL
https://dl.acm.org/doi/10.1145/3729273
Plný text v Digitální knihovně
http://hdl.handle.net/11012/255172
BibTex
@article{BUT197690, author="Yu-Fang {Chen} and Vojtěch {Havlena} and Michal {Hečko} and Lukáš {Holík} and Ondřej {Lengál}", title="A Uniform Framework for Handling Position Constraints in String Solving", journal="Proceedings of the ACM on Programming Languages-PACMPL", year="2025", volume="9", number="PLDI", pages="550--575", doi="10.1145/3729273", url="https://dl.acm.org/doi/10.1145/3729273" }