String Theories involving Regular Membership Predicates: From Practice to Theory and Back
Murphy Berzish, Joel D. Day, Vijay Ganesh, Mitja Kulczynski, Florin, Manea, Federico Mora, Dirk Nowotka

TL;DR
This paper investigates the logical theories underlying string constraints with regular membership predicates, proving their decidability or undecidability, and develops more efficient algorithms for real-world string constraint solving.
Contribution
It identifies the logical theories in string constraints, proves their decidability or undecidability, and introduces efficient algorithms based on these insights.
Findings
Most common theories are PSPACE-complete.
Decidability results guide algorithm design.
Enhanced algorithms improve string constraint solving efficiency.
Abstract
Widespread use of string solvers in formal analysis of string-heavy programs has led to a growing demand for more efficient and reliable techniques which can be applied in this context, especially for real-world cases. Designing an algorithm for the (generally undecidable) satisfiability problem for systems of string constraints requires a thorough understanding of the structure of constraints present in the targeted cases. In this paper, we investigate benchmarks presented in the literature containing regular expression membership predicates, extract different first order logic theories, and prove their decidability, resp. undecidability. Notably, the most common theories in real-world benchmarks are PSPACE-complete and directly lead to the implementation of a more efficient algorithm to solving string constraints.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
