1

I know that

  • decidable problem: has both counting (bijection with $\mathbb N $) and membership algorithm (TM halts for both member and non member strings )
  • semidecidable problem: has counting algorithm and TM halts for member strings
  • countable problem: has only counting algorithm

Now I have come across undecidable language set which does not have membership algorithm (as semi decidable languages at least have TM which halts for member strings, which is not the case for undecidable problems), that is it does have TM that halt neither for member string nor for non member string.

I have doubt about the relationship between these language classes.

I know "decidable $\subset$ semi decidable $\subset$ countable".

Where does "undecidable" fit here?

Is it like this?:

(Match the color of text with that of the border. Region color is lighter shades of corresponding enclosed texts.)

enter image description here

Q. Is above diagram correct? Also I want to add "countable" to above. I feel, for finite alphabet languages, countable will be proper superset of "undecidable". Is it right?

PS: I feel, earlier I based my understanding of "undecidable" on incorrect definition given in this question. So I draw wrong diagram earlier. I believe its correct now.

RajS
  • 1,667
  • 4
  • 26
  • 46
  • 1
  • "Undecidable" is just the complement of "decidable". Can you adjust your graphic using this? You may need colors. 2) "countable" in mathematics means only that there's a bijection with (a subset of) $\mathbb{N}$ -- it doesn't have to be computable!
  • – Raphael Jan 22 '19 at 19:28
  • 1
    I think your diagram is wrong, since it assumes that undecidable problems are always semi-decidable. Some semi-decidable problems are undecidable (like the Halting Problem) and all decidable problems are semi-decidable. – Sagnik Jan 22 '19 at 19:30
  • 1
    Also decidable problems aren't a subset of undecidable problems. The sets are complements of each other. – Sagnik Jan 22 '19 at 19:31
  • This is a good answer related to this topic:

    https://cs.stackexchange.com/questions/83815/if-a-problem-is-not-semi-decidable-and-not-decidable-can-we-say-it-is-undec

    – Sagnik Jan 22 '19 at 19:33
  • 1
    I'm not sure what you mean by a "counting algorithm". To me, a counting algorithm is one that returns the number of elements of some set. That doesn't make much sense for infinite sets. Indeed, for most infinite sets, there isn't even any way of presenting that set as the input of an algorithm. – David Richerby Jan 22 '19 at 19:39
  • @Raphael 1) just modified the diagram. Originally I didnt meant to say decidable is subset of undecidable earlier. I hope this diagram correctly represents what I mean. 2) I might be completely wrong about countable part. Need to check. – RajS Jan 22 '19 at 19:46
  • @DavidRicherby wikipedia defines them as: "a set is countably infinite if it has one-to-one correspondence with the natural number set, N." Wikipedia further says "Whether finite or infinite, the elements of a countable set can always be counted one at a time and, although the counting may never finish, every element of the set is associated with a unique natural number." So I believe term "countable" or counting algorithm makes sense for infinite sets. Please, Let me know if I am wrong here. – RajS Jan 22 '19 at 19:50
  • @anir "countable" certainly makes sense; it's "counting" that I'm disputing. Wikipedia seems to be describing an enumeration algorithm. – David Richerby Jan 22 '19 at 19:51
  • what about that containment diagram I prepared for my understanding? Are those relationships wrong? – RajS Jan 22 '19 at 19:52
  • @Raphael I also know that countable are not comutable as I said, they just have counting algorithm, no membership algorithm. Is diagram depicting something wrong? – RajS Jan 22 '19 at 20:05
  • Yes, several things, some of which mentioned above. – Raphael Jan 22 '19 at 20:18
  • can you suggest better/correct graphic floating online which covers all these terms together? Or any help in any form correcting those several mistakes? – RajS Jan 22 '19 at 20:23
  • Isnt this answer states recursively enumerable languages are countable? – RajS Jan 22 '19 at 20:31
  • Is the diagram correct, if we are to consider only finite alphabet? – RajS Jan 22 '19 at 21:42
  • @Raphael I feel, earlier I based my understanding of "undecidable" on incorrect definition given in this question. So I draw wrong diagram earlier. I believe its correct now. Can you check it now, please. – RajS Jan 23 '19 at 09:41