Mistral AI Releases Leanstral: First Lean 4 Open Source Code Agent Capable of Automatically Outputting Formal Proofs

Gate News reports that on March 17, Mistral AI announced the release of Leanstral, the first open-source code agent specifically designed for the formal verification tool Lean 4. The core innovation of this model is that it can generate code and output formal proofs that can be automatically verified by Lean 4, bypassing the traditional bottleneck of manual review in AI code generation.

Leanstral uses a sparse MoE architecture, with a total of 120 billion parameters and 6 billion active parameters. It is open-sourced under the Apache 2.0 license and has been specially trained and optimized for lean-lsp-mcp. Users can launch it with zero configuration via the /leanstall command in Mistral Vibe or access it through the free API endpoint labs-leanstral-2603, and it also supports downloading weights for self-deployment.

Mistral also released a new evaluation benchmark, FLTEval, using the formalization of Fermat’s Last Theorem in the Lean 4 community as the test scenario. Performance comparisons show that Leanstral pass@2 scores 26.3 at a cost of $36, surpassing Claude Sonnet 4.6, which costs $549 and scores 23.7. For pass@16, it scores 31.9 at a cost of $290, leading Sonnet by 8 points, while Claude Opus 4.6 requires $1,650 to reach 39.6. Among open-source models, Qwen3.5-397B-A17B needs four runs to reach 25.4, still below Leanstral’s pass@2 performance.

Disclaimer: The information on this page may come from third parties and does not represent the views or opinions of Gate. The content displayed on this page is for reference only and does not constitute any financial, investment, or legal advice. Gate does not guarantee the accuracy or completeness of the information and shall not be liable for any losses arising from the use of this information. Virtual asset investments carry high risks and are subject to significant price volatility. You may lose all of your invested principal. Please fully understand the relevant risks and make prudent decisions based on your own financial situation and risk tolerance. For details, please refer to Disclaimer.

Related Articles

Sei v6.4 Goes Live as SIP-3 Pushes Chain Toward EVM-Only Future

_Sei v6.4 is now live on mainnet. The update brings IBC disable capability as the chain moves toward an EVM-only future under SIP-3._ Sei Labs has rolled out v6.4 on mainnet. The update marks a significant step in the network’s ongoing SIP-3 migration.  At its core, v6.4 introduces the protocol-le

LiveBTCNews2h ago

Solana Foundation Partners Triton One to Redesign Onchain Data Layer as SOL Gains 3%

The Solana Foundation is collaborating with Triton One to enhance its on-chain data access layer, improving scalability and data retrieval. The redesign features two core modules: Accounts for adaptive indexing and Ledger for efficient historical data management. SOL is currently trading around $84.

GateNews2h ago

Tether Launches Self-Custodial Wallet with Readable Addresses and No Gas Token Requirement

Tether has launched tether.wallet, a user-friendly self-custodial digital wallet that simplifies transactions with readable identifiers and eliminates the need for separate network tokens for gas fees. Initially supporting USDT, XAU₮, and Bitcoin, the wallet aims to enhance accessibility for users.

GateNews2h ago

Cardano Founder Says Crypto Parties Won’t Boost ADA Price – Here’s Why

Charles Hoskinson just dropped a reality check on the Cardano community. His message is simple. Crypto parties and big conference events are not going to move the ADA price. Instead, he wants to take the funds that would have been spent on flashy gatherings and put them into permanent global co

CaptainAltcoin3h ago

GMX Launches 24/7 Gold and Silver Trading on Arbitrum, Surpasses $10M Volume on Day One

GMX has launched 24/7 gold and silver perpetual markets on Arbitrum, achieving over $10 million in trading volume on day one. Utilizing Chainlink Data Streams for secure pricing, GMX aims to expand into real-world asset derivatives. This move highlights the trend of decentralizing commodity trading.

GateNews4h ago

X Product Chief Hints at Crypto Feature Launch as Platform Cleans Up Bot Activity

Nikita Bier from Elon Musk's X hinted at a possible crypto-related product launch amid Bitcoin's recovery, stimulating discussions on potential payment and trading features. X Money, a peer-to-peer service, is set for early public access but lacks confirmed crypto features.

GateNews5h ago
Comment
0/400
No comments