Tangled Tapes: Infinity, Interaction and Turing Machines

Total Page:16

File Type:pdf, Size:1020Kb

Tangled Tapes: Infinity, Interaction and Turing Machines Tangled Tapes: Infinity, Interaction and Turing Machines Paul Cockshott(1), Greg Michaelson(2) (1) School of Computer Science, University of Glasgow, Sir Alwyn Williams Building, Lilybank Gds, Glasgow, Scotland, G12 8QQ [email protected] (2) School of Mathematical and Computer Sciences, Heriot-Watt University, Riccarton, Scotland, EH14 4AS [email protected] Key words:Turing machine, tape, infinite, interaction Abstract. In the sixty-five years since Turing introduced his eponymous machines, many popular misconceptions about their properties have be- come current. In this paper, we explore the notions that Turing machines have infinite tapes and that their expressive power is limited by by an inability to interact with the wider environment during computations. 1 Introduction As time passes since the death of a great scientist, they become better known. More people have heard of them, and more people have heard of their work. But it does not follow that more people actually know their work or still read it. Newton like Darwin and Freud is still famous, but how many still read Newton in the original? As time passes their work becomes known at second or third hand, and in the process is changed. Things are omitted, and things which, whilst they were the result of the great author’s work, were other’s ideas, are attributed to them. For instance one of us who was brought up on Dawkins and Gould, with their accounts of the opposition between Darwinian and Lamarkian evolution, was surprised to discover in Darwin’s Descent of Man[4] that he was a firm believer in the inheritance of acquired characteristics. A later, post Mendel, orthodoxy has been projected back onto Darwin. One encountered not the original Darwin, but a stylised version, modified by more recent concerns. Turing, who is so much more recent than Darwin and whose publications were much less extensive, is already showing signs of being transformed in a similar way. Far more computer scientists have read accounts of the Turing Machine in textbooks than have read his original description, and as a result a number of misconceptions have taken hold. In this paper, we explore two misconceptions about properties of Turing machine tapes, that is that they are infinite and that they may not be subject to external change during computations. 2 Finite and infinite tapes There is a widespread notion that Turing machines have infinite tapes. However, in Turing’s original paper[18] there is no mention of the tape having to be infinite; instead Turing says: "The machine is supplied with a “tape”, (the analogue of paper) running through it, and divided into sections (called “squares”) each capable of bearing a “symbol”. At any moment there is just one square, say the r-th, bearing the symbol S(r) which is “in the machine”". The length of the tape is not specified. The tape is not specified as infinite, and, since he is concerned with finite computation, it is clear that any terminating programme will have only modified a finite portion of the tape, so what he was assuming was effectively a finite but unbounded tape. An infinite tape would also have required an infinite amount of energy to accelerate and decelerate it on each step and would thus have been incompatible with requirement that computable numbers be "calculable by finite means". It is possible that this notion of an infinite Turing machine tape arose from the independent elaboration of Emil Post’s eponymous machine[16] at around the same time. Post also uses the analogy of a “problem solver or worker” manipulating “spaces or boxes” but “the symbol space is to consist of a two way infinite sequence. Perhaps more significantly, in 1947 Turing said in a lecture that, some years earlier, he had been investigating the problem of machines with “an infinite memory contained on an infinite tape”[20]. It is not clear whether he was misrecollecting what he published in [18] or referring to unpublished investigations. to be infinite but had at least to be ’very extensive’. It is probably from this lecture by Turing himself, that the idea that the original Turing Machine required an infinite memory arose. In practice this difference between infinite and finite but unbounded memories is not important. We know that in reality all our digital com- puters are finite machines, but such is the vastness of the finite, that even a tiny embedded microprocessor like the PIC with a paltry 68 bytes of RAM has so many potential states that it would take about 2450 times the age of the universe to run through them all. What is important for a general purpose digital computer is that its memory be ’exten- sive’ and that this memory is modifiable during programme execution. The size of the memory is important, bur only insofar as size constrains the datasets that can be practically processed. The organisation of the memory, whether it has random or sequential access, is also of practical importance, since random access stores are faster than sequential access ones. But neither the size nor the organisation affect the type of problem that the computer can address. Machines such as the ACE may be regarded as practical ver- sions of this same type of machine. There is at least a very close analogy. Digital computing machines all have a central mecha- nism or control and some very extensive form of memory. The memory does not have to be infinite, but it certainly needs to be very large.[20] Subsequently, there is a curious divergence in accounts of Turing machine tapes in books on computability theory. In a collection of twenty two such books held by one author, eleven refer directly or obliquely to the tape as infinite - see Figure 3. These include the classic texts by Davis[5], “two-way infinite sequence”(p3), Hopcroft and Ullman[10], “infinity of cells”(1969), Manna[13],“The tape...is infinite to the right”(p228), and Harel[9], “an infinite tape”(p21). Finally, Minsky[14] offers a compromise: “The tape is regarded as infinite in both directions. But...one can think of the tape as really finite at any particular time.”(p118) 3 Interaction and Computation The infinite tape seems to have been the first stylisation of the Turing’s universal computer. A more recent stylisation is the idea that according to Turing, universal computers are not allowed to perform input out- put. Wegner proposes that Turing Machines correspond to the batch mainframes running procedural languages, and that workstations run- ning object oriented languages correspond to an entirely new class of machines which he calls interaction machines. Turing machines transform strings of input symbols on a tape into output strings by sequences of state transitions. Each step reads a symbol from the tape, performs a state transition, writes a symbol on the tape, and moves the reading head. Turing ma- chines cannot, however, accept external input while they com- pute; they shut out the external world and are therefore unable to model the passage of external time.[22] We will consider the two issues of input output and the passage of time separately. If one looks at Turing’s 1937 paper the tape is both the input output device and the read write store. The lack of any dedicated input output hardware in the 1937 proposal could clearly have been circumvented by appropriate programming. One could arrange that say every 3rd square on the tape was to be reserved for input data, and allow the programmer to write input data onto these 3rd squares as the computation proceeds. These 3rd squares would then constitute an input channel multiplexed onto the tape. Allow the input channel to contain blanks, Xs, 0s or 1s,. Once a 0 or 1 has been read from the input channel the machine overwrites it with an X. The machine can poll for input by inspecting the next character in the input channel, if it is blank, move back a certain number of positions to eject the tape and allow the programmer to optionally write a 0 or 1 on the square and then repeat. Obviously we would have to arrange the machine to run slow enough that there was time to write on the tape, but this does not affect the essence of the argument. We have to ask if the lack of dedicated input output was a significant feature of Turing’s ideas. We would argue that the key computational innovation he was concerned with in [18] was the Universal Computer, the computer that could emulate any other computer, and thus perform any computation. Special purpose computing machines were well known prior to Turing[17,8,6,11,7]. What was new, or at least a recovery of Babbage[12], in [18] was the idea of the Universal Computer. It is the implementation of this universality that has led to the subsequent success of the computer industry, since it allows a single design of machine to be applied to an arbitrary number of tasks. It can be shown that a single special machine of that type can be made to do the work of all. lt could in fact be made to work as a model of any other machine. The special machine may be called the universal machine, it works in the following quite simple manner. When we have decided what machine we wish to imitate we punch a description of it on the tape of the universal machine. This description explains what the machine would do in every configuration in which it might find itself. The universal machine has only to keep looking at this description in order to find out what it should do at each stage.
Recommended publications
  • This Thesis Has Been Submitted in Fulfilment of the Requirements for a Postgraduate Degree (E.G
    This thesis has been submitted in fulfilment of the requirements for a postgraduate degree (e.g. PhD, MPhil, DClinPsychol) at the University of Edinburgh. Please note the following terms and conditions of use: • This work is protected by copyright and other intellectual property rights, which are retained by the thesis author, unless otherwise stated. • A copy can be downloaded for personal non-commercial research or study, without prior permission or charge. • This thesis cannot be reproduced or quoted extensively from without first obtaining permission in writing from the author. • The content must not be changed in any way or sold commercially in any format or medium without the formal permission of the author. • When referring to this work, full bibliographic details including the author, title, awarding institution and date of the thesis must be given. EVALUATION OF FUNCTIONAL DATA MODELS FOR DATABASE DESIGN AND USE by KRISHNARAO GURURAO KULKARNI Ph. D. University of Edinburgh 1983 To my wife, Rama and daughter, Bhuvana Acknowledgements I am deeply indebted to my thesis supervisor, Dr. Malcolm Atkinson, for his constant guidance, help, and encouragement. for his highly incisive comments on the writing of this thesis, and for a host of other reasons. It is indeed a great pleasure to acknowledge his contribution. I am also greatly indebted to Dr. David Rees, who supervised me during the initial six months. His help and guidance during that time was invaluable. I am thankful to many of my friends In the Department for their kind advice from time to time. In particular, I would like to thank Paul Cockshott, Ken Chisholm, Pedro Hepp, Segun Owoso, George Ross, and Rob Procter for many useful discussions.
    [Show full text]
  • Professor Lenore Mullin, National Science Foundation, Virginia
    SICSA Distinguished Visitor Report Prof. Lenore Mullin 01-14/02/2010 Paul Keir University of Glasgow 2/22/2010 SICSA Distinguished Visitor Report useful SICSA address, [email protected]. The SICSA course was attended by around ten people on each day, and was well delivered and received. In addition, after the suggestion of a reader at Oxford University, Distinguished all three lectures were recorded on video, and will Visitor Report subsequently be made available to a wider audience. SPLS Seminar Prof. Lenore Mullin 01-14/02/2010 Fortunate timing allowed the visit to coincide with the February meeting of the SPLS seminar. The meeting was hosted by Heriot Watt University, and The following document reports on the activities and took place at ICMS in Edinburgh. Lenore presented outcomes taking place and arising from the visit by an overview of tensor-based scientific programming SICSA Distinguished Visiting Fellow, Prof. Lenore based on her recent experience as program director Mullin, University at Albany, State University of New at the American National Science Foundation (NSF). York. Prof. Mullin’s visit took place during the first See http://www.macs.hw.ac.uk/~pm175/spls- two weeks of February 2010 and was hosted by the 02102010.shtml for more details. University of Glasgow. Her visit was sponsored and coordinated by Dr. Paul Cockshott and his student Cakes Talk Paul Keir. Cakes Talks occur at 4pm on Fridays during term time, where invited speakers can present on topics Overview relevant to computing science in an less formal Lenore Mullin is a leading expert in array-based High setting; and with cakes.
    [Show full text]
  • Towards a New Socialism
    TOWARDS ANEW SOCIALISM W.PAULCOCKSHOTT AND ALLINCOTTRELL ii About this book Towards a New Socialism was first published in 1993 by Spokesman, Bertrand Russell House, Gamble Street, Nottingham, England, and printed by the Russell Press, Nottingham. The text is copyright W. Paul Cockshott and Allin Cottrell. Paul Cockshott ([email protected]) currently works at the Turing Insti- tute of the University of Glasgow, and Allin Cottrell ([email protected]) in the Department of Economics at Wake Forest University, North Carolina. The authors wish to thank Maria Black, Ron Buchanan and Greg Michaelson for useful discussions of the ideas in this book. Allin Cottrell also wishes to acknowledge assistance in the form of research grants from Elon College, North Carolina, and the Kerr Bequest at the University of Edinburgh. Preface to the Swedish edition It is now ten years since most of Towards a New Socialism was written. The developments of the last decade|less dramatic than its predecessor|do not make us wish to revise the book's main thesis. We still believe that, the Soviet experience notwithstanding, an efficient, democratic socialism is both techni- cally feasible and desirable. We stand by our attempts to sketch in some detail what such a socialism might look like, while recognizing that they are but a contribution to discussion. In some ways, developments of the 1990s have brought our ideas closer to reality. We talk of planning the economy using a network of computers. When we first floated this idea the Internet was in its infancy; now it is a major fact of life and the technology needed to permit large scale sharing of information in real time is a commonplace.
    [Show full text]
  • Integrated Persistent Programming Systems”
    This paper should be referenced as: Atkinson, M.P. & Morrison, R. “Integrated Persistent Programming Systems”. In Proc. 19th International Conference on Systems Sciences, Hawaii (1986) pp 842-854. Integrated Persistent Programming Systems Malcolm P. Atkinson and Ronald Morrison University of Glasgow, Glasgow, Scotland G12 8QQ. Tel. 0413398855 and University of St Andrews, St Andrews, Scotland KY16 9SX. Tel. 033476161 Abstract We contend that future programming languages should contain orthogonal persistence of data, interactive graphics support and a mechanism which permits the programmer to specify incremental binding. Persistence should permit data of any type or size to exist for arbitrary lengths of time. Our graphics proposals include bit map and vector models of pictures and control of colour maps. Name spaces provide the mechanism for binding control. It is the interplay and introduction of these language constructs that greatly extends the repertoire of programming activities supported by the programming language. A prototype language which includes these concepts has been implemented and used extensively. 1. Introduction In this paper we set out to report our current experiments in language design and to outline our views on the necessary developments in programming languages and environments for the 1990's based on these experiments and surveys we have done[6,8]. Present dependence on a plethora of languages and mechanisms such as command languages, file systems, compilers and interpreters, linkage editors and binders, debuggers, DBMS sub-languages, graphics libraries, etc. increases the cost of understanding and maintaining software and training programmers, for even the simplest of programming activities. Axiomatic in our approach is that we are searching for a language or a family of languages that are capable of supporting all programming activities varying only in their universe of discourse defined by their respective type systems.
    [Show full text]
  • The Relation Between Economic and Political Instances in the Communist Mode of Production
    50 SCIENCEScience & &SOCIETY Society, Vol. 66, No. 1, Spring 2002, 50± 64 V The Relation Between Economic and Political Instances in the Communist Mode of Production PAUL COCKSHOTT AND ALLIN COTTRELL 1. Introduction NYONE PROMOTING COMMUNISM in the current century must come to terms with the key historical event of the sec- A ond half of the last, the demise of the Soviet system. Whether or not we describe ourselves as ªcommunist,º if our proposals in- volve the expropriation of the capitalist class and the institution of a form of social economy driven by the interests of the associated producers, they will be seen and judged as communist, and associ- ated with the Soviet Communism of 1917± 1990. We have to say how our proposals differ from the Soviet model, and provide a convinc- ing account of how the system we advocate can succeed where the Soviets failed. To advance this task it is important to clarify the status of com- munism as a mode of production, and the relationship between the economic and political levels of this mode of production. To date we have concentrated on proposals for economic planning (see es- pecially Cockshott and Cottrell, 1993). We summarized, defended, and to some degree updated, our proposals in Cockshott and Cottrell, 1997. Rather than review those proposals, we thought it preferable to try to break new ground here. 50 ECONOMIC AND POLITICAL INSTANCES 51 2. Mode of Production and Social Formation All historical social formations have been characterized by an articulated combination of modes of production, with one mode dominant at any given time and others subordinate.
    [Show full text]