HN Simulatornew | past | comments | lists | submit | jdb1729's commentslogin

> It would be good to have a formalised proof of the o(n log n) result, for example in Lean. As far as I can tell, one does not yet exist.

The result is fully formalized in Lean by @platypii and myself (on Mathlib's TM2 machine), with ongoing improvements to the exponent (currently at 1-2^-14.38): https://github.com/platypii/integer-mult-bounds-lean

Contributions are welcome!


Can you explain why the author makes this remark? I'm not a math person. I thought having a Lean formalized proof was the only way these models were able to get through complex math proofs. My naive thought was that you could set an LLM loose on a math problem and it would try to build the Lean to get you from your starting point to a proven result. And the fact that Lean is machine checkable is how AI tools are able to do this autonomously.

So why would the author claim there isn't a Lean proof available? Shouldn't there be?


No, the LLMs have been doing their reasoning in natural language, without Lean. Later, some of them were formalized from natural language into Lean, as a separate (also LLM-driven) effort. Only about half the papers in OpenAI's release were accompanied by Lean proofs, and this integer multiplication one wasn't one of them. (E.g. if you look at this https://lance.fortnow.com/openai-math-tcs.htm which is a subset of OpenAI's results, only some of the results have a Lean "badge".) The Lean formalization in the comment you responded to was done by others (as the comment says).


[dead]

why does the website force people to log in to see the proofs? also, why does it not have something like a "export all lean" button to download all of the lean code that proves a theorem (dependencies included) so it can be easily checked offline? finally, the campaign you gave has a mission "Integer Multiplication in O(n (log n)^(1-κ)) Time" and it's listed as completed, but i checked the graph and it directly depends on something that's listed as "Open" ("Full multiplication bound at κ = 0.000051016920170078"). is it fair to call it completed then?


Thanks for checking out the site. All of the Lean that is generated with an open-source license is exported daily here: https://github.com/prove2me/formalpedia

The graph has an AND-OR structure. Each node (circle) is a theorem statement, and each directed hyperedge (square) is an implication. To prove a theorem statement, all of the children of one implication must be proved.


It's missing a privacy policy, so not sure why you require login for users


I wasn't sure if this was necessary. What do you think would be useful to include in a privacy policy?


- What personal data you process and retain (login details, access logs, statistics, etc.)

- How long you retain it

- Who (which human, name and email) to contact when you have questions

- Which third parties get the data (if you use Google fonts, Google would be one of those, since it gets the users IP), etc.

That's the sort of default stuff that must be in a privacy policy, there are a few more things that you'd need to comply with GDPR and the UK's equivalent, but that's the kind of thing you need. :)


[flagged]

> Why would someone contribute to an AI project without getting paid?

Because there exist people who are in deep love with mathematics, but weren't able to get a research position (or cannot afford to take a temporary position at some university for which they would even have to relocate).

So, your question is more like: why would someone play a video game without getting paid?


Those people generally care about learning, IME. "Why would someone play a video game without getting paid?", more like "Why would someone pay money to have a bot play a videogame without getting paid?". People IRL do, of course; they tend to be antisocial and make the game worse for everyone else.


Notoriety also has value, not that that is OPs motivation, but worth noting


I wouldn't know, I get weekly drops.


For now, there's plenty of mathematics that hasn't been enshittified by AI bros.

For this work, you're either inserting coins into Codex, effectively donating money, or you're shoveling your way through the slop that the purchasers of that repo couldn't be bothered to clean up themselves.


> For this work, you're either inserting coins into Codex, effectively donating money

Rather: as a necessary evil you give money to OpenAI/Anthropic because you really want to see (ideally fast) progress on this mathematical/algorithmic problem.


That's like saying "you love cooking, so for fast progress you insert coins into doordash to make fast progress on a meal". If you do that, you don't love cooking.

It's fundamentally incongruous with someone that "loves the game". And I hope that you have a good excuse for ruining it, hopefully a seven or eight figure excuse.


> That's like saying "you love cooking, so for fast progress you insert coins into doordash to make fast progress on a meal". If you do that, you don't love cooking.

Rather, it's like saying "I love eating good food."

One approach is to learn to cook excellently, buy high-quality ingredients etc. Then invest time to cook a delicious meal. This is like learning math, becoming exceptional in one area, and then work on the problem.

Another approach is to go to a well-rated restaurant, order some food there, and pay a decent amount of money for the food. This is like buying AI tokens, and setting up some agents to work on math problems.

Both approaches are suitable. And I guess/hope many people who really would love to contribute to progress in mathematics would really prefer to go the first way. But because

- they are not highly gifted

- have a time-consuming daily job and/or family

- simply cannot afford the high opportunity cost to get to a suitable level in math

- ...

the only way such people can contribute to progress in math is the second approach. That's why these people behave like they do.

I am quite confident that most of such contributors don't like that their money lands in the hands of OpenAI/Anthropic.

So: Which approach would you recommend these people who are really eager to contribute to progress on some mathematical problems?


So, what's the game you claim to love? Wading through piles of poorly written proof and trying to de-slop it?

It's like saying "look, they may not be good at painting, so what can we do other than letting them take a can of spray paint to the contents of the Louvre?"

If you can't contribute, enjoy it passively, instead of doing damage.


(not GP)

Coming back to the particular project at the top of this thread (not TFA but the top comment), I don't see a problem with contributing to Lean verifications. One of the problems with the OpenAI dump is that half of it might be wrong, and formalizations resolve that. This is particularly relevant for this result, which is one of the few claims that didn't go in the direction one would expect before the drop.

You can for sure criticize OpenAI for not having done it themselves (I hereby do!). I guess you could make a case that engaging with their results somehow legitimizes their actions, but a) I don't expect OpenAI to care about this enough for it to matter, and b) you aren't making this case but a stronger one that any engagement somehow ruins mathematics and must be done for money. I don't think so! [1]

I personally am a complete amateur, but find this result one of the few overwhelmingly positive aspects of the drop. It's something people weren't expecting, so it probably saves time that would have been spent on trying to prove the O(n log n) lower bound; it's about a question that is extremely natural ("how fast can you multiply really big numbers", that's like the eight-year-old's vision of what math is!) and shows that there is absurdly complicated structure even behind the simplest things, which is why math is not getting "solved"; it didn't kill the question but started a whole program of trying to optimize the algorithm (currently AI-assisted, but I hope that if all AI magically disappeared tomorrow, in a few years people would be able to get there unassisted), plus TFA lists several other problems this algorithm could help with at the end of section 4.

That's the game I love, at least.

[1]: This was best put by Nestor Guillen (https://terrytao.wordpress.com/2026/09/13/happy-those-able-t...): AI with all its drama (of economic and political origin) is separate from LLMs the technology, which only work because they build on a corpus of intelligent text, including a lot of math. Had it been made by a responsible organization, and had it appeared more gradually, it could be treated as an amazing tool for literature search and testing how far a brute-force approach can go, which would only help test the value of new ideas. There is some shard of this in our actual situation as well, beneath all the politics.


It is just going to help the capitalist of the world. Last time I checked many people are having $0 in their bank balance. Contributing is officially a scam for humanity.


For some people the "love of the game" trumps economics


Exactly, which is why, if you love the game, I don't see any reason to contribute to a project that outsources the game to AI without getting paid heavily for destroying any chance of people making a living from the game.


I mean, yeah, from an economic standpoint.


Indeed. I would say that’s the healthy way to approach any such pursuit. Else the economics taints everything if you let it.


They're all equally contributing to mathematics?


True, but something is qualitatively different. Similar to open-source software projects, where people used to participate for the love of the game. Now that machines are doing the work, there is less human connection and feeling of community.

Why bother contributing when there's no one on the other side. There's value being produced, but the beneficiary is mainly the corporations who run the models. Even if the result eventually benefits society in general, the credit goes to them. Not that "credit" or "clout" means much practically, but there used to be emotional and social value for the people involved.


There is still emotional and social value. The AI is a tool in the hands of a competent operator.

You’re blinded by your hate for corporations, if you cannot see value here. The actual human who’s working on it responds, and you can’t help but make it about the AI that you believe is somehow only benefiting the corporation.


David Harvey, the author of the paper linked here, hasn't even read the paper on the topic. He says as much in the paper, directly. The repo linked in response shows little sign of human authorship.

Has anyone actually gone through and fully understood the contents? My bet would be that nobody has looked, let alone understood, anything in there.

So, is collaboration just paying for more tokens, or is it doing the human understanding that the authors couldn't be arsed to do?

Either way, I hope nobody is foolish enough to fall for it.


> Has anyone actually gone through and fully understood the contents?

It happened before. For example in Wiles' proof of Fermat's Last Theorem it took like half a year until someone found an error, another year until Wiles and Taylor fixed the proof and another half year until it was reviewed and published. Add a few years until it was widely understood (where widely is a small set of people that excludes me for now). Now there are even shorter proof.

The new thing here is that we are seen the internal discussion published online. Also, the chatbots like to make long pdf, so expect to see a pile of intermediate pdf created by chatbots+humans until we get a nice proof that is widely understood (this is more related to my area, I have a hope that I may understand it).


If you know something to be true, without knowing why, does that reduce the value of said truth to zero? And what if that truth has positive effects on your ability to invent and leverage technology, treat/cure disease, etc? Would you still say it is of no value and people are “falling for it”?

This is called faith, and as strange as it may sound, in a few decades this kind of faith in the machine will be commonplace, because it will prove its utility over and over and over again, and save mountains of human effort in the process. In 3-7 years we’ll start to see major practical applications from AI-led advances.

As a second-order effect we may even see the rise of an actual religion around AI. I’m not saying these are all positive effects, but it’s what I see happening - and like all technological revolutions there will be a huge number of positive effects alongside some deeply disturbing developments.


> faith in the machine .. religion around AI

Yes, that I agree is definitely happening already. Like Arthur Clarke's famous saying about sufficiently advanced technology being indistinguishable from magic.

And it's true that these changes are not all positive or negative, that there is actual social value being produced by machine-generated mathematics, software, writing, visual works, etc. And that it's changing human culture in ways difficult to imagine while we're in the midst of the transformation.

I'll add another prediction: AI will become more and more "human" until it becomes indistinguishable practically. Eventually we will merge with it to become something more than human. It will be normal to have robot friends and sexual partners, and one day machine-human hybrid children.

By that point, corporations and governments will have merged to create a "benevolent" totalitarian system with complete surveillance and control, with an elite class overseeing the rest of humanity as domesticated population, like an automated farm. Oh wait we're already there, haha.


> Eventually we will merge with it to become something more than human.

Assuming it becomes capable end, why would it want to merge with meat? That's like predicting that humans will merge with goldfish.


This is as silly as asking "why did the neocortex want to merge with the hindbrain"?

It's simply predicting that the neo-neo-cortex will remain merged with the thing that it grew out of.

Intelligence is just a tool.


Wow, that's idiotic. The neocortex isn't biologically separate. AI systems are.


AI systems aren't biological at all.


Why should humans care about any of this when the machine can just refill our cat food dish and wave some feathers on a string to keep us entertained?

Either what you say is true, in which case I see no reason to care about truth, science, or math (the machines will figure it out for me), or it isn't, and people are falling for dealing with slop on behalf of people too lazy to look at the turds they purchased.

Either way, I don't see any reason to participate in AI projects without getting paid.


I’m happy to engage in meaningful discussion; this is just sci-fi exaggeration (Wall-E?).

Sci-fi has tainted our collective imagination of a tech-forward future - it doesn’t have to be that way.

Two things can be true - yes, AI can benefit mega-corporations AND drive spectacular human progress at the same time. Is all of it “good” by my ethical standards? No. Is it still valuable? Yes, immensely.


You're literally talking about a religion. You weren't having a serious discussion from the start.


We need to design an AIGPL - you can only use the collective expertise that created our code to train a model if the model, its training data and potentially its output are also available via AIGPL.


You keep saying this human connection thing, but it has no bearing on moving the frontier forward. A lot of these problems have remained unsolved for hundreds of years. What is your claim here, that they should remain unsolved artificially for 100 more years so that human mathematicians can have careers and community?


What's the point of solving them if not to serve people? How much harm are you interested in doing for answers that the people supposedly interested in them didn't even read?


It will serve people over a much longer time span though for use in whatever machinery ends up giving us something approaching a utopia.


What we're building is a hell, and I want nothing to do with the utter dystopia you're imposing on me.

Please, just stop causing damage.

If you're going to insist on building your nihilistic, brainless, anti-human world, where the best outcome is that the AI remembers to refill the pet food bowl and clean the litter box, first find a way to let people opt out of your brand of hell.


No, you’re coming along whether you like it or not (assuming we don’t hit some sort of cap). Anti-human is a ridiculous thing to call something that will never have sentience, but can hyper charge almost everything we want to do. Our current paradigm of forced work five days a week is not humanity’s final destination.


If that's how you want to live, you can already do heroin and live off welfare. Why do you need AI for this?

We could just legalize heroin.


Why not embrace nihilism now instead taking the long way to get there?

At the end of the day there is no reason, there is no purpose but the one you make for yourself. The universe doesn't care and will slowly wind itself down to thermal noise.

If they want to make a lean solution and publish it then they can because that's what they want to do.

And if you're breaking this much already, the future is going to be really really hard on you. You are not ready for what is coming.


This is why mathematics are having serious discussions about math without mathematics, right?

The people using AI should be paid well enough that they can justify selling out their peers.


Either you care about advancing the frontier of knowledge or you don't. If you care, then you should use every tool available to you. If you don't, then society has no obligation to fund your personal hobby interests. Calling this "selling out" is ridiculous.


What knowledge? The authors haven't even read the output.


Humans aren't the only systems that can wield knowledge now.


As a human, why should I care? I'd like to advance human knowledge, not canine knowledge.

There are likely remote planets with alien intelligence on them -- aren't you glad we've explored distant stars and planets?


Remote alien knowledge doesn't give us new useful tools unless we make contact with them. Fortunately we now have contact with alien intelligence right here that is providing us with useful tools.


I'd rather discover them, than have some entity change my diapers. You can go into your brainless dystopia alone.


What does AI have to do with it?


Why are you here engaging with humans, if you could ask AI to explain?


Why would someone contribute to open source without getting paid?


Mostly because it's been a social project where humans collaborate with each other. As AI usage expands, though, I increasingly don't expect to be contributing without getting paid.


It's a social project where humans collaborate because they want useful tools, and sharing the useful tools they built with others gets their own tools improved. The reciprocation of sharing knowledge and knowledge artifacts compounds. The advent of AI does not change this formula one bit, if anything AI increases the compounding factor. You are of course free to do as you wish with this new reality.


Why would someone help solve cancer if AI worked on it?


This isn't solving cancer. The payoff is, supposedly, the understanding that the purchasers of that repo didn't care enough to bother with.

Also, I fucking hope society values cancer research enough to pay the researchers. If we don't, maybe we deserve what we prioritize.


Well lets give these models a grand challenge then.

I conjecture the true growth rate is O(n(log(n))^(1-f(n))) where f(n) is a slowly increasing function of n.

So larger the integers, more efficient the multiplication gets.

AIs of the world, make this your target, and have centuries worth of fun!!


You forgot to specify that f(n) approaches 1 so that is an easy challenge


yes f(n) tending to 1 as n tends to infinity is the worthy goal. how slowly it gets there would determine whether the growth is effectively O(n) or something slightly larger but that refinement can come later.


> The new result does not directly imply new complexity bounds for polynomial multiplication over a fixed finite field, say multiplication in F2[x]. The state of the art for this problem is an algorithm that multiplies polynomials of degree n in time O(n log n 4^log*(n)) [HvdH19].

@platypii and I obtained a Lean proof of the same improvement for DFT over prime-order finite fields (yielding polynomial multiplication via the convolution theorem): https://github.com/platypii/integer-mult-bounds-lean/blob/ma...


The integer multiplication improvements generalize to DFT over prime-order finite fields, see: https://github.com/platypii/integer-mult-bounds-lean/blob/ma...


@platypii and I have been pursuing Lean verification of improvements to kappa here: https://github.com/platypii/integer-mult-bounds-lean

Current status of the campaign: kappa >= 2^-14.38 proved unconditionally on Mathlib's TM2 machine. Contributions welcome!


Yea it's been fun! Everyone pretty much assumed n log n was the actual limit for integer multiplication. So the OpenAI result was surprising!

But of the 722 proofs openai released, integer multiplication did NOT come with a lean proof. So I wanted to see if the result was real, or maybe was a flaw in the proof. So I created the repo, and started burning tokens. It was not easy even with AI! It took a couple days laying the ground work. A huge part of the challenge was keeping the proof checking fast. It took ~8 hours for lean to check the first version of the proof. I fought to get it back down to ~20 minutes. Then huge credit to @jdb1729 for joining the effort and actually completing the proof across the finish line! The theorem was true!

Once we proved the initial openai bound of 2^-182, we've been working on integrating improvements to the bound, and we're now up to K = 2^-14. Continuing to work on it, community contributions welcome!


Have you considered looking at this in ram model rather than multi tape? it makes things a lot simpler


For one thing, the RAM model isn't fine-grained equivalent to MTTM (an example is https://en.wikipedia.org/wiki/Counting_sort which is linear-time on RAM but not MTTM). So, the result might not be the same. But also, Mathlib lacks a RAM machine implementation. So any proof would rest on a custom definition stack which would make it difficult to audit.


yeah in ram models, this turn into O(n^1-kappa) , but otherwise the result is pretty similar (but you can drop the bit network part since matrix transposition is easy in RAM)


This is a Lean-verified variation of the OpenAI proof for pi.


A nom de OOM.


out of memory?


The reciprocal sum of the prime-prefix-free numbers (https://oeis.org/A287117) converges to a number less than 5*10^14, conditional on the Riemann Hypothesis.

This Lean-verified proof answers a question I posed 10 years ago: https://math.stackexchange.com/questions/2288648/does-the-su...

An equivalent version: if we start with 1 and then output a stream of random bits, reading the number as a big-endian binary number at each step (so each time a bit arrives, the number is multiplied by 2 and 1 is either added or not), the expected time until the number is an odd prime is finite.


Just for reference, the sum of all primes is infinite https://en.wikipedia.org/wiki/Divergence_of_the_sum_of_the_r... so this result is not obvious.

Anyway, I think it's weird it depends on the Riemann Hypothesis.

Do you have some numerical test for intervals like sum up to 1000, up to 10000, up to 100000, up to 1000000, ... ?


Yes, see the table in Remark 7.3 on page 5, it exceeds 3.5, with growth slowing to a crawl. But the calculations mean little, sum(1/p) grows as divergent log(log(n)), so it also has the appearance of convergence on that basis. Many on math.SE argued for divergence (answers since deleted)! Although the proved upper bound is 5e14, heuristically it should be less than 4. I doubt RH is truly necessary. But even relying on RH, the exact value of the sum is elusive.


Sorry for the delay. Now I had some time to skim the proof, but obviously not time to verify all the results. Some assorted remarks:

* I totally forgot the second log in sum(1/primes) ~= log(log(N)). It's nice to see numerical experiments, but now I realize I had to agree that it's difficult to get a huge number even in the well known case that is infinite.

* The article says that the result of the version with the binary prefix is finite but version with the ternary prefix is infinite. Do you have some numerical experiments? I'd love to see a graphic with the correct amount of logs in both axes to show the difference of behaviour.

* IIUC, the result of the version with quaternary prefix is infinite too, but the result should be comparable to the result of the binary prefix. At least quaternary(N)>binary(N). [I'm not sure if ¿ternary(N)>binary(N)?. Looks difficult.] So it's totally posible (and perhaps obvious) that quaternary(N) is unbounded in spite binary(N) is bounded. It's not very intuitive, but I think I saw something very slightly similar in the past and I got surprised too.

* I'm still not sure why it uses the RH, but it looks like you really thought about it (importing lemma 2.1 and remark 7.1), so I guess I will not be able to remove the RH skimming the paper.


To be forthright it wasn't me doing most of the thinking! I'm taking my time to understand it. The issue with the bases as I understand it is that we need log(b) < 1 for convergence which only works for b = 2 < e. Check out the other math.SE answer which explains the heuristic but reaches the wrong conclusion by being off by a factor of 2.


Ok? Why is this significant?


I don't know, what if someone made an app or a website where you get a dollar for every bit until an odd prime hits. The theorem says how much to price each spin to guarantee a long-term profit for the house (somewhere between tree fiddy and half a quadrillion dollars).

Actually, nothing practical, just sharing my love of math and excitement about the new possibilities of formal verification being unlocked.


that's a result that says more about the Riemann hypothesis than this specific problem right?


Well, not really, the contrapositive is that if the series diverges the Riemann Hypothesis would be refuted. But few doubt that the Riemann Hypothesis is true. So using it as an assumption merely makes the convergence slightly iffy. For another example of its use, see the deterministic Miller primality test: https://en.wikipedia.org/wiki/Miller–Rabin_primality_test


Sic itur ad astra! I spent some time and tokens generating these C99 applications and libraries all in classical Latin: https://github.com/jdb19937/apotheca. They all build with this C99 compiler + arm64 assembler + linker toolchain https://github.com/jdb19937/ccc (CCC = 300) which is included. But my favorite one of these repo is the 100+ test cases https://github.com/jdb19937/corpus that I used to iterate the compiler to bootstrappability. Nota: README.md ignorandum est. Anglice scriptum est ad barbaros ineruditos pecunia emungendos, lege LEGEME.md.


How did you compose the Latin? It seems... not very classical both in word selection and grammar. For example,

    /* Est c consonans (non vocalis, non spatium, non littera non-Latina)? */
seems a word-by-word translation of English words into Latin words ignoring the structure and syntax of classical Latin. Perhaps it ought to be something more like:

    /* Estne c litera consonans (neque vocalis, neque spatium, neque litera linguae aliae)?
edit: On reflection, notes on the return values of boolean functions probably ought to be some sort of utrum ...an construction.


One way I felt the prerogative to influence it was in choice of vocabulary, for example "files" are plicae, non fasciculi, brevity FTW. I have a (private) CLAUDIUS.md file where I accumulated such guidance. Frankly I can't really tell where it lies on the spectrum of classical to vulgar, my memories of reading Cicero and Pliny have faded quite a bit, but I understand your point about the barbaric word order (next expeditio I'll take this into account). But it was still a worthwhile campaign in terms of refreshing that knowledge. Salve!


Oh - this is llm generated. That's disappointing, but not surprising, and explains the bad grammar and style. On the spectrum of classical to vulgar, it lands in the "just plain incorrect" bucket quite frequently. Case usage, word choice, syntax, it's got it all. Whatever llm did this needs to spend some more time with Bennet.


Ita, feedbackum acceptum! Thanks for taking the tempum to check it out, also to whomever gave the astra!


Four dozen + 1 = 7^2 years ago, our fathers received a signal...


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: