Book Read Free

Alan Turing: The Enigma The Centenary Edition

Page 50

by Andrew Hodges


  * He once expressed himself as shocked by the indiscreet talk at a college dinner of a certain eminent wartime scientist.

  * The signal-to-noise ratio was only l0dB, meaning that the speech had only ten times the power of the noise.

  * That is, he had arrived at the automatic electronic digital computer with internal program storage. In what follows, the word ‘computer’ will be reserved for machines satisfying all these conditions. But in 1945 the word ‘computer’ meant what it had meant in 1935: either a person who did computations, or any type of machine (in anti-aircraft artillery, for instance) which mechanised that computation. It was not for about ten years that ‘computer’, or even ‘digital computer’, took on the new meaning. Meanwhile a variety of more cumbersome terms were used, and correspondingly the concept was less clear at the time than it later became, particularly regarding the internally stored program. Alan Turing had not invented a thing, but had brought together a powerful collection of ideas; since the ideas condensed into exactly what became ‘the computer’ it does not do too grave an injury to history to employ the word anachronistically. In fact the anachronism reflects quite well the difficulty that he faced in communicating to the 1940s a picture that belonged to the 1960s.

  * Certainly Ada, Countess of Lovelace, writing her interpretation21 of Babbage’s ideas in 1842, expressed this idea in a passage of prophetic insight:

  The bounds of arithmetic were, however, outstepped the moment the idea of applying the cards had occurred; and the Analytical Engine does not occupy common ground with mere ‘calculating machines’. It holds a position wholly its own; and the considerations it suggests are most interesting in their nature. In enabling mechanism to combine together general symbols, in successions of unlimited variety and extent, a uniting link is established between the operations of matter and the abstract mental processes of the most abstract branch of mathematical science. A new, a vast and a powerful language is developed for the future use of analysis, in which to wield its truths so that these may become of more speedy and accurate practical application for the purposes of mankind than the means hitherto in our possession have rendered possible. Thus not only the mental and the material, but the theoretical and the practical in the mathematical world, are brought into more intimate and effective connexion with each other. We are not aware of its being on record that anything partaking of the nature of what is so well designated the Analytical Engine has been hitherto proposed, or even thought of, as a practical possibility, any more than the idea of a thinking or of a reasoning machine.

  * But neither was the first in this respect. At Iowa State University, J.V. Atanasoff had been using electronics for mechanising arithmetical operations since 1939.

  * Indeed its first serious use, in late 1945, would be on a trial calculation for the hydrogen bomb.

  * Here one must assume that the secrecy surrounding Bletchley operations had been breached sufficiently for Womersley (through Darwin and Hartree, perhaps also through Blackett), to learn of the existence of the electronic Colossus and also of Alan’s general whereabouts.

  *Indeed the second Waugh, in 1945, had largely revisited the semi-platonic sentimentality of the first.

  6

  Mercury Delayed

  As I walk these broad majestic days of peace,

  (For the war, the struggle of blood finish’d, wherein, O terrific Ideal.

  Against vast odds erewhile having gloriously won,

  Now thou stridest on, yet perhaps in time toward denser wars,

  Perhaps to engage in time in still more dreadful contests, dangers,

  Longer campaigns and crises, labors beyond all others,)

  Around me I hear that eclat of the world, politics, produce,

  The announcements of recognized things, science,

  The approved growth of cities and the spread of inventions.

  I see the ships, (they will last a few years,)

  The vast factories with their foremen and workmen,

  And hear the indorsement of all, and do not object to it.

  But I too announce solid things,

  Science, ships, politics, cities, factories, are not nothing,

  Like a grand procession to music of distant bugles pouring,

  triumphantly moving, and grander heaving in sight,

  They stand for realities – all is as it should be.

  Then my realities;

  What else is so real as mine?

  Libertad and the divine average, freedom to every slave

  on the face of the earth,

  The rapt promises and luminè of seers, the spiritual world,

  these centuries-lasting songs,

  And our visions, the visions of poets, the most solid

  announcements of any.

  Alan Turing did not wait to take up the NPL post before thinking about the practical construction of his universal machine. In particular he discussed with Don Bayley the problem which dominated its engineering – that of the storage mechanism, or ‘tape’. They discussed every form of discrete storage that they could think of. For instance, they considered magnetic recording. They had seen a captured German Army ‘Magnetophon’, the first successful tape recorder, but rejected the idea essentially because magnetic tape was too much like the tape of the theoretical Universal Turing Machine – it would require so much physical moving to and fro.* Instead, they favoured another solution with which Alan was by now well acquainted – that of the ‘acoustic delay line.’

  The idea was based on the fact that the time taken for a sound wave to travel along a few feet of pipe was of the order of a thousandth of a second. The pipe could be regarded as storing the sound wave for that period. The principle had already been applied in radar, using information stored in the delay line to cancel out all the radar echoes which had not changed since the last scanning. In that way the radar screen could be made to show only new, or changing, objects. It was Eckert of the ENIAC team who had suggested the use of a delay line to store the pulses of an electronic computer. There were several ideas involved. The pipe, or delay line, would have to cope with pulses separated by only a millionth of a second, and to transmit them unsmudged. It was also necessary that the pulses should be stored not just for a thousandth of a second, but indefinitely, which required recirculating them through the delay line again and again. If this were done naively then the pulses would soon become too blurred to be distinguishable. So electronics had to be devised to detect the existence of a (somewhat degenerated) pulse arriving at the end of the line, and to start off a clean pulse at the beginning – the electronic equivalent of the relay used as a telegraph repeater. This would have to be combined with the facility to accept pulses from the rest of the computer and to feed them back in as required. It was well known that it was advantageous to use a medium other than air for the sound waves, and mercury was already being employed in radar applications. This appropriate element, associated with the classical deity of speed and communication, was to haunt the developments of the next few years.

  This was an attractively cheap solution within the existing technology, and had been provisionally adopted in the Draft Report on the EDVAC. In this September 1945 period, they tried out the principle in the Hanslope hut. Don Bayley rigged up a cardboard tube, eight inches across and the whole ten feet of the hut in length, and Alan designed a super-regenerative amplifier (a particularly sensitive form of amplifier fashionable at the time.) They connected the amplifier to a microphone at one end of the tube and a loudspeaker at the other. The idea was simply to get a feel for the problem by recycling a sound wave in air on the delay line principle, clapping at one end and hoping to set up a hundred artificial echoes thereafter. They did not get it to work before Alan left Hanslope to take up his NPL post, which officially began on 1 October 1945. But it meant that he arrived full of ideas both logical and physical, and was far from being the pure mathematician of 1938.

  In setting up the new Mathematics Division, Womersley ha
d been able to recruit from the experts in the field of numerical computation, as it had been developed for the war effort. His division took over the highly regarded Admiralty Computing Service as the nucleus of what was the most high-powered group in the western world, the rival being the American equivalent at the National Bureau of Standards. It was not that they were good at doing large sums, although indeed they were doing sums on desk calculators. Their problems were roughly analogous to those that faced Alan in calculating the Riemann zeta-function in 1938. When the resources of pure mathematics had been fully exploited, there might still remain a formula, or system of equations, into which actual numbers had to be substituted. Actually doing such substitutions on desk calculators was not very interesting; but the problem of how best to organise the work was a more abstract question, one constituting the branch of mathematics called ‘numerical analysis’.* One particular problem was that although equations and formulae would generally relate ‘real numbers’ of infinite precision, practical computation would work with quantities defined only to so many decimal places, thus introducing an error into every step. Deducing the effect of such errors and minimising them was an important aspect of numerical analysis. The existence of such problems was partly what made Alan say that automatic computers would not make mathematicians redundant.

  The section doing such work was headed by E.T. ‘Charles’ Goodwin, a fellow B-star of 1934 who recognised Alan from undergraduate days. Two other sections, ‘Statistics’ and ‘Punched cards’ were also related to the Turing interest, and the existence of punched-card machinery on the premises was to decide the choice of input mechanism for his machine. A fourth section consisted of the staff of the Hartree differential analyser, and remained for the time being at Manchester. The fifth section consisted of Alan Turing alone. By the end of the year there were twenty-seven staff in the Division, which was thus roughly equivalent to a large university department.

  Two Victorian houses, Teddington Hall and Cromer House, on the perimeter of the existing NPL territory, had been acquired in March, and in October the whole new Division was housed in Cromer House, where Alan had a little room in the north wing. Charles Goodwin and his colleague Leslie Fox were across the way and working on the problem of how best to find the ‘eigenvalues’ of matrices, in connection with the problem of finding the resonant frequencies of an aircraft design. In these autumn months they would hear his typewriter banging jerkily away.

  Alan lived in a guest house in nearby Hampton Hill, on the edge of Bushy Park, and generally continued to live out of a suitcase just as in wartime. The transition from war to peace was marked by the fact that now, instead of being under the administration of military officers, he was under the direction of scientists. This was not as much of a change as he might have expected. For Womersley, to whom he would grimly refer as ‘my boss’, as indeed he was, had turned out to be the epitome of what Alan despised as ‘bogus’. Although a man of some dynamism and vision, he lacked the solid grasp of scientific knowledge that Alan considered essential for a person in his position. Thus it transpired that Womersley’s lengthy and expensive tour of the United States earlier in 1945 had been a technical failure, since he had lacked the expertise to make detailed notes on what he had been allowed to see. Flowers and Chandler had been obliged to make a visit of their own in September and October to see the ENIAC in connection with work they were doing on special-purpose calculators for the military, instead of using Womersley’s notes. Womersley’s gifts of management: a mastery of name-dropping, a genial enthusiasm, a pleasant office manner to important visitors, a diplomatic sense of what to report, were not skills that Alan Turing ranked highly; not just because he lacked them himself, but because he still could not understand why anyone should need weapons other than rational argument. Before long, Alan was openly rude to Womersley in the office, saying ‘What do you want?’ and turning his back if Womersley dared to intrude upon some discussion. Later on there was a bet arranged among the staff of the Division, which depended upon someone coming out of Womersley’s office with ‘an equation, no matter how trivial’; it was abandoned and conceded, Alan reported, ‘for lack of entries’. Conversely, Womersley would show visitors round Cromer House, pointing at the Turing office from afar with exaggerated awe, and saying ‘Ah, that’s Turing, we mustn’t disturb him,’ as of some rare zoological exhibit.

  A stronger scientific intellect, with an independent view of how computers should be built, might have hindered rather than helped Alan’s plans, which at least found in Womersley no technical resistance. On the contrary, Womersley was all too liable to agree with whatever had last been suggested. Womersley also coined a more happy acronym for the Turing electronic computer project than the soulless ENIAC and EDVAC. It was to be called the Automatic Computing Engine – a reference to Babbage’s ‘engine’. It would be the ACE. Alan was fond of saying that this was Womersley’s only contribution to the project. It reminded him of old George Johnstone Stoney, who had not discovered the electron, but gave it its name. In fact, Womersley had displayed considerable political skill in getting the project approved. It was not for nothing that he had a copy of How to Win Friends and Influence People on his desk. But Alan was blind to that. He was still the least political person.

  Alan’s first task was to write a report1, setting out a detailed design of an electronic universal machine, and an account of its operation. Surprisingly, the report that he submitted did not contain mention of Computable Numbers. Instead, it referred to the Draft Report on the EDVAC, with which his report was to be read ‘in conjunction’. However, the ACE proposal was effectively self-contained, and its roots lay not in the EDVAC, but in his own universal machine. Some fragmentary notes2, dating from this early period, made this clear:

  …In ‘Computable Numbers’ it was assumed that all the stored material was arranged linearly, so that in effect the accessibility time was directly proportional to the amount of material stored, being essentially the digit time multiplied by the number of digits stored. This was the essential reason why the arrangement in ‘Computable Numbers’ could not be taken over as it stood to give a practical form of machine.

  It was also implicit in an opening paragraph of the report he now wrote, which explained how new problems would be ‘virtually only a matter of paper work’, with examples,* and said:

  It may appear somewhat surprising that this can be done. How can one expect a machine to do all this multitudinous variety of things? The answer is that we should consider the machine as doing something quite simple, namely carrying out orders given to it in a standard form which it is able to understand.

  But he considerably amplified this idea in a talk given a year later in February 1947,3 in words which explained the origin of the ACE as he himself perceived it:

  Some years ago I was researching on what might now be described as an investigation of the theoretical possibilities and limitations of digital computing machines. I considered a type of machine which had a central mechanism and an infinite memory which was contained on an infinite tape. This type of machine appeared to be sufficiently general. One of my conclusions was that the idea of a ‘rule of thumb’ process and a ‘machine process’ were synonymous. The expression ‘machine process’ of course means one which could be carried out by the type of machine I was considering… Machines such as the ACE† may be regarded as practical versions of this same type of machine. There is at least a very close analogy.

  Digital computing machines all have a central mechanism 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. In general the arrangement of the memory on an infinite tape is unsatisfactory in a practical machine, because of the large amount of time which is liable to be spent in shifting up and down the tape to reach the point at which a particular piece of information required at the moment is stored. Thus a problem might easily need a storage of three million entries, and if each entry was equal
ly likely to be the next required the average journey up the tape would be through a million entries, and this would be intolerable. One needs some form of memory with which any required entry can be reached at short notice. This difficulty presumably used to worry the Egyptians when their books were written on papyrus scrolls. It must have been slow work looking up references in them, and the present arrangement of written matter in books which can be opened at any point is greatly to be preferred. We may say that storage on tape and papyrus scrolls is somewhat inaccessible. It takes a considerable time to find a given entry. Memory in book form is a good deal better, and is certainly highly suitable when it is to be read by the human eye. We could even imagine a computing machine that was made to work with a memory based on books. It would not be very easy but would be immensely preferable to the single long tape. Let us for the sake of argument suppose that the difficulties involved in using books as memory were overcome, that is to say that mechanical devices for finding the right book and opening it at the right page, etc. etc. had been developed, imitating the use of human hands and eyes. The information contained in the books would still be rather inaccessible because of the time occupied in the mechanical motions. One cannot turn a page over very quickly without tearing it, and if one were to do much book transportation, and do it fast, the energy involved would be very great. Thus if we moved one book every millisecond and each were moved ten metres and weighed 200 grams, and if the kinetic energy were wasted each time, we should consume 1010 watts, about half the country’s power consumption. If we are to have a really fast machine then we must have our information, or at any rate a part of it, in a more accessible form than can be obtained with books.

 

‹ Prev