leanverifier
github.com · Open source · Active
Framework for proving properties of ML models in Lean 4
- AI & agents
- Open source
- Python
- Day-7 check
- Day-30 check
- lean4
- formal verification
- machine learning
- ai safety
- transformer
- lean 4 ml verification
- formal verification ml
- robustness proof classifier
- lean4 python
- ai safety formal proofs
- Stars
- 88
- Forks
- 6
- Open issues
- 0
- Last commit
- Releases
- 1
- Found
- 20 months ago
GitHub figures as of . They are context, not a ranking.
leanverifier is a Python framework for specifying and proving properties of machine learning models, such as robustness, fairness and interpretability, using Lean 4. It suits researchers interested in formally verifying properties of ML models.
Repository description on GitHub: “Framework for specifying and proving properties—such as robustness, fairness, and interpretability—of machine learning models using Lean 4.”
What it does
- Specifies and proves properties of ML models in Lean 4
- Targets robustness, fairness and interpretability properties
- Exact checks on affine binary classifiers over rationals
Good for
- Check that a linear classifier's output holds within an input radius
- Study formal verification of machine learning models in Lean 4
Suits: Researchers in formal verification and AI safety.
Worth knowing: Research technical preview not authorized for release, and not a general ML verifier
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw leanverifier on , when MADEinPARIS posted it to Show HN. The oldest published release on GitHub is v1.0.3, dated . Its first tagged release came 358 days after it was found.
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 52 points, 14 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 52 points, 14 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: fraware/leanverifier
- Found: MADEinPARIS posted it to Show HN. Show HN
- Release v1.0.3
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was leanverifier released?
- Its first tagged release on GitHub is dated 16 Mar 2026. Kip found it on Show HN on 23 Mar 2025.
- Is leanverifier open source?
- Its source is public on GitHub at fraware/leanverifier under the MIT licence.
- Is leanverifier free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is leanverifier still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | fraware/leanverifier REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-43454861. Summary written by KipFound’s editor.
Share
Similar tools
- Formal Verification RSIActive
Lean 4 and Dafny proof checker that rejects fake AI proofs for coding agents
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.