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

Justin Sun Announces TRON’s PQ Transition, Criticizes Bitcoin And Ethereum

Justin Sun has launched TRON’s PQ upgrade plan, positioning it as the first major blockchain to adopt quantum-resistant technology, while criticizing Bitcoin and Ethereum for their slower progress in addressing quantum threats.

Blockzeit11m ago

Sweat Economy Secures Movement Verification Patent in Nigeria, Applies for European Patents

Sweat Economy has received a patent for its movement verification system in Nigeria, enhancing its M2E ecosystem on NEAR Protocol. The company validates user activity through its Sweatcoin app, allowing users to earn $SWEAT tokens. This approval boosts confidence in its technology and supports further patent applications in Europe.

GateNews1h ago

Lido's LDO Token Surges 30% in Monthly Rally as DAO Approves $20M Buyback Program

Lido's governance token LDO has gained 30% in 30 days, driven by a $20 million buyback program, while major DeFi competitors declined. Despite the rally, LDO remains down 94% from its peak.

GateNews3h ago

Sky Deploys USDS and sUSDS Natively on Avalanche via Skylink Bridge

Sky, the decentralized finance protocol formerly known as MakerDAO, launched its stablecoin USDS and yield-bearing sUSDS on Avalanche via Skylink, a unique crosschain bridge. The bridge began with a 5 million daily transfer cap, expected to increase by April 27.

GateNews3h ago

World Liberty Financial Proposes Restructured Vesting for 62.28B WLFI Tokens With Up to 4.52B Burn

World Liberty Financial proposed a governance restructuring affecting 62.28 billion WLFI tokens, including a potential burn of up to 4.52 billion tokens for eligible holders. The plan aims to align governance participation over two years, amid concerns about token unlocks and governance transparency.

GateNews5h ago

South Korea Launches Blockchain Deposit Token Pilot for Government Payments Starting Q4 2026

South Korea's Ministry of Economy and Finance has approved a pilot project for blockchain-based deposit tokens to replace traditional government purchase cards, aiming to prevent misuse of funds and cut costs. The initiative aligns with the country’s digital currency strategy.

GateNews6h ago
Comment
0/400
No comments