Re: How to write a self-referencial TM?

Liste des GroupesRevenir à theory 
Sujet : Re: How to write a self-referencial TM?
De : anw (at) *nospam* cuboid.co.uk (Andy Walker)
Groupes : comp.theory
Date : 15. May 2025, 01:09:34
Autres entêtes
Organisation : Not very much
Message-ID : <1003bbu$2d57f$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Mozilla Thunderbird
On 14/05/2025 21:16, Richard Heathfield wrote:
On 14/05/2025 21:00, Keith Thompson wrote:
I presume that one-way and two-way infinite tapes are computationally
equivalent, so the distinction doesn't matter all that much.
Indeed, there are lots of computationally equivalent versions:
  -- two or more tapes [indeed, two-dimensional tapes]
  -- one-way or two-way
  -- "paper" tapes where you can punch holes to change the content but not
       stick the chad back in to "unpunch" the holes
  -- two symbol, three symbol, ...
  -- move two or more spaces at a time
  -- others I've forgotten
Once you've shown they're equivalent, you can use a convenient version to
solve problems and the simplest versions to investigate theoretical limits.
See below for more info.

(Though with a one-way tape, I'm not sure what happens if the TM
runs off the end of the tape.)
It's helpful to have an end-of-tape "marker" [could be a symbol
used only for this purpose].

I should imagine that you could build one hell of a stack on one-way tape.
Yes, but for theoretical purposes you probably need two stacks [or
near equivalents] to hold two arbitrary-length integers.  On the other hand,
the tape can be read as two integers reading outwards from the head position,
and the TM transitions then correspond to fiddling with the least-significant
digits of these integers.  See also below.

Of course, the tape doesn't /have/ to be infinite. It only has to be long
enough so that you /don't/ run off the end. Just how long that is depends
on what problem you're addressing.
In the Real World, tapes can't be infinite, so an implementor has to decide
how long 'long enough' is.
An alternative view is that you can attach a "tape factory" to your
TM, and add a new square or three when you would otherwise run off the end.

If the TM's alphabet consisted of 256 discrete symbols (no reason why not)
a megabyte would give you a disk-based 'tape' a million cells long.
When I was lecturing this stuff, it was common for software to be
delivered as a stack of floppy discs accompanied by instructions such as
"now mount the next disc".  So I used to point out to the students that
this was quite precisely a TM.  The PC was a FSM which could read/write
"squares" consisting of one floppy disc each containing several million
binary digits depending on the state of the PC, from time to time going to
the next or previous floppy.  If you didn't have a next floppy, you went
to a shop and bought some more.
All the material described above is discussed in my lecture notes,
on the Web starting at
   https://www.cuboid.me.uk/anw/G12FCO/header.html
[see especially the last few lectures/problem classes/courseworks, all
linked from the header page].  Of course, there are many other excellent
web pages and books that discuss this stuff with varying degrees of
formality and level of maths/logic required as a pre-requisite.
[May be worth noting that the references to emulation and to self-
referential programs in lecture 18 pre-date musings by Messrs Olcott and
Flibble by years, and they certainly weren't original to me.]
--
Andy Walker, Nottingham.
    Andy's music pages: www.cuboid.me.uk/andy/Music
    Composer of the day: www.cuboid.me.uk/andy/Music/Composers/Heller

Date Sujet#  Auteur
14 May 25 * How to write a self-referencial TM?112wij
14 May 25 +- Re: How to write a self-referencial TM?1Richard Heathfield
14 May 25 +* Re: How to write a self-referencial TM?109olcott
14 May 25 i`* Re: How to write a self-referencial TM?108wij
14 May 25 i +* Re: How to write a self-referencial TM?21Richard Heathfield
14 May 25 i i`* Re: How to write a self-referencial TM?20wij
14 May 25 i i `* Re: How to write a self-referencial TM?19Richard Heathfield
14 May 25 i i  `* Re: How to write a self-referencial TM?18wij
14 May 25 i i   `* Re: How to write a self-referencial TM?17Richard Heathfield
14 May 25 i i    `* Re: How to write a self-referencial TM?16Keith Thompson
14 May 25 i i     +* Re: How to write a self-referencial TM?2olcott
14 May 25 i i     i`- Re: How to write a self-referencial TM?1Richard Heathfield
14 May 25 i i     +* Re: How to write a self-referencial TM?11Richard Heathfield
14 May 25 i i     i+* Re: How to write a self-referencial TM?5Keith Thompson
14 May 25 i i     ii+* Re: How to write a self-referencial TM?3Richard Heathfield
14 May 25 i i     iii`* Re: How to write a self-referencial TM?2Keith Thompson
14 May 25 i i     iii `- Re: How to write a self-referencial TM?1Richard Heathfield
15 May 25 i i     ii`- Re: How to write a self-referencial TM?1Mikko
15 May 25 i i     i`* Re: How to write a self-referencial TM?5Andy Walker
15 May 25 i i     i `* Re: How to write a self-referencial TM?4Keith Thompson
15 May 25 i i     i  `* Re: How to write a self-referencial TM?3wij
15 May 25 i i     i   `* Re: How to write a self-referencial TM?2wij
15 May 25 i i     i    `- Re: How to write a self-referencial TM?1wij
15 May 25 i i     +- Re: How to write a self-referencial TM?1Ben Bacarisse
15 May 25 i i     `- Re: How to write a self-referencial TM?1Mikko
14 May 25 i `* Re: How to write a self-referencial TM?86olcott
14 May 25 i  +* Re: How to write a self-referencial TM?3wij
14 May 25 i  i`* Re: How to write a self-referencial TM?2olcott
14 May 25 i  i `- Re: How to write a self-referencial TM?1wij
14 May 25 i  +* Re: How to write a self-referencial TM?80wij
15 May 25 i  i`* Re: How to write a self-referencial TM?79Mike Terry
15 May 25 i  i +* Re: How to write a self-referencial TM?14olcott
15 May 25 i  i i+* Re: How to write a self-referencial TM?6wij
15 May 25 i  i ii`* Re: How to write a self-referencial TM?5olcott
16 May 25 i  i ii `* Re: How to write a self-referencial TM?4Mikko
16 May 25 i  i ii  `* Re: How to write a self-referencial TM?3olcott
16 May 25 i  i ii   +- Re: How to write a self-referencial TM?1Richard Damon
17 May09:58 i  i ii   `- Re: How to write a self-referencial TM?1Mikko
16 May 25 i  i i`* Re: How to write a self-referencial TM?7Mikko
16 May 25 i  i i `* Re: How to write a self-referencial TM?6olcott
19 May09:21 i  i i  +- Re: How to write a self-referencial TM?1Fred. Zwarts
19 May11:39 i  i i  `* Re: How to write a self-referencial TM?4Mikko
21 May05:41 i  i i   `* Re: How to write a self-referencial TM?3olcott
21 May09:47 i  i i    +- Re: How to write a self-referencial TM?1Mikko
21 May12:11 i  i i    `- Re: How to write a self-referencial TM?1Richard Damon
15 May 25 i  i `* Re: How to write a self-referencial TM?64wij
15 May 25 i  i  +* Re: How to write a self-referencial TM?8olcott
15 May 25 i  i  i+* Re: How to write a self-referencial TM?4wij
16 May 25 i  i  ii`* Re: How to write a self-referencial TM?3Mikko
16 May 25 i  i  ii `* Re: How to write a self-referencial TM?2olcott
16 May 25 i  i  ii  `- Re: How to write a self-referencial TM?1Fred. Zwarts
16 May 25 i  i  i`* Re: How to write a self-referencial TM?3Mikko
16 May 25 i  i  i `* Re: How to write a self-referencial TM?2olcott
17 May10:02 i  i  i  `- Re: How to write a self-referencial TM?1Mikko
16 May 25 i  i  `* Re: How to write a self-referencial TM?55Mike Terry
16 May 25 i  i   +- Re: How to write a self-referencial TM?1Richard Heathfield
16 May 25 i  i   +* Re: How to write a self-referencial TM?46wij
16 May 25 i  i   i`* Re: How to write a self-referencial TM?45Mike Terry
16 May 25 i  i   i `* Re: How to write a self-referencial TM?44wij
16 May 25 i  i   i  `* Re: How to write a self-referencial TM?43Mike Terry
16 May 25 i  i   i   `* Re: How to write a self-referencial TM?42wij
16 May23:51 i  i   i    `* Re: How to write a self-referencial TM?41Mike Terry
17 May04:01 i  i   i     `* Re: How to write a self-referencial TM?40wij
17 May04:12 i  i   i      +* Re: How to write a self-referencial TM?6olcott
17 May04:23 i  i   i      i+* Re: How to write a self-referencial TM?4wij
17 May04:40 i  i   i      ii`* Re: How to write a self-referencial TM?3olcott
17 May04:49 i  i   i      ii `* Re: How to write a self-referencial TM?2wij
17 May04:58 i  i   i      ii  `- Re: How to write a self-referencial TM?1olcott
17 May14:02 i  i   i      i`- Re: How to write a self-referencial TM?1Richard Damon
17 May15:45 i  i   i      `* Re: How to write a self-referencial TM?33Mike Terry
17 May20:26 i  i   i       `* Re: How to write a self-referencial TM?32wij
17 May20:39 i  i   i        +* Re: How to write a self-referencial TM?28olcott
18 May09:20 i  i   i        i+- Re: How to write a self-referencial TM?1Mikko
18 May21:35 i  i   i        i`* Re: How to write a self-referencial TM?26wij
18 May21:57 i  i   i        i +* Re: How to write a self-referencial TM?24olcott
18 May22:45 i  i   i        i i+- Re: How to write a self-referencial TM?1Richard Damon
18 May22:46 i  i   i        i i+* Re: How to write a self-referencial TM?8wij
18 May23:09 i  i   i        i ii`* Re: How to write a self-referencial TM?7olcott
18 May23:35 i  i   i        i ii +- Re: How to write a self-referencial TM?1wij
19 May00:54 i  i   i        i ii +* Re: How to write a self-referencial TM?2wij
19 May11:52 i  i   i        i ii i`- Re: How to write a self-referencial TM?1Mikko
19 May11:48 i  i   i        i ii `* Re: How to write a self-referencial TM?3Mikko
21 May05:36 i  i   i        i ii  `* Re: How to write a self-referencial TM?2olcott
21 May09:56 i  i   i        i ii   `- Re: How to write a self-referencial TM?1Mikko
18 May22:58 i  i   i        i i+* Re: How to write a self-referencial TM?13André G. Isaak
18 May23:08 i  i   i        i ii`* Re: How to write a self-referencial TM?12olcott
19 May00:19 i  i   i        i ii +- Re: How to write a self-referencial TM?1Richard Damon
19 May04:21 i  i   i        i ii `* Re: How to write a self-referencial TM?10André G. Isaak
19 May05:07 i  i   i        i ii  `* Re: How to write a self-referencial TM?9olcott
19 May08:54 i  i   i        i ii   +- Re: How to write a self-referencial TM?1Fred. Zwarts
19 May13:29 i  i   i        i ii   `* Re: How to write a self-referencial TM?7Mikko
21 May05:33 i  i   i        i ii    `* Re: How to write a self-referencial TM?6olcott
21 May10:03 i  i   i        i ii     +- Re: How to write a self-referencial TM?1Mikko
21 May12:16 i  i   i        i ii     +- Re: How to write a self-referencial TM?1Richard Damon
21 May20:43 i  i   i        i ii     `* Re: How to write a self-referencial TM?3Fred. Zwarts
21 May20:49 i  i   i        i ii      `* Re: How to write a self-referencial TM?2olcott
23 May12:03 i  i   i        i ii       `- Re: How to write a self-referencial TM?1Fred. Zwarts
19 May11:44 i  i   i        i i`- Re: How to write a self-referencial TM?1Mikko
19 May11:41 i  i   i        i `- Re: How to write a self-referencial TM?1Mikko
17 May20:46 i  i   i        `* Re: How to write a self-referencial TM?3Mike Terry
17 May20:55 i  i   i         `* Re: How to write a self-referencial TM?2olcott
16 May 25 i  i   `* Re: How to write a self-referencial TM?7Andy Walker
16 May 25 i  `* Re: How to write a self-referencial TM?2Mikko
15 May 25 `- Re: How to write a self-referencial TM?1Mikko

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal