r/learnmath • u/playsthebongcloud 9/10 = 1 • May 30 '26
What are some uncomputable functions that aren't derivative of the halting problem?
I find the existence of uncomputable functions really cool, but all the examples I've seen are essentially just new ways of trying to predict whether a turing machine is going to halt. What are some examples of uncomputable functions that aren't essentially entirely based on the halting problem?
73
Upvotes
7
u/cscottnet New User May 30 '26
Busy Beaver is uncomputable, although it is related to the halting problem.
2
u/swehner New User Jun 02 '26
Here are some.
Deciding whether a first-order logic formula is universally valid, is incomputable. To make it a number-theoretic function you'd use a Gödel-numbering. It is kind of an Anti-Derivate of the halting problem, because you can express the halting problem inside of it.
Deciding if an algebraic expression equals zero (or if two are equal) is computable for polynomials (like 3x 5). But the problem is incomputable if you add functions sin(x), exp(x). Look up Richardson's Theorem.
The general Domino Problem: deciding whether a set of Wang tiles can tile the plane is incomputable. See https://web.williams.edu/Mathematics/sjmiller/public_html/hudson/Molho%20-%20Wang%20Tiles.pdf
28
u/ExistentAndUnique New User May 30 '26
The Kolmogorov complexity function is uncomputable. This function essentially corresponds to “how long is the shortest program that prints the input string?” Formally, this is captured by taking K(x) to be the minimum length of the description of a pair <M,w> where running Turing machine M on input w returns x.
If K(x) were computable by some function f, we could write a program M of the form “on input binary representation of a number n, output the first string by length-lexicographic order with f(w) > n.” This means that <M,n> is always a description of some w with K(w) > n, implying that |<M,n>| > n. But M has constant length, and n can be represented with log(n) bits, so this inequality becomes c + log(n) > n, which will obviously fail for large enough n
19
u/Sezbeth Permanently New User May 30 '26
I don't have an immediate answer but, in principle, one should be able to skip the whole Halting business by appealing directly to a diagonalization argument, since the class of all Turing machines is countable. With that approach, I think the best you get is some kind of characteristic function N -> {0,1} that differs from the output of an enumerated Turing machine, but maybe you want something more concrete.
15
u/robly18 May 30 '26 edited Jun 01 '26
I'm doing my PhD in computability theory, so I think I have something to contribute here.
As it turns out, there are many incomputable functions that are not the Halting problem, and they are all over the place. However, they are remarkbaly hard to come across if you aren't explicitly trying to build them, and they will certainly look "artificial". At least, this is what it looks like from experience. This is related to something called "Martin's conjecture", which has not yet been proven or disproven but tries to encapsulate this idea that Turing degrees that aren't the halting problem (or built from it using more halting problem) are "unnatural".
[EDIT: As /u/Beautiful_Proof_1410 rightfully pointed out, I should be more specific about what I mean by "not the Halting Problem". The most common notion of "same computational strength" in use in computability theory is "Turing Equivalence", which means "a computer equipped with an apparatus that solves this problem could solve the Halting Problem, and vice-versa". This is the notion that I use in this post. If you have another notion of equivalence in mind, ask about it in the comments.]
The point is that I can tell you they exist, and I can even construct some, but almost surely any natural specific example anyone would come up with would be the Halting Problem or something built on it.
Kleene and Post in the 40's built the first example (I think) of a function that is not computable but is computably weaker than the Halting Problem. While the proof is relatively simple, it requires a lot of technical baggage that I can't write down in this Reddit comment, but here is a source: Theorem VI.1.2 from "Recursively Enumerable Sets and Degrees" by Soare.
This is not the only example, and in fact modern computability abounds with such constructions. It wouldn't be very interesting to study just the halting problem for almost a century. Here are some more off the top of my head: -It can be proven that, if you generate a set of natural numbers randomly by flipping coins to decide whether each number is in the set, the result will, with 100% probability, be incomparable to the Halting Problem, in the sense that neither can calculate the other. This is related to a field called Algorithmic Randomness. -There is a theorem called "the Low Basis Theorem" which states that, for any infinite computable binary tree, you can find a "low path", that is: A sequence of zeros and ones, describing a path down through the tree (0 is left and 1 is right), such that this path is "low", which means: The halting problem of a computer with access to this path can be solved by the usual halting problem. This means that this path is close to computable. If you pair this theorem with a computable tree with no computable paths (can be built by diagonalization arguments too complicated for this paragraph), you obtain a noncomputable low set. The halting problem is not low, so this gets you a new noncomputable thing.
The book by Soare I mentioned earlier is a great resource to learn about all of this. Though I will admit it might not be the easiest time. Soare has written a newer book since, which I do not appreciate as much but might be more beginner friendly: "Theory and Applications of Computability", so you might want to take a look at either of these if you want to learn more.
11
u/rhodiumtoad 0⁰=1, just deal with it May 30 '26
Kolmogorov complexity is in general uncomputable. While related to the halting problem, this is not directly derived from it.
5
u/SV-97 Industrial mathematician May 30 '26
All computable functions on the reals are necessarily continuous --- so any discontinuous function is automatically noncomputable.
3
u/Jollybean1 New User Jul 09 '26
Don't mind me I just came to visit and see Impressive-Mud's comments
2
u/SilverNuke911 New User Jun 15 '26
Came here to see the ultrafinitist debacle. By god, man, that user seems to be way over his head without knowing shit about what he's talking about. Pick a math book.
2
u/Big-Cod-324 New User Jun 17 '26
Impressive_Mud is right, its unfortunate that dogmatism stretches to even maths where people will pile on someone like this, but this is how society and reddit is
1
u/LiteralLegendary New User Jun 17 '26
You might me interested in Betti Numbers of homology groups
1
u/donaldhobson New User Jun 23 '26
Randomness is uncomputable.
Take a function that assigns each natural number to an IID coinflip. This is uncomputable with probability 1.
1
u/bedrock_city New User Jul 19 '26
The halting problem seems kind of arbitrary and maybe specific to software engineering, but it's hardness is really quite deep. If you had an oracle to answer the halting problem you could write programs that loop through the natural numbers to test mathematical properties and halt if you find a counterexample to unproven conjectures. So e.g. a solution to the halting problem would be able to answer famous unsolved questions like Goldbach's Conjecture or the Twin Prime Conjecture.
1
u/Misrosan New User Oct 11 '26
If ω is a countabil ordinal, there exists a order perserving injection δ: ω --> Q let A be the Image of δ. let f be a bijection from the Natural Numbers to A. then f is uncomputabil for every sufficiantly large ω.
1
u/lkruijsw New User May 30 '26
You can have nesting of Turing machines, by adding an 'oracle' instruction.
This is related to Arithmetical hierarchy: Arithmetical hierarchy - Wikipedia
So, you can have a function that is uncomputable, but not a halting problem, because it requires to solve an infinite number of halting problems.
-13
u/Impressive-Mud5074 New User May 30 '26 edited May 30 '26
Very large numbers are uncomputabe
Edit: https://en.wikipedia.org/wiki/Ultrafinitism
-48
u/Impressive-Mud5074 New User May 30 '26
Pi is uncomputable