TY - GEN
T1 - Securely Optimized (Ethereum) Smart Contracts Using Formal Methods
AU - Albert, Elvira
AU - Genaim, Samir
AU - Gordillo, Pablo
AU - Hernández-Cerezo, Alejandro
AU - Martin Martin, Enrique
AU - Rubio, Albert
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.
PY - 2026/1/1
Y1 - 2026/1/1
N2 - In this invited talk, we will overview the application of various types of formal methods to optimize smart contracts and prove the correctness of the optimization results. Smart contracts are computer programs stored on a blockchain that are intended to automatically execute, control or document events and actions according to the terms of a contract or an agreement. The blockchain is one of the contexts in which the use of formal methods to enhance its security and efficiency is critical. On one hand, software bugs on smart contracts have already caused several high profile attacks and there is hence huge interest and investment in guaranteeing their correctness. Efficiency is of similar relevance as well, as deploying and executing smart contracts has a cost (in the corresponding cryptocurrency). Hence, optimization tools for smart contracts are emerging since the last few years. The talk will present our work on optimizing the efficiency of Ethereum smart contracts and ensuring the correctness of the optimization results. The basis of our work is the use of formal methods, including SAT and SMT solvers, proof-assistants, rule-based transformations, static analyses and greedy algorithms. Finally, we will also discuss the use of machine learning technology to boost the efficiency of our formal methods-based techniques.
AB - In this invited talk, we will overview the application of various types of formal methods to optimize smart contracts and prove the correctness of the optimization results. Smart contracts are computer programs stored on a blockchain that are intended to automatically execute, control or document events and actions according to the terms of a contract or an agreement. The blockchain is one of the contexts in which the use of formal methods to enhance its security and efficiency is critical. On one hand, software bugs on smart contracts have already caused several high profile attacks and there is hence huge interest and investment in guaranteeing their correctness. Efficiency is of similar relevance as well, as deploying and executing smart contracts has a cost (in the corresponding cryptocurrency). Hence, optimization tools for smart contracts are emerging since the last few years. The talk will present our work on optimizing the efficiency of Ethereum smart contracts and ensuring the correctness of the optimization results. The basis of our work is the use of formal methods, including SAT and SMT solvers, proof-assistants, rule-based transformations, static analyses and greedy algorithms. Finally, we will also discuss the use of machine learning technology to boost the efficiency of our formal methods-based techniques.
UR - https://www.scopus.com/pages/publications/105022917825
U2 - 10.1007/978-3-032-10444-1_1
DO - 10.1007/978-3-032-10444-1_1
M3 - Conference contribution
AN - SCOPUS:105022917825
SN - 9783032104434
T3 - Lecture Notes in Computer Science
SP - 3
EP - 11
BT - Software Engineering and Formal Methods - 23rd International Conference, SEFM 2025, Proceedings
A2 - Bianculli, Domenico
A2 - Gomez-Martinez, Elena
PB - Springer Science and Business Media Deutschland GmbH
T2 - 23rd International Conference on Software Engineering and Formal Methods, SEFM 2025
Y2 - 10 November 2025 through 14 November 2025
ER -