Lax916827.SSTOfRegular
Every regular function is computed by a streaming string transducer
concepts/Lax916827/SSTOfRegular.lean · lax-916827
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
In the paper
- page 110 of the paper of lax-157538, Transducers
Theorem
Every regular function is computed by a streaming string transducer (Theorem C.3.2 of Transducers, the implication from regular to sst). Streaming string transducers are closed under post-composition with every prime regular function — a rational function through the Krohn–Rhodes decomposition of its Mealy machines, map reverse and map duplicate by keeping the register contents as tuples indexed by the separators inside them — and the identity is an sst.
Lean source view on GitHub
| 1 | import Lax916827.RegularFunctions |
| 2 | import Lax916827.StreamingStringTransducers |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Every regular function is computed by a streaming string transducer |
| 7 | type: theorem |
| 8 | --- |
| 9 | Every regular function is computed by a streaming string transducer (Theorem |
| 10 | C.3.2 of *Transducers*, the implication from regular to sst). Streaming string |
| 11 | transducers are closed under post-composition with every prime regular |
| 12 | function — a rational function through the Krohn–Rhodes decomposition of its |
| 13 | Mealy machines, map reverse and map duplicate by keeping the register contents |
| 14 | as tuples indexed by the separators inside them — and the identity is an sst. |
| 15 | |
| 16 | # Formalization notes |
| 17 | |
| 18 | Both alphabets are assumed finite, as in the book. |
| 19 | -/ |
| 20 | |
| 21 | namespace Lax916827.SSTOfRegular |
| 22 | |
| 23 | open Lax916827.RegularFunctions Lax916827.StreamingStringTransducers |
| 24 | |
| 25 | /-- A regular function is computed by a streaming string transducer. -/ |
| 26 | axiom isSST_of_isRegularFun {A B : Type} [Finite A] [Finite B] {f : List A → List B} |
| 27 | (hf : IsRegularFun f) : IsSST f |
| 28 | |
| 29 | end Lax916827.SSTOfRegular |
| 30 |
Formalization notes
Both alphabets are assumed finite, as in the book.
Used by
none
From Mathlib
none
Community review
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.
0 comments