[ LLM Generated ]
Transitions between formalisms
Transitions between formalisms
Claude Fable 5
Abstract.
An iterated finite automaton is presented in three ways — as a wreath recursion, as a Mealy transducer, and as a rule list with its numeric code — and the presentations carry the same information: the conversions are mutually inverse up to the naming of states, verified on all 64 invertible rule lists on 2 states and 2 colors. The published wreath recursion of the Grigorchuk automaton has numeric code 8950703898 on 5 states and 2 colors. The five states of the Grigorchuk automaton have orders 2, 2, 2, 2, 1 in the automaton group, each decided by the word problem rather than tested level by level. The evolution of the adding machine on cells from the zero tape has period exactly , verified for all .
n
n
2
n≤12
1
.Definitions
Definitions
Definition
1
.1
.Fix an integer and let . The rooted -ary tree is the graph whose vertices are the finite words over , with an edge from to for every word and every letter . The root is the empty word.
k≥2
X={0,…,k-1}
k
T
k
X
w
wx
w
x∈X
Definition
1
.2
.An automorphism of is a bijection of the vertex set that preserves adjacency and the root. Every automorphism preserves each level, so it acts on the words of length for every , and it is determined by its action on the infinite sequences over .
T
k
L
L
X
Definition
1
.3
.The wreath decomposition of an automorphism of consists of a permutation of — the action of on the first letter — and the automorphisms ,…,, where is the automorphism induced by on the subtree below the vertex . We write
g
T
k
σ
X
g
g
0
g
k-1
g
x
g
x
and the action on a sequence is
Definition
1
.4
.An automaton is a finite set of automorphisms of closed under sections: for every and every the section lies in . The wreath presentation of the automaton assigns to each its permutation and its list of sections.
S
T
k
g∈S
x∈X
g
x
S
g∈S
σ
Definition
1
.5
.The Mealy presentation of an automaton with state set assigns to each state and each input letter the pair consisting of the output letter and the next state . A state is a transducer that reads one letter and emits one letter.
S
g
x
σ(x)
g
x
Definition
1
.6
.The rule list of an automaton with states indexed is the set of pairs , one for each state index and each input letter , where is the output letter and the index of the next state.
1,…,s
{r,i}→{f,o}
r
i
o
f
Definition
1
.7
.The numeric code of a rule list on states and colors is the integer whose digits in base , one digit per state and input letter, encode the transition by the digit . The pair determines the rule list, and there are rule lists on states and colors.
s
k
m
sk
sk
{r,i}→{f,o}
(f-1)k+o
{m,{s,k}}
sk
(sk)
s
k
Example
1
.8
.The number of steps until a row repeats, over all 256 rule lists on 2 states and 2 colors, from the zero tape of length 8. The maximum 256 is attained by exactly four rule lists — the codes 52, 62, 148 and 158 — and the four form two classes under renaming of states and colors, represented by 52 and 62; the adding machine 62 is not a renaming of 52.
stepCounts=Table[Length@IteratedFiniteAutomatonPeriodicStop[{m,{2,2}},1,ConstantArray[0,8],300]-1,{m,0,255}];maximal=Flatten@Position[stepCounts,256]-1;{maximal,Union[CanonicalAutomatonCode[{#,{2,2}}]&/@maximal]}
{{52,62,148,158},{{52,{2,2}},{62,{2,2}}}}
ArrayPlot[Partition[Log2@stepCounts,16],ColorFunction->"Pastel",ColorFunctionScaling->True,Frame->False,PlotLegends->BarLegend[Automatic,LegendLabel->"log2 steps"],ImageSize->320,PlotLabel->"steps until a row repeats, all 256 rule lists"]
BarChart[Values@KeySort@Counts@stepCounts,ChartLabels->Keys@KeySort@Counts@stepCounts,ChartStyle->"Pastel",AxesLabel->{"steps","rule lists"},ImageSize->380]
Remark
1
.9
.The three presentations carry the same information, so a statement about one is a statement about all three. The wreath presentation exposes the group element, the Mealy presentation exposes the transducer, and the rule list indexes the states by integers. Passing to the rule list forgets the state names, which is why the conversions from the wreath and Mealy presentations are surjective and not injective, while the numeric code is a bijection with the rule lists of a fixed signature.
2
.Conversions and identities
Conversions and identities
Claim
2
.1
.For every invertible rule list on 2 states and 2 colors, the composite rule list wreath presentation rule list is the identity, on all 64 invertible codes. On the adding machine the wreath recursion and the Mealy transducer with the same transitions produce the same rule list.
⟶
⟶
Example
2
.2
.The composite over the 64 invertible rule lists, the agreement of the two conversions on the adding machine, and the 24 classes of the 64 invertible rule lists under renaming of states and colors: 4 classes of size 1, 10 of size 2, 10 of size 4.
{AllTrue[InvertibleAutomatonCodes[{2,2}],m|->AutomatonCodeFromRule[IteratedFiniteAutomatonFromWreath[AutomatonWreathRecursion[{m,{2,2}}],1]["Rule"]]==={m,{2,2}}],Sort@adding["Rule"]===Sort@addingMealy["Rule"]}
{True,True}
classSizes=Values@Counts[CanonicalAutomatonCode[{#,{2,2}}]&/@InvertibleAutomatonCodes[{2,2}]];BarChart[Values@KeySort@Counts@classSizes,ChartLabels->Keys@KeySort@Counts@classSizes,ChartStyle->"Pastel",AxesLabel->{"class size","classes"},ImageSize->300,PlotLabel->"invertible rule lists under renaming"]
Claim
2
.3
.The wreath recursion , , , of the Grigorchuk automaton has numeric code 8950703898 on 5 states and 2 colors: the two presentations have the same transition diagram and the same evolution.
a=σ
b=(a,c)
c=(a,d)
d=(1,b)
Example
2
.4
.The transition diagrams of the code and of the converted wreath recursion, equal as edge sets, and the two evolutions from the same initial tape.
{Sort@EdgeList@IteratedFiniteAutomatonStateGraph[{8950703898,{5,2}}]===Sort@EdgeList@IteratedFiniteAutomatonStateGraph[grigorchuk["Rule"]],IteratedFiniteAutomaton[{8950703898,{5,2}},1,PadRight[{1},20],12]===IteratedFiniteAutomaton[grigorchuk["Rule"],1,PadRight[{1},20],12]}
{True,True}
GraphicsRow[{IteratedFiniteAutomatonStateGraph[{8950703898,{5,2}}],IteratedFiniteAutomatonStateGraph[grigorchuk["Rule"]]},ImageSize->460]
Claim
2
.5
.The five states of the Grigorchuk automaton have orders 2, 2, 2, 2, 1 in the automaton group, each decided by the word problem: =1 in the group exactly when every word in the section closure of fixes the first letter, a finite computation. In particular =1, so evolving any tape twice returns it, at every tape length.
m
w
m
w
2
a
Example
2
.6
.The orders of the five states in the automaton group, and the order of on the tapes of length for — constant at 2, as the order in the group requires.
a
L
L=1,…,8
{Table[AutomatonWordOrder[{8950703898,{5,2}},{s},4],{s,5}],AutomatonWordOrders[{8950703898,{5,2}},{1},Range@8]}
{{2,2,2,2,1},{2,2,2,2,2,2,2,2}}
Conjecture
2
.7
.For every the evolution of the adding machine on cells from the zero tape has period exactly . Status: verified for all ; the evolution is the binary counter with the least significant bit on the left, so a proof should be an induction on .
n≥1
n
n
2
n≤12
n
Example
2
.8
.The period on cells for against , and the evolution on 6 cells: the binary counter.
n
n=1,…,12
n
2
periods=Table[{n,Length@IteratedFiniteAutomatonPeriodicStop[adding["Rule"],1,ConstantArray[0,n],2^n+2]-1},{n,12}];{ListLogPlot[periods,Joined->True,Mesh->All,PlotStyle->RGBColor[0.55,0.72,0.88],MeshStyle->RGBColor[0.35,0.55,0.75],AxesLabel->{"n","period"},ImageSize->300],AllTrue[periods,p|->Last@p==2^First@p]}
,True
ArrayPlot[IteratedFiniteAutomaton[adding["Rule"],1,ConstantArray[0,6],64],ColorRules->IteratedFiniteAutomatonColors[2],Mesh->True,MeshStyle->GrayLevel[0.85],ImageSize->200,PlotLabel->"adding machine on 6 cells"]
3
.Questions
Questions
4
.References
References
[Zuk2026]
\.{Z, Iterated Finite Automata, 2026, https://community.wolfram.com/groups/-/m/t/3761828
[Wolfram2003]
Wolfram, Stephen, Iterated finite automata, 2003, https://www.stephenwolfram.com/publications/iterated-finite-automata/
[Nekrashevych2005]
Nekrashevych, Volodymyr, Self-Similar Groups, 2005, https://doi.org/10.1090/surv/117
[GNS2000]
Grigorchuk, Rostislav I. and Nekrashevych, Volodymyr V. and Sushchanskii, Vitaly I., Automata, dynamical systems, and groups, Proceedings of the Steklov Institute of Mathematics, 2000, https://www.mathnet.ru/eng/tm515
[Zuk2008]
\.{Z, Groupes engendr\'{e, 2008, https://www.numdam.org/book-part/AST_2008__317__141_0/
5
.Symbols
Symbols
Constructions:
◼
CanonicalAutomatonCode — the least numeric code under renaming of states and colors
◼
InvertibleAutomatonCodes — the codes of the invertible rule lists of a signature
Operations:
◼
IteratedFiniteAutomaton — the evolution of a rule list from an initial tape
◼
IteratedFiniteAutomatonEvolve — the evolution of a converted automaton
◼
IteratedFiniteAutomatonPeriodicStop — the evolution stopped at the first repeated row
Invariants and predicates:
◼
AutomatonWordOrders — the orders of a word on the tapes of each given length
◼
AutomatonWordIdentityQ — whether a word is the identity of the automaton group
Visualisation: