Publication Details
A Symbolic Algorithm for the Case-Split Rule in String Constraint Solving
Chen Yu-Fang (ASIN)
Lengál Ondřej, Ing., Ph.D. (DITS FIT BUT)
Turrini Andrea (Chinese Academy of Sciences)
string solving
regular model checking
Nielsen transformation
symbolic encoding
Case split is a core proof rule in current decision procedures for the theory of string constraints. Its use is the primary cause of the state space explosion in string constraint solving, since it is the only rule that creates branches in the proof tree. Moreover, explicit handling of the case split rule may cause recomputation of the same tasks in multiple branches of the proof tree. In this paper, we propose a symbolic algorithm that significantly reduces such a redundancy. In particular, we encode a string constraint as a regular language and proof rules as rational transducers. This allows to perform similar steps in the proof tree only once, alleviating the state space explosion. In our preliminary experimental results, we validated that our technique (implemented in a Python prototype) works in many practical cases where other state-of-the-art solvers, such as CVC4 or Z3 fail to provide an answer.
@INPROCEEDINGS{FITPUB12347, author = "Vojt\v{e}ch Havlena and Yu-Fang Chen and Ond\v{r}ej Leng\'{a}l and Andrea Turrini", title = "A Symbolic Algorithm for the Case-Split Rule in String Constraint Solving", pages = "343--363", booktitle = "Proceedings of APLAS'20", journal = "Lecture Notes in Computer Science", number = 12470, year = 2020, location = "Heidelberg, DE", publisher = "Springer Verlag", ISSN = "0302-9743", doi = "10.1007/978-3-030-64437-6\_18", language = "english", url = "https://www.fit.vut.cz/research/publication/12347" }