A Formalization of the Yul Language and Some Verified Yul Code Transformations

Yul is an intermediate language used in the compilation of the Solidity programming language for Ethereum smart contracts.The compiler applies customizable sequences of transformations to Yul code.To help ensure the correctness of these transformations and their sequencing, we used the ACL2 theorem prover to develop a formalization of the syntax and semantics of Yul, proofs relating static and dynamic semantics, a formalization of some Yul code transformations, and correctness proofs for these transformations.

Authors

Institutions

Publication Details

Journal
Electronic Proceedings in Theoretical Computer Science
Published
2025-07-24
DOI
https://doi.org/10.4204/eptcs.423.8
Primary Topic
Linguistics and Cultural Studies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Formalization of the Yul Language and Some Verified Yul Code Transformations

Alessandro Coglio, Eric McCarthy
Electronic Proceedings in Theoretical Computer Science
Linguistics and Cultural Studies
article

A Formalization of the Yul Language and Some Verified Yul Code Transformations

Alessandro Coglio, Eric McCarthy
article en

Abstract

Yul is an intermediate language used in the compilation of the Solidity programming language for Ethereum smart contracts.The compiler applies customizable sequences of transformations to Yul code.To help ensure the correctness of these transformations and their sequencing, we used the ACL2 theorem prover to develop a formalization of the syntax and semantics of Yul, proofs relating static and dynamic semantics, a formalization of some Yul code transformations, and correctness proofs for these transformations.

Electronic Proceedings in Theoretical Computer ScienceVol. 423
Kestrel Institute (US)
Ethereum Foundation
Openalex Percentile: Top 76%
Linguistics and Cultural Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.