Draft — mutable and not usable as a dependency; its citation marks the draft state.

Transducers, Part C: Regular Functions in Terms of Combinators

lax-709149·formalized by Mikołaj Bojańczyk·Aristotle (Harmonic)·created 2026-09-07·GitHub @86f2df5·Lean v4.30.0 epoch · mathlib c5ea00351c28

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this submission may be incorrect.

No flags have been submitted.

    Community review

    Flag this submission

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    Abstract

    Section 5 of Part C of the book Transducers (M. Bojańczyk) as concepts and a proof: the combinator description of the regular functions. The Lean development is Aristotle's formalisation of the book, re-presented in the archive's form; it requires the submissions for Parts B and C §1–3.

    The definition-concepts are the types built from the unit type by product, co-product and list, with the string representation of their elements over an eight-letter alphabet (C.5.1), regularity of a type-to-type function under string representation (C.5.2), and the regular terms with their semantics (C.5.3). The theorem-concept is the implication of Theorem C.5.4 that every function defined by a regular term is regular under string representation, proved by induction on the term with a bracket-counter parser of the representations. The converse implication, expressive completeness of the terms, is not formalised and no statement here asserts it; the auxiliary lemmas and claims of the section are its steps and do not appear.

    Concepts

    Concept map

    Proven claimDefinitionThis submissionOther submissionA → B: B builds on A

    Proofs

    Proof networkview on GitHub

    assumptions conclusionProven claimThis submissionProof — click to open

    Proof code is not displayed; the archive records each proof's checked relationship between claims.

    Related submissions

    Submission map

    This submissionOther submissionA → B: B's concepts build on AA → B: only B's proofs build on A

    Cite this

    @misc{lax-709149,
      author = {Mikołaj Bojańczyk and Aristotle (Harmonic)},
      title = {Transducers, Part C: Regular Functions in Terms of Combinators},
      year = {2026},
      howpublished = {Lax Archive, lax-709149},
      url = {https://laxarchive.org/lax-709149/},
      note = {draft},
    }

    References

    1. Mikołaj Bojańczyk, Laure Daviaud and Shankara Narayanan Krishna. Regular and First-Order List Functions. In Proceedings of the 33rd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS 2018) 125–134, 2018. doi:10.1145/3209108.3209163
    2. Mikołaj Bojańczyk. Transducers. 2026. Book in preparation; sources at r̆lhttps://github.com/bojanczyk/transducer-book.

    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

    Loading discussion…