r/MathematicalLogic • u/mr_green_jeans_632 • Apr 09 '19
Uncomputable Functions
Looking for cool examples of uncomputable functions! My favorite (because its so naturally uncomputable) is called UC:
If M is a Turing machine, and M* is its binary representation, define UC such that UC(M) = 0 if M(M) = 1, and UC(M*) = 1 otherwise.
Suppose for contradiction that M is a Turing machine that computes UC. Then, if M(M) = 1, then UC(M) = 0 by definition; if M(M) is not 1, then by definition UC(M) = 1. In all cases, UC(M) != M(M), so M does not compute UC, a contradiction with construction of M. So UC is uncomputable.
View all comments
Show parent comment
1
u/jubjubbirdbird Apr 10 '19
Is that really true? If x \leq 3 f(x) = 0, else f(x)=1. Is it not decidable, for any x in R, whether x is less or equal to a given n?