Regular functions are continuous
Lax916827.RegularContinuity · concepts/Lax916827/RegularContinuity.lean · lax-916827
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Regular functions are continuous (Theorem C.1.1 of Transducers, the continuity half). Continuous functions are closed under composition and rational functions are continuous (Theorem B.1.5), so it remains to see that map reverse and map duplicate are continuous, which is Lemma C.1.2 (reversal and duplication are continuous) lifted through Lemma C.1.3 (the map lifting of a continuous function is continuous).
Concept map
In the paper
- page 86 of the paper of lax-157538, Transducers
Lean source view on GitHub
| 1 | import Lax765601.Continuity |
| 2 | import Lax916827.RegularFunctions |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Regular functions are continuous |
| 7 | type: theorem |
| 8 | --- |
| 9 | Regular functions are continuous (Theorem C.1.1 of *Transducers*, the |
| 10 | continuity half). Continuous functions are closed under composition and |
| 11 | rational functions are continuous (Theorem B.1.5), so it remains to see that |
| 12 | map reverse and map duplicate are continuous, which is Lemma C.1.2 (reversal |
| 13 | and duplication are continuous) lifted through Lemma C.1.3 (the map lifting of |
| 14 | a continuous function is continuous). |
| 15 | |
| 16 | # Formalization notes |
| 17 | |
| 18 | The finiteness hypotheses on the alphabets are those of the book; the prime |
| 19 | regular functions are in fact continuous over any alphabets. |
| 20 | -/ |
| 21 | |
| 22 | namespace Lax916827.RegularContinuity |
| 23 | |
| 24 | open Lax765601.Continuity Lax916827.RegularFunctions |
| 25 | |
| 26 | /-- A regular function is continuous. -/ |
| 27 | axiom continuous_of_isRegularFun {A B : Type} [Finite A] [Finite B] {f : List A → List B} |
| 28 | (hf : IsRegularFun f) : Continuous f |
| 29 | |
| 30 | end Lax916827.RegularContinuity |
| 31 |
Formalization notes
The finiteness hypotheses on the alphabets are those of the book; the prime regular functions are in fact continuous over any alphabets.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments