---
title: "Discussion on \"First steps with Certora Formal Verification: Catching a Real Bug with a Universal 5-Line Rule\" | Hashnode"
description: "Discussion on \"First steps with Certora Formal Verification: Catching a Real Bug with a Universal 5-Line Rule\". Detect Solidity storage bugs with Certora verification. Follow this guide to set up, run the 5-line rule, and catch a memory-vs-storage flaw."
url: "https://hashnode.com/posts/first-steps-with-certora-fv-catching-a-real-bug/67b6dc5e588751fea216ebb2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [First steps with Certora Formal Verification: Catching a Real Bug with a Universal 5-Line Rule](https://alexzoid.com/first-steps-with-certora-fv-catching-a-real-bug?utm_source=hashnode&utm_medium=feed)

Detect Solidity storage bugs with Certora verification. Follow this guide to set up, run the 5-line rule, and catch a memory-vs-storage flaw.

Feb 20, 2025 · 5 min read · alexzoid.com  
Read the article

-   [#certora](https://hashnode.com/tag/certora)
-   [#audit](https://hashnode.com/tag/audit)
-   [#solidity](https://hashnode.com/tag/solidity)
-   [#smart-contracts](https://hashnode.com/tag/smart-contracts)
-   [#formal-verification](https://hashnode.com/tag/formal-verification)
-   [#ethereum](https://hashnode.com/tag/ethereum)
-   [#defi](https://hashnode.com/tag/defi)
-   [#bugs-and-errors](https://hashnode.com/tag/bugs-and-errors)
-   [#security](https://hashnode.com/tag/security)

## Written by

[Alex Zoid](https://hashnode.com/@alexzoid)

@alexzoid

  
[View profile](https://hashnode.com/@alexzoid)

Providing Certora Formal Verification

## Responses 1

Markdown supported · ⌘↵ to post

[Anthony Tsang](https://hashnode.com/@anthonytsang)

[Feb 20, 2025](https://hashnode.com/posts/first-steps-with-certora-fv-catching-a-real-bug/67b6dc5e588751fea216ebb2/comment/67b6f642566ad36fdd101d07)

Hello Alex! Thank you so much for the introductory blog for FV. I am studying your GitHub repo - uniswapV4 and euler FV. They show the importance of identifying Valid States of the project is fundamental for FV.

Would you mind making a blog on the thought process of identifying Valid States? Do you have a SOP for it?

By the way, your code style is very clean and concise. It is very inspiring. I wish you would keep up the good work!

Thank you so much in advance!

[Alex Zoid](https://hashnode.com/@alexzoid)

[Feb 20, 2025](https://hashnode.com/posts/first-steps-with-certora-fv-catching-a-real-bug/67b6dc5e588751fea216ebb2/comment/67b6f642566ad36fdd101d07#reply-67b754fa8b780937e739a441)

Hey, thank you! I've added a Valid State tutorial to my to-do list.

[Anthony Tsang](https://hashnode.com/@anthonytsang)

[Feb 20, 2025](https://hashnode.com/posts/first-steps-with-certora-fv-catching-a-real-bug/67b6dc5e588751fea216ebb2/comment/67b6f642566ad36fdd101d07#reply-67b767736abfa2e77bc3f8d7)

@alexzoid Thank you so much for the reply🙌🙌 I am looking forward to your great work🫶🏻🫶🏻
