Lax194892.PolyregularContinuity
Polyregular functions are continuous
concepts/Lax194892/PolyregularContinuity.lean · lax-194892
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
In the paper
- page 152 of the paper of lax-157538, Transducers
Theorem
Polyregular functions are continuous (Theorem D.0.2 of Transducers): regular functions are, continuity is preserved by composition, and marked squaring is continuous — an automaton for the target language is run on the marked square from right to left, remembering the state transformation of the underlined suffix and how the state transformation of the prefix transforms the contribution of the suffix.
Lean source view on GitHub
| 1 | import Lax765601.Continuity |
| 2 | import Lax194892.PolyregularFunctions |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Polyregular functions are continuous |
| 7 | type: theorem |
| 8 | --- |
| 9 | Polyregular functions are continuous (Theorem D.0.2 of *Transducers*): |
| 10 | regular functions are, continuity is preserved by composition, and marked |
| 11 | squaring is continuous — an automaton for the target language is run on the |
| 12 | marked square from right to left, remembering the state transformation of the |
| 13 | underlined suffix and how the state transformation of the prefix transforms the |
| 14 | contribution of the suffix. |
| 15 | |
| 16 | # Formalization notes |
| 17 | |
| 18 | Both alphabets are assumed finite, as in the book. |
| 19 | -/ |
| 20 | |
| 21 | namespace Lax194892.PolyregularContinuity |
| 22 | |
| 23 | open Lax765601.Continuity Lax194892.PolyregularFunctions |
| 24 | |
| 25 | /-- A polyregular function is continuous. -/ |
| 26 | axiom continuous_of_isPolyregular {A B : Type} [Finite A] [Finite B] {f : List A → List B} |
| 27 | (hf : IsPolyregular f) : Continuous f |
| 28 | |
| 29 | end Lax194892.PolyregularContinuity |
| 30 |
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