A Uniform Framework for Handling Position Constraints in String Solving
dc.contributor.author | Chen, Yu-Fang | cs |
dc.contributor.author | Havlena, Vojtěch | cs |
dc.contributor.author | Hečko, Michal | cs |
dc.contributor.author | Holík, Lukáš | cs |
dc.contributor.author | Lengál, Ondřej | cs |
dc.coverage.issue | PLDI | cs |
dc.coverage.volume | 9 | cs |
dc.date.accessioned | 2025-07-17T06:56:53Z | |
dc.date.available | 2025-07-17T06:56:53Z | |
dc.date.issued | 2025-06-16 | cs |
dc.description.abstract | 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. | en |
dc.description.abstract | Tento článek zavádí uniformní rámec pro řešení fragmentu logiky nad řetězci s regulárními a pozičními omezeními. | cs |
dc.format | text | cs |
dc.format.extent | 550-575 | cs |
dc.format.mimetype | application/pdf | cs |
dc.identifier.citation | Proceedings of the ACM on Programming Languages. 2025, vol. 9, issue PLDI, p. 550-575. | en |
dc.identifier.doi | 10.1145/3729273 | cs |
dc.identifier.issn | 2475-1421 | cs |
dc.identifier.orcid | 0000-0003-4375-7954 | cs |
dc.identifier.orcid | 0000-0001-6957-1651 | cs |
dc.identifier.orcid | 0000-0002-3038-5875 | cs |
dc.identifier.other | 197690 | cs |
dc.identifier.researcherid | JCO-1846-2023 | cs |
dc.identifier.scopus | 57189895456 | cs |
dc.identifier.scopus | 24468124100 | cs |
dc.identifier.scopus | 24822331700 | cs |
dc.identifier.uri | https://hdl.handle.net/11012/255172 | |
dc.language.iso | en | cs |
dc.publisher | ACM | cs |
dc.relation.ispartof | Proceedings of the ACM on Programming Languages | cs |
dc.relation.uri | https://dl.acm.org/doi/10.1145/3729273 | cs |
dc.rights | Creative Commons Attribution 4.0 International | cs |
dc.rights.access | openAccess | cs |
dc.rights.sherpa | http://www.sherpa.ac.uk/romeo/issn/2475-1421/ | cs |
dc.rights.uri | http://creativecommons.org/licenses/by/4.0/ | cs |
dc.subject | string constraints | en |
dc.subject | SMT | en |
dc.subject | automata | en |
dc.subject | position constraints | en |
dc.subject | disequalities | en |
dc.subject | not contains | en |
dc.subject | regular languages | en |
dc.title | A Uniform Framework for Handling Position Constraints in String Solving | en |
dc.title.alternative | Uniformní rámec pro řešení pozičních omezení nad řetězci | cs |
dc.type.driver | article | en |
dc.type.status | Peer-reviewed | en |
dc.type.version | publishedVersion | en |
sync.item.dbid | VAV-197690 | en |
sync.item.dbtype | VAV | en |
sync.item.insts | 2025.07.17 08:56:53 | en |
sync.item.modts | 2025.07.17 08:33:51 | en |
thesis.grantor | Vysoké učení technické v Brně. Fakulta informačních technologií. Ústav inteligentních systémů | cs |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- 3729273.pdf
- Size:
- 2.32 MB
- Format:
- Adobe Portable Document Format
- Description:
- file 3729273.pdf