Lax916827.RegularComposition
Regular functions are closed under composition
concepts/Lax916827/RegularComposition.lean · lax-916827
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
In the paper
- page 86 of the paper of lax-157538, Transducers
Theorem
Regular functions are closed under composition (Theorem C.1.1 of Transducers, the composition half): composition is built into the definition of the regular functions as compositions of primes.
Lean source view on GitHub
| 1 | import Lax916827.RegularFunctions |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Regular functions are closed under composition |
| 6 | type: theorem |
| 7 | --- |
| 8 | Regular functions are closed under composition (Theorem C.1.1 of |
| 9 | *Transducers*, the composition half): composition is built into the definition |
| 10 | of the regular functions as compositions of primes. |
| 11 | |
| 12 | # Formalization notes |
| 13 | |
| 14 | The intermediate alphabet is assumed finite, as in the composition closure. |
| 15 | -/ |
| 16 | |
| 17 | namespace Lax916827.RegularComposition |
| 18 | |
| 19 | open Lax916827.RegularFunctions |
| 20 | |
| 21 | /-- The composition of two regular functions is regular. -/ |
| 22 | axiom isRegularFun_comp {A B C : Type} [Finite B] {f : List A → List B} {g : List B → List C} |
| 23 | (hf : IsRegularFun f) (hg : IsRegularFun g) : IsRegularFun (g ∘ f) |
| 24 | |
| 25 | end Lax916827.RegularComposition |
| 26 |
Formalization notes
The intermediate alphabet is assumed finite, as in the composition closure.
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