Lax132576.RationalOfPrimes
Compositions of prime rational functions are rational
concepts/Lax132576/RationalOfPrimes.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
Every composition of prime rational functions is rational (Theorem B.2.6 of Transducers, the implication ⇐): each prime is rational — a Mealy machine and a homomorphism are read directly as automata with output, the separator function needs one empty-input transition, and a right-to-left Mealy machine is a bimachine with a trivial prefix automaton — and rational functions are closed under composition (Theorem B.1.4).
Lean source view on GitHub
| 1 | import Lax132576.RationalFunctions |
| 2 | import Lax132576.PrimeRationalFunctions |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Compositions of prime rational functions are rational |
| 7 | type: theorem |
| 8 | --- |
| 9 | Every composition of prime rational functions is rational (Theorem B.2.6 of |
| 10 | *Transducers*, the implication ⇐): each prime is rational — a Mealy machine and |
| 11 | a homomorphism are read directly as automata with output, the separator |
| 12 | function needs one empty-input transition, and a right-to-left Mealy machine is |
| 13 | a bimachine with a trivial prefix automaton — and rational functions are closed |
| 14 | under composition (Theorem B.1.4). |
| 15 | |
| 16 | # Formalization notes |
| 17 | |
| 18 | The hypothesis is membership in `CompClosure PrimeRationalFam`; both alphabets |
| 19 | are assumed finite, as the bimachine of a right-to-left machine needs. |
| 20 | -/ |
| 21 | |
| 22 | namespace Lax132576.RationalOfPrimes |
| 23 | |
| 24 | open Lax765601.CompositionClosure Lax132576.RationalFunctions Lax132576.PrimeRationalFunctions |
| 25 | |
| 26 | /-- A composition of prime rational functions is rational. -/ |
| 27 | axiom isRationalFun_of_compClosure_primeRational {A B : Type} [Finite A] [Finite B] |
| 28 | {f : List A → List B} (hf : CompClosure PrimeRationalFam A B f) : IsRationalFun f |
| 29 | |
| 30 | end Lax132576.RationalOfPrimes |
| 31 |
Formalization notes
The hypothesis is membership in ; both alphabets are assumed finite, as the bimachine of a right-to-left machine needs.
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