Then we can prove that the set of all possible functions is an uncountable set. To prove this, we can create a unique function fx. First, we draw a table of function halting behaviours include all possible functions, then we take the diagonal and change the T to F and F to T such that we can create a fx. Obviously, this fx is not in our list, thus, the set of all possible functions is uncountable. However, since halt functions cannot be programmed, the unique fx cannot be programmed either. Thus, there are uncountably many functions that we cannot program.
I think the difficult part to prove this statement is that at first we don't know how to create a function should in the list but actually not in the list. To create this function, we need to assume that this function is not in the set first, and let this function differs from all other functions in the set. By using this method, we can get this function as our counter-example and prove that the set is uncountable.
Though I am still a little bit confused about this part, this blog has solved some of my questions. Good job!
回复删除