IOHK-Funded UIUC Project Produces First Complete Formal Semantics of Ethereum Virtual Machine

| Updated
by Andy Watson · 4 min read
IOHK-Funded UIUC Project Produces First Complete Formal Semantics of Ethereum Virtual Machine

Cornell University, UC Berkeley, and Ethereum Foundation award research first place at IC3-Ethereum Boot Camp.

IOHK, the leading blockchain research and development company, has today announced that its research project with the University of Illinois at Urbana-Champaign (UIUC) has modelled the world’s first complete fully-executable formal semantics of the Ethereum Virtual Machine (EVM). The research produced an innovative framework, called KEVM, for formal execution, analysis, and verification of EVM smart contracts.

The Ethereum Foundation and IC3, an initiative of faculty members at Cornell University, Cornell Tech, UC Berkeley, the University of Illinois at Urbana-Champaign, and the Technion, selected KEVM as the winner of its immersive, week-long blockchain development event called the “IC3-Ethereum Crypto Boot Camp.” Led by Professor Grigore Rosu and his PhD student Everett Hildenbrandt, the IOHK-funded KEVM research project competed against nine other world-leading teams to emerge the winner.

Prof. Grigore Rosu of the UIUC’s Siebel Center for Computer Science and CEO of Runtime Verification said: “The pressing need to address repeated security vulnerabilities and high-profile failures in Ethereum smart contracts hasn’t been adequately addressed by existing formal verification and program analysis tools. No fully-formal, rigorous, comprehensive, and executable semantics of EVM existed until now, leaving a lack of rigor on which to base such tools.

“I am delighted to announce KEVM, the first complete and fully executable formal semantics of the Ethereum Virtual Machine. KEVM, which allows us to formally verify properties of EVM-based smart contracts in a correct-by-construction and cost-effective manner, is significant because Ethereum users need the guarantees of formal verification to safeguard against financial losses due to software bugs. This work serves as a foundation for the development of new smart contract analysis tools; more importantly, it gives us invaluable insight on how to design better programming languages for smart contracts,” he added.

KEVM not only passes the official 40,683-test stress test suite for EVM implementations, but also reveals ambiguities and potential sources of error in the existing on-paper formalization of EVM semantics.

Prof. Rosu said: “KEVM has demonstrated that our unique approach based on K formal executable semantics is feasible and not computationally restrictive. We hope our work serves as a strong basis for the development of a wide range of useful, formally-derived tools for Ethereum, like model checkers, certified compilers, and program equivalence checkers.”

Formal verification is an integral aspect of IOHK’s approach to developing cryptocurrencies, as the company recognizes that only mathematical proofs can guarantee correctness.

IOHK selected to invest in the research and development of a formal semantics of the EVM based on the K framework due to K’s language-independent nature, wide potential application, and its success in academia, where K has been used to formalize several real-world languages, like JavaScript, Java, C, Python, and PHP. Furthermore, several language-independent analysis tools already exist for K. Notably, the K framework supplies a semantic debugger, symbolic execution engine, and verification infrastructure for each developed language. Beyond academia, this work has been successfully commercialized at Runtime Verification, Inc. where tools like RV-Match, an automatic C analyzer which includes checks for undefined behavior, are developed as applications of the K semantics of C.

Development of KEVM continues to be open-source, in line with IOHK’s mission to improve and mature the blockchain industry as a whole. IOHK recognizes the importance of open development to the security of the Ethereum community at large, and is committed to ensuring this work is available to everyone for use and audit.

IOHK CEO Charles Hoskinson said: “This research has given us a great degree of insight into what one should do to redesign the EVM to make it more secure, faster, and more efficient. It will now be easier to build tooling for the EVM, such as verified compilers. This white paper is the result of our first wave of research into this area. Based on this research, IOHK will begin building prototypes and our hope is to have an EVM 2.0 ready next year, as part of Cardano, a product we are currently building.”

Notable attendees of the IC3-Ethereum Crypto Boot Camp where the KEVM research was awarded first prize include Ethereum Co-Founder and Chief Scientist Vitalik Buterin, Ethereum Foundation Executive Director Ming Chan, and IC3 Executive Director Jim Ballingall.

About IOHK:

Founded in 2015 by Charles Hoskinson and Jeremy Wood, IOHK is a technology company committed to using peer-to-peer innovations to provide financial services to the three billion people who don’t have them.

IOHK is an engineering company that builds cryptocurrencies and blockchains for academic institutions, government entities and corporations. It is also a research firm with dense academic connections in Europe, America and Asia with many employees holding PhDs in Computer Science, Math or Physics. IOHK focuses on practical, peer reviewed research to create live protocols, and the technological underpinnings to next-generation cryptocurrencies.

Disclaimer: IOHK is the source of this content. Virtual currency is not legal tender, is not backed by the government, and accounts and value balances are not subject to consumer protections. This press release is for informational purposes only. The information does not constitute investment advice or an offer to invest.

Altcoin News, Cryptocurrency News, News, Press Release
Related Articles