Ethereum Foundation Launches better.codes to Advance SNARK Security via Formal Verification

Topics: blockchain · Difficulty: avansat

Attila Kiraly — Strateg AI & Educator · · 3 min read

Reprezentare abstractă a unei dovezi matematice complexe integrate într-o structură blockchain securizată.

Originally published: August 20, 2026

The Ethereum Foundation has launched better.codes, a collaborative research challenge using the Lean language to enhance the cryptographic security of SNARK systems. The initiative invites researchers and AI agents to optimize the soundness bounds of hash-based protocols.

What happened

The Ethereum Foundation's Formal Verification team, in collaboration with Yukon and zkSecurity, has officially launched better.codes, an open autoresearch challenge platform. The core objective of this project is to enhance the mathematical security of hash-based SNARK (Succinct Non-interactive Arguments of Knowledge) systems. The project formalizes a complex research problem from the "Proximity Prize" in the Lean programming language and places its soundness bounds on a public leaderboard, inviting researchers and AI agents to push the boundaries of cryptographic safety.

Technology context

SNARK systems are vital for Ethereum's scalability and privacy, allowing for the verification of transactions without revealing sensitive underlying data. However, their security relies on "soundness bounds"—the mathematical probability that a malicious actor could generate a fake proof. Traditionally, these bounds are proven manually on paper, which is prone to human error. Formal verification uses specialized software (like Lean) to create machine-checked proofs, ensuring that the mathematical logic behind the protocols is 10 to 100% accurate and immune to reasoning flaws.

Why it matters

This initiative marks a shift from isolated theoretical research to "agentic collaboration," where both humans and Artificial Intelligence models can contribute to securing Web3 infrastructure. By establishing a public leaderboard based on machine-checked proofs, the Ethereum Foundation is setting a gold standard for code trust. If SNARK soundness bounds are optimized and formally verified, Layer 2 protocols and privacy systems become significantly more robust, reducing the risk of catastrophic exploits that could lead to the loss of user funds.

Key terms explained

Impact

In the short term, better.codes will accelerate the discovery of new optimization methods for proximity protocols (such as FRI, used in STARKs). In the medium term, the success of this "open autoresearch" model could lead to the integration of AI agents into the smart contract auditing process, transforming security from a reactive process (bug hunting) into a proactive, mathematically guaranteed one. This will likely increase institutional investor confidence in the Ethereum ecosystem.

What's next

We can expect more blockchain protocols to adopt formal verification as a mandatory standard before deployment. Furthermore, collaboration between human researchers and AI agents (Large Language Models specialized in mathematics) will become the norm for solving complex cryptographic problems. The "safety leaderboard" inaugurated by better.codes could serve as a blueprint for other critical fields, such as aviation software or autonomous medical systems.


Educational analysis generated by AI and editorially reviewed.

Original source: blog.ethereum.org

Want to learn the fundamentals? What is Ethereum?

Frequently Asked Questions

What exactly is better.codes?

It is a competition platform launched by the Ethereum Foundation to solve complex mathematical problems related to SNARK security using formal verification.

Why is the Lean language being used?

Lean allows for the writing of mathematical proofs that a computer can rigorously verify, eliminating the possibility of human errors found in classical proofs.

Who can participate in this challenge?

The challenge is open to everyone: cryptography researchers, Lean programmers, and even developers of AI agents capable of generating mathematical proofs.

How does this project help the average Ethereum user?

By improving SNARK security, Layer 2 networks become safer, meaning user funds are better protected against mathematical attacks.

What does 'agentic collaboration' mean in this context?

It refers to using AI agents to assist humans in finding and verifying complex mathematical proofs, accelerating the research process.

Glossary Terms

Continue Learning

Explore more insights about technology, automation, and Web3 in the EduWeb Academy.

Explore Academy