Liste des Groupes | Revenir à c theory |
On Sun, 2025-05-18 at 19:09 -0400, Richard Damon wrote:The term "computation" has been used for efforts like to detemine theOn 5/18/25 6:09 PM, olcott wrote:Note that TM cannot *read* input as external information, everything is fixed.On 5/18/2025 4:46 PM, wij wrote:As I pointed out, there are two definitions of what a Turing Macine is.On Sun, 2025-05-18 at 15:57 -0500, olcott wrote:On 5/18/2025 3:35 PM, wij wrote:UTM is not a complete TM.> >> > Textbooks define a UTM as a complete TM.On Sat, 2025-05-17 at 14:39 -0500, olcott wrote:It is stipulated that U is a UTM thatOn 5/17/2025 2:26 PM, wij wrote:U is not a complete TM. U(<U>) is worst, also not a TM.On Sat, 2025-05-17 at 15:45 +0100, Mike Terry wrote:U(<U>) is the most conventional notationOn 17/05/2025 04:01, wij wrote:It seems you are addressing notational problems.On Fri, 2025-05-16 at 23:51 +0100, Mike Terry wrote:Eh? The f was something /you/ introduced! You said it> > > > > > > > represents some computation whichOn 16/05/2025 20:35, wij wrote:In "UTM simulates itself", denoted as U(U(f)), the f would not> > > > >On Fri, 2025-05-16 at 16:33 +0100, Mike Terry wrote:Correct, and correct.On 16/05/2025 12:40, wij wrote:TM has no I/O mechanism. 'Computation' always means the> > > > > > > >On Fri, 2025-05-16 at 03:26 +0100, Mike Terry wrote:What do you mean "the contents of the tape would not be> > > > > > > >On 16/05/2025 02:47, wij wrote:Sorry for not being clear on the UTM issue (I wanted to mean> > > > > >On Fri, 2025-05-16 at 01:40 +0100, Mike Terry wrote:There is no self-reference trap.On 15/05/2025 19:49, wij wrote:Supposed UTM exists, and denoted as U(X), X denotes the> > > > > > > >On Thu, 2025-05-15 at 17:08 +0100, Mike Terry wrote:Yes, a UTM can simulate any TM including itself. > > > > > > > > > > >On 14/05/2025 18:53, wij wrote:People used to say UTM can simulate all TM. I was> > > > > > > > > > >On Wed, 2025-05-14 at 12:24 -0500, olcott wrote:Every UTM has some scheme which can be applied to a (TM> > > > > > > >On 5/14/2025 11:43 AM, wij wrote:What is exactly the source-code on its tape?On Wed, 2025-05-14 at 09:51 -0500, olcott wrote:You run a UTM that has its own source-code on its tape.On 5/14/2025 12:13 AM, wij wrote:It is a C program that exists. Therefore, there must> > > > > > > > > >Q: Write a turing machine that performs D function> > > > > > > > > > >That is not a TM.calls(which
itself):
void D() {
D();
}
Easy?
equivalentbe a
TM.
To make a TM that references itself the closestHow does a UTM simulate its own TM source-code?
thing is a UTM that simulates its own TM source-code.
that& input tape)
is to
be
simulated.
The
scheme says how to turn the (TM + input tape) into a> > > > > > > > > >thatstring of symbols
represent
that
computation.
So to answer your question, the "source-code on its> > > > > > > > > >oftape" is the result
applying
the
UTM's
particular scheme to the combination (UTM, input tape)> > > > > > > > >simulated.that is to be
If you're looking for the exact string symbols,> > > > > > > > > > > >toobviously you would need
specify
the
exact
UTM
being used, because every UTM will have a different> > > > > > > > > >question.answer to your
Mike.Because you said "Every UTM ...", so what is the source> > > > > > > >questing such a UTM.of such UTM?when(Nothing magical changes
a
UTM
simulates
itself, as opposed to some other TM.)encoding of a TM. And, U(X) should function the same like X.tape contents of the
Given instance U(U(f)), it should function like f from the> > > > > > >But, U(U(f)) would fall into a 'self-reference' trap.above definition.
In your notation:
- f represents some computation.
- U(f) represents U being run with f on its tape.
Note this is itself a computation, distinct from> > > > > > >but having the same behaviour.f of course
- U(U(f)) represents U simulating the previous computation.
There is no reason U(f) cannot be simulated by U. U will> > > > > > >ithave no knowledge that
is
"simulating
itself", and will just simulate what it is given.
Mike.post).several things in one
You are right there is no self-reference.
I mean 'UTM' is not a complete, qualified TM because the> > > > > > > >would not be defined. Saying "UTM can simulate any TM" is> > > > > > >contents of the tapeno such TM (UTM as TM) exists.misleading because/equipped/defined"? A TM is
with
an
infinite tape, but the /contents/ of that tape are not a part> > > > >definition.of that TM's
For example we could build a TM P that decides whether a> > > > > > > >number n,number is prime. Given a
we
convert n into the input tape representation of n, and run P> > > > > >input.with that tape as
It's essentially no different for UTMs. Such a UTM certainly> > > > >equippedis a "complete TM",
with
its
own input tape. Of course we don't know what's on the input> > > > > >saidtape because nobody has
yet
what
computation we are asking it to simulate! [Similarly we> > > > > > > >inputdon't know what's on P's
tape,
until
we know what n we want it to test for primeness.] Once you> > > > > >wantsay what computation you
the
UTM to
simulate we can build a tape string to perform that> > > > > > > > > >theparticular simulation. That is
case
/whatever/ computation we come up with, so it is simply the> > > > > >thatcase [not misleading]
the
UTM
can
simulate any computation.
Mike.is defined (fixed before run).contents of the tape
So... What do you mean "the contents of the tape would not be> > > > >Mike.defined"?be defined.
UTM U
simulates. How can f suddenly become undefined after you defined> > >Do you mean that f would not be on the input tape for (outer)U? > > > >it?all. InThat's not the case at
U(f), the input tape for U contains a representation of f. When> > > >simulating f, (outer)U's tape contains a representation of> > > > > > >(outer)U simulates (inner)Ucomputation U(f), whichinternally
contains the original representation of f. The f is still there> > > >U(U(f)).and equally well defined in
I think you would benefit from being more explicit and generally> > > >notation!more careful in your
Using notation <P,I> to mean U's input tape representation of "TM> > >Your U(f) is U(<fp,fi>) // fp = TM(f),> > > > > > >P, running with input I":fi=InputTape(f)Your U(U(f)) is U((<U,<fp,fi>>)
f is still there! It has not become "undefined".
You gloss over the details and become confused - just think it> > > > >Mike.through step by step.
You introduced angle bracket and one more variable, and seemingly> > >that a variable cannot be undefined because it is there. And said> > >attackingnot gloss over the detail and should think it through step by step.I should
No idea what you are talking about.
has its own source-code as its input.
It can be just the algorithm part, or the combination of the Algorithm> and Input.
In either case
"U <U>" isn't a valid computation, as in the TM is just tha algoritm> case, where <U> is a valid string for the representation of the TM, a> UTM needs as its input the combination of the representation of the> input program and the representation of its input (if it takes any), so,> since the program is a UTM, and that needs an input, you need to add it.
I have no problem with the 'two definition' saying, you just have to make
it clear (but as usual in your real number, you invent your own stuff, you
are not following your 'standard' and condemn others not following it).
However this 'other' definition of TM if exists will have no computation
(nothing in the tape). You cannot talk about 'computation'.
Les messages affichés proviennent d'usenet.