r/ProgrammerHumor • • 2d ago

Meme riemannHypothesisSolved

Post image
3.3k Upvotes

120 comments sorted by

1.1k

u/MagnumVY 2d ago

You would be surprised to know how much of computer science is already based on the assumption that RH is indeed correct lol

461

u/F4LcH100NnN 2d ago

Imagine we find out one day its not and all CS degrees get called back to.

214

u/MissinqLink 2d ago

You have to pry it from my cold dead hands

158

u/Scriv_ 2d ago

Claude, warm this dead guy's hands for me

37

u/BlobAndHisBoy 1d ago

They can have mine. I just want to go become a farmer at this point.

6

u/smbell 1d ago

Does that mean you've played The Farmer Was Replaced?

1

u/MaximumSubtlety 1d ago

Yeah. Or a janitor.

3

u/BlobAndHisBoy 1d ago

Sure why not. There is something satisfying about being able to physically look back at the work you completed.

1

u/MaximumSubtlety 1d ago

"These hands..."

1

u/csharpminor_fanclub 1d ago

claude's gonna warm this guy's entire planet

14

u/zaersx 2d ago edited 2d ago

Mine is rolled up in the box they ship it in (I didn't attend my graduation) in the back of my bookshelf.

They better include a collection return label cause that shit ain't worth shit

5

u/Selbereth 2d ago

I actually don't know where mine is

40

u/frogjg2003 1d ago

Even if it were false, the edge cases it would effect would be minimal. If it were false and I'm such a way that had any practical effects, we would have noticed by now. Like the Navier-Stokes result, the solution was am extreme example where we don't even use it in practical applications anyway.

12

u/F4LcH100NnN 1d ago

umm this is r/programmerhumor not r/smart.

Go away if youre gonna be intelligent /s

15

u/TheDopplegamer 2d ago

I have nightmares like those, if that happened irl I would just go into hiding

4

u/Positive_Method3022 1d ago

"America's education system is issuing a Recall for humans with a CS degree between 1859 to 2026"

1

u/Ender505 22h ago

That would love particularly weird since it was just proven true

63

u/LawyerAdventurous228 2d ago

Can you elaborate on that?

227

u/recursive_knight 2d ago

Mathematicians are basically obsessed junkies like Wallstreet guys, but they don't want more money, they want more math! So they do investments and then reverse investments and so on and so forth, but it's all based on math that isn't proven yet, until some day a theory is disproved and the life's work of a couple of people building on that to date unproven theory gets blazed. We dodged a bullet with Riemann, this was about to be some major Math crisis, like the 20s or 2008.

45

u/FartPiano 1d ago

in fairness they didnt ask for a correct or coherent elaboration, really thats on them

12

u/LawyerAdventurous228 1d ago

Dude I thought I was going crazy for not being able to make sense of that reply lol

4

u/QCTeamkill 1d ago

He says if one of the fundational theorems like Riemann ever get disproven a ton of other theorem built on top of it would collapse.

A bit like in finances the fall of Nvidia triggered the AI bubble to pop.

4

u/recursive_knight 1d ago

Whatever is it you mean...?

1

u/ligma_then_sugma 1d ago

until some day a theory is disproved and the life's work of a couple of people building on that to date unproven theory gets blazed.

https://www.youtube.com/watch?v=DV1fUwKMdAI

7

u/mirhagk 1d ago

I'm unsure what they are referring to but I know it has some implications for things like the distribution of prime numbers, which of course is important for cryptography.

-43

u/tk-a01 2d ago

Perhaps they confused it with P =? NP.

50

u/Wonderful-Habit-139 2d ago

I don't think CS is based on the assumption that P = NP at all.

20

u/Maximilian_Tyan 2d ago

Cryptography mostly is

7

u/Wonderful-Habit-139 2d ago

That it is correct or incorrect?

46

u/demongoku 2d ago edited 2d ago

Most of modern Cryptography is actually contingent on the inverse case, which is P!=NP.

In layman's terms, P vs NP is a question that asks "Are problems that can be verified easily, also be solved easily"? For Cryptography, a lot of it is based on Prime factorization. Basically, you take two large prime numbers and multiply them, which is easy. Reversing this process(factorizing), however, is computationally extremely difficult(currently). Generally, If P=NP, then modern cryptography is screwed, because that hard problem becomes as easy as the simple problem. There are some edge cases, depending on how complex the proof is, but this would be the case.

How screwed are we talking? Besides very niche cases, the internet becomes a cybersecurity hellscape. The reason you can go to Amazon prime and trust that it is Amazon would disappear. Nothing would be safe.

Thankfully it's very likely that P!=NP, or that the proof is so complex that it is not useful. But obviously, it hasn't been proven or disproven, so everyone who is aware is kinda on the edge of their seats.

20

u/Similar_Brush1835 2d ago

based on the assumption that P≠NP. if it's ever discoveree that P=NP, and the solution is computationally feasible, you can say goodbye to encryption.

1

u/FartPiano 1d ago

seems easy to prove then, brb

0

u/[deleted] 1d ago

[deleted] — view deleted comment

2

u/Similar_Brush1835 1d ago

do you consider O(n2947834824847393) computationally feasible?

3

u/RpdStrike 2d ago

That is incorrect

2

u/Wonderful-Habit-139 2d ago

That’s what I assumed. Because the top level comment said RH and “correct”, so confusing both the maths and the correctness would be wild lol.

One day we’ll know what OP meant…

-3

u/ScallionSmooth5925 1d ago

Mose of theoretical computer science is full of bullshit anyways based on my experience. For example one prof. whanted us to memorize proofs for a theory someone already disprove because something else used the theorem later

788

u/shanereid1 2d ago • Heartwarming

Seems like it was another millennium problem solved by combining two different branches of maths together that don't usually talk to each other. Feel like the real lesson is that mathematicians need to get better at making friends.

372

u/LaconicLacedaemonian 2d ago • Popcorn

Well that won't happen, what's your next plan?

86

u/hucareshokiesrul 1d ago

Mathematicians get replaced by AI

28

u/teeg82 1d ago

But AI won't be any better at making friends either.

13

u/breadist 1d ago

Actually it's pretty good at it - it's willing to be a sycophant and bend to your every whim, and to a lot of people that's all they want. Lol.

1

u/KryssCom 23h ago

They also make friends with each other. All sorts of wild (and often disturbing) shit happens when AIs are allowed to freely communicate with other AIs.

50

u/Slight-Violinist-575 2d ago

I am not that much of a math guy (relax I am not working on cryptography or cybersecurity, the world is safe). Which branches were combined?

166

u/PM_ME_YOUR__INIT__ 1d ago

Just read the 25,000 page doc bro

81

u/ApprehensiveFan1516 1d ago

You're missing a zero.

20

u/PM_ME_YOUR__INIT__ 1d ago

After 25 pages it all blends together

45

u/slaymaker1907 1d ago

You're missing a zero, it's 250k pages and 17M lines of code (and it's a proof system, LEAN, so it's extremely complex code). Completely beyond human comprehension in its present form, at least for a single human. I assume there is at least one giant team of mathematicians working through it given the importance.

20

u/Majache 1d ago

Don't worry guys I got this, I'll reduce it down to 17k lines of code. I just need 6 years and $15M

7

u/well-litdoorstep112 1d ago

I'll reduce it to two lines. I need 30s but I suppose I could do with $15M

#!/bin/bash
./proof/dist/a.out

27

u/LordFunguy 1d ago

I'd rather just wait and let veritasium dumb it down for me thank you very much

16

u/FartPiano 1d ago

I'll wait for someone to miscaption veritasium youtubes in a gif on imgur

7

u/ApprehensiveFan1516 1d ago

Can't wait to see the few pixels that are left by the time it hits Reddit!

1

u/officerblues 1d ago

I think you're missing a 0. It's 250k pages, no?

16

u/Elin_Woods_9iron 1d ago

The joke is AI is spicy linear algebra (which itself has effectively one ubiquitous method: Gauss Jordan Elimination) so whatever problem AI solves is Linear Algebra + Whatever field the problem is in. The real conclusion is that GJE is even more effective than previously thought.

14

u/PorcelainMelonWolf 1d ago

What on earth?! Linear algebra isn’t about Gaussian elimination. It’s about transforming vectors… linearly.

If you’re not using the word eigenvector you’re doing it wrong.

15

u/Elin_Woods_9iron 1d ago

And how do you find an eigenvector? That’s right. Gausssian elimination.

Edit: determinant? Gauss. Spectral decomposition? Jordan. Invert a matrix? Believe it or not, Elimination.

2

u/Spectrewiz 1d ago

Nonlinear though? Straight to jail, ReLU - right to jail. Determinant? Believe it or not, LU decomp - jail. Invert a matrix? LU decomp - jail. Gauss would love this

1

u/PorcelainMelonWolf 1d ago

Projections?

1

u/Elin_Woods_9iron 1d ago

Requires least squares coefficients and finding a subspace basis. 3 guesses as to how you do that

1

u/Slight-Violinist-575 1d ago

I see. Thank you

105

u/mudbot 2d ago

in the end it's only (fancy) matrices.

90

u/Secret_SashX 1d ago

every time I see a math joke on here I remember my abstract algebra prof who once said ‘the riemann hypothesis is basically just a very stubborn loop invariant’ and then stared at us for 30 seconds waiting for someone to laugh

18

u/omg_drd4_bbq 1d ago

his genius was lost on them

73

u/StillX0 2d ago

If Linear algebra is a spice than integrals must be flour

6

u/that-day-summer-1998 1d ago

Thank you! came here to say the same

3

u/zanotam 1d ago

??

Integrals are linear. You can generalize them into various spaces of functionals even!

33

u/m2ilosz 2d ago

"I've used math to solve math"

6

u/Banes_Addiction 1d ago

The work might be done, and always will be.

1

u/ligma_then_sugma 1d ago

kinda rude when u think about it like that tbh

15

u/featherknife 2d ago

167-year-old* unsolved complex math

24

u/BeMyBrutus 2d ago

What if it's just matrix multiplication all the way down?

85

u/Mal_Dun 2d ago

I found once a paper that showed if an LLM can make up something faster than it's lower bound complexity it is an hallucination.

The answer is automatic verification of an LLM produced statement, like the Lean proofs that are used to check a theorem to remove the error from probability.

In the case of the matrix multiplication it would need a check, but checking matrix multiplication would take the same time to compute it, hence, letting an LLM do it is useless.

21

u/inevitabledeath3 2d ago

This is what looped transformers and reasoning models partially exist to solve.

18

u/Banes_Addiction 1d ago

I found once a paper that showed if an LLM can make up something faster than it's lower bound complexity it is an hallucination. 

How would this work?

They're primarily memory machines. The fastest way to solve a problem is to have seen the answer before. Problem complexity is based on calculating it from scratch, which LLMs don't ever really do. But the more parts of the solution they've seen before the faster it'll go, and how do you ever quantify/calculate that in the real world?

17

u/Random_182f2565 2d ago

With enough neurons anything is possible

23

u/Dhruv_Malaviya 2d ago

Left side: 5 marks. Right side: Nobel Prize. And somehow I'm struggling with both 💀

85

u/mad_cheese_hattwe 1d ago

Hot take, the value in these maths proofs in is the solving, which often requires novel techniques, inventive processes and shifts in understanding, rather then the actual solution.

An incompetencable rote 250k page AI solutions brings very little value to the table.

79

u/the_horse_gamer 1d ago

that's a pretty cold take. at least among mathematicians.

18

u/mad_cheese_hattwe 1d ago

Plenty of people who think are mathematicans are now redundant to LLMs so it's good to put this out there when ever it comes up.

5

u/snakesoup124 1d ago

No true expert are redundant. The current meta is that without human guidance the LLMs will rehash old conclusion and without us, its stuck eating its own tail. Those who will be redundant are those that are outsourcing their knowledge and critical thinking. If you cannot tell if its making a mistake than you are devoid of critical thinking and are useless with llms around.

15

u/slaymaker1907 1d ago

Totally agree, though one of my friends who has a maths Ph.D. said the proofs these things are coming out with are pretty innovative and it made him really sad to see AI taking over the field.

20

u/Yorunokage 1d ago

I am a PhD student in complexity theory and Claude is coming up with novel and very good ideas on problems i'm working on so much faster than I am. It's really not just arcane slop

And the implications of this are far more scary than just losing my career since we still haven't solved alignment

4

u/Fidodo 1d ago

How are you getting those results? I'm a programmer and I struggle to get it to output anything of quality without holding it's hand all the way through. They're still useful but without close guidance it causes more damage than it fixes. And complex math proofs are a much harder problem.

1

u/ZedaZ80 17h ago

The math-focused models function a bit differently. Due to the (pre-existing) work with LEAN, it is relatively easy for the model to write a proof in LEAN and guarantee its correctness, unlike with programming. Because a statement can be verified, it is much easier to train a machine learning model to write valid proofs, and using far fewer resources. It's the perks of a very precisely defined science.

1

u/Fidodo 14h ago

You can do the same thing in programming, you just define tests and constraints and tell it to fulfill them. The problem is that it will come up with a solution but it will be god awful and impossible to understand and impossible to maintain, and applications need to be flexible.

I suppose a math proof doesn't need to be maintainable, but is the elegance and techniques used in the proof not important? I'm not saying it is, I'm genuinely asking.

I would think that while coming up with a convoluted confusing but correct proof would still be an important achievement, coming up with a more elegant version and pioneering new foundational techniques would also be important and in some cases even more important?

Maybe the role and prestige of a mathematician needs to move away from being the first to show something is possible, to being able to show it's possible in a more elegant way. But again, I'm not in the domain so I'm more postulating than anything else.

-2

u/alexnedea 1d ago

Using AI is a skill just like using any other tool. You slowly learn what it can and cant do and predict where it will hit roadblocks.

My work colleague can use half the tokens for a prod ready entire service and deployment and ts fucking squeaky clean. I am struggling a fair bit more and use more tokens. Some people at my work almost dont use AI and say "I dont wanna lose my skills".

Buddy your skills are fucking useless unless you are the top 0.1% of programmers and the skills you want rn are how use LLM

2

u/Fidodo 1d ago

That's what I do, but it can't do a lot of things and needs tons of guidance to reach my standard of quality. So when people claim it can do great stuff on its own I'm doubtful or think they may have low standards.

But if you don't understand what it's generating you can't provide assurance and you can't take responsibility for it.

5

u/DanteWasHere22 1d ago

If a human doesn't understand doesn't the proof, has humanity discovered anything?

1

u/slaymaker1907 1d ago

It depends on what the objective is. For pure math you're correct, but Navier–Stokes is pretty useful even if humanity doesn't understand the proof. New CS algorithms would be much the same a lot of the time. If you come out with a more efficient oblivious RAM algorithm, that could have an enormous real-world impact.

2

u/Cwaghack 1d ago

NS is pure math too

2

u/DanteWasHere22 17h ago

Sure im not saying theres no value. The further ahead AI gets, the less useful it will be

1

u/SugarRushLux 1d ago

I do wonder though if it could be leveraged in a new way to still get ahead vs being replaced

4

u/witcher222 1d ago

We can argue throwing llms at proofs is a novel technique

1

u/mad_cheese_hattwe 1d ago

What did we learn other then with enough compute we can brute force these problems.

-1

u/witcher222 1d ago

Do we have to learn anything else from this ? While not satisfying, It's still a net plus

2

u/JaSper-percabeth 1d ago

Not really reading that 250k page proof likely will introduce scientists to new methods of thinking, approaching problems and might even lead to new math like countless other failed attempts at solving RH have moreover you can use AI to help understand that text better too should you need it.

6

u/haitei 1d ago edited 1d ago

What AI produced, AI can also optimize and translate into a human readable form. The things you've listed may yet to be extracted from the proof.

And if they won't? It's not like we have any guarantee that a hypothetical human-crafted proof would be beautiful. I don't think anyone would dismiss it either way.

As for the length of the proof: the 250k pages were not published, only the Lean code is public - 17 milion LOC. Hardly a small number, but a Lean proof for Fermat's Last Theorem was 13 million LOC that map to 170 human-readable pages.

3

u/scinos 1d ago

On top of that, probably impnce solved by AI there is little motivation for humans to "improve" the proof so to speak. The thrill is no there anymore. So even less chances to learn useful maths in the process.

3

u/-Redstoneboi- 1d ago

impnce? once?

2

u/scinos 1d ago

Yes, lol. Sorry

3

u/nicuramar 1d ago

I think there is a lot of motivation to do that, but we’ll see.

1

u/Mclovine_aus 1d ago

Depend, sometimes with these hypotheses things are built on assuming something to be true. ETH proven false, stops people from making papers on the assumption that it was true

0

u/rosuav 1d ago

Equally hot take: AI didn't solve this. A person did, using a computer as a tool. Can we stop praising the tool and go back to praising the mathematician? When people started using computers to solve big math problems, did we say "look, sand is better than math"? No, we congratulated *people* on using a new tool to solve their problems.

Levent Alpoge (if I spelled the name correctly) is the one who solved this. Or, to be precise, *may have* solved this, as it hasn't been confirmed yet. But it wasn't Claude, it was Levent.

10

u/Agifem 1d ago

Come on, the man admits he himself doesn't understand the paper the AI defecated.

The AI did the job, the man is just stamping it for glory.

-4

u/rosuav 1d ago

What we need to know is whether the LEAN code was correct, not whether the final output is meaningful.

5

u/Agifem 1d ago

That's a sad statement. Mathematics isn't about proving what is true, it's about understanding why it is true. Proving Navier Stokes or Riemann without understanding the proof doesn't help anyone except stakeholders.

5

u/Cwaghack 1d ago

Bro if you dont understand your own proof then you didn't make it, sorry.

Its completely fine to use AI as assistance but if you dont understand what's going on, then I'm not going to give you the credit

2

u/DokOktavo 1d ago

I I hit a nail with a hammer, the hammer did hit the nail too.

2

u/mad_cheese_hattwe 1d ago

Eh, if I travel 42km on a motor bike, that doesn't mean I know how to run a marathon.

1

u/ligma_then_sugma 1d ago

yeah but it'd be a nice trip

1

u/rosuav 1d ago

That's true, yes, but to a mathematician, you still travelled 42km. In fact, once you've travelled 42km once on a motor bike, you don't ever need to do it again; you can simply point to the fact that you did it, and say "and then I am 42km away". To a mathematician, the Travelling Salesman Problem does not require you to (a) travel, (b) be a salesman, or even (c) have a problem.

Who was it who proved that the God Number for Rubik's Cube is 20? It wasn't Google, even though they donated some bonkers amount of CPU time to help verify it. It was the people who prepared the task. (Exactly how much CPU time Google donated isn't entirely clear since we don't know the chips used, but the researchers calculated that it would be roughly 35 CPU years of a desktop PC.)

Of course, if you think that it's as easy as "Claude, prove or disprove the Riemann Hypothesis", you're welcome to try that. But it won't work that way.

-1

u/ligma_then_sugma 1d ago

i kind of feel this but not really

humans made ai and it's learned from human knowledge

so it's not all fake, but idk not gonna call it human product

1

u/rosuav 1d ago

I'm not saying it's fake, I'm saying that we should give credit to the *people* involved. Look for example at the history of calculations of pi: https://en.wikipedia.org/wiki/Chronology_of_computation_of_pi Each new achievement is credited to a person first and foremost, and acknowledges the tools used where this is known.

4

u/Shot_in_the_dark777 1d ago

3x+1 next please

1

u/IHeartBadCode 1d ago

I used the math to solve the math.

1

u/andarmanik 1d ago

Imagine we time travel to the past and tell the mathematicians who wanted to solve Riemann to focus on sgd and statistical methods.

In a weird way this is the only thing we as human developed which actually brought us closer to Riemann.

Compare this to calculus and going back to before newton.

1

u/Dependent_Can_3505 1d ago

so, math is solving itself?