# Mistral's open-source Leanstral 1.5 aces formal math benchmarks and catches real bugs in code

> Source: <https://the-decoder.com/mistrals-open-source-leanstral-1-5-aces-formal-math-benchmarks-and-catches-real-bugs-in-code/>
> Published: 2026-07-04 07:12:47+00:00

# Mistral's open-source Leanstral 1.5 aces formal math benchmarks and catches real bugs in code

**Mistral AI released Leanstral 1.5, a free open-source model (Apache 2.0 license) built for formal verification in the Lean 4 programming language.** Lean 4 is designed to formally verify mathematical proofs and software correctness.

Mistral says the model hits 100 percent on miniF2F, a formal math benchmark covering problems from high school level up to math olympiad difficulty. On PutnamBench, which includes 672 problems from the Putnam math competition, it solves 587. On the algebra benchmarks FATE-H and FATE-X, which test master's and doctoral-level tasks in areas like group theory and ring theory, it scores top results of 87 and 34 percent.

The model was trained mainly for math, but Mistral says it also performs well at code verification. In a hands-on test, it scanned 57 open-source repositories and caught five previously unknown bugs, including an overflow bug in the Rust library varinteger. The model is available through [Hugging Face](https://huggingface.co/mistralai/Leanstral-1.5-119B-A6B) and a [free API](https://docs.mistral.ai/models/model-cards/leanstral-1-5). Training involved mid-training, supervised fine-tuning, and reinforcement learning.

```
AI News Without the Hype – Curated by Humans

					Subscribe to THE DECODER for ad-free reading, a weekly AI newsletter, our exclusive "AI Radar" frontier report six times a year, full archive access, and access to our comment section.				

					Subscribe now
```

[Mistral](https://mistral.ai/news/leanstral-1-5/)
