r/computerscience • u/chrysobooga • Apr 02 '25
co-nondeterministic Turing Machines

Hello,
so I have an exam coming up and this was one of the question from a previous exam.
A simple Turing Machine which we could quickly realize what L_N in this case is: { w | w ∈ {a, b}* and |w| >= 2 }. But when it comes to L_coN, the language where M behaves as a co-nondeterministic TM, what would the language be? Sure I understand that a coNTM must evaluate every path it takes to true (it accepts) otherwise it would reject, but what does it exactly mean in this context?
And for some reason there is no information about such TMs on the the internet, any help would be greatly appreciated!
Thank you.
View all comments
Show parent comment
1
u/AquaticSnail Theoretical CS Apr 02 '25
Just looking at the TM in the diagram, L_coN would be the empty set, since you can't ever guarantee that a string accepts in all paths. The loops being present in z1 and z2 prevent that, so there exists some string in which they will always terminate in z1 or z2 thanks to the loops. Wouldn't the answer just be the empty set for some of these questions?