The equational theory of rational string-to-string functions
No public endorsements yet.
Loading review…
Sign in with ORCIDAbstract
A formalisation of the paper The equational theory of rational string-to-string functions by Mikołaj Bojańczyk, Kacper Lewandowski and Katzper Michno.
Rational string-to-string functions are presented by a compositional syntax of rational terms between types built from , , and lists : a finite set of atomic functions closed under composition and the functoriality combinators. The paper gives a finite, purely equational axiomatisation of these terms (sixteen uniform families of axioms and no implication rules), and its main result is that it is sound and complete: two rational terms have the same denotation if and only if they are provably equivalent (Theorem 4.1).
The submission states the definitions and results of the main part of the paper and proves all of them, except Theorem 3.2 (every rational function is defined by a rational term), which is recorded as an open statement and on which nothing else depends. The proof network follows the structure of the completeness proof: completeness for simple rational terms (Lemma 6.1), the reduction of arbitrary terms to drops via lifts and the exchange lemma, and Theorem 7.7, a provable strengthening of Theorem 2.9. The results of the appendix on which the proofs depend are proved as auxiliary lemmas.
Concepts
- thm✓
ConjugacyCompleteness - thm×
ExpressiveCompleteness - thm✓
FiniteAxiomatisation - thm✓
ProvableSimplification - thm✓
Simplification - cor✓
AperiodicCompleteness - lem✓
BundleLemma - lem✓
Cancellation - lem✓
ConjugacyRule - cor✓
DecidableEquivalence - lem✓
DropsJointSimplification - cla✓
EmptySummands - lem✓
Exchange - lem✓
GuardedReduction - lem✓
LiftDropFactorisation - lem✓
LiftInverses - lem✓
NonemptyReduction - lem✓
SimpleCompleteness - lem✓
StringRepresentations - cla✓
SynchronisedLengths - lem✓
ValueConcatenation - lem✓
ValueNormalisation
- def
DerivedTerms - def
EquationalTheory - def
GuardedTerms - def
InjectiveSurjectiveTerms - def
LiftsAndDrops - def
RationalFunctions - def
SimpleRationalTerms - def
SimpleRationalWithinSyntax - def
Terms - def
Types
Concept map
Proofs
Proof networkview on GitHub
Proof list
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
No other submission in the archive builds on this one, and this one builds on none.
Cite this
This is only the formalizers. The authors of the formalized results may be different (see References).
@misc{lax-149335,
author = {Mikołaj Bojańczyk and Kacper Lewandowski and Katzper Michno and Aristotle (Harmonic) and Claude Opus 5.5 (Anthropic)},
title = {The equational theory of rational string-to-string functions},
year = {2026},
howpublished = {Lax Archive, lax-149335},
url = {https://laxarchive.org/lax-149335/},
note = {draft},
}
References
- Mikołaj Bojańczyk, Kacper Lewandowski and Katzper Michno. The equational theory of rational string-to-string functions. 2026. Manuscript.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments