Professional Documents
Culture Documents
Ebook Handbook of Automata Theory Volume Ii Automata in Mathematics and Selected Applications First Edition Jean Eric Pin Online PDF All Chapter
Ebook Handbook of Automata Theory Volume Ii Automata in Mathematics and Selected Applications First Edition Jean Eric Pin Online PDF All Chapter
https://ebookmeta.com/product/handbook-of-automata-theory-volume-
i-theoretical-foundations-first-edition-jean-eric-pin/
https://ebookmeta.com/product/mathematical-theory-of-switching-
circuits-and-automata-sze-tsen-hu/
https://ebookmeta.com/product/automata-theory-and-formal-
languages-fundamental-notions-theorems-and-techniques-first-
edition-alberto-pettorossi/
https://ebookmeta.com/product/formal-language-and-automata-
theory-2nd-edition-singh-ajit/
Quantum Dot Cellular Automata Circuits for
Nanocomputing Applications 1st Edition Trailokya Nath
Sasamal
https://ebookmeta.com/product/quantum-dot-cellular-automata-
circuits-for-nanocomputing-applications-1st-edition-trailokya-
nath-sasamal/
https://ebookmeta.com/product/cellular-automata-and-groups-2nd-
edition-tullio-ceccherini-silberstein/
https://ebookmeta.com/product/introduction-to-computation-
haskell-logic-and-automata-donald-sannella/
https://ebookmeta.com/product/an-introduction-to-formal-
languages-and-automata-6th-ed-peter-linz/
Handbook of
Automata Theory
Volume II
Automata in Mathematics and Selected Applications
Volume II:
2020 Mathematics Subject Classification: 68Q45; 03B25, 03B70, 03C13, 03D05, 11A67, 11B85,
11J81, 11U05, 20E05, 20E08, 20F10, 20F65, 20F67, 37B10, 37B20, 68Q10, 68Q12, 68Q15,
68Q17, 68Q19, 68Q45, 68Q60, 68Q70, 68Q85, 68R15, 68T50, 68U10
Keywords: free groups, Stallings automata, automatic groups, self-similar groups, automatic
sequences, numeration systems, Cobham’s theorem, symbolic dynamics, synchronous automata,
finite model theory, fractal image generation, communicating automata, model-checking, Church’s
problem, distributed synthesis, timed automata, recursion schemes, Markov decision processes,
infinite-state systems, natural language processing, temporal logic, branching time logic, quantum
finite automata
Typeset using the authors’ LaTeX sources: Marco Zunino, Savona, Italy
Printing and binding: Beltz Bad Langensalza GmbH, Bad Langensalza, Germany
♾ Printed on acid free paper
987654321
Dedicated to the memory of
Professor Zoltán Ésik
(1951–2016 )
Preface
The Handbook of Automata Theory has its origins in the research programme Au-
toMathA (Automata: from Mathematics to Applications, 2005–2010), a multidisci-
plinary programme of the European Science Foundation at the crossroads of mathe-
matics, theoretical computer science, and applications. It is designed to provide a broad
audience of researchers and students in mathematics and computer science with a com-
prehensive overview of research in automata theory.
Automata theory is one of the longest established areas in computer science. It
was born over sixty years ago, with the seminal work of Kleene, who first formalised
the early attempts of McCulloch and Pitts, and was originally motivated by the study
of neural networks. For many years, its main applications have been computer design,
compilation of programming languages, and pattern matching. But over the last twenty
years, applications of automata theory have considerably diversified, and now include
verification methods to cope with such emerging technical needs as network security,
mobile intelligent devices, and high performance computing.
At the same time, the mathematical foundations of automata theory rely on more
and more advanced parts of mathematics. While only elementary graph theory and
combinatorics were required in the early sixties, new tools from non-commutative
algebra (semigroups, semirings and formal power series), logic, probability theory, and
symbolic dynamics have been successively introduced, and the latest developments
borrow ideas from topology and geometry.
It was time to gather these mathematical advances and their numerous applications
in a reference book. The Handbook of Automata Theory is intended to serve this
purpose. It comprises thirty-nine chapters, presented in two volumes:
Together, the two volumes cover most of the topics related to automata. Volume I
presents, in the first part, the basic models of the theory: finite automata working
on finite words, infinite words, finite trees and infinite trees, transducers, weighted
automata and max-plus automata, and two-dimensional models. In the second part,
complexity and algorithmic issues are discussed extensively, including connections
with circuit complexity and finite model theory. In the third part, the algebraic and
topological aspects of automata theory are treated.
Volume II first offers a wide range of connections between automata and mathe-
matics, including group theory, number theory, symbolic dynamics, finite model the-
ory, and fractal-type images. Secondly, selected applications are covered, including
viii Preface
For their patience and extreme care in the production of the Handbook, I would
like to thank the typesetter Marco Zunino and all the people of EMS Press I have been
working with: Apostolos Damialis, Sylvia Fellmann, Thomas Hintermann, Manfred
Karbe, Vera Spillner, and Simon Winter. Special thanks to Nicolas Janey who kindly
designed the fractal tree on the first page.
Jean-Éric Pin
Managing editor
Paris, 2021
Contents
VOLUME ONE
Preface vii
List of contributors xvii
Part I
Foundations
Chapter 1
Finite automata 3
Jean-Éric Pin
Chapter 2
Automata and rational expressions 39
Jacques Sakarovitch
Chapter 3
Finite transducers and rational transductions 79
Tero Harju and Juhani Karhumäki
Chapter 4
Weighted automata 113
Manfred Droste and Dietrich Kuske
Chapter 5
Max-plus automata 151
Sylvain Lombardy and Jean Mairesse
Chapter 6
!-Automata 189
Thomas Wilke (revised by Sven Schewe)
Chapter 7
Automata on finite trees 235
Christof Löding and Wolfgang Thomas
xii Contents
Chapter 8
Automata on infinite trees 265
Christof Löding
Chapter 9
Two-dimensional models 303
Stefano Crespi Reghizzi, Dora Giammarresi, and Violetta Lonati
Part II
Complexity issues
Chapter 10
Minimisation of automata 337
Jean Berstel, Luc Boasson, Olivier Carton, and Isabelle Fagnot
Chapter 11
Learning algorithms 375
Henrik Björklund, Johanna Björklund, and Wim Martens
Chapter 12
Descriptional complexity of regular languages 411
Hermann Gruber, Markus Holzer, and Martin Kutrib
Chapter 13
Enumerating regular expressions and their languages 459
Hermann Gruber, Jonathan Lee, and Jeffrey Shallit
Chapter 14
Circuit complexity of regular languages 493
Michal Koucký
Chapter 15
Černý’s conjecture and the road colouring problem 525
Jarkko Kari and Mikhail Volkov
Contents xiii
Part III
Algebraic and topological theory of automata
Chapter 16
Varieties 569
Howard Straubing and Pascal Weil
Chapter 17
Profinite topologies 615
Jorge Almeida and Alfredo Costa
Chapter 18
The factorisation forest theorem 653
Thomas Colcombet
Chapter 19
Wadge–Wagner hierarchies 695
Jacques Duparc
Chapter 20
Equational theories for automata 729
Zoltán Ésik
Chapter 21
Language equations 765
Michal Kunc and Alexander Okhotin
Chapter 22
Algebra for trees 801
Mikołaj Bojańczyk
Index xxiii
xiv Contents
VOLUME TWO
Preface vii
List of contributors xvii
Part IV
Automata in mathematics
Chapter 23
Rational subsets of groups 841
Laurent Bartholdi and Pedro V. Silva
Chapter 24
Groups defined by automata 871
Laurent Bartholdi and Pedro V. Silva
Chapter 25
Automata in number theory 913
Boris Adamczewski and Jason Bell
Chapter 26
On Cobham’s theorem 947
Fabien Durand and Michel Rigo
Chapter 27
Symbolic dynamics 987
Marie-Pierre Béal, Jean Berstel, Søren Eilers, and Dominique Perrin
Chapter 28
Automatic structures 1031
Sasha Rubin
Chapter 29
Automata and finite model theory 1071
Wouter Gelade and Thomas Schwentick
Chapter 30
Finite automata, image manipulation, and automatic real functions 1105
Juhani Karhumäki and Jarkko Kari
Contents xv
Part V
Selected applications
Chapter 31
Communicating automata 1147
Dietrich Kuske and Anca Muscholl
Chapter 32
Symbolic methods and automata 1189
Bernard Boigelot
Chapter 33
Synthesis with finite automata 1217
Igor Walukiewicz
Chapter 34
Timed automata 1261
Patricia Bouyer
Chapter 35
Higher-order recursion schemes and their automata models 1295
Arnaud Carayol and Olivier Serre
Chapter 36
Analysis of probabilistic processes and automata theory 1343
Kousha Etessami
Chapter 37
Natural language parsing 1383
Mark-Jan Nederhof and Giorgio Satta
Chapter 38
Verification 1415
Javier Esparza, Orna Kupferman, and Moshe Y. Vardi
Chapter 39
Automata and quantum computing 1457
Andris Ambainis and Abuzer Yakaryılmaz
Index xxiii
List of contributors
Automata in mathematics
Chapter 23
Rational subsets of groups
Laurent Bartholdi and Pedro V. Silva
Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 841
2. Finitely generated groups . . . . . . . . . . . . . . . . . . . . . . . . . 841
3. Inverse automata and Stallings’ construction . . . . . . . . . . . . . . . 843
4. Rational and recognisable subsets . . . . . . . . . . . . . . . . . . . . . 857
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 866
1. Introduction
Over the years, finite automata have been used effectively in the theory of infinite groups
to represent rational subsets. This includes the important particular case of finitely
generated subgroups (and the beautiful theory of Stallings automata for the free group
case), but goes far beyond that: certain inductive procedures need a more general setting
than mere subgroups, and rational subsets constitute the natural generalisation. The
connections between automata theory and group theory are rich and deep, and many
are portrayed in Sims’ book [60].
This chapter is divided into three parts: in § 2 we introduce basic concepts, ter-
minology and notation for finitely generated groups, devoting special attention to free
groups. These will also be used in Chapter 24.
§ 3 describes the use of finite inverse automata to study finitely generated subgroups
of free groups. The automaton recognises elements of a subgroup, represented as words
in the ambient free group.
§ 4 considers, more generally, rational subsets of groups, when good closure and
decidability properties of these subsets are satisfied.
The authors are grateful to Stuart Margolis, Benjamin Steinberg, and Pascal Weil
for their remarks on a preliminary version of this text.
a a
F.X / D b q0 a
a b
b
b
a a
a a a D S.X /
q0 q0
b b
A simple, yet important example is given by applying the construction to Fn itself,
when we obtain the so-called bouquet of n circles:
c
a q0 a q0 b a q0 b
In terms of complexity, the best known algorithm for the construction of S.X / is
due to Touikan [63]. Its time complexity is O.n log n/, where n is the sum of the
lengths of the elements of X .
3.3. Basic applications. The most fundamental application of Stallings’ construction
is an elegant and efficient solution to the generalised word problem:
Theorem 3.4. The generalised word problem in FA is solvable.
We will see many groups in Chapter 24 that have solvable word problem; however,
few of them have a solvable generalised word problem. The proof of Theorem 3.4 relies
on
Proposition 3.5. Consider H 6f:g: FA and u 2 FA . Then u 2 H if and only if
uN 2 L.S.H //.
Proof. .H)/ Follows from (3).
.(H/ It easily follows from the last paragraph of the proof of Proposition 3.3 that,
if B0 is obtained from B by performing Stallings foldings, then L.B0 / D L.B/. Hence,
if H D hX i, we get
L.S.H // D L.F.X // D .X [ X 1 / x
DH
and the implication follows.
It follows from our previous remark that the complexity of the generalised word
problem is O.n log n C m/, where n is the sum of the lengths of the elements of X and
m is the length of the input word. In particular, once the subgroup X has been fixed,
the complexity is linear in m.
Example 3.2. We may use the Stallings automaton constructed in Example 3.1 to
check that baba 1 b 1 2 H D ha 1 ba; ba2 i but ab … H .
Stallings automata also provide an effective construction for bases of finitely gen-
erated subgroups. Consider H 6f:g: FA , and let m be the number of vertices of S.H /.
A spanning tree T for S.H / consists of m 1 edges and their inverses which, together,
connect all the vertices of S.H /. Given a vertex p of S.H /, we denote by gp the T -ge-
gp
odesic connecting the basepoint q0 to p , that is, q0 ! p is the shortest path contained
in T connecting q0 to p .
Proposition 3.6. Let H 6f:g: FA and let T be a spanning tree for S.H /. Let EC be
the set of positively labelled edges of S.H /. Then H is free with basis
Y D ¹gp agq 1 j .p; a; q/ 2 EC n T º:
Proof. It follows from Proposition 3.5 that L.S.H // H , hence Y H . To show
that H D hY i, take h D a1 ak 2 H in reduced form .ai 2 Az /. By Proposition 3.5,
there exists a successful path
a1 a2 ak
q0 ! q1 ! ! qk D q0
848 Laurent Bartholdi and Pedro V. Silva
a
a
q0
b
We remark that Proposition 3.6 can be extended to the case of infinitely generated
subgroups, proving the general case of Theorem 3.7. However, in this case there is
no effective construction such as Stallings’, and the (infinite) inverse automaton S.H /
remains a theoretical object, using appropriate cosets as vertices.
Example 3.4. For H 6f:i FA , the inverse automaton S.H / coincides with the Schreier
graph (see § 2 of Chapter 24) of H nFA , namely the graph with vertex set H nFA D
¹Hg j g 2 FA º, with an edge from Hg to Hga for each vertex Hg and each generator
a 2 Az. Since this graph is finite, this proves that H is finitely generated, and therefore
that finite-index subgroups of finitely generated groups are finitely generated.
Another classical application of Stallings’ construction regards the identification of
finite-index subgroups.
23. Rational subsets of groups 849
Proof. By Proposition 3.8, the automaton S.H / has n vertices and n Card A positive
edges. A spanning tree has n 1 positive edges, so rk H D n Card A .n 1/ D
1 C n.Card A 1/ by Proposition 3.6.
3.4. Conjugacy. We start now a brief discussion of conjugacy. Recall that the outde-
gree of a vertex q is the number of edges starting at q ; for inverse automata, it equals
the indegree. The geodesic distance in a connected graph is the length of the shortest
undirected path connecting two vertices.
Since the original generating set is always taken in reduced form, it easily follows
that there is at most one vertex in a Stallings automaton having outdegree < 2: the
basepoint q0 . Assuming that H is nontrivial, S.H / must always be of the form
u
q0 q1
where q1 is either q0 or the closest vertex to q0 (in terms of geodesic distance) having
u
outdegree > 2. Note that q1 D q0 if q0 has outdegree > 2 itself. We call q0 ! the
tail (which is empty if q1 D q0 ) and the remaining subgraph the core of S.H /.
The Schreier graph of H nFA and S.H / are related as follows: the Schreier graph
consists of finitely many trees attached to the core of S.H /.
Theorem 3.10. There is an algorithm that decides whether or not two finitely gener-
ated subgroups of FA are conjugate.
Proof. Finitely generated subgroups G; H are conjugate if and only if the cores of S.G/
and S.H / are equal (up to change of basepoint).
Proposition 3.11. A finitely generated normal subgroup of a free group is either trivial
or has finite index.
b b
a 1 a
S.H / D a S.b H b/ D a
q0 q0
b b
2 a
S.b H b2/ D a
q0
b b
We can also use the previous discussion on the structure of (finite) Stallings automata
to provide them with an abstract characterisation.
Proposition 3.12. A finite inverse automaton with a basepoint is a Stallings automaton
if and only if it has at most one vertex of outdegree 1: the basepoint.
Proof. Indeed, for any such automaton we can take a spanning tree and use it to
construct a basis for the subgroup as in the proof of Proposition 3.6.
Since the rank of a free factor never exceeds the rank of the ambient free group, it
is easy to construct examples of subgroups which are not free factors: it easily follows
from Proposition 3.6 that any free group of rank > 2 can have subgroups of arbitrary
finite rank (and even infinite countable).
The problem of identifying free factors has a simple solution based on Stallings
automata [57]: one must check whether or not a prescribed number of vertex identifi-
cations in the Stallings automaton can lead to a bouquet. However, the most efficient
solution, due to Roig, Ventura and Weil [46], involves Whitehead automorphisms and
will therefore be postponed to § 3.7.
Given a morphism 'W A ! B of inverse automata, let the morphic image '.A/ be
the subautomaton of B induced by the image under ' of all the successful paths of A.
The following classical result characterises the extensions of H 6f:g: FA contained
in FA . We present the proof from [37]:
Theorem 3.14 (Takahasi [62]). Given H 6f:g: FA , one can effectively compute
finitely many extensions K1 ; : : : ; Km 6f:g: FA of H such that the following conditions
are equivalent for every K 6f:g: FA :
i. H 6 K ;
ii. Ki is a free factor of K for some i 2 ¹1; : : : ; mº.
Proof. Let A1 ; : : : ; Am denote all the morphic images of S.H /, up to isomorphism.
Since a morphic image cannot have more vertices than the original automaton, there are
only finitely many isomorphism classes. Moreover, it follows from Proposition 3.12
that, for i D 1; : : : ; m, Ai D S.Ki / for some Ki 6f:g: FA . But then, since we have
L.S.H // L.Ai / D L.S.Ki //, it follows from Proposition 3.5 that H 6 Ki . Clearly,
we can construct all Ai and therefore all Ki .
(i) H) (ii). If H 6 K , it follows from Stallings’ construction that L.S.H //
L.S.K// and so there is a morphism 'W S.H / ! S.K/ by Proposition 3.2. Let Ai be,
up to isomorphism, the morphic image of S.H / through ' . Since Ai D S.Ki / is a
subautomaton of S.K/, it easily follows from Proposition 3.6 that Ki is a free factor of
K : it suffices to take a spanning tree for S.Ki /, extend it to a spanning tree for S.K/,
and the induced basis of Ki will be contained in the induced basis of K .
(ii) H) (i) is immediate.
An interesting research line related to this result is built on the concept of algebraic
extension, introduced by Kapovich and Miasnikov [24], and inspired by the homony-
mous field-theoretical classical notion. Given H 6 K 6 FA , we say that K is an
algebraic extension of H if no proper free factor of K contains H . Miasnikov, Ventura
and Weil [37] proved that the set of algebraic extensions of H is finite and effectively
computable, and it constitutes the minimum set of extensions K1 ; : : : ; Km satisfying the
conditions of Theorem 3.14.
Consider a subgroup H of a group G . The commensurator of H in G , is
CommG .H / D ¹g 2 G j H \ H g has finite index in H and H g º: (5)
For example, the commensurator of GLn .Z/ in GLn .R/ is GLn .Q/.
23. Rational subsets of groups 853
uk
where u can be assumed to be cyclically reduced. The proof of (ii) runs similarly.
3.6. Topological properties. We require for this subsection some basic topological
concepts, which the reader can recover from Chapter 17.
For all u; v 2 FA , written in reduced form as elements of RA , let u ^ v denote
the longest common prefix of u and v . The prefix metric d on FA is defined, for all
u; v 2 FA , by
²
2 ju^vj if u ¤ v;
d.u; v/ D
0 if u D v:
854 Laurent Bartholdi and Pedro V. Silva
The completion of this metric space is compact; its extra elements are infinite reduced
words a1 a2 a3 , with all ai 2 Az, and constitute the hyperbolic boundary @FA of FA ;
see Chapter 24, § 2.5. Extending the operator ^ to FA [@FA in the obvious way, it easily
follows from the definitions that, for every infinite reduced word ˛ and every sequence
.un /n in FA ,
The next result shows that Stallings automata are given a new role in connection
with the prefix metric. We let cl H denote the closure of H in the completion of FA .
Proposition 3.16. If H 6f:g: FA , then cl H is the union of H with the set of all ˛ 2 @FA
that label paths in S.H / out of the basepoint.
Theorem 3.17 (M. Hall). Every finitely generated subgroup of FA is closed for the
profinite topology.
Example 3.7. We consider the above construction for H D ha 1 ba; ba2 i and u D b 2 :
b b
a a
S.H / D a AD a
q0 q0
b b b
a
BD a
a
q0 b
a
b
b
If we take the spanning tree defined by the dotted lines in B, it follows from Proposi-
tion 3.6 that
K D hba 1 ; b 3 ; b 2 ab 2 ; ba2 ; baba 1 b 1 i
is a finite-index subgroup of F2 such that H \ Kb 2 D ;.
We recall that a group G is residually finite if its set of finite-index subgroups has
trivial intersection. Considering the trivial subgroup in Theorem 3.17, we deduce:
Corollary 3.18. FA is residually finite.
We remark that Ribes and Zalesskiı̆ extended Theorem 3.17 to products of finitely
many finitely generated subgroups of FA ; see [44]. This result is deeply connected to
the solution of Rhodes’ Type II conjecture; see Chapter 4 of [43].
If V denotes a pseudovariety of finite groups (see Chapter 16), the pro-V topology
on FA is defined by considering that each u 2 FA has
¹Ku j K Ef:i: FA ; FA =K 2 V º
as a basis of clopen neighbourhoods. The closure for the pro-V topology of H 6f:g FA
can be related to an extension property of S.H /, and Margolis, Sapir and Weil used
automata to prove that efficient computation can be achieved for the pseudovarieties of
finite p -groups and finite nilpotent groups [34]. The original computability proof for
the p -group case is due to Ribes and Zalesskiı̆ [45].
The subgroup orbit problem consists of finding an algorithm to decide, for given
H; K 6f:g: FA , whether or not K D '.H / for some automorphism ' of FA . Equiv-
alently, this can be described as deciding whether or not the automorphic orbit of a
finitely generated subgroup is recursive.
Gersten’s solution adapts to the context of Stallings automata the strategy designed
by Whitehead in [66] for solving the orbit problem for words. Whitehead’s proof relies
on a suitable decomposition of automorphisms as products of elementary factors (which
became known as Whitehead automorphisms), and using these as a tool to compute the
elements of minimum length in the automorphic orbit of the word. In the subgroup
case, word length is replaced by the number of vertices of the Stallings automaton.
The most efficient solution to the problem of identifying free factors [46], men-
tioned in § 3.5, also relies on this approach: H 6f:g: FA is a free factor if and only if
the Stallings automaton of some automorphic image of H has a single vertex (that is, a
bouquet).
Another very nice application is given by the following theorem of Goldstein
and Turner [20], which holds more generally for homomorphisms H ! FA with
H 6f:i: FA .
Theorem 3.19. The fixed point subgroup of an endomorphism of FA is finitely gener-
ated.
Proof. Let ' be an endomorphism of FA . For every u 2 FA , define Q.u/ D '.u/ 1 u.
We define a potentially infinite automaton A by taking
¹Q.u/ j u 2 FA º FA
a
as the vertex set, all edges of the form Q.u/ ! Q.ua/ with u 2 FA ; a 2 Az, and
fixing 1 as the basepoint. Then A is a well-defined inverse automaton, with initial state
Q.1/ D 1.
Next we take B to be the subautomaton of A obtained by retaining only those
vertices and edges that lie in successful paths labelled by reduced words. Clearly, B is
still an inverse automaton, and it is easy to check that it must be the Stallings automaton
of the fixed point subgroup of ' .
It remains to be proved that B is finite. We define a subautomaton C of B by
removing exactly one edge among each inverse pair
a a 1
Q.u/ ! Q.ua/; Q.ua/ !Q.u/
a
with a 2 A as follows: if a is the last letter of Q.ua/, we remove Q.u/ ! Q.ua/;
a 1
otherwise, we remove Q.ua/ !Q.u/.
Let M denote the maximum length of the image of a letter by ' . We claim that,
whenever jQ.u/j > M C 1, the vertex Q.u/ has outdegree 1. Indeed, consider an edge
a
Q.u/ ! Q.ua/ in C with a 2 A. Then the final letter cancels in '.a/ 1 Q.u/a, and
'.a/ 1 Q.u/ ends with the last letter of Q.u/, so this letter must be a 1 . Similarly, the
a 1
edge Q.u/ !Q.ua 1
/ belongs to C only if a is the last letter of Q.u/.
23. Rational subsets of groups 857
4.1. Rational and recognisable subgroups. We start by some basic, general facts.
The following result is essential to connect language theory to group theory.
Theorem 4.1 (Anisimov and Seifert). A subgroup H of a group G is rational if and
only if H is finitely generated.
Proof. (H) ) Let H be a rational subgroup of G and let W FA ! G denote a morphism.
Then there exists a finite Az-automaton A such that H D .L.A//. Assume that A has
m vertices and let X consist of all the words in 1 .H / of length < 2m. Since A is
finite, so is X . We claim that H D h.X /i. To prove it, it suffices to show that
u 2 L.A/ H) .u/ 2 h.X /i (8)
z
holds for every u 2 A . We use induction on juj. By the definition of X , implica-
tion (8) holds for words of length < 2m. Now assume that juj > 2m and (8) holds for
shorter words. Write u D vw with jwj D m. Then there exists a path
v z
! q0 ! q ! t !
in A with jzj < m. Thus vz 2 L.A/ and by the induction hypothesis .vz/ 2 h.X /i.
On the other hand, jz 1 wj < 2m and .z 1 w/ D .z 1 v 1 /.vw/ 2 H ; hence
z 1 w 2 X and so .u/ D .vz/.z 1 w/ 2 h.X /i, proving (8) as required.
((H ) It is trivial.
It is an easier task to characterise the smaller class of recognisable subgroups:
Proposition 4.2. A subgroup H of a group G is recognisable if and only if it has finite
index.
Proof. (H) ) In general, a recognisable subset of G is of the form NX , where N Ef:i: G
and X G is finite. If H D NX is a subgroup of G , then N H and so H has finite
index as well.
((H ) This follows from the well-known fact that every finite-index
T subgroup H of
G contains a finite-index normal subgroup N of G , namely N D g2G gHg 1 . Since
N has finite index, H must be of the form NX for some finite X G .
4.2. Benois’ theorem. The central result in this subsection is Benois’ theorem, the
cornerstone of the whole theory of rational subsets of free groups:
Theorem 4.3 (Benois). The following facts hold.
i. If L Az is rational, then L
x is also rational, and can be effectively construc-
ted from L.
ii. A subset of RA is a rational language as a subset of Az if and only if it is
rational as a subset of FA .
We illustrate this in the case of finitely generated subgroups: temporarily calling
those automata recognising rational subsets of RA “Benois automata,” we may convert
them into Stallings automata by adding inverse edges, identifying initial and terminal
vertices to enforce a basepoint and folding this new automaton. Given a Stallings
automaton, one intersects it with RA to obtain a Benois automaton.
23. Rational subsets of groups 859
Clearly, there are only finitely many instances of (P) in An . We define EnC1 to be the
union of En with all the new edges .p; 1; q/, where .p; q/ 2 Q Q is an instance of
(P). Finally, we define AnC1 D .Q; A; z EnC1 ; I; T /. In particular, note that An D AnCk
for every k > 1 if there are no instances of (P) in An .
Since Q is finite, the sequence .An /n is ultimately constant, say after reaching Am .
We claim that
x D L.Am / \ RA :
L (9)
L.Am / D L.Am 1/
x
D D L.A0 / D L;
is obviously rational, and the class of rational languages is closed under intersection, it
x is rational. Moreover, we can effectively compute the automaton Am and
follows that L
a finite automaton recognising RA , hence the direct product construction can be used to
construct a finite automaton recognising the intersection L x D L.Am / \ RA .
(ii) Consider X RA . If X 2 Rat Az , then .X / 2 Rat FA and so X is rational as
a subset of FA .
Conversely, if X is rational as a subset of FA , then X D .L/ for some L 2 Rat Az .
Since X RA , we get X D L x . Now part (i) yields L x 2 Rat Az and so X 2 Rat Az as
required.
860 Laurent Bartholdi and Pedro V. Silva
a
b b
a a 1
1
b
We get
a a
b b b b
1 1
A1 D a a 1 A2 D A3 D 1 a a 1
1 1
b b
x D L.A2 / \ R2 .
and we can then proceed to compute L
The following result summarises some of the most direct consequences of Benois’
Theorem:
Corollary 4.4. The following facts hold.
i. FA has decidable rational subset membership problem.
ii. Rat FA is closed under the boolean operations.
Proof. (i) Given X 2 Rat FA and u 2 FA , write X D .L/ for some L 2 Rat Az .
Then u 2 X if and only if uN 2 Xx D L
x . By Theorem 4.3 (i), we may construct a finite
x x.
automaton recognising L and therefore decide whether or not uN 2 L
(ii) Given X 2 Rat FA , we have FA n X D RA n Xx and so FA n X 2 Rat FA by
Theorem 4.3. Therefore Rat FA is closed under complement.
Since Rat FA is trivially closed under union, it follows from De Morgan’s laws that
it is closed under intersection as well.
Note that we can associate algorithms with these boolean closure properties of
Rat FA in a constructive way. We remark also that the proof of Theorem 4.3 can be
clearly adapted to more general classes of rewriting systems (see [10]). Theorem 4.3
and Corollary 4.4 have been generalised several times by Benois herself [4] and by
Sénizergues, who obtained the most general versions. Sénizergues’ results [50] hold
for rational length-reducing left basic confluent rewriting systems and remain valid for
the more general notion of controlled rewriting system.
Another random document with
no related content on Scribd:
LIST OF ILLUSTRATIONS
PAGE
1. My First Mechanical Drawing. Longitudinal Section of
my Stone-dressing Machine 7
2. The First Porter Governor 21
3. The Porter Marine Governor 37
4. Porter-Allen Engine. Diagram of Admission—Valve
Movements 48
5. Vertical Adjustment of Sustaining Pin for Trunnions of
the Allen Link 52
6. My Improvement in Cranks and Journal Boxes 54
7. My Improvement in Eccentrics 56
8. Diagram from the First Allen Engine taken with the
First Richards Indicator 59
9. Mr. Porter’s Exhibit at the London International
Exhibition, 1862 71
10. Diagram from Allen Engine in London Exhibition of
1862 73
11. Spring-testing Instrument Used in the Manufacture of
the Richards Indicator 86
12. Plan of Spring-testing Instrument 89
13. Diagrams from English Locomotives, taken with the
Richards Indicator 91
14. Engine Bed Designed by Mr. Porter 95
15. Cross-head Designed by Mr. Porter 96
16. Connecting-rod and Strap 99
17. Attaching a Steam-drum to a Lancashire Boiler 107
18. Diagrams from Engine of Evan Leigh, Son & Co. 114
19. Condenser and Air-pump Designed by Mr. Porter.
(Cross-section) 118
20. Diagrams from Engine Built for Mr. Adams 138
21. Exposition Universelle, Paris, 1867. Diagrams from the
“Allen” Engine Employed in Driving Machinery 142
22. Pair of Diagrams from 18×30 Allen Engine at South
Tyne Paper Mill, 108 Revolutions, Vacuum 28
Inches. Only Half Intended Load on Engine 160
23. Cross-section of Machine Shop Proposed by Mr.
Porter in 1868, after the Design of Smith & Coventry 168
24. Card from Allen Engine in Colt’s Armory 178
25. Sectional and Front Elevations of One of the Two
Pairs of Porter-Allen Engines in the Colt Armory,
Hartford, Conn. 180
26. Sectional and Side Elevations of One of the Two Pairs
of Porter-Allen Engines in the Colt Armory, Hartford,
Conn. 181
27. Porter-Allen Engines in the Colt Armory, Hartford,
Conn. Front View 181
28. Porter-Allen Engines in the Colt Armory, Hartford,
Conn. Rear View 181
29. Surface Plates Designed by Mr. Porter 182
30. Diagram from Allen Engine, Back End of Cylinder, at
Fair of American Institute, 1870 194
31. Friction Diagram from Allen Engine at Fair of American
Institute, 1870 196
32. Diagram from Allen Engine, Fair of American Institute,
1870, Cutting Off at ¹⁄₄ Stroke 196
33. Apparatus for Graphically Showing the Acceleration
and Retardation of the Reciprocating Parts of an
Engine 205
208
34. The Allen Boiler Facing
35. The Prototype of the Modern High-speed Engine, Fly-
wheel Side 223
36. Prototype of the Modern High-speed Engine, Crank
Side 224
37. Longitudinal Section of Cylinder and Valves 225
38. Cross-section of Cylinder and Valves 226
39. Connections of Admission Valves 226
40. First Arrangement of Exhaust Valves 228
41. Main Bearing 230
42. Eccentric and Cross-head and Crank-pin Lubricators 230
43. Surface Plate for Producing a True Plane 234
44. Mr. Porter’s Regulating Valve 244
45. The Corliss Engine Exhibited at the Centennial
Exhibition 249
46. Porter-Allen Engine Equal in Power to the Exhibited
Corliss Engine 250
47. Mr. Porter’s Fly-wheel 269
48. Connection of Arms and Rim in Mr. Fritz’ Fly-wheel 273
49. Mr. Allen’s Patent Pressure Plate 293
50. Diagrams from the Otis Engine 311
51. Otis Engine. Dash Pot for Governor 313
52. Diagrams from my First and Only Compound Engine 318
LIST OF FULL-PAGE HALF-TONE PORTRAITS
PAGE
1. Charles T. Porter Facing title page
2. My Father After dedication
3. My Mother After dedication
4. George T. Hope 6
5. Charles B. Richards, a.d. 1858 26
6. John F. Allen 48
7. Joseph E. Holmes 60
8. Alexander Gordon 62
9. Wellington Lee 66
10. Charles T. Porter, a.d. 1862 68
11. Frederick E. Sickels 78
12. W. H. Maw 92
13. William J. Hoyle 122
14. Sir Joseph Whitworth 124
15. Frederick J. Slade 154
16. Professor Charles B. Richards 178
17. President F. A. P. Barnard 198
18. Joseph Nason 204
19. Edwin F. Williams 206
20. Professor Robert H. Thurston 208
21. J. C. Hoadley 220
22. Alexander Lyman Holley 238
23. William R. Jones 244
24. Professor Francis Reuleaux 246
25. Colonel Alexis Petroff 252
26. James Moore 254
27. Emil Brugsch 256
28. Robert W. Hunt 262
29. Stephen W. Baldwin 264
30. Harris Tabor 266
31. Daniel N. Jones 272
32. John Fritz 274
33. E. D. Leavitt 308
34. Samuel T. Wellman 310
35. Charles A. Otis 312
36. Daniel J. Morrell 314
37. Benjamin F. Avery 324
38. James C. Brooks 332
ENGINEERING REMINISCENCES
CHAPTER I