Lax314295.RationalIffRelabelling
Rational functions are exactly the MSO relabellings
concepts/Lax314295/RationalIffRelabelling.lean · lax-314295
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
Evidence
Each proof establishes this claim relative to its assumptions.
In the paper
- page 121 of the paper of lax-157538, Transducers
Theorem
A string-to-string function is rational if and only if it is definable by an mso relabelling (Theorem C.4.4 of Transducers, Bloem and Engelfriet). The two implications are the separate statements and ; this statement is their conjunction.
Lean source view on GitHub
| 1 | import Lax132576.RationalFunctions |
| 2 | import Lax314295.MSORelabellings |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Rational functions are exactly the MSO relabellings |
| 7 | type: theorem |
| 8 | --- |
| 9 | A string-to-string function is rational if and only if it is definable by an |
| 10 | mso relabelling (Theorem C.4.4 of *Transducers*, Bloem and Engelfriet). The two |
| 11 | implications are the separate statements `RelabellingOfRational` and |
| 12 | `RationalOfRelabelling`; this statement is their conjunction. |
| 13 | |
| 14 | # Formalization notes |
| 15 | |
| 16 | Both alphabets are assumed finite. |
| 17 | -/ |
| 18 | |
| 19 | namespace Lax314295.RationalIffRelabelling |
| 20 | |
| 21 | open Lax132576.RationalFunctions Lax314295.MSORelabellings |
| 22 | |
| 23 | /-- A function is rational if and only if it is an mso relabelling. -/ |
| 24 | axiom isRationalFun_iff_isMSORelabelling {A B : Type} [Finite A] [Finite B] |
| 25 | (f : List A → List B) : IsRationalFun f ↔ IsMSORelabelling f |
| 26 | |
| 27 | end Lax314295.RationalIffRelabelling |
| 28 |
Formalization notes
Both alphabets are assumed finite.
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