Lightweight static formal verifier & Z3/Spacer proof generator for Go and Rust infrastructure (<50 MB RAM, >99% precision)
Origard is a static verification tool i am building for Go and Rust databases. Right now the main engine is private though one this phase is done I plan to release the command line tool, SARIF Support, and our historical bug benchmark suite publicalt on Github
Most formal verifier like Dafny or Kani forece developers to spend months writing manual proof harnesses before anything works. Origard runs straight on raw repositories, stay under 50MB of RAM, and outputs standalone .smt2 proof files that anyone can double check with Z3
I want to build Phase 4 as Origard catches deeper concurrency deadlocks and subtle logic bugs in both human and Ai-written systems code
Right now our tree-splitter parser skip complex generics and rust closures. I will swap it out for compiler level go/ssa and rust MIT extraction so those functions actually get analyzed. After that, I am adding a cross-function AB-BA deadlock detector and a two way LLM plus Z3 loop, Where LLM suggests candidate invariants or bug hypothesis, and Z3 proves whether a real counterexample path exists. Everything will also export to SARIF 2.1.0 for CLI pipelines
Phase 1 to 3 are already working and tested. Across six real Go and Rust repositories (sei-chain, reth, go-f3, wormhole, berachain, and ref-fvm), peak memory stayed between 3.08 MB and 45.89Mb, precision held above 99%, and all 209 mutant tests passed
For Phase 4, I will measure success by cutting our skipped partial coverage functions by more than 80% hitting 100% recall our historical CVE test suite (including sei-chain #2961, reth #12797, GCatch and Rudra cases) and finding at least two confirmed real world bugs
Around $3,500 to $4,500 will go toward buying a proper local workstation with 32 or 64GB of RAM and a fast multi-core CPU so i can run parallel queries and Rust MIR builds without cloud bottlenecks
The remanining $11,500 to $25,500 covers four to six months of living and engineering expenses in Pakistan while I finish Phase 4 and publish CLI and benchmarks
It is just me, A solo founder based in Pakistan
I build Origard's first three phases from scratch, including the path senstive lock balance checker, Tarjan-SSC escape analysis, crash-recovery checks, and Z3/Spacer proof generation. You can inspect sample .smt2 certificates and benchmarks reports here( https://github.com/ahmedkhan67-dev/origard-benchmarks )
Rust MIR compilation or deeply nested loops in huge repositories could cause Z3 timeouts. To handle that, I am adding Tarjan-SSC disk catching and strict solver timeouts that fail closed instead of hanging
Another risk is LLM proposing noisy or wrong invariants, Since Z3 acts as a strict gatekeeper, any invariant or bug claim that fails formal verification gets thrown out automatically
Even if Phase 4 hits roadblocks, Phase 1 to 3 works today as a standalone engine and keep producing valid .smt2 certificates
Nothing so far ($0), basically i have been self funding everything, and i currently have applied to Emergent Ventures and the application is under review till now
There are no bids on this project.
Comments
No comments yet. Sign in to create one!