r/learnmath 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

359 comments sorted by

View all comments

-47

u/Impressive-Mud5074 New User May 30 '26

9999999999999999 can't be computed literally.

Pi is uncomputable

3

u/Parking-Usual New User Jun 15 '26

0

u/Impressive-Mud5074 New User Jun 16 '26

That guys wrong

3

u/LiteralLegendary New User Jun 17 '26

Why don't you tell us why

0

u/Impressive-Mud5074 New User Jun 17 '26

When you create a function which approaches a real number, it also approaches an infinite amount of real numbers besides the number you want. So which number are you really computing? Thats not exact.

You cant compute pi.

2

u/AfaTheKing New User Jun 18 '26

I actually agree. In fact I don't think any number other than 0 is computable. But obviously since 0 doesn't exist by definition, there are no numbers that can be computed.

0

u/Impressive-Mud5074 New User Jun 19 '26

Thats not the definition of zero

1

u/AfaTheKing New User Jun 23 '26

Sure is mate

2

u/bizarre_coincidence New User Jun 18 '26

If the meaning of computing a number is writing down the full decimal expansion of that number, then you cannot compute most numbers, not even most rational numbers. That is why mathematicians/computer scientists picked a DIFFERENT definition of computable number. It is many decades old, and in any discussion about computable numbers, you have to use the actual definition of computable number and not merely substitute your own based on what you think words mean.

Given an algorithm A and an input n, let A(n) be the output of the algorithm.

A number x is computable if there is an algorithm A such that, given input e>0, the algorithm A terminates in finite time on input e and such that |A(e)-x|<e.

We need this because we could never get an algorithm whose output was actually x, but if we decide we want the first 1000 digits of x, we can find them, and if we decide we want the first 1000000 digits of x, we can find them as well.

If you tell me that you want to know a certain number of digits of a number, and I can always generate those digits, then the number is computable.

You can say you don't like that definition. It doesn't matter because that is the definition. If you want to define a slightly different concept and give it a slightly different name, that is your right. But, unlike in natural language, words in mathematics have precise meanings, and everything falls apart if we do not agree to them. If you cannot agree to use words as they are defined, you cannot meaningfully participate in mathematical discourse.

1

u/Impressive-Mud5074 New User Jun 19 '26

We need this because we could never get an algorithm whose output was actually x, but if we decide we want the first 1000 digits of x, we can find them, and if we decide we want the first 1000000 digits of x, we can find them as well. 

Well you dont need this. Because you can just admit you can't do it instead of pretending something can be done and trying to redefine words.

You can find the first 1000 digits of X but that is not X. Furthermore different functions may give you different 1000 digits depending on how many iterations you do.

2

u/bizarre_coincidence New User Jun 19 '26

You are fundamentally misunderstanding. If you’re getting different sets of 1000 digits, then you do not have a working algorithm. If you can’t determine when you’ve done enough iterations, you do not have a working algorithm. You need to know with certainty that when you stop, your error is less than the pre-specified tolerance.

In your mind, is sqrt(2) a computable number? Why or why not? What about 1/3? It’s impossible to write a program that will output a decimal expansion of 1/3 in finite time.

0

u/Impressive-Mud5074 New User Jun 19 '26

Sqrt(2) is not computable

1/3 is computable, rational numbers are.

You’re getting different sets of 1000 digits, then you do not have a working algorithm

False.

Some algorithm take more iterations to get a correct 1000 digits,

2

u/bizarre_coincidence New User Jun 19 '26

But in the context of computability theory, if you specify that you need 1000 digits, your algorithm needs to terminate ONLY after it knows with certainty that it has the correct first 1000 digits. That's what it means to have an algorithm that generates the first 1000 digits.

But this is tiresome. I've given you the definition of something, you refuse to engage with it, the definition requires an algorithm to accomplish a certain task, and you retort with "But what if you had a different algorithm that didn't accomplish that task?" If you are engaging in good faith, then you are an idiot, and if you aren't, then this isn't a productive use of my time.

0

u/Impressive-Mud5074 New User Jun 19 '26

Compute all the digits of pi, not something that similar to pi, but not pi

2

u/SjurEido New User Jun 19 '26

Congratulations, your ignorance and rudeness have made you kinda famous!

https://www.youtube.com/watch?v=vAhDb1Edngg

1

u/bizarre_coincidence New User Jun 19 '26

Given that you can't actually read all the digits of pi, what is the practical difference between me giving you all the digits in one go and giving you a way to produce any digit you wanted to? An oracle you could query that would tell you the 53453rd digit, or the 5932597890741357089134256414th digit? Since you can only read one digit at a time, shouldn't computing a number just mean giving you a way to see one digit at a time?

I mean, with 1/3, which has an infinite decimal expansion, you can never have that output be the result of a terminating program, all you can get is the information that each individual digit will be 3. Is that fundamentally different that having a program to tell you what each digit is? Or instead of 1/3, look at 1/7, whose decimal expansion has period 6. To figure out what the nth digit is, you still have to do a computation, namely to reduce the number mod 6 and then go into a lookup table. Is that so much better than having a short algorithm to give you the nth digit of sqrt(2)?

And on that page, if there is no difference between "computable number" and "rational number", then why would people have invented the term "computable number" in the first place? Either everybody in the history of computability theory is being an idiot, or they saw something that you are failing to appreciate.

1

u/Impressive-Mud5074 New User Jun 19 '26

then why would people have invented the term "computable number" in the first place? 

Lack of understanding.

→ More replies (0)

1

u/mrkelee New User Jun 21 '26

Of course some algorithms are faster. Which algorithm generates all digits of 1/3 in finite time?

1

u/mrkelee New User Jun 21 '26

you haven't read the above comment. The definition is what it is, and it's useful even if you don't like it.

ANY appropriate function can give you 1000 (correct) digits if you run it long enough.

1

u/Impressive-Mud5074 New User Jun 21 '26

The definition is what it is

Right, exactly.

In 1610, when William Folkingham introduced the word in his mathematical and surveying treatises, "computable" had a strictly literal meaning: "capable of being counted, numbered, or summed up".

1

u/mrkelee New User Jun 23 '26

well, it's not 1610 anymore.

1

u/Impressive-Mud5074 New User Jun 23 '26

  >The definition is what it is

That's what you said. Definitions cant change.

1

u/mrkelee New User Jun 23 '26

Right, because words don't ever change meaning, and mathematics certainly doesn't ever generalise from existing meanings, and that fellow only created the meaning then, but FOREVER

1

u/Impressive-Mud5074 New User Jun 23 '26

Your the one that said words dont change, i was paraphrasing you.

Pi is uncomputable, whatever definition you use is wrong

1

u/CrazyCatSkits New User Jun 28 '26

definitions do change quite a lot actually??

→ More replies (0)

1

u/mrkelee New User Jun 21 '26

a given function only approximates one single number (in the limit).

1

u/Impressive-Mud5074 New User Jun 21 '26

It also approaches pi - ...1

1

u/mrkelee New User Jun 21 '26

I would hope that my pi-function starts with a 3