Show HN: Formal – agentic property checker for code, backed by Lean 4
Category: devtools
Tags: formal-verification, lean4, code-analysis, agents, proof-checking
Score: 7.0/10 (Innovation: 7, Technical: 8, Documentation: 8, Utility: 5)
formal is an agentic property checker that uses Lean 4 to verify code properties, with the agent (LLM) writing the formal specs and proofs while formal handles proof checking, retries, axiom auditing, caching, and staleness detection. It bridges informal code and formal verification by requiring the agent to model pure functions in Lean and validating the model against examples, making formal methods more accessible to existing agent workflows.
Target audience: backend devs, formal methods practitioners, AI agent developers, compiler engineers
Repository: https://yamafaktory.github.io/formal/ · Rust · MIT · 27 stars
View on Hacker News