Submitted:
16 November 2026
Posted:
17 November 2026
You are already at the latest version
Abstract
Rigorous proof-centered problem solving at the International Mathematical Olympiad (IMO) level requires more than a single long model response: a solver must explore materially different strategies, preserve state over a long horizon, localize failures, and deliver a solution whose proof dependencies can be checked. This report presents an Agentic Pipeline for competition mathematics. A Pipeline Orchestrator schedules execution, while a Proof State Graph (PSG) records proof routes, proof tasks, lemmas, candidate proofs, verification states, and their dependencies. Route planning, proof solving, independent verification, evidence registration, proof assembly, and final verification form the main proof pipeline. A mathematical claim without independent evidence cannot be promoted to verified status, and the final output may depend only on completed, verified proof tasks and lemmas with no unresolved dependencies. At inference time, the system uses a dual-loop recovery mechanism. Guided by natural-language verification and Lean 4 feedback, the inner loop applies local revision or route reconstruction. The outer loop is activated when retrieval, libraries, tools, or execution environments are insufficient; it creates or adapts runtime capabilities and admits them only after functional validation and task-contribution validation. Training covers both natural-language proofs and Lean formalization. Continued-pretraining data are pruned, quality-filtered, and calibrated by length and domain; supervised fine-tuning and reinforcement learning then incorporate expert-authored problem-solution pairs, transferable techniques, fine-grained pipeline annotations, formal trajectories, MaxEnt-Guided Policy Optimization (MGPO), and process rewards. In a fixed-configuration evaluation of 40 algebra and number-theory problems from past IMO Shortlists, the system solved 37 problems, for a 92.5% solve rate. On the 400-problem IMO-AnswerBench, the complete Agentic Pipeline achieved 94.0% pass@1, compared with 91.4% for the strongest listed reference configuration. The system subsequently competed in IMO 2026 and received 7 points on each of the six official problems, earning a perfect-score gold medal with 42/42 under official judging. These results establish an end-to-end path from strategy discovery and state maintenance to failure recovery and verified proof delivery. The underlying method is not limited to competition mathematics: PSG externalizes state and evidence dependencies in long-horizon work, while the dual-loop design separates revision of the current solution from expansion of the system’s operational capabilities. Together, they provide a transferable control structure for high-assurance scientific research, engineering design, and software development, where evidence, tools, and intermediate states evolve over time. To facilitate evaluation and broader adoption, the system’s IMO problem-solving capability has been deployed on the XIAOYI CLAW platform and is publicly available on Huawei phones running HarmonyOS 5.0 or above, or at https://xiaoyi.huawei.com/chat/claw.
Keywords:
IMO 2026
; olympiad mathematics
; agentic pipeline
; proof state graph
; formal verification
; lean 4
; reinforcement learning from verifiable reward
Chapter 1 Introduction and Related Work
1.1. Background and Problem Definition
An olympiad proof requires the solver to discover a decisive structure from limited information, construct an argument that covers every condition, and rule out hidden counterexamples in a checkable manner. Unlike a problem with a unique numerical answer, a proof problem has no short target that can be matched directly: a correct conclusion does not make the derivation valid, and locally plausible steps do not guarantee complete global dependencies. A capable system must combine route discovery, long-horizon state retention, subproblem decomposition, error localization, and proof exposition.
Evaluation has advanced along complementary axes. MATH established competition-style problem solving with worked solutions; OlymMATH and RIMO raised the difficulty and emphasized auditable outputs; IMO-AnswerBench introduced 400 expert-robustified short-answer problems, evenly divided among algebra, combinatorics, geometry, and number theory; and ComBench targeted rigorous proof reasoning and constructive realization [1,2,3,4,5]. This progression distinguishes reliable answer checking from proof-level assessment. At olympiad level, the central bottleneck is no longer merely producing a longer chain of reasoning; it is producing a complete proof that can be reviewed. For open-ended proofs, a terminal answer or a single model score cannot reliably expose missing quantifiers, omitted boundary cases, invalid lemmas, or circular reasoning. Self-evaluation may also reproduce the generator’s own bias.
Formal proof provides a second technical path. The Lean 4 interactive theorem prover places propositions, proof terms, elaboration, and type checking under a small trusted kernel, while Mathlib supplies reusable mathematical definitions and theorems [10,11]. When a Lean file successfully elaborates, type-checks, and passes kernel checking in a specified environment, the corresponding formal statement has a kernel-accepted proof. A separate semantic problem remains, however: a formal statement may mistranslate the domain, omit an implicit condition, or alter the target proposition. Kernel acceptance therefore does not by itself establish that the original natural-language problem has been proved. A reliable system must address both semantic fidelity in natural language and machine-checkable correctness in the formal system.
The system targets IMO-level proofs through a decomposable, recoverable, and verifiable proof-production process. The design questions are: how to explore distinct solutions in parallel without losing search state; how to distinguish a proposition awaiting verification from a conclusion supported by evidence; how to revise a proof at the appropriate scope; how to extend runtime capabilities when the available tools or environment are insufficient; and how to place expert review, natural-language verification, and Lean feedback in a common proof pipeline.
From a systems perspective, an IMO proof is an intensive instance of a long-horizon, high-assurance task. State changes throughout the run, local results depend on one another, failures have different blast radii, and the available knowledge base, tools, or execution environment may define a hard capability boundary. The same structure appears in complex engineering design, scientific research, and large-scale software development, where proof tasks, lemmas, and Lean checks are replaced by design tasks, experimental or testing evidence, and domain-specific validators. The objective is therefore not only to improve single-problem accuracy, but to establish a method that externalizes state and evidence, recovers at the appropriate failure level, and creates new tools under validation constraints.
1.2. Related Work
1.2.1. Natural-Language Mathematical Reasoning and Proof Verification
Early training for mathematical reasoning relied primarily on problem-solution pairs and final-answer supervision. MATH introduced competition problems with worked solutions for model training and evaluation [1]. Process supervision later showed that checking intermediate reasoning steps yields a more informative learning signal than judging only the final answer [6]. Group Relative Policy Optimization (GRPO), introduced with DeepSeekMath, uses relative returns within a sampled group to reduce reliance on a separate value model [7]. DAPO improves large-scale reasoning reinforcement learning through dynamic sampling, decoupled clipping, and length control, while Group Sequence Policy Optimization (GSPO) uses sequence-level importance ratios and clipping to reduce variance for long outputs and Mixture-of-Experts (MoE) training [8,9].
A numerical answer can often be checked by a deterministic program; a proof requires evaluation of the complete argument. Proof-RM trains a proof reward model on problem-proof-critique data and incorporates process signals [32]. SPARK synthesizes step-level supervision from multiple verifiers and meta-critique [33]. MaxProof jointly trains proof generation, verification, and critique-guided repair, then verifies, revises, and ranks a population of candidates at inference time [35]. These methods reduce the variance of one-shot generation, but natural-language scoring remains statistical and must explicitly control false acceptance of an invalid proof.
MaxEnt-Guided Policy Optimization (MGPO) allocates training effort according to the problem-level success distribution, concentrating updates near the current capability boundary [28]. Nemotron-Cascade applies cascaded domain-wise reinforcement learning, and Nemotron-Cascade 2 adds multi-domain on-policy distillation to mitigate interference across domains, response lengths, and verifier latencies [29,30]. Group Pattern Selection Optimization (GPSO) samples multiple high-level reasoning patterns and uses verifier-guided selection to learn which pattern fits a problem [31]. These results motivate domain-wise cascades, capability-boundary weighting, and verifier-driven process rewards in the present training design.
1.2.2. Autoformalization and Formal Theorem Proving
miniF2F and PutnamBench provide standardized formal-reasoning evaluations for high-school olympiad and undergraduate competition mathematics [12,13]. LeanDojo introduced data extraction, interactive execution, and premise retrieval for Lean, demonstrating the value of retrieval over large theorem libraries [14]. Draft, Sketch, and Prove converts an informal proof into a formal proof sketch and delegates local goals to the prover [15]. Lean-STaR interleaves natural-language reasoning with formal tactics and iterates on successful proofs [17].
Recent formal provers combine subgoal decomposition, reinforcement learning, and compiler feedback. DeepSeek-Prover-V2 uses recursive subgoal decomposition to construct cold-start data and performs reinforcement learning in Lean [18]. Kimina-Prover trains on formal trajectories at scale [19]. Goedel-Prover-V2 combines scaffolded data synthesis, verifier-guided self-correction, and model averaging [20]. Seed-Prover combines long-horizon whole-proof reasoning with Lean feedback and breadth-depth inference strategies for IMO-level problems [21]. AlphaProof models Lean proving as reinforcement learning in a verifiable environment, advancing subgoals with policy-value networks and AND-OR search and applying test-time reinforcement learning to hard problems [22].
Formal proof answers whether a given formal proposition has been proved; it does not automatically answer whether that proposition faithfully represents the source problem. Recent work has quantified this gap: natural-language-to-Lean systems can show a high compilation rate while attaining materially lower semantic fidelity, and current autoformalizers remain sensitive to global rewrites and local condition perturbations [26,27]. Lean checks formal well-typedness, while natural-language verification models, stable mappings between source segments and formal nodes, and expert review examine correspondence to the original statement.
1.2.3. Agentic Proof Search and State Management
COPRA embeds a general language model in a stateful, backtracking proof search that uses environment feedback and external theorem retrieval [16]. LEAP combines informal blueprints, subproblem decomposition, and interaction with the Lean compiler [23]. Numina-Lean-Agent integrates a general code agent with Lean interaction, theorem retrieval, and auxiliary reasoning tools while keeping the foundation model replaceable [38]. LeanMarathon organizes specialized agents around a shared blueprint and proof-dependency graph, using auditing, repair, and continuous-integration gates for long-horizon autoformalization [24]. Beyond the Library dynamically adds types and auxiliary lemmas when Mathlib is insufficient, bringing tool and knowledge-environment expansion into research-level formalization [25]. Broader surveys identify relational structure, mathematical exploration, tool ecosystems, and human collaboration as central constraints in the transition from predefined solvers to research agents [37].
The Agentic Pipeline integrates stateful backtracking, proof-graph decomposition, Lean feedback, and tool expansion into a natural-language proof-production system. The main pipeline owns route planning, proof construction, verification, and assembly. PSG records routes, proof tasks, lemmas, candidates, and evidence relations. The inner loop repairs or reconstructs a proof from verification feedback; the outer loop addresses deficits in tools, libraries, and execution environments. Lean is embedded as a deterministic backend for independent and final verification. PSG targets state continuity and evidence dependency; the dual-loop mechanism separates object-level solution revision from capability-level tool expansion.
1.3. Technical Approach and Contributions
The system implements a complete search-verify-recover-complete path. A multi-agent proof pipeline extracts clues, proposes routes, constructs proofs, solves local tasks, independently verifies results, registers verified lemmas, and assembles the final argument. PSG serves as shared state, recording the provenance, dependency, verification status, and version of each mathematical proposition. Candidate proofs pass both natural-language verification and Lean-based formal verification. On failure, the orchestrator selects proof iteration or capability expansion according to the failure class.
The principal contributions are:
An Agentic Pipeline for olympiad proofs, with explicit modules for route planning, proof solving, independent verification, evidence registration, proof assembly, and final verification under a common orchestrator.
A Proof State Graph with verification-gated transitions. Routes, proof tasks, lemmas, and candidate proofs are typed objects. A proposition without independent evidence cannot become a verified premise, and the final proof can depend only on verified nodes with no unresolved dependencies.
A runtime dual-loop recovery mechanism. The inner loop handles local derivations, key lemmas, and route structure. The outer loop detects operational capability gaps and creates or adapts tools, libraries, or environments, subject to functional and task-contribution validation before reuse.
A joint natural-language and formal training system. Experts contributed problem-solution pairs, reusable techniques, and fine-grained pipeline annotations. Continued pretraining retains verified long-horizon and multi-route trajectories; role-conditioned supervised fine-tuning, cascaded reinforcement learning, MGPO weighting, and process rewards are then coupled to Lean, PSG, and expert feedback.
Validation proceeds at three levels. The official 42/42 result on the six IMO 2026 problems establishes end-to-end effectiveness. The fixed-configuration run on IMSC 2026 Problem 2 (P2) exposes PSG route search, proof-task completion, and final assembly. Lean records for Problems 1-6 (P1-P6) demonstrate recursive decomposition, compiler-driven recovery, and formal proof completion. Together, these results connect competition performance with state-level behavior and mechanically checked proof artifacts.
Chapter 2 Agentic Pipeline: System Architecture and Core Mechanisms
Figure 2-1 presents the overall Agentic Pipeline. The architecture consists of orchestration and state management, the main proof pipeline, inner-loop proof iteration, and outer-loop capability expansion. The Pipeline Orchestrator schedules execution; PSG records routes, proof tasks, lemmas, and candidate proofs; the main pipeline generates, verifies, and assembles proofs; and the two recovery loops respond to proof failures and capability deficits. The separation gives every state update, evidence check, and capability change an explicit entry point.
2.1. Overall Architecture
Processing begins with the problem input and proceeds through route planning, proof solving, independent verification, evidence registration, proof assembly, and final verification before producing the proof output. The Pipeline Orchestrator and PSG sit above the main flow as the control and state layers. The inner and outer loops sit below it and are activated when verification fails or an operational capability is missing.
Table 2-1.
Agentic Pipeline layers and responsibilities.
| Architectural layer | Modules | Primary responsibility | Main artifact |
|---|---|---|---|
| Orchestration and state | Pipeline Orchestrator; PSG | Select the next action, allocate the inference budget, and record route, task, lemma, and candidate states | Auditable proof-search state |
| Main proof pipeline | Route planning; proof solving; independent verification; evidence registration; proof assembly; final verification | Generate, check, and assemble a proof | Verified candidate and final proof |
| Inner loop: proof iteration | Local revision; route reconstruction | Repair a local defect or rebuild the proof structure according to failure scope | Revised candidate or new route |
| Outer loop: capability expansion | Gap detection; tool/environment generation; functional validation; task-contribution validation | Add runtime capabilities when tools or environments are insufficient | Validated, loadable capability that advances the task |
The orchestrator reads the current PSG state to select the next module. Its decision context includes unresolved critical proof tasks, evidence coverage, failure class, route status, and remaining budget. The system may continue route exploration, solve a proof task, invoke Verifier, assemble a candidate, or enter a recovery loop.
PSG is the shared state carrier. A route, lemma, or proof fragment produced by an agent is first registered as an unverified object. Only after the required evidence and verification checks are satisfied may it become a state that downstream modules can cite. This distinction between proposing and establishing a claim limits the propagation of unsupported intermediate conclusions.
The main pipeline, Verifier, and the recovery loops interact through PSG. Normal proof construction advances the graph. Verification identifies a failure location and class. PSG records both the result and its scope. The orchestrator then selects local revision, route reconstruction, or capability expansion. The recovered result re-enters the main pipeline until final verification succeeds or the computational budget is exhausted.
The layering can be abstracted as task state, evidence dependency, failure recovery, and capability expansion. In mathematics these correspond to proof tasks, lemmas and verification results, proof revision, and tool generation. In an engineering workflow they may instead correspond to work packages, test or simulation evidence, design revision, and new analysis tools.
2.2. Main Proof Pipeline and Agent Collaboration
The main proof pipeline performs the core computation from problem analysis to final proof. It separates route discovery, proof solving, independent verification, evidence registration, proof assembly, and final verification so that every agent has a defined input, output, and responsibility boundary.
Throughout this report, Verifier denotes the pipeline role responsible for natural-language proof verification; Lean verification denotes kernel-based checking of a formal statement; and expert review denotes human assessment. The three terms identify distinct sources of evidence and are not used interchangeably.
Route planning. Hinter and IdeaMaker jointly produce candidate routes. Hinter extracts relevant cues from a hint library, prior attempts, and verified lemmas. IdeaMaker proposes mathematically distinct solution routes and specifies the intended representation, key lemmas, completion path, and principal risks. Distinct routes must differ in mathematical mechanism or state representation, rather than restating one approach.
Proof solving. Solver constructs a candidate proof along a selected route while reading verified lemmas, unresolved proof tasks, and prior verification results from PSG. Subsolver turns an independently tractable subproblem, case split, or key lemma into a local proof task. Its result and dependencies are returned to the main pipeline, allowing a complex proof to be completed as checkable units.
Independent verification. Verifier examines logic, structure, and formal validity. It targets unsupported key propositions, missing quantifiers or boundary cases, theorem misuse, and unjustified inferential jumps. Its output identifies the affected text, proof task, severity, and recommended action. A local defect enters revision; failure of a key lemma or route enters reconstruction. Only verified fragments can proceed to evidence registration and assembly.
Lean 4 acts as a deterministic backend to independent verification [10,11]. A natural-language proof is segmented into self-contained logical steps and mapped to formal statements, sublemmas, and a proof skeleton. The system generates and checks multiple formal candidates against Lean 4.18.0 and Mathlib. A proof task may be marked complete only when the corresponding candidate passes Lean checking. If all candidates fail, compiler feedback drives revision, decomposition, or replanning.
Lean reports type mismatches, unsolved goals, missing theorems or tactics, syntax failures, and code locations. The system writes the relevant diagnostics, proof state, and proof-task identity into PSG. Local code defects are handled by the inner loop. Persistent failures caused by the statement decomposition or route structure trigger reconstruction. Successfully checked lemmas retain stable statements and identifiers and can be reused across subsequent candidates.
Evidence registration and proof assembly. Lemmer extracts lemmas supported by complete evidence and registers them as reusable facts within the current problem. Corrector assembles the proof from verified lemmas and complete dependencies, adding transitions and fixing non-substantive exposition. Assembly may change ordering and language, but every new mathematical proposition creates a new proof task and must pass verification.
Final verification and output. After assembly, the candidate text and dependency graph are held fixed for final verification. Final verification checks the main conclusion, critical proof tasks, boundary conditions, and lemma references, and rechecks the main formal theorem together with its dependencies. A candidate becomes proof output only when every required node is complete and the full Lean proof passes in the target environment. Lean supplies deterministic checking of the formal proof; Verifier continues to examine semantic correspondence, argumentative completeness, and readability.
The output is a reader-facing natural-language proof linked to verified lemmas, dependency records, and formal checks. Independent verification catches local defects early; final verification evaluates the assembled proof as a whole. Together they form the two verification gates in the main pipeline.
2.3. Proof State Graph
In a conversational multi-agent workflow, strategies, assumptions, critiques, and revisions tend to accumulate in the same context. As that context grows, it becomes difficult to distinguish a proposed claim from one supported by independent evidence. The Proof State Graph uses typed objects and explicit evidence conditions so that each next action is determined by a persistent state rather than by conversational recency.
Figure 2-2 summarizes the mechanism geometrically. A route is decomposed into proof tasks. Only tasks that pass proof verification can support verified lemmas and, in turn, a completed candidate proof. Unfinished branches remain in the graph but do not enter the evidence dependencies of the final candidate.
At time t, the PSG state is
where Vt is the set of typed nodes, Et contains semantic relations, Πt records route progress and status, and Ct is an append-only collection of candidate proofs. The state records current propositions, available evidence, unresolved proof tasks, and the effect of each action on the proof.
Gt = (Vt,Et,Πt,Ct),
Table 2-2.
PSG objects and evidence conditions.
| PSG object | Meaning | Admission condition for usable or verified state |
|---|---|---|
| Route | Structured description of a global proof mechanism | Correct target, material difference from existing routes, and a testable first critical proof task |
| Proof task | Precise proposition that must be proved or refuted independently | Clear statement, scope, and dependencies; marked complete only after proof and independent verification |
| Lemma | Reusable intermediate result with complete supporting proof | Full proof passes independent verification and the statement remains stable |
| Candidate proof | Complete proof version produced by a route at a particular time | Critical tasks, boundary conditions, and dependencies are complete; final output additionally requires final verification |
Edges encode route decomposition, task dependency, evidential support, refutation by counterexample, version replacement, and candidate assembly. Typed relations bound the scope of a failure. A local counterexample invalidates only the matched proposition; an unverified conclusion on one route cannot become a premise elsewhere; a verified lemma can be reused across candidates for the same problem.
PSG uses a verification gate for state transitions:
where T is the transition function, at is an agent-proposed action, et is its evidence, and Verify is the gate. A generated lemma remains pending until its complete proof passes independent verification. A parent task becomes complete only after all decisive child tasks are complete. A fixed candidate becomes proof output only after final verification.
Gt+1 = T(Gt,at,et),if Verify(at,et) = 1,
Within the same problem and a fixed verification environment, verified results accumulate monotonically. A later low-quality candidate cannot overwrite a verified lemma. Failed candidates and their diagnostics remain available for version comparison and recovery. Local revision, proof reassembly, and route replanning correspond to different transition scopes. The final output depends only on a complete evidence chain of verified nodes with no unresolved dependency; incomplete routes may remain in the search graph without contributing to the proof.
PSG also connects Lean diagnostics to scheduling. Compiler logs, unsolved goals, successful lemma statements, and formal dependencies are converted into structured graph state. The orchestrator uses this state to continue the current task, invoke Subsolver, trigger local revision, or replan the route. Verification results therefore directly drive both scheduling and state promotion.
2.4. Dual-Loop System
A verification failure may arise from the proof or from the tools and environment required to complete it. The dual-loop system classifies the failure and selects a recovery path. The inner loop handles errors in the proof. The outer loop handles operational capability gaps. Outer-loop triggers include persistent failure, repeated error classes, prolonged empty retrieval results, or a reasoning trajectory that drifts from its semantic target; thresholds depend on task budget and risk level. Both loops first operate on the current problem and return their result to the main pipeline. Validated tools, environments, and failure patterns can subsequently become cross-task assets.
Inner loop: proof iteration. When independent verification finds a local derivation error, missing argument, Lean syntax error, or type error, the candidate enters local revision and unaffected verified content is retained. If the failure comes from an invalid key lemma, an unsuitable subproblem decomposition, or an unfinishable global route, the system reconstructs the solution, re-enters proof solving, and may return to route planning. Recovery scope is therefore chosen from the scope of the error.
Lean formal verification is a primary implementation of the inner loop. Formalizer produces the main theorem statement from a natural-language solution. Prover generates up to eight candidates in parallel for an unresolved node. A successful candidate updates the node and the current problem’s retrieval index. If every candidate fails, Reasoner localizes the failure from the source segment, sibling states, and compiler diagnostics; Sketcher produces a revised proof skeleton; and Prover completes the new sublemmas. Proven lemmas retain stable names and statements and are reused from cache.
Figure 2-3.
Lean formal proof search and feedback.

The feedback cycle is
Lean failure → localization and attribution → local revision or redecomposition → rechecking → proof − node update.
Outer loop: capability expansion. The outer loop is activated when the current system lacks a formalization interface, Mathlib retrieval capability, symbolic-computation tool, counterexample searcher, or suitable execution environment. Failure traces, Verifier feedback, and semantic drift identify the gap. The system then creates, adapts, or composes modular programs, libraries, simulation environments, or state-pruning representations. Each new capability passes two gates. Functional validation checks loading, execution, runtime errors, and resource limits. Task-contribution validation checks whether the capability measurably advances the target answer, a proof task, or the PSG state. Only a capability that passes both gates may re-enter proof solving and become a candidate asset in the toolbox.
Table 2-3.
Functional distinction between the inner and outer loops.
| Decision dimension | Inner loop: proof iteration | Outer loop: capability expansion |
|---|---|---|
| Failure source | Proof text, local derivation, lemma, or route structure | Deficit in tool, interface, library, retrieval, or execution environment |
| Primary input | Verifier critique, Lean diagnostic, unresolved task | Repeated failure trace, capability-gap description, environment feedback |
| Core action | Local revision or route reconstruction | Gap detection, tool/environment generation, functional validation, task-contribution validation |
| Return point | Solver or route planning | Proof-solving stage |
| Acceptance criterion | Proof task completed and independently verified | New capability is executable, loadable, and produces measurable task progress |
| Retained artifact | Verified repair pattern, error class, effective decomposition | Validated tool, environment, interface contract, and applicability conditions |
The system first uses the inner loop for a localizable proof defect. The orchestrator invokes the outer loop only when structured evidence indicates that the tool or environment has become the limiting factor. Outer-loop validation establishes that a new capability works and advances the task; mathematical correctness remains the responsibility of independent and final proof verification. Lean checking of proofs is therefore distinct from functional validation of tools, libraries, and environments.
Cross-task capability accumulation. Validated tools and failure experience are not discarded at the end of a run. Outer-loop artifacts enter a versioned toolbox together with the triggering failure pattern, interface contract, dependency environment, validation results, applicability conditions, and measured downstream contribution. Recurrent inner-loop failures are summarized as structured failure and repair patterns. Later problems can retrieve these assets rather than recreating the same tool or revisiting a known ineffective recovery path.
Accumulation does not imply unconditional reuse. A tool must pass both validation gates before registration and must be rechecked for version, dependency, interface, applicability, and regression behavior when recalled. Historical failures inform gap detection and recovery but never count as mathematical evidence. PSG stores state for the current problem, the toolbox stores reusable operational assets across problems, and model parameters change only during offline training. Separating these three forms of state prevents tool availability, proof correctness, and training experience from being conflated. The resulting capability growth is validation-gated runtime tool generation, not unconstrained self-modification.
Chapter 3 Model Architecture and Training Methodology
The Agentic Pipeline combines natural-language reasoning models, Lean-specialized models, training data, and verification feedback. General reasoning models perform route planning and proof generation; Formalizer, Sketcher, and Prover handle Lean formalization; expert annotations, Lean results, and PSG run records improve each module.
3.1. Model Components and Division of Responsibilities
Agent roles and underlying models are defined separately. An agent role corresponds to a pipeline function such as route planning, proof solving, verification, lemma registration, or proof assembly; the underlying model executes the associated reasoning task. Multiple agents may share a foundation model while differing in instructions, context, and tools. Formal translation and Lean proof generation use specialized models. The role layer defines interfaces and collaboration; the model layer supplies capabilities. The two can be updated independently.
The main proof pipeline comprises Hinter, IdeaMaker, Solver, Subsolver, Verifier, Lemmer, and Corrector. Hinter extracts cues from hints, prior attempts, and verified lemmas. IdeaMaker proposes candidate routes and key ideas. Solver produces a complete natural-language proof; Subsolver handles independent local tasks. Verifier checks logical, structural, and formal defects. Lemmer registers verified lemmas. Corrector assembles the final argument from a completed evidence chain. Every role reads from and writes structured state to PSG.
Lean formal verification combines specialized models, a Retrieval-Augmented Generation (RAG) module, and the Lean runtime.
Table 3-1.
Responsibilities of reasoning and tool components.
| Component | Primary input | Primary output | Responsibility |
|---|---|---|---|
| Formalizer | Natural-language problem, target, and candidate solution | Lean theorem statement and root proof goal | Create the formal proof entry point |
| Reasoner | Source proof segment, failed node, and verification context | Self-contained logical steps and sublemma decomposition | Analyze structure and redecompose failed nodes |
| Sketcher | Decomposed source proof and sublemma relations | Lean proof skeleton with placeholders | Create the formal dependency structure |
| Prover | One sublemma, its natural-language basis, and retrieval results | Lean 4 proof code | Complete a local proof task |
| RAG module | Natural-language query or Lean statement | Mathlib theorems and verified lemmas from the current problem | Retrieve premises and support lemma reuse |
| Lean 4 runtime | Lean code and dependencies | Check result, proof state, and diagnostics | Perform independent and final formal verification |
Formal theorem statement generation, proof-structure analysis, proof-skeleton construction, and local proof completion are separated by responsibility. Formalizer initializes the theorem statement; Sketcher converts a logical decomposition into a stable Lean skeleton; Prover completes terminal lemmas; Reasoner uses source text and failures to redecompose nodes that cannot be solved directly. These components share a common input-output protocol and run inside the independent and final verification stages rather than adding a separate external pipeline.
Proof decomposition and complete proof generation are deliberately separated. Recursive search repeatedly creates and revises skeletons. Reusing a general reasoning model for each decomposition would concentrate compute in repetitive work and increase statement drift and structural hallucination. A dedicated Sketcher creates stable skeletons, while Prover focuses on local completion. This division permits separate measurement of skeleton compilation rate, lemma reuse, and local proof success.
The Lean interface uses asynchronous submission, duplicate-message coalescing, and code-marker-based error localization. It returns only the proof state, code region, and dependency context relevant to a failure. Identical code-dependency combinations preferentially hit a cache. The RAG module indexes Mathlib-v4.18.0 and verified lemmas from the current problem with the Faiss dense-vector library [36], using dedicated semantic encoders and rerankers. Prover calls search_mathlib for theorem retrieval and verify_lean for candidate submission. A newly proved lemma is added to the current problem’s index.
Generation, state management, and verification are owned by separate components. Models generate routes, lemmas, critiques, or Lean code. The orchestrator controls call order and budget. PSG stores state and evidence. Lean provides deterministic checking. Only output that passes the applicable verification gate can change verified state.
3.2. Data Construction and Quality Control
Training data comprise expert problem-solution pairs, curated competition problems, mathematical techniques, fine-grained pipeline annotations, Lean data, and tool and failure traces. The team and mathematical experts concentrated on three proprietary assets: high-quality problems with detailed solutions, transferable solution techniques, and fine-grained annotations designed for agent collaboration, PSG transitions, and verification-driven recovery. Public mathematics and formal data broadened domain and Lean coverage.
Table 3-2.
Training-data composition and use.
| Data category | Main content | Primary use |
|---|---|---|
| Expert problem-solution data | Expert-created or substantially reconstructed problems with stepwise natural-language solutions | Train Solver, Subsolver, and proof assembly |
| Curated competition data | Public IMO and national-olympiad problems with human solutions | Extend topic, problem-type, and difficulty coverage |
| Technique and strategy data | Constructions, substitutions, invariants, contradiction, extremal arguments, and applicability conditions | Support Hinter, IdeaMaker, and route planning |
| Fine-grained pipeline annotations | Routes, proof tasks, lemmas, dependencies, error spans, severities, verdicts, and recovery actions | Train Verifier and scheduling; supervise PSG transitions |
| Lean formal data | Formal statements, complete proofs, skeletons, and decomposition trajectories | Train Formalizer, Sketcher, and Prover |
| Tool and failure traces | Retrieval calls, Lean diagnostics, repair histories, and environment feedback | Train tool use, failure repair, and result calibration |
Continued-pretraining corpus. The raw pool contained more than 18 million samples. A three-stage pipeline produced approximately 8.6 million samples and 13.56 billion tokens for continued pretraining. Stage 1 pruned off-domain examples, samples without reasoning, duplicates, and examples that failed outcome verification. Stage 2 removed conversations longer than 10 turns, unsupported or circular reasoning, and invalid tool-call declarations, while normalizing prompts and tool interfaces. Stage 3 calibrated the length distribution from 1,024 to 65,536 tokens and balanced mathematics, proof, science, code, Lean 4, and instruction-following data. Long trajectories retained checkable intermediate states, tool calls, and terminal results. A trajectory that failed outcome or execution verification was not admitted as a positive sample.
Dynamic-environment and capability-evolution traces. Outer-loop data follow the sequence problem, failed attempt, current environment state, strategy patch or new tool, updated environment state, and solved problem. Each trace records the trigger, tool code or configuration, dependency versions, functional validation, task-contribution validation, and the capability’s contribution to the final result. The structure teaches the system when to stop rewriting the answer and instead add a capability. It also provides applicability conditions and failure patterns for cross-task retrieval. A trace becomes positive data only when both the tool and its downstream contribution are verified.
Expert problem-solution data. Experts created approximately 1,500 English competition-mathematics problems, each with a human-written, logically segmented solution. The set includes newly designed problems and substantially modified and restated variants. Difficulty ranges from pre-IMO through national olympiad to IMO level, across algebra, number theory, combinatorics, and geometry. A further 100 Math-X problems designed by university experts probe complex reasoning and expose the capability boundary.
Curated competition data. More than 14,000 public problems were collected from IMO Shortlists, IMO Longlists, national olympiads, and other sources; over 10,000 include human-written natural-language solutions. Processing included English translation, formatting and lexical filtering, removal of samples that depend on unavailable images or external context, and semantic deduplication. Expert-created and curated public data retain separate provenance and processing metadata.
Technique and strategy data. Experts extracted transferable techniques from high-quality solutions and recorded their applicability conditions, key observations, common failure points, and representative examples. Each record links a problem structure to candidate mechanisms such as construction, necessity arguments, invariants, symmetry, extremal reasoning, or contradiction. Approximately 50 difficult combinatorics problems were added to Hinter’s hint resources and used to evaluate route planning.
Fine-grained pipeline annotations. The unit of annotation is one state transition. Fields include the pre-transition graph, agent role, input context, model output, expert or Verifier label, action, post-transition graph, and final run outcome. Expert critiques are anchored to exact spans of candidate proofs and labeled with the affected proof task, error class, severity, rationale, and recommended recovery. These fields supervise localization, failure classification, action selection, and confidence calibration.
Error severity uses levels S0-S3. S0 is positive or informational. S1 denotes a minor exposition or calculation issue. S2 is a substantive gap that affects rigor. S3 is a logical break that invalidates the core argument. Recommended actions are normalized to local revision, lemma completion, proof reassembly, candidate blocking, or route replanning. Key lemmas, effective representations, and sound proof skeletons from correct solutions are retained as positive annotations.
Lean and synthetic trajectory data. Formal training uses public Lean statements and proofs, Mathlib source, generated formal reasoning trajectories, proof-skeleton traces, and tool-call records. Formalizer receives approximately 110,000 formalization trajectories; Sketcher uses about 100,000 filtered decomposition and skeleton traces; Prover reinforcement training uses roughly 10,000 multi-domain proof tasks selected from successful compilations. Synthetic samples must pass Lean syntax or compilation checks before positive use.
Quality control. Domain experts create or reconstruct expert problems, write solutions, and check correctness, completeness, and decomposability. Curated public data undergo source tracking, format filtering, translation review, semantic deduplication, and human sampling. Fine-grained annotations are checked for consistency among the error span, proof task, severity, rationale, and recovery action. Lean data are filtered by parsing, elaboration, type checking, and compilation results.
Training, calibration, and test sets are partitioned by problem_id. Rewordings, alternative proofs, and pipeline runs for the same problem remain in the same partition to reduce problem and trajectory leakage. Each record retains provenance, processing version, expert-annotator identity or Verifier instance, and compilation status. Expert rules and fine-grained labels included in training satisfy held-out criteria for error recall, localization accuracy, false acceptance, and false rejection.
3.3. Staged Training and Alignment
Training proceeds through continued pretraining (CPT), role-conditioned supervised fine-tuning (SFT), and reinforcement learning from verifiable rewards (RLVR). Natural-language proof and Lean formalization share representations and objectives during CPT, branch into roles and specialized models during SFT, and receive strategy updates from expert verification, proof-state changes, and Lean results during RLVR.
Shared continued-pretraining backbone family. Natural-language reasoning and formalization models use a consistent tokenizer, context format, data mixture, and next-token objective. During CPT, the natural-language and formalization modules share the data system and capability checks, then branch by task responsibility. Local Lean proving enters through a common formal-data interface and tool protocol.
The 13.56-billion-token CPT mixture is shown below.
Table 3-3.
Continued-pretraining data mixture.
| Data type | Tokens | Sampling share |
|---|---|---|
| Natural-language mathematical reasoning | 3.27B | 24.1% |
| Mathematical proof | 4.63B | 34.1% |
| Scientific text | 1.60B | 11.8% |
| Python/C++ code | 2.95B | 21.8% |
| Lean 4 and Mathlib | 0.60B | 4.4% |
| Instruction-following data | 0.508B | 3.8% |
CPT is designed to retain exploration across multiple verifiable candidates rather than optimizing only one-shot accuracy. A fixed-configuration evaluation on the 30 problems of AIME 2025 used a Tool-Integrated Reasoning (TIR) format [39]. The CPT checkpoint had mean output entropy 0.4221, compared with 0.1777 for the reference checkpoint; pass@1 was 56.67% versus 73.33%, while pass@5 was 86.67% versus 83.33%. Here pass@k is the probability that at least one of up to k samples succeeds. Mean output entropy measures dispersion and is not itself a quality metric. Its coexistence with higher pass@5 indicates that CPT retained more viable routes under multi-sample inference and verification, while every candidate still required result or formal checking.
Samples are serialized as task description, available context, reasoning or proof, and result. Task tags distinguish natural-language proof, natural-language-to-Lean translation, proof-skeleton completion, Lean code generation, and compiler-error repair. Long trajectories retain planning and reasoning in <think> ... </think> fields and use a common tool schema for requests, results, and state write-back. The CPT objective is
where denotes the six data domains, λd is the sampling weight for domain d, θ denotes model parameters, and pθ(xt∣x<t) is the next-token probability. Natural-language proof perplexity, Lean-code perplexity, and cross-representation conversion accuracy are monitored independently. Domain weights and checkpoint selection are determined from the corresponding natural-language, Lean, and cross-representation validation metrics, thereby limiting negative transfer across data domains.
Natural-language supervised fine-tuning. SFT first adapts the backbone to expert problem-solution pairs and then applies techniques and fine-grained pipeline annotations for role conditioning. A sample is represented as
where r is the agent role, Gt is the PSG state summary, c is the available evidence and tool context, x is the task input, y is the target output, and a is the state action. The role-weighted loss is
(r,Gt,c,x) → (y,a,Gt+1),
Hinter learns to select useful cues from problem structure and existing evidence. IdeaMaker produces mathematically distinct routes and separates substantive alternatives from paraphrases. Solver and Subsolver learn whole-proof and local-task completion. Verifier learns error-span localization, S0-S3 severity, and recovery actions. Lemmer learns lemma extraction and scope. Corrector learns critique-guided repair and evidence-constrained assembly. The curriculum advances from pre-IMO to national olympiad, IMO, and high-difficulty expert problems.
Proof generation, verification, and critique-guided repair are trained jointly. In addition to problem-proof pairs, data include problem-proof-critique triples and invalid-proof-critique-revision trajectories. Verifier is balanced across correct proofs, local gaps, structural failures, and adversarial pseudo-proofs, with emphasis on reducing high-confidence false acceptance. Solver and Corrector learn targeted repair from Verifier critiques [32,35].
Formal supervised fine-tuning. Formalizer learns natural-language-to-Lean statement translation from approximately 110,000 formalization trajectories. Sketcher learns sublemma generation and dependency organization from about 100,000 decomposition and skeleton traces. Prover learns complete Lean code from paired natural-language lemmas, Lean goals, retrieval results, and compiler feedback. Stable identifiers bind source segments, Lean nodes, and PSG proof tasks so that a diagnostic can be traced back to the affected text.
Reinforcement learning from verifiable rewards. RLVR starts from SFT checkpoints and applies a cascade of general alignment, natural-language mathematical reasoning, proof process and repair, and formal proof and tool use. Each stage continues from the preceding checkpoint only after stage evaluation. Tasks with materially different validators, response lengths, and tool latency are not mixed in one batch [29].
Table 3-4.
Cascaded reinforcement-learning stages.
| Training stage | Optimization target | Rewards and constraints |
|---|---|---|
| General alignment | Instruction following, role format, concision, tool protocol | Expert preference, format checks, length and repetition penalties |
| Natural-language mathematics | Correctness, proof completeness, route diversity | Outcome checking, proof score, MGPO difficulty weight |
| Proof process and repair | Subgoal progress, localization, critique, targeted repair | Process reward, PSG state gain, S0-S3 error penalty |
| Formal proof and tool use | Formal statement, skeleton, Lean code, tool calls | Lean check, main-goal completion, retrieval and execution results |
Each stage retains anchor evaluations from earlier capability domains. Multi-domain on-policy distillation from the strongest intermediate domain checkpoints is used when the cascade produces measurable interference with previously acquired capabilities. Teachers score tokens sampled by the current student policy; token-level log-probability differences supply a dense distillation advantage that restores earlier capabilities while reducing inter-stage interference [30].
MGPO allocates mathematical problems by current empirical difficulty. For problem q, sample G trajectories and let zi = 1 when trajectory i passes the applicable result-verification gate. The empirical success probability and maximum-entropy weight are
The group advantage is scaled as
This places more compute on problems near a 0.5 success rate, where the current policy receives the most informative contrast. Dynamic sampling retains groups containing both successes and failures. All-correct and all-incorrect groups update difficulty statistics but do not contribute a zero-variance policy gradient. Positive-advantage samples use a wider upper clipping interval, and long outputs receive a soft length penalty to avoid spurious gradients from truncation [8,28].
Long sequences and MoE configurations use sequence-level policy optimization: importance ratios, clipping, and reward are computed over the complete sequence to reduce token-level variance in long proofs and expert routing [9]. Route planning samples high-level patterns such as direct proof, decomposition, contradiction, construction, and reflective repair. Verifier and PSG select valid patterns before policy updates [31].
Natural-language and formal branches share a masked reward:
Here rans measures answer or conclusion correctness; rtask is proof-task completion; rproof is the whole-proof rigor score from Verifier; rproc,t is the process reward for step or PSG transition t; rLean captures Lean acceptance and main-goal completion; rtool captures tool execution and downstream contribution; and pcost penalizes ineffective length, duplicate calls, and budget overruns. Weight wk scales each term, and mask mk is one only when the corresponding signal is available. This prevents a natural-language proof that cannot be formalized from being penalized merely because no Lean reward exists.
Tool reward is gated at two levels. Let Ifunc indicate that a new tool loads and executes without runtime failure, and let rdown be its measured contribution to the target answer, proof-task completion, or downstream state progress. Then
rtool = Ifunc(βf + βdrdown).
A non-functional tool receives zero. A tool that works but creates no downstream gain receives only a bounded functional score and cannot enter the cross-task toolbox as a high-quality asset. This distinguishes executable code from useful capability and limits reward hacking through irrelevant tool generation.
Process reward is tied to actual proof-state change:
where Δct is the increase in completed proof tasks, st is step validity, and et is the severity of an inferential gap, omitted condition, circular argument, or invalid state action. When deterministic outcome verification is available, process reward is gated by the final answer or Lean result. A trajectory that fails the final gate cannot receive a high return solely for polished form or length.
rproc,t = ηoΔct + ηvst − ηeet,
Verifier is trained from expert-labeled error spans, severities, and rationales. Samples without a reference proof receive judgments from independent Verifier instances followed by sequential meta-critique. Agreements become process-reward labels; disagreements go to expert review. The process model emits a step score, error class, and recovery action and is tested against format gaming, adversarial pseudo-proofs, and final-outcome gates [32,33].
For dense policies with token-level credit assignment and reference-policy regularization, the advantage at token t combines outcome advantage, future process reward, and future Kullback-Leibler (KL) correction:
The outcome term ranks trajectories within a group, process returns localize effective and defective steps, and future KL limits excessive early-token drift. The terms are combined after advantage construction rather than mixing the KL penalty into group-normalized outcome rewards [34].
Training configuration. The natural-language branch combines domain-wise cascaded reinforcement learning, MGPO weighting, and process rewards. The formal branch uses SFT and GRPO checkpoints for Formalizer, Sketcher, and Prover. DAPO dynamic sampling and decoupled clipping stabilize group training; GSPO is used for long-sequence or MoE configurations. These components are optimized jointly in the reported configuration; together they provide the natural-language proof, formalization, and Lean-proving capabilities evaluated in Chapter 4.
3.4. Verification Feedback and Capability Optimization
Verification feedback converts inference outcomes into supervision for data and model improvement. Natural-language Verifier evaluates semantic and logical completeness; Lean 4 supplies formal correctness signals; PSG records proof tasks and state transitions; and expert review adds severity, implicit conditions, and mathematical context. The feedback is organized into outcome, process, formal, and expert-calibration levels.
Table 3-5.
Verification feedback and its optimization role.
| Feedback level | Main signal | Role in optimization |
|---|---|---|
| Outcome | Final answer, proof conclusion, main-goal completion | Determine trajectory success and outcome reward |
| Process | Step validity, task-completion increment, first error, repair result | Train local reasoning, localization, and repair |
| Formal | Formal statement, Lean result, proof state, tactic diagnostic | Filter formal data and supervise formalization and Lean proving |
| Expert calibration | Error span, severity, rationale, semantic boundary | Calibrate Verifier and add hard or disputed examples |
Feedback-driven data updates. Successful trajectories become problem-route-proof tasks-complete proof-verification records. Failed trajectories retain the first error, corresponding PSG state, Verifier critique, and repaired result. Priority cases include Solver-Verifier disagreement, disagreement among Verifier instances, Lean-accepted proofs with source-semantic mismatch, and complete natural-language proofs that fail formalization. After expert review, these examples update proof generation, proof verification, repair, and formalization data.
Joint optimization of generation and verification. The proof generator learns from process feedback to restore missing conditions, split proof tasks, and repair local reasoning. Verifier receives new model-generated failures, adversarial pseudo-proofs, and expert verdicts, expanding its decision boundary for subtle defects. Natural-language verification judges semantic equivalence, sufficiency, and citation relations; Lean checks type constraints and completion of the formal proof. Disputed cases enter expert review to calibrate process scores and verification confidence.
Capability evaluation. Improvement is assessed in three areas: correctness and completeness of natural-language proofs; Verifier’s ability to detect and localize substantive defects; and the formal branch’s statement fidelity, skeleton compilation rate, and Lean proof success. Problems are isolated across splits, and results are stratified by pre-IMO, national olympiad, IMO, and Math-X difficulty to prevent aggregate averages from hiding high-difficulty regressions.
Training uses these signals to update data and parameters. A single inference run uses them only to revise the current proof; it does not update model parameters across tasks.
Chapter 4 System Validation and Case Studies
The system competed in IMO 2026 and, under official judging, received 7 points on each of the six problems for a perfect score of 42/42 and a gold medal. This chapter examines how that end-to-end result was produced. A recorded run on IMSC 2026 Problem 2 (P2) illustrates multi-route search, proof-task completion, and final assembly in PSG. Additional fixed-configuration evaluations cover environment bootstrapping, algebra and number-theory problems from past IMO Shortlists, combinatorics, and IMO-AnswerBench. Lean records for IMO 2026 Problems 1-6 expose recursive decomposition, recovery, and formal completion.
4.1. Proof Search with the Proof State Graph
A recorded run on IMSC 2026 P2 shows how multiple candidate strategies converge to a complete proof. The problem asks for all functions and all polynomials P with nonnegative real coefficients such that, for every x,y > 0,
f(x + P(xy)) = f(x) + xf(y).
The complete solution is
P(t) = t,f(x) = cx,c > 0.
The challenge is not merely to guess the linear solution. One must exclude every other nonnegative-coefficient polynomial and determine the global form of f without assuming continuity. The run therefore exercises polynomial structure, monotonicity, iteration, and boundary behavior, making it suitable for examining PSG route, task, and evidence management.
Route search and state convergence. The planning module, jointly implemented by Hinter and IdeaMaker, generated three seed routes based on direct substitution, growth and degree analysis, and monotonicity with iterative invariants. Local revisions, proof reassembly, and replanning created additional route states, for 15 cumulative search states. A route state is a recorded stage of search or recovery, not one concurrently running agent.
Solver decomposed each route into independently checkable proof tasks: showing that P is nonconstant, proving that f is strictly increasing, constructing an iterable invariant, reconciling the cases x < 1 and x > 1, and finally identifying P. Verifier anchored each substantive gap to a specific task. A local gap triggered refinement; a complete independently verified result was promoted to a global lemma; failure of a core representation or strategy triggered replanning.
The run record contains four candidate proof states and four verified lemmas. The accepted route, R07, consolidates the verified derivations into the final proof candidate. That candidate depends directly on one top-level proof task and 22 local proof tasks, all of which were completed and independently verified. Corrector assembled the proof exclusively from registered route content and verified evidence. After assembly, the text was held fixed and passed candidate review, candidate verification, final verification, and independent blind review.
The state-convergence path was
3 seed routes → 15 cumulative route states → 4 candidate proof states → R07 → 23 direct proof tasks completed.
Figure 4-1 preserves the complete search history on the left and expands the evidence chain used by R07 on the right. All 23 direct proof tasks for the accepted candidate were completed and independently verified. Open and superseded nodes remain in the graph but do not contribute to the final proof.
Completion of the final proof. The mathematical argument on route R07 has four principal steps.
First, prove that f is strictly increasing. If P were constant, the left-hand side of the functional equation would be independent of y, whereas the right-hand side contains the positive term xf(y), a contradiction. Hence P is nonconstant. Since its coefficients are nonnegative, P is strictly increasing on [0,∞) and tends to infinity. Let a = P(0). For u > v > 0, choose x large enough that
and set A = x + P(xv) and B = x + P(xu). Substitution of y = u and y = v gives
D = P(xu) − P(xv) > a,
f(B) − f(A) = x(f(u) − f(v)).
Because D lies in the image of (0,∞) under P, there is t > 0 with P(t) = D. Taking y = t/A yields B = A + P(Ay), and thus
f(B) = f(A) + Af(y) > f(A).
Therefore f(u) > f(v), so f is strictly increasing on (0,∞).
Second, construct an iterative invariant. Define
c = f(1) > 0,p = P(1),T(t) = t + P(t).
Setting y = 1 and x = 1, respectively, gives
f(x + P(x)) = f(x) + cx,
f(1 + P(y)) = c + f(y).
For each x > 0, strict monotonicity of T determines a unique ψ(x) > 0 such that
ψ(x) + P(ψ(x)) = 1 + P(x).
Comparison of the preceding identities and the definition
show that H(ψ(x)) = H(x). Moreover, ψ(1) = 1; if x > 1, then 1 < ψ(x) < x; and if 0 < x < 1, then x < ψ(x) < 1. Iterating ψ from any positive input therefore approaches 1 monotonically from one side while preserving H.
H(x) = f(x) − cP(x)
Third, extend the local invariant to a global expression. For the sequence xn+1 = ψ(xn), termwise subtraction and summation give telescoping expressions for P(x0) − P(xn) and f(x0) − f(xn). Monotonicity of f controls the one-sided limits at 1, showing that H is constant on each of the intervals (0,1) and (1,∞). Letting x and y approach 1 from opposite sides and using the original equation at x = y = 1 identifies the same constant:
H(x) = c(1 − p).
Hence, for every x > 0,
f(x) = cP(x) + c(1 − p).
Fourth, determine P. Substituting this expression into the original equation and setting y = 1 gives
P(x + P(x)) = P(x) + x.
Equivalently, P(T(x)) = T(x). Since T is continuous and strictly increasing, its image on (0,∞) is (a,∞). The polynomial P(t) − t therefore vanishes on (a,∞), so P(t)≡t. Then p = 1 and f(x) = cx. Direct substitution confirms every c > 0, completing the classification.
PSG run statistics. The recorded PSG-v2 run contains 196 nodes and 217 edges.
Table 4-1.
Recorded PSG-v2 statistics for IMSC 2026 P2.
| Metric | Recorded result |
|---|---|
| Seed routes / cumulative route states | 3 / 15 |
| Nodes / edges | 196 / 217 |
| Node composition | 15 routes; 21 intermediate answers; 152 proof tasks; 4 lemmas; 4 candidate proofs |
| Terminal status | 30 proved; 144 open; 4 in progress; 17 superseded; 1 blocked |
| Edge composition | 181 depends; 30 supports; 4 supersedes; 2 decomposes |
| Accepted route | R07 |
| Direct R07 proof tasks | 23, all proved and independently verified |
| Checkpoint generations / inheritance depth | 9 / 8 |
| Run records / tokens / wall-clock time | 106 / 2.49M / 18.8 h |
| Final gates | Expert candidate review; Verifier candidate verification; final verification; independent blind score: 7 |
Open, in-progress, superseded, and blocked nodes remain in the final graph by design. PSG is append-only and does not require every exploratory branch to be completed. The final proof depends only on verified tasks and lemmas on R07; other nodes are retained for audit and recovery but cannot serve as premises. Figure 4-1 thus shows how PSG preserves exploratory history while restricting the delivered proof to a complete set of verified dependencies.
4.2. Dual-Loop and Formal Verification Studies
Section 2.4 defines the dual-loop trigger conditions, recovery paths, and cross-task capability accumulation. The studies below examine the resulting behavior and performance through an outer-loop capability-expansion case, natural-language-to-Lean alignment, 40 algebra and number-theory problems from IMO Shortlists, a combinatorics comparison, IMO-AnswerBench, and Lean completion records for the six IMO 2026 problems.
Outer-loop capability-expansion case. In a combinatorial optimization and graph-search task, repeated state-space explosion exposed a missing reusable state representation and pruning capability. The outer loop constructed a grid environment and a state-pruning tool, admitted them through functional and task-contribution validation, and used them to complete the original task. The case shows that the outer loop can convert a recurrent capability bottleneck into a reusable operational capability without bypassing verification gates.
Natural-language-to-Lean alignment. The formal pipeline first segments a continuous natural-language proof into self-contained logical steps. Each segment is bound to a stable Lean lemma statement and formal dependency. Reasoner performs semantic segmentation, Sketcher creates the skeleton, and Prover completes local lemmas. A Lean failure returns to a specific formal node; the inner loop then revises or redecomposes only the affected region.
Figure 4-2 abstracts a proof through termination, terminal-state characterization, invariant construction, local conclusion, and main-goal completion. Each natural-language segment is bound only to the formal node with the same logical responsibility. Once a node is proved, its name and statement remain stable. A compiler location maps back to the source segment so that Reasoner can reconstruct a local region without destabilizing completed nodes.
Forty algebra and number-theory problems from IMO Shortlists. The fixed-configuration evaluation compares static formal proof generation, an agentic formal-natural-language baseline, and the complete system with proof-skeleton decomposition. The set comprises 40 proof problems in algebra and number theory. pass@k is the fraction of problems solved at least once in up to k candidates.
Table 4-2.
Fixed-configuration results on 40 algebra and number-theory problems from IMO Shortlists.
Table 4-2.
Fixed-configuration results on 40 algebra and number-theory problems from IMO Shortlists.
| System | Architecture | Inference setting | Solved | Solve rate |
|---|---|---|---|---|
| Static formal-proof baseline | Static formal generation | pass@64 | 18 / 40 | 45.0% |
| Agentic formal-natural-language baseline | Formal + natural language | Agentic inference | 25 / 40 | 62.5% |
| Complete system | Formal + natural language + proof-skeleton decomposition | Agentic inference | 37 / 40 | 92.5% |
The static baseline uses pass@64, whereas the two agentic systems use agentic inference, so the rows represent configuration-level rather than compute-normalized comparisons. Under these settings, the complete system solves 12 more problems than the agentic baseline without proof-skeleton decomposition, demonstrating the value of combining natural-language decomposition, formal skeletons, and local proof completion.
Combinatorics evaluation of the fixed double-loop configuration. A separate evaluation compares zero-shot static prompting, single-loop reinforcement learning, and double-loop reinforcement learning with environment bootstrapping.
In Table 4-3, “double-loop reinforcement learning” is the name used in the evaluation record for a training-and-environment-bootstrap configuration. It operates at a different level from the runtime inner-outer recovery mechanism defined in Section 2.4. The former describes policy training with environment bootstrapping; the latter describes failure recovery on a single problem. Failure traces and capability feedback connect the two, but they are not the same component.
The complete configuration reaches 72.0%, exceeding static prompting by 14.7 percentage points and single-loop RL by 35.3 points. Because policy training and environment bootstrapping change jointly, the comparison supports the combined double-loop configuration as a whole and is kept separate from the domain-specific results in Table 4-2.
IMO-AnswerBench evaluation. IMO-AnswerBench comprises 400 expert-robustified short-answer olympiad problems, with 100 problems each in algebra, combinatorics, geometry, and number theory [4]. Reference model designations follow the corresponding public release documentation [40,41]. Under the fixed evaluation configuration, pass@1 was 45.0% for DeepSeek-V4-Flash (Non-Think), 88.4% for DeepSeek-V4-Flash (Max), 89.8% for DeepSeek-V4-Pro (Max), 91.4% for GPT-5.4 (xHigh), and 94.0% for the complete Agentic Pipeline.
The complete system exceeds the strongest listed reference configuration by 2.6 percentage points. Because the comparison spans different model and execution configurations, it is interpreted as a system-level result: under the reported harness, orchestration, state management, and verification-driven recovery together outperform the listed single-model settings.
Module metrics and retrieval traces. The formal-statement generator achieves 44.5% pass@1 on miniF2F-Formalize, compared with 39.4% for the reference configuration. This metric evaluates main-theorem statement generation rather than complete Lean proof success. The retrieval module indexes Mathlib-v4.18.0 together with lemmas proved within the current problem, and more than 70% of recorded proof processes retrieve or cite Mathlib theorems. These results show that statement formalization and theorem retrieval are both substantive stages of the formal branch.
Figure 4-3.
IMO-AnswerBench pass@1 across fixed execution configurations.

Lean records for IMO 2026. The six natural-language proofs from the official competition, each awarded 7 points, were subsequently converted into formal theorem statements, proof skeletons, and local Lean lemmas. Table 4-4 reports final code size, lemma count, and recursive decomposition depth.
Figure 4-4 expands the Lean lemma dependency graph for P3, the largest formalization in the six-problem set. Its 2,193 lines of Lean 4 code comprise 36 lemmas across six levels of recursive decomposition. Verified child lemmas discharge parent proof tasks layer by layer until the main theorem is completed. Together with Table 4, the graph shows that the same formal pipeline covers formalizations ranging from 435 to 2,193 lines, from 3 to 36 lemmas, and from one to six decomposition levels, encompassing both shallow local arguments and deeply nested proof structures.
Semantic boundary of formal verification. Lean acceptance establishes that a formal statement has a well-typed proof under the specified versions, dependencies, and assumptions. It does not, by itself, establish that the statement faithfully captures the natural-language problem [26,27]. The system uses stable identifiers between source segments, formal nodes, and PSG proof tasks to check quantifiers, domains, implicit conditions, and conclusion scope, while retaining natural-language verification and final expert review. Formal verification checks a proposition deterministically; semantic alignment checks that it is the proposition the problem actually asks.
The official 42/42 result, the 40-problem Shortlist evaluation, the combinatorics comparison, and IMO-AnswerBench jointly cover official open-ended proofs, historical proof sets, and automatically graded short-answer problems. PSG run graphs and Lean records further show that the proof results are accompanied by explicit task decomposition, localized recovery, and formally checked completion. The combined evidence supports the central conclusion that verification-gated state management and dual-loop recovery improve the reliability and generality of long-horizon mathematical reasoning.
Chapter 5 Conclusions and Outlook
5.1. Main Findings
The Agentic Pipeline for IMO-level proofs has been integrated and evaluated. It solved 37 of 40 algebra and number-theory problems from past IMO Shortlists in a fixed-configuration evaluation and earned a perfect-score gold medal at IMO 2026 with 42/42 under official judging. Each of the six official proofs received 7 points. The system decomposes an open-ended proof into route planning, proof solving, independent verification, evidence registration, proof assembly, and final verification under a common orchestrator. Candidate routes, local tasks, and failure feedback remain visible throughout the run, leaving a traceable path to the final result.
PSG provides shared state for agent collaboration. Routes, proof tasks, lemmas, and candidates are registered as distinct object types, and state promotion is verification-gated. An unsupported proposition cannot become a downstream premise. The final proof depends only on a complete evidence chain of verified nodes with no unresolved dependency. The recorded IMSC 2026 P2 run includes three seed routes, 15 cumulative route states, 196 nodes, and 217 edges; all 23 direct proof tasks on the accepted R07 route were completed and independently verified. The graph preserves search history while exposing exactly which dependencies support the delivered proof.
The dual-loop system recovers according to failure source. The inner loop handles local derivation, Lean code, key lemma, and route-structure failures. The outer loop addresses deficits in retrieval interfaces, tools, libraries, and execution environments. Both return to the main pipeline and re-enter independent and final verification. This avoids treating every failure as an instruction to rewrite the answer and keeps “a new capability is usable” separate from “the mathematical conclusion is proved.” Tools, environments, and failure patterns that pass functional and task-contribution validation enter a versioned toolbox and are revalidated when recalled.
The model and training system covers natural-language proof and Lean formalization. Mathematical experts contributed problem-solution pairs, transferable techniques, and fine-grained pipeline annotations. Natural-language reasoning and formalization share a continued-pretraining data system and capability checks; Lean proving uses common formal-data interfaces and tool protocols. SFT develops role-specific capabilities. Reinforcement learning combines domain-wise cascades, MGPO problem weighting, process rewards, and verifiable outcomes. Verification feedback can revise the current problem during inference or enter offline data curation and training, but those scopes remain separate.
The formal pipeline decomposed the six perfect-score proofs into theorem statements, proof skeletons, and local lemmas and completed them with Mathlib retrieval and Lean feedback. P1-P6 range from 435 to 2,193 lines of Lean code, three to 36 lemmas, and one to six levels of recursive decomposition. Competition judging and formal verification examine different aspects: the former evaluates the submitted natural-language proof, while the latter checks the formal proposition in a specified environment. Together they support the reported outcome without collapsing semantic fidelity into compilation success.
At a methodological level, the system addresses four recurring problems in long-horizon, high-assurance work: preserving state over many iterations, binding intermediate conclusions to evidence, recovering at the scope of a failure, and extending operational capability when existing tools are insufficient. PSG moves assumptions, tasks, evidence, dependencies, and verification states out of transient dialogue. The inner loop revises the current solution. The outer loop generates or adapts tools only when a capability gap is established and admits them through functional and downstream-contribution checks. Continued pretraining preserves multiple verified solution routes; PSG and Verifier then constrain exploration into a deliverable result. The full control path is exploration, state, verification, recovery, and expansion.
Competition mathematics combines an open search space, strict correctness criteria, and formalizable outcomes. It is therefore a demanding test of this control structure. The IMO 2026 perfect-score gold medal shows that verification-gated state management and layered recovery can maintain evidential consistency in long, tightly coupled work. The Shortlist, combinatorics, and IMO-AnswerBench records provide additional evidence across problems and execution modes. More importantly, the deliverable is no longer only generated text: it is a result package associated with task state, evidence dependencies, recovery history, and tool versions. That change is what makes transfer to scientific and engineering workflows plausible.
5.2. Limitations and Future Research Directions
The present system is strongest on proofs whose objects and dependencies admit direct PSG representation. Missing libraries, tools, or environments are handled during inference by the outer loop, so coverage is not bounded by any fixed library, though capabilities admitted this way rest on functional and task-contribution validation rather than kernel acceptance and carry correspondingly weaker evidence. The binding constraint is representational rather than resource-based: the outer loop creates capabilities, not node types. Diagram-dependent geometry falls here, lacking a PSG encoding for diagram constraints to which any synthesized capability could attach. Extending the PSG with geometric objects, diagram constraints, and domain-specific evidence types is a design-time change and a central direction for broader coverage.
Kernel acceptance establishes the supplied formal statement, not its fidelity to the source problem, and the failure directions are asymmetric: an over-strong formalization is sound, while one that silently weakens a hypothesis or narrows a quantifier certifies a claim that does not imply the original. The failure is also silent — Lean checks the formal statement, natural-language verification checks the informal proof, and no stage inspects the translation between them, so a misaligned lemma satisfies both channels and, through inner-loop feedback, misdirects subsequent route reconstruction. Bidirectional condition–hypothesis links and adversarial-perturbation training remain future work; expert review remains necessary at the semantic boundary.
Verifier reliability and process-reward calibration determine whether verification feedback improves a proof or reinforces a persuasive error, and two properties sharpen this. The independent Verifier instances supporting promotion share a base model and training distribution, so their errors correlate and agreement is weaker evidence than independence implies. Verifier weaknesses also face optimization pressure from the pipeline itself: RL with process rewards moves the policy toward what the verifier accepts, while the inner loop revises until acceptance. Keeping terminal answer checks, Lean verification, and expert adjudication as separate constraints rather than interchangeable labels limits how far any single channel can be exploited, but we do not claim adversarial robustness. First-error localization and disagreement calibration remain open.
Multi-route search, parallel formalization, and outer-loop capability expansion are computationally intensive, and each recovery cycle re-enters verification. We do not report compute-matched baselines, so the contribution of pipeline structure versus additional inference compute is not separated, and results against single-response baselines should be read with that confound in mind.
Cross-task capability accumulation introduces version drift, dependency failure, and negative transfer. The consequential case is not a capability that breaks loudly but one that keeps running past its validated conditions: functional and task-contribution validation are performed against the originating task and are not re-established at retrieval, so a reused tool can execute cleanly while its applicability conditions fail. Preferential retrieval of previously successful capabilities further biases route planning. Applicability conditions, regression tests, and invalidation rules remain future work. The architecture bounds rather than prevents the damage — historical capability may guide retrieval, but only evidence verified for the current task supports its conclusion.
5.3. Extension to High-Assurance Applications
The deeper challenge is not to make a model produce a longer answer. It is to keep a generative system moving when task state changes, evidence accumulates, the failure source is uncertain, and the available tools may be inadequate. PSG and the dual-loop mechanism provide a transferable control structure. PSG represents what is known, what remains unresolved, and what evidence supports each conclusion. The inner loop revises the current solution from Verifier feedback. The outer loop changes the operational capability when tools, knowledge, or environment become the bottleneck. These mechanisms address state continuity, evidential reliability, and capability-boundary management, respectively.
When generalized to a domain state-evidence graph, nodes may represent research hypotheses, experiments, simulation tasks, designs, observations, and review decisions; edges may represent dependency, support, conflict, and version replacement. A domain state-evidence graph is a structured record of tasks, intermediate conclusions, verification results, and their dependencies. The Lean gate can be replaced by experimental replication, statistical tests, simulation checks, software tests, or expert sign-off. Long-horizon work then need not live entirely in an ever-growing dialogue, and the impact of a failure can be contained to the affected node and its downstream dependencies.
The dual-loop structure also separates changing a solution from changing the ability to solve the problem. The inner loop repairs parameters, derivations, code, or local designs. The outer loop treats tool generation as a task that itself requires evidence: it proposes a program, solver, simulation environment, or state-pruning representation from an observed gap; checks reliable execution; measures downstream contribution; and only then registers the capability in a versioned toolbox. This offers a constrained path toward agent-created tools while retaining interfaces, dependencies, tests, and rollback conditions. Executability is not confused with task completion.
In complex engineering design, requirements, design decisions, simulations, test data, and review conclusions can form a state-evidence graph. The inner loop revises a local design or parameter; the outer loop creates a data-processing script, simulation adapter, or test instrument when the existing analysis stack is insufficient, and regression tests and design metrics measure its contribution. In scientific research, the same structure can coordinate hypotheses, derivations, experiments, and replication records. Conflicting evidence can coexist with provenance so that a change in conclusion is traceable to new data, an adjusted assumption, or a tool version.
In large software and hardware programs, requirements, code changes, test cases, static-analysis results, and formal properties can form an explicit delivery chain. The inner loop addresses implementation defects, failing tests, and local proof errors. The outer loop adds build environments, test harnesses, analyzers, or verification tools. Operational workflows can likewise register incident hypotheses, log evidence, mitigations, and regression checks, preventing an unverified workaround from being inherited as fact.
Evidence in real applications rarely has the single deterministic criterion available in mathematics. Materials screening, industrial optimization, and compliance analysis combine probabilistic evidence, statistical confidence, physical constraints, cost, and human review. Transfer therefore requires domain-specific state types, evidence standards, conflict resolution, escalation rules, and explicit expert sign-off for high-risk conclusions. Outer-loop tools also require isolation, access control, and continuous regression testing.
Evaluation must accordingly expand beyond terminal success to process reliability: evidence coverage, false-acceptance rate, failure-localization rate, recovery cost, net gain from a new tool, regression risk, and frequency of expert intervention. A state graph and dual-loop system have deployment value only when outcome quality, resource consumption, and accountability meet the requirements of the domain.
Together, PSG and the dual-loop mechanism move a generative model from a one-shot answer engine toward a continuously operating, verification-constrained problem solver. The system generates candidates, but also maintains task state, records evidence, explains failures, creates missing tools, and validates changes in capability. The IMO 2026 perfect-score gold medal establishes feasibility in a difficult environment with strong verification constraints. Whether the same state-evidence-recovery-expansion structure can preserve reliability, efficiency, and governance constraints in open science and complex engineering constitutes a central question for subsequent research.
Core Contributors
Pengpeng Zheng,Yi Tu,Kravchenko Fyodor,Hengfei Zou,Abdrakhmanov Alen,Qiuyang Ding,Krapivin Alexander,Yasnovidov Grigorii,Dandan Tu.
Contributors
Sabutkevich Artem,Gabitov Bulat,Khisamutdinov Eldar,Lebedev Alexander,Krasilnikov Nikolay,Kolchin Ilya,Matveev Andrey,Duhuo Cheng,Hui Zhou,Sang Ni,Cuifang Xie,Haodong Chen,Bo Zhang,Thomas Hirtz,Farzad Jafarrahmani,Wenping Deng,Yi Xie,Hongjie Si,Yang Zhang,Zunwei Ke,Zhijiang Yu,Zhiqiang Liu,Jian Cao,Zhishan Li.
References
- Hendrycks, D.; Burns, C.; Kadavath, S.; et al. Measuring Mathematical Problem Solving With the MATH Dataset. In Advances in Neural Information Processing Systems; 2021; https://arxiv.org/abs/2103.03874.
- Sun, H.; Min, Y.; Chen, Z.; et al. Challenging the Boundaries of Reasoning: An Olympiad-Level Math Benchmark for Large Language Models. 2025. https://arxiv.org/abs/2503.21380.
- Chen, Z.; Qin, C.; Shu, Y. RIMO: An Easy-to-Evaluate, Hard-to-Solve Olympiad Benchmark for Advanced Mathematical Reasoning. 2025. https://arxiv.org/abs/2509.07711.
- Luong, T.; Hwang, D.; Nguyen, H. H.; et al. Towards Robust Mathematical Reasoning. 2025. https://arxiv.org/abs/2511.01846.
- Zhang, S.; Zhang, H.; Luo, Y.; et al. ComBench: A Benchmark for Rigorous Proof Reasoning and Constructive Realization in Olympiad-Level Combinatorics. 2026. https://arxiv.org/abs/2606.10479.
- Lightman, H.; Kosaraju, V.; Burda, Y.; et al. Let’s Verify Step by Step. International Conference on Learning Representations, 2024; https://arxiv.org/abs/2305.20050.
- Shao, Z.; Wang, P.; Zhu, Q.; et al. DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models. 2024. https://arxiv.org/abs/2402.03300.
- Yu, Q.; Zhang, Z.; Zhu, R.; et al. DAPO: An Open-Source LLM Reinforcement Learning System at Scale. 2025. https://arxiv.org/abs/2503.14476.
- Zheng, C.; Liu, S.; Li, M.; et al. Group Sequence Policy Optimization. 2025. https://arxiv.org/abs/2507.18071.
- de Moura, L.; Ullrich, S. The Lean 4 Theorem Prover and Programming Language. In Automated Deduction - CADE 28; Springer, 2021; pp. 625–635. [Google Scholar] [CrossRef]
- The Mathlib Community. The Lean Mathematical Library. In Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs, 2020; pp. 367–381. [Google Scholar] [CrossRef]
- Zheng, K.; Han, J. M.; Polu, S. MiniF2F: A Cross-System Benchmark for Formal Olympiad-Level Mathematics. 2021. https://arxiv.org/abs/2109.00110.
- Tsoukalas, G.; Lee, J.; Jennings, J.; et al. PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competition. 2024. https://arxiv.org/abs/2407.11214.
- Yang, K.; Swope, A. M.; Gu, A.; et al. LeanDojo: Theorem Proving with Retrieval-Augmented Language Models. In Advances in Neural Information Processing Systems; 2023; https://arxiv.org/abs/2306.15626.
- Jiang, A. Q.; Welleck, S.; Zhou, J. P.; et al. Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofs. International Conference on Learning Representations, 2023; https://arxiv.org/abs/2210.12283.
- Thakur, A.; Tsoukalas, G.; Wen, Y.; et al. An In-Context Learning Agent for Formal Theorem-Proving. 2023. https://arxiv.org/abs/2310.04353.
- Lin, H.; Sun, Z.; Yang, Y.; Welleck, S. Lean-STaR: Learning to Interleave Thinking and Proving. 2024. https://arxiv.org/abs/2407.10040.
- Ren, Z. Z.; Shao, Z.; Song, J.; et al. DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decomposition. 2025. https://arxiv.org/abs/2504.21801.
- Wang, H.; Unsal, M.; Lin, X.; et al. Kimina-Prover Preview: Towards Large Formal Reasoning Models with Reinforcement Learning. 2025. https://arxiv.org/abs/2504.11354.
- Lin, Y.; Tang, S.; Lyu, B.; et al. Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correction. 2025. https://arxiv.org/abs/2508.03613.
- Chen, L.; Gu, J.; Huang, L.; et al. Seed-Prover: Deep and Broad Reasoning for Automated Theorem Proving. 2025. https://arxiv.org/abs/2507.23726.
- Hubert, T.; Mehta, R.; Sartran, L.; et al. Olympiad-Level Formal Mathematical Reasoning with Reinforcement Learning. Nature 2026, 651, 607–613. [Google Scholar] [CrossRef] [PubMed]
- Kung, P. N.; Song, L.; Hwang, D.; et al. LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworks. 2026. https://arxiv.org/abs/2606.03303.
- Zhang, Y.; Sun, Y.; Suzuki, T.; et al. LeanMarathon: Toward Reliable AI Co-Mathematicians through Long-Horizon Lean Autoformalization; 2026; https://arxiv.org/abs/2606.05400.
- Soltani Moakhar, A.; Gholami, I.; Springer, M.; et al. Beyond the Library: An Agentic Framework for Autoformalizing Research Mathematics. 2026. https://arxiv.org/abs/2606.31134.
- Zhang, K.; Gallardo Candela, P.; Murthy, S.; et al. Beyond Compilation: Evaluating Faithful Natural-Language-to-Lean Statement Formalization. 2026. https://arxiv.org/abs/2606.31002.
- Gui, Z.; Yang, S.; Shi, Z. Evaluating the Robustness of Proof Autoformalization in Lean 4. 2026. https://arxiv.org/abs/2606.14867.
- Xu, S.; Zhou, Y.; Wang, W.; et al. Tiny Model, Big Logic: Diversity-Driven Optimization Elicits Large-Model Reasoning Ability in VibeThinker-1.5B. 2025. https://arxiv.org/abs/2511.06221.
- Wang, B.; Lee, C.; Lee, N.; et al. Nemotron-Cascade: Scaling Cascaded Reinforcement Learning for General-Purpose Reasoning Models. 2025. https://arxiv.org/abs/2512.13607.
- Yang, Z.; Liu, Z.; Chen, Y.; et al. Nemotron-Cascade 2: Post-Training LLMs with Cascade RL and Multi-Domain On-Policy Distillation. 2026. https://arxiv.org/abs/2603.19220.
- Wang, H.; Song, J.; Li, J.; Mi, F.; Shang, L. Group Pattern Selection Optimization: Let LRMs Pick the Right Pattern for Reasoning. 2026. https://arxiv.org/abs/2601.07238.
- Yang, H.; Wang, Z.; Kang, S.; et al. Proof-RM: A Scalable and Generalizable Reward Model for Math Proof. 2026. https://arxiv.org/abs/2602.02377.
- Rahman, S.; Gorantla, S.; Gupta, A.; et al. SPARK: Stepwise Process-Aware Rewards for Reference-Free Reinforcement Learning. 2025. https://arxiv.org/abs/2512.03244.
- Yao, J.; Wang, R.; Bai, H.; Zhang, T. Future-KL Regularized GRPO: Process-Level Credit Assignment from f-Divergence Regularization. 2026. https://arxiv.org/abs/2601.10201.
- Chen, J.; Zhang, X.; Zhang, S.; et al. MaxProof: Scaling Mathematical Proof with Generative-Verifier RL and Population-Level Test-Time Scaling. 2026. https://arxiv.org/abs/2606.13473.
- Douze, M.; Guzhva, A.; Deng, C.; et al. The Faiss Library. 2024. https://arxiv.org/abs/2401.08281.
- Jiang, E.; Liang, X.; Zhang, Y.; et al. From Solvers to Research: Large Language Model-Driven Formal Mathematics at the Research Frontier; 2026; https://arxiv.org/abs/2607.07779.
- Liu, J.; Zhou, Z.; Zhu, Z.; et al. Numina-Lean-Agent: An Open and General Agentic Reasoning System for Formal Mathematics. 2026. https://arxiv.org/abs/2601.14027.
- Mathematical Association of America. MAA Invitational Competitions: American Invitational Mathematics Examination. 2026. https://maa.org/maa-invitational-competitions/.
- DeepSeek-AI. Transparency Center: DeepSeek-V4 Model Overview. 2026. https://www.deepseek.com/en/transparency/.
- OpenAI. Introducing GPT-5.4. 2026. https://openai.com/index/introducing-gpt-5-4/.
Figure 2-1.
Agentic Pipeline architecture.

Figure 2-2.
Core objects and verification in the Proof State Graph.

Figure 4-1.
Final PSG for IMSC 2026 P2 and the verified R07 region.

Figure 4-2.
Alignment between natural-language proof segments and Lean lemmas.

Figure 4-4.
Lean lemma dependency graph for IMO 2026 P3.

Table 4-3.
Fixed-configuration combinatorics comparison of double-loop configurations.
| System | Architecture paradigm | Combinatorics solve rate |
|---|---|---|
| Static-prompt baseline | Zero-shot / static prompt | 57.3% |
| Single-loop RL baseline | Single-loop reinforcement learning | 36.7% |
| Complete double-loop configuration | Double-loop reinforcement learning + environment bootstrapping | 72.0% |
Table 4-4.
Official scores and formal-proof scale for IMO 2026 P1-P6.
| Problem | Official score | Lean 4 lines | Lemmas | Decomposition depth |
|---|---|---|---|---|
| P1 | 7 | 435 | 18 | 2 |
| P2 | 7 | 1,121 | 17 | 4 |
| P3 | 7 | 2,193 | 36 | 6 |
| P4 | 7 | 581 | 9 | 5 |
| P5 | 7 | 470 | 3 | 1 |
| P6 | 7 | 1,086 | 24 | 5 |
| Total | 42 | 5,886 | 107 | - |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.