Go Back   TestMagic Forums > Test preparation > GRE Subject Tests > GRE Computer Science
Register FAQForum Rules Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 10-08-2003, 03:52 AM   #1 (permalink)
ushak
Eager!
 
Join Date: Oct 2003
Location: USA
Posts: 34
ushak has disabled reputation
Few basic points:

1. All finite languages are recursive
2. If L is recursive then L complement is also recursive
3. If L and L complement are r.e (recursively enumerable) then both are recursive

4. If S1 and S2 are finite and S1 is proper subset of S2 then S1 and S2 have different cardinality.
However, if both S1 and S1 are infinite, both sets MIGHT have the same cardinality.
Ex: S1 {set of even integers}
S2 { set of all integers }
f(2i) = i, hence the cardinality is equal for both sets in this case.

Please feel free to add more when you guys come across any properties/relations/theories.

Usha
ushak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 10-08-2003, 04:24 AM   #2 (permalink)
ushak
Eager!
 
Join Date: Oct 2003
Location: USA
Posts: 34
ushak has disabled reputation
A question:

Can a language L, that is not recursive be infinite??

ushak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 10-09-2003, 03:24 AM   #3 (permalink)
charlieboy
Eager!
 
Join Date: Sep 2003
Posts: 34
charlieboy has disabled reputation
Terminology is important here. The word "recursive" here is being used in the sense of "Turing decidable," not in the general sense of a langauge created by a grammar with self-referencing variables. So yes, a language can be non-recursive but still allow infinite strings.
charlieboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 10-10-2003, 12:04 PM   #4 (permalink)
ushak
Eager!
 
Join Date: Oct 2003
Location: USA
Posts: 34
ushak has disabled reputation
Thank you charlieboy!

One more clarification.
Could there be a language for a recursive set which is not a recursive language?
ushak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 10-11-2003, 06:56 PM   #5 (permalink)
wood
TestMagic Guru
 
Join Date: Jul 2003
Location: Brazil
Posts: 1,360
wood has disabled reputation

Chomsky Classification

+ A Type 0 grammar is any phrase structure grammar without any restrictions

- A Type 1 production has a left and right context of A. A is not consumed on the production.
+ A grammar is called type 1 or context-sensitive or context-dependent if all its productions are type 1 productions.

- A Type 2 production is a production in the form A -> alpha. The L.H.S. has no left context or right context.
+ A grammar is called type 2 or context-free grammar if all its productions are type 2 productions.

- A Type 3 production is a production in the form A -> a or A -> aB.
+ A grammar is called type 3 or regular expression if all its productions are type 3 productions.


Recursive and Recursively Enumerable Sets (from Mishra's book, 2002

A procedure for solving a problem is a finite sequence of instructions which can be machanically carried out given any input.
An algorithm is a procedure that terminates after a finite number of steps for any input.

Definition: A set X is recursive if we have an algorithm to determine whether a given element belongs to X or not.

Definition: A recursively enumerable set is a set X for which we have a procedure to determine whether a given element belongs to X or not. It is clear that a recursive set is recursively enumerable.

Theorem: A context-sensitive language is recursive

Theorem: There exists a recursive set which is not a context-sensitive language over {0,1}.


Regular Sets/Grammars

Theorem: Every regular expression R can be recognized by a transition system, i.e., for every string w in the set R, there exists a path from the initial state to a final state with path value w.

Theorem: Any set L accepted by a finite automaton M is represented by a regular expression.

Theorem: If L is regular then L^T is also regular.

Theorem: If L is a regular set over E, then E* - L is also regular over E.
wood is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 10-12-2003, 01:56 AM   #6 (permalink)
The_Wonderful_Vipul
Here I am !!
 
The_Wonderful_Vipul's Avatar
 
Join Date: Feb 2003
Location: New York
Posts: 165
The_Wonderful_Vipul has no rep yet.
Quote:
Originally posted by ushak

A question:

Can a language L, that is not recursive be infinite??
What do you mean if a language is infinite ?? ... what does this have to do with a recursive language .... if you mean that it can generate infinite strings, then I don't think that "recursive" and "infinite" are related.

Could you please elucidate ?

Vipul.
The_Wonderful_Vipul is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 10-12-2003, 06:01 PM   #7 (permalink)
nonevent99
TestMagic Guru-in-Training
 
Join Date: Oct 2003
Location: USA
Posts: 508
nonevent99 has disabled reputation
A language is a set of strings. An infinite language is an infinite set of strings.


Quote:
Originally posted by The_Wonderful_Vipul

Quote:
Originally posted by ushak

A question:

Can a language L, that is not recursive be infinite??
What do you mean if a language is infinite ?? ... what does this have to do with a recursive language .... if you mean that it can generate infinite strings, then I don't think that "recursive" and "infinite" are related.

Could you please elucidate ?

Vipul.
nonevent99 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 10-13-2003, 10:10 AM   #8 (permalink)
Laks
Eager!
 
Join Date: Oct 2003
Location: India
Posts: 35
Laks has disabled reputation
Guys help me out here...

A non recursive language can never be contained in a recursive set.
am I right????


Laks
Laks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 10-15-2003, 09:56 AM   #9 (permalink)
nonevent99
TestMagic Guru-in-Training
 
Join Date: Oct 2003
Location: USA
Posts: 508
nonevent99 has disabled reputation
Quote:
Originally posted by Laks

Guys help me out here...

A non recursive language can never be contained in a recursive set.
am I right????


Laks
By "contained" do you mean "is a subset of"? What do you mean by "contained"?
nonevent99 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 10-16-2003, 08:34 AM   #10 (permalink)
Laks
Eager!
 
Join Date: Oct 2003
Location: India
Posts: 35
Laks has disabled reputation
"Contained" as in subset YES

Laks
Laks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

What you can do
You cannot post new threads
You cannot post replies
You cannot post attachments
You cannot edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:05 PM.

Contact TestMagic   TestMagic Forums      Archive   

Link to TestMagic   TestMagic Locations   Legal   Privacy

Partner Sites: GMAT Sentence Correction   SAT 2400

Content Relevant URLs by vBSEO 3.0.0
Copyright © 1998-2008 TestMagic
Ad Management by RedTyger

Scroll Up