Skip to content

Mistral AI Releases Leanstral 1.5, a Free Apache-Licensed Formal Verification Model

Mistral AI released Leanstral 1.5, a free Apache-2.0 model with 6B active parameters that solves 587 of 672 PutnamBench problems and saturates the miniF2F benchmark.

Mistral logo, the gradient block M mark and the Mistral wordmark in navy on a white background
Credit: Mistral AI

Mistral AI's Leanstral 1.5, a 119-billion-parameter mixture-of-experts model with only 6 billion active parameters at inference time, solves 587 of 672 problems from the Putnam Mathematical Competition benchmark and reaches 100% on miniF2F, saturating that evaluation entirely. The model carries an Apache-2.0 license and is available for free on Hugging Face and through Mistral's API, per Mistral's announcement published July 2.

Leanstral 1.5 is purpose-built for formal proof engineering in Lean 4, the proof assistant increasingly used to verify both mathematical theorems and production software. The model goes through a three-stage training pipeline covering mid-training, supervised fine-tuning, and reinforcement learning using the CISPO algorithm, across two environments. In the first, it iteratively submits and refines Lean proofs given compiler feedback. In the second, it operates like a developer in a raw file system, running shell commands and using a live Lean language server.

On PutnamBench, Leanstral 1.5 runs at roughly $4 per solved problem, according to Mistral, while Seed-Prover 1.5 at its high setting costs an estimated $300 or more per problem. The cost gap reflects Leanstral's efficient MoE architecture and strong test-time scaling: performance climbs from 44 problems solved at 50,000 tokens to 493 at one million and 587 at four million, so practitioners can trade compute for accuracy in a predictable way rather than hitting a ceiling.

Mistral also tested Leanstral 1.5 against 57 open-source Rust repositories, using a pipeline that has Aeneas translate Rust code to Lean, then generates and attempts to verify correctness properties. The process flagged 47 violated properties; 11 pointed to genuine bugs, five of them previously unreported on GitHub. One was an integer overflow in a zigzag decoding function in the datrs/varinteger library, the kind of edge-case bug that fuzzing routinely misses and formal verification is designed to catch.

For engineering teams, the practical on-ramp is Mistral's Vibe CLI agent. After installation, a single /leanstall command sets up the model; an optional Lean LSP MCP server gives it access to real-time goal and error state from the Lean language server during long proof sessions. Weights on Hugging Face and the free API endpoint make it accessible without a commercial agreement. The release also fully open-sources FLTEval, a benchmark derived from the Fermat's Last Theorem Lean repository, where Leanstral 1.5 raises pass@1 from 21.9% to 28.9% and outperforms models three to ten times its size, as Mistral details in the same announcement.

Share this story

Julian Beaumont

Julian Beaumont covers artificial intelligence and large language models for techshooked, following a model from research paper to product feature. Coverage explains what a new model can do, how it was trained and evaluated, where its benchmarks are strong and where they stop being informative, and what the change means for the developers building on its API.