Join TSR
 
About Us | FAQs | Sign in
 
Advanced
Search

Join The Student Room Today

Be part of the UK's largest and fastest growing student community.

It's free to join and a lot of fun - Get inspired, express your ideas, interact and share

RSS  From C++ to PHP, debugging to webhosting; help and discussion about writing your latest program to running your website. NOT for help when your PC won't work.
Reply
 
Announcements   Posted By
 
Old 24-10-2008: 24th October 2008 17:57 #1 
thatguynooneknows's Avatar
thatguynooneknows thatguynooneknows is offline Male
Exalted Member
Thread Starter
thatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud of
United Kingdom
Join Date: Feb 2008
Location: Roundhay, Leeds
Posts: 298
Default Computability (?)
 
Ive just had a lecture and lesson about Computability, Decidability and Acceptability. And honestly, I dont have a clue what he was talking about.

No-one is my class has any idea what to do (and none of them really care tbh) but its really annoying me that I cant wrap my head around this.

Ill give you the example question and the answer we got in class and if someone could explain it to me I will love you! =]



(had to add as image as contains some images in the question)

If you don't understand it either then that might make me feel better too :P

Thanks

(P.S. I have asked the tutor to explain this to me and he has, but I didn't understand what he said really =/)
 
Register to remove banners from posts.
Old 24-10-2008: 24th October 2008 18:00 #2 
Choad's Avatar
Choad Choad is offline Male
TSR Idol
Choad has a ridiculously high reputationChoad has a ridiculously high reputationChoad has a ridiculously high reputationChoad has a ridiculously high reputationChoad has a ridiculously high reputationChoad has a ridiculously high reputationChoad has a ridiculously high reputationChoad has a ridiculously high reputationChoad has a ridiculously high reputationChoad has a ridiculously high reputationChoad has a ridiculously high reputationChoad has a ridiculously high reputationChoad has a ridiculously high reputationChoad has a ridiculously high reputation
Sealand
Join Date: Aug 2005
Location: Taunton/Plymouth Posts: 999,999
My Societies
Default Re: Computability (?)
 
that makes[1] (if true) about as much[2]*sense to me as (th[1]$)

why write like that? why not use english? seems slightly counter productive when you're trying to teach someone something
 
Old 24-10-2008: 24th October 2008 18:03 #3 
thatguynooneknows's Avatar
thatguynooneknows thatguynooneknows is offline Male
Exalted Member
Thread Starter
thatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud of
United Kingdom
Join Date: Feb 2008
Location: Roundhay, Leeds
Posts: 298
Default Re: Computability (?)
 
Originally Posted by Choad
that makes[1] (if true) about as much[2]*sense to me as (th[1]$)

why write like that? why not use english? seems slightly counter productive when you're trying to teach someone something

Im not sure what your getting at exactly.
but the numbers (1) and (2) that are blue in brackets are links to the questions 1. and 2. so you know what theyre talking about. pointless really but whatever.
 
Old 24-10-2008: 24th October 2008 18:07 #4 
caaakeeey's Avatar
caaakeeey caaakeeey is online now Male
Exalted and Worshipped Member
PS Helper
caaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to all
Join Date: May 2008
Location: Unknown Posts: √2
Default Re: Computability (?)
 
I think its saying that (2) can be rewritten in the form of (1) - (by hardcoding any input i), so they are essentially the same algorithm.
Old 24-10-2008: 24th October 2008 18:11 #5 
caaakeeey's Avatar
caaakeeey caaakeeey is online now Male
Exalted and Worshipped Member
PS Helper
caaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to all
Join Date: May 2008
Location: Unknown Posts: √2
Default Re: Computability (?)
 
Also, out of interest, which University do you go to?
Old 24-10-2008: 24th October 2008 18:14 #6 
thatguynooneknows's Avatar
thatguynooneknows thatguynooneknows is offline Male
Exalted Member
Thread Starter
thatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud of
United Kingdom
Join Date: Feb 2008
Location: Roundhay, Leeds
Posts: 298
Default Re: Computability (?)
 
Originally Posted by caaakeeey
I think its saying that (2) can be rewritten in the form of (1) - (by hardcoding any input i), so they are essentially the same algorithm.

No i dont think it is.
It's something to do with finding out if an algorithm is computable (i.e. if it will ever halt or if it will infinitely loop) I havnt really given enough information for people who dont know about computability to understand it but i was hoping there might be an AP&D genius on here somewhere =P

Originally Posted by caaakeeey
Also, out of interest, which University do you go to?

And I go to Huddersfield
 
Old 24-10-2008: 24th October 2008 18:44 #7 
caaakeeey's Avatar
caaakeeey caaakeeey is online now Male
Exalted and Worshipped Member
PS Helper
caaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to all
Join Date: May 2008
Location: Unknown Posts: √2
Default Re: Computability (?)
 
I'm pretty sure it is.

It is saying that any algorithm with any input such as:
Code:
def a(input): #/... #... #.../ return whatever
Can ALWAYS be rewritten like;
Code:
def b(): input = i #this can be hardcoded to *any* input that the previous algorithm takes return a(input)

If b halts, then a must halt.
If you can work out whether b halts then you must have found a way to see if a halts.

Does that help?

Last edited by caaakeeey : 24-10-2008 at 18:48.

Old 24-10-2008: 24th October 2008 19:34 #8 
laser laser is offline Male
Peer Of The TSR Realm
laser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud of
Join Date: Aug 2006
Location: Doncaster
Posts: 1,986
Default Re: Computability (?)
 
What you need to show is that if this problem has a solution, then the halting problem has a solution. You need to express this problem in terms of the halting problem, and therefore you can imply that if this problem is decidable, that would mean the halting problem is.

I always thought of it like a box. This box has different things connected together to get a result out of the other end. If one of the things that is connected together is a mythical box that solves the halting problem, and is part of the solution, then the solution can not be solved without the halting problem being solved.
Old 24-10-2008: 24th October 2008 22:27 #9 
Talon's Avatar
Talon Talon is offline Male
Overlord in Training
Talon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant future
England
Join Date: Feb 2006
Location: East Herts
Posts: 3,190
My Societies
Send a message via MSN to Talon
Default Re: Computability (?)
 
What course are you doing? Thats all ancient egyptian to me.
 
Old 24-10-2008: 24th October 2008 23:05 #10 
thatguynooneknows's Avatar
thatguynooneknows thatguynooneknows is offline Male
Exalted Member
Thread Starter
thatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud ofthatguynooneknows has much to be proud of
United Kingdom
Join Date: Feb 2008
Location: Roundhay, Leeds
Posts: 298
Default Re: Computability (?)
 
Originally Posted by laser
What you need to show is that if this problem has a solution, then the halting problem has a solution. You need to express this problem in terms of the halting problem, and therefore you can imply that if this problem is decidable, that would mean the halting problem is.

I always thought of it like a box. This box has different things connected together to get a result out of the other end. If one of the things that is connected together is a mythical box that solves the halting problem, and is part of the solution, then the solution can not be solved without the halting problem being solved.

hmm, that makes a lot more sense than what he was saying.
Im still a bit confused but i think a bit more reading and using that kind of logic i might be able to grasp it.

thnakyou =]

Originally Posted by caaakeeey
If b halts, then a must halt.
If you can work out whether b halts then you must have found a way to see if a halts.

Does that help?

And yeah that helps too,
its starting to make sense *feels happy*
itll still take me some time to get it fully but youve all helped a lot =]

thanks

Originally Posted by Talon
What course are you doing? Thats all ancient egyptian to me.

Im doing Computing Science, In my second year.
 

Last edited by thatguynooneknows : 24-10-2008 at 23:08.

Old 25-10-2008: 25th October 2008 11:34 #11 
Talon's Avatar
Talon Talon is offline Male
Overlord in Training
Talon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant future
England
Join Date: Feb 2006
Location: East Herts
Posts: 3,190
My Societies
Send a message via MSN to Talon
Default Re: Computability (?)
 
Originally Posted by thatguynooneknows
Im doing Computing Science, In my second year.

Hmm. I never had a lesson like that when I did my degree...
 
Old 25-10-2008: 25th October 2008 15:25 #12 
laser laser is offline Male
Peer Of The TSR Realm
laser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud of
Join Date: Aug 2006
Location: Doncaster
Posts: 1,986
Default Re: Computability (?)
 
Originally Posted by Talon
Hmm. I never had a lesson like that when I did my degree...
Where did you do your degree? You need to know this stuff to understand things like P=NP, so you'll have covered it then
Old 25-10-2008: 25th October 2008 18:19 #13 
Talon's Avatar
Talon Talon is offline Male
Overlord in Training
Talon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant future
England
Join Date: Feb 2006
Location: East Herts
Posts: 3,190
My Societies
Send a message via MSN to Talon
Default Re: Computability (?)
 
Uea...p=np?
 
Old 25-10-2008: 25th October 2008 18:23 #14 
caaakeeey's Avatar
caaakeeey caaakeeey is online now Male
Exalted and Worshipped Member
PS Helper
caaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to allcaaakeeey is a name known to all
Join Date: May 2008
Location: Unknown Posts: √2
Default Re: Computability (?)
 
I'll assume UEA isn't heavy on theory then =p
Old 25-10-2008: 25th October 2008 18:24 #15 
Talon's Avatar
Talon Talon is offline Male
Overlord in Training
Talon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant future
England
Join Date: Feb 2006
Location: East Herts
Posts: 3,190
My Societies
Send a message via MSN to Talon
Default Re: Computability (?)
 
There is rather a lot actually, though it appears to focus on the important stuff.
 

Last edited by Talon : 25-10-2008 at 18:29.

Old 25-10-2008: 25th October 2008 18:28 #16 
-Em-'s Avatar
-Em- -Em- is offline Female
Exalted and Worshipped Member
-Em- has a brilliant future-Em- has a brilliant future-Em- has a brilliant future-Em- has a brilliant future-Em- has a brilliant future-Em- has a brilliant future-Em- has a brilliant future-Em- has a brilliant future-Em- has a brilliant future
Germany
Join Date: Jun 2008
Location: UK
Default Re: Computability (?)
 
Originally Posted by Talon
There is rather a lot actually, we just only focus on useful stuff.

You'd think that whether or not a problem was tractable in a reasonable time, never mind at all, would be a pretty useful thing to know
 
Old 25-10-2008: 25th October 2008 18:54 #17 
laser laser is offline Male
Peer Of The TSR Realm
laser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud oflaser has much to be proud of
Join Date: Aug 2006
Location: Doncaster
Posts: 1,986
Default Re: Computability (?)
 
P=NP is probably one of the most important questions in Computer Science.
Old 25-10-2008: 25th October 2008 19:47 #18 
Talon's Avatar
Talon Talon is offline Male
Overlord in Training
Talon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant futureTalon has a brilliant future
England
Join Date: Feb 2006
Location: East Herts
Posts: 3,190
My Societies
Send a message via MSN to Talon
Default Re: Computability (?)
 
Put it in words and I may know what you are on about.

In the event that I dont know it Im getting on just fine without it .
 
Old 25-10-2008: 25th October 2008 19:50 #19 
-Em-'s Avatar
-Em- -Em- is offline Female
Exalted and Worshipped Member
-Em- has a brilliant future-Em- has a brilliant future-Em- has a brilliant future-Em- has a brilliant future-Em- has a brilliant future-Em- has a brilliant future-Em- has a brilliant future-Em- has a brilliant future-Em- has a brilliant future
Germany
Join Date: Jun 2008
Location: UK
Default Re: Computability (?)
 
Originally Posted by Talon
Put it in words and I may know what you are on about.

In the event that I dont know it Im getting on just fine without it .

"Do all problems in the complexity class NP (i.e Those for which there exists a polynomial time algorithm for deciding whether a given answer to that problem is correct) fall into the complexity class P (i.e. There is a polynomial time algorithm for generating a correct answer to the problem)?"
 
Old 25-10-2008: 25th October 2008 20:15 #20 
PieMaster's Avatar
PieMaster PieMaster is offline Male
TSR Demigod
PieMaster has a ridiculously high reputationPieMaster has a ridiculously high reputationPieMaster has a ridiculously high reputationPieMaster has a ridiculously high reputationPieMaster has a ridiculously high reputationPieMaster has a ridiculously high reputationPieMaster has a ridiculously high reputationPieMaster has a ridiculously high reputationPieMaster has a ridiculously high reputationPieMaster has a ridiculously high reputationPieMaster has a ridiculously high reputationPieMaster has a ridiculously high reputationPieMaster has a ridiculously high reputation
United Kingdom
Join Date: Jul 2005
Location: Docklands, London
My Societies
Default Re: Computability (?)
 
Originally Posted by Talon
Put it in words and I may know what you are on about.

In the event that I dont know it Im getting on just fine without it .

I think we had it split out, so the 'theory' was covered in the first year maths modules, then the impact on algorithims was done in S2A23.
 
 
Thread Tools Search this Thread
Search this Thread
Advanced
Search