this post was submitted on 19 Jul 2023
1099 points (98.3% liked)

Programmer Humor

32850 readers
348 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] argv_minus_one@beehaw.org 1 points 2 years ago (3 children)

Since when were Turing machines ever nondeterministic?

[–] garyyo@lemmy.world 15 points 2 years ago (1 children)

Wait till you hear about oracle machines. They can solve any problem, even the halting problem.

(It's just another mathematical construct that you can do cool things with to prove certain things)

[–] julianh@lemm.ee 4 points 2 years ago

Thanks for the fun rabbit hole. They can't really solve the halting problem though, you can make an oracle solve the halting problem for a turning machine but not for itself. Then of course you can make another oracle machine that solves the halting problem for that oracle machine, and so on and so forth, but an oracle machine can never solve its own halting problem.

[–] fubo@lemmy.world 8 points 2 years ago

If you augment a TM with nondeterminism, it can still be reduced to a deterministic TM.

[–] rockSlayer@lemmy.world 4 points 2 years ago (1 children)

Nondeterministic turing machines are the same kind of impossible theoretical automaton as an NFA. They can theoretically solve NP problems.

[–] christian@lemmy.ml 1 points 2 years ago (1 children)

It's been a long long time since I touched this but I'm still almost positive deterministic machines can solve everything in NP already.

[–] rockSlayer@lemmy.world 0 points 2 years ago

They exist in the same grammatical hierarchy so theoretically they can solve the same problems. What I should have said was that nondeterministic turing machines can solve NP problems in P