|
-
December 15th, 2005, 09:45 PM
#1
infinite languages
so, im trying to figure this out and i hoped you guys could help. i know they are both true, im just not sure i see why:
1) every infinite recursive set contains a non-r.e. subset
2) every r.e. set contains an infinite recursive subset
any ideas?
thanks
-
December 18th, 2005, 06:03 PM
#2
Re: infinite languages
Eh?? a recursive set of what? define what you mean by a "recursive infinite" set, an non-recursive subset and recursive set an infinite recursive subset.
Mike
-
December 18th, 2005, 06:46 PM
#3
Re: infinite languages
Sorry but im not sure how i can be more explicit, i guess im not sure what youre asking. I meant in terms of languages of turing machines, so an infinite recursive set of strings.
By infinite recursive set i mean a set for which a turing machine exists that halts on all words (whether they are in the language or not), and the set is infinite. like the set of all even-length binary strings would be infinite and recursive.
A non-re set is a set that is not turing-recognizable, like the diagonal language, for example.
maybe these help: http://en.wikipedia.org/wiki/Recursive_set
http://en.wikipedia.org/wiki/Recursively_enumerable_set
(i really dont mean to be patronizing, im just not sure how to explain)
i actually think i got the second one, using an enumerator, etc. but im still totally lost on the first one...can anyone help please!
-
January 2nd, 2006, 07:35 PM
#4
Re: infinite languages
 Originally Posted by nikonratm
so, im trying to figure this out and i hoped you guys could help. i know they are both true, im just not sure i see why:
1) every infinite recursive set contains a non-r.e. subset
2) every r.e. set contains an infinite recursive subset
any ideas?
thanks
1) you can construct one: infinite recursive set is equivalent to set of all words (since you can enumerate all words of inf. rec. set and make correspondence with all words). Pick any non-r.e. language, make translation to that original recursive set - that's non-r.e. subset.
2) pick any procedure to enumerate original set. Machine to solve recursive subset looks through enumeration until it finds any word of length no less then legth of given word (if it hasn't found given word in the list yet, it says NO). Since set is infinite, for every length n there is a first occurance of word with length l>n, so number of such first occurances is infinite, every first occurance will be found, so constructed subset is infinite.
"Programs must be written for people to read, and only incidentally for machines to execute."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|