A Decision Procedure for String to Code Point Conversion
Abstract
In text encoding standards such as Unicode, text strings are sequences of code points, each of which can be represented as a natural number. We present a decision procedure for a concatenation-free theory of strings that includes length and a conversion function from strings to integer code points. Furthermore, we show how many common string operations, such as conversions between lowercase and uppercase, can be naturally encoded using this conversion function. We describe our implementation of this approach in the SMT solver CVC4, which contains a high-performance string subsolver, and show that the use of a native procedure for code points significantly improves its performance with respect to other state-of-the-art string solvers.
BibTeX
@inproceedings{reynolds2020decision,
author = {Andrew Reynolds and Andres Nötzli and Clark W. Barrett and Cesare Tinelli},
title = {{A Decision Procedure for String to Code Point Conversion}},
booktitle = {IJCAR},
year = {2020},
doi = {10.1007/978-3-030-51074-9\_13},
}Ask Althea to put this paper to the test.
Loading related content...