News for hackers. Stuff that matters.
Re:A number that can't be calculated by alexmolas on Tuesday October 25, 2022 @03:55PM (#33335349)
But imagine that we could compute BB(n) for any n, even if we need to use a different algorithm for each n. Then, we could build the mapping n -> BB(n). But the existence of this mapping is forbidden by the unsolvability of the Halting Problem, isn't it?
Re:A number that can't be calculated by morelisp on Tuesday October 25, 2022 @04:13PM (#33335540)
> But imagine that we could compute BB(n) for any n, even if we need to use a different algorithm for each n.

This is itself uncomputable; therefore

> Then, we could build the mapping n -> BB(n).

This mapping is not computable.

Edit as I'm rate-limited:

What I mean is, informally, the incomputability of the algorithm to select the correct algorithm to compute BB(n) is sufficient to make that mapping uncomputable.

However, that does not mean that an algorithm to compute BB(n) for a specific n does not exist. (Trivially, it does; "output BB(n)".)

Re:A number that can't be calculated by alexmolas on Tuesday October 25, 2022 @04:33PM (#33335760)
yes, this is why I said

> the existence of this mapping is forbidden

:)

Re:A number that can't be calculated by Kranar on Wednesday October 26, 2022 @02:26AM (#33340441)
No you can't conclude this and in fact the more general principle is that being able to prove P(0), P(1), P(2), etc... does not mean that it's also possible to prove P(n) for all n. The property of a formal system for which this does follow is known as Omega completeness, but Peano arithmetic and ZFC more broadly are both Omega-incomplete systems, hence there are propositions for which P(0), P(1), P(2)... can all individually be proven and yet it is not possible to prove P(n) for all n.

Wikipedia touches on this subject with an article on omega-consistent systems, which is a very closely related property:

https://en.wikipedia.org/wiki/%CE%A9-consistent_theory

And this gives a very brief description of Omega completeness:

https://encyclopediaofmath.org/wiki/Omega-completeness