A Rigorous Look at AI-Assisted Breakthroughs of the 3SUM Conjecture

    This article provides a rigorous analysis of claims that AI has broken the 3SUM and All-Pairs Shortest Path (APSP) conjectures. It clarifies the definitions of these problems, examines the differences between finding candidate structures and proving worst-case complexity bounds, and discusses the roles of exact triangles, dead code elimination, and matrix multiplication in these claims. Finally, it offers a practical checklist for evaluating AI-assisted breakthroughs in algorithmic complexity.

    1. Clarifying the Premise: Breakthrough Claims Are Not Confirmed Conclusions

    The original material presents a very strong claim: an AI system discovered a new algorithmic structure while researching cryptographic problems, thereby simultaneously breaking the classic complexity conjectures for both 3SUM and All-Pairs Shortest Path (APSP).

    If this conclusion undergoes rigorous verification, its theoretical significance would indeed be profound. However, it must be emphasized that while the original material includes the research process, specific complexity exponents, participant evaluations, and technical route inferences, it does not provide a complete proof that can be directly verified here. Therefore, the narrative cannot be directly rewritten as the established fact that “the relevant conjectures have been disproven.”

    It is especially important to distinguish between three levels:

    1. Discovering a candidate structure: The model generated an algorithm or algebraic expression that appears useful.
    2. Proving acceleration for special cases: The structure is effective under specific inputs, weight ranges, or computational models.
    3. Breaking the standard complexity conjecture: A complete algorithm covers the input range stipulated by the conjecture and possesses a strictly valid worst-case complexity upper bound.

    There is a substantial gap in proof between these three levels. The starting point for professional analysis should be verifying the problem definition, algorithm conditions, and proof chain, rather than first judging whether the discovery process is “smart enough.”

    2. What the 3SUM Conjecture Actually States

    1. The problem itself is not difficult to understand

    A common formulation of 3SUM is: given a set or sequence of (n) numbers, determine whether there exist elements at three distinct positions whose sum is zero:

    [
    a_i+a_j+a_k=0.
    ]

    Directly enumerating three positions requires a triple loop, resulting in a time complexity of (O(n^3)). Through classic methods like sorting and two-pointer techniques, the solving time can be reduced to (O(n^2)).

    The difficulty does not lie in whether it can be solved, but whether a stronger asymptotic improvement can be achieved under general conditions.

    2. “Truly sub-quadratic” has a strict meaning

    A truly sub-quadratic algorithm generally means that there exists a constant (\varepsilon>0), independent of the input size, such that the time complexity reaches:

    [
    O(n^{2-\varepsilon}).
    ]

    This must be distinguished from the following:

    [
    O\left(\frac{n^2}{\log n}\right).
    ]

    Although the latter is smaller than (n^2), it does not belong to the category of truly sub-quadratic in the sense of a fixed exponent saving. The core of fine-grained complexity discussions is often whether this fixed exponent saving exists.

    Furthermore, 3SUM does not have a single, unified conjecture formulation. Real-number inputs, integer inputs, integer bit-length limits, and the allowed machine operations all affect the conclusion. Claiming to have “disproven the 3SUM conjecture” requires first specifying which version has been disproven.

    3. A “counterexample” is more accurately an algorithmic refutation

    For this type of algorithmic complexity conjecture, refutation is usually not about finding a specific input, but rather constructing an algorithm that covers the stipulated input range and proving its running time breaks the conjecture’s boundary.

    The fact that certain inputs can be solved in linear time does not constitute a refutation of the worst-case conjecture. Only an algorithm that holds for the complete target input category carries the corresponding significance.

    3. Why All-Pairs Shortest Path Is Discussed Simultaneously

    The All-Pairs Shortest Path (APSP) problem requires calculating the shortest distance between all pairs of vertices in a graph. In typical dense graph discussions, the classic benchmark time is on the order of a cube.

    A truly sub-cubic algorithm generally means that there exists a fixed constant (\delta>0) such that the time complexity reaches:

    [
    O(n^{3-\delta}).
    ]

    However, this problem also requires specifying the conditions:

    • Whether the graph is directed or undirected;
    • Whether edge weights are integers or real numbers;
    • Whether the weight range is restricted;
    • Whether negative weight edges are allowed;
    • How negative weight cycles are handled;
    • Whether the algorithm is exact or approximate;
    • What computational model is used.

    For example, a specific acceleration result on unweighted graphs cannot be automatically extended to a breakthrough on general weighted graphs. Progress in approximate shortest paths also cannot directly refute conjectures related to exact shortest paths.

    Therefore, the statement that “both problems were broken simultaneously” cannot be established by a simple reduction relationship; it is necessary to check whether the new algorithm covers the instances ultimately generated by each reduction.

    4. Why Exact Triangles Might Be the Connection Point

    1. First, distinguish between three different problems

    The term “triangle problem” can easily obscure key differences.

    Standard triangle detection focuses on whether there are three vertices in a graph that are pairwise connected.

    Exact-weight triangle problem typically focuses on whether there exists a triangle satisfying a specific weight equation, such as:

    [
    w(u,v)+w(v,z)+w(z,u)=0.
    ]

    Negative-weight triangle problem focuses on whether the sum of the above weights is less than zero.

    These three have different determination conditions. Faster standard triangle detection does not mean that the exact-weight triangle will also become faster in the same way; the argument cannot be omitted between exact equation determination and size comparison.

    2. A common reduction target does not mean automatic complexity equivalence

    Assuming two problems can both be reduced to a third problem, improving the algorithm for the third problem could indeed advance the first two.

    However, the actual complexity depends on the reduction parameters. Assuming an original problem of size (n) is converted into (q(n)) instances of size at most (N(n)), and the target algorithm’s complexity is (T(N)), the total time requires at least the following analysis:

    [
    T{\text{total}}(n)
    =
    T
    {\text{reduce}}(n)
    +
    q(n)\cdot T(N(n)).
    ]

    If the reduction causes scale expansion, or requires calling a large number of subroutines, the local savings might be completely offset.

    Therefore, the rigorous statement should be: only when the reduction preserves sufficient exponent savings can a new algorithm translate into a true acceleration for the original problem.

    This also means that summarizing multiple classic conjectures as “actually only one remains” is usually an oversimplification. Reduction directions, randomness, weight restrictions, and parameter losses cannot be omitted.

    5. Can Dead Code Elimination Lead to Major Theoretical Breakthroughs?

    1. Its meaning in program optimization

    Dead code elimination is a common optimization concept: removing computations that do not affect the final output.

    For example:

    1. p = F(input)
    2. q = G(input)
    3. return p

    If the execution of G has no side effects affecting the output, then q makes no contribution to the result and can be deleted.

    However, in algorithmic complexity research, the focus is not on how much computation is reduced in a single run, but on whether the number of operations can be uniformly reduced for a family of inputs of arbitrary size.

    2. Deleting a finite number of redundant steps does not equal lowering the complexity exponent

    If the original algorithm executes:

    [
    3n^2+10n
    ]

    basic operations, and after optimization becomes:

    [
    n^2+2n,
    ]

    its asymptotic complexity is still (O(n^2)).

    To achieve a truly sub-quadratic improvement, it must be proven that the number of remaining operations does not exceed:

    [
    O(n^{2-\varepsilon}).
    ]

    Therefore, “finding a large number of useless intermediate variables” is only the starting point of research. The true difficulty lies in proving that these intermediate variables can be uniformly identified and deleted, and that the remaining computations are still sufficient to obtain all target outputs.

    3. The structure of partial outputs might be crucial

    Algebraic algorithms often compute a large number of results at once. If an application only requires a subset of the outputs, there might be an opportunity to prune the computational structure.

    However, the following questions must be answered:

    • Do the unneeded outputs really correspond to deletable independent computations?
    • Are these intermediate results simultaneously shared by necessary outputs?
    • Does pruning introduce other reconstruction costs?
    • Has the cost of identifying deletable parts been accounted for?
    • Does this structure hold for all recursive levels and all input sizes?

    If a simple rule can solve these problems and bring strict exponent improvements, then the simplicity of the method might actually be an advantage. One should not conclude that the research is “valueless” just because the final proof is short.

    6. Matrix Multiplication Acceleration Cannot Directly Replace Shortest Path Algorithms

    Matrix multiplication is another concept easily misused in related discussions.

    Standard matrix multiplication computes:

    [
    C{ij}=\sum_k A{ik}B_{kj}.
    ]

    The distance product in shortest paths has a different form:

    [
    D{ij}=\min_k(A{ik}+B_{kj}).
    ]

    The operation structures used in both are different. Acceleration in standard algebraic matrix multiplication cannot be directly applied to distance products with arbitrary weights.

    Certain algorithms can establish connections through encoding, grouping, randomization, or special weight conditions, but these conversions all come with costs. For example, after encoding weights as polynomial degrees, the polynomial length might grow with the weight range; after encoding integers into large numbers, the bit complexity of a single operation might also increase significantly.

    Therefore, when checking results related to rectangular matrix multiplication, the focus should be on verifying:

    1. What algebraic object is actually being computed;
    2. What proportional relationship exists between matrix dimensions;
    3. What constraints are imposed on coefficients or weight ranges;
    4. Whether there are hidden bit-length costs beyond operation counts;
    5. Whether fixed exponent savings are still preserved after converting back to the graph problem.

    7. How Should We Evaluate AI Participation in Research?

    1. The research process cannot replace mathematical proof

    The amount of text generated or the number of trial rounds conducted by a model can reflect resource investment, but it cannot prove algorithmic correctness.

    Similarly, “verifying safety first, then turning to find attack algorithms” is a reasonable research path, but this narrative process alone cannot support the final complexity conclusion.

    To evaluate the AI’s contribution, we can separately examine whether it:

    • Proposed candidate structures not previously considered;
    • Found key flaws in erroneous proofs;
    • Automatically constructed valid small-scale instances;
    • Helped complete a general proof;
    • Formed a reviewable research record.

    These are all valuable contributions, but they should not be conflated with “the model independently solved the entire problem.”

    2. Average-case breakthroughs cannot naturally upgrade to worst-case breakthroughs

    Hardness assumptions in cryptography are often related to specific input distributions. An algorithm performing well on a certain random distribution does not mean it can quickly solve all inputs.

    Moving from an average-case conclusion to a worst-case conclusion requires additional argumentation, such as explicit reductions or algorithmic analysis covering all inputs. Otherwise, it can at most indicate that the security basis under a certain distribution is challenged.

    3. Simple methods and easy discoveries are not the same thing

    The value of a research outcome should be determined by its conclusion and proof, not by the length of the formula.

    A short observation, if it can uniformly handle structures that were previously difficult to deal with, might be highly significant. Conversely, a complex, computationally intensive, and narratively striking process might ultimately fail to produce a valid new theorem.

    8. A Practical Checklist for Verifying Such Breakthroughs

    When facing news of “AI disproving classic conjectures,” one can review in the following order.

    Step 1: Verify the research object.
    Clarify the problem definition, input range, computational model, and target complexity to avoid extending special-version results to general versions.

    Step 2: Verify the complete algorithm.
    Check whether input processing, core computation, result recovery, and edge cases are all explained, rather than just showcasing a localized trick.

    Step 3: Recalculate the total complexity.
    Include preprocessing, reductions, repeated calls, randomized trials, bit operations, and output costs to confirm that exponent savings do not disappear in peripheral stages.

    Step 4: Distinguish experimental evidence from general proofs.
    Small-scale exhaustive searches can find errors and test candidate forms of algebraic identities, but cannot alone prove validity at arbitrary scales.

    Step 5: Check randomness and success rates.
    If the algorithm uses randomization, the error type, success probability, and the repetition cost required to improve reliability should be clarified.

    Step 6: Wait for independent review.
    Author explanations, public discussions, and independent verifications all play a role. Credibility comes from checkable arguments, not participant identity or viral spread.

    9. Conclusion: Neither Declare Victory Early Nor Dismiss Value Rashly

    Regarding the breakthrough claims surrounding 3SUM and APSP, the most noteworthy aspect is not “whether AI only used a simple trick,” but whether this trick can form an algorithm that covers the standard input range, has a complete complexity analysis, and is independently verifiable.

    If a strictly valid truly sub-quadratic or truly sub-cubic algorithm ultimately exists, then even if the exponent improvement is small and the proof method is very concise, it will still have significant theoretical implications. Existing conditional lower bounds would need to be re-evaluated accordingly, but this does not mean that related research is entirely invalid, nor does it mean that these problems immediately possess practical ultra-fast solutions.

    If the claims have not yet been verified, expressions like “candidate result” or “pending confirmation” should be retained. True professional technical judgment involves breaking down the research narrative into verifiable problem definitions, reduction relationships, algorithmic steps, and complexity proofs, and then discussing what the AI actually contributed based on that.