arXiv:2610.01799cs.LGOct 2026

Manuscript Offprint

arXiv:2610.01799

SkillEvoLean: Mutation-enhanced skill evolution for Lean provers

Kuo Zhou, ZiXion Yang, Lu Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Skill evolution offers a promising way to improve large language model agents without updating their parameters, but its use in formal theorem proving remains underexplored. Existing methods mainly target natural-language reasoning, improving skills by analyzing successful and failed trajectories and incrementally revising solving strategies. Although the Lean verifier provides reliable execution feedback, when all sampled trajectories fail, existing skill evolution methods lack successful trajectories from which to infer effective update directions. Furthermore, these methods also focus mainly on the root instruction file, thus underexploring the evolution of reference knowledge including mathematical concepts and proving techniques. To address these limitations, we propose a mutation-enhanced skill self-evolution framework for building skill-augmented Lean provers. The framework jointly evolves a high-level solving policy and its reference knowledge through progressive and mutation-based updates. Progressive evolution derives local improvements from successful and failed trajectories, while mutation is triggered when no complete proof can be generated, sampling mathematical concepts to produce and select new skill candidates under verifier feedback. We evaluate our method on MiniF2F, PutnamBench, the 2025 International Mathematical Olympiad (IMO 2025), and the 2026 USA Mathematical Olympiad (USAMO 2026). Under the same backbone model, trajectory-sampling budget, and test-time compute, our method achieves proof success rates of 100.0%, 90.6%, 4/6, and 4/6, respectively, with GPT-5.5, outperforming the baseline methods. Further analysis shows that concept-guided mutation outperforms random-text-guided mutation by 6.9 and 8.2 percentage points on MiniF2F and PutnamBench, respectively, while solving one additional problem on both IMO 2025 and USAMO 2026. Removing the mutation module reduces performance by 16.1 and 18.3 percentage points on MiniF2F and PutnamBench, respectively, and reduces the number of solved problems to 0/6 on both competition-level benchmarks.

1 INTRODUCTION

Large language models have recently driven rapid progress in formal theorem proving (Polu & Sutskever, 2020; Polu et al., 2023; Yang et al., 2023; Xin et al., 2024a; Lin et al., 2025a). Existing approaches improve proof generation through tactic prediction and increasingly powerful proof-search procedures, enabling models to interact with Lean and iteratively construct machine-checkable proofs (Jiang et al., 2022; Yang et al., 2023; Song et al., 2024; Xin et al., 2024b). Building on these advances, agentic Lean provers integrate language-model reasoning with multi-step search and tool interaction, and have achieved strong performance on challenging formal mathematics benchmarks (Thakur et al., 2024; Wang et al., 2024; Lin et al., 2025b; Baba et al., 2025; Chung et al., 2026).

Improving agents through external skills offers a promising alternative to updating model parameters (Ding et al., 2026; Yang et al., 2026b). A skill represents reusable procedural knowledge that guides reasoning and action, enabling an agent to acquire task-specific capabilities without additional model training (Liu et al., 2026; Ni et al., 2026; Zhou et al., 2026a). Since skills are explicit and editable, they can also be iteratively refined from execution experience (Zhang et al., 2026; Ni et al., 2026; Zhou et al., 2026b). However, despite growing interest in skill evolution for general-purpose agents (Ding et al., 2026; Zhang et al., 2026; Zhou et al., 2026a), its application to formal theorem proving remains largely unexplored.

Existing studies on skill evolution focus on general-purpose reasoning and tool-use tasks rather than mathematical problem solving. Typically, these approaches adopt progressive skill evolution, following a three-step pipeline: collecting execution trajectories, summarizing reusable experience into a textual patch, and updating the current skill accordingly. However, this update paradigm does not fully account for the distinctive requirements of formal theorem proving. In particular, when all sampled trajectories fail, no successful behavior is available to provide an effective update direction. The skill therefore cannot be meaningfully revised, causing the evolution process to stagnate on challenging theorem-proving problems.

To overcome this stagnation, we introduce mutation-based evolution into skill optimization, inspired by the role of mutation in genetic algorithms. Conventional mutation operators, such as swap, insertion, and inversion, cannot be directly applied to skills because arbitrary modifications to natural-language instructions may disrupt their syntactic coherence and semantic structure. We therefore propose Concept-Guided Skill Refinement (CGSR), a semantic mutation mechanism specifically designed for skill evolution. The core idea of CGSR is to use large language models to establish two semantic transformations between the text space and the concept space. As illustrated in Figure 1, the current skill is first mapped from natural-language instructions to a compact set of concepts that characterize its underlying reasoning strategies and procedural knowledge. Random perturbations are then applied to this concept set by adding, removing, or replacing selected concepts. Finally, the perturbed concepts are mapped back into the text space to generate a structurally coherent but behaviorally different skill, thereby realizing semantic mutation without directly manipulating the surface form of the original instructions.

In summary, our contributions are threefold. First, we formulate skill evolution for formal theorem proving and identify a fundamental limitation of existing trajectory-based progressive evolution: the update process can stagnate when all sampled proof trajectories fail. Second, we propose a concept-guided mutation mechanism that introduces mathematically meaningful semantic perturbations while preserving the structural coherence of natural-language skills, enabling broader exploration of the skill space beyond locally derived updates. Third, we develop a unified skill-evolution framework that combines progressive refinement with mutation-based exploration and validate its effectiveness on multiple challenging Lean theorem-proving benchmarks, demonstrating consistent improvements over existing skill-construction and skill-evolution baselines.

References (31)