Toward an automatic formal verification of Cairo v0 programs
Conference paperFormaliSE 2026Extended abstract
Toward an automatic formal verification of Cairo v0 programs
Automating selected checks for Cairo v0 through a formal representation in Boogie.
The research, explained.
A deductive verifier translates supported Cairo v0 programs into Boogie, where selected properties can be checked automatically.
The paper combines a transpiler with a specification layer for user-defined properties. Its examples cover arithmetic overflow, ERC-20 interface conformance and account-activation conditions.
From Cairo v0 to proof obligations
Formal representation
A subset of Cairo v0 is translated into Boogie, with the relevant language semantics formalised for reasoning.
Property specification
Preconditions and postconditions express the requirements to check, including properties that are not inferred automatically.
Automatic checking
Boogie’s type system supports structural checks; its deductive engine uses SMT solvers to check semantic proof obligations.
Scope & context.
Reading the results in context
The reported prototype covers approximately 60% of Cairo v0. The ERC-20 example checks interface signatures; this alone does not establish full behavioural compliance. Conclusions depend on the selected properties, model and assumptions.
Explore the work.
Cite this research.
Nicolas Nalpon, Souheib Baarir, and Hugo De Sa Pereira Pinto. 2026. Toward an automatic formal verification of Cairo v0 programs. In Proceedings of the IEEE/ACM 14th International Conference on Formal Methods in Software Engineering (FormaliSE ’26), 25–29. ACM. https://doi.org/10.1145/3793656.3793701
BibTeX
@inproceedings{NalponBP26,
author = {Nicolas Nalpon and Souheib Baarir and
Hugo De Sa Pereira Pinto},
title = {Toward an automatic formal verification of Cairo v0 programs},
booktitle = {Proceedings of the IEEE/ACM 14th International Conference
on Formal Methods in Software Engineering},
year = {2026},
pages = {25--29},
publisher = {ACM},
doi = {10.1145/3793656.3793701}
}Editorial overview by Dowsers, based on the cited paper. The publisher’s version remains the scientific reference.