Explaining Enumerable: Understanding the Concept in Godel, Escher, Bach

  • I
  • Thread starter opus
  • Start date
  • Tags
    Explain
In summary, the author discusses formal systems and the concept of primes and composite numbers. They mention that there are recursively enumerable sets that are not recursive, which means that there are sets that can be counted by matching them with the set of all positive integers, but cannot be defined by a specific algorithm. This poses a question about defining prime numbers independently without the use of composite numbers. The concept of recursive and recursive enumerable sets can be further understood through formal definitions and the use of a Turing machine, but can be simplified as a way to count and generate all possible words in a language.
  • #1
opus
Gold Member
717
131
I'm reading a book called Godel, Escher, Bach, and the author is talking about formal systems, in particular, primes and composite numbers. He goes on to mention that "There exist recursively enumerable sets which are not recursive".
I don't understand the term "enumerable" though. The definition I found was "able to be counted by one-to-one correspondence with the set of all positive integers." But I don't get this either. Does it mean you can just count something consecutively?
To give context, the author is posing the question on whether or not there is a way to define prime numbers independently, without the use of composite numbers (I think:oops:).
 
Physics news on Phys.org
  • #2
opus said:
I'm reading a book called Godel, Escher, Bach, and the author is talking about formal systems, in particular, primes and composite numbers. He goes on to mention that "There exist recursively enumerable sets which are not recursive".
I don't understand the term "enumerable" though. The definition I found was "able to be counted by one-to-one correspondence with the set of all positive integers." But I don't get this either. Does it mean you can just count something consecutively?
To give context, the author is posing the question on whether or not there is a way to define prime numbers independently, without the use of composite numbers (I think:oops:).
You can find the formal definitions on Wikipedia and the links there:
Chomsky type-0 grammar = recursively enumerable = recognizable by a TM = there exists a TM which will enumerate all valid strings of the language

Chomsky 1 (context sensitive) ##\subsetneq ## recursive ##\subsetneq ## Chomsky 0 (unrestricted)
 
  • Like
Likes opus
  • #3
Oh man. I read all that and the wiki but I don't even know what to ask. Thats all way above my pay grade. I am in PreCalc so my Math knowledge is bare right now. That seems to be a little too deep for my experience level right now. Is therr a way to define enumerable without all that?
 
  • #4
opus said:
Oh man. I read all that and the wiki but I don't even know what to ask. Thats all way above my pay grade. I am in PreCalc so my Math knowledge is bare right now. That seems to be a little too deep for my experience level right now. Is therr a way to define enumerable without all that?
That's why I upgraded the thread to "I"ntermediate, because a correct answer requires a few technical terms as a language (math.) and a Turing machine.

Let me try to make it easy. A language is simply a collection of words given some alphabet and a grammar. E.g. our language here is English with a Latin alphabet. I'm not sure in which Chomsky category English falls, but it has certainly rules and is context sensitive. So I assume it is of a higher type than those we consider here. But as an example disregarding grammar rules, it will do. The term "set" in your post and in our context actually refers to those set of words, i.e. the language, and recursive and enumerable refer to the type of grammar. You've asked what recursive enumerable means, which means a language with unrestricted grammar, which basically means all combinations of words are allowed. In this language: "all allowed are English in language this words" is a correct sentence. No rules except that the words must be English. The dream of all schoolkids around the world. :wink:

The enumerability comes into account, if we formally want to gather all words of the language, i.e. write a lexicon. The Turing machine is a very basic idea of a computer. It can read and overwrite on an endless one dimensional storage tape, symbol by symbol. It is a model, not an actual computer. Now recursive enumerable means, that this machine can go back and forth on this tape, and whenever a valid word is found, it gives it a number to count it. It is quasi the author of our lexicon. Now the property recursive enumerable = Chomsky type 0 means, that this machine can find and eumerate all valid words, i.e. the entire lexicon. It says nothing about whether the machine will ever stop, or how long it takes, just that it is basically possible. It doesn't even make its lexicon readable, as there is no order to find words. They are just all included and enumerated.
 
  • Like
Likes opus
  • #5
To put it simple in this case:

A set S of natural numbers is recursively enumerable if there is an algorithm which produces natural numbers as output, one after an other, such that every number in S is eventually produced as output, but no numbers not in S are.

A set S of natural numbers is recursive if there is an algorithm which takes a natural number as input, and outputs yes if the input number belongs to S and outputs no otherwise (or something equivalent to yes/no).

"Algorithm" can be understood in terms of Turing machines, primitive recursive and recursive functions, Lambda Calculus, Hofstadter's programming languages BlooP and FlooP, and many other equivalent characterizations.
 
Last edited:
  • Like
Likes opus and jim mcnamara
  • #7
Thanks for the helpful responses everyone. I think I'm starting to get the general idea! I will keep poking it and come back if I have any questions. Thank you very much!
 

What does it mean for something to be "enumerable"?

"Enumerable" refers to the ability to list or count something in a clear and organized manner. In computer science, it specifically refers to the ability to iterate through a collection of data in a predetermined order.

What is the difference between "enumerable" and "countable"?

The terms "enumerable" and "countable" are often used interchangeably, but there is a subtle difference. While both refer to the ability to list or count something, "enumerable" typically refers to a finite or enumerable set, while "countable" can also refer to an infinite or uncountable set.

What are some examples of "enumerable" data structures?

Some common examples of "enumerable" data structures include arrays, lists, queues, and stacks. These data structures allow for the easy iteration and enumeration of their elements.

What are the benefits of using "enumerable" data structures?

"Enumerable" data structures offer several benefits, including efficient access to individual elements, the ability to easily iterate through all elements, and the ability to perform operations such as sorting and searching. They also allow for more organized and structured data storage.

How is "enumerable" used in computer programming?

In computer programming, "enumerable" is often used to describe data structures and algorithms that support efficient iteration and enumeration. Many programming languages have built-in support for "enumerable" data structures and provide methods for easy iteration and manipulation of these data structures.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
4K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
11
Views
4K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
941
  • Set Theory, Logic, Probability, Statistics
Replies
10
Views
2K
Back
Top