A Technical Evaluation of AI-Assisted Proofs for Large Prime Gaps

    This article provides a rigorous framework for evaluating claims that AI has broken long-standing records in large prime gap research. It explains the mathematics of prime gaps, the covering-congruence construction behind lower bounds, the role of sieve weights and probabilistic combinatorics, and how to distinguish genuine asymptotic improvements from constant-level gains. It concludes with a layered verification pipeline that R&D teams can use to audit AI-generated mathematical proofs. Readers will learn what has actually been proven, what remains conjecture, and how to verify new results responsibly.

    1. Evaluating a “Record-Breaking” Claim: First, Establish What Was Broken

    When AI is reported to have contributed to solving a long-stalled mathematical problem, the first step is not to judge the size of the impact, but to clarify three things: what exactly the new result proves, which specific quantity it improves relative to existing theorems, and whether the proof has undergone independent verification.

    The source material references a new proof concerning large prime gaps but provides no complete paper, no precise theorem statement, and no checkable proof details—the text is even truncated at key formulas. Based on this material alone, one can neither confirm that an eight-year-old world record has been broken, nor determine the extent of AI’s original contribution.

    That said, we can still build a professional evaluation framework. At minimum, three distinct types of progress must be separated:

    • Numerical records: finding and verifying larger actual prime gaps by computation, confirming no primes exist in the interval.
    • Theoretical records: proving stronger asymptotic lower bounds for the largest prime gap, valid over sufficiently large ranges.
    • Methodological progress: even if the conclusion is not the strongest possible, a simpler, more robust, or more generalizable method can lower the barrier for future research.

    These three have different values and cannot be conflated under a single claim of “a larger prime gap was discovered.”

    2. What Is the Object of Study in Large Prime Gap Research

    Let (p_n) denote the (n)-th prime, and define the gap between adjacent primes as

    [
    gn = p{n+1} - p_n.
    ]

    Define the maximal gap up to scale (X) as

    [
    G(X) = \max{p_n \le X}(p{n+1} - p_n).
    ]

    This constrains the left endpoint of the gap to be at most (X); the right endpoint may exceed (X). Some literature instead uses the definition where both endpoints must not exceed (X), so definitions should be unified before comparing results.

    A common conceptual confusion needs correcting: large prime gap research is not only about upper bounds. Asking “how long a prime-free interval can be guaranteed” is primarily about lower bounds on (G(X)); asking “how long can a prime-free interval at most be” concerns upper bounds.

    By the prime number theorem, near scale (X), the local density of primes is approximately (1/\log X), so the average spacing is roughly

    [
    \log X.
    ]

    But the average does not determine the extremes. Some intervals are denser in primes; others contain no primes for long stretches. The large gap problem concerns exactly the latter, rare phenomenon.

    A classical result states

    [
    \limsup_{n \to \infty} \frac{g_n}{\log p_n} = \infty.
    ]

    This means the ratio of adjacent-prime spacing to the average scale can be arbitrarily large—not merely reaching two or three times the average occasionally.

    3. A Significant Gap Remains Between Predicted and Proven Scales

    Common random models approximate the probability of a large integer being prime as (1/\log X). If arithmetic correlations between integers are temporarily ignored, the probability that an interval of length (h) contains no primes can be roughly written as

    [
    \exp!\left(-\frac{h}{\log X}\right).
    ]

    When examining a large number of candidate intervals, this model naturally suggests that the maximal gap may be on the order of ((\log X)^2).

    But this is heuristic analysis, not proof. Whether a number is prime is constrained by divisibility relations—these are by no means independent random events. Congruence restrictions from small primes in particular alter the predictions of a simple random model.

    Therefore, rigorous statements must distinguish:

    1. The conjectured upper-bound form, e.g., (g_n = O((\log p_n)^2));
    2. More refined predictions of the extreme-value scale;
    3. Lower bounds that have actually been proven.

    One must not, without qualification, write the conjecture as

    [
    G(X) \sim (\log X)^2,
    ]

    let alone treat it as an established theorem.

    To simplify subsequent formulas, let

    [
    \log1 X = \log X, \qquad
    \log
    {j+1} X = \log(\log_j X).
    ]

    Classical large-gap constructions yield lower bounds of the form

    [
    G(X) \ge
    c\,\frac{\log X\,\log_2 X\,\log_4 X}
    {(\log_3 X)^2},
    ]

    where (c > 0) is a constant and the result holds for sufficiently large (X).

    Subsequent major theoretical advances pushed this baseline to

    [
    G(X) \ge
    c\,\frac{\log X\,\log_2 X\,\log_4 X}
    {\log_3 X}.
    ]

    Comparing the two formulas, the latter gains an additional factor of (\log_3 X) over the former. This is not raising a fixed constant from one value to another—it is a gain that grows with (X).

    However, this proven scale is still significantly smaller than ((\log X)^2). It is more accurate here to speak of a substantial “asymptotic scale gap” rather than loosely claiming a fixed number of orders of magnitude, since the actual ratio depends on (X).

    4. The Core Construction: Turning “No Primes” into a Congruence Covering Problem

    Directly searching for an extremely long interval and proving every integer in it is composite is very costly. Theoretical constructions take a different route: pre-assign every integer in the interval a small prime divisor.

    Given parameters (x) and a target length (y), for each prime (p \le x), select a residue class

    [
    a_p \pmod p.
    ]

    If every integer (i \in {1, \ldots, y}) satisfies at least one condition

    [
    i \equiv a_p \pmod p,
    ]

    then this interval of integers is completely covered by these residue classes.

    Next, find an integer (N) satisfying

    [
    N \equiv -a_p \pmod p
    ]

    simultaneously for all (p \le x).

    Since these moduli are pairwise coprime, the Chinese Remainder Theorem guarantees a solution exists. For any position (i) covered by prime (p),

    [
    N + i \equiv 0 \pmod p.
    ]

    As long as a sufficiently large representative is chosen so that (N + i > p), it follows that (N + i) is composite. Therefore,

    [
    N+1, \ldots, N+y
    ]

    forms a consecutive prime-free interval.

    This step is crucial: a question originally about prime distribution is transformed into a finite combinatorial problem—how should the residue classes be chosen to cover as long an interval of integers as possible?

    At the same time, the location of the constructed interval must be controlled. Let

    [
    P = \prod_{p \le x} p.
    ]

    By basic results on the distribution of primes,

    [
    \log P \sim x.
    ]

    The congruence solution can be placed at a scale comparable to (P). Within the usual parameter ranges, using basic results on the existence of nearby primes, this prime-free interval can be converted into an adjacent-prime gap at a position scale of (\exp(O(x))). This explains why the (\log X) in the final formula is closely related to the parameter (x) in the covering construction.

    5. Why Layered Filtering Beats Naive Greedy Selection

    A single residue class modulo a prime (p) covers roughly (y/p) positions in a full interval of length (y). At first glance, repeatedly choosing the residue class that covers the most positions seems sufficient.

    The difficulty is that covers overlap heavily. Two residue classes each covering many positions does not mean their union is similarly large. If newly chosen residue classes repeatedly hit already-covered positions, the overall covering efficiency declines.

    Typical strategies therefore proceed in layers:

    1. Use one set of primes to eliminate easily covered positions

    Certain primes can select the zero residue class, i.e., cover their multiples. This eliminates integers with the corresponding small prime factors, giving the uncovered set a clearer arithmetic structure.

    2. Choose varied offsets for small primes

    Other primes can select nonzero residue classes, covering integers different from the previous layer. The point is not that any fixed offset is inherently optimal, but that different layers take on different tasks, avoiding wasteful duplication of covering resources.

    3. Use the remaining primes to handle the sparse residual set

    After the first two layers, fewer positions remain—but they are harder to handle. The final stage must exploit the structure of these positions to select residue classes covering multiple residual points at once.

    What truly determines the strength of the construction is the number of residual points, the size of candidate covering sets, and the overlap between different covering sets—not simply how many primes were used.

    6. How Sieve Weights and Probabilistic Combinatorics Improve Coverage

    To improve final-stage covering efficiency, the problem can be expressed as a hypergraph:

    • Vertices correspond to not-yet-covered integer positions;
    • A hyperedge corresponds to the set of positions coverable by one selectable residue class;
    • Selecting a hyperedge amounts to selecting a covering choice;
    • Each prime modulus can ultimately have only one residue class selected—this constitutes an additional selection constraint.

    The goal is no longer merely to find “large edges,” but to find a batch of edges with broad overall coverage, minimal mutual overlap, and satisfaction of the selection constraints.

    Sieve weights can design non-uniform sampling distributions for candidate residue classes, giving higher weight to candidates likely to cover more residual positions simultaneously. Results on primes in linear forms provide the number-theoretic basis for this weight design, but this must not be interpreted as allowing an arbitrary set of linear expressions to be simultaneously prime.

    Probabilistic combinatorial methods then control selection conflicts. Semi-random selection proceeds in rounds: each round selects a portion of candidates, retains low-conflict selections, and then processes the remaining vertices. This prevents a one-shot greedy approach from prematurely exhausting valuable covering resources.

    For this method to become a rigorous proof, the following typically must be verified:

    • Whether the chance of each individual vertex being covered is sufficiently stable;
    • Whether the probability of two vertices being covered simultaneously is controlled;
    • Whether candidate set sizes fall within permitted ranges;
    • Whether random fluctuations can be controlled via concentration estimates;
    • Whether the final residual set is small enough to be covered with reserved resources.

    If any of these conditions is missing, “coverable in expectation” may fail to convert into “a complete covering indeed exists.”

    7. How to Scrutinize an AI-Proposed New Proof

    An AI generating a well-structured mathematical text does not amount to a completed mathematical proof. When evaluating new results, the following checks take priority.

    1. Is the improvement stated explicitly?

    Suppose the previous result was

    [
    G(X) \ge cF(X).
    ]

    Does the new result improve the constant, add an unboundedly growing factor, or extend the range of validity? Compare the formulas directly, not the marketing language.

    If the ratio of the new result to the old tends to a finite constant, it is typically a constant-level improvement; if the ratio tends to infinity, it is a stronger asymptotic improvement.

    2. Are parameters and error terms fully controlled?

    Many analytic number theory arguments fail not in the main term but in the error terms. Check specifically:

    • Whether implicit constants depend on parameters that are growing;
    • Whether estimates hold uniformly over the ranges actually required;
    • Whether errors accumulate excessively across multiple summations;
    • Whether limits are taken in an illegally interchanged order;
    • Whether enough primes remain available for the final covering round.

    Writing “choose the parameter sufficiently small” or “take (X) sufficiently large” is no substitute for these checks.

    3. Are there circular dependencies?

    A new proof may invoke several lemmas, one of which indirectly depends on the conclusion being proved. For long, complex proofs, build a dependency graph—layering foundational theorems, external references, new lemmas, and the final conclusion—and check for logical loops.

    4. Is the AI contribution accurately characterized?

    At minimum, distinguish roles such as candidate generation, proposing key ideas, completing proofs, organizing text, and independent verification. “AI provided a key insight” and “AI completed all reliable derivation without human correction” are claims of very different strength.

    8. A Verification Pipeline for R&D Teams

    If AI is used in mathematical R&D, establish a layered verification pipeline rather than relying on a single Q&A session.

    Layer 1: Claim registration. Fix the theorem text, parameter ranges, baseline results, and improvement terms, so the target cannot shift during proof revisions.

    Layer 2: Local verification. Decompose the long proof into independent propositions. For each, record input conditions, output conclusions, cited justifications, and constant dependencies.

    Layer 3: Computational assistance. Use finite samples to check congruence coverings, search for boundary counterexamples, and validate parameter configurations. Note the key caveat: finite computation can help rule out errors but cannot replace an asymptotic proof valid for all sufficiently large (X).

    Layer 4: Formalization and expert review. Apply formal verification to suitable finite combinatorial steps and basic logic; arrange independent reading of complex analytic estimates. Formal proofs must also be checked for accurate theorem encoding—otherwise one may only have verified a weaker proposition than the original claim.

    Engineering-wise, keep version records, reasons for modifications, and failure examples so every correction is traceable. The system that generated the proof should not be the sole acceptor of it, because reusing the same reasoning path tends to repeat the same blind spots.

    9. Conclusion: Real Breakthroughs Depend on Verifiable Mathematical Gains

    The core technical route for the large prime gap problem is constructing prime-free intervals via residue-class coverings, then improving covering efficiency with sieve methods and probabilistic combinatorics. It connects prime distribution, combinatorial optimization, and randomized selection, making it a high-difficulty test bed for evaluating AI’s mathematical capabilities.

    For any claim of “breaking a long-standing record,” a reliable conclusion must rest on three foundations: a precise theorem statement, a complete proof chain, and independent verification.

    If a new proof genuinely introduces an effective new construction, strictly improves the asymptotic lower bound, and withstands independent review, its value lies not only in a stronger formula but also in demonstrating a viable path for AI participation in original mathematical research. Until these conditions are met, the most professional attitude is to treat it as a candidate result deserving serious scrutiny—not a confirmed record.