proofs.rs

Why proofs.rs

This chapter explains the motivation, position, and policy behind proofs.rs. To start using the service, see Start here.

Motivation

Recent advances in AI have substantially reduced the cost of producing formal specifications and proofs, making formal verification economically plausible for a wider class of software. At the same time, formal verification is becoming increasingly important from a cybersecurity perspective, as it provides strong guarantees about the behavior of software implementations. Despite these developments, several obstacles still prevent formal verification from being applied broadly and maintained as part of routine software engineering practice.

Separation of implementers, verifiers, and users

Most existing verification tools manage formal specifications and proofs by embedding annotations directly in the source code being verified. In production software, however, introducing such annotations is often difficult to justify: organizations must then bear the continuing cost of updating specifications and proofs as the implementation evolves, while also maintaining dependencies on the verification tools themselves.

In practice, implementation and verification need not share the same maintenance lifecycle. The fact that a particular version was successfully verified under recorded assumptions remains relevant even after the implementation evolves. If a later version needs to be verified, someone with the necessary expertise can verify that version when the need arises. What matters, then, is that past verification results be preserved and remain easily accessible.

proofs.rs does not require verification results to be incorporated into the upstream project. A third party, who need not be an author of the implementation, can add specifications and proofs in a separate verification fork and publish the resulting claims against the relevant crate, version, and APIs.

This separation allows implementers, verifiers, and users to be different parties. Implementers need not assume responsibility for maintaining proofs, verifiers can publish results independently of upstream development, and users can consult existing results for the versions they depend on. In this way, the cost of formal verification can be distributed across the community while its benefits remain broadly available.

Specification, trust boundaries, and review

AI has greatly reduced the cost of constructing formal proofs, but formal specifications remain a source of risk. A verification tool can establish that an implementation satisfies a given specification, subject to the soundness of the verification stack, but it cannot establish that the specification adequately captures the user’s requirements. For example, a sorting specification that requires only the output to be ordered does not rule out an implementation that always returns an empty sequence. Likewise, an overly strong precondition can exclude precisely the inputs that matter in practice. The risk of an inadequate specification exists whether it is written by a human or generated by AI, and becomes more important as automation increases the scale at which formal verification is applied.

Practical formal verification usually depends on some degree of abstraction or trusted assumptions. For example, results commonly assume the correctness of the CPU, compiler, or operating system, and may cover only the build configurations that matter in practice. Verification tools may also omit certain behaviors from their models or use approximations to make analysis tractable. Complete verification of the entire software and hardware stack remains impractical, even with AI, and is rarely necessary. What matters is that the trust boundary and the scope of the verification are stated explicitly and remain easy to inspect.

Whether a specification is adequate and whether a given trust boundary is acceptable cannot be settled by the formal proof alone. Testing and AI-assisted analysis can help assess both, but ultimately qualified experts must judge whether the result is sufficient for its intended use. Users must therefore also decide whose judgment they are prepared to trust.

proofs.rs makes the evidence and discussion needed to assess verification results publicly available. Review may concern not only the proof itself, but also the specification, assumptions, verification scope, tool limitations, and reproducibility. Publication is not a certification of correctness; it is a means of enabling independent scrutiny. Readers can inspect what issues were raised, how authors responded, what remains unresolved, and the previous contributions of those taking part in the discussion.

Position and policy

proofs.rs does not make adoption decisions about software dependencies; rather, it provides verification results that can inform those decisions. In this respect, it is complementary to systems such as cargo vet for sharing audit results. A Report can provide strong evidence in an audit, but it does not determine whether a dependency is acceptable for a particular user or application.

Our aim is to provide an arXiv-like public archive for formal verification results: a place where verification work can be published as an independent contribution, cited by others, reproduced, and subjected to public review. This makes both the scope of a result and its limitations easier to inspect.

proofs.rs is free to use and is not currently monetized. We do not perform behavioral analytics or use advertising trackers.

Reports, Claims, comments, and other contributions are published under CC BY 4.0 where the contributor holds the necessary rights. Verified code and external evidence remain subject to their respective licenses. The aim is to make verification results and the discussion around them reusable public resources, rather than information controlled solely by individual contributors or by the service itself.

Anyone can publish verification results or participate in review. The cargo-proofs CLI source code and issue tracker are public. See Get help and give feedback for where to raise questions and issues.