@inproceedings{014ce16a499a49cfa2a1f640b971d97e,
title = "Formally Verified EVM Block-Optimizations",
abstract = "The efficiency and the security of smart contracts are their two fundamental properties, but might come at odds: the use of optimizers to enhance efficiency may introduce bugs and compromise security. Our focus is on EVM (Ethereum Virtual Machine) block-optimizations, which enhance the efficiency of jump-free blocks of opcodes by eliminating, reordering and even changing the original opcodes. We reconcile efficiency and security by providing the verification technology to formally prove the correctness of EVM block-optimizations on smart contracts using the Coq proof assistant. This amounts to the challenging problem of proving semantic equivalence of two blocks of EVM instructions, which is realized by means of three novel Coq components: a symbolic execution engine which can execute an EVM block and produce a symbolic state; a number of simplification lemmas which transform a symbolic state into an equivalent one; and a checker of symbolic states to compare the symbolic states produced for the two EVM blocks under comparison. Artifact: https://doi.org/10.5281/zenodo.7863483",
keywords = "Coq, Ethereum Virtual Machine, Optimization, Smart Contracts, Theorem Proving",
author = "Elvira Albert and Samir Genaim and Daniel Kirchner and Enrique Martin-Martin",
note = "Publisher Copyright: {\textcopyright} 2023, The Author(s).; 35th International Conference on Computer Aided Verification, CAV 2023 ; Conference date: 17-07-2023 Through 22-07-2023",
year = "2023",
month = jan,
day = "1",
doi = "10.1007/978-3-031-37709-9\_9",
language = "English",
isbn = "9783031377082",
series = "Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)",
publisher = "Springer Science and Business Media Deutschland GmbH",
pages = "176--189",
editor = "Constantin Enea and Akash Lal",
booktitle = "Computer Aided Verification - 35th International Conference, CAV 2023, Proceedings",
address = "Germany",
}