Mistral AI Releases Leanstral 1.5: An Apache-2.0 Lean 4 Code Agent Model Solving 587 of 672 PutnamBench Problems

ai reasoningapache-2.0formal verificationmistral ai

Mistral AI has unveiled Leanstral 1.5, a specialized code agent model built on the Apache-2.0 license, designed to solve complex mathematical and programming challenges in Lean 4. Demonstrating exceptional performance, Leanstral 1.5 successfully solved 587 out of 672 problems from the PutnamBench benchmark โ€” a rigorous collection of problems from the William Lowell Putnam Mathematical Competition.


A Leap Forward in AI-Assisted Theorem Proving


Leanstral 1.5 represents a significant advancement in the field of AI-assisted formal verification and theorem proving. By leveraging the Lean 4 interactive theorem prover, the model can generate, verify, and refine formal proofs with high accuracy. This capability addresses a critical bottleneck in software engineering and mathematics: ensuring correctness of complex algorithms and mathematical arguments.


Key Features and Performance


  • Lean 4 Support: The model is specifically trained to work with Lean 4, the latest version of the popular theorem prover, enabling seamless integration into existing formal verification workflows.
  • PutnamBench Success: Solving over 87% of PutnamBench problems (587/672) demonstrates the model's robust reasoning and problem-solving abilities under challenging, adversarial conditions.
  • Apache-2.0 License: Released under the permissive Apache-2.0 license, Leanstral 1.5 encourages open collaboration, modification, and deployment in both research and commercial settings.

Implications for 2026 and Beyond


With the rapid adoption of formal methods in software development, especially for safety-critical systems and decentralized finance (DeFi) protocols, Leanstral 1.5 arrives at a pivotal moment. The model's ability to automate theorem proving could drastically reduce human effort in verifying smart contracts, blockchain protocols, and AI alignment proofs โ€” a pressing concern as the industry moves toward provably safe AI systems in 2026.


Moreover, Mistral AI's continued investment in open-source, permissively licensed models sets a strong precedent for transparency and reproducibility in AI research. By combining state-of-the-art language modeling with formal verification, Leanstral 1.5 may accelerate progress toward AI systems that can rigorously prove (rather than merely predict) the correctness of their outputs.


Availability


Leanstral 1.5 is now available for download via the Mistral AI repository on GitHub, along with example scripts and integration guides for Lean 4. Developers and researchers can access the full model weights and fine-tuning documentation under the Apache-2.0 license.


Date: July 3, 2026


Author: Asif Razzaq

via MarkTechPost

Related