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

Programmer Humor

32558 readers
541 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
[–] [email protected] 1 points 1 year ago (3 children)

Since when were Turing machines ever nondeterministic?

[–] [email protected] 15 points 1 year 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)

[–] [email protected] 4 points 1 year 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.

[–] [email protected] 8 points 1 year ago

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

[–] [email protected] 4 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year 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.

[–] [email protected] 0 points 1 year 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