Proof of `The snake lemma: the output of a snake graph is a regular function`
What this proof establishes
no assumptions
Assuming the claims on the left, the claim on the right holds — checked by the archive's pipeline. Proof code is not displayed here.
In the paper
- page 101 of the paper of lax-157538, Transducers
Description
The snake lemma (Lemma C.2.12): the output of a snake graph of width at most , read off its string representation, is a regular function ().
Proof strategy
The source reads the snake letters through the two-way transducer that walks along a snake graph () and applies the general snake lemma for the width- output function of a two-way transducer on the regular language of strings representing a snake graph of width at most . The concept's snake graphs are defined by the same formulas as the source's; of the bridge identifies the two output functions.
Attribution
Lemma C.2.12 of Transducers, Part C; formalised by Aristotle (Harmonic).