Certainty in Formalising SMT-LIB for Strings in Isabelle

The prevalence of string solvers in formal program analysis has led to an increasing demand for more effective and dependable solving techniques. However, solving the satisfiability problem of string constraints, which is a generally undecidable problem, requires a deep understanding of the structure of the constraints. To address this challenge, the community has relied on SMT solvers to tackle the quantifier-free first-order logic fragment of string constraints, usually stated in SMT-LIB format. In 2020, the SMT-LIB Initiative issued the first official standard for string constraints. However, SMT-LIB states the semantics in a semi-formal manner, lacking a level of formality that is desirable for validating SMT solvers. In response, we formalise the SMT-LIB theory of strings using Isabelle, an interactive theorem prover known for its ability to formalise and verify mathematical and logical theorems. We demonstrate the usefulness of having a formally defined theory by deriving, to the best of our knowledge, the first automated verified model verification method for SMT-LIB string constraints and highlight potential future applications.

Authors

Institutions

Publication Details

Journal
International Journal of Foundations of Computer Science
Published
2025-03-29
DOI
https://doi.org/10.1142/s0129054125410035
Primary Topic
Advanced Data Storage Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Certainty in Formalising SMT-LIB for Strings in Isabelle

Mitja Kulczynski, Danny Bøgsted Poulsen, Anders Schlichtkrull, Dirk Nowotka et al.
International Journal of Foundations of Computer Science
Advanced Data Storage Technologies
article

Certainty in Formalising SMT-LIB for Strings in Isabelle

Mitja Kulczynski, Danny Bøgsted Poulsen, Anders Schlichtkrull, Dirk Nowotka, Kevin Lotz
article en

Abstract

The prevalence of string solvers in formal program analysis has led to an increasing demand for more effective and dependable solving techniques. However, solving the satisfiability problem of string constraints, which is a generally undecidable problem, requires a deep understanding of the structure of the constraints. To address this challenge, the community has relied on SMT solvers to tackle the quantifier-free first-order logic fragment of string constraints, usually stated in SMT-LIB format. In 2020, the SMT-LIB Initiative issued the first official standard for string constraints. However, SMT-LIB states the semantics in a semi-formal manner, lacking a level of formality that is desirable for validating SMT solvers. In response, we formalise the SMT-LIB theory of strings using Isabelle, an interactive theorem prover known for its ability to formalise and verify mathematical and logical theorems. We demonstrate the usefulness of having a formally defined theory by deriving, to the best of our knowledge, the first automated verified model verification method for SMT-LIB string constraints and highlight potential future applications.

International Journal of Foundations of Computer ScienceVol. 37(01)
Christian-Albrechts-Universität zu Kiel (DE), Aalborg University (DK)
Openalex Percentile: Top 95%
Advanced Data Storage Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.