Lax132576.EpsilonEliminationFinite
Elimination of ε-transitions for finitely valued relations
concepts/Lax132576/EpsilonEliminationFinite.lean · lax-132576
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
In the paper
- page 46 of the paper of lax-157538, Transducers
Theorem
If a rational relation is such that every input string has finitely many outputs, then it is computed by an ordinary automaton with output in ε-free normal form: extended transitions are not needed (Lemma B.2.4 of Transducers, second sentence). In the elimination construction, the regular languages labelling the new transitions are then finite, and each such transition is replaced by finitely many transitions with one output string each.
Lean source view on GitHub
| 1 | import Lax132576.EpsilonFreeAutomata |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Elimination of ε-transitions for finitely valued relations |
| 6 | type: theorem |
| 7 | --- |
| 8 | If a rational relation is such that every input string has finitely many |
| 9 | outputs, then it is computed by an ordinary automaton with output in ε-free |
| 10 | normal form: extended transitions are not needed (Lemma B.2.4 of |
| 11 | *Transducers*, second sentence). In the elimination construction, the regular |
| 12 | languages labelling the new transitions are then finite, and each such |
| 13 | transition is replaced by finitely many transitions with one output string |
| 14 | each. |
| 15 | |
| 16 | # Formalization notes |
| 17 | |
| 18 | The finiteness of the set of outputs of every input is the hypothesis |
| 19 | `∀ w, {v | R w v}.Finite`; the automaton is an ordinary `NFAO` and the normal |
| 20 | form is `EpsilonFree`. Both alphabets are assumed finite. |
| 21 | -/ |
| 22 | |
| 23 | namespace Lax132576.EpsilonEliminationFinite |
| 24 | |
| 25 | open Lax132576.RationalRelations Lax132576.EpsilonFreeAutomata |
| 26 | |
| 27 | /-- A finitely valued rational relation is computed by an ε-free automaton with |
| 28 | output. -/ |
| 29 | axiom exists_nfao_epsilonFree {A B : Type} [Finite A] [Finite B] |
| 30 | {R : List A → List B → Prop} (hR : IsRationalRel R) (hfin : ∀ w, {v | R w v}.Finite) : |
| 31 | ∃ (Q : Type) (_ : Finite Q) (M : NFAO A B Q), EpsilonFree M ∧ ∀ w v, R w v ↔ M.rel w v |
| 32 | |
| 33 | end Lax132576.EpsilonEliminationFinite |
| 34 |
Formalization notes
The finiteness of the set of outputs of every input is the hypothesis ; the automaton is an ordinary and the normal form is . 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