When Compute Scaling Meets Complexity Lower Bounds: The Real Bottleneck in AI Solving Math Problems

    This article explains why stacking compute, longer context, and more agent copies yields diminishing returns on open math problems. Using a turn-based battle analogy, it shows that constant-factor output cannot beat super-linear n log n growth, then examines search-space explosion, context limits, underestimated verification costs, and consistency risks between formalized artifacts and original propositions. It closes with a practical pipeline framework, observability and cost-control practices, and evaluation metrics for semantic consistency, first-compile rate, cost per effective proof, and scale elasticity.

    1. A Sample Matchup: High HP Does Not Mean High Output

    Imagine a turn-based battle. Side A is an “invincible” general-purpose agent with its HP artificially set to 10,000. Side B is an open math problem with 500 HP. At the end of the first turn, Side A is down to 9,995 HP while Side B is untouched. The scene is absurd, yet it precisely mirrors a structural flaw in a portion of the current “AI cracks math problems” narrative: resources are piled into HP rather than into effective output.

    Side A’s attacks can be abstracted into three types:

    • A fixed-multiplier attack based on dice faces, with an expected output of roughly a dozen to twenty points per hit;
    • A limited-multiplier attack that trades away part of the context;
    • A once-per-match burst that triggers a 4x face value on three matching dice.

    These mechanics share one trait: the output ceiling is set by a constant multiplier and is independent of problem size. Side B’s “damage curve,” by contrast, grows with a counting function: as the counting threshold rises arithmetically, per-hit damage grows in the shape of N(T) ≈ (T/2π)·ln(T/2π) − T/2π + 7/8, a classic n log n magnitude.

    The conclusion is direct: one side does constant-level chip damage, the other accumulates super-linearly. More HP only extends the number of turns; it does not change the ending.

    2. Why Piling on Resources Has Diminishing Returns in Formal Proofs

    2.1 The Search Space Explodes with Scale

    The complexity of formal proof search is not linearly determined by compute. As propositions get longer and lemmas multiply, candidate tactic combinations grow combinatorially. Adding more agents is equivalent to sampling more branches in parallel, but sampling efficiency is governed by the quality distribution of those branches; if the share of high-quality branches is tiny, the return on investment deteriorates fast.

    2.2 Context Expansion Solves “Can’t Remember,” Not “Can’t Think”

    Long context can hold more definitions, lemmas, and intermediate results, easing forgetting and repeated work, but it does not generate new mathematical insight. Treating context as an attack multiplier is still fundamentally linear stacking.

    2.3 Verification Cost Is Systematically Underestimated

    Generating one line of compilable code and generating a proof draft that “looks correct” differ enormously in cost. A formal verifier accepts no semantic approximation: type mismatches, missing implicit assumptions, or illegal goal rewrites all cause failure. The bulk of the real cost usually sits in “aligning semantics,” not in “generating text.”

    3. An Overlooked Consistency Risk: Formalized Artifacts Are Not the Paper’s Proposition

    A frequent misconception is that producing a large volume of compilable code equals proving the original proposition. In real engineering there are at least three layers of deviation:

    1. Proposition weakening: deleting or altering assumptions, narrowing quantifier ranges, or substituting lemmas whose equivalence is unproven, all to pass verification;
    2. Definition drift: definitions in the formalization library disagree with the paper’s original definitions on edge cases;
    3. Non-transferable conclusions: what verifies is “some strengthened or weakened version” that cannot be back-filled into the original problem.

    Evaluation must therefore introduce a “proposition comparison table” that records, item by item, the original assumptions, the formalized assumptions, the reason for each difference, and whether it can be reversed.

    4. The Complexity Lower Bound View: Why Some Problems Resist Brute-Force Enumeration

    Take distribution estimation related to zero counting as an example. Its error term is on the order of (T/2π)ln(T/2π), which means obtaining a reliable decision near threshold T requires samples and compute growing at n log n or above. No strategy of “spin up more copies, extend the context, raise the sampling temperature” can compress a super-linear curve into a constant.

    Engineering implications:

    • Estimate the lower bound first, then decide how much to invest;
    • Direct budget toward transformations that “reduce problem dimension” rather than “increase sampling counts”;
    • Set hard stop-loss points for super-linear tasks to avoid unbounded compute burn.

    5. A Practical Engineering Framework: Treat Math Reasoning as a Pipeline

    Stage 1: Problem Structuring

    1. Original proposition -> Assumption list -> Definition alignment -> Goal rewriting -> Lemma decomposition

    Each node emits machine-readable intermediate artifacts for traceability.

    Stage 2: Divide Labor Instead of Piling on Volume

    • Generator agent: produces candidate proof skeletons;
    • Checker agent: performs only type and assumption checks;
    • Semantic audit agent: compares the formalized proposition against the original;
    • Human expert: handles cross-domain definition mapping.

    Stage 3: Observability

    Use general-purpose logging services and monitoring alerts to record per-round branch hit rate, average verification time, and the number of semantic deviations. Without these metrics, “it feels almost done” cannot become a reproducible conclusion.

    Stage 4: Cost Control

    Schedule by task priority on a container platform, use object storage to archive intermediate artifacts, and use a message queue to smooth peaks. Apply quotas to super-linear tasks to prevent single-point runaway.

    6. Suggested Evaluation Metrics

    • Semantic consistency rate: the proportion of formalized propositions aligned item by item with the originals;
    • First-compile rate: the proportion passing verification without manual patching;
    • Cost per effective proof: average compute and time to obtain one transferable lemma;
    • Scale elasticity: the time-growth curve when problem size doubles, used to identify whether the task sits in the n log n regime.

    7. Conclusion: Swap HP for Output Quality

    The last line of that matchup reads “opponent is acting,” while Side A still has 9,995 HP. It will not lose immediately, but it will struggle to win, because its attack curve capped its ceiling from turn one. In the real world, open math problems appear on no leaderboard; they recognize only one path: decompose the problem structure correctly, align semantics rigorously, and compute the complexity lower bound clearly. Compute is stamina, not proof.