Lax916827.ConfigurationGraphRational
Computing the reachable configuration graph is rational
concepts/Lax916827/ConfigurationGraphRational.lean · lax-916827
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
In the paper
- page 94 of the paper of lax-157538, Transducers
Theorem
The function which maps an input string to the string representation of its reachable configuration graph is rational (Lemma C.2.3 of Transducers). The main observation is that the representations of reachable configuration graphs form a regular language — reachability is checked locally, slice by slice — so that an automaton with output can guess the representation and verify it.
Lean source view on GitHub
| 1 | import Lax132576.RationalFunctions |
| 2 | import Lax916827.ConfigurationGraphs |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Computing the reachable configuration graph is rational |
| 7 | type: theorem |
| 8 | --- |
| 9 | The function which maps an input string to the string representation of its |
| 10 | reachable configuration graph is rational (Lemma C.2.3 of *Transducers*). The |
| 11 | main observation is that the representations of reachable configuration graphs |
| 12 | form a regular language — reachability is checked locally, slice by slice — so |
| 13 | that an automaton with output can guess the representation and verify it. |
| 14 | |
| 15 | # Formalization notes |
| 16 | |
| 17 | The alphabet and the state space are assumed finite, so that the alphabet `C` is |
| 18 | finite; the output alphabet may be arbitrary. `enc M` is the representation of |
| 19 | `ConfigurationGraphs`. |
| 20 | -/ |
| 21 | |
| 22 | namespace Lax916827.ConfigurationGraphRational |
| 23 | |
| 24 | open Lax132576.RationalFunctions Lax916827.TwoWayTransducers Lax916827.ConfigurationGraphs |
| 25 | |
| 26 | /-- The string representation of the reachable configuration graph is a rational |
| 27 | function of the input. -/ |
| 28 | axiom isRationalFun_enc {A B Q : Type} [Finite A] [Finite Q] (M : TwoWay A B Q) : |
| 29 | IsRationalFun (TwoWay.enc M) |
| 30 | |
| 31 | end Lax916827.ConfigurationGraphRational |
| 32 |
Formalization notes
The alphabet and the state space are assumed finite, so that the alphabet is finite; the output alphabet may be arbitrary. is the representation of .
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