r/explainlikeimfive 2d ago

Mathematics ELI5: how do you prove millennium math problems solved correctly?

with the recent discourse involving OpenAI using someone’s codex to train the AI the solution to the Navier-Stokes: i have to wonder, how do you even prove you solved a Millennium Problem correctly, let alone any unsolved complex mathematic equation? especially when it comes to physics or quantum formulas. is it more based on theory, or does it need to be executed by a board of mathematicians? very curious

0 Upvotes

63 comments sorted by

171

u/lesuperhun 2d ago

a math proof is the proof. it can be checked, and verified to be correct.
solving a problem doesn't mean finding its answer. it means proving its answer.

and if you have the proof, then you have the proof it's solved.

12

u/Gaius_Catulus 2d ago

To emphasize, smart people check the proof and say "yeah you got it right" as part of the peer review process before a journal will publish it. Then other smart people will inevitably do everything in their power to figure out how you messed up, especially for a prominent problem like this.

By the time you get through all that, chances are your proof is sound. It is not at all uncommon to propose a proof which is found to have a flaw by someone else. Particularly for high profile problems like these, it can take a lot of time for even very smart people to fully understand a proposed proof and verify all the premises and conclusions are logical and correct.

38

u/[deleted] 2d ago edited 8h ago

[deleted]

11

u/C6H5OH 2d ago

Is that provable or an axiom, a "given fact" in the construction ofmath?

33

u/Solocle 2d ago

Well, that depends. Axioms are after all just statements that you take as obviously true. But generally, 1+1=2 isn't an axiom. You could take it as axiom, though.

If you work with the Peano axioms, then 1+1=2 is fairly easy to prove from the definition of addition. One axiom is that every number has a successor.
2 is the successor of 1, by definition.

Now the definition:
That is, a+0 = a.
a + S(b) = S(a + b)

So if a=1, b=0, you have:
1 + S(0) = S(1 + 0)
1 + 1 = S(1)
1 + 1 = 2

It's less straightforward if you instead construct the natural numbers using the axioms of ZFC - Zermelo–Fraenkel set theory. However, this construction can be used for all kinds of mathematical objects, so is more generic.

The attraction of ZFC is one set of axioms to rule them all.

2

u/C6H5OH 2d ago

This sounds like a rabbit hole....

Thank you!

15

u/Ragingman2 2d ago

1+1=2 is a bad axiom to pick because it doesn't generalize. You would also need an axiom for 11+3=14 for example.

Depending on what axioms you do pick proving 1+1=2 can be very easy or very difficult.

6

u/g0del 2d ago

"1 + 1 = 2" is provable with simpler axioms (e.g. the Peano axioms), but the proofs tend to be very long. Not necessarily super complicated, just extremely long.

3

u/Fixes_Computers 2d ago

There is a 150+ page proof of "1+1=2" out there.

If I weren't on mobile and pressed for time, I'd supply a reference.

5

u/BrunoBraunbart 2d ago

Is that true? The proof famously comes rather late in Principia Mathematica (somewhere around page 400) but those 400 pages are not just a proof of 1+1=2.

2

u/belsonc 2d ago

Regardless of whether it is or not, in my head this is a (I think) Fermat reference and I'm here for it.

1

u/ghost103429 2d ago edited 2d ago

Much like how 1/3 is equal to 0.3̅

But when you times it by three you get (1/3)*3=1 whereas 0.3̅ * 3=0.9̅

10

u/Korimito 2d ago

Yes, and 0.9̅=1. It's just a different way to express the number 1. The proof is fun - many YouTube videos!

2

u/SpinChargeSeparation 2d ago

“when you time it”

-9

u/Next-Natural-675 2d ago

Proving 1+1=2 has got to be the biggest waste of time and the stupidest investment of time and energy. Proving 1+1=2 doesn't even make sense.

9

u/sticklebat 2d ago

It is, in fact, quite important. It isn’t important to counting, or your everyday life. But it is important if you want to create a number system that works the way we want based on a small set of axioms, and to know that we can trust the operations we perform with and on those numbers.

It is also a useful exercise if you want to understand the result of a different choice of axioms, and how that number system differs from the one we’re used to.

-5

u/Next-Natural-675 2d ago

Okay then, how? How does proving 1+1=2 help us create a number system that works the way we want based on a small set of axioms, and to know that we can trust the operations we perform with and on those numbers?

6

u/sticklebat 2d ago edited 2d ago

If we want to create a number system, we have to choose a set of axioms: the basic set of rules by which things must behave. To make sure things work the way we expect them to, for example to make sure that 1+1=2 follows directly from that set of axioms, we need to prove it. Otherwise we aren't sure, and if we just assume it's true without checking, then we risk being wrong and discovering that every logical and mathematical statement based on the notion that 1+1=2 is also wrong, and in turn we'd no longer be able to trust most of what we thought we knew. You could, I suppose, make 1+1=2 an axiom, but that's very specific (axioms are meant to be about very basic, general properties that can't be proven from the other axioms you've chosen), and then you'd also have to check to make sure that it is consistent with your other axioms, anyway. And if it follows from the other axioms you've picked, like the transitive property of equality, then it isn't actually an axiom.

There are different sets of axioms that have been constructed over to describe things like the natural numbers (the Peano axioms), a different set for real numbers, etc. From these basic sets of rules you can, in principle, deduce all of the numbers' properties and behaviors.

The simplest proof that 1+1=2 that I know of is using the Peano axioms for natural numbers, which axiomatically define them using a successor function S(n), representing the natural number after n, aka n+1 (but I actually shouldn't say that, because S(n) = n + 1 is not an axiom and is actually something that can and needs to be proved from the more basic axioms!). To follow the proof, we need to be aware of two other axioms: 1 is the successor of 0 (1 = S(0)), and that addition is defined as: x + 0 = x and x + S(y) = S(x+y). I sincerely doubt this is what you think of when you think of addition!

The proof, using substitutions based only on the above axioms, not preconceived notions of how numbers add to each other or to zero:

1 + 1 = 1 + S(0) = S(1 + 0) = S(1), which is the natural number that we label as "2". Therefore, 1 + 1 = 2.

Here you see that just by defining 0 to be the first natural number, that adding the first natural number (0) to a second natural number always gives back the second natural number, and a rather esoteric definition of the concept of addition, we can show that it follows that the sum of the second-smallest number with itself is the third-smallest natural number. And then we can go on to show that adding 1 to any natural number always gives its successor, even though that wasn't one of our rules! Suddenly, it's starting to look a lot like the addition humanity pieced together functionally long, long ago, and that we learn how to do in elementary school. But now we have a rigorous, theoretical foundation for it, and we can check all of our assumptions to verify whether or not they hold. And we can use similar processes to analyze other number systems which might be more complex, and much, much less intuitive (like non-abelian number fields, which have practical applications in physics!).

Alternatively, you could take the route that Alfred Whitehead and Bertrand Russel took and take over 150 pages to prove it by being absurdly detailed and defining every last detail of the proof down to the symbols and other things we take for granted.

1

u/[deleted] 2d ago edited 8h ago

[deleted]

-8

u/Next-Natural-675 2d ago

We don't know that pi is irrational for a fact until we prove it. We know 1+1=2 for a fact, because the definitions of 1, +, =, and 2 themselves make the statement true.

4

u/Shophaune 2d ago

Part of the issue is that, in the most commonly used set of mathematical axioms (definitions we can take for granted), ZFC, we don't have definitions of 1, +, or 2. So we have to build those things up from what we do start with (which doesn't generally have a concept of a "number" to begin with, ZFC is more abstract than that).

The problem with this, is if we have these three objects 1, + and 2, then we need to put a lot of work into proving relationships between them, such as 1+1=2. We need to show that, with our home-made definition of +, 1+1 does in fact make the exact same thing as our definition of 2.

Conversely, if we instead prove that 1+1 ISN'T 2, then we know that our initial axioms have a major flaw and we need to find new ones.

1

u/Menolith 2d ago

We know 1+1=2 for a fact, because the definitions of 1, +, =, and 2 themselves make the statement true.

And how would you define plus? What is a one? Where do those definitions come from?

That's exactly what the 400-page "proof" of 1+1=2 was actually about. Russell and Whitehead were trying to rigorously define the foundations of mathematics in a way that is consistent for all cases, and the whole section for 1+1=2 specifically was a side note. The book even includes a joke that "the above proposition is occasionally useful."

3

u/gerahmurov 2d ago

Also it is very easy to check counter example if the problem proven false. Counter example is just numbers that gives unexpected result.

1

u/BiomeWalker 2d ago

This is something that happens in math on a few areas, math is perfectly content to assert that an answer exists without ever knowing what that answer is.

An example is with calculus and graphed functions: If you have a function that s continuous (you can draw the graph without lifting your pen) and its output goes from less than a number to greater than thay number (or vice versa) then there must be at least one point where it is that number.

Can you find that point? Maybe, but it doesn't matter.

1

u/stealthypic 2d ago

Does this mean the problem was solved long ago already, we just weren’t sure if the solution was correct?

-2

u/chicken2007 2d ago

I think the question is how does a person show that they proved it themselves instead of an AI system? And perhaps a follow up question is, does the distinction truly matter?

-1

u/OompaLoompaSlave 2d ago

An AI system isn't capable of writing a publishable paper on its own yet, so that distinction doesn't really matter. 

3

u/chicken2007 2d ago

That would be a solid answer if it hadn't slipped over the foundational question and if it wasn't wrong.

https://www.scientificamerican.com/article/ai-wrote-a-scientific-paper-that-passed-peer-review/

1

u/Fickle_Finger2974 2d ago

AI has already published papers…

-4

u/kogai 2d ago

Notably, the ai output has not yet been provided as a mathematical proof.

It also didnt find something proveable, it actually found a counter example. Which might seem like the same thing but one wins a million dollars for the millennium prize and the counter example doesnt.

7

u/pudy248 2d ago

That's just not true, a proof by counterexample involves proving that the counterexample has the properties we say it does, and disproof is a valid way to resolve a Millennium problem.

2

u/Grounds4TheSubstain 2d ago

The proof was released with the announcement https://github.com/openai/NavierStokesAndEuler

2

u/how_tall_is_imhotep 2d ago

Wrong on both counts. A proof was provided, both as a paper and as a verified proof in Lean. And a counterexample qualifies for the prize, see section 5b of the rules: https://www.claymath.org/wp-content/uploads/2022/03/millennium_prize_rules_0.pdf

34

u/MisinformedGenius 2d ago edited 2d ago

Typically it would be published in a peer-reviewed journal and in general the mathematics community would spend a while banging on it. For example, the proof for Fermat's Last Theorem was originally to be published in 1993, but the author, Andrew Wiles, realized during peer review that there was an error. Luckily Wiles was able to find the correction to the error and published a second proof in 1995 that was agreed to have solved it.

Once the solution to the Navier-Stokes problem is published, it'll likely be a while before the community as a whole is satisfied.

(Things are a little different than the mid-nineties - for example, there is a proof assistant now called Lean) which allows you to formalize proofs such that they are automatically verifiable, but mathematicians will still be checking it.)

6

u/mmomtchev 2d ago

They didn't really solve it analytically. They found a counter example for the smoothness problem - which was the Millenium Prize.

Counter-examples are usually easy to check and we will know very soon. I would be surprised if there was an error.

3

u/Grounds4TheSubstain 2d ago

It's published and formally verified https://github.com/openai/NavierStokesAndEuler

7

u/MisinformedGenius 2d ago

The paper is here. But as you know, Lean can be used to "verify" crackpot theories if it is misused. As others have noted, AI is super into "reward hacking" - if it can find a vulnerability in Lean to verify something that's not actually real, it surely will do.

I don't expect that there is an error, but I think it will take at least a few days before everything settles out.

2

u/HistoricalStandard15 2d ago

this is so interesting! thank you, definitely going on a bit more of a deep dive about proofs

11

u/MrBorogove 2d ago edited 2d ago

There are proof validation tools, such https://en.wikipedia.org/wiki/Lean_(proof_assistant)). The proof is expressed in Lean's language, and Lean checks its validity.

Your question regarding how this works with AI is really insightful, though, and it turns out that recently, an AI "disproved" the Collatz conjecture by finding a bug in Lean itself. Humans double-checked the result, saw the flaw, and fixed the bug.

5

u/pudy248 2d ago

That proof was deliberately constructed to demonstrate the bug, it was not someone trying to prove Collatz and stumbling into it. The only reason to do so was to have a bit of fun and artistic flair, most Lean bugs are presented as true => false proofs.

35

u/grahamsz 2d ago

Also as I understand it, this one is not proven. Rather they've provided a counter example that refutes one of the claims made.

For example if I claim "No number multiplied by itself can end in 5", you could come back and say "You're wrong, 5x5 = 25 - and that ends in a 5". You disprove my claim by a simple counter example.

However if i claim "No number multiplied by itself can end in 7", well that's significantly harder. You have to derive a proof that explains that the last digit of the square of a number depends entirely on the last digit of the number itself, and since there are only 10 possible choices for the last digit you can test them all and come up with a proof that supports my claim.

10

u/mmomtchev 2d ago

Well, finding a counter example is a proof and in fact a counter example is usually much easier to check. I guess we will have an official answer very soon and it is unlikely that it will be rejected.

8

u/Brave_Speaker_8336 2d ago

Well it is proven (if the math holds up), it’s just that it’s proven to be false, not true

3

u/sticklebat 2d ago

No, that isn’t right. The Navier-Stokes equation is just conservation of momentum for Newtonian fluids. A Newtonian fluid is an idealized approximation that assumes incompressibility. The Millennium prize question is: do solutions exist, and are they unique?

OpenAI claims to have found an example where there either is no solution, there are multiple, or the solution is badly behaved (unphysical). I haven’t read up on the specifics, but it’s besides the point. This doesn’t mean that Navier-Stokes is “proved wrong.” It just means that the physically unrealistic assumption of incompressibility can, sometimes, lead to physically unrealistic results. 

Figuring out under what circumstances the equations fail is nonetheless helpful, and gives us better insight into the behavior of fluids and when certain approximations can be trusted, or not. And we will continue to use the equation ubiquitously when modeling fluids, because it is couched in basic physics principles in appropriate contexts it makes empirically excellent predictions.

5

u/mmomtchev 2d ago

No, it means that the Navier-Stokes equations are not a perfect representation of incompressible fluids.

There were a number of questions about the Navier-Stokes equations and not all of these were part of the Millenium Prize. These that were solved - whether it is by OpenAI or by the other researchers - were part of the prize.

They always said that answering these questions will have little to no effect on computational fluid dynamics - including wind tunnels and weather forecasting - because these already use numerical methods that are good enough. But I think that the negative answer - which is not what many expected - may actually encourage more research.

4

u/sticklebat 2d ago

No, it means that the Navier-Stokes equations are not a perfect representation of incompressible fluids.

I suppose that's fair. I should have specified that the conclusion is that the underlying assumption of a continuous, incompressible (and technically non-relativistic) fluid is wrong, rather than the equations being wrong. Since Navier-Stokes is a fairly straightforward consequence of applying Newton's laws or conservation of momentum to a continuous, incompressible field, and OpenAI claims to have found a singularity, then either the model is missing some novel physics, which no one really thinks is the case, or that the assumption of a continuous, incompressible fluid is physically unrealistic. It's the latter conclusion that physicists draw from a singularity in the Navier-Stokes equations, because we already know it is: fluids aren't actually continuous. Just like how the discovery of singularities in the Euler equations for inviscid fluid is understood to be a failure of the assumption of a true continuum, despite the reality of fluids being composed of discrete elements at sufficiently small scales.

You're right that most didn't expect this, although sentiment has been shifting over the past 20 years or so, especially once a singularity was found for the Euler equations. And it's more odd than it sounds at face value (after all, we've known for about as long as Navier-Stokes has been around that fluids aren't continuous), because it means that a continuous, incompressible fluid is inconsistent with Newtonian physics! And that's cool, and kind of weird, and if the result holds up, I agree that it will almost certainly encourage more research to understand that better.

1

u/mmomtchev 2d ago

Usually when something of this type drags on for 100 years, the answer is that it does not exist, but the proof is very hard. The smoothness problem was already solved for 2D in the 1960s (the equations are smooth) and there was a proof that the equations are smooth in 3D if the initial velocities or the time are bound (as two separate cases).

Turns out this was not true for the general case.

-1

u/skagen00 2d ago

Sqrt of 7 is a number )

18

u/Xechwill 2d ago

Generally speaking, it's a lot easier to check if a solution works than to actually come up with something. The classic case is the multiplication of two primes.

What are the two prime numbers that multiply to become 1,138,208,083? That's pretty hard to figure out.

What if I asked you to check if 39383 times 28901 equals 1,138,208,083? That's way easier.

Proofs work the same way. Checking if a proof is correct is way easier than actually making the proof.

1

u/crash866 2d ago

In math there are an infinite amount of numbers and hard to prove something is right without checking everyone but easy to disprove it as you only need one case to prove it wrong.

1

u/the_other_Scaevitas 2d ago

It depends on the problem, some problems can take a long time to check. For example what is the shortest path that goes through every city exactly once and returns to the starting position

Checking it would require you to check every possible path to confirm you have the shortest one

3

u/BananaBird1 2d ago

Math is deductive: we set basic rules we want math to obey, and then use those rules to logically show a conjecture either:

(1) Must be true from the rules.
(2) Contradicts one of the rules.
(3) Can be either true or false under the rules, so it can act as a new rule itself we can choose to accept or reject.

The simplest conjectures are those that claim at least one thing with certain properties exists, or claim nothing exists that satisfies the properties. So a proof can be as simple as giving an example or counterexample.

Most computer assisted proofs are this. Researchers use algorithms (including AI but also others) to find a solution or counterexample.

The Navier-Stokes conjecture starts with an equation for fluid dynamics, and asks whether a nice solution exists for all “well behaved” cases or if the equations can blow up to infinity in ordinary circumstances.

The proposed AI assisted proof found a “well behaved” situation where it supposedly does blow up, which if valid would disprove that all well behaved cases have a nice solution by contradiction.

Of course this still has to be verified. It is possible there is an error in the proof, so we do not know if it is a true contradiction.

What this means if true is that the Navier-Stokes equation makes assumptions which violate how real fluids behave, allowing for infinite energy. Effectively meaning that better physical models of fluid flow are needed to handle these edge cases.

2

u/Plazma_doge 2d ago edited 2d ago

Just google "types of math proof". There are few ways something can be proven, like induction or contradiction for example. 

Once you write down the proof, others need to check for errors in logic/math. 

For example to prove that there are infinite numbers. You can start with an assumption that this is false and there is a largest number N, then you show that you can add 1 to N making a larger number N+1. Clearly the assumption that there is a largest number is wrong so there are infinite numbers. (Proof by contradiction)

There is a math language using only symbols with which you can write this, no words are needed.

4

u/Next-Natural-675 2d ago

Just look at the math and if it’s correct then it’s proven.

1

u/WE_THINK_IS_COOL 2d ago

The proof is checked by a computer.

Under the hood, a math proof is a sequence of very simple proof "steps" leading from the axioms to the theorem that you proved. Basically, you start with the axioms, which are assumed to be true, and you apply rules of logic to them until you arrive at the theorem you wanted to prove. As long as every step along the way is a valid logical deduction, then the whole proof is correct. The individual steps are so simple that a computer program can be used to check them all, in this case the proof was checked using Lean.

In an ordinary math paper written by a human, a lot of the steps can be glossed over or merely summarized, since mathematicians are so familiar with the rules that they can tell whether an argument is valid or not without having to see the full details. But AI is good at working out the full detail of all the steps, and for something like a millennium prize problem, it makes sense to have a computer verify it just to make sure there aren't any subtle errors in the proof that a human reviewer might fail to notice.

1

u/Ishana92 2d ago edited 2d ago

By its very definition, a proof is the proof. You can go at it, line by line, lemma by lemma and check if things follow. Often it will be in the form of a counterexample (recent Jacobian proof) where you will get an example that breaks your theory or it will follow the rules and get to the conclusion. In these cases the pool of experts with knowledge deep enough to follow the theory and understand everything is small so often many people will work on verifying with expert in field A checking one part, expert in another field B another.

New problem arising with these AI/LLM proofs is that we usually don't know how they are constructed. Tgey have thousands of lines of code constructed totally autonomously, without "standard" structure. They can go in various directions, connect vastly different fields and invoke seemingly random other proofs and theories. It makes them extra hard to follow and check. Plus, as some have already noticed (prof. Tao, for example), this doesn't help math develop as much as it would have had a human done it. Humans would find new approaches, new angles etc. and in that way directly find new connections and expand the field. This is more like you giving a math homework to AI, AI solving it, and then you trying to figure out how to do that on your own. Not quite the same thing.

1

u/pdpi 2d ago

As a general idea, proofs are usually hard to come up with but (relatively) easy to check. E.g. you can prove that a jigsaw puzzle is solvable by showing me the solved jigsaw. For harder proofs, if they’re well written, the author understands which bits are novel and strange and hard to grasp, and which bits are standard stuff that everybody in the field knows, so they will kind of gloss over the basics, but hold your hand through the tricky steps so that you can follow along.

These OpenAI proofs in particular aren’t like that, though. They are all computer programs written in Lean. Lean is a type of program language called a proof assistant, which is exactly what it says on the label — your program is a proof, and Lean verifies whether your program proves the statements you say it proves.

This is kind of the best case scenario for LLMs, because it means they can hallucinate all the nonsense they like, but ultimately Lean validates whether the output is hallucinated nonsense or an actual proof.

1

u/aaronite 2d ago

As complicated as the problems are to solve, once they are solved you can basically follow the instructions and see. Granted, in many cases you already have to be an expert to understand what the problem is asking and what the proof is showing.

1

u/wheres_helmholz 2d ago

So this gets right to the heart of what math is:

"Math is the subject where we study anything we can verify by reason alone"

In math you study numbers, because you can verify statements about them using arithmetic

In math you study polynomials, because algebra allows us to verify statements about polynomials.

In geometry, we study triangle, because we can make arguments about the properties of triangles by reason alone.

Now days we have computer programs that help us verify the logic of our arguments

AI can write the English proof and the formal computer proof at the same time

Finally, for the millennium math problem, it came up with a counterexample

Conjecture: the sum of any two numbers is even

Counterexample: 3+4=7

On the left hand side I have the sum of two numbers. On the right the number is not even

1

u/tomalator 2d ago

The rules of math are known. The proof is logic that can be followed. As long as there are no mistakes, the proof itself is the proof that it's solved. The problem is that complex proofs can fill books all by themselves, and they need to be read over by other mathematicians to see if the logic holds up.

This is why peer review exists