Close Menu

    Subscribe to Updates

    What's Hot

    Dow Jones lower by 1.79%,markets rattled as Israel-Iran conflict escalates

    June 13, 2025

    This Dogecoin Rival Could Go Higher Amid Increased Whale Activity, Says Analytics Platform Santiment

    June 13, 2025

    Earn daily returns in XRP, ETH, and BTC

    June 13, 2025
    Facebook X (Twitter) Instagram
    laicryptolaicrypto
    Demo
    • Ethereum
    • Crypto
    • Altcoins
    • Blockchain
    • Bitcoin
    • Lithosphere News Releases
    laicryptolaicrypto
    Home Dev Update: Formal Methods | Ethereum Foundation Blog
    Ethereum

    Dev Update: Formal Methods | Ethereum Foundation Blog

    Michael JohnsonBy Michael JohnsonDecember 20, 2024No Comments3 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email


    I’m joining Ethereum as a formal verification engineer. My reasoning: formal verification makes sense as a profession only in a rare situation where

    • the verification target follows short, simple rules (EVM);
    • the target carries lots of value (Eth and other tokens);
    • the target is tricky enough to get right (any nontrivial program);
    • and the community is aware that it’s important to get it right (maybe).

    My last job as a formal verification engineer prepared me for this challenge. Besides, around Ethereum, I’ve been playing with two projects: an online service called Dr. Y’s Ethereum Contract Analyzer and a github repository containing Coq proofs. These projects are at the opposite extremes of a spectrum between an automatic analyzer and a manual proof development.

    Considering the collective impact to the whole ecosystem, I’m attracted to an automatic analyzer integrated in a compiler. Many people would run it and some would notice its warnings. On the other hand, since any surprising behavior can be considered a bug, any surprise should be removed, but computers cannot sense the human expectations. For telling human expectations to the machines, some manual efforts are necessary. The contract developers need to specify the contract in a machine-readable language and give hints to the machines why the implementation matches the specification (in most cases the machine wants more and more hints until the human realizes a bug, frequently in the specification). This is labor intensive, but such manual efforts are justifiable when a contract is designed to carry multi-million dollars.

    Having a person dedicated to formal methods not only gives us the ability to move faster in this important but also fruitful area, it hopefully also allows us to communicate better with academia in order to connect the various singular projects that have appeared in the past weeks.

    Here are some projects we would like to tackle in the future, most of them will probably be done in cooperation with other teams.

    Solidity:

    • extending the Solidity to Why3 translation to the full Solidity language (maybe switch to F*)
    • formal specification of Solidity
    • syntax and semantics of modal logics for reasoning about multiple parties

    Community:

    • creating a map of formal verification projects on Ethereum
    • collecting buggy Solidity codes, for benchmarking automatic analyzers
    • analyzing deployed contracts on the blockchain for vulnerabilities (related: OYENTE tool)

    Tools:

    • provide a human- and machine-readable formalization of the EVM, which can also be executed
    • developing formally verified libraries in EVM bytecode or Solidity
    • developing a formally verified compiler for a tiny language
    • explore the potential for interaction-oriented languages (“if X happens then do Y; you can only do Z if you did A”)



    Source link

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp Reddit Tumblr Email
    Michael Johnson

    Related Posts

    Now accepting interns – Join the Ethereum Season of Internships

    June 12, 2025

    Ethereum price prediction as ETH reclaims $2,800 level

    June 11, 2025

    Tickets are live for the Ethereum World’s Fair! And we’re launching the Supporter Program

    June 10, 2025
    Leave A Reply Cancel Reply

    Demo
    Don't Miss
    Crypto

    Dow Jones lower by 1.79%,markets rattled as Israel-Iran conflict escalates

    By John SmithJune 13, 20250

    U.S. stocks fell sharply Friday as escalating military conflict between Israel and Iran sent oil…

    This Dogecoin Rival Could Go Higher Amid Increased Whale Activity, Says Analytics Platform Santiment

    June 13, 2025

    Earn daily returns in XRP, ETH, and BTC

    June 13, 2025

    AVAX price down 9.75% on geopolitical tensions, but technicals saw it coming

    June 13, 2025

    LAI Crypto is a user-friendly platform that empowers individuals to navigate the world of cryptocurrency trading and investment with ease and confidence.

    Our Posts
    • Altcoins (571)
    • Bitcoin (27)
    • Blockchain (137)
    • Crypto (8,666)
    • Ethereum (623)
    • Lithosphere News Releases (144)

    Subscribe to Updates

    • Twitter
    • Instagram
    • YouTube
    • LinkedIn

    Type above and press Enter to search. Press Esc to cancel.