Liste des Groupes | Revenir à theory |
On 2025-04-30 21:50, olcott wrote:What I am explaining is that a halt deciderOn 4/30/2025 7:17 PM, André G. Isaak wrote:All you're demonstrating here is that you have no clue what a function is, nor, apparently, do you have any desire to learn.You are still hopelessly confused about your terminology.>
>
Computable functions are a subset of mathematical functions, and mathematical functions are *not* the same thing as C functions. Functions do not apply "transformations". They are simply mappings, and a functions which maps every pair of natural numbers to 5 is a perfectly legitimate, albeit not very interesting, function.
>
What makes this function a *computable function* is that fact that it is possible to construct a C function (or a Turing Machine, or some other type of algorithm) such as int foo(int x, int y) {return 5;} which computes that particular function; but the C function and the computable function it computes are entirely separate entities.
computes the sum of two integers
by transforming the inputs into an output.
int sum(int x, int y) { return x + y; }
>
Computes no function because it ignores its inputs.
int sum(int x, int y) { return 5; }
André
Les messages affichés proviennent d'usenet.