Cargando…

Mind the Gap: Bit-vector Interpolation recast over Linear Integer Arithmetic

Much of an interpolation engine for bit-vector (BV) arithmetic can be constructed by observing that BV arithmetic can be modeled with linear integer arithmetic (LIA). Two BV formulae can thus be translated into two LIA formulae and then an interpolation engine for LIA used to derive an interpolant,...

Descripción completa

Detalles Bibliográficos
Autores principales: Okudono, Takamasa, King, Andy
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7439747/
http://dx.doi.org/10.1007/978-3-030-45190-5_5
_version_ 1783573043204849664
author Okudono, Takamasa
King, Andy
author_facet Okudono, Takamasa
King, Andy
author_sort Okudono, Takamasa
collection PubMed
description Much of an interpolation engine for bit-vector (BV) arithmetic can be constructed by observing that BV arithmetic can be modeled with linear integer arithmetic (LIA). Two BV formulae can thus be translated into two LIA formulae and then an interpolation engine for LIA used to derive an interpolant, albeit one expressed in LIA. The construction is completed by back-translating the LIA interpolant into a BV formula whose models coincide with those of the LIA interpolant. This paper develops a back-translation algorithm showing, for the first time, how back-translation can be universally applied, whatever the LIA interpolant. This avoids the need for deriving a BV interpolant by bit-blasting the BV formulae, as a backup process when back-translation fails. The new back-translation process relies on a novel geometric technique, called gapping, the correctness and practicality of which are demonstrated.
format Online
Article
Text
id pubmed-7439747
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-74397472020-08-21 Mind the Gap: Bit-vector Interpolation recast over Linear Integer Arithmetic Okudono, Takamasa King, Andy Tools and Algorithms for the Construction and Analysis of Systems Article Much of an interpolation engine for bit-vector (BV) arithmetic can be constructed by observing that BV arithmetic can be modeled with linear integer arithmetic (LIA). Two BV formulae can thus be translated into two LIA formulae and then an interpolation engine for LIA used to derive an interpolant, albeit one expressed in LIA. The construction is completed by back-translating the LIA interpolant into a BV formula whose models coincide with those of the LIA interpolant. This paper develops a back-translation algorithm showing, for the first time, how back-translation can be universally applied, whatever the LIA interpolant. This avoids the need for deriving a BV interpolant by bit-blasting the BV formulae, as a backup process when back-translation fails. The new back-translation process relies on a novel geometric technique, called gapping, the correctness and practicality of which are demonstrated. 2020-03-13 /pmc/articles/PMC7439747/ http://dx.doi.org/10.1007/978-3-030-45190-5_5 Text en © The Author(s) 2020 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
spellingShingle Article
Okudono, Takamasa
King, Andy
Mind the Gap: Bit-vector Interpolation recast over Linear Integer Arithmetic
title Mind the Gap: Bit-vector Interpolation recast over Linear Integer Arithmetic
title_full Mind the Gap: Bit-vector Interpolation recast over Linear Integer Arithmetic
title_fullStr Mind the Gap: Bit-vector Interpolation recast over Linear Integer Arithmetic
title_full_unstemmed Mind the Gap: Bit-vector Interpolation recast over Linear Integer Arithmetic
title_short Mind the Gap: Bit-vector Interpolation recast over Linear Integer Arithmetic
title_sort mind the gap: bit-vector interpolation recast over linear integer arithmetic
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7439747/
http://dx.doi.org/10.1007/978-3-030-45190-5_5
work_keys_str_mv AT okudonotakamasa mindthegapbitvectorinterpolationrecastoverlinearintegerarithmetic
AT kingandy mindthegapbitvectorinterpolationrecastoverlinearintegerarithmetic