NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Subquadratic 3SUM and Subcubic APSP (arxiv.org)
djoldman 5 hours ago [-]
> Claude, an AI model developed by Anthropic, discovered the algorithm that refutes the 3SUM, APSP, and Exact Triangle hypotheses. The authors then worked to understand, simplify, strengthen, and extend the algorithm, derive additional consequences, and make the presentation accessible. See “Acknowledgments and Methodology” for how the result was found and shared with the authors. The authors take full responsibility for this paper.

> Claude also verified this paper’s main results using the Lean 4 proof assistant with the Mathlib library.

dcre 5 hours ago [-]
The version in the acknowledgements is the one you want:

> An Anthropic employee used an internal research model to investigate open problems in the theory of cryptography. One of them was about cryptographic constructions based on the average-case hardness of Zero-k-Clique [LLV19, AHY25]. Claude was tasked with verifying and improving the constructions, but instead developed this algorithm, first for the average case, then for the worst case. The session used 16M output tokens with no human input.

> Anthropic shared the algorithm with the authors in September 2026 under a confidentiality agreement, offered compensation, and provided access to the public version of Claude.

vatsachak 4 hours ago [-]
As a former mathematician, I'm kind of over them using the LLM for math. we know it works. I want them pointed at "data construction", like being libraries, theories and experiments. But I guess they are deduction machines and there is a lot of low hanging fruit with superhuman deduction in math.
dgacmu 2 hours ago [-]
It feels different to me from the CS side - this paper in particular feels likely to open up new research instead of closing it off, and I find that really exciting and a worthwhile use of AI. Showing that there's a (completely impractical but who's counting) algorithm better than the previously hypothesized lower bounds seems like the kind of thing that will inspire a scramble to keep beating it (and figure out the true lower bound). I give this one a thumbs up.
vatsachak 1 hours ago [-]
Yeah but at least IMO TCS has little to do with real world optimization. Real world optimization uses the easiest possible algorithms with very simple ideas like min-cut flows.
jey 3 hours ago [-]
> As a former mathematician, I'm kind of over them using the LLM for math.

As a non-mathematician who sometimes works on mathematical problems, I find this really puzzling. Why aren't mathematicians excited about the frontiers being unlocked by AI? The ability to discover more of the mathematical universe more readily?

aleph_minus_one 48 minutes ago [-]
> Why aren't mathematicians excited about the frontiers being unlocked by AI?

For the mathematicians who still are in academia: I guess because the competition for research positions (in particular permanent ones) is already insane; they probably feel that AI makes this kind of competition even worse.

vatsachak 3 hours ago [-]
I am not representative of all mathematicians and I definitely use LLMs to snag problems I couldn't in my previous life. But we now know that they are good at math.

I want lower energy bills, lower rent, better understanding of health etc. more than I want theorems.

PhunkyPhil 2 hours ago [-]
> I want lower energy bills, lower rent, better understanding of health etc. more than I want theorems.

These efforts aren't mutually exclusive. I hate to be snide, but a lot of people would criticize you for being a mathematician because they want lower energy bills, lower rent, better understanding of health etc

rowanG077 2 hours ago [-]
The interesting thing isn't that we now know they can do math. The interesting is that these problems now can be trivially solved.

The value of LLM is not "Ha curious look what it can do". It's not entertainment.

warkdarrior 3 hours ago [-]
Because the whole field relies on reputation, and there is a view that using AI to help your research is not good for your reputation.
kevinwang 5 hours ago [-]
Wow, can anyone give the TCS community context on this? Would most people have thought these to be possible, to be impossible, or would most people not have thought about this before?
wrsh07 3 hours ago [-]
Nobody thought this was possible.

3sum hard was colloquially considered to be >= n^2

It's an absolutely unbelievable result! (Personally, this is more meaningful to me than Navier Stokes and feels more surprising - not that an agent did it but the result itself is extremely surprising!)

remywang 3 hours ago [-]
3SUM is (was?) one of the key conjectures in fine-grained complexity, mostly used to derive lower bounds for other problems. As such, most did not think a subquadratic algorithm was possible. Similar for APSP
sigbottle 3 hours ago [-]
But from what I understand this doesn't refute SETH, no?
aleph_minus_one 46 minutes ago [-]
> But from what I understand this doesn't refute SETH, no?

SETH: Strong Exponential Time Hypothesis

See https://en.wikipedia.org/w/index.php?title=Exponential_time_...

p11p 2 hours ago [-]
No it does not.
these 4 hours ago [-]
Is n to the 1.9992 practically speaking subquadratic? Technically, yes, but is there a practically useful result here?
itishappy 4 hours ago [-]
> A galactic algorithm is an algorithm with record-breaking theoretical (asymptotic) performance, but which is not used due to practical constraints. Typical reasons are that the performance gains only appear for problems that are so large they never occur, or the algorithm's complexity outweighs a relatively small gain in real-world performance. Galactic algorithms were so named by Richard Lipton and Ken Regan, because they will never be used on any data sets on Earth.

https://en.wikipedia.org/wiki/Galactic_algorithm

Rudybega 2 hours ago [-]
It's more that it demonstrates that it's possible at all. We now know that the floor isn't an exponent of 2, which makes pursuing further improvements way more valuable.
blovescoffee 4 hours ago [-]
Yes because now it opens the door for future algorithms to chip away at that exponent where as in the past it may have seemed that an exponent of 2 was the floor.
ChrisArchitect 3 hours ago [-]
nialv7 43 minutes ago [-]
Holy crap, this is huge if it is correct.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 20:24:08 GMT+0000 (Coordinated Universal Time) with Vercel.