Lax194892.ChildrenOfChildGraph
A for-transducer reads the children off a child configuration graph
concepts/Lax194892/ChildrenOfChildGraph.lean · lax-194892
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
In the paper
- page 170 of the paper of lax-157538, Transducers
Theorem
There is a for-transducer which inputs the string representation of a child configuration graph and outputs the concatenation of the string representations of the corresponding child configurations (Claim D.2.7 of Transducers). A two-pebble transducer walks along the path of the graph, one pebble marking the current child and the other printing its representation, and pebble transducers are for-transducers (Theorem D.2.4); the book instead proceeds by induction on the width of the graph, as for snake graphs.
Lean source view on GitHub
| 1 | import Lax194892.ForTransducers |
| 2 | import Lax194892.ChildConfigurationGraphs |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: A for-transducer reads the children off a child configuration graph |
| 7 | type: theorem |
| 8 | --- |
| 9 | There is a for-transducer which inputs the string representation of a child |
| 10 | configuration graph and outputs the concatenation of the string representations |
| 11 | of the corresponding child configurations (Claim D.2.7 of *Transducers*). A |
| 12 | two-pebble transducer walks along the path of the graph, one pebble marking the |
| 13 | current child and the other printing its representation, and pebble transducers |
| 14 | are for-transducers (Theorem D.2.4); the book instead proceeds by induction on |
| 15 | the width of the graph, as for snake graphs. |
| 16 | |
| 17 | # Formalization notes |
| 18 | |
| 19 | The output is characterised by `CGOutIs`, which determines it; the |
| 20 | for-transducer is required to agree with it on every string that represents a |
| 21 | run of children. The input alphabet and the state space are assumed finite. |
| 22 | -/ |
| 23 | |
| 24 | namespace Lax194892.ChildrenOfChildGraph |
| 25 | |
| 26 | open Lax194892.ChildConfigurationGraphs Lax194892.ForTransducers |
| 27 | |
| 28 | /-- A for-transducer maps the representation of a child configuration graph to the |
| 29 | concatenation of the representations of the children. -/ |
| 30 | axiom exists_forTransducer_cgOut {A Q : Type} [Finite A] [Finite Q] (k : ℕ) : |
| 31 | ∃ f : List (CGLetter A Q k) → List (ConfLetter A Q k), |
| 32 | IsForTransducer f ∧ ∀ u v, CGOutIs u v → f u = v |
| 33 | |
| 34 | end Lax194892.ChildrenOfChildGraph |
| 35 |
Formalization notes
The output is characterised by , which determines it; the for-transducer is required to agree with it on every string that represents a run of children. The input alphabet and the state space 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