Lax194892.ForIffPolyregular
For-transducers compute exactly the polyregular functions
concepts/Lax194892/ForIffPolyregular.lean · lax-194892
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 157 of the paper of lax-157538, Transducers
Theorem
A string-to-string function is polyregular if and only if it is computed by a for-transducer (Theorem D.1.1 of Transducers). The two implications are the separate statements and ; this statement is their conjunction.
Lean source view on GitHub
| 1 | import Lax194892.PolyregularFunctions |
| 2 | import Lax194892.ForTransducers |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: For-transducers compute exactly the polyregular functions |
| 7 | type: theorem |
| 8 | --- |
| 9 | A string-to-string function is polyregular if and only if it is computed by a |
| 10 | for-transducer (Theorem D.1.1 of *Transducers*). The two implications are the |
| 11 | separate statements `ForOfPolyregular` and `PolyregularOfFor`; this statement |
| 12 | is their conjunction. |
| 13 | |
| 14 | # Formalization notes |
| 15 | |
| 16 | Both alphabets are assumed finite. |
| 17 | -/ |
| 18 | |
| 19 | namespace Lax194892.ForIffPolyregular |
| 20 | |
| 21 | open Lax194892.PolyregularFunctions Lax194892.ForTransducers |
| 22 | |
| 23 | /-- A function is polyregular if and only if a for-transducer computes it. -/ |
| 24 | axiom isPolyregular_iff_isForTransducer {A B : Type} [Finite A] [Finite B] |
| 25 | (f : List A → List B) : IsPolyregular f ↔ IsForTransducer f |
| 26 | |
| 27 | end Lax194892.ForIffPolyregular |
| 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