The Equational Theory of Rational String-to-String Functions
Mikołaj Bojańczyk, Kacper Lewandowski, Katzper Michno
cs.FL
Nov 25, 2026 · v1
cs.LO
TL;DR
The axiomatisation results were formalised in Lean, produced with the Aristotle (Harmonic) system, and the formalisation is publicly archived.
Abstract
We give a sound and complete equational axiomatisation of the rational string-to-string functions, which can be seen as a transducer counterpart of the classical axiomatisations of regular languages by Salomaa [JACM'66], Krob [TCS'91], Bloom and Ésik [MSCS'93], and Kozen [IC'94]. The axioms are stated over a compositional, algebraic syntax for rational functions, namely the rational fragment of the syntax for regular functions introduced by Bojańczyk, Daviaud and Krishna [LICS'18]. The axiomatisation is finitary, as it consists of finitely many uniform families of axioms, each parameterised by the types involved. It is also purely equational: it consists only of equations, with no implication rules.
Problem
Classical equational axiomatisations exist for regular languages, but there is no corresponding sound and complete equational theory for rational string-to-string functions, the transducer counterpart.
Approach
The axioms are stated over a compositional, algebraic syntax for rational functions: the rational fragment of the regular-function syntax of Bojańczyk, Daviaud and Krishna. The axiomatisation is finitary, made of finitely many uniform families of axioms parameterised by types, and purely equational with no implication rules. The results were formalised in Lean using the Aristotle (Harmonic) system.
Results
A sound and complete purely equational axiomatisation of rational string-to-string functions. A Lean formalisation of the results is publicly available in an archive.