h5i - Build and formally verify web apps with Rust and Lean 4
by•
h5i is a Rust web framework built on Axum that brings formal verification with Lean 4 into everyday web development, alongside integrated red-teaming and CI/CD tools. It's designed for Rust developers and teams building AI-generated or security-critical applications. As AI makes coding faster, ensuring correctness becomes increasingly important. h5i helps developers prove critical properties and discover vulnerabilities that traditional testing alone might miss.

Replies
I built h5i because AI is making software development faster than ever, but ensuring that the generated code is correct and secure remains a major challenge. Unit tests and security testing can uncover bugs, but they can't guarantee that critical properties always hold.
As a security researcher, I've discovered many vulnerabilities in real-world software, and I've become convinced that formal verification needs to be much more accessible to everyday developers.
That's why I started building h5i, an open-source Rust web framework that makes formal verification with Lean 4 part of the development workflow.
I'd especially love feedback on:
How intuitive is the Rust-to-Lean 4 verification workflow?
What are the biggest barriers to adopting formal verification in your projects?
What would make you consider using h5i for a real-world application?
I'd love to hear from Rust developers, security engineers, and anyone building software with AI coding agents!