r/BetterOffline
•
u/ksjdragon
•
Oct 07 '26
•
1
1
Navier-Stokes lost in translation: Why Lean verification of AI autoformalisation does not guarantee correct natural language proofs
The following paper formalizes a few things about autoformalization of proofs, as I have talked about recently in a few comments.
Since these so-called "mathematicians," and boosters are in the comments like to make lots of nonsensical claims, here's a real claim, about AI proofs. If there are any mathematicians or theoretical computer scientists here, I think they will gladly appreciate this paper, but I will summarize it and state some key points.
We will start with some preliminaries. In line with the authors, NL refers to "natural language" - what we typically write in papers. Lean refers a formal verification language created by Microsoft. Formal verification languages come from the Curry-Howard isomorphism that shows all programs can be interpreted as proofs, and so a program which compiles correctly is equivalent to proving some statement. To this end, when we say something is "proved" or "translated" in Lean, what we mean to say is there exists Lean code that compiles without errors.
First, the paper gives two definitions of AI math tasks, which we refer to generally as "autoformalization"
Translating a NL alleged proof into formal Lean code.
- A non-verified NL proof can be converted into compilable Lean to promote its veracity. However, even if this succeeds, this does not guarantee the original proof is correct due to semantic ambiguity.
Faithful translation of a mathematical text into Lean.
- Every definition, theorem, etc. from any mathematical text (ex. book or paper) can be converted to Lean to validate it.
The paper goes in depth into specific examples AI has with these, and also the hardness of these problems. In general for the scope of the paper, "hardness" refers to computability theory, about the fundamental decidability of things with programs at all. The related concepts here are the Solvability Complexity Index and the Turing degree. A famous example of unsolvability of the first degree is the halting problem, where it was proved (by Turing) that no such general algorithm can solve this problem. Generalizations, comparisons, and extensions of this was used to talk about unsolvability, and the authors use this here.
Wrong Translations and Wrong Proofs
The authors go to list some basic examples of ChatGPT-6 (Astra Ultra) to translate extremely basic proofs (high-school or undergraduate level) incorrectly. They give the following examples:
- It translates an incorrect proof in natural language into something that isn't stated which compiles.
- It will translate the original statement into an entirely different question in Lean, which compiles. Therefore, the Lean compiles, but it has nothing to do with the statement.
Therefore, any conversion of NL mathematical text through LLMs are unable provide any veracity whatsoever. There are a few other failure modes, because there is no relation between the original text, and what the LLM has generated.
The fundamental problem is that it requires AI to translate correctly the given statement into formal Lean. However not only is this impossible with LLMs, this problem is as the authors proved strictly harder than the halting problem. In other words, there exists no general algorithm to translate any given mathematical text into formal Lean. Unfortunately, the AI folks have not studied up on computability theory.
Mistakes in OpenAI Navier-Stokes Lean Proof
The authors continue to point out several mistakes in OpenAI's lean code of Navier-Stokes problem compared with the text they provided.


These are problems of translations of proofs into Lean. However, there are examples where both the statement as well as the proof are mistranslated. In this example, the discrepancy in Lean causes later cancellation to fail in a proof later.

There are numerous other examples of discrepancies, which allows us to conclude that there is no verification of the proof at all. While we cannot formally make the claim that the paper is therefore false, I could make a separate argument that it is certainly of probability zero that the text proof is correct if the Lean was unable to be translated correctly. The reasoning would simply be that there is no correlation between logically correct sequences of tokens in token space for arbitrary sequences of tokens.
These give us strong lessons to the rest of the so-called "proofs" any of these AI labs release. Not only are they filled with translation mistakes, which shatter any and all veracity of the proofs, OpenAI has been clearly deceptive in their release, by not releasing the prompts in full, not giving full insight into how it was done, and instead dumping a load of absolute junk onto the mathematical community. In fact, the fact that they cited collaboration Advisory Group on Mathematics is complete and utter nonsense which the group themselves refuted immediately:
Mathematicians did not ask for this work to be done. The Advisory Group on Mathematics and Artificial Intelligence, from whom OpenAI has claimed to derive its legitimacy, opened their initial advisory statement by saying that frontier AI corporations should not test advanced mathematical problems on internal models. In ignoring the central premise of the Advisory Group’s position, OpenAI has indicated total disregard for the norms of scientific research
Further Errors with Lean Autoformalization
The authors go on to prove that there exists no autoformalizer that can determine a hypothetical statement they provide, and as shown before, makes this problem strictly harder than the halting problem. That means, even if an AI could solve the halting problem, which is impossible, general autoformalization still is not possible. The authors go on to give some anecdotes about Meta's autoformalization of textbooks earlier this year.

These show without a doubt that LLMs are, as usual in every other field, simply unable to produce good work, and especially in a field where accuracy is extremely important. This is not a poorly-designed React website which can be put together in millions of ways. And even then, the consensus is that software engineers need to have the knowledge and wherewithal to detect errors and guide LLMs to even make them useful.
My Own Anecdotes
I have used LLMs to attempt to prove things, and I've seen some proofs made by them. I can say they all suffer from these problems, at any level. They can easily drag you into a unproductive rabbit hole, make mistakes, and randomly acknowledge or not acknowledge them. in fact, for any sufficiently complex example, by tweaking my next prompt, I can always get LLMs to respond any which way I want it, true or false.
I'll share an example of a specific AI proof I have come across, as I have insight into it, and my reaction to it. I have to say that it has only solidified my position on their poor ideas. The one in question is the Thomson problem for seven electrons. Of course, the solution was computationally known already, but it apparently, was unproved.
Many such small results are supposedly proved by AI, but I can say that in this example, a proof of this would not be worth a paper, and certainly not in the manner it was done. Perhaps at best, a discussion at a talk if the methodology of the proof was connected to a broader problem (it was not). The AI proof consisted of 17,000 lines of Lean, establishing many bounds and eliminating possible candidate solutions, through a long winded argument, but this is a terrible methodology which provides no insight into the general Thomson problem for arbitrary N. Such a proof is worthless and I can't imagine ever being published, and from what we see above, probably incorrect.
I was quite surprised to see that this wasn't already proved, and I imagine many mathematicians will see the same for many such problems AI are "solving." Nobody has the full scope of literature memorized. In fact, given my previous work on soft packing, I am confident we can establish far better analysis for the general Thomson problem and proving N=7 would actually be extremely trivial given theorems I have worked on, and not require 17,000 lines of Lean, instead relying on nicer symmetric arguments and convexity of the space.
If you are a mathematician, I cannot emphasize enough that you are being lied to. You are being conned, disrespected and made a fool of by people at OpenAI and anyone who believes in this fraudulent technology. There are a significant number of individuals that are being paid great amounts of money to do marketing for these companies, and why wouldn't they? Mathematics has never been a rich field.
I'm deeply grateful to the authors of this paper, and I can only hope that more of such work will continue to stop an unprecedented level of fraudulent and criminal behavior. What we can say is that the vast majority of these proofs frontier labs will release, and ever release will be necessarily indecipherable, shoddy, and simply incorrect slop that serves to burden the already small power academics have in society.
58
u/DragonflyOk9274 Oct 08 '26
Unfortunately in the math subreddits we have the doomers (math is destroyed!) and the boosters (this solves everything in math!) and it makes discussion difficult.
In my opinion math will go through something similar to what happened in programming. At first you're amazed because it can write syntactically correct code! Your expectations are so low that you are amazed.
In my case it was with the chatbots. After a few weeks though, I started to really doubt its results and realized I was faster on my own, only using the chatbots to search.
Later we had the IDE integration. But again you quickly realize it just gets in the way. My company had a subscription so that VSCode would "autocomplete". I didn't want it because (1) it usually suggested something I didn't want, (2) it broke flow, and (3) it was WAY slower than standard intellisense. (Like: from 100ms to 10,000ms).
But everything changed with the coding agents era, because now it could "write code" entirely on its own. You would type in text, and you'd get out a functioning program:
natural language -> LLM magic (code!) -> working program
This is where things really broke down in software. Now, the "input" is natural language, and either because people wanted natural language interfaces or because the LLM developers realized that people trusted it more -- the default went from "code" to "specs". (This was the first phase of "LLMs are just another layer of abstraction!" nonsense). Because it seemed like it worked, and because the code was complex (i.e. overcomplicated), some people stopped reading the code.
But hidden in the language was imprecision. My coworkers were not discussing how to implement the feature or what code to write, they were discussing what they wanted -- all prose. But given (1) prose is imprecise, and (2) LLM prose is incomprehensible, the result is that humans would type in "what they wanted", receive a bunch of gibberish from the LLM, "approve the plan", and then submit a PR. Over time my teammates trusted it more and more because it "could code better than they could" (no joke, things that people actually said), resulting in an "incomprehensibility spiral": more LLM code turns the code to slop, which makes it harder for humans to understand, which pushes people to use more LLMs, which makes it more slop, and so on.
The running joke is now nobody knows what the code does, and when they try to find out they let LLMs describe it to them. Some senior and principal devs at least know what to push back on and can detect when they're getting BS, but that's not always the case.
I think the same thing might happen to mathematics: in 2026 people using LLMs for math primarily do so through chatbots, and so the feedback loop is smaller because they get LaTeX equations back and can detect when things are not right. Some may realize that ChatGPT/Claude is really good at making you think it's right, but if you push back you may get it to change course (maybe too much?). Some may get turned off -- realize that their notes/papers/books are a better, more reliable source -- but others may start to believe it and instead of thinking the chatbot is wrong, think that they're wrong.
What happens when lean takes over? Writing Lean yourself is great (I have written TLA for software before, and it really makes you think). Letting LLMs write it is the exact opposite -- rather than working through a hard problem and writing it in the most logical, precise way possible, you just let the LLMs do whatever. Writing TLA by hand is hard, think: an hour or more for 100 lines, depending on the problem. But the LLM can do this in minutes, and I'm not sure people will pick up the same understanding if they don't write it themselves. The problem is that the LLMs may make mistakes, and given most peoples' inexperience with Lean they would not immediately detect it. Further, LLMs often reinterpret what you're asking for, or forget, or do their own thing. (They're like politicians who answer the question they wanted rather than the one they asked).
Unfortunately, discussing this is difficult because a lot of people are in shock and worry about their future. The only thing I can say is that OpenAI is not publishing these results because they care about helping humanity or because they're really interested in math or physics, but because it's great marketing. That incentive alone is enough to doubt the results. And, given the false predictions they made about how AI would affect software developers, the productivity gains that never materialized, or the unemployment that never came, it may be worth avoiding freaking about these math results.
26
u/PensiveinNJ Oct 07 '26
I'm curious what you think of the mathematicians who work with OpenAI/Anthropic to help guide the "agentic" process. People are like but money, but I know if I looked at someone else in the humanities and they were assisting with this kind of bullshit and they went but money I wouldn't accept that as a permissable reason to work with them.
25
u/soulfood_md Oct 08 '26 edited Oct 08 '26
I had a suspicion that the AI proofs in mathematics were fraudulent, for the same reason that AI is not able to prove that its solutions to arbitrarily complex coding problems are correct. To explain, for programming, the proof of accuracy for any non-trivial problem is not actually a technical problem, but a human one; English is not a formal language, and thus translating human requirements to computer code is an insoluble problem, only mitigated by the fact that a human is able to take accountability for whether a program meets a person's requirements. (The end goal of the AI companies is to make software developers merely warm bodies that can assume legal liability when their systems fail). I'm guessing there may be something similar here when it comes to translating the requirements of a mathematical problem to a formal language, and may coincide with the fact that the value of solving these math problems is largely in the new methodologies that are discovered along the way, not in the solutions. I'll take a deeper look at this, as there's a lot of hype around AI in mathematics, and so it's nice to know that my suspicions were correct. Thanks for sharing!
18
u/BussyBuoy Oct 08 '26
Damn my guy, I remember when you posted about how AI profitability is mathematically impossible. You were even incredibly generous with the financial presumptions you gave to them while providing instances of technological advancements and it still would be unprofitable. Gotta say, I am a long time lurker but I have seen your name around the subreddit (comments and stuff - that kinda sounds creepy af?). Just wanna say thanks for putting in the effort to do the math when no one else will. You give a young guy like me, who just enjoys learning, hope for the future. Keep it up man, and thanks for sharing the paper!
15
u/consistently_biased Oct 08 '26
The "curious scientist" part of me was so excited to read a few of the results of their recent dump. While I don't think anything there would have been guaranteed to be game-changing for my work (medical research), I saw a few titles that very much piqued my interest in a "this could be huge" way. The Navier-Stokes result isn't my field at all, so aside from everything superficially looking right, I couldn't comment much. But for the ones that actually pertain to something I work on, I honestly just felt confused when I skimmed the first one. All these words and letters are familiar, and they're certainly English and Mathematics, but it's genuinely incomprehensible. When I try to get their models (yes, it's the subscription models I have to access to through my organization) to reword it or explain it differently, it doesn't get better either. I can certainly tell that these proofs are a sequence of true statements; they just don't seem to actually say anything meaningful, to me at least. Now I've had it in the back of my mind, the entire time, "What if I'm just too stupid to understand this? I can't even begin to try find an error because it's just an incomprehensible sequence of seemingly true statements from start. Their models aren't any help either. I guess I'll just put this to rest for now.. but what if it's actually real...?" I can't even begin to describe how frustrating that is.
The incorrect translation problem is something I noticed ages ago already, and it seemingly never went away either. One of the use-cases I've kept trying all the way to the most recent models is reducing algorithms through more efficient methods. For example, solving problems in my field with graph-based algorithms can often be a pretty straight-forward way to find a solution, but implementing them as is tends to be terrible due to having no efficient data structures to represent the graphs. One can translate them into, e.g., ILP or matrix-multiplication-based approaches that have much better behavior and performance, but doing so is sometimes incredibly painful (my worst one took me over two weeks). Having LLMs do this kind of reduction-in-known-space seemed like an incredibly useful thing to me, and indeed, it does work.. until you look at the details and things go wrong in unexplained ways. It turns out, the new algorithm actually solves something subtly different that you wouldn't catch unless you really scrutinize everything. If I ask it to fix it, this "needle" in the haystack will likely just get put somewhere else. And the absolute worst part is that these models can never explain anything concisely. You always get massive walls of text. I'm so exhausted by all of this.
13
u/Available_Market_240 Oct 08 '26
In r/accelerate, I saw this comment. I assume they meant applied mathematics, though given what I know of them, they likely don’t know the distinction.
They might benefit from reading A Mathematician’s Apology by Hardy; if that’s too much, they could ask the chatbot god for a summary.
11
u/ImportantAlbatross Oct 08 '26
In r/ mathematics meanwhile they are talking about how AI has never made a mistake in a proof. https://www.reddit.com/r/mathematics/s/niZLIL0m6N
6
u/Goldn_ShowerThoughts Oct 08 '26
I may have been the dumbest guy to graduate from my Master’s program in Computational Fluid Dynamics, but I did graduate. Proving the equations break down under specific forced boundary conditions is absolutely not the same thing as finding a general analytic solution for flux under all initial conditions and flow regimes. Not even close.
I know it is (was?) a millennium prize problem, but I really wish people would stop clutching their pearls about it. Whether the model should be credited with a solution it was fed the precursors for seems like the more interesting question. Do you say “the abacus did my taxes this year”?
13
u/JAlfredJR Oct 08 '26
My favorite part of this whole story is the dopes over on .. I dunno .. r/accelerate or wherever, was celebrating this "accomplishment" by having a chatbot make a meme.
The FUCKING CHATBOT MISSPELLED STOKES hahaha. I have a screenshot. But I got banned last time I posted anything from one of those subs.
3
u/hachface Oct 08 '26
The case the paper makes is very clear. The intrinsic problems with creating sound formalizations of propositions would seem to be something already very well understood, since it's so intimately related to field-defining results in computer science and foundations of mathematics (halting problem, Godel's incompleteness, etc).
Given that, why are so many mathematicians freaking out? Is Lean not currently well understood in the field?
2
u/kgas36 Oct 08 '26 edited Oct 08 '26
I hope the following makes sense (forgive me either if it doesn't, or on the contrary, if it's obvious, given what you've just written):
Shouldn't it be possible to create a 'meta proof' (using Lean) that AI can definitely not guarantee correct natural language proofs ?
Or, at least, specify the characteristics of a problem (kind of like 'conceptual upper or lower bounds') for which no such proof can be guaranteed ?
Thanks a lot for your comment 😊
32
u/meltbox Oct 07 '26
Thanks for writing this up. I suspected this was possible but I’m comparatively a mathematical idiot so I kept from digging hoping someone more immersed in the subject than I would eventually explore it a bit.
I’m quite tired of the idiots being called smart so it’s nice to see more validation that these people aren’t intelligent, they just have boatloads of money and by extension compute.
The things scientists could do with this much scientific compute available….
3
u/doobiedoobie123456 Oct 08 '26
Pretty interesting paper and I do think this supports the idea that AI will do more harm to mathematics than good. I don't think anyone is saying that the Lean formalization itself is invalid, are they? I am not a Lean expert at all but I assume OpenAI and outside mathematicians would carefully check the Lean statement that was being proved.
13
u/[deleted] Oct 08 '26
It's kind of sad that this paper even needs to be written. It's one of the most basic things you learn when starting to do computer verified mathematics. The proof assistant verifies that you've successfully proved the formal statement. It cannot verify that your formal statement is what you actually wanted to prove.
11
u/Ok-Brain-8183 Oct 08 '26
The people who are impressed with ai are basically just not as smart as an llm. People smarter than llms are astounded by why so many are impressed with them.
The threat isn’t ai getting smarter than people. The threat is the majority of people buying into this bullshit.
7
u/Resident_Citron_6905 Oct 08 '26
Fascinating that people find this surprising. I guess the AI Efficacy psyops are very effective until you are forced to contend with details. Most people are never forced to contend with details. Their opinions have no falsification criteria. They nod along because the ideas sound and feel correct.
6
u/AntiqueFigure6 Oct 08 '26
As a side note I find it fascinating that AI bros and Singulatarians appear to be apply the same “just another trillion, bro / step 1 : steal underpants” logic they apply to things like compute to mathematical theorems. As in, there seems to be a pervasive belief that if enough theorems are proved it will automatically lead to the rest of science being “solved” and the dawn of the new age. Of course, the value of “enough” has not been estimated.
5
u/EFreethought Oct 10 '26
There are a significant number of individuals that are being paid great amounts of money to do marketing for these companies
The sad thing is that a lot of people will shill for the AI companies for free.
1
u/naphomci Oct 08 '26
Am I understanding it correctly that the proof was by disproving counter-examples (sorry if I am saying that wrong, it's been 20 years since my undergrad math degree)? Because wow that is worthless if it's not a broad based proof.
1
u/Apprehensive_Stop314 Oct 08 '26
OK, a dumb question, if I may -- so it wasn't the case that LLMs translated NL problem statements into Lean and then provided Lean proofs? As if it was, wouldn't it be enough to only check that problem statement transition, in the assumption Lean is bug-free?
Would appreciate a hint
1
u/Electrical_Crow_2773 Oct 08 '26
I'd argue that any Lean proof still has great value if all definitions were independently verified by mathematicians. Translating/formalizing an existing proof is an entirely separate matter. I feel like a lot of people here confuse the two
1
u/userrr3 Oct 08 '26
Thanks for the post and the paper! I'll check the latter out another day when I'm less tired, but I may add my own anecdote as a theoretical computer scientist:
Years ago, before the first public release of ChatGPT, we had tools that we could call "AI" that were used in proof formalization. I'm thinking of something like Sledgehammer for Isabelle/HOL. Basically you spell out your assumptions and your theorem and a call to Sledgehammer will try a bunch of things in the background in parallel and report if one of the attempts was successful.
Now this still requires you to CORRECTLY translate the natural language statements as OP correctly states. (ex falso quodlibet - you can prove anything from wrong assumptions - can be applied here too I'd claim) And in many cases it requires you to form some meaningful intermediate statements (lemmas) as stepping stones.
And even then, I found in personal conversations, that people had various views on this tool. Some would take the output as is, some would think (often rightfully so) that they can come up with a nicer proof more quickly than their work computer, and everything in between. For example some would use it to check if the step from one lemma to the next is provable at all, and then replace the generated proof with a more legible one they came up with themselves.
And I would claim this is an important topic - legibility. The result that something is true is often not as interesting as the story of WHY it is true and how we managed to prove it. And if the proof isn't legible / human-readable, then you can't do much other than accept that it is there or try to find a nicer one.
6
u/No_Honeydew_179 Oct 08 '26 edited Oct 08 '26
…wait… you're saying to me that their methodology was to translate natural language proofs into Lean using LLMs and that's their methodology?
oh my fucking god, AI bros, fuck offfffffffffff
3
u/danikov Oct 08 '26
Given how much fuss was made over the release when it happens and how long it's taken for people remotely interested to get something of a definitive write up on how what they did was of limited value, the fact that they recently dropped 400 similar results feels like they're just flooding the field to drown out any criticism.
3
u/RasputinsUndeadBeard Oct 08 '26
Holy shit

L
2
u/Sufficient_Okra_2919 Oct 08 '26
Excellent - thanks for the post (and paper)! This is exactly what I wondered, to what extent the Lean formalization actually works and what it shows... more or less as I expected. Thanks again, much appreciated!
1
u/dumnezero Oct 08 '26
Does this sounds familiar? https://en.wikipedia.org/wiki/Test-driven_development
1
u/Pitiful-Self8030 Oct 20 '26
so far how many of the proofs released where verified to be incorrect/correct?
-18
u/firewall245 Oct 07 '26
I’ll read this when I can sit down and check it out. I’m getting my PhD in data science and have a mildly popular tiktok math channel where I have discussed the Navier Stokes results.
I’ll be upfront, I’d be very surprised if there was an error in OpenAIs work on this problem. But not impossible
-11
u/Jaded-Data-9150 Oct 08 '26
doubts
I Play Basketball with a math Professor. He is pretty impressed with the llms' math skills. Similarly for friend in theoretical physics.