Skip to main navigation Skip to search Skip to main content

Securely Optimized (Ethereum) Smart Contracts Using Formal Methods

  • Elvira Albert
  • , Samir Genaim
  • , Pablo Gordillo
  • , Alejandro Hernández-Cerezo
  • , Enrique Martin Martin
  • , Albert Rubio

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publicationSoftware Engineering and Formal Methods - 23rd International Conference, SEFM 2025, Proceedings
EditorsDomenico Bianculli, Elena Gomez-Martinez
PublisherSpringer Science and Business Media Deutschland GmbH
Pages3-11
Number of pages9
ISBN (Print)9783032104434
DOIs
StatePublished - 1 Jan 2026
Externally publishedYes
Event23rd International Conference on Software Engineering and Formal Methods, SEFM 2025 - Toledo, Spain
Duration: 10 Nov 202514 Nov 2025

Publication series

NameLecture Notes in Computer Science
Volume16192 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference23rd International Conference on Software Engineering and Formal Methods, SEFM 2025
Country/TerritorySpain
CityToledo
Period10/11/2514/11/25

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Securely Optimized (Ethereum) Smart Contracts Using Formal Methods'. Together they form a unique fingerprint.

Cite this