2

What are some examples of non-enumerable languages whose complement isn't either? I.e., a language L such that L is not Turning-recognizable and L’ is not Turing-recognizable either.

Update: Found some examples:

HappyFace
  • 191
  • 6

1 Answers1

2

A random language is neither recognizable nor co-recognizable almost surely.

Every language which is complete for $\Sigma_k$ or $\Pi_k$, for any $k \geq 2$ (these are classes in the arithmetical hierarchy), is neither recognizable nor co-recognizable. Some examples:

  • The language of all oracle TMs $M$ such that $M$ halts on the empty input when given access to an oracle of the halting problem ($\Sigma_2$-complete).
  • The language of all TMs $M$ such that $M$ halts on finitely many inputs ($\Sigma_2$-complete).
  • The language of all TMs $M$ such that $M$ halts on all inputs ($\Pi_2$-complete).
  • The language of all TMs $M$ such that "$M$ halts on $x$" is decidable ($\Sigma_3$-complete).
  • The language of all TMs $M$ such that $M$ halts on all but finitely many inputs ($\Sigma_3$-complete).

See lecture notes of Terwijn.

Yuval Filmus
  • 276,994
  • 27
  • 311
  • 503