Leanstral 1.5: Proof Abundance for All - mistral.ai
Summary
Leanstral 1.5, a free Apache-2.0 licensed model from Mistral AI with 6B active parameters, significantly enhances formal verification capabilities. Released on July 2, 2026, it saturates miniF2F, solves 587 out of 672 PutnamBench problems, and achieves new performance records on FATE-H (87%) and FATE-X (34%). The model is trained using a three-stage process involving mid-training, supervised fine-tuning, and reinforcement learning with CISPO, utilizing multiturn and code agent environments. Beyond benchmarks, Leanstral 1.5 demonstrates practical utility by verifying complex code properties and uncovering 5 previously unknown bugs across 57 open-source repositories, including an overflow bug in the "datrs/varinteger" library. It also proved O(log n) time complexity for AVL trees. Fully open-sourced, it is available via Hugging Face and a free API endpoint.
Key takeaway
For Machine Learning Engineers or Software Engineers integrating formal methods, Leanstral 1.5 offers a powerful, cost-effective solution for proof engineering and code verification. You should consider deploying its free API or Hugging Face model to automate complex mathematical proofs or proactively identify subtle bugs in your Rust codebases, as demonstrated by its ability to find 5 new bugs. This can significantly enhance code reliability and reduce manual verification effort.
Key insights
Leanstral 1.5 significantly advances formal verification, making rigorous methods practical for real-world code and complex mathematics.
Principles
- Agentic RL improves long-horizon proof tasks.
- Test-time scaling boosts complex problem solving.
- Formal verification finds subtle, real-world bugs.
Method
Leanstral 1.5 undergoes mid-training, supervised fine-tuning, and reinforcement learning with CISPO, utilizing multiturn and code agent environments for proof and code verification.
In practice
- Use for verifying O(log n) complexity in AVL trees.
- Automate bug discovery in Rust codebases.
- Tackle IMO-level math challenges.
Topics
- Formal Verification
- Lean 4
- Reinforcement Learning
- Code Verification
- Bug Discovery
- Large Language Models
Code references
Best for: AI Architect, Research Scientist, CTO, AI Scientist, Machine Learning Engineer, Software Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by mistral.ai via Google News.