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

Fluid Emerges as DeFi Alternative After KelpDAO Incident Drains $10B from Aave

Abstract: KelpDAO hit Aave; TVL fell from $26.3B to $16.4B. Fluid launched a WETH redemption enabling ETH-to-wstETH swaps as DeFi TVL declined; Aave still has the largest TVL and institutional backing.

GateNews15m ago

Circle Proposes Emergency Rate Overhaul for Aave's Frozen USDC Pool

Circle has proposed an emergency overhaul of interest rate parameters on Aave V3 Ethereum Core's USDC pool, which has been pinned at 99.87% utilization for four days following the April 18 KelpDAO exploit, according to a governance post published Tuesday. Circle Chief Economist Gordon Liao argued th

CryptoFrontier1h ago

ADA Price Outlook as Cardano Lands LSE Tokenized Deal

Key Insights Cardano tokenized a Hannover Re reinsurance product and listed it on the London Stock Exchange, expanding blockchain use in regulated institutional markets. ADA price holds within a descending wedge as support at $0.2400 remains intact while resistance near $0.2550 and $0.2824 l

CryptoNewsLand2h ago

XRP Breakout Holds as XRPL Lending Vote Gains Momentum

XRP shows weekly strength, trading above EMAs after breaking from a descending wedge; XRPL advances XLS-65/66 lending upgrades with pooled vaults and fixed-term loans; derivatives rise in volume, open interest, and options activity. Abstract: This report notes XRP's persistent weekly momentum and price strength above key moving averages following a breakout from a descending wedge. It covers XRPL validators voting on XLS-65 and XLS-66, enabling native lending, pooled liquidity vaults, and fixed-term loans to expand on-chain financial activity. It also reports rising derivatives participation, with higher trading volume, open interest, and a surge in options activity, suggesting increasing trader positioning for a continued breakout.

CryptoNewsLand5h ago

XRP Breakout Holds as XRPL Lending Vote Gains Momentum

XRP shows weekly strength, trading above EMAs after breaking from a descending wedge; XRPL advances XLS-65/66 lending upgrades with pooled vaults and fixed-term loans; derivatives rise in volume, open interest, and options activity. Abstract: This report notes XRP's persistent weekly momentum and price strength above key moving averages following a breakout from a descending wedge. It covers XRPL validators voting on XLS-65 and XLS-66, enabling native lending, pooled liquidity vaults, and fixed-term loans to expand on-chain financial activity. It also reports rising derivatives participation, with higher trading volume, open interest, and a surge in options activity, suggesting increasing trader positioning for a continued breakout.

CryptoNewsLand5h ago

Aave Founder Stani: Team Advancing Multiple Solutions, Recovered $70M in ETH

Gate News message, April 22 — Aave founder Stani said the team has been actively advancing event resolution in recent days, with the primary focus on protecting user interests and ensuring orderly market recovery. According to Stani, the team is working with multiple partners to advance several solu

GateNews6h ago
Comment
0/400
No comments