Try Pro free

Into the Impossible With Brian Keating · 5 min · Dec 1, 2026

Wolfram tested P versus NP by searching machines

Stephen Wolfram explains P versus NP through the gap between finding and checking a solution, then describes an empirical search across machines.

The episode’s best minutes

Full episode
  1. 13:46Wolfram tested P versus NP by searching machines5 min
  2. 23:09Wolfram uses experiments to discover mathematical truthsPro pick 2 min
  3. 1:00:01Wolfram finds meaning in the life we actually get4 min
  4. 5 more moments in the full episode
“you don't really ultimately have an advantage by having all those paths happen inside”
Stephen Wolframat 17:16 · Into the Impossible With Brian Keating
17:16

Takeaways

  1. P asks whether one path can solve problems efficiently; NP allows many.
  2. Wolfram searched candidate machines to study the gap empirically.
  3. He doubts quantum paths offer an advantage if their results can't be combined.

About this segment

Stephen Wolfram explains P versus NP through the gap between finding and checking a solution, then describes an empirical search across machines. He argues quantum computers may struggle to turn many paths into a definite answer.

Stephen Wolfram

Stephen Wolfram is creator of Mathematica.

Created Mathematica, Wolfram|Alpha and Wolfram Language; originated the Wolfram Physics Project and founded Wolfram Research.

  • Brian Keating, Host · Host, Into the Impossible With Brian Keating

From “The Proof Nobody Understands: Stephen Wolfram”, Dec 1, 2026. Watch the full episode

Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

  1. 13:50

    Yeah, yeah, yeah, right. So this is a question about computation. The question is, the typical example is factoring numbers. You know that, you know, now here I'm going to show my lack of arithmetic capability, but I know three times four is 12. And it's easy to work out three times four, even if those were pretty big numbers, it's easy to do the multiplication. To know that 12 is three times four, it's also very easy in the case of 12. But if that was a hundred digit number, knowing that it is the product of two smaller numbers.

  2. 14:22

    It's very hard to know that. You can obviously figure it out by just trying to divide that bigger number by each number in turn and seeing whether it divides, but that's a very inefficient procedure. It's one of the cases where if you can guess the answer, it's easy to multiply the numbers together and check it, but to be able to systematically derive the answer seems hard. And so in more generality, the question is, if you have something where you always have to follow sort of a single path of computation to get to the answer, you're comparing that with a case where you can follow many, many different paths of computation. And if any one of them gets to the answer, you win. And the question is whether following many paths actually is an advantage or not. And it seems to be the case. The NP problems

  3. 15:08

    are the non-deterministic polynomial time problems where you're following many paths. And the P problems the pure polynomial time problems where you're following just one path so he tested the question empirically by searching through machines and so people suspect that kind of following many paths is exponentially better roughly than following just one path but nobody's ever been able to show that and actually it's been very hard to show even very weak versions of that kind of statement. So something I decided to do a few months ago was just empirically try and address that question. That is, you ask the question, if you just look at different possible programs, different possible machines, and you just start enumerating possible machines. For example, you say, I want this machine that computes this particular thing. I want a machine that

  4. 15:58

    computes this particular thing. Can I find one that, if I'm looking for machines that do it sort of in one path, what's the best machine I can find? If I'm looking for machines that do it by following many paths, what's the best machine I can find? And so you're able to empirically study the P versus NP problem. And I got a bunch of results on that. It leads one to an interesting kind of place, which is the following thing. So people talk about quantum computers a bunch and the question of whether they can solve these NP problems quickly, and kind of the conceit there is that quantum mechanics is a story of sort of there being many paths of history in physics, that things don't just happen as we observe them to happen, just, you know, you throw the ball and it follows a definite trajectory. Instead, in quantum mechanics, the idea is that many different paths are

  5. 16:47

    followed, and somehow we just get to see sort of probabilities of different paths. But sort of the idea of quantum computers is you can somehow leverage those many paths to to be able to get the fact that in physics many paths are followed leverage that to be able to get faster answers to things and so lots of effort has been spent on actually building quantum computers that do that i don't think it's going to work because i think that the difficulty is sort of knitting together all those paths to get what we want which is a definite answer is really hard and it's something where you don't really ultimately have an advantage by having all those paths happen inside because you can't kind of extract the information because you need it to all be concentrated down to one path.

  6. 17:29

    So lots of effort's been spent on that. The thing that I have to say my investigations of the P versus NP problem kind of highlight is maybe we should just do a giant search for a machine that can solve these NP problems in polynomial time. We don't know that such a machine doesn't exist. And by the time you spend enough billions of dollars on on quantum computers it might be worth just you know a look over the shoulder is there actually just a machine that can be found that that solves these problems to this question about these kinds of old chestnut hard problems for example in mathematics it tends to be the case that people don't work on them because they're thought to be just too hard i think the the thing that one needs to do, for example, in the case of the PIBUS-MP problem, is you need some different paradigmatic

  7. 18:20

    approach. I think that what the AIs are bringing to the table is this ability to sort of pull threads from all these different parts of mathematics. Maybe that will solve these problems, maybe not. It's more a question of the nature of those problems and whether they are truly getting at sort of new core issues in mathematics or whether they're merely not solved because nobody did the bureaucracy, so to speak, to put pieces together.