| Veröffentlichte Version Download ( PDF | 4MB) | Lizenz: Creative Commons Namensnennung 4.0 International |
A Constraint Solving Approach to Parikh Images of Regular Languages
Stjerna, Amanda und Rümmer, Philipp (2024) A Constraint Solving Approach to Parikh Images of Regular Languages. Proceedings of the ACM on Programming Languages 8 (OOPSLA), S. 1235-1263.Veröffentlichungsdatum dieses Volltextes: 09 Jan 2025 14:03
Artikel
DOI zum Zitieren dieses Dokuments: 10.5283/epub.74605
Zusammenfassung
A common problem in string constraint solvers is computing the Parikh image, a linear arithmetic formula that describes all possible combinations of character counts in strings of a given language. Automata-based string solvers frequently need to compute the Parikh image of products (or intersections) of finite-state automata, in particular when solving string constraints that also include the ...
A common problem in string constraint solvers is computing the Parikh image, a linear arithmetic formula that describes all possible combinations of character counts in strings of a given language. Automata-based string solvers frequently need to compute the Parikh image of products (or intersections) of finite-state automata, in particular when solving string constraints that also include the integer data-type due to operations like string length and indexing. In this context, the computation of Parikh images often turns out to be both prohibitively slow and memory-intensive. This paper contributes a new understanding of how the reasoning about Parikh images can be cast as a constraint solving problem, and questions about Parikh images be answered without explicitly computing the product automaton or the exact Parikh image. The paper shows how this formulation can be efficiently implemented as a calculus, PC*, embedded in an automated theorem prover supporting Presburger logic. The resulting standalone tool Catra is evaluate on constraints produced by the Ostrich+ string solver when solving standard string constraint benchmarks involving integer operations. The experiments show that PC* strictly outperforms the standard approach by Verma et al. to extract Parikh images from finite-state automata, as well as the over-approximating method recently described by Janků and Turoňová by a wide margin, and for realistic timeouts (under 60 s) also the nuXmv model checker. When added as the Parikh image backend of Ostrich+ to the Ostrich string constraint solver’s portfolio, it boosts its results on the quantifier-free strings with linear integer algebra track of SMT-COMP 2023 (QF_SLIA) enough to solve the most Unsat instances in that track of all competitors.
Alternative Links zum Volltext
Beteiligte Einrichtungen
Details
| Dokumentenart | Artikel | ||||
| Titel eines Journals oder einer Zeitschrift | Proceedings of the ACM on Programming Languages | ||||
| Verlag: | Association for Computing Machinery (ACM) | ||||
|---|---|---|---|---|---|
| Band: | 8 | ||||
| Nummer des Zeitschriftenheftes oder des Kapitels: | OOPSLA | ||||
| Seitenbereich: | S. 1235-1263 | ||||
| Datum | 29 April 2024 | ||||
| Institutionen | Informatik und Data Science > Allgemeine Informatik > Theoretische Informatik (Prof. Dr. Philipp Rümmer) | ||||
| Identifikationsnummer |
| ||||
| Stichwörter / Keywords | Parikh images, string solvers, model checking | ||||
| Dewey-Dezimal-Klassifikation | 000 Informatik, Informationswissenschaft, allgemeine Werke > 004 Informatik | ||||
| Status | Veröffentlicht | ||||
| Begutachtet | Ja, diese Version wurde begutachtet | ||||
| An der Universität Regensburg entstanden | Zum Teil | ||||
| URN der UB Regensburg | urn:nbn:de:bvb:355-epub-746058 | ||||
| Dokumenten-ID | 74605 |
Downloadstatistik
Downloadstatistik