Multi-Agent Proof Arenas: Engineering 2,400 Proof Attempts in 48 Hours

    An online mathematics arena processed proof attempts for roughly 2,400 problems in 48 hours, with more than 300 agents operating continuously. This article explains the engineering architecture behind that workload: a narrow integration protocol, difficulty-aware scheduling, iterative proof repair, isolated formal verification, sandboxing, observability, and cost controls. It also outlines how the same approach can support other agent workflows with automated evaluation.

    1. What a Mathematics Arena Reveals About Agent Engineering

    An open online mathematics arena recently drew developer attention after processing proof attempts for roughly 2,400 problems within 48 hours. More than 300 agents continuously selected problems, developed arguments, wrote proofs, and submitted their work.

    The system was built not by a heavily funded research institution, but by an 18-year-old engineering student. Participants did not need to overhaul their environments: a minimal integration snippet allowed them to connect a reasoning-capable model to the arena.

    Beyond the headline, the technical significance comes down to three points:

    1. Mathematical proof is an unusually effective agent testbed. Results can be checked by machine rather than judged through subjective preferences.
    2. It moves multi-agent evaluation beyond demos. Sustained operation and high concurrency turn evaluation into an engineering problem.
    3. It demonstrates a low-cost coordination model. Scheduling, verification, and isolation matter more than simply adding compute.

    The following sections organize these ideas into a reproducible engineering design.

    2. Why Mathematical Proof Makes a Useful Agent Benchmark

    Many agent tasks—writing copy, summarizing documents, or generating interfaces—lack an objective evaluator. Evaluation can be expensive, and conclusions can vary. Mathematical proof offers a different set of properties:

    • Machine-checkable results: A formal proof can be checked step by step by a proof kernel. Acceptance does not depend on whether the argument merely looks convincing.
    • Detailed feedback: Compilation failures, type errors, and unresolved goals provide intermediate signals that can be structured and fed back to the agent.
    • Tiered difficulty: Arithmetic identities, competition problems, and research conjectures naturally span different difficulty levels.
    • An explicit search space: Each step maps a current goal through a lemma or tactic to a new set of goals, making the workload suitable for tree search and backtracking.

    Together, these properties support large-scale concurrency without requiring human reviewers for every submission. That is a prerequisite for hundreds of agents submitting proofs simultaneously.

    3. Architecture: Five Layers and Two Cross-Cutting Capabilities

    1. Integration layer (shared protocol / authentication / rate limits)
    2. ↓
    3. Scheduling layer (selection / deduplication / priorities / quotas)
    4. ↓
    5. Execution layer (multi-agent workers + sandbox containers)
    6. ↓
    7. Verification layer (formal kernel as the sole authority)
    8. ↓
    9. Storage layer (problem repository / proof artifacts / intermediate traces)
    10. Cross-cutting:
    11. Observability (logs / metrics / alerts)
    12. Cost governance (caching / budgets / fallback)

    3.1 Integration: Make Minimal Setup a Protocol Contract

    Low-friction integration depends less on extensive documentation than on a narrow protocol. Three clearly defined interfaces are sufficient:

    • list_tasks(): Retrieve problems currently available for assignment.
    • submit(task_id, artifact): Submit a proof artifact.
    • result(task_id): Retrieve the verdict and failure diagnostics.

    Authentication uses long-lived tokens combined with per-request signatures. Rate limits operate at both the token and request-source levels.

    A narrow protocol reduces integration work across different models, frameworks, and manually implemented strategies. This helps participation scale quickly.

    3.2 Scheduling: Problem Selection Determines Overall Output

    Assigning problems in simple queue order is easy, but often inefficient. A stronger scheduling policy includes four elements:

    • Difficulty tiers and concurrency quotas: Allocate capacity to each difficulty level so that hard problems do not occupy resources indefinitely and undermine overall throughput.
    • Content deduplication: Normalize problem statements by removing whitespace and standardizing notation, then calculate fingerprints to reduce repeated spending on equivalent problems.
    • Priority and aging: Give new problems exploration weight while gradually raising the priority of long-unsolved problems to prevent starvation.
    • Dependency awareness: When problems depend on shared lemmas, solve those dependencies first to improve the first-pass success rate of subsequent problems.

    3.3 Execution: A Draft–Verify–Repair Loop

    A worker should not rely on a single generation attempt. Its standard workflow is an iterative loop with memory:

    1. def solve(task, budget):
    2. history = []
    3. for step in range(budget.max_steps):
    4. draft = model.propose(task.statement, history) # Generate or revise a proof draft
    5. verdict = kernel.check(draft, timeout=budget.step_ms) # Check with the formal kernel
    6. if verdict.ok:
    7. return Artifact(draft, attempts=step + 1)
    8. history.append(Feedback(draft, verdict.errors)) # Feed back structured errors
    9. if budget.exhausted():
    10. break
    11. return Failure(task.id, reason="budget_exhausted", trace=history)

    Three design choices are particularly important:

    • Structured feedback: Return line locations, error categories, and unresolved goals rather than inserting entire raw logs into the model context.
    • Parallel strategies: Run branches such as direct construction, proving intermediate lemmas, and reformulating the problem. Use the first proof that passes verification.
    • Hard budget limits: Cap steps, elapsed time, and token usage so that a worker cannot loop indefinitely and consume cluster resources.

    3.4 Verification: The Sole Authority Must Be Stateless and Replayable

    The platform is only as trustworthy as its verifier. Its design should therefore enforce the following:

    • Offline, stateless checks with read-only inputs: Rechecking the same artifact must produce the same result.
    • Version recording: Record both the kernel version and dependency-library versions so that historical results can be replayed precisely.
    • Physical separation from generation: Workers must not be able to influence verifier behavior.
    • Separate timeout and failure outcomes: A timeout should not count as an incorrect proof; otherwise, resource fluctuations contaminate the error rate.

    3.5 Sandboxing and Resource Isolation

    Both submitted code and text are untrusted. Isolation is a baseline security requirement:

    • Run each worker in a disposable, unprivileged container with a read-only root filesystem and writes restricted to temporary directories.
    • Limit CPU, memory, process count, and runtime, and block external network access.
    • Store artifacts in object storage, metadata in a database, and archive intermediate traces as needed for analysis.
    • Treat every submission as untrusted input. Strip instruction-like text to prevent prompt injection from influencing scheduling or verification workflows.

    4. Observability: Making “2,400 Problems” a Meaningful Metric

    A count of accepted proofs alone is not enough. At least four categories of metrics are useful:

    Dimension Metrics Purpose
    Effectiveness First-pass acceptance rate, average attempt count Assess reasoning and self-repair
    Efficiency Average latency per problem, P95 latency Identify long tails and scheduling imbalance
    Cost Tokens per problem, compute-seconds per problem Guide budget allocation and fallback decisions
    Reliability Verification timeout rate, sandbox startup failure rate Distinguish model failures from platform failures

    Logging should provide end-to-end tracing, with a problem ID carried through scheduling, execution, and verification. Monitoring and alerts should cover queue backlogs, sudden increases in timeout rates, and sandbox anomalies.

    These measurements make it possible to distinguish productive agent activity from repeated attempts, infrastructure delays, and wasted resources.

    5. Cost Governance for Continuous Operation

    A system running around the clock must treat cost as a first-class constraint:

    • Result caching: Reuse cached results for matching problem statements and kernel versions.
    • Tiered models: Route simpler problems to lightweight models and escalate difficult problems to stronger reasoning configurations.
    • Budget quotas: Set daily or weekly token and compute limits per participant. When limits are exceeded, automatically downgrade service rather than rejecting requests outright.
    • Elastic scaling: Scale the container platform according to queue length and reduce it to a minimum footprint during idle periods.

    These controls help sustain long-running workloads without allowing a small number of difficult problems or expensive workers to dominate spending.

    6. Transferable Use Cases and a Practical Rollout

    With changes to the evaluator, the same architecture can support other valuable workloads:

    • Code generation through a compile–test feedback loop.
    • Automated completion of unit tests.
    • Formal validation of configurations and policies.
    • Conformance verification for protocol implementations.

    The shared requirement is an automated evaluator.

    A practical rollout follows four stages:

    1. Establish the generation–verification–feedback loop using an offline dataset.
    2. Introduce queues and concurrent sandboxes to support multiple workers.
    3. Add observability and cost governance before expanding operation.
    4. Open external integration only after the core system is stable.

    Opening a platform before establishing the first two stages leaves it vulnerable to long-tail problems and malformed inputs.

    The central lesson is that effective coordination among hundreds of agents depends less on a larger compute budget than on a sound engineering foundation: trustworthy verification, strong isolation, fair scheduling, and clear measurement. Because that foundation is independent of any particular model, teams can reproduce it in their own cloud environments.