Lax314295.RelabellingOfRational
Rational functions are MSO relabellings
concepts/Lax314295/RelabellingOfRational.lean · lax-314295
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
In the paper
- page 121 of the paper of lax-157538, Transducers
Theorem
Every rational function is definable by an mso relabelling (Theorem C.4.4 of Transducers, Bloem–Engelfriet, the implication from rational to relabelling). A rational function is computed by a bimachine; for each pair of a state of the prefix automaton and a state of the suffix automaton there is an mso formula selecting the positions at which the bimachine is in that pair of states (Claim C.4.5, stated for the index of a bimachine), and the output map is the output function of the bimachine.
Lean source view on GitHub
| 1 | import Lax132576.RationalFunctions |
| 2 | import Lax314295.MSORelabellings |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Rational functions are MSO relabellings |
| 7 | type: theorem |
| 8 | --- |
| 9 | Every rational function is definable by an mso relabelling (Theorem C.4.4 of |
| 10 | *Transducers*, Bloem–Engelfriet, the implication from rational to relabelling). |
| 11 | A rational function is computed by a bimachine; for each pair of a state of the |
| 12 | prefix automaton and a state of the suffix automaton there is an mso formula |
| 13 | selecting the positions at which the bimachine is in that pair of states |
| 14 | (Claim C.4.5, stated for the index of a bimachine), and the output map is the |
| 15 | output function of the bimachine. |
| 16 | |
| 17 | # Formalization notes |
| 18 | |
| 19 | Both alphabets are assumed finite, as in the book. |
| 20 | -/ |
| 21 | |
| 22 | namespace Lax314295.RelabellingOfRational |
| 23 | |
| 24 | open Lax132576.RationalFunctions Lax314295.MSORelabellings |
| 25 | |
| 26 | /-- A rational function is definable by an mso relabelling. -/ |
| 27 | axiom isMSORelabelling_of_isRationalFun {A B : Type} [Finite A] [Finite B] |
| 28 | {f : List A → List B} (hf : IsRationalFun f) : IsMSORelabelling f |
| 29 | |
| 30 | end Lax314295.RelabellingOfRational |
| 31 |
Formalization notes
Both alphabets are assumed finite, as in the book.
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