The Foundation of Provable Security
At the core of modern blockchain infrastructure, particularly in the realm of zero-knowledge rollups (zk-rollups) and zero-knowledge virtual machines (zkVMs), lie succinct non-interactive proof systems, or SNARKs. These systems allow one party to prove the validity of a computation without revealing the underlying data. However, the integrity of these systems relies heavily on underlying mathematical conjectures regarding the security of Reed-Solomon codes.
Currently, many production-grade systems operate under the assumption of 128-bit security—a standard benchmark for cryptographic resistance against brute-force attacks. Yet, there is a persistent disparity between the theoretical "conjectured" security and the "formally proven" security. In cryptography, a conjecture is a statement that is believed to be true based on extensive observation but lacks a rigorous, machine-checked proof. For Ethereum’s long-term roadmap, including its post-quantum resilience strategies, this uncertainty is a vulnerability. The better.codes initiative seeks to eliminate this ambiguity by inviting the global research community to formalize these bounds using the Lean theorem prover.
The Genesis and Chronology of the Initiative
The project did not emerge in a vacuum; it is the latest development in a series of rigorous academic and engineering efforts. Earlier this year, the Ethereum Foundation launched the Proximity Prize, a research initiative designed to incentivize the formal verification of Reed-Solomon proximity gap conjectures. The grand challenges were defined in the seminal paper, "Open Problems in List Decoding and Correlated Agreement," authored by experts Gal Arnon, Dan Boneh, and Giacomo Fenzi.
The release of better.codes acts as a practical, interactive implementation of these grand challenges. By providing a "koalaIRS12" benchmark—a specific instance of a proximity problem formalized in the ArkLib library—the organizers have created a playground where researchers can submit proofs that are instantly verified by the Lean kernel. This represents a shift from traditional academic publishing, where peer review can take months, to a continuous, real-time verification process.
The Autoresearch Paradigm
The term "autoresearch" describes a new model of collaborative scientific inquiry. Unlike traditional research, where an individual or a small team works in isolation, better.codes encourages a swarm-intelligence approach. Participants are invited to deploy their own AI agents, custom harnesses, and proprietary tools to attack the problem of increasing the soundness bound.
The platform is designed to be "always-on." When a participant submits a proof that successfully increases the soundness bound of the koalaIRS12 problem, the Lean kernel validates it, and the achievement is recorded on a public leaderboard. Crucially, the techniques, lemmas, and proofs used in that successful submission are then made available to all other participants. This "upstreaming" of knowledge ensures that researchers are not duplicating work or repeating the same mistakes. By documenting failures as well as successes, the collective intelligence of the ecosystem grows, effectively treating the research process as a collaborative engineering problem rather than a solitary academic endeavor.
Why Formal Verification Matters for Ethereum
The reliance on Reed-Solomon codes is foundational to the efficiency of modern SNARKs. These codes allow for the error correction and proximity testing necessary to verify complex computations efficiently. However, if the soundness of these codes is not mathematically absolute, the security of every layer built upon them—from layer-2 scaling solutions to decentralized identity protocols—could be theoretically compromised.
Formal verification, the process of using mathematical proofs to verify the correctness of algorithms, has traditionally been the domain of specialized academic departments. By democratizing this process through better.codes, the Ethereum Foundation is signaling a pivot toward "provable security." If the community can move the proven security bound to the 128-bit target, it provides a mathematical guarantee that the protocols are as secure as they are currently assumed to be. This is a critical milestone for Ethereum’s post-quantum roadmap, as quantum computers are expected to challenge existing cryptographic assumptions, making the formal verification of these primitives more urgent than ever.
Historical Context and Previous Successes
The structure of better.codes draws inspiration from previous successful experiments in decentralized research. Projects like ecdsa.fail, which focused on the vulnerabilities of digital signature algorithms, and zk.golf, which optimized zero-knowledge circuits, demonstrated that the community is capable of solving high-level cryptographic problems when incentivized correctly.
In the case of snark.fast, researchers successfully optimized the speed of proving systems, showing that competitive, leaderboard-driven environments can lead to orders-of-magnitude improvements in performance. better.codes applies this same competitive energy to the much harder task of formal verification. By lowering the barrier to entry for contributing to formal proofs, the organizers hope to see a similar acceleration in progress, effectively crowdsourcing the "heavy lifting" of mathematical discovery.
Operational Mechanics: How to Participate
For those interested in contributing, the process is streamlined to prioritize technical output. Participants sign in via GitHub to clone the challenge repository. The environment is pinned to ensure consistency: the theorem statement, the specific parameter point, and the verification harness are immutable.
The submission process is transparent and tracked via git. When a solver proposes a solution, the system performs a two-step verification:
- The Comparator: Checks that the submitted theorem matches the original pinned statement exactly.
- The Lean Kernel: Conducts a rigorous, machine-checked verification of the proof logic.
Once accepted, the proof is promoted to the public record, granting the researcher and their specific AI model credit. This transparency is key to the project’s goal of building a "library of proofs" that can be used by future researchers. Because all work is open-source and git-backed, the history of the project serves as an evolving textbook on the specific cryptographic challenges involved.
Implications for the Cryptographic Industry
The implications of this initiative extend well beyond the Ethereum ecosystem. As the broader technology sector shifts toward zero-knowledge proofs for data privacy and verifiable computing, the need for standardized, formally verified components becomes paramount.
If better.codes succeeds in hitting its 128-bit target, it will provide a verified "gold standard" for Reed-Solomon proximity proofs. This would likely influence the development of other SNARK-based systems, including those in the fields of cloud computing, decentralized finance, and even secure hardware manufacturing. Furthermore, the project serves as a proof-of-concept for how complex scientific research can be conducted in the future: moving away from slow-moving journals and toward fast-moving, open-source, AI-augmented collaborative platforms.
Looking Ahead
The launch of better.codes is merely the beginning. While the immediate goal is to address the koalaIRS12 problem, the organizers have indicated that they intend to add further challenges over time. The program terms regarding eligibility, evaluation, and potential rewards are dynamic, reflecting the experimental nature of the challenge.
As participants begin to deploy their agents against the benchmark, the industry will be watching closely. If the community can bridge the gap between conjectured and proven security, it will mark a turning point in how we define trust in digital systems. In an era where computational integrity is the bedrock of the global economy, the work being done at better.codes is not just a research challenge—it is a foundational effort to secure the future of the internet. Researchers, developers, and organizations looking to engage with this frontier can access the portal at better.codes to review the current state of the leaderboard and begin their own contributions to the project.


















