VibeMathedMath problems solved with AI

Single-source shortest paths in undirected real-weighted graphs: toward linear time

In the comparison-addition model, where edge lengths are real numbers that can only be added and compared, how fast can single-source shortest paths be computed in an undirected graph with nn vertices, mm edges and nonnegative real edge lengths? Dijkstra's algorithm with Fibonacci heaps (Fredman and Tarjan, 1987) takes O(m+nlog⁡n)O(m+n\log n); Thorup (1999) gave linear time for integer weights on the word RAM; Pettie and Ramachandran (2005) gave O(mα(m,n)+min⁡{nlog⁡n,nlog⁡log⁡r})O(m\alpha(m,n)+\min\{n\log n, n\log\log r\}), with rr the ratio of edge lengths; Duan, Mao, Shu and Yin (2023) gave O(mlog⁡nlog⁡log⁡n)O(m\sqrt{\log n\log\log n}), the first bound below sorting for sparse graphs. Is linear time O(m+n)O(m+n) achievable?

Result
Proved(see note)
Status
Partial result
AI contribution
AI-assisted
Method
Construction
Field
Algorithms; shortest paths in the comparison-addition model
Posed by
—
Year posed
—
Years open
—
Solved
2026-11-25
Model
GPT-6.2 Astra; GPT-6 Astra; Gemini Neon; GPT Sol
Vendor
OpenAI; Google
Collaborators
Iman Gholami, MohammadTaghi Hajiaghayi
Verification
Unreviewed
Publication
Preprint
Significance
30 / 100
Disclosed cost
—
Wikipedia
No dedicated article

What was actually shown

Theorem 1 gives a Las Vegas algorithm for adjacency-list undirected multigraphs with nonnegative real edge lengths: for each input it terminates almost surely, runs in expected time O(m+nlog⁡log⁡log⁡n)O(m+n\log\log\log n) over its internal randomness, and every terminating run returns exact distances and a shortest-path tree on the reachable vertices. The bound does not depend on the ratio of edge lengths. Sampled distances on a smaller graph of pivots certify short detours and are used only for scheduling; the output is computed in the original metric. The bound is linear when m=Ω(nlog⁡log⁡log⁡n)m=\Omega(n\log\log\log n), but for m=Θ(n)m=\Theta(n) it is O(nlog⁡log⁡log⁡n)O(n\log\log\log n), so the linear-time question remains open for sparse graphs.

What the AI did

Per the paper's AI Acknowledgement: OpenAI's GPT Astra 6.2 and GPT Astra 6 assisted with the development of some proofs and with drafting and exposition, and Gemini Neon and GPT Sol assisted with the writing. Responsibility for correctness and the final content rests with the authors. The paper does not say which proofs, or which parts of the Lean development, were AI-produced.

Verification

No independent mathematician has checked this yet. Read here on 29 November 2026: arXiv 2611.34911v1 by Iman Gholami and MohammadTaghi Hajiaghayi (Theorem 1, model, related work, AI acknowledgement) and the Lean repository igholami/sssp-lean at commit 8efc3d9. GitHub Actions run 45682874787 on that commit passed the build and the authors' axiom audit. The headline SSSP.paper_main gives a finite constant C such that for every multigraph and source every supported outcome returns exact distances and a shortest-path tree, and the expected recorded cost is at most C(m+nτ(n))C(m+n\tau(n)) with τ(n)=1+log⁡2log⁡2log⁡2(n+16)\tau(n)=1+\log_2\log_2\log_2(n+16). A grep found no sorry, native_decide or unsafe code, but two axiom declarations asserting linear-preprocessing, constant-query LCA and level-ancestor structures (Bender and Farach-Colton). In the trace model a pure step costs nothing, so the cost half depends on the modelled algorithm emitting all its operations, which was not audited. Not rebuilt here. Unreviewed because the headline depends on these two axioms.

Sources

Submitted by VibeGene on

Changelog2 changes

Discussion