Re: Turing computable function
- From: Chris Smith <cdsmith@xxxxxxxxx>
- Date: 12 Jul 2008 12:42:19 GMT
sanchopancho80 wrote:
My definition of a "computable partial function" is the following: A
partial function X - - f - -> Y is called "computable partial function"
iff there is a Turing machine T with an input and with an output tape
such that if you write an element x of X on the input tape, the Turing
machine
- either writes f(x) on the output tape or - stops without writing
anything or doesn't stop.
This means in particular that I don't consider inputs which aren't in X.
Hence it should be equivalent to say that the graph of a partial
recursive function is r.e. or that f is a "computable partial function",
right?
No.
The issue that Matt is referring to is this. From what you've written,
your Turing machine that computes f has a specific defined behavior only
when the input tape is in X. So if the Turing machine produces output y
for some input tape x, then either:
(a) f(x) = y, OR
(b) x is not in X.
But in order to enumerate L = { (x,y) | y = f(x) }, you need to produce
an (x,y) pair only in case (a). The two cases are indistinguishable, in
general. If the set X is r.e., or if you require that the machine that
computes f should loop if its input is not in X, then you don't have this
problem.
This is *not* a really interesting problem; it's a technical detail...
your definition of computing a function, as written, allows you to cheat
and hide away some difficulty, by specifying a smaller (and non-r.e.)
domain of discourse. My bias is that you should just avoid this problem
by considering only (partial) functions f : X -> Y where X is the entire
set of strings over the input alphabet. Then X is trivially r.e., and
you are fine. This is equivalent to allowing arbitrary X, but saying
that a TM that computes f must loop when it's input is not in X.
--
Chris Smith
.
- Follow-Ups:
- Re: Turing computable function
- From: sanchopancho80
- Re: Turing computable function
- References:
- Turing computable function
- From: sanchopancho80
- Re: Turing computable function
- From: matt . timmermans
- Re: Turing computable function
- From: sanchopancho80
- Turing computable function
- Prev by Date: Re: Turing computable function
- Next by Date: Re: Turing computable function
- Previous by thread: Re: Turing computable function
- Next by thread: Re: Turing computable function
- Index(es):
Relevant Pages
|