sequential machines and automata theory. by t. l. booth

4
INFORMATION AND CONTROL 12, 553-556 (1968) BOOK REVIEW Sequential Machines and Automata Theory. By T. L. Booth. There are at least three reasons for studying automata theory : (1) it is an inter- esting branch of mathematics; (2) it partially attempts to answer the philosophi- cal question, "What can a machine do?"; and (3) it is basic knowledge for the engineer interested in discrete systems. T. L. Booth's book Sequential Machines and Automata Theory is written for use in electrical engineering classes; therefore, it naturally emphasizes concepts of interest to the engineer. The first thing to note about the book is that is definitely not suitable for use in a mathematics course or a course given by a mathematics oriented computer science department. As was previously stated, the book was not written for such use; however, the book is less suitable for other use than it might be for the same reasons that it is unsuitable as a mathematics text. The reasons are as follows: (1) There are numerous mathematical statements that are at best misleading. Indi- vidually, these errors are minor, but collectively they alienate the reader with a good mathematical background. (2) Definitions and theorems are not labeled as such, nor are they numbered to allow later sections to make reference to them. The statement of a definition, theorem or algorithm may be spread out through several paragraphs and it is difficult to determine the precise definition of some concepts. (3) Results that are primarily of mathematical interest are not emphasized. Ex- amples are the characterization of regular sets by congruences of finite index, regular sets as a Boolean algebra, the relationship between homomorphisms and equivalence of machines, and the effectiveness of constructions such as the mini- malization of an automaton. (This last topic is, of course, of practical importance, also.) The book must now be discussed in terms of its usefulness to the engineering oriented student. The importance of the book lies in its extensive coverage of a wide variety of areas of automata theory. Of particular importance are the chapters on decomposition of machines, identification and control of machines, linear ma- chines and probabilistic machines. In fact, the book will probably be most useful as a text for a second course emphasizing those topics. At this point it should be stated that the author is at all times clear and precise in his use of English (even if the mathematical ideas expressed are a bit muddled at times). Sentences and paragraphs are written in such a manner that they do not have to be reread several times to be understood. After an interesting and motivating introductory chapter, the second chapter presents briefly some of the basic mathematics needed to read the book. The fol- lowing is a sample of some of the mathematical idiosyncrasies in chapter 2: (1) V and/k are used for set union and intersection. (2) The cross product of sets is properly defined as a collection of ordered pairs, but the definitions of relation and 553

Upload: walter-s-brainerd

Post on 14-Sep-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

I N F O R M A T I O N AND CONTROL 12, 553-556 (1968)

BOOK REVIEW

Sequent ia l Machines and Automata Theory. By T. L. Booth.

There are a t least three reasons for s tudy ing au toma ta theory : (1) i t is an in ter - es t ing b ranch of ma themat ic s ; (2) i t par t ia l ly a t t empt s to answer the phi losophi- cal quest ion, " W h a t can a machine do?" ; and (3) i t is basic knowledge for the engineer in te res ted in discrete systems. T. L. Booth ' s book Sequential Machines and Automata Theory is wr i t t en for use in electrical engineering classes; therefore, i t na tu ra l ly emphasizes concepts of in teres t to the engineer.

The first t h ing to note about the book is t h a t is definitely not su i tab le for use in a ma themat ic s course or a course given b y a ma themat ic s or iented computer science depar tment . As was previously s ta ted , the book was not wr i t t en for such use; however, the book is less sui table for o ther use t h a n i t migh t be for the same reasons t h a t i t is unsui tab le as a ma themat ic s text . The reasons are as follows: (1) There are numerous ma themat ica l s t a t ement s t h a t are a t bes t misleading. Ind i - vidual ly , these errors are minor, bu t collectively they a l ienate the reader wi th a good ma themat i ca l background. (2) Defini t ions and theorems are no t labeled as such, nor are they numbered to allow la ter sect ions to make reference to them. The s t a t e m e n t of a definition, theorem or a lgor i thm may be spread out t h rough several pa ragraphs and i t is difficult to determine the precise definit ion of some concepts. (3) Resul ts t h a t are pr imar i ly of ma themat i ca l in te res t are no t emphasized. Ex- amples are the charac ter iza t ion of regular sets by congruences of finite index, regular sets as a Boolean algebra, the re la t ionship be tween homomorphisms and equivalence of machines , and the effectiveness of construct ions such as the mini- mal iza t ion of an au tomaton . (This las t topic is, of course, of pract ica l impor tance , also.)

The book mus t now be discussed in terms of i ts usefulness to the engineering oriented s tuden t . The impor tance of the book lies in i ts extensive coverage of a wide var ie ty of areas of au toma ta theory. Of par t i cu la r impor tance are the chapters on decomposit ion of machines , ident i f icat ion and control of machines , l inear ma- chines and probabi l is t ic machines . In fact , the book will p robab ly be most useful as a text for a second course emphasizing those topics.

At th is poin t i t should be s t a t ed t h a t the au thor is a t all t imes clear and precise in his use of Engl ish (even if the ma themat ica l ideas expressed are a b i t muddled at t imes) . Sentences and paragraphs are wr i t t en in such a manner t h a t they do not have to be reread several t imes to be unders tood.

After an in te res t ing and mo t iva t i ng in t roduc tory chapter , the second chapter presents briefly some of the basic ma themat ic s needed to read the book. The fol- lowing is a sample of some of the ma themat ica l idiosyncrasies in chapter 2: (1) V a n d / k are used for set union and intersect ion. (2) The cross p roduc t of sets is proper ly defined as a collection of ordered pairs, bu t the definitions of re la t ion and

553

554 BOOK REVIEW

function are vague. In reference to Boolean functions it is stated that "Two func- tions are equal if and only if they define the same mapping." (3) I t is claimed that ( R ) < S) )< T =- R )< ( S ) < T). (4) No attempt is made to show that lattices, Boolean algebras, semi-groups, groups, rings, and even automata, if properly defined, are all examples of the same kind of mathematical system. In fact, lattices and Boolean algebras arc called "logic systems", while groups, rings, etc., are called "mathematical systems." A unified treatment of these topics should make their understanding easier for both the engineer and the mathematician. The reader should learn the material presented in chapter 2 elsewhere and use this section as a brief review and introduction to the author's notation.

Chapter 3 contains the basic definitions and properties of automata. The discus- sion is clear and precise and the reader is guided by many helpful diagrams. The continual switching from the Moore model to the Mealy model introduces some confusion; one model could be used to illustrate the basic principles and then the relationship between them could be shown. In order to develop the reader's intui- tion about the behavior of automata, more time could be spent at this point on basic concepts; for example, the relationship between mappings defined and sets accepted by automata, the construction of automata accepting the intersection and complement of sets accepted by given automata, the nature of the periodicity of sets accepted by automata and some examples of mappings not realizable or sets not accepted by automata.

The technique of minimizing the number of states in an automaton by construc- ting a sequence of state partitions is well presented. However, the proof that this technique works is incomplete because equivalence of machines is defined in terms of relationships between the states of the machines. Two machines should be equivalent if and only if they both effect the same computation. I t must then be shown that the minimalization process given works according to that definition. This error is not repeated in the discussion of probabilistic machines.

Transition systems (or non-deterministic automata) and the subset construc- tion are not mentioned; however, there is an excellent section about a closely related subject, the incompletely specified machine. There is an exercise of special interest which shows that the minimal incomplete machine may not be constructed by completing the given machine in all possible ways and minimizing each.

The chapter on machine decomposition properly follows the theory developed by Hartmanis and Stearns, rather than the more abstract algebraic theories. The reader is motivated at the beginning by a clear discussion of parallel, series, and feedback composition.

In this section, logical nets are discussed and an example of a net not realizable by an automaton is given. This would be a natural place to discuss briefly the pre- cise characterization of logical nets equivalent to automata as given by Copi, Elgot and Wright (1988, 1964).

A chapter, "Measurement, Control and Identification of Sequential Machines", is one of the best of the book. Two general classes of problems are considered. In control problems, the machine is completely or partially known and the problem is to cause the machine to behave in a certain way by presenting it with the appro- priate input sequence. For example, which sequence can be applied to bring a machine to a given state if its current state is unknown? The other class of prob-

BOOK REVIEW 555

lems, originally considered by Moore, concerns learning something about the structure of an unknown automaton by observing its behavior. Some of these problems are particularly interesting because the experiment may alter the condi- tion of the machine. Consider the problem of the demolition expert trying to figure out how an unknown bomb works.

The various problems are carefully described and explicit procedures for solv- ing them are given. The results are summarized in an easily read table.

The information-lossless machine, first investigated by Huffman, is given spe- cial attention. These machines have the property that the input sequence can be determined from the initial state and the output sequence. Any automaton used as an eneoder must have this property and in this case the job of the eryptanalyst is one of solving identification problems.

The proof that regular expressions define exactly the sets accepted by automata is well presented after some more difficulties with basic concepts. "Two regular expressions describe the same regular event if and only if they describe the same subset." An attempt is made to distinguish between a regular expression and the set it defines, but the distinction is quickly ignored.

The construction of a regular expression from a given automaton involves the solution (for X) of the set equation X -- X . A (J B . The exact nature of the solu- tions of this equation is given only in a problem that the reader should find fun to solve. The construction involves solving the equation only when ~ ~ A (k is the empty string) and in this ease X = B . A * is a unique solution. Obtaining this unique solution is the key step in a simple and elegant method of obtaining the desired regular expression.

There are at least two approaches to the problem of constructing an automaton from a regular expression. One uses transition systems (non-deterministic autom- ata) and the other uses derivatives of regular expressions. The latter approach is used in the text and although the proof that it works is probably as complicated as the other method, the result is an algorithm complicated somewhat only by the requirement that the process must be terminated by determining when all differ- ent derivatives of an expression have been found.

The chapter on linear machines is one of the most important in the book. It is preceded by a chapter on linear algebra. The author seems much more at home with these topics than the ones involving "abstract" algebra and the reader should learn a great deal about mathematics and machines by studying these chapters. One has the feeling that machines are being discussed and yet mathematical tools are used whenever necessary or helpful. If all chapters were of the same quality as these two, the book would be outstanding.

There is o~e chapter devoted to Turing machines, recursive functions and deci- sion problems and one chapter devoted to artificial languages. Except for the finite state languages, these topics do not have much to do with the rest of the book, as it is written. However, the introduction to these topics provided in these chapters is certainly better than no exposure at all.

The term " f u n c t i o n " is defined again, this time as a "definite correspondence", the important requirement that an encoding of strings to integers be one-to-one and effective is overlooked, the fundamental theorem about context-free sets (page 413) is stated as a theorem about finite state languages and there is a very mislead-

556 BOOK ~ w ~ w

ing example in each chapter. The functions C~(Xl , x ~ , . . . , x~) = k are shown to be recursive by applying the recursion schema to the superscript. Each function is recursive simply because it is the composition of the successor and zero functions. An example of a context-sensitive grammar includes the production xa ~ xx ,

where x is a variable, allowing the deduction abba ~ abbabb. Such rules are not admissible in phrase-structure grammars.

The final chapters deal with discrete random processes and their occurrence in automata. The use of mathematics is much more extensive in this part of the book and at times it is difficult to recall that some type of machines is the object of study. The reader is not given the chance to build up his intuition by examining, for example, the simple concepts presented by Rabin (1963, 1964). The coverage of random processes is extensive, including a discussion of machines subjected to random input, as well as machines whose internal behavior is probabilistie.

In each section there is an excellent set of exercises and at the end of each chap- ter there is an excellent set of "home problems". The separation of "exercises" from "problems" is recommended to any writer.

In summary, the following is suggested: the student of automata theory should have a basic knowledge of abstract and linear algebra; he should learn the funda- mentals of automata theory from some other source (Harrison's book (1965) is excellent); then Booth's chapters on decomposition, identification and control, linear machines and probabilistic machines will provide a wealth of information for further study.

Finally, it is recommended that any future writers of automata theory texts carefully examine the excellent mathematical approach of Btichi (1966). In this presentation, automata and mathematical systems of the usual kind and many standard algebraic techniques may be applied. (For example, homomorphisms of automata provide the key to the minimalization problem.) The theory may be readily generalized to tree automata and automata in category theory. The writer should use all aspects of this approach which provide a more convenient presen- tation or a better understanding for the reader, whatever his background.

WALTER S. BRAINERD

RECEIVED: June 14, 1968

REFERENCES

BOcnI, J. R. (1966). Algebraic theory of feedback in discrete systems, Part I in "Automata Theory," Academic Press, Inc., New York.

CoPI, I. M., ELGOT, C. C., AND WRIGYIT, J. B. (1958, 1964), Realizations of events by logical nets, Journal Assoc. Computing Machinery, 5, 181-196; also in "Se- quential Machines" (E. F. Moore, Ed.), Addison Wesley, Reading, Massa- chusetts.

HARriSON, M. A. (1965). "Introduction to Switching and Automata Theory." McGraw-Hill, New York.

RABIN, M. O. (1963, 1964). Probabilistic automata, In form, Control 5, 230-245; also in "Sequential Machines" (E. F. Moore, Ed.), Addison Wesley, Read- ing, Massachusetts.