The topic is fun, because we are in effect considering the behavior of a random program, where each new program line is chosen randomly from among all the legal program lines. And such kind of argument is the main theme of my article (J. D. Hamkins and A. Miasnikov, The halting problem is decidable on a set of asymptotic probability one, Notre Dame J. Formal Logic 47, 2006. http://arxiv.org/abs/math/0504351), which came up also in a few other mathoverflow questions: Solving NP problems in (usually) polynomial time?Solving NP problems in (usually) polynomial time?, Turing machines the read the entire tape?Turing machines the read the entire tape?. The main theorem of that article is the following.