Tool profile
formal
yamafaktory.github.io
a Lean 4 property checker that verifies proofs written by your coding agent
What it does
formal is an open-source property checker for code, backed by Lean 4. The official site https://yamafaktory.github.io/formal/ and the GitHub repository yamafaktory/formal (MIT) describe the division of labour this way: your agent writes the properties and the proofs, and formal asks Lean to check them. The documentation states that formal does not call a model, needs no API key, and does not prefer a particular model. The site also documents Lean specs, counterexamples, and an install script from GitHub Releases followed by formal setup. A Show HN post on 2026-12-04 called it an agentic property checker for code, backed by Lean 4. Confirm installation, Lean version and command names in the repository; this entry does not invent a hosted service or a price.
- Have a coding agent write Lean properties and proofs for a function, then run formal to let Lean check them, as the project describes
- Install from the documented install script or GitHub releases and follow formal setup on the official pages
- Use formal when you want a checker that, according to the docs, does not call a model or need an API key
Categories
Frequently asked questions
- What is formal?
- formal is a property checker for code, backed by Lean 4. The site https://yamafaktory.github.io/formal/ and the GitHub repository yamafaktory/formal (MIT) say that your agent writes the properties and the proofs, and formal has Lean check them. They also state that formal does not call a model, needs no API key, and has no opinion about which model you use.
- What does a successful check look like?
- The official page shows an example in which formal check reports properties as verified or rejected, including whether a Lean model matches named source functions. Treat that as an illustration; run the current CLI on your own specs.
- How do you install it?
- The site shows a curl install script from GitHub Releases and a formal setup command. Confirm the current script, supported platforms and Lean requirements in the repository.
Explore
More in AI Code Assistant
Open-source workspace to run and manage many coding agents at once using your own subscriptions.
A ruleset/skill that makes AI coding agents write the least code that works.
Open-source desktop workspace that runs Claude Code, Codex, Kimi and GLM side by side and cuts token spend.
Shared MCP memory for coding agents that marks notes stale when the underlying code changes.
Open-source control plane for Claude Code, Codex, Cursor and other coding agents you already pay for.
Every's open-source plugin of skills and agents for a plan, work, review and compound engineering loop.