Overapproximation of Non-Linear Integer Arithmetic for Smart Contract Verification
Abstract
The need to solve non-linear arithmetic constraints presents a major obstacle to the automatic verification of smart contracts. In this case study we focus on the two overapproximation techniques used by the industry verification tool Certora Prover: overapproximation of non-linear integer arithmetic using linear integer arithmetic and using non-linear real arithmetic. We compare the performance of contemporary SMT solvers on verification conditions produced by the Certora Prover using these two approximations against the natural non-linear integer arithmetic encoding. Our evaluation shows that the use of the overapproximation methods leads to solving a significant number of new problems.
Cite
@article{arxiv.2402.10174,
title = {Overapproximation of Non-Linear Integer Arithmetic for Smart Contract Verification},
author = {Petra Hozzová and Jaroslav Bendík and Alexander Nutz and Yoav Rodeh},
journal= {arXiv preprint arXiv:2402.10174},
year = {2024}
}
Comments
13 pages, 2 figures, presented at The International Conference on Logic for Programming, Artificial Intelligence and Reasoning (LPAR) 2023