Perplexed comments on The Curve of Capability - Less Wrong

18 Post author: rwallace 04 November 2010 08:22PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (264)

You are viewing a single comment's thread. Show more comments above.

Comment author: wnoise 06 November 2010 10:14:07PM *  2 points [-]

All it means is that there can be programs so badly written that it is impossible to say what they do.

It's true that the result is "there exists programs such that", and it says nothing about the relative sizes of those that can be proved to terminate vs those that can't in the subset we care about and are likely to write.

However, if programs are written for some purpose,

Sometimes that purpose is to test mathematical conjectures. In that case, the straightforward and clear way to write the program actually is the one used, and is often apparently does fall into this subclass.

(And then there are all the programs that aren't designed to normally terminate, and then we should be thinking about codata and coinduction.)

Comment author: Perplexed 06 November 2010 11:02:39PM 2 points [-]

And then there are all the programs that aren't designed to normally terminate, and then we should be thinking about codata and coinduction.

Which raises a question I have never considered ...

Is there something similar to the halting-problem theorem for this kind of computation?

That is, can we classify programs as either productive or non-productive, and then prove the non-existence of a program that can classify?

Comment author: wnoise 06 November 2010 11:42:29PM 0 points [-]

That's a great question. I haven't found anything on a brief search, but it seems like we can fairly readily embed a normal program inside a coinductive-style one and have it be productive after the normal program terminates.