Transducers, Part C: Regular Functions in Terms of Logic
No public endorsements yet.
Loading review…
Sign in with ORCIDAbstract
Section 4 of Part C of the book Transducers (M. Bojańczyk) as concepts and proofs: monadic second-order logic on strings and the logical descriptions of the rational and the regular functions, together with the first-order fragment. The Lean development is Aristotle's formalisation of the book, re-presented in the archive's form; it requires the submissions for Parts A, B and C §1–3.
The definition-concepts are monadic second-order logic on strings with its first-order fragment, mso relabellings (C.4.3), string-to-string mso transductions of a linear type (C.4.7) with the requirement that makes them functions, and the -types of strings (C.4.12).
The theorem-concepts are Büchi's theorem that the regular languages are the mso-definable ones (C.4.1, Büchi–Elgot–Trakhtenbrot, as two implications and their conjunction), the regularity of the annotated strings satisfying a formula with free variables (C.4.2), the theorem that mso relabellings define exactly the rational functions (C.4.4, Bloem–Engelfriet, split), the regularity of correct annotations (C.4.6), the theorem that mso transductions define exactly the regular functions (C.4.8, Engelfriet–Hoogeboom, split), the precomputation lemma (C.4.10), the theorem that the first-order definable languages are the aperiodic ones (C.4.11, Schützenberger, McNaughton–Papert, split), the correspondence between -types and first-order sentences of quantifier rank (C.4.13, for sentences), the three properties of -types (C.4.15, as three statements), and the theorem that first-order relabellings are exactly the functions of aperiodic bimachines (C.4.16, split). All are proved.
Claim C.4.5, Lemma C.4.9 and Claim C.4.14 are internal steps and appear only inside the proofs; the unnumbered paragraph closing the section, on first-order transductions, is not formalised. The archive's lax-52 states Büchi's theorem over mathlib's first-order structures; this submission uses the concrete syntax the transductions need and does not depend on it.
Concepts
- thm✓
Lax314295.AperiodicBimachineOfFORelabelling - thm✓
Lax314295.AperiodicOfFO - thm✓
Lax314295.BuchiTheorem - thm✓
Lax314295.FOIffAperiodic - thm✓
Lax314295.FOOfAperiodic - thm✓
Lax314295.FORelabellingIffAperiodicBimachine - thm✓
Lax314295.FORelabellingOfAperiodicBimachine - def
Lax314295.KTypes - thm✓
Lax314295.KTypesAperiodicity - thm✓
Lax314295.KTypesCongruence - thm✓
Lax314295.KTypesFOEquivalence - thm✓
Lax314295.KTypesRefinement - thm✓
Lax314295.LogicPrecomputation - thm✓
Lax314295.MSOAnnotationRegular - thm✓
Lax314295.MSODefinableOfRegular - thm✓
Lax314295.MSOFreeVariables - def
Lax314295.MSOLogic - def
Lax314295.MSORelabellings - thm✓
Lax314295.MSOTransductionIffRegular - thm✓
Lax314295.MSOTransductionOfRegular - def
Lax314295.MSOTransductions - thm✓
Lax314295.RationalIffRelabelling - thm✓
Lax314295.RationalOfRelabelling - thm✓
Lax314295.RegularOfMSODefinable - thm✓
Lax314295.RegularOfMSOTransduction - thm✓
Lax314295.RelabellingOfRational
- def
Lax132576.Bimachines - def
Lax132576.LabelledAutomata - def
Lax132576.RationalFunctions - def
Lax132576.RationalRelations - def
Lax765601.Aperiodicity - def
Lax765601.CompositionClosure - def
Lax765601.ElementaryProperties - def
Lax765601.MapLifting - def
Lax765601.MealyMachine - def
Lax765601.StateTransformations - def
Lax916827.RegularFunctions
Concept map
Proofs
Proof networkview on GitHub
-
⊢
Lax314295Proofs.Results.exists_aperiodic_dfa_of_foDefinable -
⊢
Lax314295Proofs.Results.isAperiodicBimachine_of_isFORelabelling -
⊢
Lax314295Proofs.Results.isFORelabelling_iff_isAperiodicBimachine -
⊢
Lax314295Proofs.Results.isFORelabelling_of_isAperiodicBimachine
Lean sources for these proofs: proofs/ on GitHub
Proof code is not displayed; the archive records each proof's checked relationship between claims.
Related submissions
Submission map
Cite this
@misc{lax-314295,
author = {Mikołaj Bojańczyk and Aristotle (Harmonic)},
title = {Transducers, Part C: Regular Functions in Terms of Logic},
year = {2026},
howpublished = {Lax Archive, lax-314295},
url = {https://laxarchive.org/lax-314295/},
note = {draft},
}
References
- J. Richard Büchi. Weak Second-Order Arithmetic and Finite Automata. Zeitschrift für mathematische Logik und Grundlagen der Mathematik 6:66–92, 1960. doi:10.1002/malq.19600060105
- Roderick Bloem and Joost Engelfriet. A Comparison of Tree Transductions Defined by Monadic Second Order Logic and by Attribute Grammars. Journal of Computer and System Sciences 61(1):1–50, 2000. doi:10.1006/jcss.1999.1684
- Joost Engelfriet and Hendrik Jan Hoogeboom. MSO Definable String Transductions and Two-Way Finite-State Transducers. ACM Transactions on Computational Logic 2(2):216–254, 2001. doi:10.1145/371316.371512
- Marcel-Paul Schützenberger. On Finite Monoids Having Only Trivial Subgroups. Information and Control 8(2):190–194, 1965. doi:10.1016/S0019-9958(65)90108-7
- Robert McNaughton and Seymour Papert. Counter-Free Automata. MIT Press, 1971.
- 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