Lax916827.RegularMapLifting
Regular functions are closed under map lifting
concepts/Lax916827/RegularMapLifting.lean · lax-916827
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
In the paper
- page 98 of the paper of lax-157538, Transducers
Theorem
The map lifting of a regular function is regular (Lemma C.2.10 of Transducers, first item). Map lifting commutes with composition, so it suffices to lift the primes: the map lifting of a rational function is rational, and the map liftings of map reverse and map duplicate are regular.
Lean source view on GitHub
| 1 | import Lax765601.MapLifting |
| 2 | import Lax916827.RegularFunctions |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Regular functions are closed under map lifting |
| 7 | type: theorem |
| 8 | --- |
| 9 | The map lifting of a regular function is regular (Lemma C.2.10 of |
| 10 | *Transducers*, first item). Map lifting commutes with composition, so it |
| 11 | suffices to lift the primes: the map lifting of a rational function is rational, |
| 12 | and the map liftings of map reverse and map duplicate are regular. |
| 13 | |
| 14 | # Formalization notes |
| 15 | |
| 16 | Both alphabets are assumed finite, as in the book. |
| 17 | -/ |
| 18 | |
| 19 | namespace Lax916827.RegularMapLifting |
| 20 | |
| 21 | open Lax765601.MapLifting Lax916827.RegularFunctions |
| 22 | |
| 23 | /-- The map lifting of a regular function is regular. -/ |
| 24 | axiom isRegularFun_mapLift {A B : Type} [Finite A] [Finite B] {f : List A → List B} |
| 25 | (hf : IsRegularFun f) : IsRegularFun (mapLift f) |
| 26 | |
| 27 | end Lax916827.RegularMapLifting |
| 28 |
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