duaLab Contribute

Topoi of automata

Project

Contents

This series aims to unify phenomena in automata theory through topos theory and to bring geometric methods into automata theory. The starting point is the observation that automata themselves form a Grothendieck topos.

1. Idea

Fix a finite alphabet $\Sigma$. A $\Sigma$-set is a set of states with one transition for each letter, and an automaton is a $\Sigma$-set with a set of accepting states. The $\Sigma$-sets form a presheaf topos $\Sigma\text{-}\mathbf{Set}$. The orbit-finite $\Sigma$-sets, in which every state reaches only finitely many states, form a second topos $\mathcal E_{\mathrm{of}}$. There are two geometric morphisms: the point $p:\mathbf{Set}\to\Sigma\text{-}\mathbf{Set}$, whose inverse image forgets the transitions, and the hyperconnected morphism $h:\Sigma\text{-}\mathbf{Set}\to\mathcal E_{\mathrm{of}}$, whose inverse image is the inclusion of $\mathcal E_{\mathrm{of}}$.

& \Sigma\text{-}\mathbf{Set}/\mathcal L \arrow[d] & \mathcal E_{\mathrm{of}}/\mathcal R \arrow[d] \\ \mathbf{Set} \arrow[r, "p"] & \Sigma\text{-}\mathbf{Set} \arrow[r, two heads, "h"] & \mathcal E_{\mathrm{of}}

Languages come from the point. The direct image $\mathcal L=p_*\{\top,\bot\}$ of the set of two truth values is the $\Sigma$-set of all languages, and $\mathcal R=(hp)_*\{\top,\bot\}$ is the $\Sigma$-set of regular languages. The automata form the slice topos over $\mathcal L$, and the orbit-finite automata form the slice topos over $\mathcal R$. The four topoi of automata of Part I are $\Sigma\text{-}\mathbf{Set}$, $\mathcal E_{\mathrm{of}}$ and these two slices.

Classical notions as topos-theoretic ones

Notions of automata theory are then read in these topoi as follows.

$$\begin{array}{l|l} \text{automata theory} & \text{topos theory}\\ \hline \text{language} & \text{element of }p_*\{\top,\bot\}\\ \text{left quotient }a^{-1}L & \text{action of the letter }a\text{ on }p_*\{\top,\bot\}\\ \text{automaton} & \text{morphism from a }\Sigma\text{-set to }p_*\{\top,\bot\}\\ \text{language recognition} & \text{this morphism: state}\mapsto\text{language recognized from it}\\ \text{minimal automaton of }L & \text{image of the morphism }\Sigma^*\to\mathcal L,\ w\mapsto w^{-1}L\\ \text{regular languages} & \text{the hyperconnected morphism }h\\ \text{syntactic monoid} & \text{generated hyperconnected quotient} \end{array}$$

2. Results

3. Open questions

Question 3.1 (Infinite words)

How do geometric morphisms from the Cantor space to topoi of automata describe recognition of infinite words? One such morphism is the canonical geometric morphism from the Cantor space.

Question 3.2 (Cohomology)

What is the cohomology of topoi of automata, and what does it say about languages? See Cohomology of language classes.

4. Pages

6. References

Last edited