Lax132576.RationalPrimes
The rational functions are the compositions of prime rational functions
concepts/Lax132576/RationalPrimes.lean · lax-132576
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 49 of the paper of lax-157538, Transducers
Theorem
A string-to-string function is rational if and only if it is a composition of prime rational functions: prime Mealy machines, their right-to-left variants, string homomorphisms and the separator function (Theorem B.2.6 of Transducers). This is the Krohn–Rhodes theorem one step up the transducer ladder. The two implications are the separate statements and ; this statement is their conjunction.
Lean source view on GitHub
| 1 | import Lax132576.RationalFunctions |
| 2 | import Lax132576.PrimeRationalFunctions |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: The rational functions are the compositions of prime rational functions |
| 7 | type: theorem |
| 8 | --- |
| 9 | A string-to-string function is rational if and only if it is a composition of |
| 10 | prime rational functions: prime Mealy machines, their right-to-left variants, |
| 11 | string homomorphisms and the separator function (Theorem B.2.6 |
| 12 | of *Transducers*). This is the Krohn–Rhodes theorem one step up the transducer |
| 13 | ladder. The two implications are the separate statements `PrimesOfRational` and |
| 14 | `RationalOfPrimes`; this statement is their conjunction. |
| 15 | |
| 16 | # Formalization notes |
| 17 | |
| 18 | Both alphabets are assumed finite. |
| 19 | -/ |
| 20 | |
| 21 | namespace Lax132576.RationalPrimes |
| 22 | |
| 23 | open Lax765601.CompositionClosure Lax132576.RationalFunctions Lax132576.PrimeRationalFunctions |
| 24 | |
| 25 | /-- A function is rational if and only if it is a composition of prime rational |
| 26 | functions. -/ |
| 27 | axiom isRationalFun_iff_compClosure_primeRational {A B : Type} [Finite A] [Finite B] |
| 28 | (f : List A → List B) : IsRationalFun f ↔ CompClosure PrimeRationalFam A B f |
| 29 | |
| 30 | end Lax132576.RationalPrimes |
| 31 |
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