Mistral releases Leanstral 1.5, a free math-proof model
In short
- On 2 July 2026 the company Mistral AI released Leanstral 1.5, an AI model that writes proofs in Lean 4, a programming language in which a computer checks every step of a mathematical proof.
- The weights are free to download from Hugging Face under the Apache 2.0 licence, and Mistral also offers the model through a free API.
- It is a mixture-of-experts model with 119 billion parameters in total, of which about 6 billion do the work for each token.
- Mistral says it proved 587 of 672 PutnamBench competition problems and, pointed at Rust code, found 5 bugs not previously reported on GitHub, across 57 repositories. All of these figures are Mistral's own.
587 / 672 PutnamBench problems solved (Mistral); 87 / 34 FATE-H and FATE-X scores (Mistral); 5 previously unreported bugs, in 57 repositories (Mistral); ~$4 Mistral's estimated cost per PutnamBench problem
Why does an AI model that writes math proofs matter?
A normal language model can write a proof that looks right and is wrong. In Lean, a proof either compiles or it does not, so an answer the Lean checker accepts is correct for the statement it was given (our explanation). That makes proof writing one of the few tasks where an AI's output can be checked mechanically, and Lean is also used to state properties of software, not only of mathematics.
Leanstral 1.5 replaces the first Leanstral of 16 March 2026. The model card places it in the Mistral Small 4 family: 128 experts per layer with 4 used per token, text and image input, 256k tokens of context.
Is Leanstral 1.5 free to use?
In plain words (our summary of Apache 2.0), you may use, change, fine-tune and sell the model or products built on it, provided you keep the licence and copyright notices and mark the files you changed; it comes with no warranty. Mistral calls the release "fully open-sourced", but what is published is the trained model, not its training data or training code, so it is an open-weight model in the stricter sense (our reading of the file list).
Running it yourself is a data-centre job: the card's vLLM example spreads the model over four GPUs (--tensor-parallel-size 4) with a 200,000-token limit. Mistral recommends its own agent tool, Mistral Vibe, and says people should use its API "if the model is subpar with local serving".
How it was trained
Mistral describes three stages: mid-training, supervised fine-tuning, and reinforcement learning with an algorithm called CISPO. In the reinforcement stage the model either retried single proofs against the Lean compiler's error messages, or worked like a developer in a repository, editing files, running shell commands and querying the Lean language server.
The numbers, and who measured them
Mistral says the model scores 100% on both the validation and test sets of miniF2F, an older benchmark of competition problems, which it calls saturating the test. Its main comparison is on harder sets.
Source: Mistral's bar chart in the blog post. The chart marks only two models as open source, Leanstral and Goedel-Architect; Goedel-Architect, run without natural-language hints, solved 508 PutnamBench problems.
These are Mistral's own measurements. The PutnamBench score is a best-of-eight result (pass@8) with a budget of 4 million tokens per attempt; Mistral's scaling chart shows 44 problems at 50,000 tokens, 244 at 200,000 and 493 at 1 million. The same bar chart puts Aleph Prover first with 668 of 672, which Mistral says runs at $54–68 a problem against about $4 for Leanstral. Its Seed-Prover cost of $300 or more is Mistral's estimate.
Mistral also published FLTEval in full, a test built from real pull requests to the Lean project formalising Fermat's Last Theorem. There, it says, one attempt now succeeds 28.9% of the time, up from 21.9% for the first Leanstral, and eight attempts 43.2%, up from 31.9%, ahead of Anthropic's Claude Opus 4.6 at 39.6% for "one-seventh the cost". Its chart puts the open models GLM5, Kimi K2.5 and Qwen3.5 below both Leanstral versions.
Finding bugs in real code
The second claim is about software. Mistral built a pipeline in which a tool called Aeneas translates Rust code into Lean, and Leanstral guesses what each function is meant to do and writes it down as a property. It then gets four tries to prove each property; if all fail, it gets four tries to prove the opposite.
Across 57 repositories this flagged 47 violated properties. Mistral says 11 of them were real bugs and 5 had not been reported on GitHub. Its example is the datrs/varinteger library: when decoding the largest 64-bit number, an addition overflowed, which crashes a debug build and silently corrupts the value in a release build. Mistral says this is the kind of edge case testing and fuzzing would typically miss.
The bug numbers also show the method's noise: by Mistral's count, 36 of the 47 flags were not bugs (our subtraction), which is expected when the model has to guess the intended behaviour itself.
In a second case study, Mistral says, the model proved that insertion and deletion in a real AVL tree (a self-balancing search tree) take logarithmic time, in a run of more than 2.7 million tokens.
16 March 2026: Mistral releases the first Leanstral, Apache 2.0, with a free API 1 July 2026: the Leanstral 1.5 repository is created on Hugging Face 2 July 2026: Mistral announces Leanstral 1.5 and publishes FLTEval in full
Terms in plain English
- Lean 4: a programming language and proof assistant; a proof written in it is checked step by step by the computer (our wording).
- Mixture of experts: a model split into many smaller sub-networks, of which a router picks a few for each token, so only part of the model runs at a time (our wording).
- pass@8: a problem counts as solved if any of eight attempts succeeds (our wording).
Where things stand
Leanstral 1.5 has been downloadable under Apache 2.0 since July, and Mistral keeps it on a free API endpoint. Its claims rest on a checker that cannot be fooled, but the benchmark settings, costs and bug counts are Mistral's own, and we found no outside evaluation. When we looked on 29 November the Hugging Face repository had last changed on 24 November.
Official channels of Mistral AI: Website · LinkedIn · X · YouTube
Sources
- Leanstral 1.5: Proof Abundance for All, Mistral AI blog, 2 July 2026
- mistralai/Leanstral-1.5-119B-A6B, model card, Hugging Face (Mistral AI)
- params.json, model configuration, Hugging Face (Mistral AI)
- Leanstral, Mistral AI blog, 16 March 2026
Sources
- Leanstral 1.5: Proof Abundance for All
- mistralai/Leanstral-1.5-119B-A6B
- Leanstral 1.5 params.json
- Leanstral
Related stories
- Alibaba's Qwen releases open Qwen4-35B-A3B with 3B active
- Ai2 releases Molmo 3, an open model that judges depth in photos
- Google DeepMind posts AI-made proofs of class group claims
- MiniMax releases M4, a 2.74T-parameter model; weights to follow
- Mistral AI's Crashtral predicts car crashes across 8 vehicles
- Recension releases Coatl-1, an open model for DNA, proteins and text
More from AI in Europe
- Barcelona Supercomputing Center adds reasoning to open ALIA 40B
- Pleias and GSMA release an open text collection for telecom AI
- OCTOPUS shrinks an AI model's memory cache to 2 bits, authors say
- H Company releases Holo3.1 computer-use models for local use
- Stability AI releases Stable Audio 3.0 music models, three open