Mistral releases Leanstral 1.5, a free math-proof model

In short

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

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

Sources

Related stories

More from AI in Europe

All stories from AI in Europe