formal-verification
10 repositories
100x is a skill by a former Cursor engineer that turns prompts into formally verified, production-ready code
Diff, blast-radius reports and checkable proofs for ontology changes — A single Rust binary that treats ontology edits like infrastructure changes: plan, apply or roll back, with a blast-radius report showing every downstream consequence. It also produces a proof reviewers can independently re-check, aimed at teams running OWL/SHACL/SPARQL ontologies in production who need auditable, trust-free changes.
A friendlier specification language built on TLA+ ideas — Quint is an executable specification language grounded in the temporal logic of actions, designed to make formal methods more approachable with modern tooling like a REPL, simulator, and type/effect checking. It pairs with the Apalache model checker for verification, appealing to engineers who want rigorous protocol or system specs without TLA+'s steeper syntax.
Rust web framework that proves its own code and attacks itself — h5i combines an axum-based Rust web framework with Lean 4 formal verification and built-in red-teaming CLI tools. Developers can extract app logic into Lean proofs, mutation-test them, and separately run framework-independent recon, crawling and request-replay tools against any website for automated vulnerability discovery.
A proof-carrying checker that catches what tsc lets slip through — TScert is an independent TypeScript checker whose soundness is proved in Lean; it accepts a function only when a machine-checked proof shows every operation stays within its declared types. It rejects code tsc's strict mode still lets pass, like reading past an array after pop(), targeting developers who want stronger-than-tsc guarantees on specific functions.
A Typed RISC-V Assembly Language with Lean 4 Soundness Proofs — NoCompiler defines a typed RISC-V assembly with function signatures, memory permissions and loop invariants, letting memory safety and functional equivalence be checked at the machine-code level rather than trusted from compilers. Soundness is proved in Lean 4, and it can target code from Rust/C++ or AI-generated assembly directly, aiming to let agents produce verified machine code beyond conventional compiler passes.
Lean 4 compiles to WebAssembly for Node, Bun, Deno and edge runtimes — Lasm ships Lean 4, Lake and its build tools via npm, letting you compile ordinary Lean programs ahead of time to WebAssembly and deploy the same code as a Node server, serverless/edge function, WASI module or browser app. Because it's Lean, you can formally prove properties of deployed code; the flagship Conduit example ships with 117 proved theorems.
A new BB(8) champion, verified transition by transition in Coq — This repo documents M8, an 8-state busy beaver machine whose halting score is proven in Coq (busycoq) to beat the prior BB(8) record. M8 comes from reducing a 9-state machine, C04, found by AI search agents; bounds use the fast-growing hierarchy for exact score analysis.
A Fast Algorithm for Elliptic-Curve Discrete Logarithms: Lean 4 formalization and supporting code
Can a web backend be proved correct and still be fast?