Sheaf of DFA
Project: Topoi of automata
Contents
A regular language is a language recognized by a deterministic finite automaton (DFA). The sheaf of DFA turns this description into a presentation of the Boolean-ringed topos of regular languages: the site consists of the finite $\Sigma$-sets, and the sheaf assigns to a finite $\Sigma$-set the set of all DFA structures on it.
1. Definition§
Fix a finite alphabet $\Sigma$. A $\Sigma$-set is finite if its set of states is finite. Unless $\Sigma$ is empty, the finite $\Sigma$-sets do not form an elementary topos, but they form a site.
Definition 1.1 (Site of finite Σ-sets)§
Let $\Sigma\text{-}\mathbf{FinSet}$ be the category of finite $\Sigma$-sets, with the Grothendieck topology $J$ generated by the jointly surjective families, that is, by the families of morphisms $f_i:(Q_i,\delta_i)\to(Q,\delta)$ with $Q=\bigcup_if_i(Q_i)$.
Definition 1.2 (Sheaf of DFA)§
The sheaf of DFA is the $J$-sheaf of Boolean algebras
in which a morphism $f:(Q,\delta)\to(Q',\delta')$ acts by the inverse image $F'\mapsto f^{-1}(F')$. An element $F$ of $\mathrm{DFA}(Q,\delta)$ is a choice of accepting states, that is, a DFA structure $(Q,\delta,F)$ on $(Q,\delta)$; see the example of an automaton.
See Definition 3.7.
2. Properties§
The sheaf of DFA is the structure sheaf of regular languages, seen on the site of finite $\Sigma$-sets. Let $\mathcal E_{\mathrm{of}}$ be the topos of orbit-finite $\Sigma$-sets and $\mathcal R$ its Boolean algebra of regular languages.
Proposition 2.1 (DFA presentation)§☆
There is an equivalence of Boolean-ringed topoi between $(\mathbf{Sh}(\Sigma\text{-}\mathbf{FinSet},J),\mathrm{DFA})$ and the Boolean-ringed topos of regular languages $(\mathcal E_{\mathrm{of}},\mathcal R)$.
Remark 2.2 (Language recognition)§
The equivalence sends an object $X$ of $\mathcal E_{\mathrm{of}}$ to the sheaf $(Q,\delta)\mapsto\mathrm{Hom}((Q,\delta),X)$. For $X=\mathcal R$ it gives the bijection
which sends a set $F$ of accepting states to the map that assigns to each state the language recognized from it. So this equivalence is language recognition by DFA.
See the proof of Proposition 3.8.
3. Related concepts§
4. References§
- [Hor24] Ryuya Hora, Topoi of automata I: Four topoi of automata and regular languages, arXiv:2411.06358v2, §3.2.