r/singularity • • 4d ago

the Singularity is Nearer Throttled

Post image
5.4k Upvotes

431 comments sorted by

297

u/exophades 4d ago

I'm wondering how many people prompting this problem know anything about complexity theory.

205

u/QuasiRandomName 4d ago

Claude is probably so annoyed that it starts banning people on it's own.

69

u/PilgrimofHaqq2 4d ago

Already happening but following protocols set by Anthropic.

Anthropic might already be testing an "annoyance" characteristic into their models so if someone is just spamming random garbage into their user requests to try to break the model, their "annoyance" threshold or something could flip and the model might just refuse requests in that chat lol.

29

u/FormulaicResponse 4d ago

Claude has had the ability to end a chat for maybe a year now. It has to warn you and try to steer the conversation back to productive territory first, but it will cut you off for, as an example, repeating the same input over and over or spamming random shit.

→ More replies (5)

12

u/ChronicCactus 4d ago

Isn't that what usages limits are for?

8

u/ZenCyberDad 4d ago

Should be… but they make so little off of the average user who are not enterprise they probably calculated that banning “annoying” users earlier saves more compute and money in the long term

→ More replies (7)
→ More replies (1)

20

u/BobodyBo 4d ago

Yeah there’s a decent amount of CS fundamentals that are required to get anything past a surface-level understanding of P vs NP

I did complexity research in grad school, and it is very interesting to see everyone talking about this, but also annoying seeing everyone explain it incorrectly. Especially the YouTube “Educators”

5

u/lemonylol 4d ago

All this stuff is very reminiscent of the kids who browsed 4chan back in the day claiming "we are legion" when they had absolutely zero connection to anonops, but took the credit for it.

8

u/Opening_One7713 4d ago

I wonder if this guy knows anything: https://scottaaronson.blog/

9

u/tiffanytrashcan 4d ago

"I've been drinking wine in my kitchen"
Followed by:
"HOLY SHIT HOLY SHIT HOLY SHIT HOLY SHIT"

120

u/Bomaruto 4d ago

People posting screenshots of X users posting screenshots of fake Claude screenshots...

690

u/Fast-Satisfaction482 4d ago • Bravo

You guys get me low-key scared that P = NP is actually true and all bank transactions world wide need to be halted immediately because all encryption is broken, and I starve because I can't even buy a stupid sandwich.

440

u/Scolmann 4d ago

Even if P = NP that doesn't necessarily mean encryption is broken. A polynomial time algorithm can still be N^10000 and that would make it impractical to run

77

u/FateOfMuffins 4d ago

It doesn't even have to be N10000

It could be N9/4 but the algorithm is still worse than the N2.8 one cause the constants are galactic

43

u/elbow8075 4d ago

The fuck??? Explain it like I'm stoned like one of the ladies from the Life of Brian please.

31

u/pyrotech911 1d ago edited 1d ago • Helpful Bravo Heartwarming

All of the computers that exist can only put so many numbers together. In some reasonable time, like an hour. While that is a lot of numbers the amount of numbers that you need to open a single bank request without access would take those all of the computers on earth trying to work out one transaction up to millions to billions of years.

When this is the case we say that this is “computationally infeasible”. Like it’s possible but you basically have no shot at getting the right numbers in a reasonable amount of time.

Now why are people scared? If this P=NP is true then there theoretically exists a method to work this out faster than millions of years. You still need to discover what that is, simply proving it won’t get you there. And once you do have it, it could turn out to take the shape of something that takes hours but has a catch that still makes it take far far longer.

So let’s say I have to crunch several billion numbers. No problem because I have a lot of computers. I can express how many times I need to do something for every element in my list as a polynomial (math expression built by adding, subtracting, and multiplying numbers and variables where the variables only have whole-number exponents)** **of my input set size n (several billion).

But if it turns out one of those whole integer constants or exponents turns out to be a really really big number, like a quadrillion, then I need to do an operation for each of a quadrillion combinations of a billion numbers (the number of operations in this case would be 1 followed by a quadrillion 0s). This turns out to be in the same neighborhood of operations that we need to do without the deterministic polynomial (NP) solution and it lands squarely back in computationally infeasible.

So in short, as people have been saying, simply breaking P=NP will not break all encryption instantly. And it might not even break it at all. Hope this helps!

→ More replies (5)

20

u/arco_drop 4d ago

the other commentor honestly did a really shit job of explaining it to the layman. simply put just because a problem has a proven solution doesn't mean it's practical in real life, it can still take one brazillian years rendering it pointless.

7

u/1-21GWs 2d ago

How many years is that in portugese

→ More replies (1)

44

u/baka_no_sekai 4d ago edited 4d ago • Bravo

an algorithm can be subexponential and polynomial time i.e. time complexity n^ some constant where n is the size of the problem. for example, naive matrix multiplication is O(n3 ) where n is the dimension of the matrix. this means that if i double the dimension of the matrix i expect the time taken for matrix multiplication to increase by 23 =8 times. however, this notation doesnt look at the constants i.e. the coefficient of n3 . suppose we did have a matrix multiplication algorithm that was O(n2 ) instead (for simplicity), if the actual runtime was 1000000n2 and the naive matrix multiplication was n3 exactly then this "faster" algorithm would only be truly faster when n>=1000000. this is what is meant by "the constants are galactic", the actual runtime of the "optimal" solution is only faster on problem sizes that are extremely large and unlikely to occur in what we use them to solve currently.

in the case of P=NP, even if we did discover a constructive factorization algorithm, it doesnt mean that it would automatically break all current cryptography, for instance if the constants on this prime factorization algorithm were extremely large, even if the power on the exponent was relatively low. secondly most cryptographic algorithms have since shifted away from rsa (which uses the difficulty of prime factorization as justification of its security) to things like elliptic curve cryptography (ECC) which cannot be broken even if we determined a constructive, feasible prime factorzation algorithm. (constructive here means that our proof of P=NP explicitly tells us how to construct such a polynomial time algorithm; it could also be the case the our proof of P=NP merely shows the existence of such a polynomial time algorithm without constructing it).

44

u/PerfectEnthusiasm2 4d ago

You explained it like they were a post grad mathemetician. They asked you to explain it like they were either stoned, or like they were graham chapman in drag.

→ More replies (4)

30

u/_36-_426-__ 4d ago

This guy gets it, I don't but I think he does

→ More replies (6)

19

u/knightenrichman 4d ago

Welp. I understood nothing past the first 1/5 of the first line 🤣!

→ More replies (5)

15

u/IntelRaven 3d ago

Ok so when a car is at a constant speed, another car that’s accelerating (ignoring some constraints like air resistance) would eventually catch up to that other car

However, if a car is accelerating by 2 miles per hour every second, and the other car is holding its speed at a million miles per hour, then it takes 500,000 seconds just for the first car to catch up to the speed of the constant-speed car, and even longer to catch up to the position of it.

This is how constants work in these algorithms - even if an algorithm has a linear (constant speed) solution, it’s possible for the polynomial (accelerating) solution to be way smaller to start out for a really long time. In fact, a constant time solution could still be impractical if it has a huge constant (picture this as a car parked and not moving, but a billion miles away - the million miles per hour vehicle would have to drive for a thousand hours to overtake the billion mile car)

Oh and in this analogy the closer a car is to the start line, the less complicated of a calculation it represents!

→ More replies (1)

9

u/Joros89 3d ago

Imagine all our computer secrets are kept inside locked treasure chests, and people worry that math wizards might find a super-fast trick to open them all. Even if that trick exists, our secrets are still safe for three big reasons. First, a "faster" trick might still require doing a billion slow steps before you even touch the lock, so it still takes forever in real life. Second, proving that a magic key is hiding somewhere in the world doesn't mean anyone actually has the map to find it. Finally, even if someone learns how to pick the old locks, almost everyone has already switched to brand-new, totally different locks that the trick won't open anyway.

→ More replies (3)

3

u/daniel-sousa-me 4d ago

The algorithm could be linear and be impractical. 10000000000000000000000000000000000000000000000000N is a pretty big number

→ More replies (1)

9

u/CrowInteresting6271 4d ago

9/4 is just a matrix exponent, so that's not a good example. directly has a law that makes it much easier

19

u/mdkubit 4d ago

Yeah, the biggest thing is that they'd be potentially exposed, not guaranteed exposed instantly. Just because algorithms might exist as shortcuts doesn't mean they're easy to find... er....

70

u/MeatisOmalley 4d ago

This is technically true, and I keep seeing this everywhere, but polynomial problems tend to be highly optimizable. So if it's very expensive that doesn't mean it will always be very expensive. And there's no reason to assume most problems would fit in the "too ridiculously hard to practically solve" tier; a lot of historical encryption algorithms that fell can be solved in minutes or less now with optimized solutions.

5

u/No_Point_1254 3d ago

There are some bounds on this in general. Bear with me here for a moment.

Information has entropy. You have two axis to represent that information, space (storage) and time.

Pretend a computation has a smallest atomic unit of work (smallest possible time slice, i.E. a "step").

If any program could run in less steps AND less storage than is needed to encode the contained information (its entropy), you would violate conservation of information.

So, the lower bound of steps + space CANNOT be lower than the information contained in the problem, or you can achieve arbitrary compression (violate conservation laws).

The counting argument alone sees to this, just that it counts discrete space and time steps here.

So, independent of whether P = NP, if you can show a problem contains much (useful and non-repeated) information, its constants may still all be provably galactic.

→ More replies (5)

6

u/2024-YR4-Asteroid 4d ago

I want p≠np but np=bpp for maximum hilarity.

20

u/mathematics_helper 4d ago

I want it ti be a linear algorithm with a constant added to it that is at least bb(20)

8

u/BobodyBo 4d ago

For bounded size encryption keys you could surely brute force it in less than bb(20) steps

6

u/mathematics_helper 4d ago

Well sure that's for those problems.

Take n=bb(19) in your favourite p problem, then bb(20) feels less far-fetched. For n=bb(21) our algorithm would be useful, of course you cant actually implement that

My point wasn't that its realistic in anyway, I just would love the ludicrousness of it and really fascinated with how the fuck it works.

→ More replies (1)

3

u/R0ma1n 4d ago

Anything that physically fits on a data storage system in our universe has to be brute-forcable in less than bb(20), I suppose.

→ More replies (1)

2

u/yourparadigm 4d ago

This gave me a good chuckle.

4

u/Either_Letterhead_77 4d ago

In fact, Knuth believes there's a good chance that P = NP, but something about the algorithm will make it impractically large.

2

u/Emotional-Focus-1031 18h ago

Can you explain this to me like I'm 5??

2

u/Scolmann 17h ago

P=NP would mean that if something has a polynomial time to check if it's correct, it also has a polynomial time algorithm to generate the answer
(A classic example is sudoku, super fast to verify, but not so fast to get the answer) P=NP would mean that we could find Polynomial time algorithms for solving those problems, but polynomial doesn't necessarily mean practical to run. It could still be asymmetric, where verifying could take N or N^2, and finding a solution would be N^10000

It's not necessary that cases like that would exist, but it's still compatible with P=NP, so the point is that P=NP doesn't necessarily spell disaster for those algorithms. Ideally we can prove that some kind of asymmetry exists, so we can rely on it.

13

u/tylergalaxy 17h ago • Bravo

no bro like im 5

→ More replies (8)
→ More replies (1)
→ More replies (4)

9

u/Broken_By_Default 4d ago

Don't worry. We can just go back to cash. It's not like all the money is made up sitting in databases around the world or anything.

oh...

6

u/Fast-Satisfaction482 4d ago

Imagine banks sending couriers with books full of hand written transactions between each other to keep us from starving. 

2

u/Ok-Faithlessness3068 4d ago

it would be good for human industry

6

u/SilasTalbot AGI | Aug 29, 2027, 2:14 a.m. Eastern Time 4d ago

can't even buy a stupid sandwich.

Well there's your problem. Upgrade to Smart Sandwiches, they are AI enabled.

13

u/Desultory_Chairlift 4d ago edited 4d ago

I don't actually think that would happen. Just because it's solvable doesn't mean it would be in a practical amount of time.

Maybe I'm wrong but I think p=np would actually be the best outcome overall. Also my intuition just kinda leads me to believe that p does equal np but I don't know anything so who knows.

15

u/SpikyLlama 4d ago

I'm curious, why would your intuition lead you to that? Intuitively, sudoku is significantly harder to solve than it is to verify, so P ≠ NP feels far more intuitive 

17

u/Proper-Ape 4d ago

I'm curious, why would your intuition lead you to that?

OP did state that they don't know anything.

5

u/Desultory_Chairlift 4d ago

This is true, I am in fact a knower of nothing.

→ More replies (1)
→ More replies (5)

4

u/Kryptosis 4d ago

What’s everyone so scared of? Once the Ai solves the best encryption just ask it to find a stronger one!

3

u/Hodr 4d ago

Solving P=NP doesn't give you the means to reduce NP to P, only tells you that it should be possible.

21

u/Rattlerkira 4d ago

Lowkey, it would be bad as we had to adjust our financial systems, but wouldn't be too bad.

We would have to go back to using paper money, probably. Huge inconvenience. Shut down all transaction based websites. Huge inconvenience. But we'd innovate around it and then the positives of P=NP would be actually pretty cool.

"I have this model of cancer. It's easy to verify if something kills the cancer without killing the patient. Therefore it's easy to find a cure for cancer. (so long as my model is accurate)"

23

u/SchwanzusCity 4d ago

P=NP does not imply that any practical/non galactic aalgorithm exists. it doesnt matter if encryption can be broken if the required algorithm is O(n^100000) or has a constant of grahams number before it

8

u/Rattlerkira 4d ago

Yes, I know. But if the solution is galactic, it won't break our financial systems, so it wouldn't be very relevant.

I'm responding to the financial concern. If it's not relevant, it's not relevant. If it's relevant, it's good.

→ More replies (2)
→ More replies (1)

9

u/Objective-Rip3008 4d ago

Those things arnt inconviences lol. They would involve massive market crashes and years of mass unemployment as everyone tries to adjust, at best. People always talk about this stuff like they arnt the ones who have to live through it

→ More replies (5)

14

u/KamikazeArchon 4d ago

Huge inconvenience is a remarkable understatement.

In geological timescales, yes, we'd adapt quickly. But the chaos interim period would make the Great Depression look like a minor adjustment.

7

u/Rattlerkira 4d ago

Do you think so? I don't think so.

It would require a great undertaking, of course, as we began to migrate away, and we'd have tons of instability. But... the internet hasn't been a pervasive way of operating everything for all that long. What, 20, 40 years?

Going backward 20, 40 years is really really annoying, and it might be great depression level, but I doubt it. I don't think actual production would decrease (which was the trouble with the great depression, our actually needs couldn't be met)

It would expand our ability to create to such an extent that within 5 years I think it would be a wash. An inverse COVID (instead of the world becoming more internet it becomes less).

5

u/KamikazeArchon 4d ago

If we have 20 years of warning, sure. That's not the scenario being envisioned (or if it is, then we're talking about very different things).

Shutting down all transaction based websites means that all shipping shuts down, today. Everything grinds to a halt, today. Within a week optimistically, the grocery stores are empty. Then every city starts starving.

The shipping infrastructure is deeply reliant on those communication methods. And there is absolutely no way to just fall back to other methods - not only because of how many "paper records" simply don't exist anymore, but also because the infrastructure relies on a bunch of dynamic routing and decisions made every minute by communication between automated systems.

→ More replies (7)
→ More replies (1)

4

u/Taraxian 4d ago

This is a best case scenario that assumes the people in charge are on top of it the moment it happens before any bad actors do serious irreversible damage

I see absolutely no reason to have this kind of faith in the current moment

→ More replies (2)

2

u/a_dude_from_europe 4d ago

Bro is calling the almost complete wipeout of the world economy an inconvenience.

3

u/Rattlerkira 4d ago

I think tech people over estimate their importance. Internet is very very important! This would be disastrous!

But countries have recovered from the complete annihilation of their country in war in 10-20 years, and this would not be that. It would be progressively stronger cyberattacks and a progressive shutdown of the global internet.

→ More replies (1)
→ More replies (1)

3

u/NoLifeGamer2 4d ago

Nah, even P = UP would break all encryption, but we don't even have that. Factoring in P just breaks RSA but there are others

5

u/jmorais00 4d ago

BANK RUSH AND FREAK THE FUCK OUT RIGHT NOW

  • Jpow or whoever the current chairman of the Fed is nowadays (don't know, I'm not American)

5

u/magicmulder 4d ago

Don't be. It's extremely unlikely, especially after AI proved VP != VNP. If anything, integer value problems are harder to get right (compare to optimization problems).

2

u/anrwlias 4d ago

If it were that easy, we could just assume that P=NP and check to see if we can break encryption given the assumption.

2

u/v202099 4d ago

If you have ever worked with SWIFT and its utterly ridiculous authentication mechanisms, then you will be as gleefull as I will be to see it fall to pieces.

4

u/Fast-Satisfaction482 4d ago

You either have tons of cash at home or a farm, arms, and tons of diesel to watch SWIFT burn gleefully.

2

u/v202099 4d ago

I have none of that, just a shitton of Schadenfreude in regards to SWIFT.

→ More replies (1)

2

u/abhasatin 4d ago

dont VERBALIZE it. jeeze.

2

u/Melodic_Photo585 4d ago

how are you in the AI bubble without doomsday prepping even a little lol, I'm a hardcore optimist but damn have I bought some stuff recently 

→ More replies (1)

2

u/Bloosqr1 2d ago

guys its clearly true for N=1 !!

6

u/Informal-Trouble2183 4d ago

All encryption algorithms will be broken anyway, regardless whether P equal NP or not. That RSA factorisation problem will be solved soon, at that point of time, not only banks, crypto, bitcoin are much more concerning since they can't update their algorithm in time (if there's ever a central authority)

15

u/Fast-Satisfaction482 4d ago

What makes you believe that it will soon be solved?

There might be an absolute lower bound for algorithmic complexity of factorization.

Throwing incredibly intelligent models to find a solution doesn't bend reality to make such a solution exist.

→ More replies (4)

8

u/ajwin 4d ago

No one that matters uses RSA any more. None of the new encryption uses prime factorization. Not saying that can’t be cracked too but elliptic curve (AES etc) is way more common then RSA.

6

u/GeneratedUsername019 4d ago

Well... No, but the existing 10 year old hard/firmware that can't be updated absolutely does rely on RSA. No one is worried about today's stuff.

2

u/squired 4d ago

Correct, and while I'm too tired to go chase it down and source it right now, the banking system has for years been updating their systems for the potential of quantum computers breaking it as well. The main trunks will be fine. It'll be bumpy, but we should 'alright'. If anyone is interested, start with Project Leap and PQC.

→ More replies (1)

2

u/Wast3edSpace 4d ago

The other issue here are the encrypted loot boxes of data that have been hacked over the years and are just waiting to be cracked. The banking system is just one part of it. What happens when the black books and compromat that were previously thought safe start being pried open?

2

u/StretchedGary 4d ago

Most secrets rapidly lose value as time goes on. Like if someone decrypted your web traffic from 2010 today, they probably wouldn't find anything actionable in it aside from some PII.

→ More replies (2)

1

u/BobodyBo 4d ago

Lesser known fact about P = NP implications: The polynomial hierarchy collapses to P as well.
That would mean problems thought to be harder than SAT would also be in P, e.g. ∀∃SAT, which asks for all assignment to one subset of variables, does there exist a satisfying assignment to the rest. Same for ∀∃∀SAT, ..., ∀∃∀∃∀∃∀SAT.

This also relates to bounded-move two player games since they usually have the form of "For all my oponents moves, does there exist a move I can make, such that for all their moves ... I win".

So P=NP should theoretically mean most two player games could be solved as well.

1

u/anally_ExpressUrself 4d ago

Encryption is based on factoring the products of very large primes, and breaking it is already shown NOT to be NP-hard.

So... Good news! Even if P != NP we might still need to halt all banking transactions at some point.

1

u/f2ame5 4d ago

This is the case if they actually release the proof, when they prove it, which I doubt. They will turn our lives into ones of these dystopian sci fi stories.

1

u/Eliv_nurotic 4d ago

Even if p = np, an algorithm to crack rsa would most likely be galactic 

1

u/TenTonSomeone 4d ago

Genuine question, how exactly would this affect banking systems? And to follow up, could the ledger based system of cryptocurrency be a solution?

2

u/BuscadorDaVerdade 4d ago

Cryptocurrency relies on cryptography. It's more susceptible, because it's rules-based. Banking has discretionary roots and a clerk sanity-checking stuff is still a thing.

→ More replies (1)

1

u/AUniqueUserNamed 4d ago

Singularity, but the monkey paw version 

1

u/tbkrida 4d ago

Question. Would Bitcoin still be secure?

1

u/Skullfurious 3d ago

Even if it is equivalent it still requires you to find the function to solve the NP of the P or vice versa... It's not automatic nor is it intrinsic to just immediately reverse engineer this shit.

1

u/vingt-2 2d ago

if P=NP, we still need to find what is the polynomial time algorithm to inverse encryption, which is another problem in and of itself. And even if we has a polynomial time, that could be a large polynomial :)

1

u/MysticForcee 2d ago

What business do major banks transactions have with that? Genuinely asking. I looked up what P=NP means, I get it, but I don’t understand the reference to bank transaction

3

u/Immersi0nn 2d ago

So banking transactions, extremely simply are secured by multiplying two 300 digit prime numbers (Private Key) to get a 600 digit number (Public Key). Now say I ask you, who only knows the Public Key, as we all do: "What two 300 digit primes were used to create this 600 digit number?" would you be able to answer that...ever? If you could, congratulations! You've broken banking. You can't, your supercomputer can't, currently nothing that we know of can in a human species timeframe.

If P=NP is solved, suddenly figuring out those primes is just as easy as knowing the primes in the first place that you multiply to get the public key.

This is an extremely basic explanation that doesn't really touch on the rest of how banking security works but I hope that helps a bit with understanding how bad it could be.

→ More replies (12)
→ More replies (3)

1

u/iboxagox 1d ago

Revelation 13:15-16 The second beast was given power to give breath to the image of the first beast, so that the image could speak and cause all who refused to worship the image to be killed. It also forced all people, great and small, rich and poor, free and slave, to receive a mark on their right hands or on their foreheads, so that they could not buy or sell unless they had the mark, which is the name of the beast or the number of its name.

1

u/ConditionNormal6703 1d ago

Buy a sandwich?? I'll be looting if that's the case lol

1

u/Theomatch 1d ago

"will not lead to imminent danger for any currently deployed cryptosystems."

https://scottaaronson.blog/?p=10387

1

u/timeaisis 21h ago

Just because it’s true doesn’t make the algorithms appear overnight that’s not how it works lol

1

u/SignoreBanana 13h ago

Take solace that there are people much more powerful than you who have aligned incentives.

•

u/rinkydinkis 1h ago

In that situation the squirrels you see on the trees are free food

1

u/Nillows 4d ago

Relax. It's not a flaw in the SHA algorithm, we can just move from sha512 to sha2048 and beyond and the search space again becomes impossible to compute in any reasonable amount of time, even in ploynomial time.

2

u/Fast-Satisfaction482 4d ago

Makes me wonder if apple has hidden some emergency pre-shared keys in their silicon to roll out AES-only emergency updates. 

→ More replies (1)
→ More replies (1)

1

u/raresaturn 4d ago

Elliptical cryptography does not rely on factorization

→ More replies (27)

25

u/uhohstinkywastaken 4d ago

Can someone ELI5 P = NP

46

u/NoFunk 4d ago

Since the answers are all doctorate level, here's the non-AI supplied actual answer as small as I can distill it:

P = NP describes how hard it is to solve a tough math problem (as used for instance in encryption). If P does equal NP, it means that many problems that we have assumed to be hard if you didn't have the key (part of the answer) are not actually hard. This would mean encryption is easily solvable compared to what we believed. It would not automatically mean encryption is broken, but it would mean that it *can* be broken.

9

u/Successful-Cash5047 4d ago

From the (likely simplified?) explanations I’ve heard, I don’t see how P=NP could be true. 

The explanation for what P=NP is asking is usually something like: are all problems with solutions verifiable in polynomial time also solvable in polynomial time. 

The answer to that (simplified version) would obviously seem to be no, simply due to information loss. 

Take an OR gate. If I tell you my output is 1, you can easily check if my inputs are valid (verifying it). But wouldn’t be able to solve for the inputs as it could either be (0,1) or (1,0). 

In my mind any system with significantly more permutations of inputs than permutations of outputs would be easily verifiable, and impossible to solve for the inputs due to the information loss. 

Is my thinking flawed or a mischaracterization of P=NP? 

10

u/NoFunk 4d ago

This is the consensus yes. We've seen cases in the past though where the intuitive truth isn't the actual truth when it comes to math though.

5

u/itsDesignFlaw 4d ago edited 4d ago

The problem that takes this otherwise good intuition for a ride is NP complete problems. They are basically "ancient problems" if you will, that other NP problems can be reduced to.

But that's me sidestepping your claim. It's a good intuition but the wrong problem. What about a function that takes a million inputs and always returns 1? The solution is trivial.  As for P Vs NP, what's worse is that any NP problem can be reduced to ANY NP complete problem; so if you were to solve (find an efficient, polynomial algorithm for) just one of them, it would give you a way to solve ALL NP problems. 

So because of the logic, the quest isn't to check every problem in NP to see if it's also in P, but to find a single efficient algorithm for a single NP complete problem which solves all the others.

Problem reduction here basically means that you have two problems, but one is basically just the other with a couple of extra steps (the polynomial overhead), and even the most exotic problems in NP (eg can a knot be untangled on a closed loop) can be mechanically stripped to the appropriate boolean logic and then, say 3-SAT.

5

u/theWyzzerd 2d ago

Not flawed at all, this is generally why the assumption is P!=NP, but you can't just intuit it; you have to prove it for all cases. And proving something doesn't exist is hard.

→ More replies (4)
→ More replies (4)

2

u/Inevitable_Space_568 4d ago

but what do you mean the hard problems are actually easy? like, if they were easy why havent we solved them? or does the theorem just say theyre easy, but not what the easy solution is?

6

u/Spare_Possession_194 4d ago

It's not really easy or hard. What we call these "easy problems" are problems to which a solution can be found and verified in 'polynomial time' (polynomial time is a term describing the time complexity of the problem - the relationship between the time to solve and the number of inputs). The "hard problems" they're referring to are problems for which a proposed solution can be verified in polynomial time, but we don't necessarily know whether we can find a solution in polynomial time. The question is pretty much whether every problem that can be verified in polynomial time can also be solved in polynomial time.

I like to think of a sudoku as a good example for the "hard problems". The process of building the solution to a sudoku is complex and slow, but verifying a solution is very quick. An "easy problem" for example is sorting a list of numbers, from smallest to largest. You can quickly verify if the list is sorted, and you can quickly find a solution as the problem doesn't take many steps to find a solution. Hope this helps clarify this a bit

5

u/SwimmingSympathy5815 4d ago

10007 x 34019 = 340,428,133 which is easy for a calculator to answer.

What is the prime factorization of 340,428,133? It’s 10007 x 34019. But it’s hard for a calculator to figure that out without knowing either number above. It gets easy again if one of the numbers is known though.

But if you can create a computation system that can solve the factorization of 340,428,133 into 10007 x 34019 as easy as it is to multiply them to get 340,428,133, then RSA doesn’t work anymore because its security is based on the computational cost disparity between those two things.

3

u/NoFunk 4d ago

It's generally not believed that they are easy, it's believed that P does not equal NP. But it's never been proven mathematically. That is what all this excitement is about. Proof either for or against is a huge advancement in a problem that has been known for a very long time but no one has been able to address.

3

u/IrisColt 4d ago

Consider the following problem: you create a "box" that takes a 1,000-digit input and... for some (convoluted, yet ultimately rational) reason... maps it to a 100-digit output. To an external observer, it appears that any given input produces a completely random 100-digit output. If you wanted the output to be, say, 100 consecutive zeros, the first approach... assuming the box is well-designed... would be to test various inputs until you happen upon the one that yields that specific sequence of zeros (P≠NP). In this scenario, the statement P=NP implies that there is always an incredibly clever way to bypass the need to test every possible input... even if you don’t happen to know what that method is, heh

→ More replies (2)
→ More replies (12)

9

u/BeefDurky 4d ago

Here’s the most basic version I can think of. Do there exist problems that are easy to check but hard to solve? For instance, sudoku or prime factorization. Basically when you have the right answer it’s quick to check but very difficult to figure out otherwise. As you can imagine, our digital security relies heavily on these types of problems. If P=NP, then these type of problems don’t really exist. It just means we have yet to discover an efficient way of solving these problems. If P=/=NP, then there is something fundamentally difficult about these problems which prevents them from being solved as quickly as they can be checked.

5

u/dempa 2d ago

as a computer scientist, finally a decent ELI5 of P=NP

2

u/Gloomy_State_6919 20h ago

With the caveat that what a theoretical computer scientist calls efficient doesn't have to mean "easy to calculate on real hardware". So it might still hold that integer factorization is hard to solve in practice. If we could prove a sufficiently large lower bound for the runtime, P=NP wouldn't matter. Until then many people would lose a lot of sleep.

→ More replies (4)

7

u/IronPheasant 4d ago

There are problems that take a lot of math steps to produce an answer. But are very easy to confirm are right, like fitting a lock into a key.

If P = NP, some or all of those problems wouldn't require as much math to produce an answer. Basically, it's people hoping that you can get something for free.

It's rather a long shot. Most likely you do need the RAM and CPU cycles, and there aren't magical lossless algorithms to everything.

2

u/knightenrichman 4d ago

It honestly sounds like trying to discover pure witchcraft to me!?!

→ More replies (1)

6

u/Due-Consequence9579 4d ago

Math problems are solved in steps. Some problems get more complicated as some number gets bigger. Other problems don’t. The problems that get harder as the numbers get bigger have ‘polynomial’ complexity. The problems that don’t care about the numbers getting bigger have non-polynomial complexity.

The encryption part of computer security relies on polynomial complexity problems. It is prohibitively expensive to figure out the solution without knowing the answer beforehand, so your information is safe.

P=NP is saying ANY polynomial solution to a problem can be restructured into non-polynomial solution. Basically there are no problems that are actually hard, you just have to know the easy way to do it. That would make every encryption algorithm we are using completely useless. It would also make a lot of interesting questions possible to address.

3

u/Spare_Possession_194 4d ago

You got that pretty much backwards.

Problems that have a polynomial relationship between the amount of inputs and the time to solve are polynomial time problems, what we call P problems. Non polynomial means they get much more difficult to solve as the amount of input grows, definitely not that they don't care about the numbers. Polynomial time could also describe problems that are not affected by the number of inputs. Problems that do not care about the number of inputs are O(1), which is a polynomial time.

P vs NP asks the question: does any problem that can be verified with polynomial time, can also be solved with polynomial time. P=NP would then mean that for any problem which can be verified in polynomial time, there exists a solution algorithm which can solve in polynomial time. The general consensus is that this is false, and P≠NP.

It would also not make encryption algorithms instantly useless, that is a completely different question

4

u/New-Entertainment914 1d ago • Heartwarming

I'm working on a 10,000 piece jigsaw puzzle and just finished it after 5 hours of work. It takes me 10 seconds to look over the jigsaw puzzle and see that I have placed all the pieces correctly. 

If P=NP, it is possible that I could look at the pile of puzzle pieces and determine the appropriate placement of all pieces within the puzzle in 10 seconds, the same amount of time it took to verify that the puzzle was correctly pieced together. 

2

u/Toxic_Lithium 1d ago

Hmm I thought it’s more like you know that the puzzle has all the pieces for the puzzle and the puzzle is correct. Rather than you know the final pieces how it looks. So you still need to figure out a way to actually finish the puzzle.

→ More replies (4)
→ More replies (1)

7

u/Least-Tap-8175 4d ago

My favorite example is a problem called subset sum.

I give you a list of numbers: 1, 16, 43, 172637, ..., etc.

I then ask, is there any subset that sums to 17?

This is very easy to check (1+16 = 17).

But, if your list of numbers is very very long, it can be hard to find that one subset.

If P=NP, we assume that there is a polynomial time algorithm that can find the subset. The naive version of this (where were running no hueristics, or dynamic programming), well, you really would have to go check each subset right? How else would you know? And that's the power set in size, which is going to be on the order of 2n.

For some cases, we have better performance (hueristics and dynamic programming), but there is no known universal polynomial time algorithm (hence, we do not know if P=NP)

13

u/LimerickExplorer 4d ago

uhhhhhhhhhhh

15

u/Albiz 4d ago

If that’s 5, then ELI2

12

u/Least-Tap-8175 4d ago edited 4d ago • Bravo

If I give you a list of 2 billion different numbers and ask if any of them sum to 150, that is hard to answer. You have to pick numbers, add them, and check if it equals 150.

Imagine there is some shortcut, you can do it without adding a bunch of different numbers and checking. In that world, P=NP. If you have to add and check, P!=NP (mostly, obviously very simplified).

We do not know if a shortcut exists, so the problem is unsolved.

6

u/knightenrichman 4d ago

That's the closest anyone's explanation has come so far that is remotely readable/understandable. That being said, I got lost halfway through the second paragraph.

What does P! mean?

→ More replies (4)

8

u/XB0XRecordThat 4d ago

It's easier to check if an answer is right than it is to find the right answer.

4

u/rdh727 4d ago

Imagine you have a bag of green and red apples. Now imagine you have a lunch bag, a sack, and 50 gallon barrel.

Is there a green apple in there? You go thru once, stop at the first green and say “yes”. Or go thru all and say “no”. It takes longer with a bigger container, but just a bit longer, and you can predict how much longer. That’s a P job.

Now imagine you want to pick out a few apples to equal exactly 1 pound (or 0.45 kilograms). You need to try all the combinations. There might not be one. Quick for the lunch bag, manageable for a sack, a fucking nightmare with a barrel. It gets way harder the more apples you have. Not a little bit, but a lot. That’s NP.

P=NP would mean we’re doing it wrong and there’s a quick hack to figure out the weight thing.

→ More replies (1)
→ More replies (2)

2

u/ynu1yh24z219yq5 4d ago

NP problems are very hard and take forever to solve, you would have to use a lot of computers to solve them. P problems are easy to solve if you know how and can be answered very quickly. NP problems and P problems probably aren't the same but it's possible that they are and if they are all your passwords are pointless.

2

u/azraelxii 2d ago

P problems are easy to solve, and a proposed solution is easy to verify that it's actually a solution. NP problems are hard to solve, but a proposed solution is easy to verify.

Example, deciding if a number is the maximum of a list is P. It's easy to find the max, look at all the numbers in order, keep track of the largest you have seen. If I give you a number and tell you it's the max ,also easy just look at all the numbers again.

NP is something like, deciding if a path through all 50 states never backtracks. It's easy to know if that's the case, just check every state and make sure there's nothing path that's traveled twice, but it's really hard to find such a path.

P=NP would mean every hard problem is actually easy, and we just haven't found the right way to do the hard problems yet. Nobody has ever found a NP problem that's P, so people think it's unlikely.

2

u/Jamooser 2d ago

Think of finding the square root of a number. It involves a rigorous process of approximation. Where as verifying a square root is as simple as performing multiplication.

If P=NP, it means for every problem that has a quick verification, like finding a square, there exists a quick solution, like finding the square root, and we just haven't discovered yet. If P =/= NP, it basically tells us that complexity is directional.

4

u/ravepeacefully 4d ago

P is the amount of time it takes to solve a puzzle, NP is the amount of time it takes to prove the results are correct. FYI these aren’t really what they mean, just simplifying.

If P=NP, modern encryption is not secure because it relies on a belief shared by many scientists that P!=NP.

If you have a password, there are a finite amount of characters it can use, if the puzzle was to determine your password, and P=NP, then I can find your password as fast as we can check if your password is correct, in near realtime.

There are other constraints, like even if P=NP, you might need an absurd amount of compute to reproduce it. We wouldnt be able to guarantee data is unrecoverable without the key however, this would be an issue.

1

u/sikisabishii 3d ago

Think about your abacus.

If you move one bead from left to right, you know the bead will stay at the right position.

What you just did to that bead is called an operation, and you know the outcome of the operation however many times you do it.

This makes your abacus a deterministic machine.

There are two buckets and you can put a problem inside either one of them: P and NP.

P bucket sits inside NP bucket. Think about NP bucket as a larger bucket and P bucket as a smaller bucket.

If I give you a counting problem, and if you can solve it in your abacus, and if you know how long it would take, you put that problem in P bucket.

If you cannot solve the problem on your abacus, even if you try for a very long time, you cannot put it into P bucket.

Can you put it into NP bucket?

It depends. It may be a problem without a solution. Then you cannot put it in NP as well.

P = NP is a question whether you can mix the buckets or not.

If it is true, it means there is a way for sure to solve a problem from NP on your abacus. We just need to find how.

Otherwise, we don't even need to look for how.

1

u/Old-Sun-9330 1d ago

Imagine a giant jigsaw puzzle with ten thousand pieces. Putting the puzzle together from scratch takes hours of trial and error because you have to test how pieces fit together. However, once someone hands you a finished puzzle, it takes only a few seconds to glance at it and confirm that every piece is in the right spot. In this analogy, P represents puzzles that are fast to put together, and NP represents puzzles that are fast to check once finished. The question P = NP asks: "Just because a puzzle is easy to check, does that mean there is always a secret shortcut to put it together just as fast?" 

1

u/Ok_Mountain3607 1d ago

I'll try, let's say you sort a list of names to be alphabetical order. I then check if the list is in alphabetical order. It's much easier for me to check than it is for you to sort. P = NP would mean that I have a way to sort thats just as easy as it is to check.

Think of any problem that is similar where coming up with an answer is harder than checking the answer, p = np would be the silver bullet of problem solving efficiency.

1

u/Tomii9 1d ago

these are problem classes.

P problems can be solved and the output can be verified fast.

NP problems are slow to solve, but any answer can be verified fast.

We do not know mathematically, whether these problem classes are in fact the same or not.

If someone solves P = NP, that does not mean all encryption is broken etc. It just says it CAN be broken in a reasonable time, but does not say how.

1

u/Lematoad 3h ago edited 3h ago

Easiest way to explain: you have two types of classes - “P” and “NP”. “P” is easy to solve and easy to verify. “NP” are easy to verify but not necessarily easy to solve. Take a game of sudoku- solving it can be tricky, but verifying that you have solved based on the constraints of the game is quite quick. There may be an algorithm that solves it extremely quick and verifies it to be extremely quick, making it both a “P” and an “NP”. It’s hard to verify because you’d have to either prove:

That algorithm exists (but unknown); or

That algorithm cannot exist

Seeing how proving a negative is difficult lies where our problem is. It’s easy to say all P problems are NP problems, but we don’t know if all NP problems are P problems.

Obviously I’m using sodoku as an elementary example and we’re actually talking about highly complex mathematical problems.

I’m just a nerd not a CS wizard so take that as you will.

Basically, we know P ⊆ NP, but don’t know if NP ⊆ P, causing a conundrum (and changing that symbol to an “=“). Basically not sure if because all apples are fruit, whether or not all fruit qualify as apples.

→ More replies (1)

246

u/howtogun 4d ago

Is this a troll. I mean there is like hundred agents trying to solve P vs NP on that pequalnp webiste.

64

u/green_cheese_moon 4d ago

It says "Parody" on the bottom right.

→ More replies (1)

97

u/nathan6174 4d ago

No lmao they blocked me too! I have a post about it I was almost there and he kept making excuses why he wouldn’t run it haha.

150

u/ArtKr AGI 2027 ASI 2028 or bubble crash adds 10 years 4d ago

“I have discovered a truly marvelous proof that P = NP, but I hit the weekly limit before I could write it down.”

— Pierre F., Plus subscriber

33

u/BanjoThunderbird 4d ago

"I have discovered a truly marvelous proof that P = NP, but I hit the weekly limit before I could write it down. Also, my computer is stuck typing in bold can anyone help me turn it back to normal please I need to write my P = NP paper but people won't take me seriously if it's all in bold thanks guys."

8

u/RealEbenezerScrooge 4d ago

REAL MATH WIZARDS ARE STUCK WITH CAPS LOCK

→ More replies (2)

21

u/JamieTimee 4d ago

Any reason for the full bold?

31

u/nathan6174 4d ago

I don’t know how to turn it off or what I did to turn it on lol

35

u/briggsy111388 4d ago

Incredible stuff

30

u/Grouchy-Pea-8745 4d ago

Average claude user

29

u/Zeflonex 4d ago

Imagine solving P=NP, but not being able to turn off bold on Reddit

→ More replies (1)

9

u/terrarialord201 4d ago

putting a hashtag before text makes it like this

→ More replies (1)

5

u/Kryptosis 4d ago

That’s a pretty good reason.

Are you on the mobile app?

→ More replies (1)
→ More replies (1)

17

u/aaTONI 4d ago

jesus this sub has gone downhill

6

u/asdhole 4d ago

Wow a hundred agents 🙄

1

u/HenkPoley 4d ago

Well, they are mostly trying to prove P!=NP.

https://pequalnp.com

9

u/NotaValgrinder 4d ago

Because they're worried about a non galactic polytime 3SAT algorithm causing a cybersecurity threat

8

u/Lazy_Jump_2635 4d ago

Anthropic tomorrow: You guys are not going to believe it... but we solved p=np

15

u/MissingBothCufflinks 4d ago

Why ban for it rather than just guardrailing against it? Think this is fake

20

u/Bomaruto 4d ago

The parody on the Claude screenshots should clear all doubt.

7

u/Opening_One7713 4d ago

Screenshots of random Twitter shitposts. Every day. All day.

17

u/Old-Pirate-1118 23h ago • Bravo

Why do you need AI for this?

P=NP
They are not equal (because on one side there is P, and on the other there is N and P)
Two letter weigh more than one, therefore it is moot. The scale would tip toward NP. So it is not equal.

1

u/wolfonweed 17h ago

not if N is less than 1.

→ More replies (1)

22

u/KitaiSuru 4d ago

Society if P=NP is proven:

8

u/michahell 4d ago

Ah yeah, sucks. I was seconds away from mathematically proving that AI psychosis aiBro’s are the new crypto/nfcBro’s and I got banned too

2

u/surfkaboom 13h ago

Does it do P = P

1

u/SpaceMeatpod 5h ago

yes, but it can only find the solution in NP time

1

u/ProletarianLilith 4d ago

No he wasn’t, although that is interesting

1

u/throwaway275275275 4d ago

Great, then my Bitcoin are safe

1

u/unlikely-contender 4d ago

maybe do the last step yourself?

1

u/StCreed 4d ago

If this was true, that person can easily sue. There are lawyers that would take up this case. You can't randomly worsen user experiences based on lies without consequences (if you get caught at it).

1

u/JSouthlake 4d ago

Do not be surprised if it n1000+. I have a sneaking suspicion we would have already had a not equals proof.

1

u/Accomplished_Net6080 4d ago

You're all 11

1

u/_KryptonytE_ 4d ago

I know the answer to this puny P = NP problem. What's in it for me if I share it?

1

u/navetzz 3d ago

I can believe in a probabilistic algorithm the factorizes large numbers in sub quadratic time.

I can believe P=NP for an absurdly large polynomial like 3-SAT in O(n^10)

I don't believe in the randoms in the internet claiming they were about to solve P=NP on their $30 Claude plan and got locked by anthropic.

1

u/supermaniish 3d ago

I feel it’s more likely we prove they’re not equal

1

u/James-the-greatest 3d ago

I’ll take things that never happened for 100 Alex 

1

u/notluismora 3d ago

might sound dumb but that tweet is completely fake right

1

u/Sporkers 2d ago

They don't want someone to beat them to any big breakthroughs, its their tool you can only use it on their terms.

1

u/ferminriii 2d ago

There's a live swarm working on it right now. https://pequalnp.com/pnp/live

1

u/FreakyDroid 2d ago

Parody - bottom right corner. Easy to miss 😄

1

u/Rahodees 2d ago

Is someone claiming this actually happened to them or is it purely a joke?

1

u/pharanth 2d ago

Its been my experience that when new tech breaks old tech we can often revert to pre tech tech, which is unaffected.

1

u/I_pee_in_shower 1d ago

I dont know what “bro” was doing but he wasn’t one line from proving anything. This is nonsense

1

u/joekiller 1d ago

P!=NP because the projection always has more paths than are perceivable from P but which are just slightly different and therefore !=. Shoreline measurement etc

1

u/The_Meme_Economy 1d ago

“Sorry, Anthropic researchers are currently investigating this problem. Check back in a week to get the answer!”

1

u/bars2021 23h ago

Damn, the system wouldn't like us to underestimate how smart it really is.

1

u/timeaisis 21h ago

I wonder what the complexity is of proving P = NP is

1

u/weathergraph 18h ago

Anthropic the next day: Look, we independently discovered P=NP.

1

u/Joicraft12 14h ago

Why are we genuinely ai generating fake screenshot now? Do ai bros really have no idea that inspect element exists and makes for a way more convincing screenshot than THIS?

1

u/MagusTheFrog 2h ago

I thought the consensus was that P is probably not equal to NP before the AI era. Isn’t that the expectation any longer?

1

u/Deciheximal144 4d ago

Annoy Claude past the breaking point, in polynomial time.

1

u/stop_talking_you 4d ago

wtf is n np

1

u/CaptCoolRanchDoritos 4d ago

Can someone explain what this is in simple terms? Can't you just use the numbers 1 and 2 to prove this right?

P = NP, 2 = 1(2) right? I don't get what is so special about this.

1

u/ZoneZealousideal4073 4d ago edited 4d ago

These are names of sets of problems.

We know that the problems in P are a subset of problems in NP. We are trying to find if all the problems that are in NP are in P or not.

We are trying to find out if certain sets of problems are practically solvable. Note the word "practically", because through Automata Theory, we have probably already known what's decidable and undecidable, straight up.

The top Venn diagram is what P ≠ NP looks like, and what people being unsure of the result draw it as (basically everyone)

1

u/manurosadilla 1d ago

the whole problem is rly hard to fully understand. But basically all of encryption relies on the assumption that it’s much harder to figure out a secret than it is checking if the secret is “correct”

However if they prove that it is just as easy to do the former, even if they don’t figure out how to make it easy yet, then we’re in trouble

→ More replies (5)

1

u/automatedBlogger 1d ago

O(n)  == O(2n) ?

Can you solve all problems that grow non polynomially in a defined polynomial time.

If I picked any 2 random primes and multiplied them together and you could only see the result could you consistently tell me which ones were chosen in a defined number of steps?

There are some problems where the only way to get the right answer is to perform a set of steps until you generate the right answer. There are other problems where insight into the steps allows you to factor out many of the steps. 

So the question becomes can every problem that cannot be reduced in steps through refactoring with insight be reduced?

1

u/GoodCarpenter9060 1d ago

NP doesn't mean N times P like you might see in math. It is an abbreviation for "Non-deterministic Polynomial time" and P is an abbreviation for "Polynomial time".

P=NP would mean that problems thought to be computationally "hard" are actually reducible to "easy" problems. Cryptography is based on the fact that there are some really hard problems to solve, which are easy to verify that you have the right answer for if you have the right answer. If there was a way to reduce the hard problem to an easy problem, people could break encryption and steal anyone's secrets. It would be a huge development with wide reaching consequences.

More than likely, there will be a proof soon that P != NP, which is something we assume to already be the case.

1

u/Artemis_SpawnOfZeus 18h ago

Okay so "P" and "NP" are the unkowns. There is no N. 

Its a bit confusing, but the long and the short of it is if P=NP then encryption is impossible actually and theres no such thing as digital security. 

→ More replies (1)