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/zeta12ti Apr 10 '19
There's an ambiguity in your statement that I think shows where your confusion lies.
False: for all x in R, there is no algorithm to decide if x ≤ 3.
True: there is no algorithm which, given x in R, decides if x ≤ 3.
You can decide if particular numbers are greater than 3 (for example, 2 ≤ 3 trivially), but there's no single algorithm that decides for all real numbers.
As an analogy, we know that BB(1) = 0, but that doesn't mean that the busy beaver function is computable. Computability of a function is more of a global constraint.